diff --git a/.changes/simplify-window-label-types.md b/.changes/simplify-window-label-types.md new file mode 100644 index 000000000..5aab845e1 --- /dev/null +++ b/.changes/simplify-window-label-types.md @@ -0,0 +1,5 @@ +--- +"api": patch +--- + +Change `WindowLabel` type to `string`. diff --git a/core/tauri/scripts/bundle.js b/core/tauri/scripts/bundle.js index 5cf497310..48d563e2f 100644 --- a/core/tauri/scripts/bundle.js +++ b/core/tauri/scripts/bundle.js @@ -1 +1 @@ -function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,n=_getPrototypeOf(e);if(t){var a=_getPrototypeOf(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _createForOfIteratorHelper(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;P(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:O(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}("object"===("undefined"==typeof module?"undefined":_typeof(module))?module.exports:{});try{regeneratorRuntime=t}catch(e){"object"===("undefined"==typeof globalThis?"undefined":_typeof(globalThis))?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}function r(e){for(var t=void 0,r=e[0],n=1;n1&&void 0!==arguments[1]&&arguments[1],a=n();return Object.defineProperty(window,a,{value:function(n){return t&&Reflect.deleteProperty(window,a),r([e,"optionalCall",function(e){return e(n)}])},writable:!1,configurable:!0}),a}function o(e){return i.apply(this,arguments)}function i(){return(i=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",new Promise((function(e,n){var o=a((function(t){e(t),Reflect.deleteProperty(window,i)}),!0),i=a((function(e){n(e),Reflect.deleteProperty(window,o)}),!0);window.rpc.notify(t,_objectSpread({__invokeKey:__TAURI_INVOKE_KEY__,callback:o,error:i},r))})));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var u=Object.freeze({__proto__:null,transformCallback:a,invoke:o,convertFileSrc:function(e){return navigator.userAgent.includes("Windows")?"https://asset.localhost/".concat(e):"asset://".concat(e)}});function s(e){return c.apply(this,arguments)}function c(){return(c=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o("tauri",t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(){return(p=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"App",message:{cmd:"getAppVersion"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(){return(l=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"App",message:{cmd:"getAppName"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(){return(f=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"App",message:{cmd:"getTauriVersion"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var h=Object.freeze({__proto__:null,getName:function(){return l.apply(this,arguments)},getVersion:function(){return p.apply(this,arguments)},getTauriVersion:function(){return f.apply(this,arguments)}});function m(){return(m=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Cli",message:{cmd:"cliMatches"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var d=Object.freeze({__proto__:null,getMatches:function(){return m.apply(this,arguments)}});function y(){return(y=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Clipboard",message:{cmd:"writeText",data:t}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(){return(g=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Clipboard",message:{cmd:"readText"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var _=Object.freeze({__proto__:null,writeText:function(e){return y.apply(this,arguments)},readText:function(){return g.apply(this,arguments)}});function v(){return(v=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"object"===_typeof(t=r.length>0&&void 0!==r[0]?r[0]:{})&&Object.freeze(t),e.abrupt("return",s({__tauriModule:"Dialog",message:{cmd:"openDialog",options:t}}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(){return(w=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"object"===_typeof(t=r.length>0&&void 0!==r[0]?r[0]:{})&&Object.freeze(t),e.abrupt("return",s({__tauriModule:"Dialog",message:{cmd:"saveDialog",options:t}}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var b=Object.freeze({__proto__:null,open:function(){return v.apply(this,arguments)},save:function(){return w.apply(this,arguments)}});function R(e,t,r){return k.apply(this,arguments)}function k(){return(k=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({__tauriModule:"Event",message:{cmd:"emit",event:t,windowLabel:r,payload:n}});case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e){return T.apply(this,arguments)}function T(){return(T=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Event",message:{cmd:"unlisten",eventId:t}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function G(e,t){return P.apply(this,arguments)}function P(){return(P=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Event",message:{cmd:"listen",event:t,handler:a(r)}}).then((function(e){return _asyncToGenerator(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",x(e));case 1:case"end":return t.stop()}}),t)})))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function M(e,t){return O.apply(this,arguments)}function O(){return(O=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",G(t,(function(e){r(e),x(e.id).catch((function(){}))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(e,t){return j.apply(this,arguments)}function j(){return(j=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",R(t,void 0,r));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var S,A=Object.freeze({__proto__:null,listen:G,once:M,emit:C});function z(){return(z=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"readTextFile",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function D(){return(D=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"readBinaryFile",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(){return(L=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"object"===_typeof(r=n.length>1&&void 0!==n[1]?n[1]:{})&&Object.freeze(r),"object"===_typeof(t)&&Object.freeze(t),e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"writeFile",path:t.path,contents:t.contents,options:r}}));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(e){e[e.Audio=1]="Audio";e[e.Cache=2]="Cache";e[e.Config=3]="Config";e[e.Data=4]="Data";e[e.LocalData=5]="LocalData";e[e.Desktop=6]="Desktop";e[e.Document=7]="Document";e[e.Download=8]="Download";e[e.Executable=9]="Executable";e[e.Font=10]="Font";e[e.Home=11]="Home";e[e.Picture=12]="Picture";e[e.Public=13]="Public";e[e.Runtime=14]="Runtime";e[e.Template=15]="Template";e[e.Video=16]="Video";e[e.Resource=17]="Resource";e[e.App=18]="App";e[e.Current=19]="Current"}(S||(S={}));var E=65536;function F(e){var t=function(e){if(e.length1&&void 0!==n[1]?n[1]:{})&&Object.freeze(r),"object"===_typeof(t)&&Object.freeze(t),e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"writeBinaryFile",path:t.path,contents:F(t.contents),options:r}}));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(){return(I=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"readDir",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function N(){return(N=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"createDir",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function U(){return(U=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"removeDir",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function B(){return(B=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){var n,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"copyFile",source:t,destination:r,options:n}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function V(){return(V=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"removeFile",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(){return(q=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){var n,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"renameFile",oldPath:t,newPath:r,options:n}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var H=Object.freeze({__proto__:null,get BaseDirectory(){return S},get Dir(){return S},readTextFile:function(e){return z.apply(this,arguments)},readBinaryFile:function(e){return D.apply(this,arguments)},writeFile:function(e){return L.apply(this,arguments)},writeBinaryFile:function(e){return W.apply(this,arguments)},readDir:function(e){return I.apply(this,arguments)},createDir:function(e){return N.apply(this,arguments)},removeDir:function(e){return U.apply(this,arguments)},copyFile:function(e,t){return B.apply(this,arguments)},removeFile:function(e){return V.apply(this,arguments)},renameFile:function(e,t){return q.apply(this,arguments)}});function J(){return(J=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"GlobalShortcut",message:{cmd:"register",shortcut:t,handler:a(r)}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function K(){return(K=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"GlobalShortcut",message:{cmd:"registerAll",shortcuts:t,handler:a(r)}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Y(){return(Y=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"GlobalShortcut",message:{cmd:"isRegistered",shortcut:t}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function $(){return($=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"GlobalShortcut",message:{cmd:"unregister",shortcut:t}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Q(){return(Q=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"GlobalShortcut",message:{cmd:"unregisterAll"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var X,Z=Object.freeze({__proto__:null,register:function(e,t){return J.apply(this,arguments)},registerAll:function(e,t){return K.apply(this,arguments)},isRegistered:function(e){return Y.apply(this,arguments)},unregister:function(e){return $.apply(this,arguments)},unregisterAll:function(){return Q.apply(this,arguments)}});function ee(e,t){return null!=e?e:t()}function te(e){for(var t=void 0,r=e[0],n=1;n=200&&this.status<300,this.headers=t.headers,this.data=t.data},ae=function(){function e(t){_classCallCheck(this,e),this.id=t}var t,r,n,a,o,i,u;return _createClass(e,[{key:"drop",value:(u=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Http",message:{cmd:"dropClient",client:this.id}}));case 1:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"request",value:(i=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=!t.responseType||t.responseType===X.JSON)&&(t.responseType=X.Text),e.abrupt("return",s({__tauriModule:"Http",message:{cmd:"httpRequest",client:this.id,options:t}}).then((function(e){var t=new ne(e);if(r){try{t.data=JSON.parse(t.data)}catch(e){if(t.ok)throw Error("Failed to parse response `".concat(t.data,"` as JSON: ").concat(e,";\n try setting the `responseType` option to `ResponseType.Text` or `ResponseType.Binary` if the API does not return a JSON response."))}return t}return t})));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"get",value:(o=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.request(_objectSpread({method:"GET",url:t},r)));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t){return o.apply(this,arguments)})},{key:"post",value:(a=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.request(_objectSpread({method:"POST",url:t,body:r},n)));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return a.apply(this,arguments)})},{key:"put",value:(n=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.request(_objectSpread({method:"PUT",url:t,body:r},n)));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"patch",value:(r=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.request(_objectSpread({method:"PATCH",url:t},r)));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"delete",value:(t=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.request(_objectSpread({method:"DELETE",url:t},r)));case 1:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})}]),e}();function oe(e){return ie.apply(this,arguments)}function ie(){return(ie=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Http",message:{cmd:"createClient",options:t}}).then((function(e){return new ae(e)})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ue=null;function se(){return(se=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==ue){e.next=4;break}return e.next=3,oe();case 3:ue=e.sent;case 4:return e.abrupt("return",ue.request(_objectSpread({url:t,method:ee(te([r,"optionalAccess",function(e){return e.method}]),(function(){return"GET"}))},r)));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ce=Object.freeze({__proto__:null,getClient:oe,fetch:function(e,t){return se.apply(this,arguments)},Body:re,Client:ae,Response:ne,get ResponseType(){return X}});function pe(){return(pe=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("default"===window.Notification.permission){e.next=2;break}return e.abrupt("return",Promise.resolve("granted"===window.Notification.permission));case 2:return e.abrupt("return",s({__tauriModule:"Notification",message:{cmd:"isNotificationPermissionGranted"}}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){return(le=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.Notification.requestPermission());case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var fe=Object.freeze({__proto__:null,sendNotification:function(e){"string"==typeof e?new window.Notification(e):new window.Notification(e.title,e)},requestPermission:function(){return le.apply(this,arguments)},isPermissionGranted:function(){return pe.apply(this,arguments)}});function he(){return navigator.appVersion.includes("Win")}function me(){return(me=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.App}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return(de=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Audio}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ye(){return(ye=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Cache}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ge(){return(ge=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Config}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _e(){return(_e=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Data}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ve(){return(ve=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Desktop}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return(we=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Document}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(){return(be=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Download}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Re(){return(Re=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Executable}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ke(){return(ke=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Font}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function xe(){return(xe=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Home}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Te(){return(Te=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.LocalData}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ge(){return(Ge=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Picture}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Pe(){return(Pe=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Public}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Me(){return(Me=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Resource}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Oe(){return(Oe=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Runtime}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ce(){return(Ce=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Template}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function je(){return(je=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Video}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Se(){return(Se=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Current}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ae=he()?"\\":"/",ze=he()?";":":";function De(){return(De=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t,r,n,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=a.length,r=new Array(t),n=0;n0&&void 0!==r[0]?r[0]:0,e.abrupt("return",s({__tauriModule:"Process",message:{cmd:"exit",exitCode:t}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ve(){return(Ve=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Process",message:{cmd:"relaunch"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var qe=Object.freeze({__proto__:null,exit:function(){return Be.apply(this,arguments)},relaunch:function(){return Ve.apply(this,arguments)}});function He(e,t){return null!=e?e:t()}function Je(e,t,r,n){return Ke.apply(this,arguments)}function Ke(){return(Ke=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r,n,o){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"object"===_typeof(n)&&Object.freeze(n),e.abrupt("return",s({__tauriModule:"Shell",message:{cmd:"execute",program:r,args:"string"==typeof n?[n]:n,options:o,onEventFn:a(t)}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ye=function(){function e(){_classCallCheck(this,e),e.prototype.__init.call(this)}return _createClass(e,[{key:"__init",value:function(){this.eventListeners=Object.create(null)}},{key:"addEventListener",value:function(e,t){e in this.eventListeners?this.eventListeners[e].push(t):this.eventListeners[e]=[t]}},{key:"_emit",value:function(e,t){if(e in this.eventListeners){var r,n=_createForOfIteratorHelper(this.eventListeners[e]);try{for(n.s();!(r=n.n()).done;){(0,r.value)(t)}}catch(e){n.e(e)}finally{n.f()}}}},{key:"on",value:function(e,t){return this.addEventListener(e,t),this}}]),e}(),$e=function(){function e(t){_classCallCheck(this,e),this.pid=t}var t,r;return _createClass(e,[{key:"write",value:(r=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Shell",message:{cmd:"stdinWrite",pid:this.pid,buffer:t}}));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"kill",value:(t=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Shell",message:{cmd:"killChild",pid:this.pid}}));case 1:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}(),Qe=function(e){_inherits(a,e);var t,r,n=_createSuper(a);function a(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,a),t=n.call(this),a.prototype.__init2.call(_assertThisInitialized(t)),a.prototype.__init3.call(_assertThisInitialized(t)),t.program=e,t.args="string"==typeof r?[r]:r,t.options=He(o,(function(){return{}})),t}return _createClass(a,[{key:"__init2",value:function(){this.stdout=new Ye}},{key:"__init3",value:function(){this.stderr=new Ye}},{key:"spawn",value:(r=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Je((function(e){switch(e.event){case"Error":t._emit("error",e.payload);break;case"Terminated":t._emit("close",e.payload);break;case"Stdout":t.stdout._emit("data",e.payload);break;case"Stderr":t.stderr._emit("data",e.payload)}}),this.program,this.args,this.options).then((function(e){return new $e(e)})));case 1:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"execute",value:(t=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){t.on("error",r);var n=[],a=[];t.stdout.on("data",(function(e){n.push(e)})),t.stderr.on("data",(function(e){a.push(e)})),t.on("close",(function(t){e({code:t.code,signal:t.signal,stdout:n.join("\n"),stderr:a.join("\n")})})),t.spawn().catch(r)})));case 1:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}],[{key:"sidecar",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=new a(e,t,r);return n.options.sidecar=!0,n}}]),a}(Ye);function Xe(){return(Xe=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Shell",message:{cmd:"open",path:t,with:r}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ze=Object.freeze({__proto__:null,Command:Qe,Child:$e,open:function(e,t){return Xe.apply(this,arguments)}});function et(e){for(var t=void 0,r=e[0],n=1;n1&&void 0!==arguments[1]?arguments[1]:{};return _classCallCheck(this,r),n=t.call(this,e),at([a,"optionalAccess",function(e){return e.skip}])||s({__tauriModule:"Window",message:{cmd:"createWebview",data:{options:_objectSpread({label:e},a)}}}).then(_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.emit("tauri://created"));case 1:case"end":return e.stop()}}),e)})))).catch(function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.emit("tauri://error",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),n}return _createClass(r,null,[{key:"getByLabel",value:function(e){return pt().some((function(t){return t.label===e}))?new r(e,{skip:!0}):null}}]),r}(ht),dt=new mt(null,{skip:!0});function yt(){return(yt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"currentMonitor"}}}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function gt(){return(gt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"primaryMonitor"}}}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _t(){return(_t=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"availableMonitors"}}}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var vt=Object.freeze({__proto__:null,WebviewWindow:mt,WebviewWindowHandle:ft,WindowManager:ht,getCurrent:function(){return new mt(window.__TAURI__.__currentWindow.label,{skip:!0})},getAll:pt,appWindow:dt,LogicalSize:it,PhysicalSize:ut,LogicalPosition:st,PhysicalPosition:ct,get UserAttentionType(){return ot},currentMonitor:function(){return yt.apply(this,arguments)},primaryMonitor:function(){return gt.apply(this,arguments)},availableMonitors:function(){return _t.apply(this,arguments)}}),wt=he()?"\r\n":"\n";function bt(){return(bt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Os",message:{cmd:"platform"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Rt(){return(Rt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Os",message:{cmd:"version"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function kt(){return(kt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Os",message:{cmd:"type"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function xt(){return(xt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Os",message:{cmd:"arch"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Tt(){return(Tt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Os",message:{cmd:"tempdir"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Gt=Object.freeze({__proto__:null,EOL:wt,platform:function(){return bt.apply(this,arguments)},version:function(){return Rt.apply(this,arguments)},type:function(){return kt.apply(this,arguments)},arch:function(){return xt.apply(this,arguments)},tempdir:function(){return Tt.apply(this,arguments)}}),Pt=o;e.app=h,e.cli=d,e.clipboard=_,e.dialog=b,e.event=A,e.fs=H,e.globalShortcut=Z,e.http=ce,e.invoke=Pt,e.notification=fe,e.os=Gt,e.path=Ue,e.process=qe,e.shell=Ze,e.tauri=u,e.updater=nt,e.window=vt,Object.defineProperty(e,"__esModule",{value:!0})})); +function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,n=_getPrototypeOf(e);if(t){var a=_getPrototypeOf(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _createForOfIteratorHelper(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;P(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:O(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}("object"===("undefined"==typeof module?"undefined":_typeof(module))?module.exports:{});try{regeneratorRuntime=t}catch(e){"object"===("undefined"==typeof globalThis?"undefined":_typeof(globalThis))?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}function r(e){for(var t=void 0,r=e[0],n=1;n1&&void 0!==arguments[1]&&arguments[1],a=n();return Object.defineProperty(window,a,{value:function(n){return t&&Reflect.deleteProperty(window,a),r([e,"optionalCall",function(e){return e(n)}])},writable:!1,configurable:!0}),a}function o(e){return i.apply(this,arguments)}function i(){return(i=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",new Promise((function(e,n){var o=a((function(t){e(t),Reflect.deleteProperty(window,i)}),!0),i=a((function(e){n(e),Reflect.deleteProperty(window,o)}),!0);window.rpc.notify(t,_objectSpread({__invokeKey:__TAURI_INVOKE_KEY__,callback:o,error:i},r))})));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var u=Object.freeze({__proto__:null,transformCallback:a,invoke:o,convertFileSrc:function(e){return navigator.userAgent.includes("Windows")?"https://asset.localhost/".concat(e):"asset://".concat(e)}});function s(e){return c.apply(this,arguments)}function c(){return(c=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o("tauri",t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(){return(p=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"App",message:{cmd:"getAppVersion"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(){return(l=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"App",message:{cmd:"getAppName"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(){return(f=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"App",message:{cmd:"getTauriVersion"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var h=Object.freeze({__proto__:null,getName:function(){return l.apply(this,arguments)},getVersion:function(){return p.apply(this,arguments)},getTauriVersion:function(){return f.apply(this,arguments)}});function m(){return(m=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Cli",message:{cmd:"cliMatches"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var d=Object.freeze({__proto__:null,getMatches:function(){return m.apply(this,arguments)}});function y(){return(y=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Clipboard",message:{cmd:"writeText",data:t}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(){return(g=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Clipboard",message:{cmd:"readText"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var _=Object.freeze({__proto__:null,writeText:function(e){return y.apply(this,arguments)},readText:function(){return g.apply(this,arguments)}});function v(){return(v=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"object"===_typeof(t=r.length>0&&void 0!==r[0]?r[0]:{})&&Object.freeze(t),e.abrupt("return",s({__tauriModule:"Dialog",message:{cmd:"openDialog",options:t}}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(){return(w=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"object"===_typeof(t=r.length>0&&void 0!==r[0]?r[0]:{})&&Object.freeze(t),e.abrupt("return",s({__tauriModule:"Dialog",message:{cmd:"saveDialog",options:t}}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var b=Object.freeze({__proto__:null,open:function(){return v.apply(this,arguments)},save:function(){return w.apply(this,arguments)}});function R(e,t,r){return k.apply(this,arguments)}function k(){return(k=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({__tauriModule:"Event",message:{cmd:"emit",event:t,windowLabel:r,payload:n}});case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e){return T.apply(this,arguments)}function T(){return(T=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Event",message:{cmd:"unlisten",eventId:t}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function G(e,t){return P.apply(this,arguments)}function P(){return(P=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Event",message:{cmd:"listen",event:t,handler:a(r)}}).then((function(e){return _asyncToGenerator(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",x(e));case 1:case"end":return t.stop()}}),t)})))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function M(e,t){return O.apply(this,arguments)}function O(){return(O=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",G(t,(function(e){r(e),x(e.id).catch((function(){}))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(e,t){return j.apply(this,arguments)}function j(){return(j=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",R(t,void 0,r));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var S,A=Object.freeze({__proto__:null,listen:G,once:M,emit:C});function z(){return(z=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"readTextFile",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function D(){return(D=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"readBinaryFile",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(){return(L=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"object"===_typeof(r=n.length>1&&void 0!==n[1]?n[1]:{})&&Object.freeze(r),"object"===_typeof(t)&&Object.freeze(t),e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"writeFile",path:t.path,contents:t.contents,options:r}}));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(e){e[e.Audio=1]="Audio";e[e.Cache=2]="Cache";e[e.Config=3]="Config";e[e.Data=4]="Data";e[e.LocalData=5]="LocalData";e[e.Desktop=6]="Desktop";e[e.Document=7]="Document";e[e.Download=8]="Download";e[e.Executable=9]="Executable";e[e.Font=10]="Font";e[e.Home=11]="Home";e[e.Picture=12]="Picture";e[e.Public=13]="Public";e[e.Runtime=14]="Runtime";e[e.Template=15]="Template";e[e.Video=16]="Video";e[e.Resource=17]="Resource";e[e.App=18]="App";e[e.Current=19]="Current"}(S||(S={}));var E=65536;function W(e){var t=function(e){if(e.length1&&void 0!==n[1]?n[1]:{})&&Object.freeze(r),"object"===_typeof(t)&&Object.freeze(t),e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"writeBinaryFile",path:t.path,contents:W(t.contents),options:r}}));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(){return(I=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"readDir",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function N(){return(N=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"createDir",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function U(){return(U=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"removeDir",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function B(){return(B=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){var n,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"copyFile",source:t,destination:r,options:n}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function V(){return(V=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"removeFile",path:t,options:r}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(){return(q=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){var n,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:{},e.abrupt("return",s({__tauriModule:"Fs",message:{cmd:"renameFile",oldPath:t,newPath:r,options:n}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var H=Object.freeze({__proto__:null,get BaseDirectory(){return S},get Dir(){return S},readTextFile:function(e){return z.apply(this,arguments)},readBinaryFile:function(e){return D.apply(this,arguments)},writeFile:function(e){return L.apply(this,arguments)},writeBinaryFile:function(e){return F.apply(this,arguments)},readDir:function(e){return I.apply(this,arguments)},createDir:function(e){return N.apply(this,arguments)},removeDir:function(e){return U.apply(this,arguments)},copyFile:function(e,t){return B.apply(this,arguments)},removeFile:function(e){return V.apply(this,arguments)},renameFile:function(e,t){return q.apply(this,arguments)}});function J(){return(J=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"GlobalShortcut",message:{cmd:"register",shortcut:t,handler:a(r)}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function K(){return(K=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"GlobalShortcut",message:{cmd:"registerAll",shortcuts:t,handler:a(r)}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Y(){return(Y=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"GlobalShortcut",message:{cmd:"isRegistered",shortcut:t}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function $(){return($=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"GlobalShortcut",message:{cmd:"unregister",shortcut:t}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Q(){return(Q=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"GlobalShortcut",message:{cmd:"unregisterAll"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var X,Z=Object.freeze({__proto__:null,register:function(e,t){return J.apply(this,arguments)},registerAll:function(e,t){return K.apply(this,arguments)},isRegistered:function(e){return Y.apply(this,arguments)},unregister:function(e){return $.apply(this,arguments)},unregisterAll:function(){return Q.apply(this,arguments)}});function ee(e,t){return null!=e?e:t()}function te(e){for(var t=void 0,r=e[0],n=1;n=200&&this.status<300,this.headers=t.headers,this.data=t.data},ae=function(){function e(t){_classCallCheck(this,e),this.id=t}var t,r,n,a,o,i,u;return _createClass(e,[{key:"drop",value:(u=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Http",message:{cmd:"dropClient",client:this.id}}));case 1:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"request",value:(i=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=!t.responseType||t.responseType===X.JSON)&&(t.responseType=X.Text),e.abrupt("return",s({__tauriModule:"Http",message:{cmd:"httpRequest",client:this.id,options:t}}).then((function(e){var t=new ne(e);if(r){try{t.data=JSON.parse(t.data)}catch(e){if(t.ok)throw Error("Failed to parse response `".concat(t.data,"` as JSON: ").concat(e,";\n try setting the `responseType` option to `ResponseType.Text` or `ResponseType.Binary` if the API does not return a JSON response."))}return t}return t})));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"get",value:(o=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.request(_objectSpread({method:"GET",url:t},r)));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t){return o.apply(this,arguments)})},{key:"post",value:(a=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.request(_objectSpread({method:"POST",url:t,body:r},n)));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return a.apply(this,arguments)})},{key:"put",value:(n=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.request(_objectSpread({method:"PUT",url:t,body:r},n)));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"patch",value:(r=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.request(_objectSpread({method:"PATCH",url:t},r)));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"delete",value:(t=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.request(_objectSpread({method:"DELETE",url:t},r)));case 1:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})}]),e}();function oe(e){return ie.apply(this,arguments)}function ie(){return(ie=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Http",message:{cmd:"createClient",options:t}}).then((function(e){return new ae(e)})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ue=null;function se(){return(se=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==ue){e.next=4;break}return e.next=3,oe();case 3:ue=e.sent;case 4:return e.abrupt("return",ue.request(_objectSpread({url:t,method:ee(te([r,"optionalAccess",function(e){return e.method}]),(function(){return"GET"}))},r)));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ce=Object.freeze({__proto__:null,getClient:oe,fetch:function(e,t){return se.apply(this,arguments)},Body:re,Client:ae,Response:ne,get ResponseType(){return X}});function pe(){return(pe=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("default"===window.Notification.permission){e.next=2;break}return e.abrupt("return",Promise.resolve("granted"===window.Notification.permission));case 2:return e.abrupt("return",s({__tauriModule:"Notification",message:{cmd:"isNotificationPermissionGranted"}}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){return(le=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.Notification.requestPermission());case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var fe=Object.freeze({__proto__:null,sendNotification:function(e){"string"==typeof e?new window.Notification(e):new window.Notification(e.title,e)},requestPermission:function(){return le.apply(this,arguments)},isPermissionGranted:function(){return pe.apply(this,arguments)}});function he(){return navigator.appVersion.includes("Win")}function me(){return(me=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.App}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return(de=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Audio}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ye(){return(ye=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Cache}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ge(){return(ge=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Config}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _e(){return(_e=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Data}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ve(){return(ve=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Desktop}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return(we=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Document}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(){return(be=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Download}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Re(){return(Re=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Executable}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ke(){return(ke=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Font}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function xe(){return(xe=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Home}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Te(){return(Te=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.LocalData}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ge(){return(Ge=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Picture}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Pe(){return(Pe=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Public}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Me(){return(Me=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Resource}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Oe(){return(Oe=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Runtime}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ce(){return(Ce=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Template}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function je(){return(je=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Video}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Se(){return(Se=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Path",message:{cmd:"resolvePath",path:"",directory:S.Current}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ae=he()?"\\":"/",ze=he()?";":":";function De(){return(De=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t,r,n,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=a.length,r=new Array(t),n=0;n0&&void 0!==r[0]?r[0]:0,e.abrupt("return",s({__tauriModule:"Process",message:{cmd:"exit",exitCode:t}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ve(){return(Ve=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Process",message:{cmd:"relaunch"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var qe=Object.freeze({__proto__:null,exit:function(){return Be.apply(this,arguments)},relaunch:function(){return Ve.apply(this,arguments)}});function He(e,t){return null!=e?e:t()}function Je(e,t,r,n){return Ke.apply(this,arguments)}function Ke(){return(Ke=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r,n,o){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"object"===_typeof(n)&&Object.freeze(n),e.abrupt("return",s({__tauriModule:"Shell",message:{cmd:"execute",program:r,args:"string"==typeof n?[n]:n,options:o,onEventFn:a(t)}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ye=function(){function e(){_classCallCheck(this,e),e.prototype.__init.call(this)}return _createClass(e,[{key:"__init",value:function(){this.eventListeners=Object.create(null)}},{key:"addEventListener",value:function(e,t){e in this.eventListeners?this.eventListeners[e].push(t):this.eventListeners[e]=[t]}},{key:"_emit",value:function(e,t){if(e in this.eventListeners){var r,n=_createForOfIteratorHelper(this.eventListeners[e]);try{for(n.s();!(r=n.n()).done;){(0,r.value)(t)}}catch(e){n.e(e)}finally{n.f()}}}},{key:"on",value:function(e,t){return this.addEventListener(e,t),this}}]),e}(),$e=function(){function e(t){_classCallCheck(this,e),this.pid=t}var t,r;return _createClass(e,[{key:"write",value:(r=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Shell",message:{cmd:"stdinWrite",pid:this.pid,buffer:t}}));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"kill",value:(t=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Shell",message:{cmd:"killChild",pid:this.pid}}));case 1:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}(),Qe=function(e){_inherits(a,e);var t,r,n=_createSuper(a);function a(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,a),t=n.call(this),a.prototype.__init2.call(_assertThisInitialized(t)),a.prototype.__init3.call(_assertThisInitialized(t)),t.program=e,t.args="string"==typeof r?[r]:r,t.options=He(o,(function(){return{}})),t}return _createClass(a,[{key:"__init2",value:function(){this.stdout=new Ye}},{key:"__init3",value:function(){this.stderr=new Ye}},{key:"spawn",value:(r=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Je((function(e){switch(e.event){case"Error":t._emit("error",e.payload);break;case"Terminated":t._emit("close",e.payload);break;case"Stdout":t.stdout._emit("data",e.payload);break;case"Stderr":t.stderr._emit("data",e.payload)}}),this.program,this.args,this.options).then((function(e){return new $e(e)})));case 1:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"execute",value:(t=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){t.on("error",r);var n=[],a=[];t.stdout.on("data",(function(e){n.push(e)})),t.stderr.on("data",(function(e){a.push(e)})),t.on("close",(function(t){e({code:t.code,signal:t.signal,stdout:n.join("\n"),stderr:a.join("\n")})})),t.spawn().catch(r)})));case 1:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}],[{key:"sidecar",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=new a(e,t,r);return n.options.sidecar=!0,n}}]),a}(Ye);function Xe(){return(Xe=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Shell",message:{cmd:"open",path:t,with:r}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ze=Object.freeze({__proto__:null,Command:Qe,Child:$e,open:function(e,t){return Xe.apply(this,arguments)}});function et(e){for(var t=void 0,r=e[0],n=1;n1&&void 0!==arguments[1]?arguments[1]:{};return _classCallCheck(this,r),n=t.call(this,e),at([a,"optionalAccess",function(e){return e.skip}])||s({__tauriModule:"Window",message:{cmd:"createWebview",data:{options:_objectSpread({label:e},a)}}}).then(_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.emit("tauri://created"));case 1:case"end":return e.stop()}}),e)})))).catch(function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.emit("tauri://error",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),n}return _createClass(r,null,[{key:"getByLabel",value:function(e){return pt().some((function(t){return t.label===e}))?new r(e,{skip:!0}):null}}]),r}(ht),dt=new mt(null,{skip:!0});function yt(){return(yt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"currentMonitor"}}}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function gt(){return(gt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"primaryMonitor"}}}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _t(){return(_t=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"availableMonitors"}}}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var vt=Object.freeze({__proto__:null,WebviewWindow:mt,WebviewWindowHandle:ft,WindowManager:ht,getCurrent:function(){return new mt(window.__TAURI__.__currentWindow.label,{skip:!0})},getAll:pt,appWindow:dt,LogicalSize:it,PhysicalSize:ut,LogicalPosition:st,PhysicalPosition:ct,get UserAttentionType(){return ot},currentMonitor:function(){return yt.apply(this,arguments)},primaryMonitor:function(){return gt.apply(this,arguments)},availableMonitors:function(){return _t.apply(this,arguments)}}),wt=he()?"\r\n":"\n";function bt(){return(bt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Os",message:{cmd:"platform"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Rt(){return(Rt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Os",message:{cmd:"version"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function kt(){return(kt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Os",message:{cmd:"type"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function xt(){return(xt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Os",message:{cmd:"arch"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Tt(){return(Tt=_asyncToGenerator(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s({__tauriModule:"Os",message:{cmd:"tempdir"}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Gt=Object.freeze({__proto__:null,EOL:wt,platform:function(){return bt.apply(this,arguments)},version:function(){return Rt.apply(this,arguments)},type:function(){return kt.apply(this,arguments)},arch:function(){return xt.apply(this,arguments)},tempdir:function(){return Tt.apply(this,arguments)}}),Pt=o;e.app=h,e.cli=d,e.clipboard=_,e.dialog=b,e.event=A,e.fs=H,e.globalShortcut=Z,e.http=ce,e.invoke=Pt,e.notification=fe,e.os=Gt,e.path=Ue,e.process=qe,e.shell=Ze,e.tauri=u,e.updater=nt,e.window=vt,Object.defineProperty(e,"__esModule",{value:!0})})); diff --git a/docs/usage/guides/events.md b/docs/usage/guides/events.md index 2a9ba17aa..ed0d6d0e1 100644 --- a/docs/usage/guides/events.md +++ b/docs/usage/guides/events.md @@ -36,11 +36,10 @@ emit('click', { Window-specific events are exposed on the `window` module. ```ts -import { getCurrent, WebviewWindow } from '@tauri-apps/api/window' +import { appWindow, WebviewWindow } from '@tauri-apps/api/window' // emit an event that are only visible to the current window -const current = getCurrent() -current.emit('event', { message: 'Tauri is awesome!' }) +appWindow.emit('event', { message: 'Tauri is awesome!' }) // create a new webview window and emit an event only to that window const webview = new WebviewWindow('window') diff --git a/examples/api/public/build/bundle.js b/examples/api/public/build/bundle.js index b8137e3ce..3e626904b 100644 --- a/examples/api/public/build/bundle.js +++ b/examples/api/public/build/bundle.js @@ -1,4 +1,4 @@ -var app=function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function i(t){t.forEach(e)}function o(t){return"function"==typeof t}function r(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function u(e,n,i){e.$$.on_destroy.push(function(e,...n){if(null==e)return t;const i=e.subscribe(...n);return i.unsubscribe?()=>i.unsubscribe():i}(n,i))}function s(t,e){t.appendChild(e)}function a(t,e,n){t.insertBefore(e,n||null)}function c(t){t.parentNode.removeChild(t)}function l(t,e){for(let n=0;nt.removeEventListener(e,n,i)}function g(t){return function(e){return e.preventDefault(),t.call(this,e)}}function m(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function v(t){return""===t?null:+t}function y(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function b(t,e){t.value=null==e?"":e}function w(t,e,n,i){t.style.setProperty(e,n,i?"important":"")}function _(t,e){for(let n=0;n{I.delete(t),i&&(n&&t.d(1),i())})),t.o(e)}}function K(t){t&&t.c()}function H(t,n,r,u){const{fragment:s,on_mount:a,on_destroy:c,after_update:l}=t.$$;s&&s.m(n,r),u||j((()=>{const n=a.map(e).filter(o);c?c.push(...n):i(n),t.$$.on_mount=[]})),l.forEach(j)}function B(t,e){const n=t.$$;null!==n.fragment&&(i(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function G(t,e){-1===t.$$.dirty[0]&&(S.push(t),A||(A=!0,L.then(D)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const o=i.length?i[0]:n;return h.ctx&&s(h.ctx[t],h.ctx[t]=o)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](o),f&&G(e,t)),n})):[],h.update(),f=!0,i(h.before_update),h.fragment=!!u&&u(h.ctx),o.target){if(o.hydrate){const t=function(t){return Array.from(t.childNodes)}(o.target);h.fragment&&h.fragment.l(t),t.forEach(c)}else h.fragment&&h.fragment.c();o.intro&&N(e.$$.fragment),H(e,o.target,o.anchor,o.customElement),D()}C(d)}class J{$destroy(){B(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const X=[];function Y(e,n=t){let i;const o=[];function u(t){if(r(e,t)&&(e=t,i)){const t=!X.length;for(let t=0;t{const t=o.indexOf(a);-1!==t&&o.splice(t,1),0===o.length&&(i(),i=null)}}}} +var app=function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function i(t){t.forEach(e)}function o(t){return"function"==typeof t}function r(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function u(e,n,i){e.$$.on_destroy.push(function(e,...n){if(null==e)return t;const i=e.subscribe(...n);return i.unsubscribe?()=>i.unsubscribe():i}(n,i))}function s(t,e){t.appendChild(e)}function a(t,e,n){t.insertBefore(e,n||null)}function c(t){t.parentNode.removeChild(t)}function l(t,e){for(let n=0;nt.removeEventListener(e,n,i)}function g(t){return function(e){return e.preventDefault(),t.call(this,e)}}function m(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function v(t){return""===t?null:+t}function y(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function b(t,e){t.value=null==e?"":e}function w(t,e,n,i){t.style.setProperty(e,n,i?"important":"")}function _(t,e){for(let n=0;n{I.delete(t),i&&(n&&t.d(1),i())})),t.o(e)}}function K(t){t&&t.c()}function H(t,n,r,u){const{fragment:s,on_mount:a,on_destroy:c,after_update:l}=t.$$;s&&s.m(n,r),u||W((()=>{const n=a.map(e).filter(o);c?c.push(...n):i(n),t.$$.on_mount=[]})),l.forEach(W)}function B(t,e){const n=t.$$;null!==n.fragment&&(i(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function G(t,e){-1===t.$$.dirty[0]&&(S.push(t),A||(A=!0,L.then(D)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const o=i.length?i[0]:n;return h.ctx&&s(h.ctx[t],h.ctx[t]=o)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](o),f&&G(e,t)),n})):[],h.update(),f=!0,i(h.before_update),h.fragment=!!u&&u(h.ctx),o.target){if(o.hydrate){const t=function(t){return Array.from(t.childNodes)}(o.target);h.fragment&&h.fragment.l(t),t.forEach(c)}else h.fragment&&h.fragment.c();o.intro&&N(e.$$.fragment),H(e,o.target,o.anchor,o.customElement),D()}C(d)}class J{$destroy(){B(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const X=[];function Y(e,n=t){let i;const o=[];function u(t){if(r(e,t)&&(e=t,i)){const t=!X.length;for(let t=0;t{const t=o.indexOf(a);-1!==t&&o.splice(t,1),0===o.length&&(i(),i=null)}}}} /*! * hotkeys-js v3.8.5 * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. @@ -21,5 +21,5 @@ var app=function(){"use strict";function t(){}function e(t){return t()}function LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** */var _t=function(t,e){return(_t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function xt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}_t(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Mt=function(){return(Mt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n0&&o[o.length-1])||6!==r[0]&&2!==r[0])){u=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]{n(2,r=t)})),Ft().then((t=>{n(0,i=t)})),Rt().then((t=>{n(1,o=t)})),[i,o,r,async function(){await It()},async function(){await Ut()}]}Object.freeze({__proto__:null,Command:jt,Child:At,open:Wt}),Object.freeze({__proto__:null,getName:Dt,getVersion:Ft,getTauriVersion:Rt}),Object.freeze({__proto__:null,exit:It,relaunch:Ut});class Kt extends J{constructor(t){super(),V(this,t,qt,Nt,r,{})}}function Ht(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Cli",message:{cmd:"cliMatches"}})]}))}))}function Bt(e){let n,i,o,r,u,l,g,v,y,b,w;return{c(){n=d("div"),i=h("This binary can be run on the terminal and takes the following arguments:\n "),o=d("ul"),o.innerHTML="
  • --config PATH
  • \n
  • --theme light|dark|system
  • \n
  • --verbose
  • ",r=h("\n Additionally, it has a "),u=d("i"),u.textContent="update --background",l=h(" subcommand.\n Note that the arguments are only parsed, not implemented.\n "),g=d("br"),v=f(),y=d("button"),y.textContent="Get matches",m(y,"class","button"),m(y,"id","cli-matches")},m(t,c){a(t,n,c),s(n,i),s(n,o),s(n,r),s(n,u),s(n,l),s(n,g),s(n,v),s(n,y),b||(w=p(y,"click",e[0]),b=!0)},p:t,i:t,o:t,d(t){t&&c(n),b=!1,w()}}}function Gt(t,e,n){let{onMessage:i}=e;return t.$$set=t=>{"onMessage"in t&&n(1,i=t.onMessage)},[function(){Ht().then(i).catch(i)},i]}Object.freeze({__proto__:null,getMatches:Ht});class Vt extends J{constructor(t){super(),V(this,t,Gt,Bt,r,{onMessage:1})}}function Jt(t,e,n){return kt(this,void 0,void 0,(function(){return Ct(this,(function(i){switch(i.label){case 0:return[4,St({__tauriModule:"Event",message:{cmd:"emit",event:t,windowLabel:e,payload:n}})];case 1:return i.sent(),[2]}}))}))}function Xt(t){return kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return[2,St({__tauriModule:"Event",message:{cmd:"unlisten",eventId:t}})]}))}))}function Yt(t,e){return kt(this,void 0,void 0,(function(){var n=this;return Ct(this,(function(i){return[2,St({__tauriModule:"Event",message:{cmd:"listen",event:t,handler:$t(e)}}).then((function(t){return function(){return kt(n,void 0,void 0,(function(){return Ct(this,(function(e){return[2,Xt(t)]}))}))}}))]}))}))}function Qt(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,Yt(t,(function(t){e(t),Xt(t.id).catch((function(){}))}))]}))}))}function Zt(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,Jt(t,void 0,e)]}))}))}function te(e){let n,o,r,u,l,h,g,v;return{c(){n=d("div"),o=d("button"),o.textContent="Call Log API",r=f(),u=d("button"),u.textContent="Call Request (async) API",l=f(),h=d("button"),h.textContent="Send event to Rust",m(o,"class","button"),m(o,"id","log"),m(u,"class","button"),m(u,"id","request"),m(h,"class","button"),m(h,"id","event")},m(t,i){a(t,n,i),s(n,o),s(n,r),s(n,u),s(n,l),s(n,h),g||(v=[p(o,"click",e[0]),p(u,"click",e[1]),p(h,"click",e[2])],g=!0)},p:t,i:t,o:t,d(t){t&&c(n),g=!1,i(v)}}}function ee(t,e,n){let i,{onMessage:o}=e;return T((async()=>{i=await Yt("rust-event",o)})),O((()=>{i&&i()})),t.$$set=t=>{"onMessage"in t&&n(3,o=t.onMessage)},[function(){Tt("log_operation",{event:"tauri-click",payload:"this payload is optional because we used Option in Rust"})},function(){Tt("perform_request",{endpoint:"dummy endpoint arg",body:{id:5,name:"test"}}).then(o).catch(o)},function(){Zt("js-event","this is the payload string")},o]}Object.freeze({__proto__:null,listen:Yt,once:Qt,emit:Zt});class ne extends J{constructor(t){super(),V(this,t,ee,te,r,{onMessage:3})}}function ie(t){return void 0===t&&(t={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return"object"==typeof t&&Object.freeze(t),[2,St({__tauriModule:"Dialog",message:{cmd:"openDialog",options:t}})]}))}))}function oe(t){return void 0===t&&(t={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return"object"==typeof t&&Object.freeze(t),[2,St({__tauriModule:"Dialog",message:{cmd:"saveDialog",options:t}})]}))}))}function re(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"Fs",message:{cmd:"readBinaryFile",path:t,options:e}})]}))}))}function ue(t){var e=function(t){if(t.length<65536)return String.fromCharCode.apply(null,Array.from(t));for(var e="",n=t.length,i=0;i{"onMessage"in t&&n(6,i=t.onMessage)},[o,r,u,s,function(){ie({defaultPath:o,filters:r?[{name:"Tauri Example",extensions:r.split(",").map((t=>t.trim()))}]:[],multiple:u,directory:s}).then((function(t){if(Array.isArray(t))i(t);else{var e=t,n=e.match(/\S+\.\S+$/g);re(e).then((function(o){var r,u,s,a;n&&(e.includes(".png")||e.includes(".jpg"))?(r=new Uint8Array(o),u=function(t){i('')},s=new Blob([r],{type:"application/octet-binary"}),(a=new FileReader).onload=function(t){var e=t.target.result;u(e.substr(e.indexOf(",")+1))},a.readAsDataURL(s)):i(t)})).catch(i(t))}})).catch(i)},function(){oe({defaultPath:o,filters:r?[{name:"Tauri Example",extensions:r.split(",").map((t=>t.trim()))}]:[]}).then(i).catch(i)},i,function(){o=this.value,n(0,o)},function(){r=this.value,n(1,r)},function(){u=this.checked,n(2,u)},function(){s=this.checked,n(3,s)}]}Object.freeze({__proto__:null,open:ie,save:oe}),function(t){t[t.Audio=1]="Audio",t[t.Cache=2]="Cache",t[t.Config=3]="Config",t[t.Data=4]="Data",t[t.LocalData=5]="LocalData",t[t.Desktop=6]="Desktop",t[t.Document=7]="Document",t[t.Download=8]="Download",t[t.Executable=9]="Executable",t[t.Font=10]="Font",t[t.Home=11]="Home",t[t.Picture=12]="Picture",t[t.Public=13]="Public",t[t.Runtime=14]="Runtime",t[t.Template=15]="Template",t[t.Video=16]="Video",t[t.Resource=17]="Resource",t[t.App=18]="App",t[t.Current=19]="Current"}(zt||(zt={})),Object.freeze({__proto__:null,get BaseDirectory(){return zt},get Dir(){return zt},readTextFile:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"Fs",message:{cmd:"readTextFile",path:t,options:e}})]}))}))},readBinaryFile:re,writeFile:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return"object"==typeof e&&Object.freeze(e),"object"==typeof t&&Object.freeze(t),[2,St({__tauriModule:"Fs",message:{cmd:"writeFile",path:t.path,contents:t.contents,options:e}})]}))}))},writeBinaryFile:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return"object"==typeof e&&Object.freeze(e),"object"==typeof t&&Object.freeze(t),[2,St({__tauriModule:"Fs",message:{cmd:"writeBinaryFile",path:t.path,contents:ue(t.contents),options:e}})]}))}))},readDir:se,createDir:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"Fs",message:{cmd:"createDir",path:t,options:e}})]}))}))},removeDir:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"Fs",message:{cmd:"removeDir",path:t,options:e}})]}))}))},copyFile:function(t,e,n){return void 0===n&&(n={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(i){return[2,St({__tauriModule:"Fs",message:{cmd:"copyFile",source:t,destination:e,options:n}})]}))}))},removeFile:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"Fs",message:{cmd:"removeFile",path:t,options:e}})]}))}))},renameFile:function(t,e,n){return void 0===n&&(n={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(i){return[2,St({__tauriModule:"Fs",message:{cmd:"renameFile",oldPath:t,newPath:e,options:n}})]}))}))}});class le extends J{constructor(t){var e;super(),document.getElementById("svelte-1eg58yg-style")||((e=d("style")).id="svelte-1eg58yg-style",e.textContent="#dialog-filter.svelte-1eg58yg{width:260px}",s(document.head,e)),V(this,t,ce,ae,r,{onMessage:6})}}function de(t,e,n){const i=t.slice();return i[8]=e[n],i}function he(e){let n,i,o=e[8][0]+"";return{c(){n=d("option"),i=h(o),n.__value=e[8][1],n.value=n.__value},m(t,e){a(t,n,e),s(n,i)},p:t,d(t){t&&c(n)}}}function fe(e){let n,o,r,u,h,v,y,w,_,x,M,k,C,$=e[2],T=[];for(let t=0;t<$.length;t+=1)T[t]=he(de(e,$,t));return{c(){n=d("form"),o=d("select"),r=d("option"),r.textContent="None";for(let t=0;tisNaN(parseInt(t)))).map((t=>[t,zt[t]]));return t.$$set=t=>{"onMessage"in t&&n(5,o=t.onMessage)},[r,i,u,function(){const t=r.match(/\S+\.\S+$/g),e={dir:pe()};(t?re(r,e):se(r,e)).then((function(e){if(t)if(r.includes(".png")||r.includes(".jpg"))!function(t,e){const n=new Blob([t],{type:"application/octet-binary"}),i=new FileReader;i.onload=function(t){const n=t.target.result;e(n.substr(n.indexOf(",")+1))},i.readAsDataURL(n)}(new Uint8Array(e),(function(t){o('')}));else{const t=String.fromCharCode.apply(null,e);o(''),setTimeout((()=>{const e=document.getElementById("file-response");e.value=t,document.getElementById("file-save").addEventListener("click",(function(){writeFile({file:r,contents:e.value},{dir:pe()}).catch(o)}))}))}else o(e)})).catch(o)},function(){n(1,i.src=Ot(r),i)},o,function(){r=this.value,n(0,r)},function(t){P[t?"unshift":"push"]((()=>{i=t,n(1,i)}))}]}class me extends J{constructor(t){super(),V(this,t,ge,fe,r,{onMessage:5})}}!function(t){t[t.JSON=1]="JSON",t[t.Text=2]="Text",t[t.Binary=3]="Binary"}(Et||(Et={}));var ve=function(){function t(t,e){this.type=t,this.payload=e}return t.form=function(e){return new t("Form",e)},t.json=function(e){return new t("Json",e)},t.text=function(e){return new t("Text",e)},t.bytes=function(e){return new t("Bytes",e)},t}(),ye=function(t){this.url=t.url,this.status=t.status,this.ok=this.status>=200&&this.status<300,this.headers=t.headers,this.data=t.data},be=function(){function t(t){this.id=t}return t.prototype.drop=function(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Http",message:{cmd:"dropClient",client:this.id}})]}))}))},t.prototype.request=function(t){return kt(this,void 0,void 0,(function(){var e;return Ct(this,(function(n){return(e=!t.responseType||t.responseType===Et.JSON)&&(t.responseType=Et.Text),[2,St({__tauriModule:"Http",message:{cmd:"httpRequest",client:this.id,options:t}}).then((function(t){var n=new ye(t);if(e){try{n.data=JSON.parse(n.data)}catch(t){if(n.ok)throw Error("Failed to parse response `"+n.data+"` as JSON: "+t+";\n try setting the `responseType` option to `ResponseType.Text` or `ResponseType.Binary` if the API does not return a JSON response.")}return n}return n}))]}))}))},t.prototype.get=function(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,this.request(Mt({method:"GET",url:t},e))]}))}))},t.prototype.post=function(t,e,n){return kt(this,void 0,void 0,(function(){return Ct(this,(function(i){return[2,this.request(Mt({method:"POST",url:t,body:e},n))]}))}))},t.prototype.put=function(t,e,n){return kt(this,void 0,void 0,(function(){return Ct(this,(function(i){return[2,this.request(Mt({method:"PUT",url:t,body:e},n))]}))}))},t.prototype.patch=function(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,this.request(Mt({method:"PATCH",url:t},e))]}))}))},t.prototype.delete=function(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,this.request(Mt({method:"DELETE",url:t},e))]}))}))},t}();function we(t){return kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return[2,St({__tauriModule:"Http",message:{cmd:"createClient",options:t}}).then((function(t){return new be(t)}))]}))}))}var _e=null;function xe(e){let n,o,r,u,l,h,v,y,x,M,k,C,$,T,O,S,P;return{c(){n=d("form"),o=d("select"),r=d("option"),r.textContent="GET",u=d("option"),u.textContent="POST",l=d("option"),l.textContent="PUT",h=d("option"),h.textContent="PATCH",v=d("option"),v.textContent="DELETE",y=f(),x=d("input"),M=f(),k=d("br"),C=f(),$=d("textarea"),T=f(),O=d("button"),O.textContent="Make request",r.__value="GET",r.value=r.__value,u.__value="POST",u.value=u.__value,l.__value="PUT",l.value=l.__value,h.__value="PATCH",h.value=h.__value,v.__value="DELETE",v.value=v.__value,m(o,"class","button"),m(o,"id","request-method"),void 0===e[0]&&j((()=>e[5].call(o))),m(x,"id","request-url"),m(x,"placeholder","Type the request URL..."),m($,"id","request-body"),m($,"placeholder","Request body"),m($,"rows","5"),w($,"width","100%"),w($,"margin-right","10px"),w($,"font-size","12px"),m(O,"class","button"),m(O,"id","make-request")},m(t,i){a(t,n,i),s(n,o),s(o,r),s(o,u),s(o,l),s(o,h),s(o,v),_(o,e[0]),s(n,y),s(n,x),b(x,e[1]),s(n,M),s(n,k),s(n,C),s(n,$),b($,e[2]),s(n,T),s(n,O),S||(P=[p(o,"change",e[5]),p(x,"input",e[6]),p($,"input",e[7]),p(n,"submit",g(e[3]))],S=!0)},p(t,[e]){1&e&&_(o,t[0]),2&e&&x.value!==t[1]&&b(x,t[1]),4&e&&b($,t[2])},i:t,o:t,d(t){t&&c(n),S=!1,i(P)}}}function Me(t,e,n){let i="GET",o="https://jsonplaceholder.typicode.com/todos/1",r="",{onMessage:u}=e;return t.$$set=t=>{"onMessage"in t&&n(4,u=t.onMessage)},[i,o,r,async function(){const t=await we(),e={url:o||""||"",method:i||"GET"||"GET"};r.startsWith("{")&&r.endsWith("}")||r.startsWith("[")&&r.endsWith("]")?e.body=ve.json(JSON.parse(r)):""!==r&&(e.body=ve.text(r)),t.request(e).then(u).catch(u)},u,function(){i=x(this),n(0,i)},function(){o=this.value,n(1,o)},function(){r=this.value,n(2,r)}]}Object.freeze({__proto__:null,getClient:we,fetch:function(t,e){var n;return kt(this,void 0,void 0,(function(){return Ct(this,(function(i){switch(i.label){case 0:return null!==_e?[3,2]:[4,we()];case 1:_e=i.sent(),i.label=2;case 2:return[2,_e.request(Mt({url:t,method:null!==(n=null==e?void 0:e.method)&&void 0!==n?n:"GET"},e))]}}))}))},Body:ve,Client:be,Response:ye,get ResponseType(){return Et}});class ke extends J{constructor(t){super(),V(this,t,Me,xe,r,{onMessage:4})}}function Ce(e){let n,i,o;return{c(){n=d("button"),n.textContent="Send test notification",m(n,"class","button"),m(n,"id","notification")},m(t,r){a(t,n,r),i||(o=p(n,"click",e[0]),i=!0)},p:t,i:t,o:t,d(t){t&&c(n),i=!1,o()}}}function $e(){new Notification("Notification title",{body:"This is the notification body"})}function Te(t,e,n){let{onMessage:i}=e;return t.$$set=t=>{"onMessage"in t&&n(1,i=t.onMessage)},[function(){"default"===Notification.permission?Notification.requestPermission().then((function(t){"granted"===t?$e():i("Permission is "+t)})).catch(i):"granted"===Notification.permission?$e():i("Permission is denied")},i]}class Oe extends J{constructor(t){super(),V(this,t,Te,Ce,r,{onMessage:1})}}var Se,Pe=function(t,e){this.type="Logical",this.width=t,this.height=e},ze=function(){function t(t,e){this.type="Physical",this.width=t,this.height=e}return t.prototype.toLogical=function(t){return new Pe(this.width/t,this.height/t)},t}(),Ee=function(t,e){this.type="Logical",this.x=t,this.y=e},Le=function(){function t(t,e){this.type="Physical",this.x=t,this.y=e}return t.prototype.toLogical=function(t){return new Ee(this.x/t,this.y/t)},t}();function Ae(){return new Re(window.__TAURI__.__currentWindow.label,{skip:!0})}function je(){return window.__TAURI__.__windows.map((function(t){return new Re(t.label,{skip:!0})}))}!function(t){t[t.Critical=1]="Critical",t[t.Informational=2]="Informational"}(Se||(Se={}));var We=["tauri://created","tauri://error"],Fe=function(){function t(t){this.label=t,this.listeners=Object.create(null)}return t.prototype.listen=function(t,e){return kt(this,void 0,void 0,(function(){var n=this;return Ct(this,(function(i){return this._handleTauriEvent(t,e)?[2,Promise.resolve((function(){var i=n.listeners[t];i.splice(i.indexOf(e),1)}))]:[2,Yt(t,e)]}))}))},t.prototype.once=function(t,e){return kt(this,void 0,void 0,(function(){var n=this;return Ct(this,(function(i){return this._handleTauriEvent(t,e)?[2,Promise.resolve((function(){var i=n.listeners[t];i.splice(i.indexOf(e),1)}))]:[2,Qt(t,e)]}))}))},t.prototype.emit=function(t,e){return kt(this,void 0,void 0,(function(){var n,i;return Ct(this,(function(o){if(We.includes(t)){for(n=0,i=this.listeners[t]||[];ne[31].call(o))),m(M,"type","checkbox"),m(T,"type","checkbox"),m(P,"title","Unminimizes after 2 seconds"),m(E,"title","Unminimizes after 2 seconds"),m(A,"title","Visible again after 2 seconds"),m(D,"type","checkbox"),m(N,"type","checkbox"),m(B,"type","checkbox"),m(X,"type","checkbox"),m(ut,"type","number"),m(ut,"min","0"),m(ut,"class","svelte-12ggtr4"),m(lt,"type","number"),m(lt,"min","0"),m(lt,"class","svelte-12ggtr4"),m(it,"class","flex col grow svelte-12ggtr4"),m(gt,"type","number"),m(gt,"min","400"),m(gt,"class","svelte-12ggtr4"),m(bt,"type","number"),m(bt,"min","400"),m(bt,"class","svelte-12ggtr4"),m(ht,"class","flex col grow svelte-12ggtr4"),m(kt,"type","number"),m(kt,"class","svelte-12ggtr4"),m(Ot,"type","number"),m(Ot,"class","svelte-12ggtr4"),m(_t,"class","flex col grow svelte-12ggtr4"),m(Lt,"type","number"),m(Lt,"min","400"),m(Lt,"class","svelte-12ggtr4"),m(Ft,"type","number"),m(Ft,"min","400"),m(Ft,"class","svelte-12ggtr4"),m(Pt,"class","flex col grow svelte-12ggtr4"),m(nt,"class","window-controls flex flex-row svelte-12ggtr4"),m(n,"class","flex col"),m(Kt,"class","svelte-12ggtr4"),m(Vt,"class","svelte-12ggtr4"),m(Ut,"class","grow window-property svelte-12ggtr4"),m(ee,"class","svelte-12ggtr4"),m(re,"class","svelte-12ggtr4"),m(Qt,"class","grow window-property svelte-12ggtr4"),m(It,"class","flex"),m(fe,"class","svelte-12ggtr4"),m(ve,"class","svelte-12ggtr4"),m(le,"class","grow window-property svelte-12ggtr4"),m(ke,"class","svelte-12ggtr4"),m(Oe,"class","svelte-12ggtr4"),m(_e,"class","grow window-property svelte-12ggtr4"),m(ce,"class","flex"),m(We,"class","svelte-12ggtr4"),m(Ie,"class","svelte-12ggtr4"),m(Le,"class","grow window-property svelte-12ggtr4"),m(Je,"class","svelte-12ggtr4"),m(Ze,"class","svelte-12ggtr4"),m(Be,"class","grow window-property svelte-12ggtr4"),m(Ee,"class","flex"),m(an,"class","svelte-12ggtr4"),m(hn,"class","svelte-12ggtr4"),m(rn,"class","grow window-property svelte-12ggtr4"),m(bn,"class","svelte-12ggtr4"),m(Mn,"class","svelte-12ggtr4"),m(mn,"class","grow window-property svelte-12ggtr4"),m(on,"class","flex"),m(On,"id","title"),m(Pn,"class","button"),m(Pn,"type","submit"),w(Tn,"margin-top","24px"),m(Ln,"id","url"),m(jn,"class","button"),m(jn,"id","open-url"),w(En,"margin-top","24px"),m(Fn,"class","button"),m(Fn,"title","Minimizes the window, requests attention for 3s and then resets it"),m(Rn,"class","button")},m(t,i){a(t,n,i),s(n,o);for(let t=0;t{n(20,O=t),n(7,g=O.width),n(8,m=O.height)})),o[i].outerSize().then((t=>{n(21,S=t)}))}function E(){o[i].innerPosition().then((t=>{n(18,$=t)})),o[i].outerPosition().then((t=>{n(19,T=t),n(13,M=T.x),n(14,k=T.y)}))}return t.$$set=t=>{"onMessage"in t&&n(30,s=t.onMessage)},t.$$.update=()=>{7&t.$$.dirty[0]&&o[i].setResizable(c),11&t.$$.dirty[0]&&(l?o[i].maximize():o[i].unmaximize()),19&t.$$.dirty[0]&&o[i].setDecorations(h),35&t.$$.dirty[0]&&o[i].setAlwaysOnTop(f),67&t.$$.dirty[0]&&o[i].setFullscreen(p),387&t.$$.dirty[0]&&o[i].setSize(new Pe(g,m)),1539&t.$$.dirty[0]&&(y&&b?o[i].setMinSize(new Pe(y,b)):o[i].setMinSize(null)),6147&t.$$.dirty[0]&&(w&&_?o[i].setMaxSize(new Pe(w,_)):o[i].setMaxSize(null)),24579&t.$$.dirty[0]&&o[i].setPosition(new Ee(M,k)),3&t.$$.dirty[0]&&o[i].scaleFactor().then((t=>n(17,C=t))),3&t.$$.dirty[0]&&function(t){r&&r(),u&&u(),u=t.listen("tauri://move",E),r=t.listen("tauri://resize",z)}(o[i])},[i,o,c,l,h,f,p,g,m,y,b,w,_,M,k,a,d,C,$,T,O,S,P,function(){Wt(a)},function(){o[i].setTitle(P)},function(){o[i].hide(),setTimeout(o[i].show,2e3)},function(){o[i].minimize(),setTimeout(o[i].unminimize,2e3)},function(){ie({multiple:!1}).then(o[i].setIcon)},function(){const t=Math.random().toString(),e=new Re(t);n(1,o[t]=e,o),e.once("tauri://error",(function(){s("Error creating new webview")}))},async function(){await o[i].minimize(),await o[i].requestUserAttention(Se.Critical),await new Promise((t=>setTimeout(t,3e3))),await o[i].requestUserAttention(null)},s,function(){i=x(this),n(0,i),n(1,o)},function(){c=this.checked,n(2,c)},function(){l=this.checked,n(3,l)},()=>o[i].center(),function(){d=this.checked,n(16,d)},function(){h=this.checked,n(4,h)},function(){f=this.checked,n(5,f)},function(){p=this.checked,n(6,p)},function(){M=v(this.value),n(13,M)},function(){k=v(this.value),n(14,k)},function(){g=v(this.value),n(7,g)},function(){m=v(this.value),n(8,m)},function(){y=v(this.value),n(9,y)},function(){b=v(this.value),n(10,b)},function(){w=v(this.value),n(11,w)},function(){_=v(this.value),n(12,_)},function(){P=this.value,n(22,P)},function(){a=this.value,n(15,a)}]}Object.freeze({__proto__:null,WebviewWindow:Re,WebviewWindowHandle:Fe,WindowManager:De,getCurrent:Ae,getAll:je,appWindow:Ie,LogicalSize:Pe,PhysicalSize:ze,LogicalPosition:Ee,PhysicalPosition:Le,get UserAttentionType(){return Se},currentMonitor:function(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"currentMonitor"}}}})]}))}))},primaryMonitor:function(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"primaryMonitor"}}}})]}))}))},availableMonitors:function(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"availableMonitors"}}}})]}))}))}});class He extends J{constructor(t){var e;super(),document.getElementById("svelte-12ggtr4-style")||((e=d("style")).id="svelte-12ggtr4-style",e.textContent=".flex-row.svelte-12ggtr4.svelte-12ggtr4{flex-direction:row}.grow.svelte-12ggtr4.svelte-12ggtr4{flex-grow:1}.window-controls.svelte-12ggtr4 input.svelte-12ggtr4{width:50px}.window-property.svelte-12ggtr4.svelte-12ggtr4{margin-top:12px}.window-property.svelte-12ggtr4 span.svelte-12ggtr4{font-size:0.8rem}",s(document.head,e)),V(this,t,Ke,qe,r,{onMessage:30},[-1,-1])}}function Be(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"GlobalShortcut",message:{cmd:"register",shortcut:t,handler:$t(e)}})]}))}))}function Ge(t){return kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return[2,St({__tauriModule:"GlobalShortcut",message:{cmd:"unregister",shortcut:t}})]}))}))}function Ve(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"GlobalShortcut",message:{cmd:"unregisterAll"}})]}))}))}function Je(t,e,n){const i=t.slice();return i[9]=e[n],i}function Xe(t){let e,n,i,o,r,u,l=t[9]+"";function g(){return t[8](t[9])}return{c(){e=d("div"),n=h(l),i=f(),o=d("button"),o.textContent="Unregister",m(o,"type","button")},m(t,c){a(t,e,c),s(e,n),s(e,i),s(e,o),r||(u=p(o,"click",g),r=!0)},p(e,i){t=e,2&i&&l!==(l=t[9]+"")&&y(n,l)},d(t){t&&c(e),r=!1,u()}}}function Ye(e){let n,i,o;return{c(){n=d("button"),n.textContent="Unregister all",m(n,"type","button")},m(t,r){a(t,n,r),i||(o=p(n,"click",e[5]),i=!0)},p:t,d(t){t&&c(n),i=!1,o()}}}function Qe(e){let n,o,r,u,h,g,v,y,w,_,x=e[1],M=[];for(let t=0;tn(1,i=t)));let s="CmdOrControl+X";function a(t){const e=t;Ge(e).then((()=>{r.update((t=>t.filter((t=>t!==e)))),o(`Shortcut ${e} unregistered`)})).catch(o)}return t.$$set=t=>{"onMessage"in t&&n(6,o=t.onMessage)},[s,i,r,function(){const t=s;Be(t,(()=>{o(`Shortcut ${t} triggered`)})).then((()=>{r.update((e=>[...e,t])),o(`Shortcut ${t} registered successfully`)})).catch(o)},a,function(){Ve().then((()=>{r.update((()=>[])),o("Unregistered all shortcuts")})).catch(o)},o,function(){s=this.value,n(0,s)},t=>a(t)]}Object.freeze({__proto__:null,register:Be,registerAll:function(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"GlobalShortcut",message:{cmd:"registerAll",shortcuts:t,handler:$t(e)}})]}))}))},isRegistered:function(t){return kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return[2,St({__tauriModule:"GlobalShortcut",message:{cmd:"isRegistered",shortcut:t}})]}))}))},unregister:Ge,unregisterAll:Ve});class tn extends J{constructor(t){super(),V(this,t,Ze,Qe,r,{onMessage:6})}}function en(t){let e,n,o,r,u;return{c(){e=d("input"),n=f(),o=d("button"),o.textContent="Write",m(e,"placeholder","write to stdin"),m(o,"class","button")},m(i,s){a(i,e,s),b(e,t[3]),a(i,n,s),a(i,o,s),r||(u=[p(e,"input",t[10]),p(o,"click",t[7])],r=!0)},p(t,n){8&n&&e.value!==t[3]&&b(e,t[3])},d(t){t&&c(e),t&&c(n),t&&c(o),r=!1,i(u)}}}function nn(e){let n,o,r,u,l,h,g,v,y,_,x,M,k,C,$,T=e[4]&&en(e);return{c(){n=d("div"),o=d("div"),r=d("input"),u=f(),l=d("button"),l.textContent="Run",h=f(),g=d("button"),g.textContent="Kill",v=f(),T&&T.c(),y=f(),_=d("div"),x=d("input"),M=f(),k=d("input"),m(l,"class","button"),m(g,"class","button"),m(x,"placeholder","Working directory"),m(k,"placeholder","Environment variables"),w(k,"width","300px")},m(t,i){a(t,n,i),s(n,o),s(o,r),b(r,e[0]),s(o,u),s(o,l),s(o,h),s(o,g),s(o,v),T&&T.m(o,null),s(n,y),s(n,_),s(_,x),b(x,e[1]),s(_,M),s(_,k),b(k,e[2]),C||($=[p(r,"input",e[9]),p(l,"click",e[5]),p(g,"click",e[6]),p(x,"input",e[11]),p(k,"input",e[12])],C=!0)},p(t,[e]){1&e&&r.value!==t[0]&&b(r,t[0]),t[4]?T?T.p(t,e):(T=en(t),T.c(),T.m(o,null)):T&&(T.d(1),T=null),2&e&&x.value!==t[1]&&b(x,t[1]),4&e&&k.value!==t[2]&&b(k,t[2])},i:t,o:t,d(t){t&&c(n),T&&T.d(),C=!1,i($)}}}function on(t,e,n){const i=navigator.userAgent.includes("Windows");let o,r=i?"cmd":"sh",u=i?["/C"]:["-c"],{onMessage:s}=e,a='echo "hello world"',c=null,l="SOMETHING=value ANOTHER=2",d="";return t.$$set=t=>{"onMessage"in t&&n(8,s=t.onMessage)},[a,c,l,d,o,function(){n(4,o=null);const t=new jt(r,[...u,a],{cwd:c||null,env:l.split(" ").reduce(((t,e)=>{let[n,i]=e.split("=");return{...t,[n]:i}}),{})});t.on("close",(t=>{s(`command finished with code ${t.code} and signal ${t.signal}`),n(4,o=null)})),t.on("error",(t=>s(`command error: "${t}"`))),t.stdout.on("data",(t=>s(`command stdout: "${t}"`))),t.stderr.on("data",(t=>s(`command stderr: "${t}"`))),t.spawn().then((t=>{n(4,o=t)})).catch(s)},function(){o.kill().then((()=>s("killed child process"))).catch(s)},function(){o.write(d).catch(s)},s,function(){a=this.value,n(0,a)},function(){d=this.value,n(3,d)},function(){c=this.value,n(1,c)},function(){l=this.value,n(2,l)}]}class rn extends J{constructor(t){super(),V(this,t,on,nn,r,{onMessage:8})}}function un(){return kt(this,void 0,void 0,(function(){function t(){e&&e(),e=void 0}var e;return Ct(this,(function(n){return[2,new Promise((function(n,i){Yt("tauri://update-status",(function(e){var o;(o=null==e?void 0:e.payload).error?(t(),i(o.error)):"DONE"===o.status&&(t(),n())})).then((function(t){e=t})).catch((function(e){throw t(),e})),Zt("tauri://update-install").catch((function(e){throw t(),e}))}))]}))}))}function sn(){return kt(this,void 0,void 0,(function(){function t(){e&&e(),e=void 0}var e;return Ct(this,(function(n){return[2,new Promise((function(n,i){Qt("tauri://update-available",(function(e){var i;i=null==e?void 0:e.payload,t(),n({manifest:i,shouldUpdate:!0})})).catch((function(e){throw t(),e})),Yt("tauri://update-status",(function(e){var o;(o=null==e?void 0:e.payload).error?(t(),i(o.error)):"UPTODATE"===o.status&&(t(),n({shouldUpdate:!1}))})).then((function(t){e=t})).catch((function(e){throw t(),e})),Zt("tauri://update").catch((function(e){throw t(),e}))}))]}))}))}function an(e){let n,o,r,u,l,h;return{c(){n=d("div"),o=d("button"),o.textContent="Check update",r=f(),u=d("button"),u.textContent="Install update",m(o,"class","button"),m(o,"id","check_update"),m(u,"class","button hidden"),m(u,"id","start_update")},m(t,i){a(t,n,i),s(n,o),s(n,r),s(n,u),l||(h=[p(o,"click",e[0]),p(u,"click",e[1])],l=!0)},p:t,i:t,o:t,d(t){t&&c(n),l=!1,i(h)}}}function cn(t,e,n){let i,{onMessage:o}=e;return T((async()=>{i=await Yt("tauri://update-status",o)})),O((()=>{i&&i()})),t.$$set=t=>{"onMessage"in t&&n(2,o=t.onMessage)},[async function(){try{document.getElementById("check_update").classList.add("hidden");const{shouldUpdate:t,manifest:e}=await sn();o(`Should update: ${t}`),o(e),t&&document.getElementById("start_update").classList.remove("hidden")}catch(t){o(t)}},async function(){try{document.getElementById("start_update").classList.add("hidden"),await un(),o("Installation complete, restart required."),await Ut()}catch(t){o(t)}},o]}Object.freeze({__proto__:null,installUpdate:un,checkUpdate:sn});class ln extends J{constructor(t){super(),V(this,t,cn,an,r,{onMessage:2})}}function dn(t){return kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return[2,St({__tauriModule:"Clipboard",message:{cmd:"writeText",data:t}})]}))}))}function hn(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Clipboard",message:{cmd:"readText"}})]}))}))}function fn(e){let n,o,r,u,l,h,g,v,y;return{c(){n=d("div"),o=d("div"),r=d("input"),u=f(),l=d("button"),l.textContent="Write",h=f(),g=d("button"),g.textContent="Read",m(r,"placeholder","Text to write to the clipboard"),m(l,"type","button"),m(g,"type","button")},m(t,i){a(t,n,i),s(n,o),s(o,r),b(r,e[0]),s(o,u),s(o,l),s(n,h),s(n,g),v||(y=[p(r,"input",e[4]),p(l,"click",e[1]),p(g,"click",e[2])],v=!0)},p(t,[e]){1&e&&r.value!==t[0]&&b(r,t[0])},i:t,o:t,d(t){t&&c(n),v=!1,i(y)}}}function pn(t,e,n){let{onMessage:i}=e,o="clipboard message";return t.$$set=t=>{"onMessage"in t&&n(3,i=t.onMessage)},[o,function(){dn(o).then((()=>{i("Wrote to the clipboard")})).catch(i)},function(){hn().then((t=>{i(`Clipboard contents: ${t}`)})).catch(i)},i,function(){o=this.value,n(0,o)}]}Object.freeze({__proto__:null,writeText:dn,readText:hn});class gn extends J{constructor(t){super(),V(this,t,pn,fn,r,{onMessage:3})}}function mn(e){let n;return{c(){n=d("div"),n.innerHTML='

    Not available for Linux

    \n '},m(t,e){a(t,n,e)},p:t,i:t,o:t,d(t){t&&c(n)}}}function vn(t,e,n){let{onMessage:i}=e;const o=window.constraints={audio:!0,video:!0};return T((async()=>{try{!function(t){const e=document.querySelector("video"),n=t.getVideoTracks();i("Got stream with constraints:",o),i(`Using video device: ${n[0].label}`),window.stream=t,e.srcObject=t}(await navigator.mediaDevices.getUserMedia(o))}catch(t){!function(t){if("ConstraintNotSatisfiedError"===t.name){const t=o.video;i(`The resolution ${t.width.exact}x${t.height.exact} px is not supported by your device.`)}else"PermissionDeniedError"===t.name&&i("Permissions have not been granted to use your camera and microphone, you need to allow the page access to your devices in order for the demo to work.");i(`getUserMedia error: ${t.name}`,t)}(t)}})),O((()=>{window.stream.getTracks().forEach((function(t){t.stop()}))})),t.$$set=t=>{"onMessage"in t&&n(0,i=t.onMessage)},[i]}class yn extends J{constructor(t){super(),V(this,t,vn,mn,r,{onMessage:0})}}function bn(e){let n,o,r,u,l,g,v,w,_,x,M,k;return{c(){n=d("input"),o=f(),r=d("input"),u=f(),l=d("button"),l.textContent="Post it.",g=f(),v=d("p"),v.textContent="Result:",w=f(),_=d("pre"),x=h(e[2]),m(l,"type","button")},m(t,i){a(t,n,i),b(n,e[0]),a(t,o,i),a(t,r,i),b(r,e[1]),a(t,u,i),a(t,l,i),a(t,g,i),a(t,v,i),a(t,w,i),a(t,_,i),s(_,x),M||(k=[p(n,"input",e[4]),p(r,"input",e[5]),p(l,"click",e[3])],M=!0)},p(t,[e]){1&e&&n.value!==t[0]&&b(n,t[0]),2&e&&r.value!==t[1]&&b(r,t[1]),4&e&&y(x,t[2])},i:t,o:t,d(t){t&&c(n),t&&c(o),t&&c(r),t&&c(u),t&&c(l),t&&c(g),t&&c(v),t&&c(w),t&&c(_),M=!1,i(k)}}}function wn(t,e,n){let i="baz",o="qux",r=null;return[i,o,r,async function(){let t=navigator.userAgent.includes("Windows")?"https://customprotocol.test/example.html":"customprotocol://test/example.html";const e=await fetch(t,{method:"POST",body:JSON.stringify({foo:i,bar:o})}),u=await e.json();n(2,r=JSON.stringify(u))},function(){i=this.value,n(0,i)},function(){o=this.value,n(1,o)}]}class _n extends J{constructor(t){super(),V(this,t,wn,bn,r,{})}}function xn(t,e,n){const i=t.slice();return i[9]=e[n],i}function Mn(t){let e,n,i,o,r,u,l=t[9].label+"";function g(){return t[7](t[9])}return{c(){e=d("p"),n=h(l),i=f(),m(e,"class",o="nv noselect "+(t[0]===t[9]?"nv_selected":""))},m(t,o){a(t,e,o),s(e,n),s(e,i),r||(u=p(e,"click",g),r=!0)},p(n,i){t=n,1&i&&o!==(o="nv noselect "+(t[0]===t[9]?"nv_selected":""))&&m(e,"class",o)},d(t){t&&c(e),r=!1,u()}}}function kn(t){let e,n,o,r,u,h,g,v,y,b,_,x,k,C,$,T,O,S,P,z,E,L,A,j=t[2],W=[];for(let e=0;eDocumentation \n Github \n Source',g=f(),v=d("div"),y=d("div");for(let t=0;t{B(t,1)})),U.r||i(U.c),U=U.p}F?(x=new F(D(t)),K(x.$$.fragment),N(x.$$.fragment,1),H(x,_,null)):x=null}(!E||2&e)&&z.p(t[1])},i(t){E||(x&&N(x.$$.fragment,t),E=!0)},o(t){x&&q(x.$$.fragment,t),E=!1},d(t){t&&c(e),l(W,t),x&&B(x),L=!1,i(A)}}}function Cn(t,e,n){T((()=>{vt("ctrl+b",(()=>{Tt("menu_toggle")}))}));const i=[{label:"Welcome",component:Kt},{label:"Messages",component:ne},{label:"CLI",component:Vt},{label:"Dialog",component:le},{label:"File system",component:me},{label:"HTTP",component:ke},{label:"HTTP Form",component:_n},{label:"Notifications",component:Oe},{label:"Window",component:He},{label:"Shortcuts",component:tn},{label:"Shell",component:rn},{label:"Updater",component:ln},{label:"Clipboard",component:gn},{label:"WebRTC",component:yn}];let o=i[0],r=Y([]),u="";function s(t){n(0,o=t)}T((()=>{r.subscribe((t=>{n(1,u=t.join("\n"))}))}));return[o,u,i,r,s,function(t){r.update((e=>[`[${(new Date).toLocaleTimeString()}]: `+("string"==typeof t?t:JSON.stringify(t)),...e]))},function(){Wt("https://tauri.studio/")},t=>s(t),()=>{r.update((()=>[]))}]}return new class extends J{constructor(t){super(),V(this,t,Cn,kn,r,{})}}({target:document.body})}(); + ***************************************************************************** */var _t=function(t,e){return(_t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function xt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}_t(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Mt=function(){return(Mt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n0&&o[o.length-1])||6!==r[0]&&2!==r[0])){u=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]{n(2,r=t)})),Ft().then((t=>{n(0,i=t)})),Rt().then((t=>{n(1,o=t)})),[i,o,r,async function(){await It()},async function(){await Ut()}]}Object.freeze({__proto__:null,Command:Wt,Child:At,open:jt}),Object.freeze({__proto__:null,getName:Dt,getVersion:Ft,getTauriVersion:Rt}),Object.freeze({__proto__:null,exit:It,relaunch:Ut});class Kt extends J{constructor(t){super(),V(this,t,qt,Nt,r,{})}}function Ht(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Cli",message:{cmd:"cliMatches"}})]}))}))}function Bt(e){let n,i,o,r,u,l,g,v,y,b,w;return{c(){n=d("div"),i=h("This binary can be run on the terminal and takes the following arguments:\n "),o=d("ul"),o.innerHTML="
  • --config PATH
  • \n
  • --theme light|dark|system
  • \n
  • --verbose
  • ",r=h("\n Additionally, it has a "),u=d("i"),u.textContent="update --background",l=h(" subcommand.\n Note that the arguments are only parsed, not implemented.\n "),g=d("br"),v=f(),y=d("button"),y.textContent="Get matches",m(y,"class","button"),m(y,"id","cli-matches")},m(t,c){a(t,n,c),s(n,i),s(n,o),s(n,r),s(n,u),s(n,l),s(n,g),s(n,v),s(n,y),b||(w=p(y,"click",e[0]),b=!0)},p:t,i:t,o:t,d(t){t&&c(n),b=!1,w()}}}function Gt(t,e,n){let{onMessage:i}=e;return t.$$set=t=>{"onMessage"in t&&n(1,i=t.onMessage)},[function(){Ht().then(i).catch(i)},i]}Object.freeze({__proto__:null,getMatches:Ht});class Vt extends J{constructor(t){super(),V(this,t,Gt,Bt,r,{onMessage:1})}}function Jt(t,e,n){return kt(this,void 0,void 0,(function(){return Ct(this,(function(i){switch(i.label){case 0:return[4,St({__tauriModule:"Event",message:{cmd:"emit",event:t,windowLabel:e,payload:n}})];case 1:return i.sent(),[2]}}))}))}function Xt(t){return kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return[2,St({__tauriModule:"Event",message:{cmd:"unlisten",eventId:t}})]}))}))}function Yt(t,e){return kt(this,void 0,void 0,(function(){var n=this;return Ct(this,(function(i){return[2,St({__tauriModule:"Event",message:{cmd:"listen",event:t,handler:$t(e)}}).then((function(t){return function(){return kt(n,void 0,void 0,(function(){return Ct(this,(function(e){return[2,Xt(t)]}))}))}}))]}))}))}function Qt(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,Yt(t,(function(t){e(t),Xt(t.id).catch((function(){}))}))]}))}))}function Zt(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,Jt(t,void 0,e)]}))}))}function te(e){let n,o,r,u,l,h,g,v;return{c(){n=d("div"),o=d("button"),o.textContent="Call Log API",r=f(),u=d("button"),u.textContent="Call Request (async) API",l=f(),h=d("button"),h.textContent="Send event to Rust",m(o,"class","button"),m(o,"id","log"),m(u,"class","button"),m(u,"id","request"),m(h,"class","button"),m(h,"id","event")},m(t,i){a(t,n,i),s(n,o),s(n,r),s(n,u),s(n,l),s(n,h),g||(v=[p(o,"click",e[0]),p(u,"click",e[1]),p(h,"click",e[2])],g=!0)},p:t,i:t,o:t,d(t){t&&c(n),g=!1,i(v)}}}function ee(t,e,n){let i,{onMessage:o}=e;return T((async()=>{i=await Yt("rust-event",o)})),O((()=>{i&&i()})),t.$$set=t=>{"onMessage"in t&&n(3,o=t.onMessage)},[function(){Tt("log_operation",{event:"tauri-click",payload:"this payload is optional because we used Option in Rust"})},function(){Tt("perform_request",{endpoint:"dummy endpoint arg",body:{id:5,name:"test"}}).then(o).catch(o)},function(){Zt("js-event","this is the payload string")},o]}Object.freeze({__proto__:null,listen:Yt,once:Qt,emit:Zt});class ne extends J{constructor(t){super(),V(this,t,ee,te,r,{onMessage:3})}}function ie(t){return void 0===t&&(t={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return"object"==typeof t&&Object.freeze(t),[2,St({__tauriModule:"Dialog",message:{cmd:"openDialog",options:t}})]}))}))}function oe(t){return void 0===t&&(t={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return"object"==typeof t&&Object.freeze(t),[2,St({__tauriModule:"Dialog",message:{cmd:"saveDialog",options:t}})]}))}))}function re(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"Fs",message:{cmd:"readBinaryFile",path:t,options:e}})]}))}))}function ue(t){var e=function(t){if(t.length<65536)return String.fromCharCode.apply(null,Array.from(t));for(var e="",n=t.length,i=0;i{"onMessage"in t&&n(6,i=t.onMessage)},[o,r,u,s,function(){ie({defaultPath:o,filters:r?[{name:"Tauri Example",extensions:r.split(",").map((t=>t.trim()))}]:[],multiple:u,directory:s}).then((function(t){if(Array.isArray(t))i(t);else{var e=t,n=e.match(/\S+\.\S+$/g);re(e).then((function(o){var r,u,s,a;n&&(e.includes(".png")||e.includes(".jpg"))?(r=new Uint8Array(o),u=function(t){i('')},s=new Blob([r],{type:"application/octet-binary"}),(a=new FileReader).onload=function(t){var e=t.target.result;u(e.substr(e.indexOf(",")+1))},a.readAsDataURL(s)):i(t)})).catch(i(t))}})).catch(i)},function(){oe({defaultPath:o,filters:r?[{name:"Tauri Example",extensions:r.split(",").map((t=>t.trim()))}]:[]}).then(i).catch(i)},i,function(){o=this.value,n(0,o)},function(){r=this.value,n(1,r)},function(){u=this.checked,n(2,u)},function(){s=this.checked,n(3,s)}]}Object.freeze({__proto__:null,open:ie,save:oe}),function(t){t[t.Audio=1]="Audio",t[t.Cache=2]="Cache",t[t.Config=3]="Config",t[t.Data=4]="Data",t[t.LocalData=5]="LocalData",t[t.Desktop=6]="Desktop",t[t.Document=7]="Document",t[t.Download=8]="Download",t[t.Executable=9]="Executable",t[t.Font=10]="Font",t[t.Home=11]="Home",t[t.Picture=12]="Picture",t[t.Public=13]="Public",t[t.Runtime=14]="Runtime",t[t.Template=15]="Template",t[t.Video=16]="Video",t[t.Resource=17]="Resource",t[t.App=18]="App",t[t.Current=19]="Current"}(zt||(zt={})),Object.freeze({__proto__:null,get BaseDirectory(){return zt},get Dir(){return zt},readTextFile:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"Fs",message:{cmd:"readTextFile",path:t,options:e}})]}))}))},readBinaryFile:re,writeFile:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return"object"==typeof e&&Object.freeze(e),"object"==typeof t&&Object.freeze(t),[2,St({__tauriModule:"Fs",message:{cmd:"writeFile",path:t.path,contents:t.contents,options:e}})]}))}))},writeBinaryFile:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return"object"==typeof e&&Object.freeze(e),"object"==typeof t&&Object.freeze(t),[2,St({__tauriModule:"Fs",message:{cmd:"writeBinaryFile",path:t.path,contents:ue(t.contents),options:e}})]}))}))},readDir:se,createDir:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"Fs",message:{cmd:"createDir",path:t,options:e}})]}))}))},removeDir:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"Fs",message:{cmd:"removeDir",path:t,options:e}})]}))}))},copyFile:function(t,e,n){return void 0===n&&(n={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(i){return[2,St({__tauriModule:"Fs",message:{cmd:"copyFile",source:t,destination:e,options:n}})]}))}))},removeFile:function(t,e){return void 0===e&&(e={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"Fs",message:{cmd:"removeFile",path:t,options:e}})]}))}))},renameFile:function(t,e,n){return void 0===n&&(n={}),kt(this,void 0,void 0,(function(){return Ct(this,(function(i){return[2,St({__tauriModule:"Fs",message:{cmd:"renameFile",oldPath:t,newPath:e,options:n}})]}))}))}});class le extends J{constructor(t){var e;super(),document.getElementById("svelte-1eg58yg-style")||((e=d("style")).id="svelte-1eg58yg-style",e.textContent="#dialog-filter.svelte-1eg58yg{width:260px}",s(document.head,e)),V(this,t,ce,ae,r,{onMessage:6})}}function de(t,e,n){const i=t.slice();return i[8]=e[n],i}function he(e){let n,i,o=e[8][0]+"";return{c(){n=d("option"),i=h(o),n.__value=e[8][1],n.value=n.__value},m(t,e){a(t,n,e),s(n,i)},p:t,d(t){t&&c(n)}}}function fe(e){let n,o,r,u,h,v,y,w,_,x,M,k,C,$=e[2],T=[];for(let t=0;t<$.length;t+=1)T[t]=he(de(e,$,t));return{c(){n=d("form"),o=d("select"),r=d("option"),r.textContent="None";for(let t=0;tisNaN(parseInt(t)))).map((t=>[t,zt[t]]));return t.$$set=t=>{"onMessage"in t&&n(5,o=t.onMessage)},[r,i,u,function(){const t=r.match(/\S+\.\S+$/g),e={dir:pe()};(t?re(r,e):se(r,e)).then((function(e){if(t)if(r.includes(".png")||r.includes(".jpg"))!function(t,e){const n=new Blob([t],{type:"application/octet-binary"}),i=new FileReader;i.onload=function(t){const n=t.target.result;e(n.substr(n.indexOf(",")+1))},i.readAsDataURL(n)}(new Uint8Array(e),(function(t){o('')}));else{const t=String.fromCharCode.apply(null,e);o(''),setTimeout((()=>{const e=document.getElementById("file-response");e.value=t,document.getElementById("file-save").addEventListener("click",(function(){writeFile({file:r,contents:e.value},{dir:pe()}).catch(o)}))}))}else o(e)})).catch(o)},function(){n(1,i.src=Ot(r),i)},o,function(){r=this.value,n(0,r)},function(t){P[t?"unshift":"push"]((()=>{i=t,n(1,i)}))}]}class me extends J{constructor(t){super(),V(this,t,ge,fe,r,{onMessage:5})}}!function(t){t[t.JSON=1]="JSON",t[t.Text=2]="Text",t[t.Binary=3]="Binary"}(Et||(Et={}));var ve=function(){function t(t,e){this.type=t,this.payload=e}return t.form=function(e){return new t("Form",e)},t.json=function(e){return new t("Json",e)},t.text=function(e){return new t("Text",e)},t.bytes=function(e){return new t("Bytes",e)},t}(),ye=function(t){this.url=t.url,this.status=t.status,this.ok=this.status>=200&&this.status<300,this.headers=t.headers,this.data=t.data},be=function(){function t(t){this.id=t}return t.prototype.drop=function(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Http",message:{cmd:"dropClient",client:this.id}})]}))}))},t.prototype.request=function(t){return kt(this,void 0,void 0,(function(){var e;return Ct(this,(function(n){return(e=!t.responseType||t.responseType===Et.JSON)&&(t.responseType=Et.Text),[2,St({__tauriModule:"Http",message:{cmd:"httpRequest",client:this.id,options:t}}).then((function(t){var n=new ye(t);if(e){try{n.data=JSON.parse(n.data)}catch(t){if(n.ok)throw Error("Failed to parse response `"+n.data+"` as JSON: "+t+";\n try setting the `responseType` option to `ResponseType.Text` or `ResponseType.Binary` if the API does not return a JSON response.")}return n}return n}))]}))}))},t.prototype.get=function(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,this.request(Mt({method:"GET",url:t},e))]}))}))},t.prototype.post=function(t,e,n){return kt(this,void 0,void 0,(function(){return Ct(this,(function(i){return[2,this.request(Mt({method:"POST",url:t,body:e},n))]}))}))},t.prototype.put=function(t,e,n){return kt(this,void 0,void 0,(function(){return Ct(this,(function(i){return[2,this.request(Mt({method:"PUT",url:t,body:e},n))]}))}))},t.prototype.patch=function(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,this.request(Mt({method:"PATCH",url:t},e))]}))}))},t.prototype.delete=function(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,this.request(Mt({method:"DELETE",url:t},e))]}))}))},t}();function we(t){return kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return[2,St({__tauriModule:"Http",message:{cmd:"createClient",options:t}}).then((function(t){return new be(t)}))]}))}))}var _e=null;function xe(e){let n,o,r,u,l,h,v,y,x,M,k,C,$,T,O,S,P;return{c(){n=d("form"),o=d("select"),r=d("option"),r.textContent="GET",u=d("option"),u.textContent="POST",l=d("option"),l.textContent="PUT",h=d("option"),h.textContent="PATCH",v=d("option"),v.textContent="DELETE",y=f(),x=d("input"),M=f(),k=d("br"),C=f(),$=d("textarea"),T=f(),O=d("button"),O.textContent="Make request",r.__value="GET",r.value=r.__value,u.__value="POST",u.value=u.__value,l.__value="PUT",l.value=l.__value,h.__value="PATCH",h.value=h.__value,v.__value="DELETE",v.value=v.__value,m(o,"class","button"),m(o,"id","request-method"),void 0===e[0]&&W((()=>e[5].call(o))),m(x,"id","request-url"),m(x,"placeholder","Type the request URL..."),m($,"id","request-body"),m($,"placeholder","Request body"),m($,"rows","5"),w($,"width","100%"),w($,"margin-right","10px"),w($,"font-size","12px"),m(O,"class","button"),m(O,"id","make-request")},m(t,i){a(t,n,i),s(n,o),s(o,r),s(o,u),s(o,l),s(o,h),s(o,v),_(o,e[0]),s(n,y),s(n,x),b(x,e[1]),s(n,M),s(n,k),s(n,C),s(n,$),b($,e[2]),s(n,T),s(n,O),S||(P=[p(o,"change",e[5]),p(x,"input",e[6]),p($,"input",e[7]),p(n,"submit",g(e[3]))],S=!0)},p(t,[e]){1&e&&_(o,t[0]),2&e&&x.value!==t[1]&&b(x,t[1]),4&e&&b($,t[2])},i:t,o:t,d(t){t&&c(n),S=!1,i(P)}}}function Me(t,e,n){let i="GET",o="https://jsonplaceholder.typicode.com/todos/1",r="",{onMessage:u}=e;return t.$$set=t=>{"onMessage"in t&&n(4,u=t.onMessage)},[i,o,r,async function(){const t=await we(),e={url:o||""||"",method:i||"GET"||"GET"};r.startsWith("{")&&r.endsWith("}")||r.startsWith("[")&&r.endsWith("]")?e.body=ve.json(JSON.parse(r)):""!==r&&(e.body=ve.text(r)),t.request(e).then(u).catch(u)},u,function(){i=x(this),n(0,i)},function(){o=this.value,n(1,o)},function(){r=this.value,n(2,r)}]}Object.freeze({__proto__:null,getClient:we,fetch:function(t,e){var n;return kt(this,void 0,void 0,(function(){return Ct(this,(function(i){switch(i.label){case 0:return null!==_e?[3,2]:[4,we()];case 1:_e=i.sent(),i.label=2;case 2:return[2,_e.request(Mt({url:t,method:null!==(n=null==e?void 0:e.method)&&void 0!==n?n:"GET"},e))]}}))}))},Body:ve,Client:be,Response:ye,get ResponseType(){return Et}});class ke extends J{constructor(t){super(),V(this,t,Me,xe,r,{onMessage:4})}}function Ce(e){let n,i,o;return{c(){n=d("button"),n.textContent="Send test notification",m(n,"class","button"),m(n,"id","notification")},m(t,r){a(t,n,r),i||(o=p(n,"click",e[0]),i=!0)},p:t,i:t,o:t,d(t){t&&c(n),i=!1,o()}}}function $e(){new Notification("Notification title",{body:"This is the notification body"})}function Te(t,e,n){let{onMessage:i}=e;return t.$$set=t=>{"onMessage"in t&&n(1,i=t.onMessage)},[function(){"default"===Notification.permission?Notification.requestPermission().then((function(t){"granted"===t?$e():i("Permission is "+t)})).catch(i):"granted"===Notification.permission?$e():i("Permission is denied")},i]}class Oe extends J{constructor(t){super(),V(this,t,Te,Ce,r,{onMessage:1})}}var Se,Pe=function(t,e){this.type="Logical",this.width=t,this.height=e},ze=function(){function t(t,e){this.type="Physical",this.width=t,this.height=e}return t.prototype.toLogical=function(t){return new Pe(this.width/t,this.height/t)},t}(),Ee=function(t,e){this.type="Logical",this.x=t,this.y=e},Le=function(){function t(t,e){this.type="Physical",this.x=t,this.y=e}return t.prototype.toLogical=function(t){return new Ee(this.x/t,this.y/t)},t}();function Ae(){return window.__TAURI__.__windows.map((function(t){return new De(t.label,{skip:!0})}))}!function(t){t[t.Critical=1]="Critical",t[t.Informational=2]="Informational"}(Se||(Se={}));var We=["tauri://created","tauri://error"],je=function(){function t(t){this.label=null!=t?t:window.__TAURI__.__currentWindow.label,this.listeners=Object.create(null)}return t.prototype.listen=function(t,e){return kt(this,void 0,void 0,(function(){var n=this;return Ct(this,(function(i){return this._handleTauriEvent(t,e)?[2,Promise.resolve((function(){var i=n.listeners[t];i.splice(i.indexOf(e),1)}))]:[2,Yt(t,e)]}))}))},t.prototype.once=function(t,e){return kt(this,void 0,void 0,(function(){var n=this;return Ct(this,(function(i){return this._handleTauriEvent(t,e)?[2,Promise.resolve((function(){var i=n.listeners[t];i.splice(i.indexOf(e),1)}))]:[2,Qt(t,e)]}))}))},t.prototype.emit=function(t,e){return kt(this,void 0,void 0,(function(){var n,i;return Ct(this,(function(o){if(We.includes(t)){for(n=0,i=this.listeners[t]||[];ne[31].call(o))),m(M,"type","checkbox"),m(T,"type","checkbox"),m(P,"title","Unminimizes after 2 seconds"),m(E,"title","Unminimizes after 2 seconds"),m(A,"title","Visible again after 2 seconds"),m(D,"type","checkbox"),m(N,"type","checkbox"),m(B,"type","checkbox"),m(X,"type","checkbox"),m(ut,"type","number"),m(ut,"min","0"),m(ut,"class","svelte-12ggtr4"),m(lt,"type","number"),m(lt,"min","0"),m(lt,"class","svelte-12ggtr4"),m(it,"class","flex col grow svelte-12ggtr4"),m(gt,"type","number"),m(gt,"min","400"),m(gt,"class","svelte-12ggtr4"),m(bt,"type","number"),m(bt,"min","400"),m(bt,"class","svelte-12ggtr4"),m(ht,"class","flex col grow svelte-12ggtr4"),m(kt,"type","number"),m(kt,"class","svelte-12ggtr4"),m(Ot,"type","number"),m(Ot,"class","svelte-12ggtr4"),m(_t,"class","flex col grow svelte-12ggtr4"),m(Lt,"type","number"),m(Lt,"min","400"),m(Lt,"class","svelte-12ggtr4"),m(Ft,"type","number"),m(Ft,"min","400"),m(Ft,"class","svelte-12ggtr4"),m(Pt,"class","flex col grow svelte-12ggtr4"),m(nt,"class","window-controls flex flex-row svelte-12ggtr4"),m(n,"class","flex col"),m(Kt,"class","svelte-12ggtr4"),m(Vt,"class","svelte-12ggtr4"),m(Ut,"class","grow window-property svelte-12ggtr4"),m(ee,"class","svelte-12ggtr4"),m(re,"class","svelte-12ggtr4"),m(Qt,"class","grow window-property svelte-12ggtr4"),m(It,"class","flex"),m(fe,"class","svelte-12ggtr4"),m(ve,"class","svelte-12ggtr4"),m(le,"class","grow window-property svelte-12ggtr4"),m(ke,"class","svelte-12ggtr4"),m(Oe,"class","svelte-12ggtr4"),m(_e,"class","grow window-property svelte-12ggtr4"),m(ce,"class","flex"),m(je,"class","svelte-12ggtr4"),m(Ne,"class","svelte-12ggtr4"),m(Le,"class","grow window-property svelte-12ggtr4"),m(Je,"class","svelte-12ggtr4"),m(Ze,"class","svelte-12ggtr4"),m(Be,"class","grow window-property svelte-12ggtr4"),m(Ee,"class","flex"),m(an,"class","svelte-12ggtr4"),m(hn,"class","svelte-12ggtr4"),m(rn,"class","grow window-property svelte-12ggtr4"),m(bn,"class","svelte-12ggtr4"),m(Mn,"class","svelte-12ggtr4"),m(mn,"class","grow window-property svelte-12ggtr4"),m(on,"class","flex"),m(On,"id","title"),m(Pn,"class","button"),m(Pn,"type","submit"),w(Tn,"margin-top","24px"),m(Ln,"id","url"),m(Wn,"class","button"),m(Wn,"id","open-url"),w(En,"margin-top","24px"),m(Fn,"class","button"),m(Fn,"title","Minimizes the window, requests attention for 3s and then resets it"),m(Rn,"class","button")},m(t,i){a(t,n,i),s(n,o);for(let t=0;t{n(20,O=t),n(7,g=O.width),n(8,m=O.height)})),o[i].outerSize().then((t=>{n(21,S=t)}))}function E(){o[i].innerPosition().then((t=>{n(18,$=t)})),o[i].outerPosition().then((t=>{n(19,T=t),n(13,M=T.x),n(14,k=T.y)}))}return t.$$set=t=>{"onMessage"in t&&n(30,s=t.onMessage)},t.$$.update=()=>{7&t.$$.dirty[0]&&o[i].setResizable(c),11&t.$$.dirty[0]&&(l?o[i].maximize():o[i].unmaximize()),19&t.$$.dirty[0]&&o[i].setDecorations(h),35&t.$$.dirty[0]&&o[i].setAlwaysOnTop(f),67&t.$$.dirty[0]&&o[i].setFullscreen(p),387&t.$$.dirty[0]&&o[i].setSize(new Pe(g,m)),1539&t.$$.dirty[0]&&(y&&b?o[i].setMinSize(new Pe(y,b)):o[i].setMinSize(null)),6147&t.$$.dirty[0]&&(w&&_?o[i].setMaxSize(new Pe(w,_)):o[i].setMaxSize(null)),24579&t.$$.dirty[0]&&o[i].setPosition(new Ee(M,k)),3&t.$$.dirty[0]&&o[i].scaleFactor().then((t=>n(17,C=t))),3&t.$$.dirty[0]&&function(t){r&&r(),u&&u(),u=t.listen("tauri://move",E),r=t.listen("tauri://resize",z)}(o[i])},[i,o,c,l,h,f,p,g,m,y,b,w,_,M,k,a,d,C,$,T,O,S,P,function(){jt(a)},function(){o[i].setTitle(P)},function(){o[i].hide(),setTimeout(o[i].show,2e3)},function(){o[i].minimize(),setTimeout(o[i].unminimize,2e3)},function(){ie({multiple:!1}).then(o[i].setIcon)},function(){const t=Math.random().toString(),e=new De(t);n(1,o[t]=e,o),e.once("tauri://error",(function(){s("Error creating new webview")}))},async function(){await o[i].minimize(),await o[i].requestUserAttention(Se.Critical),await new Promise((t=>setTimeout(t,3e3))),await o[i].requestUserAttention(null)},s,function(){i=x(this),n(0,i),n(1,o)},function(){c=this.checked,n(2,c)},function(){l=this.checked,n(3,l)},()=>o[i].center(),function(){d=this.checked,n(16,d)},function(){h=this.checked,n(4,h)},function(){f=this.checked,n(5,f)},function(){p=this.checked,n(6,p)},function(){M=v(this.value),n(13,M)},function(){k=v(this.value),n(14,k)},function(){g=v(this.value),n(7,g)},function(){m=v(this.value),n(8,m)},function(){y=v(this.value),n(9,y)},function(){b=v(this.value),n(10,b)},function(){w=v(this.value),n(11,w)},function(){_=v(this.value),n(12,_)},function(){P=this.value,n(22,P)},function(){a=this.value,n(15,a)}]}Object.freeze({__proto__:null,WebviewWindow:De,WebviewWindowHandle:je,WindowManager:Fe,getCurrent:function(){return new De(window.__TAURI__.__currentWindow.label,{skip:!0})},getAll:Ae,appWindow:Re,LogicalSize:Pe,PhysicalSize:ze,LogicalPosition:Ee,PhysicalPosition:Le,get UserAttentionType(){return Se},currentMonitor:function(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"currentMonitor"}}}})]}))}))},primaryMonitor:function(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"primaryMonitor"}}}})]}))}))},availableMonitors:function(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"availableMonitors"}}}})]}))}))}});class Ke extends J{constructor(t){var e;super(),document.getElementById("svelte-12ggtr4-style")||((e=d("style")).id="svelte-12ggtr4-style",e.textContent=".flex-row.svelte-12ggtr4.svelte-12ggtr4{flex-direction:row}.grow.svelte-12ggtr4.svelte-12ggtr4{flex-grow:1}.window-controls.svelte-12ggtr4 input.svelte-12ggtr4{width:50px}.window-property.svelte-12ggtr4.svelte-12ggtr4{margin-top:12px}.window-property.svelte-12ggtr4 span.svelte-12ggtr4{font-size:0.8rem}",s(document.head,e)),V(this,t,qe,Ne,r,{onMessage:30},[-1,-1])}}function He(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"GlobalShortcut",message:{cmd:"register",shortcut:t,handler:$t(e)}})]}))}))}function Be(t){return kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return[2,St({__tauriModule:"GlobalShortcut",message:{cmd:"unregister",shortcut:t}})]}))}))}function Ge(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"GlobalShortcut",message:{cmd:"unregisterAll"}})]}))}))}function Ve(t,e,n){const i=t.slice();return i[9]=e[n],i}function Je(t){let e,n,i,o,r,u,l=t[9]+"";function g(){return t[8](t[9])}return{c(){e=d("div"),n=h(l),i=f(),o=d("button"),o.textContent="Unregister",m(o,"type","button")},m(t,c){a(t,e,c),s(e,n),s(e,i),s(e,o),r||(u=p(o,"click",g),r=!0)},p(e,i){t=e,2&i&&l!==(l=t[9]+"")&&y(n,l)},d(t){t&&c(e),r=!1,u()}}}function Xe(e){let n,i,o;return{c(){n=d("button"),n.textContent="Unregister all",m(n,"type","button")},m(t,r){a(t,n,r),i||(o=p(n,"click",e[5]),i=!0)},p:t,d(t){t&&c(n),i=!1,o()}}}function Ye(e){let n,o,r,u,h,g,v,y,w,_,x=e[1],M=[];for(let t=0;tn(1,i=t)));let s="CmdOrControl+X";function a(t){const e=t;Be(e).then((()=>{r.update((t=>t.filter((t=>t!==e)))),o(`Shortcut ${e} unregistered`)})).catch(o)}return t.$$set=t=>{"onMessage"in t&&n(6,o=t.onMessage)},[s,i,r,function(){const t=s;He(t,(()=>{o(`Shortcut ${t} triggered`)})).then((()=>{r.update((e=>[...e,t])),o(`Shortcut ${t} registered successfully`)})).catch(o)},a,function(){Ge().then((()=>{r.update((()=>[])),o("Unregistered all shortcuts")})).catch(o)},o,function(){s=this.value,n(0,s)},t=>a(t)]}Object.freeze({__proto__:null,register:He,registerAll:function(t,e){return kt(this,void 0,void 0,(function(){return Ct(this,(function(n){return[2,St({__tauriModule:"GlobalShortcut",message:{cmd:"registerAll",shortcuts:t,handler:$t(e)}})]}))}))},isRegistered:function(t){return kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return[2,St({__tauriModule:"GlobalShortcut",message:{cmd:"isRegistered",shortcut:t}})]}))}))},unregister:Be,unregisterAll:Ge});class Ze extends J{constructor(t){super(),V(this,t,Qe,Ye,r,{onMessage:6})}}function tn(t){let e,n,o,r,u;return{c(){e=d("input"),n=f(),o=d("button"),o.textContent="Write",m(e,"placeholder","write to stdin"),m(o,"class","button")},m(i,s){a(i,e,s),b(e,t[3]),a(i,n,s),a(i,o,s),r||(u=[p(e,"input",t[10]),p(o,"click",t[7])],r=!0)},p(t,n){8&n&&e.value!==t[3]&&b(e,t[3])},d(t){t&&c(e),t&&c(n),t&&c(o),r=!1,i(u)}}}function en(e){let n,o,r,u,l,h,g,v,y,_,x,M,k,C,$,T=e[4]&&tn(e);return{c(){n=d("div"),o=d("div"),r=d("input"),u=f(),l=d("button"),l.textContent="Run",h=f(),g=d("button"),g.textContent="Kill",v=f(),T&&T.c(),y=f(),_=d("div"),x=d("input"),M=f(),k=d("input"),m(l,"class","button"),m(g,"class","button"),m(x,"placeholder","Working directory"),m(k,"placeholder","Environment variables"),w(k,"width","300px")},m(t,i){a(t,n,i),s(n,o),s(o,r),b(r,e[0]),s(o,u),s(o,l),s(o,h),s(o,g),s(o,v),T&&T.m(o,null),s(n,y),s(n,_),s(_,x),b(x,e[1]),s(_,M),s(_,k),b(k,e[2]),C||($=[p(r,"input",e[9]),p(l,"click",e[5]),p(g,"click",e[6]),p(x,"input",e[11]),p(k,"input",e[12])],C=!0)},p(t,[e]){1&e&&r.value!==t[0]&&b(r,t[0]),t[4]?T?T.p(t,e):(T=tn(t),T.c(),T.m(o,null)):T&&(T.d(1),T=null),2&e&&x.value!==t[1]&&b(x,t[1]),4&e&&k.value!==t[2]&&b(k,t[2])},i:t,o:t,d(t){t&&c(n),T&&T.d(),C=!1,i($)}}}function nn(t,e,n){const i=navigator.userAgent.includes("Windows");let o,r=i?"cmd":"sh",u=i?["/C"]:["-c"],{onMessage:s}=e,a='echo "hello world"',c=null,l="SOMETHING=value ANOTHER=2",d="";return t.$$set=t=>{"onMessage"in t&&n(8,s=t.onMessage)},[a,c,l,d,o,function(){n(4,o=null);const t=new Wt(r,[...u,a],{cwd:c||null,env:l.split(" ").reduce(((t,e)=>{let[n,i]=e.split("=");return{...t,[n]:i}}),{})});t.on("close",(t=>{s(`command finished with code ${t.code} and signal ${t.signal}`),n(4,o=null)})),t.on("error",(t=>s(`command error: "${t}"`))),t.stdout.on("data",(t=>s(`command stdout: "${t}"`))),t.stderr.on("data",(t=>s(`command stderr: "${t}"`))),t.spawn().then((t=>{n(4,o=t)})).catch(s)},function(){o.kill().then((()=>s("killed child process"))).catch(s)},function(){o.write(d).catch(s)},s,function(){a=this.value,n(0,a)},function(){d=this.value,n(3,d)},function(){c=this.value,n(1,c)},function(){l=this.value,n(2,l)}]}class on extends J{constructor(t){super(),V(this,t,nn,en,r,{onMessage:8})}}function rn(){return kt(this,void 0,void 0,(function(){function t(){e&&e(),e=void 0}var e;return Ct(this,(function(n){return[2,new Promise((function(n,i){Yt("tauri://update-status",(function(e){var o;(o=null==e?void 0:e.payload).error?(t(),i(o.error)):"DONE"===o.status&&(t(),n())})).then((function(t){e=t})).catch((function(e){throw t(),e})),Zt("tauri://update-install").catch((function(e){throw t(),e}))}))]}))}))}function un(){return kt(this,void 0,void 0,(function(){function t(){e&&e(),e=void 0}var e;return Ct(this,(function(n){return[2,new Promise((function(n,i){Qt("tauri://update-available",(function(e){var i;i=null==e?void 0:e.payload,t(),n({manifest:i,shouldUpdate:!0})})).catch((function(e){throw t(),e})),Yt("tauri://update-status",(function(e){var o;(o=null==e?void 0:e.payload).error?(t(),i(o.error)):"UPTODATE"===o.status&&(t(),n({shouldUpdate:!1}))})).then((function(t){e=t})).catch((function(e){throw t(),e})),Zt("tauri://update").catch((function(e){throw t(),e}))}))]}))}))}function sn(e){let n,o,r,u,l,h;return{c(){n=d("div"),o=d("button"),o.textContent="Check update",r=f(),u=d("button"),u.textContent="Install update",m(o,"class","button"),m(o,"id","check_update"),m(u,"class","button hidden"),m(u,"id","start_update")},m(t,i){a(t,n,i),s(n,o),s(n,r),s(n,u),l||(h=[p(o,"click",e[0]),p(u,"click",e[1])],l=!0)},p:t,i:t,o:t,d(t){t&&c(n),l=!1,i(h)}}}function an(t,e,n){let i,{onMessage:o}=e;return T((async()=>{i=await Yt("tauri://update-status",o)})),O((()=>{i&&i()})),t.$$set=t=>{"onMessage"in t&&n(2,o=t.onMessage)},[async function(){try{document.getElementById("check_update").classList.add("hidden");const{shouldUpdate:t,manifest:e}=await un();o(`Should update: ${t}`),o(e),t&&document.getElementById("start_update").classList.remove("hidden")}catch(t){o(t)}},async function(){try{document.getElementById("start_update").classList.add("hidden"),await rn(),o("Installation complete, restart required."),await Ut()}catch(t){o(t)}},o]}Object.freeze({__proto__:null,installUpdate:rn,checkUpdate:un});class cn extends J{constructor(t){super(),V(this,t,an,sn,r,{onMessage:2})}}function ln(t){return kt(this,void 0,void 0,(function(){return Ct(this,(function(e){return[2,St({__tauriModule:"Clipboard",message:{cmd:"writeText",data:t}})]}))}))}function dn(){return kt(this,void 0,void 0,(function(){return Ct(this,(function(t){return[2,St({__tauriModule:"Clipboard",message:{cmd:"readText"}})]}))}))}function hn(e){let n,o,r,u,l,h,g,v,y;return{c(){n=d("div"),o=d("div"),r=d("input"),u=f(),l=d("button"),l.textContent="Write",h=f(),g=d("button"),g.textContent="Read",m(r,"placeholder","Text to write to the clipboard"),m(l,"type","button"),m(g,"type","button")},m(t,i){a(t,n,i),s(n,o),s(o,r),b(r,e[0]),s(o,u),s(o,l),s(n,h),s(n,g),v||(y=[p(r,"input",e[4]),p(l,"click",e[1]),p(g,"click",e[2])],v=!0)},p(t,[e]){1&e&&r.value!==t[0]&&b(r,t[0])},i:t,o:t,d(t){t&&c(n),v=!1,i(y)}}}function fn(t,e,n){let{onMessage:i}=e,o="clipboard message";return t.$$set=t=>{"onMessage"in t&&n(3,i=t.onMessage)},[o,function(){ln(o).then((()=>{i("Wrote to the clipboard")})).catch(i)},function(){dn().then((t=>{i(`Clipboard contents: ${t}`)})).catch(i)},i,function(){o=this.value,n(0,o)}]}Object.freeze({__proto__:null,writeText:ln,readText:dn});class pn extends J{constructor(t){super(),V(this,t,fn,hn,r,{onMessage:3})}}function gn(e){let n;return{c(){n=d("div"),n.innerHTML='

    Not available for Linux

    \n '},m(t,e){a(t,n,e)},p:t,i:t,o:t,d(t){t&&c(n)}}}function mn(t,e,n){let{onMessage:i}=e;const o=window.constraints={audio:!0,video:!0};return T((async()=>{try{!function(t){const e=document.querySelector("video"),n=t.getVideoTracks();i("Got stream with constraints:",o),i(`Using video device: ${n[0].label}`),window.stream=t,e.srcObject=t}(await navigator.mediaDevices.getUserMedia(o))}catch(t){!function(t){if("ConstraintNotSatisfiedError"===t.name){const t=o.video;i(`The resolution ${t.width.exact}x${t.height.exact} px is not supported by your device.`)}else"PermissionDeniedError"===t.name&&i("Permissions have not been granted to use your camera and microphone, you need to allow the page access to your devices in order for the demo to work.");i(`getUserMedia error: ${t.name}`,t)}(t)}})),O((()=>{window.stream.getTracks().forEach((function(t){t.stop()}))})),t.$$set=t=>{"onMessage"in t&&n(0,i=t.onMessage)},[i]}class vn extends J{constructor(t){super(),V(this,t,mn,gn,r,{onMessage:0})}}function yn(e){let n,o,r,u,l,g,v,w,_,x,M,k;return{c(){n=d("input"),o=f(),r=d("input"),u=f(),l=d("button"),l.textContent="Post it.",g=f(),v=d("p"),v.textContent="Result:",w=f(),_=d("pre"),x=h(e[2]),m(l,"type","button")},m(t,i){a(t,n,i),b(n,e[0]),a(t,o,i),a(t,r,i),b(r,e[1]),a(t,u,i),a(t,l,i),a(t,g,i),a(t,v,i),a(t,w,i),a(t,_,i),s(_,x),M||(k=[p(n,"input",e[4]),p(r,"input",e[5]),p(l,"click",e[3])],M=!0)},p(t,[e]){1&e&&n.value!==t[0]&&b(n,t[0]),2&e&&r.value!==t[1]&&b(r,t[1]),4&e&&y(x,t[2])},i:t,o:t,d(t){t&&c(n),t&&c(o),t&&c(r),t&&c(u),t&&c(l),t&&c(g),t&&c(v),t&&c(w),t&&c(_),M=!1,i(k)}}}function bn(t,e,n){let i="baz",o="qux",r=null;return[i,o,r,async function(){let t=navigator.userAgent.includes("Windows")?"https://customprotocol.test/example.html":"customprotocol://test/example.html";const e=await fetch(t,{method:"POST",body:JSON.stringify({foo:i,bar:o})}),u=await e.json();n(2,r=JSON.stringify(u))},function(){i=this.value,n(0,i)},function(){o=this.value,n(1,o)}]}class wn extends J{constructor(t){super(),V(this,t,bn,yn,r,{})}}function _n(t,e,n){const i=t.slice();return i[9]=e[n],i}function xn(t){let e,n,i,o,r,u,l=t[9].label+"";function g(){return t[7](t[9])}return{c(){e=d("p"),n=h(l),i=f(),m(e,"class",o="nv noselect "+(t[0]===t[9]?"nv_selected":""))},m(t,o){a(t,e,o),s(e,n),s(e,i),r||(u=p(e,"click",g),r=!0)},p(n,i){t=n,1&i&&o!==(o="nv noselect "+(t[0]===t[9]?"nv_selected":""))&&m(e,"class",o)},d(t){t&&c(e),r=!1,u()}}}function Mn(t){let e,n,o,r,u,h,g,v,y,b,_,x,k,C,$,T,O,S,P,z,E,L,A,W=t[2],j=[];for(let e=0;eDocumentation \n Github \n Source',g=f(),v=d("div"),y=d("div");for(let t=0;t{B(t,1)})),U.r||i(U.c),U=U.p}F?(x=new F(D(t)),K(x.$$.fragment),N(x.$$.fragment,1),H(x,_,null)):x=null}(!E||2&e)&&z.p(t[1])},i(t){E||(x&&N(x.$$.fragment,t),E=!0)},o(t){x&&q(x.$$.fragment,t),E=!1},d(t){t&&c(e),l(j,t),x&&B(x),L=!1,i(A)}}}function kn(t,e,n){T((()=>{vt("ctrl+b",(()=>{Tt("menu_toggle")}))}));const i=[{label:"Welcome",component:Kt},{label:"Messages",component:ne},{label:"CLI",component:Vt},{label:"Dialog",component:le},{label:"File system",component:me},{label:"HTTP",component:ke},{label:"HTTP Form",component:wn},{label:"Notifications",component:Oe},{label:"Window",component:Ke},{label:"Shortcuts",component:Ze},{label:"Shell",component:on},{label:"Updater",component:cn},{label:"Clipboard",component:pn},{label:"WebRTC",component:vn}];let o=i[0],r=Y([]),u="";function s(t){n(0,o=t)}T((()=>{r.subscribe((t=>{n(1,u=t.join("\n"))}))}));return[o,u,i,r,s,function(t){r.update((e=>[`[${(new Date).toLocaleTimeString()}]: `+("string"==typeof t?t:JSON.stringify(t)),...e]))},function(){jt("https://tauri.studio/")},t=>s(t),()=>{r.update((()=>[]))}]}return new class extends J{constructor(t){super(),V(this,t,kn,Mn,r,{})}}({target:document.body})}(); //# sourceMappingURL=bundle.js.map diff --git a/examples/api/public/build/bundle.js.map b/examples/api/public/build/bundle.js.map index 5682d083e..a63f25a60 100644 --- a/examples/api/public/build/bundle.js.map +++ b/examples/api/public/build/bundle.js.map @@ -1 +1 @@ -{"version":3,"file":"bundle.js","sources":["../../node_modules/svelte/internal/index.mjs","../../node_modules/svelte/store/index.mjs","../../node_modules/hotkeys-js/dist/hotkeys.esm.js","../../../../tooling/api/dist/tauri-3147d768.js","../../../../tooling/api/dist/tauri-fe7c6694.js","../../../../tooling/api/dist/shell-9c83a2e9.js","../../../../tooling/api/dist/fs-bdf2e640.js","../../../../tooling/api/dist/http-46ccd227.js","../../../../tooling/api/dist/app-36904f40.js","../../../../tooling/api/dist/process-20c422b7.js","../../src/components/Welcome.svelte","../../../../tooling/api/dist/cli-4e1201fc.js","../../src/components/Cli.svelte","../../../../tooling/api/dist/event-92cbfbb1.js","../../src/components/Communication.svelte","../../../../tooling/api/dist/dialog-331a812c.js","../../src/components/Dialog.svelte","../../src/components/FileSystem.svelte","../../src/components/Http.svelte","../../src/components/Notifications.svelte","../../../../tooling/api/dist/window-e451b8a9.js","../../src/components/Window.svelte","../../../../tooling/api/dist/globalShortcut-4618f68b.js","../../src/components/Shortcuts.svelte","../../src/components/Shell.svelte","../../../../tooling/api/dist/updater-f0fc0128.js","../../src/components/Updater.svelte","../../../../tooling/api/dist/clipboard-b850e539.js","../../src/components/Clipboard.svelte","../../src/components/WebRTC.svelte","../../src/components/HttpForm.svelte","../../src/App.svelte","../../src/main.js"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot_spread(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_spread_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_spread_changes_fn(dirty) | get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value = ret) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction claim_element(nodes, name, attributes, svg) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeName === name) {\n let j = 0;\n const remove = [];\n while (j < node.attributes.length) {\n const attribute = node.attributes[j++];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n for (let k = 0; k < remove.length; k++) {\n node.removeAttribute(remove[k]);\n }\n return nodes.splice(i, 1)[0];\n }\n }\n return svg ? svg_element(name) : element(name);\n}\nfunction claim_text(nodes, data) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 3) {\n node.data = '' + data;\n return nodes.splice(i, 1)[0];\n }\n }\n return text(data);\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n node.style.setProperty(key, value, important ? 'important' : '');\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, false, false, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor(anchor = null) {\n this.a = anchor;\n this.e = this.n = null;\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n this.e = element(target.nodeName);\n this.t = target;\n this.h(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\n\nconst active_docs = new Set();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = node.ownerDocument;\n active_docs.add(doc);\n const stylesheet = doc.__svelte_stylesheet || (doc.__svelte_stylesheet = doc.head.appendChild(element('style')).sheet);\n const current_rules = doc.__svelte_rules || (doc.__svelte_rules = {});\n if (!current_rules[name]) {\n current_rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n active_docs.forEach(doc => {\n const stylesheet = doc.__svelte_stylesheet;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n doc.__svelte_rules = {};\n });\n active_docs.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail);\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n }\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n callbacks.slice().forEach(fn => fn(event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\nlet flushing = false;\nconst seen_callbacks = new Set();\nfunction flush() {\n if (flushing)\n return;\n flushing = true;\n do {\n // first, call beforeUpdate functions\n // and update components\n for (let i = 0; i < dirty_components.length; i += 1) {\n const component = dirty_components[i];\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n flushing = false;\n seen_callbacks.clear();\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = program.b - t;\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, classes_to_add) {\n const attributes = Object.assign({}, ...args);\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${String(value).replace(/\"/g, '"').replace(/'/g, ''')}\"`;\n }\n });\n return str;\n}\nconst escaped = {\n '\"': '"',\n \"'\": ''',\n '&': '&',\n '<': '<',\n '>': '>'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(parent_component ? parent_component.$$.context : []),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, options = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, options);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n return ` ${name}${value === true ? '' : `=${typeof value === 'string' ? JSON.stringify(escape(value)) : `\"${value}\"`}`}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(parent_component ? parent_component.$$.context : []),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false\n };\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.35.0' }, detail)));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * \n * \n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to seperate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_transform, afterUpdate, append, append_dev, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_space, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, escape, escaped, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getContext, get_binding_group_value, get_current_component, get_custom_elements_slots, get_slot_changes, get_slot_context, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, identity, init, insert, insert_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, listen, listen_dev, loop, loop_guard, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, update_keyed_each, update_slot, update_slot_spread, validate_component, validate_each_argument, validate_each_keys, validate_slots, validate_store, xlink_attr };\n","import { noop, safe_not_equal, subscribe, run_all, is_function } from '../internal/index.mjs';\nexport { get_store_value as get } from '../internal/index.mjs';\n\nconst subscriber_queue = [];\n/**\n * Creates a `Readable` store that allows reading by subscription.\n * @param value initial value\n * @param {StartStopNotifier}start start and stop notifications for subscriptions\n */\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe\n };\n}\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n * @param {*=}value initial value\n * @param {StartStopNotifier=}start start and stop notifications for subscriptions\n */\nfunction writable(value, start = noop) {\n let stop;\n const subscribers = [];\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) { // store is ready\n const run_queue = !subscriber_queue.length;\n for (let i = 0; i < subscribers.length; i += 1) {\n const s = subscribers[i];\n s[1]();\n subscriber_queue.push(s, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(value));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.push(subscriber);\n if (subscribers.length === 1) {\n stop = start(set) || noop;\n }\n run(value);\n return () => {\n const index = subscribers.indexOf(subscriber);\n if (index !== -1) {\n subscribers.splice(index, 1);\n }\n if (subscribers.length === 0) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction derived(stores, fn, initial_value) {\n const single = !Array.isArray(stores);\n const stores_array = single\n ? [stores]\n : stores;\n const auto = fn.length < 2;\n return readable(initial_value, (set) => {\n let inited = false;\n const values = [];\n let pending = 0;\n let cleanup = noop;\n const sync = () => {\n if (pending) {\n return;\n }\n cleanup();\n const result = fn(single ? values[0] : values, set);\n if (auto) {\n set(result);\n }\n else {\n cleanup = is_function(result) ? result : noop;\n }\n };\n const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {\n values[i] = value;\n pending &= ~(1 << i);\n if (inited) {\n sync();\n }\n }, () => {\n pending |= (1 << i);\n }));\n inited = true;\n sync();\n return function stop() {\n run_all(unsubscribers);\n cleanup();\n };\n });\n}\n\nexport { derived, readable, writable };\n","/*!\n * hotkeys-js v3.8.5\n * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.\n * \n * Copyright (c) 2021 kenny wong \n * http://jaywcjlove.github.io/hotkeys\n * \n * Licensed under the MIT license.\n */\n\nvar isff = typeof navigator !== 'undefined' ? navigator.userAgent.toLowerCase().indexOf('firefox') > 0 : false; // 绑定事件\n\nfunction addEvent(object, event, method) {\n if (object.addEventListener) {\n object.addEventListener(event, method, false);\n } else if (object.attachEvent) {\n object.attachEvent(\"on\".concat(event), function () {\n method(window.event);\n });\n }\n} // 修饰键转换成对应的键码\n\n\nfunction getMods(modifier, key) {\n var mods = key.slice(0, key.length - 1);\n\n for (var i = 0; i < mods.length; i++) {\n mods[i] = modifier[mods[i].toLowerCase()];\n }\n\n return mods;\n} // 处理传的key字符串转换成数组\n\n\nfunction getKeys(key) {\n if (typeof key !== 'string') key = '';\n key = key.replace(/\\s/g, ''); // 匹配任何空白字符,包括空格、制表符、换页符等等\n\n var keys = key.split(','); // 同时设置多个快捷键,以','分割\n\n var index = keys.lastIndexOf(''); // 快捷键可能包含',',需特殊处理\n\n for (; index >= 0;) {\n keys[index - 1] += ',';\n keys.splice(index, 1);\n index = keys.lastIndexOf('');\n }\n\n return keys;\n} // 比较修饰键的数组\n\n\nfunction compareArray(a1, a2) {\n var arr1 = a1.length >= a2.length ? a1 : a2;\n var arr2 = a1.length >= a2.length ? a2 : a1;\n var isIndex = true;\n\n for (var i = 0; i < arr1.length; i++) {\n if (arr2.indexOf(arr1[i]) === -1) isIndex = false;\n }\n\n return isIndex;\n}\n\nvar _keyMap = {\n backspace: 8,\n tab: 9,\n clear: 12,\n enter: 13,\n return: 13,\n esc: 27,\n escape: 27,\n space: 32,\n left: 37,\n up: 38,\n right: 39,\n down: 40,\n del: 46,\n delete: 46,\n ins: 45,\n insert: 45,\n home: 36,\n end: 35,\n pageup: 33,\n pagedown: 34,\n capslock: 20,\n num_0: 96,\n num_1: 97,\n num_2: 98,\n num_3: 99,\n num_4: 100,\n num_5: 101,\n num_6: 102,\n num_7: 103,\n num_8: 104,\n num_9: 105,\n num_multiply: 106,\n num_add: 107,\n num_enter: 108,\n num_subtract: 109,\n num_decimal: 110,\n num_divide: 111,\n '⇪': 20,\n ',': 188,\n '.': 190,\n '/': 191,\n '`': 192,\n '-': isff ? 173 : 189,\n '=': isff ? 61 : 187,\n ';': isff ? 59 : 186,\n '\\'': 222,\n '[': 219,\n ']': 221,\n '\\\\': 220\n}; // Modifier Keys\n\nvar _modifier = {\n // shiftKey\n '⇧': 16,\n shift: 16,\n // altKey\n '⌥': 18,\n alt: 18,\n option: 18,\n // ctrlKey\n '⌃': 17,\n ctrl: 17,\n control: 17,\n // metaKey\n '⌘': 91,\n cmd: 91,\n command: 91\n};\nvar modifierMap = {\n 16: 'shiftKey',\n 18: 'altKey',\n 17: 'ctrlKey',\n 91: 'metaKey',\n shiftKey: 16,\n ctrlKey: 17,\n altKey: 18,\n metaKey: 91\n};\nvar _mods = {\n 16: false,\n 18: false,\n 17: false,\n 91: false\n};\nvar _handlers = {}; // F1~F12 special key\n\nfor (var k = 1; k < 20; k++) {\n _keyMap[\"f\".concat(k)] = 111 + k;\n}\n\nvar _downKeys = []; // 记录摁下的绑定键\n\nvar _scope = 'all'; // 默认热键范围\n\nvar elementHasBindEvent = []; // 已绑定事件的节点记录\n// 返回键码\n\nvar code = function code(x) {\n return _keyMap[x.toLowerCase()] || _modifier[x.toLowerCase()] || x.toUpperCase().charCodeAt(0);\n}; // 设置获取当前范围(默认为'所有')\n\n\nfunction setScope(scope) {\n _scope = scope || 'all';\n} // 获取当前范围\n\n\nfunction getScope() {\n return _scope || 'all';\n} // 获取摁下绑定键的键值\n\n\nfunction getPressedKeyCodes() {\n return _downKeys.slice(0);\n} // 表单控件控件判断 返回 Boolean\n// hotkey is effective only when filter return true\n\n\nfunction filter(event) {\n var target = event.target || event.srcElement;\n var tagName = target.tagName;\n var flag = true; // ignore: isContentEditable === 'true', and '\n );\n setTimeout(() => {\n const fileInput = document.getElementById(\"file-response\");\n fileInput.value = value;\n document\n .getElementById(\"file-save\")\n .addEventListener(\"click\", function () {\n writeFile(\n {\n file: pathToRead,\n contents: fileInput.value,\n },\n {\n dir: getDir(),\n }\n ).catch(onMessage);\n });\n });\n }\n } else {\n onMessage(response);\n }\n })\n .catch(onMessage);\n }\n\n function setSrc() {\n img.src = convertFileSrc(pathToRead)\n }\n\n\n
    \n \n \n \n \n\n \"file\"\n\n","\n\n
    \n \n \n
    \n \n \n\n","\n\n\n","import{d as t,_ as e,a as i,b as n}from\"./tauri-3147d768.js\";import{i as o}from\"./tauri-fe7c6694.js\";import{l as r,o as a,b as u}from\"./event-92cbfbb1.js\";var s,d=function(t,e){this.type=\"Logical\",this.width=t,this.height=e},l=function(){function t(t,e){this.type=\"Physical\",this.width=t,this.height=e}return t.prototype.toLogical=function(t){return new d(this.width/t,this.height/t)},t}(),c=function(t,e){this.type=\"Logical\",this.x=t,this.y=e},h=function(){function t(t,e){this.type=\"Physical\",this.x=t,this.y=e}return t.prototype.toLogical=function(t){return new c(this.x/t,this.y/t)},t}();function m(){return new v(window.__TAURI__.__currentWindow.label,{skip:!0})}function p(){return window.__TAURI__.__windows.map((function(t){return new v(t.label,{skip:!0})}))}!function(t){t[t.Critical=1]=\"Critical\",t[t.Informational=2]=\"Informational\"}(s||(s={}));var f=[\"tauri://created\",\"tauri://error\"],y=function(){function t(t){this.label=t,this.listeners=Object.create(null)}return t.prototype.listen=function(t,n){return e(this,void 0,void 0,(function(){var e=this;return i(this,(function(i){return this._handleTauriEvent(t,n)?[2,Promise.resolve((function(){var i=e.listeners[t];i.splice(i.indexOf(n),1)}))]:[2,r(t,n)]}))}))},t.prototype.once=function(t,n){return e(this,void 0,void 0,(function(){var e=this;return i(this,(function(i){return this._handleTauriEvent(t,n)?[2,Promise.resolve((function(){var i=e.listeners[t];i.splice(i.indexOf(n),1)}))]:[2,a(t,n)]}))}))},t.prototype.emit=function(t,n){return e(this,void 0,void 0,(function(){var e,o;return i(this,(function(i){if(f.includes(t)){for(e=0,o=this.listeners[t]||[];e\n import { appWindow, WebviewWindow, LogicalSize, LogicalPosition, UserAttentionType, getCurrent, PhysicalSize, PhysicalPosition } from \"@tauri-apps/api/window\";\n import { open as openDialog } from \"@tauri-apps/api/dialog\";\n import { open } from \"@tauri-apps/api/shell\";\n\n window.UserAttentionType = UserAttentionType;\n let selectedWindow = getCurrent().label;\n const windowMap = {\n [selectedWindow]: appWindow\n }\n\n export let onMessage;\n\n let urlValue = \"https://tauri.studio\";\n let resizable = true;\n let maximized = false;\n let transparent = false;\n let decorations = true;\n let alwaysOnTop = false;\n let fullscreen = false;\n let width = 900;\n let height = 700;\n let minWidth = 600;\n let minHeight = 600;\n let maxWidth = null;\n let maxHeight = null;\n let x = 100;\n let y = 100;\n let scaleFactor = 1;\n let innerPosition = new PhysicalPosition(x, y);\n let outerPosition = new PhysicalPosition(x, y);\n let innerSize = new PhysicalSize(width, height);\n let outerSize = new PhysicalSize(width, height);\n let resizeEventUnlisten;\n let moveEventUnlisten;\n\n let windowTitle = \"Awesome Tauri Example!\";\n\n function openUrl() {\n open(urlValue);\n }\n\n function setTitle_() {\n windowMap[selectedWindow].setTitle(windowTitle);\n }\n\n function hide_() {\n windowMap[selectedWindow].hide();\n setTimeout(windowMap[selectedWindow].show, 2000);\n }\n\n function minimize_() {\n windowMap[selectedWindow].minimize();\n setTimeout(windowMap[selectedWindow].unminimize, 2000);\n }\n\n function getIcon() {\n openDialog({\n multiple: false,\n }).then(windowMap[selectedWindow].setIcon);\n }\n\n function createWindow() {\n const label = Math.random().toString();\n const webview = new WebviewWindow(label);\n windowMap[label] = webview;\n webview.once('tauri://error', function () {\n onMessage(\"Error creating new webview\")\n })\n }\n\n function handleWindowResize() {\n windowMap[selectedWindow].innerSize().then(response => {\n innerSize = response\n width = innerSize.width\n height = innerSize.height\n });\n windowMap[selectedWindow].outerSize().then(response => {\n outerSize = response\n });\n }\n\n function handleWindowMove() {\n windowMap[selectedWindow].innerPosition().then(response => {\n innerPosition = response\n });\n windowMap[selectedWindow].outerPosition().then(response => {\n outerPosition = response\n x = outerPosition.x\n y = outerPosition.y\n });\n }\n\n function addWindowEventListeners(window) {\n if (resizeEventUnlisten) {\n resizeEventUnlisten();\n }\n if(moveEventUnlisten) {\n moveEventUnlisten();\n }\n moveEventUnlisten = window.listen('tauri://move', handleWindowMove);\n resizeEventUnlisten = window.listen('tauri://resize', handleWindowResize);\n }\n\n async function requestUserAttention_() {\n await windowMap[selectedWindow].minimize();\n await windowMap[selectedWindow].requestUserAttention(UserAttentionType.Critical);\n await new Promise(resolve => setTimeout(resolve, 3000));\n await windowMap[selectedWindow].requestUserAttention(null);\n }\n\n $: windowMap[selectedWindow].setResizable(resizable);\n $: maximized ? windowMap[selectedWindow].maximize() : windowMap[selectedWindow].unmaximize();\n $: windowMap[selectedWindow].setDecorations(decorations);\n $: windowMap[selectedWindow].setAlwaysOnTop(alwaysOnTop);\n $: windowMap[selectedWindow].setFullscreen(fullscreen);\n\n $: windowMap[selectedWindow].setSize(new LogicalSize(width, height));\n $: minWidth && minHeight ? windowMap[selectedWindow].setMinSize(new LogicalSize(minWidth, minHeight)) : windowMap[selectedWindow].setMinSize(null);\n $: maxWidth && maxHeight ? windowMap[selectedWindow].setMaxSize(new LogicalSize(maxWidth, maxHeight)) : windowMap[selectedWindow].setMaxSize(null);\n $: windowMap[selectedWindow].setPosition(new LogicalPosition(x, y));\n $: windowMap[selectedWindow].scaleFactor().then(factor => scaleFactor = factor);\n $: addWindowEventListeners(windowMap[selectedWindow]);\n\n\n
    \n \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n X\n \n
    \n
    \n Y\n \n
    \n
    \n\n
    \n
    \n Width\n \n
    \n
    \n Height\n \n
    \n
    \n\n
    \n
    \n Min width\n \n
    \n
    \n Min height\n \n
    \n
    \n\n
    \n
    \n Max width\n \n
    \n
    \n Max height\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    Inner Size
    \n Width: {innerSize.width}\n Height: {innerSize.height}\n
    \n
    \n
    Outer Size
    \n Width: {outerSize.width}\n Height: {outerSize.height}\n
    \n
    \n
    \n
    \n
    Inner Logical Size
    \n Width: {innerSize.toLogical(scaleFactor).width}\n Height: {innerSize.toLogical(scaleFactor).height}\n
    \n
    \n
    Outer Logical Size
    \n Width: {outerSize.toLogical(scaleFactor).width}\n Height: {outerSize.toLogical(scaleFactor).height}\n
    \n
    \n
    \n
    \n
    Inner Position
    \n x: {innerPosition.x}\n y: {innerPosition.y}\n
    \n
    \n
    Outer Position
    \n x: {outerPosition.x}\n y: {outerPosition.y}\n
    \n
    \n
    \n
    \n
    Inner Logical Position
    \n x: {innerPosition.toLogical(scaleFactor).x}\n y: {innerPosition.toLogical(scaleFactor).y}\n
    \n
    \n
    Outer Logical Position
    \n x: {outerPosition.toLogical(scaleFactor).x}\n y: {outerPosition.toLogical(scaleFactor).y}\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n\n\n\n\n","import{_ as t,a as r,t as e}from\"./tauri-3147d768.js\";import{i}from\"./tauri-fe7c6694.js\";function u(u,n){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,i({__tauriModule:\"GlobalShortcut\",message:{cmd:\"register\",shortcut:u,handler:e(n)}})]}))}))}function n(u,n){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,i({__tauriModule:\"GlobalShortcut\",message:{cmd:\"registerAll\",shortcuts:u,handler:e(n)}})]}))}))}function o(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,i({__tauriModule:\"GlobalShortcut\",message:{cmd:\"isRegistered\",shortcut:e}})]}))}))}function s(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,i({__tauriModule:\"GlobalShortcut\",message:{cmd:\"unregister\",shortcut:e}})]}))}))}function a(){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,i({__tauriModule:\"GlobalShortcut\",message:{cmd:\"unregisterAll\"}})]}))}))}var c=Object.freeze({__proto__:null,register:u,registerAll:n,isRegistered:o,unregister:s,unregisterAll:a});export{n as a,a as b,c as g,o as i,u as r,s as u};\n","\n\n
    \n
    \n \n \n
    \n
    \n {#each $shortcuts as savedShortcut}\n
    \n {savedShortcut}\n
    \n {/each}\n {#if $shortcuts.length}\n \n {/if}\n
    \n
    \n","\n\n
    \n
    \n \n \n \n {#if child}\n \n \n {/if}\n
    \n
    \n \n \n
    \n
    \n","import{_ as t,a as n}from\"./tauri-3147d768.js\";import{l as o,a,o as r}from\"./event-92cbfbb1.js\";function i(){return t(this,void 0,void 0,(function(){function t(){r&&r(),r=void 0}var r;return n(this,(function(n){return[2,new Promise((function(n,i){o(\"tauri://update-status\",(function(o){var a;(a=null==o?void 0:o.payload).error?(t(),i(a.error)):\"DONE\"===a.status&&(t(),n())})).then((function(t){r=t})).catch((function(n){throw t(),n})),a(\"tauri://update-install\").catch((function(n){throw t(),n}))}))]}))}))}function u(){return t(this,void 0,void 0,(function(){function t(){i&&i(),i=void 0}var i;return n(this,(function(n){return[2,new Promise((function(n,u){r(\"tauri://update-available\",(function(o){var a;a=null==o?void 0:o.payload,t(),n({manifest:a,shouldUpdate:!0})})).catch((function(n){throw t(),n})),o(\"tauri://update-status\",(function(o){var a;(a=null==o?void 0:o.payload).error?(t(),u(a.error)):\"UPTODATE\"===a.status&&(t(),n({shouldUpdate:!1}))})).then((function(t){i=t})).catch((function(n){throw t(),n})),a(\"tauri://update\").catch((function(n){throw t(),n}))}))]}))}))}var c=Object.freeze({__proto__:null,installUpdate:i,checkUpdate:u});export{u as c,i,c as u};\n","\n\n
    \n \n \n
    \n","import{_ as t,a as r}from\"./tauri-3147d768.js\";import{i as e}from\"./tauri-fe7c6694.js\";function i(i){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,e({__tauriModule:\"Clipboard\",message:{cmd:\"writeText\",data:i}})]}))}))}function o(){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,e({__tauriModule:\"Clipboard\",message:{cmd:\"readText\"}})]}))}))}var a=Object.freeze({__proto__:null,writeText:i,readText:o});export{a as c,o as r,i as w};\n","\n\n
    \n
    \n \n \n
    \n \n
    \n","\n\n
    \n

    Not available for Linux

    \n \n
    \n","\n\n\n\n\n\n

    \n\tResult:\n

    \n
    \n{result}\n
    ","\n\n
    \n \n
    \n
    \n {#each views as view}\n

    select(view)}\n >\n {view.label}\n

    \n {/each}\n
    \n
    \n \n
    \n
    \n
    \n

    \n Tauri Console\n {\n responses.update(() => []);\n }}>clear\n

    \n {@html response}\n
    \n
    \n","import App from './App.svelte'\n\nconst app = new App({\n target: document.body\n})\n\nexport default app\n"],"names":["noop","run","fn","blank_object","Object","create","run_all","fns","forEach","is_function","thing","safe_not_equal","a","b","component_subscribe","component","store","callback","$$","on_destroy","push","callbacks","unsub","subscribe","unsubscribe","append","target","node","appendChild","insert","anchor","insertBefore","detach","parentNode","removeChild","destroy_each","iterations","detaching","i","length","d","element","name","document","createElement","text","data","createTextNode","space","listen","event","handler","options","addEventListener","removeEventListener","prevent_default","preventDefault","call","this","attr","attribute","value","removeAttribute","getAttribute","setAttribute","to_number","set_data","wholeText","set_input_value","input","set_style","key","important","style","setProperty","select_option","select","option","__value","selected","select_value","selected_option","querySelector","HtmlTag","[object Object]","e","n","html","nodeName","t","h","innerHTML","Array","from","childNodes","current_component","set_current_component","get_current_component","Error","onMount","on_mount","onDestroy","dirty_components","binding_callbacks","render_callbacks","flush_callbacks","resolved_promise","Promise","resolve","update_scheduled","add_render_callback","flushing","seen_callbacks","Set","flush","update","pop","has","add","clear","fragment","before_update","dirty","p","ctx","after_update","outroing","outros","transition_in","block","local","delete","transition_out","o","c","create_component","mount_component","customElement","m","new_on_destroy","map","filter","destroy_component","make_dirty","then","fill","init","instance","create_fragment","not_equal","props","parent_component","bound","on_disconnect","context","Map","skip_bound","ready","ret","rest","hydrate","nodes","children","l","intro","SvelteComponent","$destroy","type","index","indexOf","splice","$$props","obj","$$set","keys","subscriber_queue","writable","start","stop","subscribers","set","new_value","run_queue","s","invalidate","subscriber","isff","navigator","userAgent","toLowerCase","addEvent","object","method","attachEvent","concat","window","getMods","modifier","mods","slice","getKeys","replace","split","lastIndexOf","_keyMap","backspace","tab","enter","return","esc","escape","left","up","right","down","del","ins","home","end","pageup","pagedown","capslock","num_0","num_1","num_2","num_3","num_4","num_5","num_6","num_7","num_8","num_9","num_multiply","num_add","num_enter","num_subtract","num_decimal","num_divide","⇪",",",".","/","`","-","=",";","'","[","]","\\","_modifier","⇧","shift","⌥","alt","⌃","ctrl","control","⌘","cmd","command","modifierMap","16","18","17","91","shiftKey","ctrlKey","altKey","metaKey","_mods","_handlers","k","_downKeys","_scope","elementHasBindEvent","code","x","toUpperCase","charCodeAt","setScope","scope","getScope","eachUnbind","_ref","_ref$splitKey","splitKey","originKey","unbindKeys","len","lastKey","keyCode","record","a1","a2","arr1","arr2","isIndex","compareArray","eventHandler","modifiersMatch","y","prototype","hasOwnProperty","shortcut","returnValue","stopPropagation","cancelBubble","dispatch","asterisk","which","charCode","hotkeys","keyName","keyNum","getModifierState","keydown","keyup","_i","keyShortcut","_downKeysCurrent","sort","join","undefined","toString","isElementBind","clearModifier","_api","deleteScope","newScope","handlers","getPressedKeyCodes","isPressed","srcElement","tagName","flag","isContentEditable","readOnly","unbind","keysInfo","isArray","info","_len","arguments","args","_key","_hotkeys","noConflict","deep","setPrototypeOf","__proto__","TypeError","String","r","constructor","assign","apply","u","next","throw","done","label","sent","trys","ops","Symbol","iterator","Int8Array","crypto","getRandomValues","Uint8Array","Math","max","abs","defineProperty","Reflect","deleteProperty","configurable","rpc","notify","__invokeKey","__TAURI_INVOKE_KEY__","error","includes","freeze","__tauriModule","message","program","onEventFn","transformCallback","invoke","convertFileSrc","eventListeners","_emit","on","pid","write","buffer","kill","stdout","stderr","sidecar","spawn","payload","execute","signal","catch","path","with","exitCode","version","tauriVersion","appName","getName","getVersion","v","getTauriVersion","exit","relaunch","Command","Child","open","onMessage","getMatches","windowLabel","eventId","id","unlisten","endpoint","body","emit","once","fromCharCode","subarray","btoa","defaultPath","multiple","directory","filters","extensions","f","trim","res","pathToRead","isFile","match","readBinaryFile","response","blob","reader","base64","Blob","FileReader","onload","evt","dataurl","result","substr","readAsDataURL","save","Audio","Cache","Config","Data","LocalData","Desktop","Document","Download","Executable","Font","Home","Picture","Public","Runtime","Template","Video","Resource","App","Current","BaseDirectory","Dir","readTextFile","writeFile","contents","writeBinaryFile","readDir","createDir","removeDir","copyFile","source","destination","removeFile","renameFile","oldPath","newPath","getDir","getElementById","parseInt","dir","img","DirOptions","isNaN","opts","arrayBufferToBase64","setTimeout","fileInput","file","src","JSON","Text","Binary","form","json","bytes","url","status","ok","headers","drop","client","request","responseType","parse","get","post","put","patch","httpMethod","httpUrl","httpBody","getClient","startsWith","endsWith","Body","fetch","Client","Response","ResponseType","_sendNotification","Notification","permission","requestPermission","width","height","toLogical","__TAURI__","__currentWindow","skip","__windows","Critical","Informational","listeners","_handleTauriEvent","g","scaleFactor","innerPosition","outerPosition","innerSize","outerSize","isFullscreen","isMaximized","isDecorated","isResizable","isVisible","center","requestUserAttention","setResizable","setTitle","maximize","unmaximize","toggleMaximize","minimize","unminimize","show","hide","close","setDecorations","setAlwaysOnTop","setSize","setMinSize","setMaxSize","setPosition","setFullscreen","setFocus","setIcon","icon","setSkipTaskbar","startDragging","getByLabel","some","UserAttentionType","selectedWindow","getCurrent","windowMap","appWindow","resizeEventUnlisten","moveEventUnlisten","urlValue","resizable","maximized","transparent","decorations","alwaysOnTop","fullscreen","minWidth","minHeight","maxWidth","maxHeight","PhysicalPosition","PhysicalSize","windowTitle","handleWindowResize","handleWindowMove","LogicalSize","LogicalPosition","factor","addWindowEventListeners","openDialog","random","webview","WebviewWindow","WebviewWindowHandle","WindowManager","getAll","currentMonitor","primaryMonitor","availableMonitors","shortcuts","unregister","shortcut_","unregisterShortcut","shortcuts_","registerShortcut","unregisterAllShortcuts","savedShortcut","register","registerAll","isRegistered","unregisterAll","windows","child","script","cwd","env","stdin","reduce","clause","line","manifest","shouldUpdate","classList","checkUpdate","remove","installUpdate","writeText","readText","constraints","audio","video","stream","videoTracks","getVideoTracks","srcObject","handleSuccess","mediaDevices","getUserMedia","exact","handleError","getTracks","track","foo","bar","stringify","views","Welcome","Communication","Cli","Dialog","FileSystem","Http","HttpForm","Notifications","Window","Shortcuts","Shell","Updater","Clipboard","WebRTC","responses","view","Date","toLocaleTimeString"],"mappings":"gCAAA,SAASA,KAgBT,SAASC,EAAIC,GACT,OAAOA,IAEX,SAASC,IACL,OAAOC,OAAOC,OAAO,MAEzB,SAASC,EAAQC,GACbA,EAAIC,QAAQP,GAEhB,SAASQ,EAAYC,GACjB,MAAwB,mBAAVA,EAElB,SAASC,EAAeC,EAAGC,GACvB,OAAOD,GAAKA,EAAIC,GAAKA,EAAID,IAAMC,GAAOD,GAAkB,iBAANA,GAAgC,mBAANA,EAyBhF,SAASE,EAAoBC,EAAWC,EAAOC,GAC3CF,EAAUG,GAAGC,WAAWC,KAb5B,SAAmBJ,KAAUK,GACzB,GAAa,MAATL,EACA,OAAOhB,EAEX,MAAMsB,EAAQN,EAAMO,aAAaF,GACjC,OAAOC,EAAME,YAAc,IAAMF,EAAME,cAAgBF,EAQ1BC,CAAUP,EAAOC,IAwIlD,SAASQ,EAAOC,EAAQC,GACpBD,EAAOE,YAAYD,GAEvB,SAASE,EAAOH,EAAQC,EAAMG,GAC1BJ,EAAOK,aAAaJ,EAAMG,GAAU,MAExC,SAASE,EAAOL,GACZA,EAAKM,WAAWC,YAAYP,GAEhC,SAASQ,EAAaC,EAAYC,GAC9B,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAWG,OAAQD,GAAK,EACpCF,EAAWE,IACXF,EAAWE,GAAGE,EAAEH,GAG5B,SAASI,EAAQC,GACb,OAAOC,SAASC,cAAcF,GAoBlC,SAASG,EAAKC,GACV,OAAOH,SAASI,eAAeD,GAEnC,SAAS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EqN,GAHyB,eAIvB8E,GAAO,2BAIL2R,IAEFxT,MAAO,UACP1V,UAAWmpB,KAGXzT,MAAO,WACP1V,UAAWopB,KAGX1T,MAAO,MACP1V,UAAWqpB,KAGX3T,MAAO,SACP1V,UAAWspB,KAGX5T,MAAO,cACP1V,UAAWupB,KAGX7T,MAAO,OACP1V,UAAWwpB,KAGX9T,MAAO,YACP1V,UAAWypB,KAGX/T,MAAO,gBACP1V,UAAW0pB,KAGXhU,MAAO,SACP1V,UAAW2pB,KAGXjU,MAAO,YACP1V,UAAW4pB,KAGXlU,MAAO,QACP1V,UAAW6pB,KAGXnU,MAAO,UACP1V,UAAW8pB,KAGXpU,MAAO,YACP1V,UAAW+pB,KAGXrU,MAAO,SACP1V,UAAWgqB,SAIXhmB,EAAWklB,EAAM,GAEjBe,EAAYhgB,MACZ+Q,EAAW,YAENnX,EAAOqmB,OACdlmB,EAAWkmB,GAWb9kB,QACE6kB,EAAUzpB,WAAU0U,QAClB8F,EAAW9F,EAAE/B,KAAK,uCAVHrQ,GACjBmnB,EAAU7jB,QAAO8O,aAAciV,MAAOC,2BAAmD,iBAAVtnB,EAAqBA,EAAQ+b,KAAKoK,UAAUnmB,OAAYoS,iBAIvIoE,GAAK,6BA4B4EzV,EAAOqmB,QAcpFD,EAAU7jB,0BC/IN,kEAAQ,CAClBzF,OAAQiB,SAASkY"} \ No newline at end of file +{"version":3,"file":"bundle.js","sources":["../../node_modules/svelte/internal/index.mjs","../../node_modules/svelte/store/index.mjs","../../node_modules/hotkeys-js/dist/hotkeys.esm.js","../../../../tooling/api/dist/tauri-3147d768.js","../../../../tooling/api/dist/tauri-fe7c6694.js","../../../../tooling/api/dist/shell-9c83a2e9.js","../../../../tooling/api/dist/fs-bdf2e640.js","../../../../tooling/api/dist/http-46ccd227.js","../../../../tooling/api/dist/app-36904f40.js","../../../../tooling/api/dist/process-20c422b7.js","../../src/components/Welcome.svelte","../../../../tooling/api/dist/cli-4e1201fc.js","../../src/components/Cli.svelte","../../../../tooling/api/dist/event-92cbfbb1.js","../../src/components/Communication.svelte","../../../../tooling/api/dist/dialog-331a812c.js","../../src/components/Dialog.svelte","../../src/components/FileSystem.svelte","../../src/components/Http.svelte","../../src/components/Notifications.svelte","../../../../tooling/api/dist/window-1a19bca6.js","../../src/components/Window.svelte","../../../../tooling/api/dist/globalShortcut-4618f68b.js","../../src/components/Shortcuts.svelte","../../src/components/Shell.svelte","../../../../tooling/api/dist/updater-f0fc0128.js","../../src/components/Updater.svelte","../../../../tooling/api/dist/clipboard-b850e539.js","../../src/components/Clipboard.svelte","../../src/components/WebRTC.svelte","../../src/components/HttpForm.svelte","../../src/App.svelte","../../src/main.js"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot_spread(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_spread_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_spread_changes_fn(dirty) | get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value = ret) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction claim_element(nodes, name, attributes, svg) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeName === name) {\n let j = 0;\n const remove = [];\n while (j < node.attributes.length) {\n const attribute = node.attributes[j++];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n for (let k = 0; k < remove.length; k++) {\n node.removeAttribute(remove[k]);\n }\n return nodes.splice(i, 1)[0];\n }\n }\n return svg ? svg_element(name) : element(name);\n}\nfunction claim_text(nodes, data) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 3) {\n node.data = '' + data;\n return nodes.splice(i, 1)[0];\n }\n }\n return text(data);\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n node.style.setProperty(key, value, important ? 'important' : '');\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, false, false, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor(anchor = null) {\n this.a = anchor;\n this.e = this.n = null;\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n this.e = element(target.nodeName);\n this.t = target;\n this.h(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\n\nconst active_docs = new Set();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = node.ownerDocument;\n active_docs.add(doc);\n const stylesheet = doc.__svelte_stylesheet || (doc.__svelte_stylesheet = doc.head.appendChild(element('style')).sheet);\n const current_rules = doc.__svelte_rules || (doc.__svelte_rules = {});\n if (!current_rules[name]) {\n current_rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n active_docs.forEach(doc => {\n const stylesheet = doc.__svelte_stylesheet;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n doc.__svelte_rules = {};\n });\n active_docs.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail);\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n }\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n callbacks.slice().forEach(fn => fn(event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\nlet flushing = false;\nconst seen_callbacks = new Set();\nfunction flush() {\n if (flushing)\n return;\n flushing = true;\n do {\n // first, call beforeUpdate functions\n // and update components\n for (let i = 0; i < dirty_components.length; i += 1) {\n const component = dirty_components[i];\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n flushing = false;\n seen_callbacks.clear();\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = program.b - t;\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, classes_to_add) {\n const attributes = Object.assign({}, ...args);\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${String(value).replace(/\"/g, '"').replace(/'/g, ''')}\"`;\n }\n });\n return str;\n}\nconst escaped = {\n '\"': '"',\n \"'\": ''',\n '&': '&',\n '<': '<',\n '>': '>'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(parent_component ? parent_component.$$.context : []),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, options = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, options);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n return ` ${name}${value === true ? '' : `=${typeof value === 'string' ? JSON.stringify(escape(value)) : `\"${value}\"`}`}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(parent_component ? parent_component.$$.context : []),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false\n };\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.35.0' }, detail)));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * \n * \n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to seperate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_transform, afterUpdate, append, append_dev, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_space, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, escape, escaped, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getContext, get_binding_group_value, get_current_component, get_custom_elements_slots, get_slot_changes, get_slot_context, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, identity, init, insert, insert_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, listen, listen_dev, loop, loop_guard, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, update_keyed_each, update_slot, update_slot_spread, validate_component, validate_each_argument, validate_each_keys, validate_slots, validate_store, xlink_attr };\n","import { noop, safe_not_equal, subscribe, run_all, is_function } from '../internal/index.mjs';\nexport { get_store_value as get } from '../internal/index.mjs';\n\nconst subscriber_queue = [];\n/**\n * Creates a `Readable` store that allows reading by subscription.\n * @param value initial value\n * @param {StartStopNotifier}start start and stop notifications for subscriptions\n */\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe\n };\n}\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n * @param {*=}value initial value\n * @param {StartStopNotifier=}start start and stop notifications for subscriptions\n */\nfunction writable(value, start = noop) {\n let stop;\n const subscribers = [];\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) { // store is ready\n const run_queue = !subscriber_queue.length;\n for (let i = 0; i < subscribers.length; i += 1) {\n const s = subscribers[i];\n s[1]();\n subscriber_queue.push(s, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(value));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.push(subscriber);\n if (subscribers.length === 1) {\n stop = start(set) || noop;\n }\n run(value);\n return () => {\n const index = subscribers.indexOf(subscriber);\n if (index !== -1) {\n subscribers.splice(index, 1);\n }\n if (subscribers.length === 0) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction derived(stores, fn, initial_value) {\n const single = !Array.isArray(stores);\n const stores_array = single\n ? [stores]\n : stores;\n const auto = fn.length < 2;\n return readable(initial_value, (set) => {\n let inited = false;\n const values = [];\n let pending = 0;\n let cleanup = noop;\n const sync = () => {\n if (pending) {\n return;\n }\n cleanup();\n const result = fn(single ? values[0] : values, set);\n if (auto) {\n set(result);\n }\n else {\n cleanup = is_function(result) ? result : noop;\n }\n };\n const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {\n values[i] = value;\n pending &= ~(1 << i);\n if (inited) {\n sync();\n }\n }, () => {\n pending |= (1 << i);\n }));\n inited = true;\n sync();\n return function stop() {\n run_all(unsubscribers);\n cleanup();\n };\n });\n}\n\nexport { derived, readable, writable };\n","/*!\n * hotkeys-js v3.8.5\n * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.\n * \n * Copyright (c) 2021 kenny wong \n * http://jaywcjlove.github.io/hotkeys\n * \n * Licensed under the MIT license.\n */\n\nvar isff = typeof navigator !== 'undefined' ? navigator.userAgent.toLowerCase().indexOf('firefox') > 0 : false; // 绑定事件\n\nfunction addEvent(object, event, method) {\n if (object.addEventListener) {\n object.addEventListener(event, method, false);\n } else if (object.attachEvent) {\n object.attachEvent(\"on\".concat(event), function () {\n method(window.event);\n });\n }\n} // 修饰键转换成对应的键码\n\n\nfunction getMods(modifier, key) {\n var mods = key.slice(0, key.length - 1);\n\n for (var i = 0; i < mods.length; i++) {\n mods[i] = modifier[mods[i].toLowerCase()];\n }\n\n return mods;\n} // 处理传的key字符串转换成数组\n\n\nfunction getKeys(key) {\n if (typeof key !== 'string') key = '';\n key = key.replace(/\\s/g, ''); // 匹配任何空白字符,包括空格、制表符、换页符等等\n\n var keys = key.split(','); // 同时设置多个快捷键,以','分割\n\n var index = keys.lastIndexOf(''); // 快捷键可能包含',',需特殊处理\n\n for (; index >= 0;) {\n keys[index - 1] += ',';\n keys.splice(index, 1);\n index = keys.lastIndexOf('');\n }\n\n return keys;\n} // 比较修饰键的数组\n\n\nfunction compareArray(a1, a2) {\n var arr1 = a1.length >= a2.length ? a1 : a2;\n var arr2 = a1.length >= a2.length ? a2 : a1;\n var isIndex = true;\n\n for (var i = 0; i < arr1.length; i++) {\n if (arr2.indexOf(arr1[i]) === -1) isIndex = false;\n }\n\n return isIndex;\n}\n\nvar _keyMap = {\n backspace: 8,\n tab: 9,\n clear: 12,\n enter: 13,\n return: 13,\n esc: 27,\n escape: 27,\n space: 32,\n left: 37,\n up: 38,\n right: 39,\n down: 40,\n del: 46,\n delete: 46,\n ins: 45,\n insert: 45,\n home: 36,\n end: 35,\n pageup: 33,\n pagedown: 34,\n capslock: 20,\n num_0: 96,\n num_1: 97,\n num_2: 98,\n num_3: 99,\n num_4: 100,\n num_5: 101,\n num_6: 102,\n num_7: 103,\n num_8: 104,\n num_9: 105,\n num_multiply: 106,\n num_add: 107,\n num_enter: 108,\n num_subtract: 109,\n num_decimal: 110,\n num_divide: 111,\n '⇪': 20,\n ',': 188,\n '.': 190,\n '/': 191,\n '`': 192,\n '-': isff ? 173 : 189,\n '=': isff ? 61 : 187,\n ';': isff ? 59 : 186,\n '\\'': 222,\n '[': 219,\n ']': 221,\n '\\\\': 220\n}; // Modifier Keys\n\nvar _modifier = {\n // shiftKey\n '⇧': 16,\n shift: 16,\n // altKey\n '⌥': 18,\n alt: 18,\n option: 18,\n // ctrlKey\n '⌃': 17,\n ctrl: 17,\n control: 17,\n // metaKey\n '⌘': 91,\n cmd: 91,\n command: 91\n};\nvar modifierMap = {\n 16: 'shiftKey',\n 18: 'altKey',\n 17: 'ctrlKey',\n 91: 'metaKey',\n shiftKey: 16,\n ctrlKey: 17,\n altKey: 18,\n metaKey: 91\n};\nvar _mods = {\n 16: false,\n 18: false,\n 17: false,\n 91: false\n};\nvar _handlers = {}; // F1~F12 special key\n\nfor (var k = 1; k < 20; k++) {\n _keyMap[\"f\".concat(k)] = 111 + k;\n}\n\nvar _downKeys = []; // 记录摁下的绑定键\n\nvar _scope = 'all'; // 默认热键范围\n\nvar elementHasBindEvent = []; // 已绑定事件的节点记录\n// 返回键码\n\nvar code = function code(x) {\n return _keyMap[x.toLowerCase()] || _modifier[x.toLowerCase()] || x.toUpperCase().charCodeAt(0);\n}; // 设置获取当前范围(默认为'所有')\n\n\nfunction setScope(scope) {\n _scope = scope || 'all';\n} // 获取当前范围\n\n\nfunction getScope() {\n return _scope || 'all';\n} // 获取摁下绑定键的键值\n\n\nfunction getPressedKeyCodes() {\n return _downKeys.slice(0);\n} // 表单控件控件判断 返回 Boolean\n// hotkey is effective only when filter return true\n\n\nfunction filter(event) {\n var target = event.target || event.srcElement;\n var tagName = target.tagName;\n var flag = true; // ignore: isContentEditable === 'true', and '\n );\n setTimeout(() => {\n const fileInput = document.getElementById(\"file-response\");\n fileInput.value = value;\n document\n .getElementById(\"file-save\")\n .addEventListener(\"click\", function () {\n writeFile(\n {\n file: pathToRead,\n contents: fileInput.value,\n },\n {\n dir: getDir(),\n }\n ).catch(onMessage);\n });\n });\n }\n } else {\n onMessage(response);\n }\n })\n .catch(onMessage);\n }\n\n function setSrc() {\n img.src = convertFileSrc(pathToRead)\n }\n\n\n
    \n \n \n \n \n\n \"file\"\n\n","\n\n
    \n \n \n
    \n \n \n\n","\n\n\n","import{d as t,_ as e,a as i,b as n}from\"./tauri-3147d768.js\";import{i as o}from\"./tauri-fe7c6694.js\";import{l as r,o as a,b as u}from\"./event-92cbfbb1.js\";var s,d=function(t,e){this.type=\"Logical\",this.width=t,this.height=e},l=function(){function t(t,e){this.type=\"Physical\",this.width=t,this.height=e}return t.prototype.toLogical=function(t){return new d(this.width/t,this.height/t)},t}(),c=function(t,e){this.type=\"Logical\",this.x=t,this.y=e},h=function(){function t(t,e){this.type=\"Physical\",this.x=t,this.y=e}return t.prototype.toLogical=function(t){return new c(this.x/t,this.y/t)},t}();function m(){return new v(window.__TAURI__.__currentWindow.label,{skip:!0})}function p(){return window.__TAURI__.__windows.map((function(t){return new v(t.label,{skip:!0})}))}!function(t){t[t.Critical=1]=\"Critical\",t[t.Informational=2]=\"Informational\"}(s||(s={}));var f=[\"tauri://created\",\"tauri://error\"],y=function(){function t(t){this.label=null!=t?t:window.__TAURI__.__currentWindow.label,this.listeners=Object.create(null)}return t.prototype.listen=function(t,n){return e(this,void 0,void 0,(function(){var e=this;return i(this,(function(i){return this._handleTauriEvent(t,n)?[2,Promise.resolve((function(){var i=e.listeners[t];i.splice(i.indexOf(n),1)}))]:[2,r(t,n)]}))}))},t.prototype.once=function(t,n){return e(this,void 0,void 0,(function(){var e=this;return i(this,(function(i){return this._handleTauriEvent(t,n)?[2,Promise.resolve((function(){var i=e.listeners[t];i.splice(i.indexOf(n),1)}))]:[2,a(t,n)]}))}))},t.prototype.emit=function(t,n){return e(this,void 0,void 0,(function(){var e,o;return i(this,(function(i){if(f.includes(t)){for(e=0,o=this.listeners[t]||[];e\n import { appWindow, WebviewWindow, LogicalSize, LogicalPosition, UserAttentionType, PhysicalSize, PhysicalPosition } from \"@tauri-apps/api/window\";\n import { open as openDialog } from \"@tauri-apps/api/dialog\";\n import { open } from \"@tauri-apps/api/shell\";\n\n window.UserAttentionType = UserAttentionType;\n let selectedWindow = appWindow.label;\n const windowMap = {\n [selectedWindow]: appWindow\n }\n\n export let onMessage;\n\n let urlValue = \"https://tauri.studio\";\n let resizable = true;\n let maximized = false;\n let transparent = false;\n let decorations = true;\n let alwaysOnTop = false;\n let fullscreen = false;\n let width = 900;\n let height = 700;\n let minWidth = 600;\n let minHeight = 600;\n let maxWidth = null;\n let maxHeight = null;\n let x = 100;\n let y = 100;\n let scaleFactor = 1;\n let innerPosition = new PhysicalPosition(x, y);\n let outerPosition = new PhysicalPosition(x, y);\n let innerSize = new PhysicalSize(width, height);\n let outerSize = new PhysicalSize(width, height);\n let resizeEventUnlisten;\n let moveEventUnlisten;\n\n let windowTitle = \"Awesome Tauri Example!\";\n\n function openUrl() {\n open(urlValue);\n }\n\n function setTitle_() {\n windowMap[selectedWindow].setTitle(windowTitle);\n }\n\n function hide_() {\n windowMap[selectedWindow].hide();\n setTimeout(windowMap[selectedWindow].show, 2000);\n }\n\n function minimize_() {\n windowMap[selectedWindow].minimize();\n setTimeout(windowMap[selectedWindow].unminimize, 2000);\n }\n\n function getIcon() {\n openDialog({\n multiple: false,\n }).then(windowMap[selectedWindow].setIcon);\n }\n\n function createWindow() {\n const label = Math.random().toString();\n const webview = new WebviewWindow(label);\n windowMap[label] = webview;\n webview.once('tauri://error', function () {\n onMessage(\"Error creating new webview\")\n })\n }\n\n function handleWindowResize() {\n windowMap[selectedWindow].innerSize().then(response => {\n innerSize = response\n width = innerSize.width\n height = innerSize.height\n });\n windowMap[selectedWindow].outerSize().then(response => {\n outerSize = response\n });\n }\n\n function handleWindowMove() {\n windowMap[selectedWindow].innerPosition().then(response => {\n innerPosition = response\n });\n windowMap[selectedWindow].outerPosition().then(response => {\n outerPosition = response\n x = outerPosition.x\n y = outerPosition.y\n });\n }\n\n function addWindowEventListeners(window) {\n if (resizeEventUnlisten) {\n resizeEventUnlisten();\n }\n if(moveEventUnlisten) {\n moveEventUnlisten();\n }\n moveEventUnlisten = window.listen('tauri://move', handleWindowMove);\n resizeEventUnlisten = window.listen('tauri://resize', handleWindowResize);\n }\n\n async function requestUserAttention_() {\n await windowMap[selectedWindow].minimize();\n await windowMap[selectedWindow].requestUserAttention(UserAttentionType.Critical);\n await new Promise(resolve => setTimeout(resolve, 3000));\n await windowMap[selectedWindow].requestUserAttention(null);\n }\n\n $: windowMap[selectedWindow].setResizable(resizable);\n $: maximized ? windowMap[selectedWindow].maximize() : windowMap[selectedWindow].unmaximize();\n $: windowMap[selectedWindow].setDecorations(decorations);\n $: windowMap[selectedWindow].setAlwaysOnTop(alwaysOnTop);\n $: windowMap[selectedWindow].setFullscreen(fullscreen);\n\n $: windowMap[selectedWindow].setSize(new LogicalSize(width, height));\n $: minWidth && minHeight ? windowMap[selectedWindow].setMinSize(new LogicalSize(minWidth, minHeight)) : windowMap[selectedWindow].setMinSize(null);\n $: maxWidth && maxHeight ? windowMap[selectedWindow].setMaxSize(new LogicalSize(maxWidth, maxHeight)) : windowMap[selectedWindow].setMaxSize(null);\n $: windowMap[selectedWindow].setPosition(new LogicalPosition(x, y));\n $: windowMap[selectedWindow].scaleFactor().then(factor => scaleFactor = factor);\n $: addWindowEventListeners(windowMap[selectedWindow]);\n\n\n
    \n \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n X\n \n
    \n
    \n Y\n \n
    \n
    \n\n
    \n
    \n Width\n \n
    \n
    \n Height\n \n
    \n
    \n\n
    \n
    \n Min width\n \n
    \n
    \n Min height\n \n
    \n
    \n\n
    \n
    \n Max width\n \n
    \n
    \n Max height\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    Inner Size
    \n Width: {innerSize.width}\n Height: {innerSize.height}\n
    \n
    \n
    Outer Size
    \n Width: {outerSize.width}\n Height: {outerSize.height}\n
    \n
    \n
    \n
    \n
    Inner Logical Size
    \n Width: {innerSize.toLogical(scaleFactor).width}\n Height: {innerSize.toLogical(scaleFactor).height}\n
    \n
    \n
    Outer Logical Size
    \n Width: {outerSize.toLogical(scaleFactor).width}\n Height: {outerSize.toLogical(scaleFactor).height}\n
    \n
    \n
    \n
    \n
    Inner Position
    \n x: {innerPosition.x}\n y: {innerPosition.y}\n
    \n
    \n
    Outer Position
    \n x: {outerPosition.x}\n y: {outerPosition.y}\n
    \n
    \n
    \n
    \n
    Inner Logical Position
    \n x: {innerPosition.toLogical(scaleFactor).x}\n y: {innerPosition.toLogical(scaleFactor).y}\n
    \n
    \n
    Outer Logical Position
    \n x: {outerPosition.toLogical(scaleFactor).x}\n y: {outerPosition.toLogical(scaleFactor).y}\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n\n\n\n\n","import{_ as t,a as r,t as e}from\"./tauri-3147d768.js\";import{i}from\"./tauri-fe7c6694.js\";function u(u,n){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,i({__tauriModule:\"GlobalShortcut\",message:{cmd:\"register\",shortcut:u,handler:e(n)}})]}))}))}function n(u,n){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,i({__tauriModule:\"GlobalShortcut\",message:{cmd:\"registerAll\",shortcuts:u,handler:e(n)}})]}))}))}function o(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,i({__tauriModule:\"GlobalShortcut\",message:{cmd:\"isRegistered\",shortcut:e}})]}))}))}function s(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,i({__tauriModule:\"GlobalShortcut\",message:{cmd:\"unregister\",shortcut:e}})]}))}))}function a(){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,i({__tauriModule:\"GlobalShortcut\",message:{cmd:\"unregisterAll\"}})]}))}))}var c=Object.freeze({__proto__:null,register:u,registerAll:n,isRegistered:o,unregister:s,unregisterAll:a});export{n as a,a as b,c as g,o as i,u as r,s as u};\n","\n\n
    \n
    \n \n \n
    \n
    \n {#each $shortcuts as savedShortcut}\n
    \n {savedShortcut}\n
    \n {/each}\n {#if $shortcuts.length}\n \n {/if}\n
    \n
    \n","\n\n
    \n
    \n \n \n \n {#if child}\n \n \n {/if}\n
    \n
    \n \n \n
    \n
    \n","import{_ as t,a as n}from\"./tauri-3147d768.js\";import{l as o,a,o as r}from\"./event-92cbfbb1.js\";function i(){return t(this,void 0,void 0,(function(){function t(){r&&r(),r=void 0}var r;return n(this,(function(n){return[2,new Promise((function(n,i){o(\"tauri://update-status\",(function(o){var a;(a=null==o?void 0:o.payload).error?(t(),i(a.error)):\"DONE\"===a.status&&(t(),n())})).then((function(t){r=t})).catch((function(n){throw t(),n})),a(\"tauri://update-install\").catch((function(n){throw t(),n}))}))]}))}))}function u(){return t(this,void 0,void 0,(function(){function t(){i&&i(),i=void 0}var i;return n(this,(function(n){return[2,new Promise((function(n,u){r(\"tauri://update-available\",(function(o){var a;a=null==o?void 0:o.payload,t(),n({manifest:a,shouldUpdate:!0})})).catch((function(n){throw t(),n})),o(\"tauri://update-status\",(function(o){var a;(a=null==o?void 0:o.payload).error?(t(),u(a.error)):\"UPTODATE\"===a.status&&(t(),n({shouldUpdate:!1}))})).then((function(t){i=t})).catch((function(n){throw t(),n})),a(\"tauri://update\").catch((function(n){throw t(),n}))}))]}))}))}var c=Object.freeze({__proto__:null,installUpdate:i,checkUpdate:u});export{u as c,i,c as u};\n","\n\n
    \n \n \n
    \n","import{_ as t,a as r}from\"./tauri-3147d768.js\";import{i as e}from\"./tauri-fe7c6694.js\";function i(i){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,e({__tauriModule:\"Clipboard\",message:{cmd:\"writeText\",data:i}})]}))}))}function o(){return t(this,void 0,void 0,(function(){return r(this,(function(t){return[2,e({__tauriModule:\"Clipboard\",message:{cmd:\"readText\"}})]}))}))}var a=Object.freeze({__proto__:null,writeText:i,readText:o});export{a as c,o as r,i as w};\n","\n\n
    \n
    \n \n \n
    \n \n
    \n","\n\n
    \n

    Not available for Linux

    \n \n
    \n","\n\n\n\n\n\n

    \n\tResult:\n

    \n
    \n{result}\n
    ","\n\n
    \n \n
    \n
    \n {#each views as view}\n

    select(view)}\n >\n {view.label}\n

    \n {/each}\n
    \n
    \n \n
    \n
    \n
    \n

    \n Tauri Console\n {\n responses.update(() => []);\n }}>clear\n

    \n {@html response}\n
    \n
    \n","import App from './App.svelte'\n\nconst app = new App({\n target: document.body\n})\n\nexport default app\n"],"names":["noop","run","fn","blank_object","Object","create","run_all","fns","forEach","is_function","thing","safe_not_equal","a","b","component_subscribe","component","store","callback","$$","on_destroy","push","callbacks","unsub","subscribe","unsubscribe","append","target","node","appendChild","insert","anchor","insertBefore","detach","parentNode","removeChild","destroy_each","iterations","detaching","i","length","d","element","name","document","createElement","text","data","createTextNode","space","listen","event","handler","options","addEventListener","removeEventListener","prevent_default","preventDefault","call","this","attr","attribute","value","removeAttribute","getAttribute","setAttribute","to_number","set_data","wholeText","set_input_value","input","set_style","key","important","style","setProperty","select_option","select","option","__value","selected","select_value","selected_option","querySelector","HtmlTag","[object Object]","e","n","html","nodeName","t","h","innerHTML","Array","from","childNodes","current_component","set_current_component","get_current_component","Error","onMount","on_mount","onDestroy","dirty_components","binding_callbacks","render_callbacks","flush_callbacks","resolved_promise","Promise","resolve","update_scheduled","add_render_callback","flushing","seen_callbacks","Set","flush","update","pop","has","add","clear","fragment","before_update","dirty","p","ctx","after_update","outroing","outros","transition_in","block","local","delete","transition_out","o","c","create_component","mount_component","customElement","m","new_on_destroy","map","filter","destroy_component","make_dirty","then","fill","init","instance","create_fragment","not_equal","props","parent_component","bound","on_disconnect","context","Map","skip_bound","ready","ret","rest","hydrate","nodes","children","l","intro","SvelteComponent","$destroy","type","index","indexOf","splice","$$props","obj","$$set","keys","subscriber_queue","writable","start","stop","subscribers","set","new_value","run_queue","s","invalidate","subscriber","isff","navigator","userAgent","toLowerCase","addEvent","object","method","attachEvent","concat","window","getMods","modifier","mods","slice","getKeys","replace","split","lastIndexOf","_keyMap","backspace","tab","enter","return","esc","escape","left","up","right","down","del","ins","home","end","pageup","pagedown","capslock","num_0","num_1","num_2","num_3","num_4","num_5","num_6","num_7","num_8","num_9","num_multiply","num_add","num_enter","num_subtract","num_decimal","num_divide","⇪",",",".","/","`","-","=",";","'","[","]","\\","_modifier","⇧","shift","⌥","alt","⌃","ctrl","control","⌘","cmd","command","modifierMap","16","18","17","91","shiftKey","ctrlKey","altKey","metaKey","_mods","_handlers","k","_downKeys","_scope","elementHasBindEvent","code","x","toUpperCase","charCodeAt","setScope","scope","getScope","eachUnbind","_ref","_ref$splitKey","splitKey","originKey","unbindKeys","len","lastKey","keyCode","record","a1","a2","arr1","arr2","isIndex","compareArray","eventHandler","modifiersMatch","y","prototype","hasOwnProperty","shortcut","returnValue","stopPropagation","cancelBubble","dispatch","asterisk","which","charCode","hotkeys","keyName","keyNum","getModifierState","keydown","keyup","_i","keyShortcut","_downKeysCurrent","sort","join","undefined","toString","isElementBind","clearModifier","_api","deleteScope","newScope","handlers","getPressedKeyCodes","isPressed","srcElement","tagName","flag","isContentEditable","readOnly","unbind","keysInfo","isArray","info","_len","arguments","args","_key","_hotkeys","noConflict","deep","setPrototypeOf","__proto__","TypeError","String","r","constructor","assign","apply","u","next","throw","done","label","sent","trys","ops","Symbol","iterator","Int8Array","crypto","getRandomValues","Uint8Array","Math","max","abs","defineProperty","Reflect","deleteProperty","configurable","rpc","notify","__invokeKey","__TAURI_INVOKE_KEY__","error","includes","freeze","__tauriModule","message","program","onEventFn","transformCallback","invoke","convertFileSrc","eventListeners","_emit","on","pid","write","buffer","kill","stdout","stderr","sidecar","spawn","payload","execute","signal","catch","path","with","exitCode","version","tauriVersion","appName","getName","getVersion","v","getTauriVersion","exit","relaunch","Command","Child","open","onMessage","getMatches","windowLabel","eventId","id","unlisten","endpoint","body","emit","once","fromCharCode","subarray","btoa","defaultPath","multiple","directory","filters","extensions","f","trim","res","pathToRead","isFile","match","readBinaryFile","response","blob","reader","base64","Blob","FileReader","onload","evt","dataurl","result","substr","readAsDataURL","save","Audio","Cache","Config","Data","LocalData","Desktop","Document","Download","Executable","Font","Home","Picture","Public","Runtime","Template","Video","Resource","App","Current","BaseDirectory","Dir","readTextFile","writeFile","contents","writeBinaryFile","readDir","createDir","removeDir","copyFile","source","destination","removeFile","renameFile","oldPath","newPath","getDir","getElementById","parseInt","dir","img","DirOptions","isNaN","opts","arrayBufferToBase64","setTimeout","fileInput","file","src","JSON","Text","Binary","form","json","bytes","url","status","ok","headers","drop","client","request","responseType","parse","get","post","put","patch","httpMethod","httpUrl","httpBody","getClient","startsWith","endsWith","Body","fetch","Client","Response","ResponseType","_sendNotification","Notification","permission","requestPermission","width","height","toLogical","__TAURI__","__windows","skip","Critical","Informational","__currentWindow","listeners","_handleTauriEvent","g","scaleFactor","innerPosition","outerPosition","innerSize","outerSize","isFullscreen","isMaximized","isDecorated","isResizable","isVisible","center","requestUserAttention","setResizable","setTitle","maximize","unmaximize","toggleMaximize","minimize","unminimize","show","hide","close","setDecorations","setAlwaysOnTop","setSize","setMinSize","setMaxSize","setPosition","setFullscreen","setFocus","setIcon","icon","setSkipTaskbar","startDragging","getByLabel","some","_","UserAttentionType","selectedWindow","appWindow","windowMap","resizeEventUnlisten","moveEventUnlisten","urlValue","resizable","maximized","transparent","decorations","alwaysOnTop","fullscreen","minWidth","minHeight","maxWidth","maxHeight","PhysicalPosition","PhysicalSize","windowTitle","handleWindowResize","handleWindowMove","LogicalSize","LogicalPosition","factor","addWindowEventListeners","openDialog","random","webview","WebviewWindow","WebviewWindowHandle","WindowManager","getCurrent","getAll","currentMonitor","primaryMonitor","availableMonitors","shortcuts","unregister","shortcut_","unregisterShortcut","shortcuts_","registerShortcut","unregisterAllShortcuts","savedShortcut","register","registerAll","isRegistered","unregisterAll","windows","child","script","cwd","env","stdin","reduce","clause","line","manifest","shouldUpdate","classList","checkUpdate","remove","installUpdate","writeText","readText","constraints","audio","video","stream","videoTracks","getVideoTracks","srcObject","handleSuccess","mediaDevices","getUserMedia","exact","handleError","getTracks","track","foo","bar","stringify","views","Welcome","Communication","Cli","Dialog","FileSystem","Http","HttpForm","Notifications","Window","Shortcuts","Shell","Updater","Clipboard","WebRTC","responses","view","Date","toLocaleTimeString"],"mappings":"gCAAA,SAASA,KAgBT,SAASC,EAAIC,GACT,OAAOA,IAEX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ACP1V,UAAW6pB,KAGXnU,MAAO,QACP1V,UAAW8pB,KAGXpU,MAAO,UACP1V,UAAW+pB,KAGXrU,MAAO,YACP1V,UAAWgqB,KAGXtU,MAAO,SACP1V,UAAWiqB,SAIXjmB,EAAWmlB,EAAM,GAEjBe,EAAYjgB,MACZ+Q,EAAW,YAENnX,EAAOsmB,OACdnmB,EAAWmmB,GAWb/kB,QACE8kB,EAAU1pB,WAAU0U,QAClB8F,EAAW9F,EAAE/B,KAAK,uCAVHrQ,GACjBonB,EAAU9jB,QAAO8O,aAAckV,MAAOC,2BAAmD,iBAAVvnB,EAAqBA,EAAQ+b,KAAKqK,UAAUpmB,OAAYoS,iBAIvIoE,GAAK,6BA4B4EzV,EAAOsmB,QAcpFD,EAAU9jB,0BC/IN,kEAAQ,CAClBzF,OAAQiB,SAASkY"} \ No newline at end of file diff --git a/examples/api/src/components/Window.svelte b/examples/api/src/components/Window.svelte index e02979e37..228e710c5 100644 --- a/examples/api/src/components/Window.svelte +++ b/examples/api/src/components/Window.svelte @@ -1,10 +1,10 @@