svgedit/dist/editor/system/extensions/ext-storage/ext-storage.js

22 lines
74 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

System.register([],(function(e){"use strict";return{execute:function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&r.path)}},r.exports),r.exports}var check=function(e){return e&&e.Math==Math&&e},r=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof t&&t)||Function("return this")(),fails=function(e){try{return!!e()}catch(e){return!0}},n=!fails((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),o={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a={f:i&&!o.call({1:2},1)?function propertyIsEnumerable(e){var t=i(this,e);return!!t&&t.enumerable}:o},createPropertyDescriptor=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},c={}.toString,classofRaw=function(e){return c.call(e).slice(8,-1)},u="".split,s=fails((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==classofRaw(e)?u.call(e,""):Object(e)}:Object,requireObjectCoercible=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},toIndexedObject=function(e){return s(requireObjectCoercible(e))},isObject=function(e){return"object"==typeof e?null!==e:"function"==typeof e},toPrimitive=function(e,t){if(!isObject(e))return e;var r,n;if(t&&"function"==typeof(r=e.toString)&&!isObject(n=r.call(e)))return n;if("function"==typeof(r=e.valueOf)&&!isObject(n=r.call(e)))return n;if(!t&&"function"==typeof(r=e.toString)&&!isObject(n=r.call(e)))return n;throw TypeError("Can't convert object to primitive value")},f={}.hasOwnProperty,has=function(e,t){return f.call(e,t)},l=r.document,h=isObject(l)&&isObject(l.createElement),documentCreateElement=function(e){return h?l.createElement(e):{}},p=!n&&!fails((function(){return 7!=Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a})),d=Object.getOwnPropertyDescriptor,y={f:n?d:function getOwnPropertyDescriptor(e,t){if(e=toIndexedObject(e),t=toPrimitive(t,!0),p)try{return d(e,t)}catch(e){}if(has(e,t))return createPropertyDescriptor(!a.f.call(e,t),e[t])}},anObject=function(e){if(!isObject(e))throw TypeError(String(e)+" is not an object");return e},v=Object.defineProperty,g={f:n?v:function defineProperty(e,t,r){if(anObject(e),t=toPrimitive(t,!0),anObject(r),p)try{return v(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},m=n?function(e,t,r){return g.f(e,t,createPropertyDescriptor(1,r))}:function(e,t,r){return e[t]=r,e},setGlobal=function(e,t){try{m(r,e,t)}catch(n){r[e]=t}return t},b="__core-js_shared__",S=r[b]||setGlobal(b,{}),w=Function.toString;"function"!=typeof S.inspectSource&&(S.inspectSource=function(e){return w.call(e)});var x,E,O,P=S.inspectSource,k=r.WeakMap,j="function"==typeof k&&/native code/.test(P(k)),A=createCommonjsModule((function(e){(e.exports=function(e,t){return S[e]||(S[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),L=0,R=Math.random(),uid=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++L+R).toString(36)},_=A("keys"),sharedKey=function(e){return _[e]||(_[e]=uid(e))},I={},T=r.WeakMap;if(j){var C=new T,U=C.get,G=C.has,M=C.set;x=function(e,t){return M.call(C,e,t),t},E=function(e){return U.call(C,e)||{}},O=function(e){return G.call(C,e)}}else{var N=sharedKey("state");I[N]=!0,x=function(e,t){return m(e,N,t),t},E=function(e){return has(e,N)?e[N]:{}},O=function(e){return has(e,N)}}var D={set:x,get:E,has:O,enforce:function(e){return O(e)?E(e):x(e,{})},getterFor:function(e){return function(t){var r;if(!isObject(t)||(r=E(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}},q=createCommonjsModule((function(e){var t=D.get,n=D.enforce,o=String(String).split("String");(e.exports=function(e,t,i,a){var c=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,s=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||has(i,"name")||m(i,"name",t),n(i).source=o.join("string"==typeof t?t:"")),e!==r?(c?!s&&e[t]&&(u=!0):delete e[t],u?e[t]=i:m(e,t,i)):u?e[t]=i:setGlobal(t,i)})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&t(this).source||P(this)}))})),B=r,aFunction=function(e){return"function"==typeof e?e:void 0},getBuiltIn=function(e,t){return arguments.length<2?aFunction(B[e])||aFunction(r[e]):B[e]&&B[e][t]||r[e]&&r[e][t]},V=Math.ceil,$=Math.floor,toInteger=function(e){return isNaN(e=+e)?0:(e>0?$:V)(e)},z=Math.min,toLength=function(e){return e>0?z(toInteger(e),9007199254740991):0},W=Math.max,K=Math.min,toAbsoluteIndex=function(e,t){var r=toInteger(e);return r<0?W(r+t,0):K(r,t)},createMethod=function(e){return function(t,r,n){var o,i=toIndexedObject(t),a=toLength(i.length),c=toAbsoluteIndex(n,a);if(e&&r!=r){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===r)return e||c||0;return!e&&-1}},Y={includes:createMethod(!0),indexOf:createMethod(!1)},H=Y.indexOf,objectKeysInternal=function(e,t){var r,n=toIndexedObject(e),o=0,i=[];for(r in n)!has(I,r)&&has(n,r)&&i.push(r);for(;t.length>o;)has(n,r=t[o++])&&(~H(i,r)||i.push(r));return i},J=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],X=J.concat("length","prototype"),Z={f:Object.getOwnPropertyNames||function getOwnPropertyNames(e){return objectKeysInternal(e,X)}},Q={f:Object.getOwnPropertySymbols},ee=getBuiltIn("Reflect","ownKeys")||function ownKeys(e){var t=Z.f(anObject(e)),r=Q.f;return r?t.concat(r(e)):t},copyConstructorProperties=function(e,t){for(var r=ee(t),n=g.f,o=y.f,i=0;i<r.length;i++){var a=r[i];has(e,a)||n(e,a,o(t,a))}},te=/#|\.prototype\./,isForced=function(e,t){var r=ne[re(e)];return r==ie||r!=oe&&("function"==typeof t?fails(t):!!t)},re=isForced.normalize=function(e){return String(e).replace(te,".").toLowerCase()},ne=isForced.data={},oe=isForced.NATIVE="N",ie=isForced.POLYFILL="P",ae=isForced,ce=y.f,_export=function(e,t){var n,o,i,a,c,u=e.target,s=e.global,f=e.stat;if(n=s?r:f?r[u]||setGlobal(u,{}):(r[u]||{}).prototype)for(o in t){if(a=t[o],i=e.noTargetGet?(c=ce(n,o))&&c.value:n[o],!ae(s?o:u+(f?".":"#")+o,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;copyConstructorProperties(a,i)}(e.sham||i&&i.sham)&&m(a,"sham",!0),q(n,o,a,e)}},aFunction$1=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},functionBindContext=function(e,t,r){if(aFunction$1(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}},toObject=function(e){return Object(requireObjectCoercible(e))},ue=Array.isArray||function isArray(e){return"Array"==classofRaw(e)},se=!!Object.getOwnPropertySymbols&&!fails((function(){return!String(Symbol())})),fe=se&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=A("wks"),he=r.Symbol,pe=fe?he:he&&he.withoutSetter||uid,wellKnownSymbol=function(e){return has(le,e)||(se&&has(he,e)?le[e]=he[e]:le[e]=pe("Symbol."+e)),le[e]},de=wellKnownSymbol("species"),arraySpeciesCreate=function(e,t){var r;return ue(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!ue(r.prototype)?isObject(r)&&null===(r=r[de])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)},ye=[].push,createMethod$1=function(e){var t=1==e,r=2==e,n=3==e,o=4==e,i=6==e,a=5==e||i;return function(c,u,f,l){for(var h,p,d=toObject(c),y=s(d),v=functionBindContext(u,f,3),g=toLength(y.length),m=0,b=l||arraySpeciesCreate,S=t?b(c,g):r?b(c,0):void 0;g>m;m++)if((a||m in y)&&(p=v(h=y[m],m,d),e))if(t)S[m]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return m;case 2:ye.call(S,h)}else if(o)return!1;return i?-1:n||o?o:S}},ve={forEach:createMethod$1(0),map:createMethod$1(1),filter:createMethod$1(2),some:createMethod$1(3),every:createMethod$1(4),find:createMethod$1(5),findIndex:createMethod$1(6)},ge=Object.defineProperty,me={},thrower=function(e){throw e},arrayMethodUsesToLength=function(e,t){if(has(me,e))return me[e];t||(t={});var r=[][e],o=!!has(t,"ACCESSORS")&&t.ACCESSORS,i=has(t,0)?t[0]:thrower,a=has(t,1)?t[1]:void 0;return me[e]=!!r&&!fails((function(){if(o&&!n)return!0;var e={length:-1};o?ge(e,1,{enumerable:!0,get:thrower}):e[1]=1,r.call(e,i,a)}))},be=ve.forEach,Se=function(e,t){var r=[][e];return!!r&&fails((function(){r.call(null,t||function(){throw 1},1)}))}("forEach"),we=arrayMethodUsesToLength("forEach"),xe=Se&&we?[].forEach:function forEach(e){return be(this,e,arguments.length>1?arguments[1]:void 0)};_export({target:"Array",proto:!0,forced:[].forEach!=xe},{forEach:xe});var Ee,Oe=Object.keys||function keys(e){return objectKeysInternal(e,J)},Pe=n?Object.defineProperties:function defineProperties(e,t){anObject(e);for(var r,n=Oe(t),o=n.length,i=0;o>i;)g.f(e,r=n[i++],t[r]);return e},ke=getBuiltIn("document","documentElement"),je=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<script>"+e+"</"+"script>"},NullProtoObject=function(){try{Ee=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;NullProtoObject=Ee?function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Ee):((t=documentCreateElement("iframe")).style.display="none",ke.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(scriptTag("document.F=Object")),e.close(),e.F);for(var r=J.length;r--;)delete NullProtoObject.prototype[J[r]];return NullProtoObject()};I[je]=!0;var Ae=Object.create||function create(e,t){var r;return null!==e?(EmptyConstructor.prototype=anObject(e),r=new EmptyConstructor,EmptyConstructor.prototype=null,r[je]=e):r=NullProtoObject(),void 0===t?r:Pe(r,t)},Le=wellKnownSymbol("unscopables"),Re=Array.prototype;null==Re[Le]&&g.f(Re,Le,{configurable:!0,value:Ae(null)});var addToUnscopables=function(e){Re[Le][e]=!0},_e=Y.includes,Ie=arrayMethodUsesToLength("indexOf",{ACCESSORS:!0,1:0});_export({target:"Array",proto:!0,forced:!Ie},{includes:function includes(e){return _e(this,e,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("includes");var Te,Ce,Ue,Ge={},Fe=!fails((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})),Me=sharedKey("IE_PROTO"),Ne=Object.prototype,De=Fe?Object.getPrototypeOf:function(e){return e=toObject(e),has(e,Me)?e[Me]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Ne:null},qe=wellKnownSymbol("iterator"),Be=!1;[].keys&&("next"in(Ue=[].keys())?(Ce=De(De(Ue)))!==Object.prototype&&(Te=Ce):Be=!0),null==Te&&(Te={}),has(Te,qe)||m(Te,qe,(function(){return this}));var Ve={IteratorPrototype:Te,BUGGY_SAFARI_ITERATORS:Be},$e=g.f,ze=wellKnownSymbol("toStringTag"),setToStringTag=function(e,t,r){e&&!has(e=r?e:e.prototype,ze)&&$e(e,ze,{configurable:!0,value:t})},We=Ve.IteratorPrototype,returnThis$1=function(){return this},createIteratorConstructor=function(e,t,r){var n=t+" Iterator";return e.prototype=Ae(We,{next:createPropertyDescriptor(1,r)}),setToStringTag(e,n,!1),Ge[n]=returnThis$1,e},Ke=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function setPrototypeOf(r,n){return anObject(r),function(e){if(!isObject(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(n),t?e.call(r,n):r.__proto__=n,r}}():void 0),Ye=Ve.IteratorPrototype,He=Ve.BUGGY_SAFARI_ITERATORS,Je=wellKnownSymbol("iterator"),Xe="keys",Ze="values",Qe="entries",returnThis$2=function(){return this},defineIterator=function(e,t,r,n,o,i,a){createIteratorConstructor(r,t,n);var c,u,s,getIterationMethod=function(e){if(e===o&&d)return d;if(!He&&e in h)return h[e];switch(e){case Xe:return function keys(){return new r(this,e)};case Ze:return function values(){return new r(this,e)};case Qe:return function entries(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",l=!1,h=e.prototype,p=h[Je]||h["@@iterator"]||o&&h[o],d=!He&&p||getIterationMethod(o),y="Array"==t&&h.entries||p;if(y&&(c=De(y.call(new e)),Ye!==Object.prototype&&c.next&&(De(c)!==Ye&&(Ke?Ke(c,Ye):"function"!=typeof c[Je]&&m(c,Je,returnThis$2)),setToStringTag(c,f,!0))),o==Ze&&p&&p.name!==Ze&&(l=!0,d=function values(){return p.call(this)}),h[Je]!==d&&m(h,Je,d),Ge[t]=d,o)if(u={values:getIterationMethod(Ze),keys:i?d:getIterationMethod(Xe),entries:getIterationMethod(Qe)},a)for(s in u)(He||l||!(s in h))&&q(h,s,u[s]);else _export({target:t,proto:!0,forced:He||l},u);return u},et="Array Iterator",tt=D.set,rt=D.getterFor(et),nt=defineIterator(Array,"Array",(function(e,t){tt(this,{type:et,target:toIndexedObject(e),index:0,kind:t})}),(function(){var e=rt(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");Ge.Arguments=Ge.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries");var ot=a.f,createMethod$2=function(e){return function(t){for(var r,o=toIndexedObject(t),i=Oe(o),a=i.length,c=0,u=[];a>c;)r=i[c++],n&&!ot.call(o,r)||u.push(e?[r,o[r]]:o[r]);return u}},it={entries:createMethod$2(!0),values:createMethod$2(!1)}.entries;_export({target:"Object",stat:!0},{entries:function entries(e){return it(e)}});var at=fails((function(){Oe(1)}));_export({target:"Object",stat:!0,forced:at},{keys:function keys(e){return Oe(toObject(e))}});var ct={};ct[wellKnownSymbol("toStringTag")]="z";var ut="[object z]"===String(ct),st=wellKnownSymbol("toStringTag"),ft="Arguments"==classofRaw(function(){return arguments}()),lt=ut?classofRaw:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),st))?r:ft?classofRaw(t):"Object"==(n=classofRaw(t))&&"function"==typeof t.callee?"Arguments":n},ht=ut?{}.toString:function toString(){return"[object "+lt(this)+"]"};ut||q(Object.prototype,"toString",ht,{unsafe:!0});var pt=r.Promise,redefineAll=function(e,t,r){for(var n in t)q(e,n,t[n],r);return e},dt=wellKnownSymbol("species"),anInstance=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e},yt=wellKnownSymbol("iterator"),vt=Array.prototype,isArrayIteratorMethod=function(e){return void 0!==e&&(Ge.Array===e||vt[yt]===e)},gt=wellKnownSymbol("iterator"),getIteratorMethod=function(e){if(null!=e)return e[gt]||e["@@iterator"]||Ge[lt(e)]},callWithSafeIterationClosing=function(e,t,r,n){try{return n?t(anObject(r)[0],r[1]):t(r)}catch(t){var o=e.return;throw void 0!==o&&anObject(o.call(e)),t}},mt=createCommonjsModule((function(e){var Result=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,r,n,o){var i,a,c,u,s,f,l,h=functionBindContext(t,r,n?2:1);if(o)i=e;else{if("function"!=typeof(a=getIteratorMethod(e)))throw TypeError("Target is not iterable");if(isArrayIteratorMethod(a)){for(c=0,u=toLength(e.length);u>c;c++)if((s=n?h(anObject(l=e[c])[0],l[1]):h(e[c]))&&s instanceof Result)return s;return new Result(!1)}i=a.call(e)}for(f=i.next;!(l=f.call(i)).done;)if("object"==typeof(s=callWithSafeIterationClosing(i,h,l.value,n))&&s&&s instanceof Result)return s;return new Result(!1)}).stop=function(e){return new Result(!0,e)}})),bt=wellKnownSymbol("iterator"),St=!1;try{var wt=0,xt={next:function(){return{done:!!wt++}},return:function(){St=!0}};xt[bt]=function(){return this},Array.from(xt,(function(){throw 2}))}catch(e){}var Et,Ot,Pt,kt=wellKnownSymbol("species"),jt=getBuiltIn("navigator","userAgent")||"",At=/(iphone|ipod|ipad).*applewebkit/i.test(jt),Lt=r.location,Rt=r.setImmediate,_t=r.clearImmediate,It=r.process,Tt=r.MessageChannel,Ct=r.Dispatch,Ut=0,Gt={},Ft="onreadystatechange",run=function(e){if(Gt.hasOwnProperty(e)){var t=Gt[e];delete Gt[e],t()}},runner=function(e){return function(){run(e)}},listener=function(e){run(e.data)},post=function(e){r.postMessage(e+"",Lt.protocol+"//"+Lt.host)};Rt&&_t||(Rt=function setImmediate(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return Gt[++Ut]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},Et(Ut),Ut},_t=function clearImmediate(e){delete Gt[e]},"process"==classofRaw(It)?Et=function(e){It.nextTick(runner(e))}:Ct&&Ct.now?Et=function(e){Ct.now(runner(e))}:Tt&&!At?(Pt=(Ot=new Tt).port2,Ot.port1.onmessage=listener,Et=functionBindContext(Pt.postMessage,Pt,1)):!r.addEventListener||"function"!=typeof postMessage||r.importScripts||fails(post)||"file:"===Lt.protocol?Et=Ft in documentCreateElement("script")?function(e){ke.appendChild(documentCreateElement("script")).onreadystatechange=function(){ke.removeChild(this),run(e)}}:function(e){setTimeout(runner(e),0)}:(Et=post,r.addEventListener("message",listener,!1)));var Mt,Nt,Dt,qt,Bt,Vt,$t,zt,Wt={set:Rt,clear:_t},Kt=y.f,Yt=Wt.set,Ht=r.MutationObserver||r.WebKitMutationObserver,Jt=r.process,Xt=r.Promise,Zt="process"==classofRaw(Jt),Qt=Kt(r,"queueMicrotask"),er=Qt&&Qt.value;er||(Mt=function(){var e,t;for(Zt&&(e=Jt.domain)&&e.exit();Nt;){t=Nt.fn,Nt=Nt.next;try{t()}catch(e){throw Nt?qt():Dt=void 0,e}}Dt=void 0,e&&e.enter()},Zt?qt=function(){Jt.nextTick(Mt)}:Ht&&!At?(Bt=!0,Vt=document.createTextNode(""),new Ht(Mt).observe(Vt,{characterData:!0}),qt=function(){Vt.data=Bt=!Bt}):Xt&&Xt.resolve?($t=Xt.resolve(void 0),zt=$t.then,qt=function(){zt.call($t,Mt)}):qt=function(){Yt.call(r,Mt)});var tr,rr,nr=er||function(e){var t={fn:e,next:void 0};Dt&&(Dt.next=t),Nt||(Nt=t,qt()),Dt=t},PromiseCapability=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=aFunction$1(t),this.reject=aFunction$1(r)},or={f:function(e){return new PromiseCapability(e)}},promiseResolve=function(e,t){if(anObject(e),isObject(t)&&t.constructor===e)return t;var r=or.f(e);return(0,r.resolve)(t),r.promise},perform=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},ir=r.process,ar=ir&&ir.versions,cr=ar&&ar.v8;cr?rr=(tr=cr.split("."))[0]+tr[1]:jt&&(!(tr=jt.match(/Edge\/(\d+)/))||tr[1]>=74)&&(tr=jt.match(/Chrome\/(\d+)/))&&(rr=tr[1]);var ur,sr,fr,lr,hr=rr&&+rr,pr=Wt.set,dr=wellKnownSymbol("species"),yr="Promise",vr=D.get,gr=D.set,mr=D.getterFor(yr),br=pt,Sr=r.TypeError,wr=r.document,xr=r.process,Er=getBuiltIn("fetch"),Or=or.f,Pr=Or,kr="process"==classofRaw(xr),jr=!!(wr&&wr.createEvent&&r.dispatchEvent),Ar="unhandledrejection",Lr=ae(yr,(function(){if(!(P(br)!==String(br))){if(66===hr)return!0;if(!kr&&"function"!=typeof PromiseRejectionEvent)return!0}if(hr>=51&&/native code/.test(br))return!1;var e=br.resolve(1),FakePromise=function(e){e((function(){}),(function(){}))};return(e.constructor={})[dr]=FakePromise,!(e.then((function(){}))instanceof FakePromise)})),Rr=Lr||!function(e,t){if(!t&&!St)return!1;var r=!1;try{var n={};n[bt]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}((function(e){br.all(e).catch((function(){}))})),isThenable=function(e){var t;return!(!isObject(e)||"function"!=typeof(t=e.then))&&t},notify$1=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;nr((function(){for(var o=t.value,i=1==t.state,a=0;n.length>a;){var c,u,s,f=n[a++],l=i?f.ok:f.fail,h=f.resolve,p=f.reject,d=f.domain;try{l?(i||(2===t.rejection&&onHandleUnhandled(e,t),t.rejection=1),!0===l?c=o:(d&&d.enter(),c=l(o),d&&(d.exit(),s=!0)),c===f.promise?p(Sr("Promise-chain cycle")):(u=isThenable(c))?u.call(c,h,p):h(c)):p(o)}catch(e){d&&!s&&d.exit(),p(e)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&onUnhandled(e,t)}))}},dispatchEvent=function(e,t,n){var o,i;jr?((o=wr.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),r.dispatchEvent(o)):o={promise:t,reason:n},(i=r["on"+e])?i(o):e===Ar&&function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},onUnhandled=function(e,t){pr.call(r,(function(){var r,n=t.value;if(isUnhandled(t)&&(r=perform((function(){kr?xr.emit("unhandledRejection",n,e):dispatchEvent(Ar,e,n)})),t.rejection=kr||isUnhandled(t)?2:1,r.error))throw r.value}))},isUnhandled=function(e){return 1!==e.rejection&&!e.parent},onHandleUnhandled=function(e,t){pr.call(r,(function(){kr?xr.emit("rejectionHandled",e):dispatchEvent("rejectionhandled",e,t.value)}))},bind=function(e,t,r,n){return function(o){e(t,r,o,n)}},internalReject=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,notify$1(e,t,!0))},internalResolve=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw Sr("Promise can't be resolved itself");var o=isThenable(r);o?nr((function(){var n={done:!1};try{o.call(r,bind(internalResolve,e,n,t),bind(internalReject,e,n,t))}catch(r){internalReject(e,n,r,t)}})):(t.value=r,t.state=1,notify$1(e,t,!1))}catch(r){internalReject(e,{done:!1},r,t)}}};Lr&&(br=function Promise(e){anInstance(this,br,yr),aFunction$1(e),ur.call(this);var t=vr(this);try{e(bind(internalResolve,this,t),bind(internalReject,this,t))}catch(e){internalReject(this,t,e)}},(ur=function Promise(e){gr(this,{type:yr,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=redefineAll(br.prototype,{then:function then(e,t){var r,n,o,i=mr(this),a=Or((r=br,void 0===(o=anObject(this).constructor)||null==(n=anObject(o)[kt])?r:aFunction$1(n)));return a.ok="function"!=typeof e||e,a.fail="function"==typeof t&&t,a.domain=kr?xr.domain:void 0,i.parent=!0,i.reactions.push(a),0!=i.state&&notify$1(this,i,!1),a.promise},catch:function(e){return this.then(void 0,e)}}),sr=function(){var e=new ur,t=vr(e);this.promise=e,this.resolve=bind(internalResolve,e,t),this.reject=bind(internalReject,e,t)},or.f=Or=function(e){return e===br||e===fr?new sr(e):Pr(e)},"function"==typeof pt&&(lr=pt.prototype.then,q(pt.prototype,"then",(function then(e,t){var r=this;return new br((function(e,t){lr.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Er&&_export({global:!0,enumerable:!0,forced:!0},{fetch:function fetch(e){return promiseResolve(br,Er.apply(r,arguments))}}))),_export({global:!0,wrap:!0,forced:Lr},{Promise:br}),setToStringTag(br,yr,!1),function(e){var t=getBuiltIn(e),r=g.f;n&&t&&!t[dt]&&r(t,dt,{configurable:!0,get:function(){return this}})}(yr),fr=getBuiltIn(yr),_export({target:yr,stat:!0,forced:Lr},{reject:function reject(e){var t=Or(this);return t.reject.call(void 0,e),t.promise}}),_export({target:yr,stat:!0,forced:Lr},{resolve:function resolve(e){return promiseResolve(this,e)}}),_export({target:yr,stat:!0,forced:Rr},{all:function all(e){var t=this,r=Or(t),n=r.resolve,o=r.reject,i=perform((function(){var r=aFunction$1(t.resolve),i=[],a=0,c=1;mt(e,(function(e){var u=a++,s=!1;i.push(void 0),c++,r.call(t,e).then((function(e){s||(s=!0,i[u]=e,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function race(e){var t=this,r=Or(t),n=r.reject,o=perform((function(){var o=aFunction$1(t.resolve);mt(e,(function(e){o.call(t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var regexpFlags=function(){var e=anObject(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function RE(e,t){return RegExp(e,t)}var _r,Ir,Tr={UNSUPPORTED_Y:fails((function(){var e=RE("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:fails((function(){var e=RE("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},Cr=RegExp.prototype.exec,Ur=String.prototype.replace,Gr=Cr,Fr=(_r=/a/,Ir=/b*/g,Cr.call(_r,"a"),Cr.call(Ir,"a"),0!==_r.lastIndex||0!==Ir.lastIndex),Mr=Tr.UNSUPPORTED_Y||Tr.BROKEN_CARET,Nr=void 0!==/()??/.exec("")[1];(Fr||Nr||Mr)&&(Gr=function exec(e){var t,r,n,o,i=this,a=Mr&&i.sticky,c=regexpFlags.call(i),u=i.source,s=0,f=e;return a&&(-1===(c=c.replace("y","")).indexOf("g")&&(c+="g"),f=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(u="(?: "+u+")",f=" "+f,s++),r=new RegExp("^(?:"+u+")",c)),Nr&&(r=new RegExp("^"+u+"$(?!\\s)",c)),Fr&&(t=i.lastIndex),n=Cr.call(a?r:i,f),a?n?(n.input=n.input.slice(s),n[0]=n[0].slice(s),n.index=i.lastIndex,i.lastIndex+=n[0].length):i.lastIndex=0:Fr&&n&&(i.lastIndex=i.global?n.index+n[0].length:t),Nr&&n&&n.length>1&&Ur.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n});var Dr=Gr;_export({target:"RegExp",proto:!0,forced:/./.exec!==Dr},{exec:Dr});var qr=wellKnownSymbol("match"),notARegexp=function(e){if(function(e){var t;return isObject(e)&&(void 0!==(t=e[qr])?!!t:"RegExp"==classofRaw(e))}(e))throw TypeError("The method doesn't accept regular expressions");return e},Br=wellKnownSymbol("match");_export({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Br]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function includes(e){return!!~String(requireObjectCoercible(this)).indexOf(notARegexp(e),arguments.length>1?arguments[1]:void 0)}});var createMethod$3=function(e){return function(t,r){var n,o,i=String(requireObjectCoercible(t)),a=toInteger(r),c=i.length;return a<0||a>=c?e?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):n:e?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},Vr={codeAt:createMethod$3(!1),charAt:createMethod$3(!0)},$r=Vr.charAt,zr="String Iterator",Wr=D.set,Kr=D.getterFor(zr);defineIterator(String,"String",(function(e){Wr(this,{type:zr,string:String(e),index:0})}),(function next(){var e,t=Kr(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=$r(r,n),t.index+=e.length,{value:e,done:!1})}));var Yr=wellKnownSymbol("species"),Hr=!fails((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Jr="$0"==="a".replace(/./,"$0"),Xr=wellKnownSymbol("replace"),Zr=!!/./[Xr]&&""===/./[Xr]("a","$0"),Qr=!fails((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),fixRegexpWellKnownSymbolLogic=function(e,t,r,n){var o=wellKnownSymbol(e),i=!fails((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!fails((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Yr]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return t=!0,null},r[o](""),!t}));if(!i||!a||"replace"===e&&(!Hr||!Jr||Zr)||"split"===e&&!Qr){var c=/./[o],u=r(o,""[e],(function(e,t,r,n,o){return t.exec===Dr?i&&!o?{done:!0,value:c.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:Jr,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Zr}),s=u[0],f=u[1];q(String.prototype,e,s),q(RegExp.prototype,o,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)})}n&&m(RegExp.prototype[o],"sham",!0)},en=Vr.charAt,advanceStringIndex=function(e,t,r){return t+(r?en(e,t).length:1)},regexpExecAbstract=function(e,t){var r=e.exec;if("function"==typeof r){var n=r.call(e,t);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==classofRaw(e))throw TypeError("RegExp#exec called on incompatible receiver");return Dr.call(e,t)};fixRegexpWellKnownSymbolLogic("match",1,(function(e,t,r){return[function match(t){var r=requireObjectCoercible(this),n=null==t?void 0:t[e];return void 0!==n?n.call(t,r):new RegExp(t)[e](String(r))},function(e){var n=r(t,e,this);if(n.done)return n.value;var o=anObject(e),i=String(this);if(!o.global)return regexpExecAbstract(o,i);var a=o.unicode;o.lastIndex=0;for(var c,u=[],s=0;null!==(c=regexpExecAbstract(o,i));){var f=String(c[0]);u[s]=f,""===f&&(o.lastIndex=advanceStringIndex(i,toLength(o.lastIndex),a)),s++}return 0===s?null:u}]}));var tn=Math.max,rn=Math.min,nn=Math.floor,on=/\$([$&'`]|\d\d?|<[^>]*>)/g,an=/\$([$&'`]|\d\d?)/g;fixRegexpWellKnownSymbolLogic("replace",2,(function(e,t,r,n){var o=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=n.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function replace(r,n){var o=requireObjectCoercible(this),i=null==r?void 0:r[e];return void 0!==i?i.call(r,o,n):t.call(String(o),r,n)},function(e,n){if(!o&&i||"string"==typeof n&&-1===n.indexOf(a)){var c=r(t,e,this,n);if(c.done)return c.value}var u=anObject(e),s=String(this),f="function"==typeof n;f||(n=String(n));var l=u.global;if(l){var h=u.unicode;u.lastIndex=0}for(var p=[];;){var d=regexpExecAbstract(u,s);if(null===d)break;if(p.push(d),!l)break;""===String(d[0])&&(u.lastIndex=advanceStringIndex(s,toLength(u.lastIndex),h))}for(var y,v="",g=0,m=0;m<p.length;m++){d=p[m];for(var b=String(d[0]),S=tn(rn(toInteger(d.index),s.length),0),w=[],x=1;x<d.length;x++)w.push(void 0===(y=d[x])?y:String(y));var E=d.groups;if(f){var O=[b].concat(w,S,s);void 0!==E&&O.push(E);var P=String(n.apply(void 0,O))}else P=getSubstitution(b,s,S,w,E,n);S>=g&&(v+=s.slice(g,S)+P,g=S+b.length)}return v+s.slice(g)}];function getSubstitution(e,r,n,o,i,a){var c=n+e.length,u=o.length,s=an;return void 0!==i&&(i=toObject(i),s=on),t.call(a,s,(function(t,a){var s;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return r.slice(0,n);case"'":return r.slice(c);case"<":s=i[a.slice(1,-1)];break;default:var f=+a;if(0===f)return t;if(f>u){var l=nn(f/10);return 0===l?t:l<=u?void 0===o[l-1]?a.charAt(1):o[l-1]+a.charAt(1):t}s=o[f-1]}return void 0===s?"":s}))}}));var cn={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var un in cn){var sn=r[un],fn=sn&&sn.prototype;if(fn&&fn.forEach!==xe)try{m(fn,"forEach",xe)}catch(e){fn.forEach=xe}}var ln=wellKnownSymbol("iterator"),hn=wellKnownSymbol("toStringTag"),pn=nt.values;for(var dn in cn){var yn=r[dn],vn=yn&&yn.prototype;if(vn){if(vn[ln]!==pn)try{m(vn,ln,pn)}catch(e){vn[ln]=pn}if(vn[hn]||m(vn,hn,dn),cn[dn])for(var gn in nt)if(vn[gn]!==nt[gn])try{m(vn,gn,nt[gn])}catch(e){vn[gn]=nt[gn]}}}var mn=wellKnownSymbol("iterator"),bn=!fails((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[mn]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),Sn=Object.assign,wn=Object.defineProperty,xn=!Sn||fails((function(){if(n&&1!==Sn({b:1},Sn(wn({},"a",{enumerable:!0,get:function(){wn(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!=Sn({},e)[r]||Oe(Sn({},t)).join("")!=o}))?function assign(e,t){for(var r=toObject(e),o=arguments.length,i=1,c=Q.f,u=a.f;o>i;)for(var f,l=s(arguments[i++]),h=c?Oe(l).concat(c(l)):Oe(l),p=h.length,d=0;p>d;)f=h[d++],n&&!u.call(l,f)||(r[f]=l[f]);return r}:Sn,createProperty=function(e,t,r){var n=toPrimitive(t);n in e?g.f(e,n,createPropertyDescriptor(0,r)):e[n]=r},En=function from(e){var t,r,n,o,i,a,c=toObject(e),u="function"==typeof this?this:Array,s=arguments.length,f=s>1?arguments[1]:void 0,l=void 0!==f,h=getIteratorMethod(c),p=0;if(l&&(f=functionBindContext(f,s>2?arguments[2]:void 0,2)),null==h||u==Array&&isArrayIteratorMethod(h))for(r=new u(t=toLength(c.length));t>p;p++)a=l?f(c[p],p):c[p],createProperty(r,p,a);else for(i=(o=h.call(c)).next,r=new u;!(n=i.call(o)).done;p++)a=l?callWithSafeIterationClosing(o,f,[n.value,p],!0):n.value,createProperty(r,p,a);return r.length=p,r},On=2147483647,Pn=/[^\0-\u007E]/,kn=/[.\u3002\uFF0E\uFF61]/g,jn="Overflow: input needs wider integers to process",An=Math.floor,Ln=String.fromCharCode,digitToBasic=function(e){return e+22+75*(e<26)},adapt=function(e,t,r){var n=0;for(e=r?An(e/700):e>>1,e+=An(e/t);e>455;n+=36)e=An(e/35);return An(n+36*e/(e+38))},encode=function(e){var t,r,n=[],o=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),r--)}else t.push(o)}return t}(e)).length,i=128,a=0,c=72;for(t=0;t<e.length;t++)(r=e[t])<128&&n.push(Ln(r));var u=n.length,s=u;for(u&&n.push("-");s<o;){var f=On;for(t=0;t<e.length;t++)(r=e[t])>=i&&r<f&&(f=r);var l=s+1;if(f-i>An((On-a)/l))throw RangeError(jn);for(a+=(f-i)*l,i=f,t=0;t<e.length;t++){if((r=e[t])<i&&++a>On)throw RangeError(jn);if(r==i){for(var h=a,p=36;;p+=36){var d=p<=c?1:p>=c+26?26:p-c;if(h<d)break;var y=h-d,v=36-d;n.push(Ln(digitToBasic(d+y%v))),h=An(y/v)}n.push(Ln(digitToBasic(h))),c=adapt(a,l,s==u),a=0,++s}}++a,++i}return n.join("")},getIterator=function(e){var t=getIteratorMethod(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return anObject(t.call(e))},Rn=getBuiltIn("fetch"),_n=getBuiltIn("Headers"),In=wellKnownSymbol("iterator"),Tn="URLSearchParams",Cn="URLSearchParamsIterator",Un=D.set,Gn=D.getterFor(Tn),Fn=D.getterFor(Cn),Mn=/\+/g,Nn=Array(4),percentSequence=function(e){return Nn[e-1]||(Nn[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},percentDecode=function(e){try{return decodeURIComponent(e)}catch(t){return e}},deserialize=function(e){var t=e.replace(Mn," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(percentSequence(r--),percentDecode);return t}},Dn=/[!'()~]|%20/g,qn={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},replacer=function(e){return qn[e]},serialize=function(e){return encodeURIComponent(e).replace(Dn,replacer)},parseSearchParams=function(e,t){if(t)for(var r,n,o=t.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),e.push({key:deserialize(n.shift()),value:deserialize(n.join("="))}))},updateSearchParams=function(e){this.entries.length=0,parseSearchParams(this.entries,e)},validateArgumentsLength=function(e,t){if(e<t)throw TypeError("Not enough arguments")},Bn=createIteratorConstructor((function Iterator(e,t){Un(this,{type:Cn,iterator:getIterator(Gn(e).entries),kind:t})}),"Iterator",(function next(){var e=Fn(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),Vn=function URLSearchParams(){anInstance(this,Vn,Tn);var e,t,r,n,o,i,a,c,u,s=arguments.length>0?arguments[0]:void 0,f=this,l=[];if(Un(f,{type:Tn,entries:l,updateURL:function(){},updateSearchParams:updateSearchParams}),void 0!==s)if(isObject(s))if("function"==typeof(e=getIteratorMethod(s)))for(r=(t=e.call(s)).next;!(n=r.call(t)).done;){if((a=(i=(o=getIterator(anObject(n.value))).next).call(o)).done||(c=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");l.push({key:a.value+"",value:c.value+""})}else for(u in s)has(s,u)&&l.push({key:u,value:s[u]+""});else parseSearchParams(l,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},$n=Vn.prototype;redefineAll($n,{append:function append(e,t){validateArgumentsLength(arguments.length,2);var r=Gn(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){validateArgumentsLength(arguments.length,1);for(var t=Gn(this),r=t.entries,n=e+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;t.updateURL()},get:function get(e){validateArgumentsLength(arguments.length,1);for(var t=Gn(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function getAll(e){validateArgumentsLength(arguments.length,1);for(var t=Gn(this).entries,r=e+"",n=[],o=0;o<t.length;o++)t[o].key===r&&n.push(t[o].value);return n},has:function has(e){validateArgumentsLength(arguments.length,1);for(var t=Gn(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function set(e,t){validateArgumentsLength(arguments.length,1);for(var r,n=Gn(this),o=n.entries,i=!1,a=e+"",c=t+"",u=0;u<o.length;u++)(r=o[u]).key===a&&(i?o.splice(u--,1):(i=!0,r.value=c));i||o.push({key:a,value:c}),n.updateURL()},sort:function sort(){var e,t,r,n=Gn(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(e=i[r],t=0;t<r;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===r&&o.push(e)}n.updateURL()},forEach:function forEach(e){for(var t,r=Gn(this).entries,n=functionBindContext(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function keys(){return new Bn(this,"keys")},values:function values(){return new Bn(this,"values")},entries:function entries(){return new Bn(this,"entries")}},{enumerable:!0}),q($n,In,$n.entries),q($n,"toString",(function toString(){for(var e,t=Gn(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(serialize(e.key)+"="+serialize(e.value));return r.join("&")}),{enumerable:!0}),setToStringTag(Vn,Tn),_export({global:!0,forced:!bn},{URLSearchParams:Vn}),bn||"function"!=typeof Rn||"function"!=typeof _n||_export({global:!0,enumerable:!0,forced:!0},{fetch:function fetch(e){var t,r,n,o=[e];return arguments.length>1&&(isObject(t=arguments[1])&&(r=t.body,lt(r)===Tn&&((n=t.headers?new _n(t.headers):new _n).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=Ae(t,{body:createPropertyDescriptor(0,String(r)),headers:createPropertyDescriptor(0,n)}))),o.push(t)),Rn.apply(this,o)}});var zn,Wn={URLSearchParams:Vn,getState:Gn},Kn=Vr.codeAt,Yn=r.URL,Hn=Wn.URLSearchParams,Jn=Wn.getState,Xn=D.set,Zn=D.getterFor("URL"),Qn=Math.floor,eo=Math.pow,to="Invalid scheme",ro="Invalid host",no="Invalid port",oo=/[A-Za-z]/,io=/[\d+-.A-Za-z]/,ao=/\d/,co=/^(0x|0X)/,uo=/^[0-7]+$/,so=/^\d+$/,fo=/^[\dA-Fa-f]+$/,lo=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,ho=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,po=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,yo=/[\u0009\u000A\u000D]/g,parseHost=function(e,t){var r,n,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return ro;if(!(r=parseIPv6(t.slice(1,-1))))return ro;e.host=r}else if(isSpecial(e)){if(t=function(e){var t,r,n=[],o=e.toLowerCase().replace(kn,".").split(".");for(t=0;t<o.length;t++)r=o[t],n.push(Pn.test(r)?"xn--"+encode(r):r);return n.join(".")}(t),lo.test(t))return ro;if(null===(r=parseIPv4(t)))return ro;e.host=r}else{if(ho.test(t))return ro;for(r="",n=En(t),o=0;o<n.length;o++)r+=percentEncode(n[o],vo);e.host=r}},parseIPv4=function(e){var t,r,n,o,i,a,c,u=e.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=u[n]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=co.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?so:8==i?uo:fo).test(o))return e;a=parseInt(o,i)}r.push(a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=eo(256,5-t))return null}else if(a>255)return null;for(c=r.pop(),n=0;n<r.length;n++)c+=r[n]*eo(256,3-n);return c},parseIPv6=function(e){var t,r,n,o,i,a,c,u=[0,0,0,0,0,0,0,0],s=0,f=null,l=0,char=function(){return e.charAt(l)};if(":"==char()){if(":"!=e.charAt(1))return;l+=2,f=++s}for(;char();){if(8==s)return;if(":"!=char()){for(t=r=0;r<4&&fo.test(char());)t=16*t+parseInt(char(),16),l++,r++;if("."==char()){if(0==r)return;if(l-=r,s>6)return;for(n=0;char();){if(o=null,n>0){if(!("."==char()&&n<4))return;l++}if(!ao.test(char()))return;for(;ao.test(char());){if(i=parseInt(char(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}u[s]=256*u[s]+o,2!=++n&&4!=n||s++}if(4!=n)return;break}if(":"==char()){if(l++,!char())return}else if(char())return;u[s++]=t}else{if(null!==f)return;l++,f=++s}}if(null!==f)for(a=s-f,s=7;0!=s&&a>0;)c=u[s],u[s--]=u[f+a-1],u[f+--a]=c;else if(8!=s)return;return u},serializeHost=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=Qn(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},vo={},go=xn({},vo,{" ":1,'"':1,"<":1,">":1,"`":1}),mo=xn({},go,{"#":1,"?":1,"{":1,"}":1}),bo=xn({},mo,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(e,t){var r=Kn(e,0);return r>32&&r<127&&!has(t,e)?e:encodeURIComponent(e)},So={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isSpecial=function(e){return has(So,e.scheme)},includesCredentials=function(e){return""!=e.username||""!=e.password},cannotHaveUsernamePasswordPort=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},isWindowsDriveLetter=function(e,t){var r;return 2==e.length&&oo.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},startsWithWindowsDriveLetter=function(e){var t;return e.length>1&&isWindowsDriveLetter(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},shortenURLsPath=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&isWindowsDriveLetter(t[0],!0)||t.pop()},isSingleDot=function(e){return"."===e||"%2e"===e.toLowerCase()},wo={},xo={},Eo={},Oo={},Po={},ko={},jo={},Ao={},Lo={},Ro={},_o={},Io={},To={},Co={},Uo={},Go={},Fo={},Mo={},No={},Do={},qo={},parseURL=function(e,t,r,n){var o,i,a,c,u,s=r||wo,f=0,l="",h=!1,p=!1,d=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(po,"")),t=t.replace(yo,""),o=En(t);f<=o.length;){switch(i=o[f],s){case wo:if(!i||!oo.test(i)){if(r)return to;s=Eo;continue}l+=i.toLowerCase(),s=xo;break;case xo:if(i&&(io.test(i)||"+"==i||"-"==i||"."==i))l+=i.toLowerCase();else{if(":"!=i){if(r)return to;l="",s=Eo,f=0;continue}if(r&&(isSpecial(e)!=has(So,l)||"file"==l&&(includesCredentials(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=l,r)return void(isSpecial(e)&&So[e.scheme]==e.port&&(e.port=null));l="","file"==e.scheme?s=Co:isSpecial(e)&&n&&n.scheme==e.scheme?s=Oo:isSpecial(e)?s=Ao:"/"==o[f+1]?(s=Po,f++):(e.cannotBeABaseURL=!0,e.path.push(""),s=No)}break;case Eo:if(!n||n.cannotBeABaseURL&&"#"!=i)return to;if(n.cannotBeABaseURL&&"#"==i){e.scheme=n.scheme,e.path=n.path.slice(),e.query=n.query,e.fragment="",e.cannotBeABaseURL=!0,s=qo;break}s="file"==n.scheme?Co:ko;continue;case Oo:if("/"!=i||"/"!=o[f+1]){s=ko;continue}s=Lo,f++;break;case Po:if("/"==i){s=Ro;break}s=Mo;continue;case ko:if(e.scheme=n.scheme,i==zn)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query;else if("/"==i||"\\"==i&&isSpecial(e))s=jo;else if("?"==i)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query="",s=Do;else{if("#"!=i){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.path.pop(),s=Mo;continue}e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query,e.fragment="",s=qo}break;case jo:if(!isSpecial(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,s=Mo;continue}s=Ro}else s=Lo;break;case Ao:if(s=Lo,"/"!=i||"/"!=l.charAt(f+1))continue;f++;break;case Lo:if("/"!=i&&"\\"!=i){s=Ro;continue}break;case Ro:if("@"==i){h&&(l="%40"+l),h=!0,a=En(l);for(var y=0;y<a.length;y++){var v=a[y];if(":"!=v||d){var g=percentEncode(v,bo);d?e.password+=g:e.username+=g}else d=!0}l=""}else if(i==zn||"/"==i||"?"==i||"#"==i||"\\"==i&&isSpecial(e)){if(h&&""==l)return"Invalid authority";f-=En(l).length+1,l="",s=_o}else l+=i;break;case _o:case Io:if(r&&"file"==e.scheme){s=Go;continue}if(":"!=i||p){if(i==zn||"/"==i||"?"==i||"#"==i||"\\"==i&&isSpecial(e)){if(isSpecial(e)&&""==l)return ro;if(r&&""==l&&(includesCredentials(e)||null!==e.port))return;if(c=parseHost(e,l))return c;if(l="",s=Fo,r)return;continue}"["==i?p=!0:"]"==i&&(p=!1),l+=i}else{if(""==l)return ro;if(c=parseHost(e,l))return c;if(l="",s=To,r==Io)return}break;case To:if(!ao.test(i)){if(i==zn||"/"==i||"?"==i||"#"==i||"\\"==i&&isSpecial(e)||r){if(""!=l){var m=parseInt(l,10);if(m>65535)return no;e.port=isSpecial(e)&&m===So[e.scheme]?null:m,l=""}if(r)return;s=Fo;continue}return no}l+=i;break;case Co:if(e.scheme="file","/"==i||"\\"==i)s=Uo;else{if(!n||"file"!=n.scheme){s=Mo;continue}if(i==zn)e.host=n.host,e.path=n.path.slice(),e.query=n.query;else if("?"==i)e.host=n.host,e.path=n.path.slice(),e.query="",s=Do;else{if("#"!=i){startsWithWindowsDriveLetter(o.slice(f).join(""))||(e.host=n.host,e.path=n.path.slice(),shortenURLsPath(e)),s=Mo;continue}e.host=n.host,e.path=n.path.slice(),e.query=n.query,e.fragment="",s=qo}}break;case Uo:if("/"==i||"\\"==i){s=Go;break}n&&"file"==n.scheme&&!startsWithWindowsDriveLetter(o.slice(f).join(""))&&(isWindowsDriveLetter(n.path[0],!0)?e.path.push(n.path[0]):e.host=n.host),s=Mo;continue;case Go:if(i==zn||"/"==i||"\\"==i||"?"==i||"#"==i){if(!r&&isWindowsDriveLetter(l))s=Mo;else if(""==l){if(e.host="",r)return;s=Fo}else{if(c=parseHost(e,l))return c;if("localhost"==e.host&&(e.host=""),r)return;l="",s=Fo}continue}l+=i;break;case Fo:if(isSpecial(e)){if(s=Mo,"/"!=i&&"\\"!=i)continue}else if(r||"?"!=i)if(r||"#"!=i){if(i!=zn&&(s=Mo,"/"!=i))continue}else e.fragment="",s=qo;else e.query="",s=Do;break;case Mo:if(i==zn||"/"==i||"\\"==i&&isSpecial(e)||!r&&("?"==i||"#"==i)){if(".."===(u=(u=l).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(shortenURLsPath(e),"/"==i||"\\"==i&&isSpecial(e)||e.path.push("")):isSingleDot(l)?"/"==i||"\\"==i&&isSpecial(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&isWindowsDriveLetter(l)&&(e.host&&(e.host=""),l=l.charAt(0)+":"),e.path.push(l)),l="","file"==e.scheme&&(i==zn||"?"==i||"#"==i))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==i?(e.query="",s=Do):"#"==i&&(e.fragment="",s=qo)}else l+=percentEncode(i,mo);break;case No:"?"==i?(e.query="",s=Do):"#"==i?(e.fragment="",s=qo):i!=zn&&(e.path[0]+=percentEncode(i,vo));break;case Do:r||"#"!=i?i!=zn&&("'"==i&&isSpecial(e)?e.query+="%27":e.query+="#"==i?"%23":percentEncode(i,vo)):(e.fragment="",s=qo);break;case qo:i!=zn&&(e.fragment+=percentEncode(i,go))}f++}},Bo=function URL(e){var t,r,o=anInstance(this,Bo,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),c=Xn(o,{type:"URL"});if(void 0!==i)if(i instanceof Bo)t=Zn(i);else if(r=parseURL(t={},String(i)))throw TypeError(r);if(r=parseURL(c,a,null,t))throw TypeError(r);var u=c.searchParams=new Hn,s=Jn(u);s.updateSearchParams(c.query),s.updateURL=function(){c.query=String(u)||null},n||(o.href=serializeURL.call(o),o.origin=getOrigin.call(o),o.protocol=getProtocol.call(o),o.username=getUsername.call(o),o.password=getPassword.call(o),o.host=getHost.call(o),o.hostname=getHostname.call(o),o.port=getPort.call(o),o.pathname=getPathname.call(o),o.search=getSearch.call(o),o.searchParams=getSearchParams.call(o),o.hash=getHash.call(o))},Vo=Bo.prototype,serializeURL=function(){var e=Zn(this),t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,c=e.query,u=e.fragment,s=t+":";return null!==o?(s+="//",includesCredentials(e)&&(s+=r+(n?":"+n:"")+"@"),s+=serializeHost(o),null!==i&&(s+=":"+i)):"file"==t&&(s+="//"),s+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==c&&(s+="?"+c),null!==u&&(s+="#"+u),s},getOrigin=function(){var e=Zn(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&isSpecial(e)?t+"://"+serializeHost(e.host)+(null!==r?":"+r:""):"null"},getProtocol=function(){return Zn(this).scheme+":"},getUsername=function(){return Zn(this).username},getPassword=function(){return Zn(this).password},getHost=function(){var e=Zn(this),t=e.host,r=e.port;return null===t?"":null===r?serializeHost(t):serializeHost(t)+":"+r},getHostname=function(){var e=Zn(this).host;return null===e?"":serializeHost(e)},getPort=function(){var e=Zn(this).port;return null===e?"":String(e)},getPathname=function(){var e=Zn(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},getSearch=function(){var e=Zn(this).query;return e?"?"+e:""},getSearchParams=function(){return Zn(this).searchParams},getHash=function(){var e=Zn(this).fragment;return e?"#"+e:""},accessorDescriptor=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(n&&Pe(Vo,{href:accessorDescriptor(serializeURL,(function(e){var t=Zn(this),r=String(e),n=parseURL(t,r);if(n)throw TypeError(n);Jn(t.searchParams).updateSearchParams(t.query)})),origin:accessorDescriptor(getOrigin),protocol:accessorDescriptor(getProtocol,(function(e){var t=Zn(this);parseURL(t,String(e)+":",wo)})),username:accessorDescriptor(getUsername,(function(e){var t=Zn(this),r=En(String(e));if(!cannotHaveUsernamePasswordPort(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=percentEncode(r[n],bo)}})),password:accessorDescriptor(getPassword,(function(e){var t=Zn(this),r=En(String(e));if(!cannotHaveUsernamePasswordPort(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=percentEncode(r[n],bo)}})),host:accessorDescriptor(getHost,(function(e){var t=Zn(this);t.cannotBeABaseURL||parseURL(t,String(e),_o)})),hostname:accessorDescriptor(getHostname,(function(e){var t=Zn(this);t.cannotBeABaseURL||parseURL(t,String(e),Io)})),port:accessorDescriptor(getPort,(function(e){var t=Zn(this);cannotHaveUsernamePasswordPort(t)||(""==(e=String(e))?t.port=null:parseURL(t,e,To))})),pathname:accessorDescriptor(getPathname,(function(e){var t=Zn(this);t.cannotBeABaseURL||(t.path=[],parseURL(t,e+"",Fo))})),search:accessorDescriptor(getSearch,(function(e){var t=Zn(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",parseURL(t,e,Do)),Jn(t.searchParams).updateSearchParams(t.query)})),searchParams:accessorDescriptor(getSearchParams),hash:accessorDescriptor(getHash,(function(e){var t=Zn(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",parseURL(t,e,qo)):t.fragment=null}))}),q(Vo,"toJSON",(function toJSON(){return serializeURL.call(this)}),{enumerable:!0}),q(Vo,"toString",(function toString(){return serializeURL.call(this)}),{enumerable:!0}),Yn){var $o=Yn.createObjectURL,zo=Yn.revokeObjectURL;$o&&q(Bo,"createObjectURL",(function createObjectURL(e){return $o.apply(Yn,arguments)})),zo&&q(Bo,"revokeObjectURL",(function revokeObjectURL(e){return zo.apply(Yn,arguments)}))}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function asyncGeneratorStep(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,o,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,o,_next,_throw,"throw",e)}_next(void 0)}))}}function _slicedToArray(e,t){return function _arrayWithHoles(e){if(Array.isArray(e))return e}(e)||function _iterableToArrayLimit(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function _unsupportedIterableToArray(e,t){if(!e)return;if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}(e,t)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}setToStringTag(Bo,"URL"),_export({global:!0,forced:!bn,sham:!n},{URL:Bo});var Wo=Z.f,Ko={}.toString,Yo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ho={f:function getOwnPropertyNames(e){return Yo&&"[object Window]"==Ko.call(e)?function(e){try{return Wo(e)}catch(e){return Yo.slice()}}(e):Wo(toIndexedObject(e))}},Jo={f:wellKnownSymbol},Xo=g.f,defineWellKnownSymbol=function(e){var t=B.Symbol||(B.Symbol={});has(t,e)||Xo(t,e,{value:Jo.f(e)})},Zo=ve.forEach,Qo=sharedKey("hidden"),ei="Symbol",ti=wellKnownSymbol("toPrimitive"),ri=D.set,ni=D.getterFor(ei),oi=Object.prototype,ii=r.Symbol,ai=getBuiltIn("JSON","stringify"),ci=y.f,ui=g.f,si=Ho.f,fi=a.f,li=A("symbols"),hi=A("op-symbols"),pi=A("string-to-symbol-registry"),di=A("symbol-to-string-registry"),yi=A("wks"),vi=r.QObject,gi=!vi||!vi.prototype||!vi.prototype.findChild,mi=n&&fails((function(){return 7!=Ae(ui({},"a",{get:function(){return ui(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=ci(oi,t);n&&delete oi[t],ui(e,t,r),n&&e!==oi&&ui(oi,t,n)}:ui,wrap=function(e,t){var r=li[e]=Ae(ii.prototype);return ri(r,{type:ei,tag:e,description:t}),n||(r.description=t),r},bi=fe?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof ii},Si=function defineProperty(e,t,r){e===oi&&Si(hi,t,r),anObject(e);var n=toPrimitive(t,!0);return anObject(r),has(li,n)?(r.enumerable?(has(e,Qo)&&e[Qo][n]&&(e[Qo][n]=!1),r=Ae(r,{enumerable:createPropertyDescriptor(0,!1)})):(has(e,Qo)||ui(e,Qo,createPropertyDescriptor(1,{})),e[Qo][n]=!0),mi(e,n,r)):ui(e,n,r)},wi=function defineProperties(e,t){anObject(e);var r=toIndexedObject(t),o=Oe(r).concat(Pi(r));return Zo(o,(function(t){n&&!xi.call(r,t)||Si(e,t,r[t])})),e},xi=function propertyIsEnumerable(e){var t=toPrimitive(e,!0),r=fi.call(this,t);return!(this===oi&&has(li,t)&&!has(hi,t))&&(!(r||!has(this,t)||!has(li,t)||has(this,Qo)&&this[Qo][t])||r)},Ei=function getOwnPropertyDescriptor(e,t){var r=toIndexedObject(e),n=toPrimitive(t,!0);if(r!==oi||!has(li,n)||has(hi,n)){var o=ci(r,n);return!o||!has(li,n)||has(r,Qo)&&r[Qo][n]||(o.enumerable=!0),o}},Oi=function getOwnPropertyNames(e){var t=si(toIndexedObject(e)),r=[];return Zo(t,(function(e){has(li,e)||has(I,e)||r.push(e)})),r},Pi=function getOwnPropertySymbols(e){var t=e===oi,r=si(t?hi:toIndexedObject(e)),n=[];return Zo(r,(function(e){!has(li,e)||t&&!has(oi,e)||n.push(li[e])})),n};if(se||(q((ii=function Symbol(){if(this instanceof ii)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=uid(e),setter=function(e){this===oi&&setter.call(hi,e),has(this,Qo)&&has(this[Qo],t)&&(this[Qo][t]=!1),mi(this,t,createPropertyDescriptor(1,e))};return n&&gi&&mi(oi,t,{configurable:!0,set:setter}),wrap(t,e)}).prototype,"toString",(function toString(){return ni(this).tag})),q(ii,"withoutSetter",(function(e){return wrap(uid(e),e)})),a.f=xi,g.f=Si,y.f=Ei,Z.f=Ho.f=Oi,Q.f=Pi,Jo.f=function(e){return wrap(wellKnownSymbol(e),e)},n&&(ui(ii.prototype,"description",{configurable:!0,get:function description(){return ni(this).description}}),q(oi,"propertyIsEnumerable",xi,{unsafe:!0}))),_export({global:!0,wrap:!0,forced:!se,sham:!se},{Symbol:ii}),Zo(Oe(yi),(function(e){defineWellKnownSymbol(e)})),_export({target:ei,stat:!0,forced:!se},{for:function(e){var t=String(e);if(has(pi,t))return pi[t];var r=ii(t);return pi[t]=r,di[r]=t,r},keyFor:function keyFor(e){if(!bi(e))throw TypeError(e+" is not a symbol");if(has(di,e))return di[e]},useSetter:function(){gi=!0},useSimple:function(){gi=!1}}),_export({target:"Object",stat:!0,forced:!se,sham:!n},{create:function create(e,t){return void 0===t?Ae(e):wi(Ae(e),t)},defineProperty:Si,defineProperties:wi,getOwnPropertyDescriptor:Ei}),_export({target:"Object",stat:!0,forced:!se},{getOwnPropertyNames:Oi,getOwnPropertySymbols:Pi}),_export({target:"Object",stat:!0,forced:fails((function(){Q.f(1)}))},{getOwnPropertySymbols:function getOwnPropertySymbols(e){return Q.f(toObject(e))}}),ai){var ki=!se||fails((function(){var e=ii();return"[null]"!=ai([e])||"{}"!=ai({a:e})||"{}"!=ai(Object(e))}));_export({target:"JSON",stat:!0,forced:ki},{stringify:function stringify(e,t,r){for(var n,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=t,(isObject(t)||void 0!==e)&&!bi(e))return ue(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!bi(t))return t}),o[1]=t,ai.apply(null,o)}})}ii.prototype[ti]||m(ii.prototype,ti,ii.prototype.valueOf),setToStringTag(ii,ei),I[Qo]=!0;var ji=g.f,Ai=r.Symbol;if(n&&"function"==typeof Ai&&(!("description"in Ai.prototype)||void 0!==Ai().description)){var Li={},Ri=function Symbol(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof Ri?new Ai(e):void 0===e?Ai():Ai(e);return""===e&&(Li[t]=!0),t};copyConstructorProperties(Ri,Ai);var _i=Ri.prototype=Ai.prototype;_i.constructor=Ri;var Ii=_i.toString,Ti="Symbol(test)"==String(Ai("test")),Ci=/^Symbol\((.*)\)[^)]+$/;ji(_i,"description",{configurable:!0,get:function description(){var e=isObject(this)?this.valueOf():this,t=Ii.call(e);if(has(Li,e))return"";var r=Ti?t.slice(7,-1):t.replace(Ci,"$1");return""===r?void 0:r}}),_export({global:!0,forced:!0},{Symbol:Ri})}defineWellKnownSymbol("asyncIterator"),defineWellKnownSymbol("iterator"),defineWellKnownSymbol("toStringTag");var Ui=[].reverse,Gi=[1,2];_export({target:"Array",proto:!0,forced:String(Gi)===String(Gi.reverse())},{reverse:function reverse(){return ue(this)&&(this.length=this.length),Ui.call(this)}});var Fi=wellKnownSymbol("species"),Mi=function(e){return hr>=51||!fails((function(){var t=[];return(t.constructor={})[Fi]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}("slice"),Ni=arrayMethodUsesToLength("slice",{ACCESSORS:!0,0:0,1:2}),Di=wellKnownSymbol("species"),qi=[].slice,Bi=Math.max;_export({target:"Array",proto:!0,forced:!Mi||!Ni},{slice:function slice(e,t){var r,n,o,i=toIndexedObject(this),a=toLength(i.length),c=toAbsoluteIndex(e,a),u=toAbsoluteIndex(void 0===t?a:t,a);if(ue(i)&&("function"!=typeof(r=i.constructor)||r!==Array&&!ue(r.prototype)?isObject(r)&&null===(r=r[Di])&&(r=void 0):r=void 0,r===Array||void 0===r))return qi.call(i,c,u);for(n=new(void 0===r?Array:r)(Bi(u-c,0)),o=0;c<u;c++,o++)c in i&&createProperty(n,o,i[c]);return n.length=o,n}});var Vi=Date.prototype,$i="Invalid Date",zi="toString",Wi=Vi.toString,Ki=Vi.getTime;new Date(NaN)+""!=$i&&q(Vi,zi,(function toString(){var e=Ki.call(this);return e==e?Wi.call(this):$i}));var Yi=g.f,Hi=Function.prototype,Ji=Hi.toString,Xi=/^\s*function ([^ (]*)/,Zi="name";n&&!(Zi in Hi)&&Yi(Hi,Zi,{configurable:!0,get:function(){try{return Ji.call(this).match(Xi)[1]}catch(e){return""}}}),setToStringTag(r.JSON,"JSON",!0),setToStringTag(Math,"Math",!0),_export({target:"Object",stat:!0,sham:!n},{create:Ae}),_export({target:"Object",stat:!0,forced:!n,sham:!n},{defineProperty:g.f});var Qi=fails((function(){De(1)}));_export({target:"Object",stat:!0,forced:Qi,sham:!Fe},{getPrototypeOf:function getPrototypeOf(e){return De(toObject(e))}}),_export({target:"Object",stat:!0},{setPrototypeOf:Ke});var ea="toString",ta=RegExp.prototype,ra=ta.toString,na=fails((function(){return"/a/b"!=ra.call({source:"a",flags:"b"})})),oa=ra.name!=ea;(na||oa)&&q(RegExp.prototype,ea,(function toString(){var e=anObject(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in ta)?regexpFlags.call(e):r)}),{unsafe:!0});createCommonjsModule((function(e){var t=function(e){var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function define(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{define({},"")}catch(e){define=function define(e,t,r){return e[t]=r}}function wrap(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(o.prototype),a=new Context(n||[]);return i._invoke=function makeInvokeMethod(e,t,r){var n=u;return function invoke(o,i){if(n===f)throw new Error("Generator is already running");if(n===l){if("throw"===o)throw i;return doneResult()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=maybeInvokeDelegate(a,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===u)throw n=l,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var p=tryCatch(e,t,r);if("normal"===p.type){if(n=r.done?l:s,p.arg===h)continue;return{value:p.arg,done:r.done}}"throw"===p.type&&(n=l,r.method="throw",r.arg=p.arg)}}}(e,r,a),i}function tryCatch(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=wrap;var u="suspendedStart",s="suspendedYield",f="executing",l="completed",h={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};p[i]=function(){return this};var d=Object.getPrototypeOf,y=d&&d(d(values([])));y&&y!==r&&n.call(y,i)&&(p=y);var v=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(e){["next","throw","return"].forEach((function(t){define(e,t,(function(e){return this._invoke(t,e)}))}))}function AsyncIterator(e,t){var r;this._invoke=function enqueue(o,i){function callInvokeWithMethodAndArg(){return new t((function(r,a){!function invoke(r,o,i,a){var c=tryCatch(e[r],e,o);if("throw"!==c.type){var u=c.arg,s=u.value;return s&&"object"===_typeof(s)&&n.call(s,"__await")?t.resolve(s.__await).then((function(e){invoke("next",e,i,a)}),(function(e){invoke("throw",e,i,a)})):t.resolve(s).then((function(e){u.value=e,i(u)}),(function(e){return invoke("throw",e,i,a)}))}a(c.arg)}(o,i,r,a)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=tryCatch(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,h;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return a.next=a}}return{next:doneResult}}function doneResult(){return{value:t,done:!0}}return GeneratorFunction.prototype=v.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunction.displayName=define(GeneratorFunctionPrototype,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,c,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},defineIteratorMethods(AsyncIterator.prototype),AsyncIterator.prototype[a]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},defineIteratorMethods(v),define(v,c,"Generator"),v[i]=function(){return this},v.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function next(){for(;t.length;){var r=t.pop();if(r in e)return next.value=r,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function stop(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function abrupt(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function complete(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function finish(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),h}},catch:function _catch(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 o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}));function __variableDynamicImportRuntime0__(e){switch(e){case"./locale/de.js":return Promise.resolve().then((function(){return aa}));case"./locale/en.js":return Promise.resolve().then((function(){return ca}));case"./locale/fr.js":return Promise.resolve().then((function(){return ua}));case"./locale/zh-CN.js":return Promise.resolve().then((function(){return sa}));default:return Promise.reject(new Error("Unknown variable dynamic import: "+e))}}
/**
* @file ext-storage.js
*
* This extension allows automatic saving of the SVG canvas contents upon
* page unload (which can later be automatically retrieved upon future
* editor loads).
*
* The functionality was originally part of the SVG Editor, but moved to a
* separate extension to make the setting behavior optional, and adapted
* to inform the user of its setting of local data.
*
* @license MIT
*
* @copyright 2010 Brett Zamir
* @todo Revisit on whether to use `svgEditor.pref` over directly setting
* `curConfig` in all extensions for a more public API (not only for `extPath`
* and `imagePath`, but other currently used config in the extensions)
* @todo We might provide control of storage settings through the UI besides the
* initial (or URL-forced) dialog. *
*/var ia=function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function _callee(e){var t;return regeneratorRuntime.wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,__variableDynamicImportRuntime0__("./locale/".concat(e,".js"));case 3:t=r.sent,r.next=12;break;case 6:return r.prev=6,r.t0=r.catch(0),console.error("Missing translation (".concat(e,") - using 'en'")),r.next=11,Promise.resolve().then((function(){return ca}));case 11:t=r.sent;case 12:return r.abrupt("return",t.default);case 13:case"end":return r.stop()}}),_callee,null,[[0,6]])})));return function loadExtensionTranslation(t){return e.apply(this,arguments)}}(),aa=(e("default",{name:"storage",init:function init(e){var t=e.$,r=this,n=r.canvas,o=r.curConfig,i=o.emptyStorageOnDecline,a=o.noStorageOnLoad,c=o.forceStorage,u=r.storage,s=r.updateCanvas;function replaceStoragePrompt(e){e=e?"storagePrompt="+e:"";var t=top.location;t.href.includes("storagePrompt=")?t.href=t.href.replace(/([&?])storagePrompt=[^&]*(&?)/,(function(t,r,n){return(e?r:"")+e+(!e&&n?r:n||"")})):t.href+=(t.href.includes("?")?"&":"?")+e}function setSVGContentStorage(e){if(u){var t="svgedit-"+r.curConfig.canvasName;e?u.setItem(t,e):u.removeItem(t)}}function expireCookie(e){document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"}function setupBeforeUnloadListener(){window.addEventListener("beforeunload",(function(e){if(document.cookie.match(/(?:^|;\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/)){document.cookie.match(/(?:^|;\s*)svgeditstore=prefsAndContent/)&&setSVGContentStorage(n.getSvgString()),r.setConfig({no_save_warning:!0});var t=r.curPrefs;Object.entries(t).forEach((function(e){var t=_slicedToArray(e,2),r=t[0],n=t[1];r="svg-edit-"+r,void 0!==n&&(u?u.setItem(r,n):window.widget?window.widget.setPreferenceForKey(n,r):(n=encodeURIComponent(n),document.cookie=encodeURIComponent(r)+"="+n+"; expires=Fri, 31 Dec 9999 23:59:59 GMT"))}))}}))}var f=!1;return{name:"storage",langReady:function langReady(e){return _asyncToGenerator(regeneratorRuntime.mark((function _callee2(){var n,o,l,h,p,d,y,v,g,m,b,S,w,x,E,O,P,k;return regeneratorRuntime.wrap((function _callee2$(j){for(;;)switch(j.prev=j.next){case 0:return e.lang,n=new URL(top.location).searchParams.get("storagePrompt"),j.next=4,ia(r.curPrefs.lang);case 4:if(o=j.sent,l=o.message,h=o.storagePrefsAndContent,p=o.storagePrefsOnly,d=o.storagePrefs,y=o.storageNoPrefsOrContent,v=o.storageNoPrefs,g=o.rememberLabel,m=o.rememberTooltip,!f){j.next=8;break}return j.abrupt("return");case 8:if(f=!0,c||"true"!==n&&("false"===n||document.cookie.match(/(?:^|;\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/))){j.next=44;break}return b=[],u?b.unshift({value:"prefsAndContent",text:h},{value:"prefsOnly",text:p},{value:"noPrefsOrContent",text:y}):b.unshift({value:"prefsOnly",text:d},{value:"noPrefsOrContent",text:v}),S=t("#dialog_container")[0].style.width,w=t("#dialog_container")[0].style.marginLeft,x=t("#dialog_content")[0].style.height,E=t("#dialog_container")[0].style.height,t("#dialog_content")[0].style.height="120px",t("#dialog_container")[0].style.height="170px",t("#dialog_container")[0].style.width="800px",t("#dialog_container")[0].style.marginLeft="-400px",r.storagePromptState="waiting",j.next=20,t.select(l,b,null,null,{label:g,checked:!0,tooltip:m});case 20:if(O=j.sent,P=O.response,k=O.checked,!P||"noPrefsOrContent"===P){j.next=30;break}if(document.cookie="svgeditstore="+encodeURIComponent(P)+"; expires=Fri, 31 Dec 9999 23:59:59 GMT","true"!==n||!k){j.next=28;break}return replaceStoragePrompt(),j.abrupt("return");case 28:j.next=35;break;case 30:if(expireCookie("svgeditstore"),P&&i&&(setSVGContentStorage(""),Object.keys(r.curPrefs).forEach((function(e){e="svg-edit-"+e,u&&u.removeItem(e),expireCookie(e)}))),!P||!k){j.next=35;break}return replaceStoragePrompt("false"),j.abrupt("return");case 35:t("#dialog_container")[0].style.width=S,t("#dialog_container")[0].style.marginLeft=w,t("#dialog_content")[0].style.height=x,t("#dialog_container")[0].style.height=E,setupBeforeUnloadListener(),r.storagePromptState="closed",s(!0),j.next=45;break;case 44:a&&!c||setupBeforeUnloadListener();case 45:case"end":return j.stop()}}),_callee2)})))()}}}}),Object.freeze({__proto__:null,default:{message:"Standardmäßig kann SVG-Edit Ihre Editor-Einstellungen und die SVG-Inhalte lokal auf Ihrem Gerät abspeichern. So brauchen Sie nicht jedes Mal die SVG neu laden. Falls Sie aus Datenschutzgründen dies nicht wollen, können Sie die Standardeinstellung im Folgenden ändern.",storagePrefsAndContent:"Store preferences and SVG content locally",storagePrefsOnly:"Only store preferences locally",storagePrefs:"Store preferences locally",storageNoPrefsOrContent:"Do not store my preferences or SVG content locally",storageNoPrefs:"Do not store my preferences locally",rememberLabel:"Remember this choice?",rememberTooltip:"If you choose to opt out of storage while remembering this choice, the URL will change so as to avoid asking again."}})),ca=Object.freeze({__proto__:null,default:{message:"By default and where supported, SVG-Edit can store your editor preferences and SVG content locally on your machine so you do not need to add these back each time you load SVG-Edit. If, for privacy reasons, you do not wish to store this information on your machine, you can change away from the default option below.",storagePrefsAndContent:"Store preferences and SVG content locally",storagePrefsOnly:"Only store preferences locally",storagePrefs:"Store preferences locally",storageNoPrefsOrContent:"Do not store my preferences or SVG content locally",storageNoPrefs:"Do not store my preferences locally",rememberLabel:"Remember this choice?",rememberTooltip:"If you choose to opt out of storage while remembering this choice, the URL will change so as to avoid asking again."}}),ua=Object.freeze({__proto__:null,default:{message:"Par défaut et si supporté, SVG-Edit peut stocker les préférences de l'éditeur et le contenu SVG localement sur votre machine de sorte que vous n'ayez pas besoin de les rajouter chaque fois que vous chargez SVG-Edit. Si, pour des raisons de confidentialité, vous ne souhaitez pas stocker ces données sur votre machine, vous pouvez changer ce comportement ci-dessous.",storagePrefsAndContent:"Store preferences and SVG content locally",storagePrefsOnly:"Only store preferences locally",storagePrefs:"Store preferences locally",storageNoPrefsOrContent:"Do not store my preferences or SVG content locally",storageNoPrefs:"Do not store my preferences locally",rememberLabel:"Remember this choice?",rememberTooltip:"Si vous choisissez de désactiver le stockage en mémorisant le choix, l'URL va changer afin que la question ne vous soit plus reposée."}}),sa=Object.freeze({__proto__:null,default:{message:"默认情况下, SVG-Edit 在本地保存配置参数和画布内容. 如果基于隐私考虑, 您可以勾选以下选项修改配置.",storagePrefsAndContent:"本地存储配置参数和SVG图",storagePrefsOnly:"本地只存储配置参数",storagePrefs:"本地存储配置参数",storageNoPrefsOrContent:"本地不保存配置参数和SVG图",storageNoPrefs:"本地不保存配置参数",rememberLabel:"记住选择?",rememberTooltip:"如果您勾选记住选择,将不再弹出本窗口."}})}}}));