41 lines
2.5 MiB
JavaScript
41 lines
2.5 MiB
JavaScript
|
"use strict";var e=Object.defineProperty,t=Object.defineProperties,i=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(t,i,n)=>i in t?e(t,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[i]=n,l=(e,t)=>{for(var i in t||(t={}))o.call(t,i)&&a(e,i,t[i]);if(r)for(var i of r(t))s.call(t,i)&&a(e,i,t[i]);return e},h=(e,n)=>t(e,i(n)),d=require("obsidian"),c=require("electron"),u=require("fs"),p=require("crypto"),f=require("path");function m(e){if(e&&e.__esModule)return e;var t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach((function(i){if("default"!==i){var n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:function(){return e[i]}})}})),t.default=e,Object.freeze(t)}var g=m(c),A=m(u),v=m(p),y=m(f);var b={"Open as mindmap board":"Open as mindmap","Create new mindmap":"Create new mindmap","New mindmap board":"New mindmap board","Untitled mindmap":"Untitled mindmap","Open as markdown":"Open as markdown","Sub title":"Sub title","Export to opml":"Export to opml","Export to image":"Export to image","Canvas size":"Canvas size","Canvas size desc":"Width and height of the canvas","Canvas background":"Canvas background","Canvas background desc":"Background color of canvas","Max level of node to markdown head":"Max level of node to create a Heading","Max level of node to markdown head desc":"Specify which Node Level creates a seperate Heading instead of a List-Item","Font size":"Font Size","Font size desc":"Specify the Font Size","Mind map layout direct":"Mindmap Layout","Mind map layout direct desc":"Specify the direction the nodes are placed in your Mindmap",Right:"Right",Left:"Left",Centered:"Centered","Open PDF File":"Open PDF file...","Save Image error,Please try again":"Save image error,please try again","Creating Rect Annotate":"Creating rect annotate...","Cancel Create Rect Annotate":"Cancel create rect annotate","File Is Not Exist":"File is not exist","Open File Error":"Open file error","PDF Cannot Open More Instances":"PDF reader cannot open more instances","Create Rect Annotate":"Created rect annotate","Stroke Array":"Stroke Color","Stroke Array Desc":"Node link color base on this value or random color","PDFJs Plugin Path":"PDF reader path","PDFJs Plugin Path Desc":"If you want to use PDF annotation,You need download pdf js plugin and set up this value","Andriod pdfjs Plugin Path":"Andriod pdf reader path","Ios pdfjs Plugin Path":"Ios pdf reader path","Mac pdfjs Plugin Path":"Mac pdfjs Plugin Path","PDF Path":"PDF store path","PDF Annotate Path":"PDF annotate store path","PDF Image Path":"Image store path of PDF rect annotate","Miss PDF Reader Path":"Miss PDF plugin path,you need download Pdf js plugin,and set up value of PDF reader path","Please Use Rich Mode":"Please change yaml mindmap-plugin basic to rich","The probation period has ended":"The probation period has ended or active code has expired",Rect:"Rect",Circle:"Circle",Pointer:"Pointer","Show MindMap":"Show mind map","Hide MindMap":"Hide mind map","Open Protocol":"Support protocol","Open Protocol Desc":"Support protocol like 'obsidian://{protocol name}' for function of jump to pdf annotate",Protocol:"Protocol","Protocol Desc":"Protocol name",Open:"Open",Close:"Close","Open as outline":"Open as outline","Show Annotate":"Show annotate","Annotation save type":"PDF annotation save type","Annotation save type desc":"The type of save pdf annotation,there are two file types:`annos` and `md`,`annos` as default,`annos` is `json` file in fact ","Export annotate pdf":"Export annotate pdf","Export annotate pdf tip":"This is a time-consuming operation. Please wait patiently","Export annotate pdf success":"Export pdf success","Export annotate pdf error":"Export pdf error","Active Code":"Active code","Active Code Desc":"You can active markmind by use this value. Web site:<https://www.markmind.net>","Active error":"Active code error","Active success":"Active success","Annotate PDF":"Annotate PDF","Ann
|
|||
|
/*!
|
|||
|
* Vue.js v2.7.16
|
|||
|
* (c) 2014-2023 Evan You
|
|||
|
* Released under the MIT License.
|
|||
|
*/var C=Object.freeze({}),E=Array.isArray;function k(e){return null==e}function I(e){return null!=e}function B(e){return!0===e}function S(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function D(e){return"function"==typeof e}function L(e){return null!==e&&"object"==typeof e}var M=Object.prototype.toString;function N(e){return"[object Object]"===M.call(e)}function T(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function P(e){return I(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function F(e){return null==e?"":Array.isArray(e)||N(e)&&e.toString===M?JSON.stringify(e,Q,2):String(e)}function Q(e,t){return t&&t.__v_isRef?t.value:t}function R(e){var t=parseFloat(e);return isNaN(t)?e:t}function z(e,t){for(var i=Object.create(null),n=e.split(","),r=0;r<n.length;r++)i[n[r]]=!0;return t?function(e){return i[e.toLowerCase()]}:function(e){return i[e]}}z("slot,component",!0);var O=z("key,ref,slot,slot-scope,is");function U(e,t){var i=e.length;if(i){if(t===e[i-1])return void(e.length=i-1);var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var J=Object.prototype.hasOwnProperty;function j(e,t){return J.call(e,t)}function G(e){var t=Object.create(null);return function(i){return t[i]||(t[i]=e(i))}}var H=/-(\w)/g,K=G((function(e){return e.replace(H,(function(e,t){return t?t.toUpperCase():""}))})),Z=G((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),q=/\B([A-Z])/g,W=G((function(e){return e.replace(q,"-$1").toLowerCase()})),X=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function i(i){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,i):e.call(t)}return i._length=e.length,i};function V(e,t){t=t||0;for(var i=e.length-t,n=new Array(i);i--;)n[i]=e[i+t];return n}function Y(e,t){for(var i in t)e[i]=t[i];return e}function _(e){for(var t={},i=0;i<e.length;i++)e[i]&&Y(t,e[i]);return t}function ee(e,t,i){}var te=function(e,t,i){return!1},ie=function(e){return e};function ne(e,t){if(e===t)return!0;var i=L(e),n=L(t);if(!i||!n)return!i&&!n&&String(e)===String(t);try{var r=Array.isArray(e),o=Array.isArray(t);if(r&&o)return e.length===t.length&&e.every((function(e,i){return ne(e,t[i])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||o)return!1;var s=Object.keys(e),a=Object.keys(t);return s.length===a.length&&s.every((function(i){return ne(e[i],t[i])}))}catch(l){return!1}}function re(e,t){for(var i=0;i<e.length;i++)if(ne(e[i],t))return i;return-1}function oe(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function se(e,t){return e===t?0===e&&1/e!=1/t:e==e||t==t}var ae="data-server-rendered",le=["component","directive","filter"],he=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],de={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:te,isReservedAttr:te,isUnknownElement:te,getTagNamespace:ee,parsePlatformTagName:ie,mustUseProp:te,async:!0,_lifecycleHooks:he};function ce(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function ue(e,t,i,n){Object.defineProperty(e,t,{value:i,enumerable:!!n,writable:!0,configurable:!0})}var pe=new RegExp("[^".concat(/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source,".$_\\d]")),fe="__proto__"in{},me="undefined"!=typeof window,ge=me&&window.navigator.userAgent.toLowerCase(),Ae=ge&&/msie|trident/.test(ge),ve=ge&&ge.indexOf("msie 9.0")>0,ye=ge&&ge.indexOf("edge/")>0;ge&&ge.indexOf("android");var be=ge&&/iphone|ipad|ipod|ios/.test(ge);ge&&/chrome\/\d+/.test(ge),ge&&/phantomjs/.test(ge);var we,xe=ge&&ge.match(/firefox\/(\d+)/),Ce={}.watch,Ee=!1;if(me)try{var ke={};Object.defineProperty(ke,"passive",{get:function(){Ee=!0}}),window.addEventListener("te
|
|||
|
/*!
|
|||
|
|
|||
|
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|||
|
<http://stuartk.com/jszip>
|
|||
|
|
|||
|
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
|||
|
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
|||
|
|
|||
|
JSZip uses the library pako released under the MIT license :
|
|||
|
https://github.com/nodeca/pako/blob/main/LICENSE
|
|||
|
*/Jd.exports=function e(t,i,n){function r(s,a){if(!i[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var h=new Error("Cannot find module '"+s+"'");throw h.code="MODULE_NOT_FOUND",h}var d=i[s]={exports:{}};t[s][0].call(d.exports,(function(e){return r(t[s][1][e]||e)}),d,d.exports,e,t,i,n)}return i[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)r(n[s]);return r}({1:[function(e,t,i){var n=e("./utils"),r=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(e){for(var t,i,r,s,a,l,h,d=[],c=0,u=e.length,p=u,f="string"!==n.getTypeOf(e);c<e.length;)p=u-c,r=f?(t=e[c++],i=c<u?e[c++]:0,c<u?e[c++]:0):(t=e.charCodeAt(c++),i=c<u?e.charCodeAt(c++):0,c<u?e.charCodeAt(c++):0),s=t>>2,a=(3&t)<<4|i>>4,l=1<p?(15&i)<<2|r>>6:64,h=2<p?63&r:64,d.push(o.charAt(s)+o.charAt(a)+o.charAt(l)+o.charAt(h));return d.join("")},i.decode=function(e){var t,i,n,s,a,l,h=0,d=0,c="data:";if(e.substr(0,c.length)===c)throw new Error("Invalid base64 input, it looks like a data url.");var u,p=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&p--,e.charAt(e.length-2)===o.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(u=r.uint8array?new Uint8Array(0|p):new Array(0|p);h<e.length;)t=o.indexOf(e.charAt(h++))<<2|(s=o.indexOf(e.charAt(h++)))>>4,i=(15&s)<<4|(a=o.indexOf(e.charAt(h++)))>>2,n=(3&a)<<6|(l=o.indexOf(e.charAt(h++))),u[d++]=t,64!==a&&(u[d++]=i),64!==l&&(u[d++]=n);return u}},{"./support":30,"./utils":32}],2:[function(e,t,i){var n=e("./external"),r=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),s=e("./stream/DataLengthProbe");function a(e,t,i,n,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=i,this.compression=n,this.compressedContent=r}a.prototype={getContentWorker:function(){var e=new r(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new r(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,i){return e.pipe(new o).pipe(new s("uncompressedSize")).pipe(t.compressWorker(i)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},t.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,i){var n=e("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},i.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,i){var n=e("./utils"),r=function(){for(var e,t=[],i=0;i<256;i++){e=i;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[i]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,i,n){var o=r,s=0+i;e^=-1;for(var a=0;a<s;a++)e=e>>>8^o[255&(e^t[a])];return~e}(0|t,e,e.length):function(e,t,i,n){var o=r,s=0+i;e^=-1;for(var a=0;a<s;a++)e=e>>>8^o[255&(e^t.charCodeAt(a))];return~e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(e,t,i){var n;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,i){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=e("pako"),o=e("./utils"),s=e("./stream/GenericWorker"),a=n?"uint8array":"array";function l(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}i
|
|||
|
/*!
|
|||
|
* jQuery JavaScript Library v3.7.1
|
|||
|
* https://jquery.com/
|
|||
|
*
|
|||
|
* Copyright OpenJS Foundation and other contributors
|
|||
|
* Released under the MIT license
|
|||
|
* https://jquery.org/license
|
|||
|
*
|
|||
|
* Date: 2023-08-28T13:37Z
|
|||
|
*/Wd="undefined"!=typeof window?window:xh,Xd=function(e,t){var i=[],n=Object.getPrototypeOf,r=i.slice,o=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},s=i.push,a=i.indexOf,l={},h=l.toString,d=l.hasOwnProperty,c=d.toString,u=c.call(Object),p={},f=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},m=function(e){return null!=e&&e===e.window},g=e.document,A={type:!0,src:!0,nonce:!0,noModule:!0};function v(e,t,i){var n,r,o=(i=i||g).createElement("script");if(o.text=e,t)for(n in A)(r=t[n]||t.getAttribute&&t.getAttribute(n))&&o.setAttribute(n,r);i.head.appendChild(o).parentNode.removeChild(o)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[h.call(e)]||"object":typeof e}var b="3.7.1",w=/HTML$/i,x=function(e,t){return new x.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,i=y(e);return!f(e)&&!m(e)&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function E(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}x.fn=x.prototype={jquery:b,constructor:x,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,(function(t,i){return e.call(t,i,t)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(i>=0&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:i.sort,splice:i.splice},x.extend=x.fn.extend=function(){var e,t,i,n,r,o,s=arguments[0]||{},a=1,l=arguments.length,h=!1;for("boolean"==typeof s&&(h=s,s=arguments[a]||{},a++),"object"==typeof s||f(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)n=e[t],"__proto__"!==t&&s!==n&&(h&&n&&(x.isPlainObject(n)||(r=Array.isArray(n)))?(i=s[t],o=r&&!Array.isArray(i)?[]:r||x.isPlainObject(i)?i:{},r=!1,s[t]=x.extend(h,o,n)):void 0!==n&&(s[t]=n));return s},x.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,i;return!(!e||"[object Object]"!==h.call(e)||(t=n(e))&&("function"!=typeof(i=d.call(t,"constructor")&&t.constructor)||c.call(i)!==u))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,i){v(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(C(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,i="",n=0,r=e.nodeType;if(!r)for(;t=e[n++];)i+=x.text(t);return 1===r||11===r?e.textContent:9===r?e.documentElement.textContent:3===r||4===r?e.nodeValue:i},makeArray:function(e,t){var i=t||[];return null!=e&&(C(Object(e))?x.merge(i,"string"==typeof e?[e]:e):s.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:a.call(t,e,i)},isXMLDoc:function(e){var t=e&&e.namespaceURI,i=e&&(e.ownerDocument||e).documentElement;return!w.test(t||i&&i.nodeName||"HTML")},merge:function(e,t){for(var i=+t.length,n=0,r=e.length;n<i;n++)e[r++]=t[n];return e.length=r,e},grep:function(e,t,i){for(var n=[],r=0,o=e.length,s=!i;r<o;r++)!t(e[r],r)!==s&&n.push(e[r]);return n},map:function(e,t,i){var n,r,s=0,a=[];if(C(e))for(n=e.length;s<n;s++)null!=(r=t(e[s],s,i))&&a.push(r);else for(s in e)null!=(r=t(e[s],s,i))&&a.push(r);return o(a)},guid:1,support:p}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=i[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){l["[object "+t+"]"]=t.toLowerCase()}));var k=i.pop,I=i.sort,B=i.splice,S="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+S+"+|((?
|
|||
|
/*! markmap-common v0.1.5 | MIT License */class o{constructor(){this.listeners=[]}tap(e){return this.listeners.push(e),()=>this.revoke(e)}revoke(e){const t=this.listeners.indexOf(e);t>=0&&this.listeners.splice(t,1)}revokeAll(){this.listeners.splice(0)}call(...e){for(const t of this.listeners)t(...e)}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}function a(e){return e.replace(/[&<"]/g,(e=>({"&":"&","<":"<",'"':"""}[e])))}function l(e,t){return`<${e}${t?Object.entries(t).map((([e,t])=>{if(null!=t&&!1!==t)return e=` ${a(e)}`,!0===t?e:`${e}="${a(t)}"`})).filter(Boolean).join(""):""}>`}function h(e,t,i){return null==t?l(e,i):l(e,i)+(t||"")+`</${e}>`}function d(e,t){return e.map((e=>{if("script"===e.type)return h("script","",e.data);if("iife"===e.type){const{fn:i,getParams:n}=e.data;return h("script",function(e,t){const i=t.map((e=>"function"==typeof e?e.toString():JSON.stringify(null!=e?e:null))).join(",");return`(${e.toString()})(${i})`}(i,(null==n?void 0:n(t))||[]).replace(/<(\/script>)/g,"\\x3c$2"))}return""}))}function c(e,t,i){const n=document.createElement(e);return t&&Object.entries(t).forEach((([e,t])=>{n[e]=t})),i&&Object.entries(i).forEach((([e,t])=>{n.setAttribute(e,t)})),n}Math.random().toString(36).slice(2,8);const u=function(e){const t={};return function(...i){const n=`${i[0]}`;let r=t[n];return r||(r={value:e(...i)},t[n]=r),r.value}}((e=>{document.head.append(c("link",{rel:"preload",as:"script",href:e}))}));function p(e,t){if("script"===e.type)return new Promise(((t,i)=>{var n;document.head.append(c("script",s({},e.data,{onload:t,onerror:i}))),null!=(n=e.data)&&n.src||t()}));if("iife"===e.type){const{fn:i,getParams:n}=e.data;i(...(null==n?void 0:n(t))||[])}}async function f(e,t){const i=e.filter((e=>{var t;return"script"===e.type&&(null==(t=e.data)?void 0:t.src)}));i.length>1&&i.forEach((e=>u(e.data.src))),t=s({getMarkmap:()=>window.markmap},t);for(const n of e)await p(n,t)}const m=["https://cdn.jsdelivr.net/npm/d3@6.6.0","https://cdn.jsdelivr.net/npm/markmap-view@0.2.6"].map((e=>({type:"script",data:{src:e}})));var g={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",b
|
|||
|
/*! *****************************************************************************
|
|||
|
Copyright (c) Microsoft Corporation.
|
|||
|
Permission to use, copy, modify, and/or distribute this software for any
|
|||
|
purpose with or without fee is hereby granted.
|
|||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|||
|
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 kb=function(e,t){return(kb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},Ib=function(){return(Ib=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Bb(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}var Sb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Db=Object.keys,Lb=Array.isArray;function Mb(e,t){return"object"!=typeof t||Db(t).forEach((function(i){e[i]=t[i]})),e}"undefined"==typeof Promise||Sb.Promise||(Sb.Promise=Promise);var Nb=Object.getPrototypeOf,Tb={}.hasOwnProperty;function Pb(e,t){return Tb.call(e,t)}function Fb(e,t){"function"==typeof t&&(t=t(Nb(e))),("undefined"==typeof Reflect?Db:Reflect.ownKeys)(t).forEach((function(i){Rb(e,i,t[i])}))}var Qb=Object.defineProperty;function Rb(e,t,i,n){Qb(e,t,Mb(i&&Pb(i,"get")&&"function"==typeof i.get?{get:i.get,set:i.set,configurable:!0}:{value:i,configurable:!0,writable:!0},n))}function zb(e){return{from:function(t){return e.prototype=Object.create(t.prototype),Rb(e.prototype,"constructor",e),{extend:Fb.bind(null,e.prototype)}}}}var Ob=Object.getOwnPropertyDescriptor;function Ub(e,t){var i;return Ob(e,t)||(i=Nb(e))&&Ub(i,t)}var Jb=[].slice;function jb(e,t,i){return Jb.call(e,t,i)}function Gb(e,t){return t(e)}function Hb(e){if(!e)throw new Error("Assertion Failed")}function Kb(e){Sb.setImmediate?setImmediate(e):setTimeout(e,0)}function Zb(e,t){return e.reduce((function(e,i,n){var r=t(i,n);return r&&(e[r[0]]=r[1]),e}),{})}function qb(e,t){if("string"==typeof t&&Pb(e,t))return e[t];if(!t)return e;if("string"!=typeof t){for(var i=[],n=0,r=t.length;n<r;++n){var o=qb(e,t[n]);i.push(o)}return i}var s=t.indexOf(".");if(-1!==s){var a=e[t.substr(0,s)];return null==a?void 0:qb(a,t.substr(s+1))}}function Wb(e,t,i){if(e&&void 0!==t&&(!("isFrozen"in Object)||!Object.isFrozen(e)))if("string"!=typeof t&&"length"in t){Hb("string"!=typeof i&&"length"in i);for(var n=0,r=t.length;n<r;++n)Wb(e,t[n],i[n])}else{var o=t.indexOf(".");if(-1!==o){var s=t.substr(0,o),a=t.substr(o+1);if(""===a)void 0===i?Lb(e)&&!isNaN(parseInt(s))?e.splice(s,1):delete e[s]:e[s]=i;else{var l=e[s];l&&Pb(e,s)||(l=e[s]={}),Wb(l,a,i)}}else void 0===i?Lb(e)&&!isNaN(parseInt(t))?e.splice(t,1):delete e[t]:e[t]=i}}function Xb(e){var t={};for(var i in e)Pb(e,i)&&(t[i]=e[i]);return t}var Vb=[].concat;function Yb(e){return Vb.apply([],e)}var _b="BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(Yb([8,16,32,64].map((function(e){return["Int","Uint","Float"].map((function(t){return t+e+"Array"}))})))).filter((function(e){return Sb[e]})),$b=new Set(_b.map((function(e){return Sb[e]})));function ew(e){var t={};for(var i in e)if(Pb(e,i)){var n=e[i];t[i]=!n||"object"!=typeof n||$b.has(n.constructor)?n:ew(n)}return t}var tw=null;function iw(e){tw=new WeakMap;var t=nw(e);return tw=null,t}function nw(e){if(!e||"object"!=typeof e)return e;var t=tw.get(e);if(t)return t;if(Lb(e)){t=[],tw.set(e,t);for(var i=0,n=e.length;i<n;++i)t.push(nw(e[i]))}else if($b.has(e.constructor))t=e;else{var r=Nb(e);for(var o in t=r===Object.prototype?{}:Object.create(r),tw.set(e,t),e)Pb(e,o)&&(t[o]=nw(e[o]))}return t}var rw={}.toString;function ow(e){return rw.call(e).slice(8,-1)}var sw="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator",aw="symbol"==typeof sw?function(e){var t;return null!=e&&(t=e[sw])&&t.apply(e)}:function(){return null};function lw(e,t){var i=e.indexOf(t);return i>=0&&e.splice(i,1),i>=0}var hw={};function dw(e){var t,
|