Initial commit

This commit is contained in:
Quinta committed 2025-10-01 21:23:26 +02:00
commit 2653afd097
75 files changed
+35631

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
(()=>{var t={5248:(t,n,e)=>{"use strict";t.exports=e(9976)},517:t=>{"use strict";t.exports=function(){var t=Object.create(Math);return t.factory=function(t){if("number"!=typeof t)throw new TypeError("built-in math factory only accepts numbers");return Number(t)},t.add=function(t,n){return t+n},t.sub=function(t,n){return t-n},t.mul=function(t,n){return t*n},t.div=function(t,n){return t/n},t.mod=function(t,n){return t%n},t.factorial=function(t){for(var n=1,e=2;e<=t;e+=1)n*=e;return n},t.nthRoot=function(t,n){var e=n<0;if(e&&(n=-n),0===n)throw new Error("Root must be non-zero");if(t<0&&Math.abs(n)%2!=1)throw new Error("Root must be odd when a is negative.");if(0===t)return 0;if(!isFinite(t))return e?0:t;var i=Math.pow(Math.abs(t),1/n);return i=t<0?-i:i,e?1/i:i},t.logicalOR=function(t,n){return t||n},t.logicalXOR=function(t,n){return t!=n},t.logicalAND=function(t,n){return t&&n},t.bitwiseOR=function(t,n){return t|n},t.bitwiseXOR=function(t,n){return t^n},t.bitwiseAND=function(t,n){return t&n},t.lessThan=function(t,n){return t<n},t.lessEqualThan=function(t,n){return t<=n},t.greaterThan=function(t,n){return t>n},t.greaterEqualThan=function(t,n){return t>=n},t.equal=function(t,n){return t==n},t.strictlyEqual=function(t,n){return t===n},t.notEqual=function(t,n){return t!=n},t.strictlyNotEqual=function(t,n){return t!==n},t.shiftRight=function(t,n){return t>>n},t.shiftLeft=function(t,n){return t<<n},t.unsignedRightShift=function(t,n){return t>>>n},t.negative=function(t){return-t},t.positive=function(t){return t},t}},9976:(t,n,e)=>{"use strict";var i=e(2223),r=e(517)();function o(t){Object.keys(t).forEach((function(n){var e=t[n];t[n]=r.factory(e)}))}t.exports=function(t){return(new i).setDefs({$$processScope:o}).parse(t).compile(r)},t.exports.math=r},5627:t=>{t.exports=function(t,n,e){return n<e?t<n?n:t>e?e:t:t<e?e:t>n?n:t}},6216:(t,n,e)=>{"use strict";e.r(n),e.d(n,{axisBottom:()=>d,axisLeft:()=>y,axisRight:()=>p,axisTop:()=>f});var i=Array.prototype.slice;function r(t){return t}var o=1e-6;function s(t){return"translate("+t+",0)"}function a(t){return"translate(0,"+t+")"}function u(t){return n=>+t(n)}function c(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}function l(){return!this.__axis}function h(t,n){var e=[],h=null,f=null,p=6,d=6,y=3,v="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,m=1===t||4===t?-1:1,g=4===t||2===t?"x":"y",_=1===t||3===t?s:a;function x(i){var s=null==h?n.ticks?n.ticks.apply(n,e):n.domain():h,a=null==f?n.tickFormat?n.tickFormat.apply(n,e):r:f,x=Math.max(p,0)+y,w=n.range(),b=+w[0]+v,M=+w[w.length-1]+v,T=(n.bandwidth?c:u)(n.copy(),v),E=i.selection?i.selection():i,S=E.selectAll(".domain").data([null]),k=E.selectAll(".tick").data(s,n).order(),N=k.exit(),A=k.enter().append("g").attr("class","tick"),P=k.select("line"),L=k.select("text");S=S.merge(S.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge(A),P=P.merge(A.append("line").attr("stroke","currentColor").attr(g+"2",m*p)),L=L.merge(A.append("text").attr("fill","currentColor").attr(g,m*x).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),i!==E&&(S=S.transition(i),k=k.transition(i),P=P.transition(i),L=L.transition(i),N=N.transition(i).attr("opacity",o).attr("transform",(function(t){return isFinite(t=T(t))?_(t+v):this.getAttribute("transform")})),A.attr("opacity",o).attr("transform",(function(t){var n=this.parentNode.__axis;return _((n&&isFinite(n=n(t))?n:T(t))+v)}))),N.remove(),S.attr("d",4===t||2===t?d?"M"+m*d+","+b+"H"+v+"V"+M+"H"+m*d:"M"+v+","+b+"V"+M:d?"M"+b+","+m*d+"V"+v+"H"+M+"V"+m*d:"M"+b+","+v+"H"+M),k.attr("opacity",1).attr("transform",(function(t){return _(T(t)+v)})),P.attr(g+"2",m*p),L.attr(g,m*x).text(a),E.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),E.each((function(){this.__axis=T}))}return x.scale=function(t){return arguments.length?(n=t,x):n},x.ticks=function(){return e=i.call(arguments),x},x.tickArguments=function(t){return arguments.length?(e=null==t?[]:i.call(t),x):e.slice()},x.tickValues=function(t){return arguments.length?(h=null==t?null:i.call(t),x):h&&h.slice()},x.tickFormat=function(t){return arguments.length?(f=t,x):f},x.tickSize=function(t){return arguments.length?(p=d=+t,x):p},x.tickSizeInner=function(t){return arguments.length?(p=+t,x):p},x.tickSizeOuter=function(t){return arguments.length?(d=+t,x):d},x.tickPadding=function(t){return arguments.length?(y=+t,x):y},x.offset=function(t){return arguments.length?(v=+t,x):v},x}function f(t){return h(1,t)}function p(t){return h(2,t)}function d(t){return h(3,t)}function y(t){return h(4,t)}},6372:(t,n,e)=>{"use strict";e.d(n,{B8:()=>T,Il:()=>r,J5:()=>s,SU:()=>M,Ss:()=>E,Ym:()=>L,ZP:()=>x,xV:()=>o});var i=e(4087);function r(){}var o=.7,s=1/o,a="\\s*([+-]?\\d+)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,h=new RegExp("^Line truncated
/* nosourcemap */
+10
View File
@@ -0,0 +1,10 @@
{
"id": "obsidian-functionplot",
"name": "Obsidian Functionplot",
"minAppVersion": "0.12.2",
"description": "A plugin for displaying mathematical graphs in obsidian.md.",
"author": "leonhma",
"authorUrl": "https://github.com/leonhma",
"isDesktopOnly": false,
"version": "1.2.1"
}