You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
119 KiB

2 years ago
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin (https://github.com/phibr0/obsidian-commander)
*/
2 years ago
var Oe=Object.defineProperty,Hn=Object.defineProperties,Rn=Object.getOwnPropertyDescriptor,Fn=Object.getOwnPropertyDescriptors,On=Object.getOwnPropertyNames,Fe=Object.getOwnPropertySymbols;var ht=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable;var Jt=(e,o,t)=>o in e?Oe(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,Ve=(e,o)=>{for(var t in o||(o={}))ht.call(o,t)&&Jt(e,t,o[t]);if(Fe)for(var t of Fe(o))$t.call(o,t)&&Jt(e,t,o[t]);return e},Yt=(e,o)=>Hn(e,Fn(o));var Kt=(e,o)=>{var t={};for(var n in e)ht.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&Fe)for(var n of Fe(e))o.indexOf(n)<0&&$t.call(e,n)&&(t[n]=e[n]);return t};var Vn=(e,o)=>{for(var t in o)Oe(e,t,{get:o[t],enumerable:!0})},zn=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of On(o))!ht.call(e,a)&&a!==t&&Oe(e,a,{get:()=>o[a],enumerable:!(n=Rn(o,a))||n.enumerable});return e};var Wn=e=>zn(Oe({},"__esModule",{value:!0}),e);var Va={};Vn(Va,{default:()=>dt});module.exports=Wn(Va);var ze=require("obsidian");var bt=require("obsidian");var Gt={};var Qt={};var eo={};var to={"Open Commander Settings":"Commander Einstellungen \xF6ffnen","Open Macro Builder":"Makro Baukasten \xF6ffnen","Change Icon":"Symbol ver\xE4ndern",Rename:"Umbenennen",Delete:"L\xF6schen","Add command":"Befehl hinzuf\xFCgen","Add new":"Neuen Befehl hinzuf\xFCgen","This Command seems to have been removed. {{command_name}}":"Dieser Befehl wurde entfernt. {{command_name}}","Choose a Command to add":"W\xE4hle einen Befehl zum hinzuf\xFCgen","to navigate":"zum navigieren","to choose an icon":"um ein symbol auszuw\xE4hlen","to cancel":"zum abbrechen","Use a custom name":"Nutze einen benutzerdefinierten Namen","Choose a custom Name for your new Command":"W\xE4hle einen benutzerdefinierten Namen f\xFCr deinen neuen Befehl","to save":"zum speichern","Choose a Icon for your new Command":"W\xE4hle ein Symbol f\xFCr deinen neuen Befehl","to choose a custom icon":"um ein benutzerdefiniertes Symbol auszuw\xE4hlen","Remove Command":"Befehl entfernen","Double click to rename":"Zum umbenennen doppelklicken","This device":"Dieses Ger\xE4t","Added by {{plugin_name}}.":"Hinzugef\xFCgt von {{plugin_name}}.","Warning: This is a checked Command, meaning it might not run under every circumstance.":"Warnung: Dieser Befehl wird nur unter bestimmten Vorraussetzungen ausgef\xFChrt.","Move down":"Nach unten","Move up":"Nach oben","Change Mode (Currently: {{current_mode}})":"Modus ver\xE4ndern (Momentan: {{current_mode}})","Are you sure you want to delete the Command?":"Bist du dir sicher, dass du diesen Befehl entfernen m\xF6chtest?","Remove and don't ask again":"Entfernen und Auswahl speichern",Remove:"Entfernen",Cancel:"Abbrechen","Always ask before removing?":"Immer fragen, bevor ein Befehl gel\xF6scht wird?","Always show a Popup to confirm deletion of a Command.":"Zeige immer ein Popup um L\xF6schen zu best\xE4tigen.",'Show "Add Command" Button':'Zeige "Befehl hinzuf\xFCgen" Knopf','Show the "Add Command" Button in every Menu. Requires restart.':'Zeige den "Befehl hinzuf\xFCgen" Knopf in jedem Men\xFC. Erfordert neustart.',"Please restart Obsidian for these changes to take effect.":"Bitte starte Obsidian neu, damit diese \xC4nderungen in Kraft treten.","Enable debugging":"Aktiviere debugging","Enable console output.":"Aktiviere Konsolen-Output (F\xFCr Entwickler)",General:"Allgemein","Editor Menu":"Editor-Men\xFC","File Menu":"Datei-Men\xFC","Left Ribbon":"Band","Right Ribbon":"Rechtes Band",Titlebar:"Titelleiste",Statusbar:"Statusleiste","Page Header":"Kopfzeile","Support development":"Entwicklung unterst\xFCtzen","No commands here!":"Keine Befehle da!","Would you like to add one now?":"M\xF6chtest du jetzt einen hinzuf\xFCgen?","Hide Commands":"Befehle verstecken","Choose new":"W\xE4hle neu","Hide Commands of other Plugins":"Hide Commands of other Plugins",Icon:"Symbol",Name:"Name","Custom Name":"Benutzerdefinierter Name","Add command to all devices":"F\xFCge Befehl allen Ger\xE4ten hinzu","Add command only to mobile devices":"F\xFCge Befehl nur Mobilen Ger\xE4
`);try{p=new Worker(URL.createObjectURL(new Blob([L])))}catch(P){return typeof console!==void 0&&typeof console.warn=="function"&&console.warn("\u{1F38A} Could not load worker",P),null}M(p)}return p}}(),s={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function g(p,l){return l?l(p):p}function C(p){return p!=null}function f(p,l,S){return g(p&&C(p[l])?p[l]:s[l],S)}function b(p){return p<0?0:Math.floor(p)}function y(p,l){return Math.floor(Math.random()*(l-p))+p}function v(p){return parseInt(p,16)}function T(p){return p.map(w)}function w(p){var l=String(p).replace(/[^0-9a-f]/gi,"");return l.length<6&&(l=l[0]+l[0]+l[1]+l[1]+l[2]+l[2]),{r:v(l.substring(0,2)),g:v(l.substring(2,4)),b:v(l.substring(4,6))}}function H(p){var l=f(p,"origin",Object);return l.x=f(l,"x",Number),l.y=f(l,"y",Number),l}function ee(p){p.width=document.documentElement.clientWidth,p.height=document.documentElement.clientHeight}function Be(p){var l=p.getBoundingClientRect();p.width=l.width,p.height=l.height}function ue(p){var l=document.createElement("canvas");return l.style.position="fixed",l.style.top="0px",l.style.left="0px",l.style.pointerEvents="none",l.style.zIndex=p,l}function pe(p,l,S,M,L,P,E,x,B){p.save(),p.translate(l,S),p.rotate(P),p.scale(M,L),p.arc(0,0,1,E,x,B),p.restore()}function U(p){var l=p.angle*(Math.PI/180),S=p.spread*(Math.PI/180);return{x:p.x,y:p.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:p.startVelocity*.5+Math.random()*p.startVelocity,angle2D:-l+(.5*S-Math.random()*S),tiltAngle:(Math.random()*(.75-.25)+.25)*Math.PI,color:p.color,shape:p.shape,tick:0,totalTicks:p.ticks,decay:p.decay,drift:p.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:p.gravity*3,ovalScalar:.6,scalar:p.scalar}}function fe(p,l){l.x+=Math.cos(l.angle2D)*l.velocity+l.drift,l.y+=Math.sin(l.angle2D)*l.velocity+l.gravity,l.wobble+=l.wobbleSpeed,l.velocity*=l.decay,l.tiltAngle+=.1,l.tiltSin=Math.sin(l.tiltAngle),l.tiltCos=Math.cos(l.tiltAngle),l.random=Math.random()+2,l.wobbleX=l.x+10*l.scalar*Math.cos(l.wobble),l.wobbleY=l.y+10*l.scalar*Math.sin(l.wobble);var S=l.tick++/l.totalTicks,M=l.x+l.random*l.tiltCos,L=l.y+l.random*l.tiltSin,P=l.wobbleX+l.random*l.tiltCos,E=l.wobbleY+l.random*l.tiltSin;if(p.fillStyle="rgba("+l.color.r+", "+l.color.g+", "+l.color.b+", "+(1-S)+")",p.beginPath(),l.shape==="circle")p.ellipse?p.ellipse(l.x,l.y,Math.abs(P-M)*l.ovalScalar,Math.abs(E-L)*l.ovalScalar,Math.PI/10*l.wobble,0,2*Math.PI):pe(p,l.x,l.y,Math.abs(P-M)*l.ovalScalar,Math.abs(E-L)*l.ovalScalar,Math.PI/10*l.wobble,0,2*Math.PI);else if(l.shape==="star")for(var x=Math.PI/2*3,B=4*l.scalar,te=8*l.scalar,A=l.x,Y=l.y,$=5,N=Math.PI/$;$--;)A=l.x+Math.cos(x)*te,Y=l.y+Math.sin(x)*te,p.lineTo(A,Y),x+=N,A=l.x+Math.cos(x)*B,Y=l.y+Math.sin(x)*B,p.lineTo(A,Y),x+=N;else p.moveTo(Math.floor(l.x),Math.floor(l.y)),p.lineTo(Math.floor(l.wobbleX),Math.floor(L)),p.lineTo(Math.floor(P),Math.floor(E)),p.lineTo(Math.floor(M),Math.floor(l.wobbleY));return p.closePath(),p.fill(),l.tick<l.totalTicks}function In(p,l,S,M,L){var P=l.slice(),E=p.getContext("2d"),x,B,te=d(function(A){function Y(){x=B=null,E.clearRect(0,0,M.width,M.height),L(),A()}function $(){n&&!(M.width===a.width&&M.height===a.height)&&(M.width=p.width=a.width,M.height=p.height=a.height),!M.width&&!M.height&&(S(p),M.width=p.width,M.height=p.height),E.clearRect(0,0,M.width,M.height),P=P.filter(function(N){return fe(E,N)}),P.length?x=m.frame($):Y()}x=m.frame($),B=Y});return{addFettis:function(A){return P=P.concat(A),te},canvas:p,promise:te,reset:function(){x&&m.cancel(x),B&&B()}}}function Wt(p,l){var S=!p,M=!!f(l||{},"resize"),L=f(l,"disableForReducedMotion",Boolean),P=i&&!!f(l||{},"useWorker"),E=P?h():null,x=S?ee:Be,B=p&&E?!!p.__confetti_initialized:!1,te=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion)").matches,A;function Y(N,ut,pt){for(var he=f(N,"particleCoun
2 years ago
/* by phibr0 */