Files
svgedit/dist/editor/system/extensions/ext-storage/ext-storage.js
2021-02-14 20:17:48 +01:00

22 lines
75 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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}()||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,A="function"==typeof k&&/native code/.test(P(k)),L=createCommonjsModule((function(e){(e.exports=function(e,t){return S[e]||(S[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),j=0,R=Math.random(),uid=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++j+R).toString(36)},_=L("keys"),sharedKey=function(e){return _[e]||(_[e]=uid(e))},I={},T=r.WeakMap;if(A){var C=S.state||(S.state=new T),U=C.get,G=C.has,M=C.set;x=function(e,t){return t.facade=e,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 t.facade=e,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,u=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||has(i,"name")||m(i,"name",t),(c=n(i)).source||(c.source=o.join("string"==typeof t?t:""))),e!==r?(u?!f&&e[t]&&(s=!0):delete e[t],s?e[t]=i:m(e,t,i)):s?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=L("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=7==e,c=5==e||i;return function(u,f,l,h){for(var p,d,y=toObject(u),v=s(y),g=functionBindContext(f,l,3),m=toLength(v.length),b=0,S=h||arraySpeciesCreate,w=t?S(u,m):r||a?S(u,0):void 0;m>b;b++)if((c||b in v)&&(d=g(p=v[b],b,y),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return b;case 2:ye.call(w,p)}else switch(e){case 4:return!1;case 7:ye.call(w,p)}return i?-1:n||o?o:w}},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),filterOut:createMethod$1(7)},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"),Ae=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[Ae]=!0;var Le=Object.create||function create(e,t){var r;return null!==e?(EmptyConstructor.prototype=anObject(e),r=new EmptyConstructor,EmptyConstructor.prototype=null,r[Ae]=e):r=NullProtoObject(),void 0===t?r:Pe(r,t)},je=wellKnownSymbol("unscopables"),Re=Array.prototype;null==Re[je]&&g.f(Re,je,{configurable:!0,value:Le(null)});var addToUnscopables=function(e){Re[je][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||fails((function(){var e={};return Te[qe].call(e)!==e})))&&(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=Le(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)]},iteratorClose=function(e){var t=e.return;if(void 0!==t)return anObject(t.call(e)).value},Result=function(e,t){this.stopped=e,this.result=t},iterate=function(e,t,r){var n,o,i,a,c,u,s,f=r&&r.that,l=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_ITERATOR),p=!(!r||!r.INTERRUPTED),d=functionBindContext(t,f,1+l+p),stop=function(e){return n&&iteratorClose(n),new Result(!0,e)},callFn=function(e){return l?(anObject(e),p?d(e[0],e[1],stop):d(e[0],e[1])):p?d(e,stop):d(e)};if(h)n=e;else{if("function"!=typeof(o=getIteratorMethod(e)))throw TypeError("Target is not iterable");if(isArrayIteratorMethod(o)){for(i=0,a=toLength(e.length);a>i;i++)if((c=callFn(e[i]))&&c instanceof Result)return c;return new Result(!1)}n=o.call(e)}for(u=n.next;!(s=u.call(n)).done;){try{c=callFn(s.value)}catch(e){throw iteratorClose(n),e}if("object"==typeof c&&c&&c instanceof Result)return c}return new Result(!1)},mt=wellKnownSymbol("iterator"),bt=!1;try{var St=0,wt={next:function(){return{done:!!St++}},return:function(){bt=!0}};wt[mt]=function(){return this},Array.from(wt,(function(){throw 2}))}catch(e){}var xt,Et,Ot,Pt=wellKnownSymbol("species"),kt=getBuiltIn("navigator","userAgent")||"",At=/(iphone|ipod|ipad).*applewebkit/i.test(kt),Lt="process"==classofRaw(r.process),jt=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+"",jt.protocol+"//"+jt.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)},xt(Ut),Ut},_t=function clearImmediate(e){delete Gt[e]},Lt?xt=function(e){It.nextTick(runner(e))}:Ct&&Ct.now?xt=function(e){Ct.now(runner(e))}:Tt&&!At?(Ot=(Et=new Tt).port2,Et.port1.onmessage=listener,xt=functionBindContext(Ot.postMessage,Ot,1)):r.addEventListener&&"function"==typeof postMessage&&!r.importScripts&&jt&&"file:"!==jt.protocol&&!fails(post)?(xt=post,r.addEventListener("message",listener,!1)):xt=Ft in documentCreateElement("script")?function(e){ke.appendChild(documentCreateElement("script")).onreadystatechange=function(){ke.removeChild(this),run(e)}}:function(e){setTimeout(runner(e),0)});var Mt,Nt,Dt,qt,Bt,Vt,$t,zt,Wt={set:Rt,clear:_t},Kt=/web0s(?!.*chrome)/i.test(kt),Yt=y.f,Ht=Wt.set,Jt=r.MutationObserver||r.WebKitMutationObserver,Xt=r.document,Zt=r.process,Qt=r.Promise,er=Yt(r,"queueMicrotask"),tr=er&&er.value;tr||(Mt=function(){var e,t;for(Lt&&(e=Zt.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()},At||Lt||Kt||!Jt||!Xt?Qt&&Qt.resolve?($t=Qt.resolve(void 0),zt=$t.then,qt=function(){zt.call($t,Mt)}):qt=Lt?function(){Zt.nextTick(Mt)}:function(){Ht.call(r,Mt)}:(Bt=!0,Vt=Xt.createTextNode(""),new Jt(Mt).observe(Vt,{characterData:!0}),qt=function(){Vt.data=Bt=!Bt}));var rr,nr,or=tr||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)},ir={f:function(e){return new PromiseCapability(e)}},promiseResolve=function(e,t){if(anObject(e),isObject(t)&&t.constructor===e)return t;var r=ir.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}}},ar=r.process,cr=ar&&ar.versions,ur=cr&&cr.v8;ur?nr=(rr=ur.split("."))[0]+rr[1]:kt&&(!(rr=kt.match(/Edge\/(\d+)/))||rr[1]>=74)&&(rr=kt.match(/Chrome\/(\d+)/))&&(nr=rr[1]);var sr,fr,lr,hr,pr=nr&&+nr,dr=Wt.set,yr=wellKnownSymbol("species"),vr="Promise",gr=D.get,mr=D.set,br=D.getterFor(vr),Sr=pt,wr=r.TypeError,xr=r.document,Er=r.process,Or=getBuiltIn("fetch"),Pr=ir.f,kr=Pr,Ar=!!(xr&&xr.createEvent&&r.dispatchEvent),Lr="function"==typeof PromiseRejectionEvent,jr="unhandledrejection",Rr=ae(vr,(function(){if(!(P(Sr)!==String(Sr))){if(66===pr)return!0;if(!Lt&&!Lr)return!0}if(pr>=51&&/native code/.test(Sr))return!1;var e=Sr.resolve(1),FakePromise=function(e){e((function(){}),(function(){}))};return(e.constructor={})[yr]=FakePromise,!(e.then((function(){}))instanceof FakePromise)})),_r=Rr||!function(e,t){if(!t&&!bt)return!1;var r=!1;try{var n={};n[mt]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}((function(e){Sr.all(e).catch((function(){}))})),isThenable=function(e){var t;return!(!isObject(e)||"function"!=typeof(t=e.then))&&t},notify$1=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;or((function(){for(var n=e.value,o=1==e.state,i=0;r.length>i;){var a,c,u,s=r[i++],f=o?s.ok:s.fail,l=s.resolve,h=s.reject,p=s.domain;try{f?(o||(2===e.rejection&&onHandleUnhandled(e),e.rejection=1),!0===f?a=n:(p&&p.enter(),a=f(n),p&&(p.exit(),u=!0)),a===s.promise?h(wr("Promise-chain cycle")):(c=isThenable(a))?c.call(a,l,h):l(a)):h(n)}catch(e){p&&!u&&p.exit(),h(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&onUnhandled(e)}))}},dispatchEvent=function(e,t,n){var o,i;Ar?((o=xr.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),r.dispatchEvent(o)):o={promise:t,reason:n},!Lr&&(i=r["on"+e])?i(o):e===jr&&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){dr.call(r,(function(){var t,r=e.facade,n=e.value;if(isUnhandled(e)&&(t=perform((function(){Lt?Er.emit("unhandledRejection",n,r):dispatchEvent(jr,r,n)})),e.rejection=Lt||isUnhandled(e)?2:1,t.error))throw t.value}))},isUnhandled=function(e){return 1!==e.rejection&&!e.parent},onHandleUnhandled=function(e){dr.call(r,(function(){var t=e.facade;Lt?Er.emit("rejectionHandled",t):dispatchEvent("rejectionhandled",t,e.value)}))},bind=function(e,t,r){return function(n){e(t,n,r)}},internalReject=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,notify$1(e,!0))},internalResolve=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw wr("Promise can't be resolved itself");var n=isThenable(t);n?or((function(){var r={done:!1};try{n.call(t,bind(internalResolve,r,e),bind(internalReject,r,e))}catch(t){internalReject(r,t,e)}})):(e.value=t,e.state=1,notify$1(e,!1))}catch(t){internalReject({done:!1},t,e)}}};Rr&&(Sr=function Promise(e){anInstance(this,Sr,vr),aFunction$1(e),sr.call(this);var t=gr(this);try{e(bind(internalResolve,t),bind(internalReject,t))}catch(e){internalReject(t,e)}},(sr=function Promise(e){mr(this,{type:vr,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=redefineAll(Sr.prototype,{then:function then(e,t){var r,n,o,i=br(this),a=Pr((r=Sr,void 0===(o=anObject(this).constructor)||null==(n=anObject(o)[Pt])?r:aFunction$1(n)));return a.ok="function"!=typeof e||e,a.fail="function"==typeof t&&t,a.domain=Lt?Er.domain:void 0,i.parent=!0,i.reactions.push(a),0!=i.state&&notify$1(i,!1),a.promise},catch:function(e){return this.then(void 0,e)}}),fr=function(){var e=new sr,t=gr(e);this.promise=e,this.resolve=bind(internalResolve,t),this.reject=bind(internalReject,t)},ir.f=Pr=function(e){return e===Sr||e===lr?new fr(e):kr(e)},"function"==typeof pt&&(hr=pt.prototype.then,q(pt.prototype,"then",(function then(e,t){var r=this;return new Sr((function(e,t){hr.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Or&&_export({global:!0,enumerable:!0,forced:!0},{fetch:function fetch(e){return promiseResolve(Sr,Or.apply(r,arguments))}}))),_export({global:!0,wrap:!0,forced:Rr},{Promise:Sr}),setToStringTag(Sr,vr,!1),function(e){var t=getBuiltIn(e),r=g.f;n&&t&&!t[dt]&&r(t,dt,{configurable:!0,get:function(){return this}})}(vr),lr=getBuiltIn(vr),_export({target:vr,stat:!0,forced:Rr},{reject:function reject(e){var t=Pr(this);return t.reject.call(void 0,e),t.promise}}),_export({target:vr,stat:!0,forced:Rr},{resolve:function resolve(e){return promiseResolve(this,e)}}),_export({target:vr,stat:!0,forced:_r},{all:function all(e){var t=this,r=Pr(t),n=r.resolve,o=r.reject,i=perform((function(){var r=aFunction$1(t.resolve),i=[],a=0,c=1;iterate(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=Pr(t),n=r.reject,o=perform((function(){var o=aFunction$1(t.resolve);iterate(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 Ir,Tr,Cr={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")}))},Ur=RegExp.prototype.exec,Gr=String.prototype.replace,Fr=Ur,Mr=(Ir=/a/,Tr=/b*/g,Ur.call(Ir,"a"),Ur.call(Tr,"a"),0!==Ir.lastIndex||0!==Tr.lastIndex),Nr=Cr.UNSUPPORTED_Y||Cr.BROKEN_CARET,Dr=void 0!==/()??/.exec("")[1];(Mr||Dr||Nr)&&(Fr=function exec(e){var t,r,n,o,i=this,a=Nr&&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)),Dr&&(r=new RegExp("^"+u+"$(?!\\s)",c)),Mr&&(t=i.lastIndex),n=Ur.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:Mr&&n&&(i.lastIndex=i.global?n.index+n[0].length:t),Dr&&n&&n.length>1&&Gr.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n});var qr=Fr;_export({target:"RegExp",proto:!0,forced:/./.exec!==qr},{exec:qr});var Br=wellKnownSymbol("match"),notARegexp=function(e){if(function(e){var t;return isObject(e)&&(void 0!==(t=e[Br])?!!t:"RegExp"==classofRaw(e))}(e))throw TypeError("The method doesn't accept regular expressions");return e},Vr=wellKnownSymbol("match");_export({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Vr]=!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}},$r={codeAt:createMethod$3(!1),charAt:createMethod$3(!0)},zr=$r.charAt,Wr="String Iterator",Kr=D.set,Yr=D.getterFor(Wr);defineIterator(String,"String",(function(e){Kr(this,{type:Wr,string:String(e),index:0})}),(function next(){var e,t=Yr(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=zr(r,n),t.index+=e.length,{value:e,done:!1})}));var Hr=wellKnownSymbol("species"),Jr=!fails((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Xr="$0"==="a".replace(/./,"$0"),Zr=wellKnownSymbol("replace"),Qr=!!/./[Zr]&&""===/./[Zr]("a","$0"),en=!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[Hr]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return t=!0,null},r[o](""),!t}));if(!i||!a||"replace"===e&&(!Jr||!Xr||Qr)||"split"===e&&!en){var c=/./[o],u=r(o,""[e],(function(e,t,r,n,o){return t.exec===qr?i&&!o?{done:!0,value:c.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:Xr,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Qr}),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)},tn=$r.charAt,advanceStringIndex=function(e,t,r){return t+(r?tn(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 qr.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 rn=Math.floor,nn="".replace,on=/\$([$&'`]|\d\d?|<[^>]*>)/g,an=/\$([$&'`]|\d\d?)/g,getSubstitution=function(e,t,r,n,o,i){var a=r+e.length,c=n.length,u=an;return void 0!==o&&(o=toObject(o),u=on),nn.call(i,u,(function(i,u){var s;switch(u.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(a);case"<":s=o[u.slice(1,-1)];break;default:var f=+u;if(0===f)return i;if(f>c){var l=rn(f/10);return 0===l?i:l<=c?void 0===n[l-1]?u.charAt(1):n[l-1]+u.charAt(1):i}s=n[f-1]}return void 0===s?"":s}))},cn=Math.max,un=Math.min;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=cn(un(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)}]}));var sn={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 fn in sn){var ln=r[fn],hn=ln&&ln.prototype;if(hn&&hn.forEach!==xe)try{m(hn,"forEach",xe)}catch(e){hn.forEach=xe}}var pn=wellKnownSymbol("iterator"),dn=wellKnownSymbol("toStringTag"),yn=nt.values;for(var vn in sn){var gn=r[vn],mn=gn&&gn.prototype;if(mn){if(mn[pn]!==yn)try{m(mn,pn,yn)}catch(e){mn[pn]=yn}if(mn[dn]||m(mn,dn,vn),sn[vn])for(var bn in nt)if(mn[bn]!==nt[bn])try{m(mn,bn,nt[bn])}catch(e){mn[bn]=nt[bn]}}}var Sn=wellKnownSymbol("iterator"),wn=!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[Sn]||"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})),xn=Object.assign,En=Object.defineProperty,On=!xn||fails((function(){if(n&&1!==xn({b:1},xn(En({},"a",{enumerable:!0,get:function(){En(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!=xn({},e)[r]||Oe(xn({},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}:xn,callWithSafeIterationClosing=function(e,t,r,n){try{return n?t(anObject(r)[0],r[1]):t(r)}catch(t){throw iteratorClose(e),t}},createProperty=function(e,t,r){var n=toPrimitive(t);n in e?g.f(e,n,createPropertyDescriptor(0,r)):e[n]=r},Pn=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},kn=2147483647,An=/[^\0-\u007E]/,Ln=/[.\u3002\uFF0E\uFF61]/g,jn="Overflow: input needs wider integers to process",Rn=Math.floor,_n=String.fromCharCode,digitToBasic=function(e){return e+22+75*(e<26)},adapt=function(e,t,r){var n=0;for(e=r?Rn(e/700):e>>1,e+=Rn(e/t);e>455;n+=36)e=Rn(e/35);return Rn(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(_n(r));var u=n.length,s=u;for(u&&n.push("-");s<o;){var f=kn;for(t=0;t<e.length;t++)(r=e[t])>=i&&r<f&&(f=r);var l=s+1;if(f-i>Rn((kn-a)/l))throw RangeError(jn);for(a+=(f-i)*l,i=f,t=0;t<e.length;t++){if((r=e[t])<i&&++a>kn)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(_n(digitToBasic(d+y%v))),h=Rn(y/v)}n.push(_n(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))},In=getBuiltIn("fetch"),Tn=getBuiltIn("Headers"),Cn=wellKnownSymbol("iterator"),Un="URLSearchParams",Gn="URLSearchParamsIterator",Fn=D.set,Mn=D.getterFor(Un),Nn=D.getterFor(Gn),Dn=/\+/g,qn=Array(4),percentSequence=function(e){return qn[e-1]||(qn[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(Dn," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(percentSequence(r--),percentDecode);return t}},Bn=/[!'()~]|%20/g,Vn={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},replacer=function(e){return Vn[e]},serialize=function(e){return encodeURIComponent(e).replace(Bn,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")},$n=createIteratorConstructor((function Iterator(e,t){Fn(this,{type:Gn,iterator:getIterator(Mn(e).entries),kind:t})}),"Iterator",(function next(){var e=Nn(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})),zn=function URLSearchParams(){anInstance(this,zn,Un);var e,t,r,n,o,i,a,c,u,s=arguments.length>0?arguments[0]:void 0,f=this,l=[];if(Fn(f,{type:Un,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+"")},Wn=zn.prototype;redefineAll(Wn,{append:function append(e,t){validateArgumentsLength(arguments.length,2);var r=Mn(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){validateArgumentsLength(arguments.length,1);for(var t=Mn(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=Mn(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=Mn(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=Mn(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=Mn(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=Mn(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=Mn(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 $n(this,"keys")},values:function values(){return new $n(this,"values")},entries:function entries(){return new $n(this,"entries")}},{enumerable:!0}),q(Wn,Cn,Wn.entries),q(Wn,"toString",(function toString(){for(var e,t=Mn(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(zn,Un),_export({global:!0,forced:!wn},{URLSearchParams:zn}),wn||"function"!=typeof In||"function"!=typeof Tn||_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)===Un&&((n=t.headers?new Tn(t.headers):new Tn).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=Le(t,{body:createPropertyDescriptor(0,String(r)),headers:createPropertyDescriptor(0,n)}))),o.push(t)),In.apply(this,o)}});var Kn,Yn={URLSearchParams:zn,getState:Mn},Hn=$r.codeAt,Jn=r.URL,Xn=Yn.URLSearchParams,Zn=Yn.getState,Qn=D.set,eo=D.getterFor("URL"),to=Math.floor,ro=Math.pow,no="Invalid scheme",oo="Invalid host",io="Invalid port",ao=/[A-Za-z]/,co=/[\d+-.A-Za-z]/,uo=/\d/,so=/^(0x|0X)/,fo=/^[0-7]+$/,lo=/^\d+$/,ho=/^[\dA-Fa-f]+$/,po=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,yo=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,vo=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,go=/[\u0009\u000A\u000D]/g,parseHost=function(e,t){var r,n,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return oo;if(!(r=parseIPv6(t.slice(1,-1))))return oo;e.host=r}else if(isSpecial(e)){if(t=function(e){var t,r,n=[],o=e.toLowerCase().replace(Ln,".").split(".");for(t=0;t<o.length;t++)r=o[t],n.push(An.test(r)?"xn--"+encode(r):r);return n.join(".")}(t),po.test(t))return oo;if(null===(r=parseIPv4(t)))return oo;e.host=r}else{if(yo.test(t))return oo;for(r="",n=Pn(t),o=0;o<n.length;o++)r+=percentEncode(n[o],mo);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=so.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?lo:8==i?fo:ho).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>=ro(256,5-t))return null}else if(a>255)return null;for(c=r.pop(),n=0;n<r.length;n++)c+=r[n]*ro(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&&ho.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(!uo.test(char()))return;for(;uo.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=to(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},mo={},bo=On({},mo,{" ":1,'"':1,"<":1,">":1,"`":1}),So=On({},bo,{"#":1,"?":1,"{":1,"}":1}),wo=On({},So,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(e,t){var r=Hn(e,0);return r>32&&r<127&&!has(t,e)?e:encodeURIComponent(e)},xo={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isSpecial=function(e){return has(xo,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&&ao.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()},Eo={},Oo={},Po={},ko={},Ao={},Lo={},jo={},Ro={},_o={},Io={},To={},Co={},Uo={},Go={},Fo={},Mo={},No={},Do={},qo={},Bo={},Vo={},parseURL=function(e,t,r,n){var o,i,a,c,u,s=r||Eo,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(vo,"")),t=t.replace(go,""),o=Pn(t);f<=o.length;){switch(i=o[f],s){case Eo:if(!i||!ao.test(i)){if(r)return no;s=Po;continue}l+=i.toLowerCase(),s=Oo;break;case Oo:if(i&&(co.test(i)||"+"==i||"-"==i||"."==i))l+=i.toLowerCase();else{if(":"!=i){if(r)return no;l="",s=Po,f=0;continue}if(r&&(isSpecial(e)!=has(xo,l)||"file"==l&&(includesCredentials(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=l,r)return void(isSpecial(e)&&xo[e.scheme]==e.port&&(e.port=null));l="","file"==e.scheme?s=Go:isSpecial(e)&&n&&n.scheme==e.scheme?s=ko:isSpecial(e)?s=Ro:"/"==o[f+1]?(s=Ao,f++):(e.cannotBeABaseURL=!0,e.path.push(""),s=qo)}break;case Po:if(!n||n.cannotBeABaseURL&&"#"!=i)return no;if(n.cannotBeABaseURL&&"#"==i){e.scheme=n.scheme,e.path=n.path.slice(),e.query=n.query,e.fragment="",e.cannotBeABaseURL=!0,s=Vo;break}s="file"==n.scheme?Go:Lo;continue;case ko:if("/"!=i||"/"!=o[f+1]){s=Lo;continue}s=_o,f++;break;case Ao:if("/"==i){s=Io;break}s=Do;continue;case Lo:if(e.scheme=n.scheme,i==Kn)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=Bo;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=Do;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=Vo}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=Do;continue}s=Io}else s=_o;break;case Ro:if(s=_o,"/"!=i||"/"!=l.charAt(f+1))continue;f++;break;case _o:if("/"!=i&&"\\"!=i){s=Io;continue}break;case Io:if("@"==i){h&&(l="%40"+l),h=!0,a=Pn(l);for(var y=0;y<a.length;y++){var v=a[y];if(":"!=v||d){var g=percentEncode(v,wo);d?e.password+=g:e.username+=g}else d=!0}l=""}else if(i==Kn||"/"==i||"?"==i||"#"==i||"\\"==i&&isSpecial(e)){if(h&&""==l)return"Invalid authority";f-=Pn(l).length+1,l="",s=To}else l+=i;break;case To:case Co:if(r&&"file"==e.scheme){s=Mo;continue}if(":"!=i||p){if(i==Kn||"/"==i||"?"==i||"#"==i||"\\"==i&&isSpecial(e)){if(isSpecial(e)&&""==l)return oo;if(r&&""==l&&(includesCredentials(e)||null!==e.port))return;if(c=parseHost(e,l))return c;if(l="",s=No,r)return;continue}"["==i?p=!0:"]"==i&&(p=!1),l+=i}else{if(""==l)return oo;if(c=parseHost(e,l))return c;if(l="",s=Uo,r==Co)return}break;case Uo:if(!uo.test(i)){if(i==Kn||"/"==i||"?"==i||"#"==i||"\\"==i&&isSpecial(e)||r){if(""!=l){var m=parseInt(l,10);if(m>65535)return io;e.port=isSpecial(e)&&m===xo[e.scheme]?null:m,l=""}if(r)return;s=No;continue}return io}l+=i;break;case Go:if(e.scheme="file","/"==i||"\\"==i)s=Fo;else{if(!n||"file"!=n.scheme){s=Do;continue}if(i==Kn)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=Bo;else{if("#"!=i){startsWithWindowsDriveLetter(o.slice(f).join(""))||(e.host=n.host,e.path=n.path.slice(),shortenURLsPath(e)),s=Do;continue}e.host=n.host,e.path=n.path.slice(),e.query=n.query,e.fragment="",s=Vo}}break;case Fo:if("/"==i||"\\"==i){s=Mo;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=Do;continue;case Mo:if(i==Kn||"/"==i||"\\"==i||"?"==i||"#"==i){if(!r&&isWindowsDriveLetter(l))s=Do;else if(""==l){if(e.host="",r)return;s=No}else{if(c=parseHost(e,l))return c;if("localhost"==e.host&&(e.host=""),r)return;l="",s=No}continue}l+=i;break;case No:if(isSpecial(e)){if(s=Do,"/"!=i&&"\\"!=i)continue}else if(r||"?"!=i)if(r||"#"!=i){if(i!=Kn&&(s=Do,"/"!=i))continue}else e.fragment="",s=Vo;else e.query="",s=Bo;break;case Do:if(i==Kn||"/"==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==Kn||"?"==i||"#"==i))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==i?(e.query="",s=Bo):"#"==i&&(e.fragment="",s=Vo)}else l+=percentEncode(i,So);break;case qo:"?"==i?(e.query="",s=Bo):"#"==i?(e.fragment="",s=Vo):i!=Kn&&(e.path[0]+=percentEncode(i,mo));break;case Bo:r||"#"!=i?i!=Kn&&("'"==i&&isSpecial(e)?e.query+="%27":e.query+="#"==i?"%23":percentEncode(i,mo)):(e.fragment="",s=Vo);break;case Vo:i!=Kn&&(e.fragment+=percentEncode(i,bo))}f++}},$o=function URL(e){var t,r,o=anInstance(this,$o,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),c=Qn(o,{type:"URL"});if(void 0!==i)if(i instanceof $o)t=eo(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 Xn,s=Zn(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))},zo=$o.prototype,serializeURL=function(){var e=eo(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=eo(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 eo(this).scheme+":"},getUsername=function(){return eo(this).username},getPassword=function(){return eo(this).password},getHost=function(){var e=eo(this),t=e.host,r=e.port;return null===t?"":null===r?serializeHost(t):serializeHost(t)+":"+r},getHostname=function(){var e=eo(this).host;return null===e?"":serializeHost(e)},getPort=function(){var e=eo(this).port;return null===e?"":String(e)},getPathname=function(){var e=eo(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},getSearch=function(){var e=eo(this).query;return e?"?"+e:""},getSearchParams=function(){return eo(this).searchParams},getHash=function(){var e=eo(this).fragment;return e?"#"+e:""},accessorDescriptor=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(n&&Pe(zo,{href:accessorDescriptor(serializeURL,(function(e){var t=eo(this),r=String(e),n=parseURL(t,r);if(n)throw TypeError(n);Zn(t.searchParams).updateSearchParams(t.query)})),origin:accessorDescriptor(getOrigin),protocol:accessorDescriptor(getProtocol,(function(e){var t=eo(this);parseURL(t,String(e)+":",Eo)})),username:accessorDescriptor(getUsername,(function(e){var t=eo(this),r=Pn(String(e));if(!cannotHaveUsernamePasswordPort(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=percentEncode(r[n],wo)}})),password:accessorDescriptor(getPassword,(function(e){var t=eo(this),r=Pn(String(e));if(!cannotHaveUsernamePasswordPort(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=percentEncode(r[n],wo)}})),host:accessorDescriptor(getHost,(function(e){var t=eo(this);t.cannotBeABaseURL||parseURL(t,String(e),To)})),hostname:accessorDescriptor(getHostname,(function(e){var t=eo(this);t.cannotBeABaseURL||parseURL(t,String(e),Co)})),port:accessorDescriptor(getPort,(function(e){var t=eo(this);cannotHaveUsernamePasswordPort(t)||(""==(e=String(e))?t.port=null:parseURL(t,e,Uo))})),pathname:accessorDescriptor(getPathname,(function(e){var t=eo(this);t.cannotBeABaseURL||(t.path=[],parseURL(t,e+"",No))})),search:accessorDescriptor(getSearch,(function(e){var t=eo(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",parseURL(t,e,Bo)),Zn(t.searchParams).updateSearchParams(t.query)})),searchParams:accessorDescriptor(getSearchParams),hash:accessorDescriptor(getHash,(function(e){var t=eo(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",parseURL(t,e,Vo)):t.fragment=null}))}),q(zo,"toJSON",(function toJSON(){return serializeURL.call(this)}),{enumerable:!0}),q(zo,"toString",(function toString(){return serializeURL.call(this)}),{enumerable:!0}),Jn){var Wo=Jn.createObjectURL,Ko=Jn.revokeObjectURL;Wo&&q($o,"createObjectURL",(function createObjectURL(e){return Wo.apply(Jn,arguments)})),Ko&&q($o,"revokeObjectURL",(function revokeObjectURL(e){return Ko.apply(Jn,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($o,"URL"),_export({global:!0,forced:!wn,sham:!n},{URL:$o});var Yo=Z.f,Ho={}.toString,Jo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Xo={f:function getOwnPropertyNames(e){return Jo&&"[object Window]"==Ho.call(e)?function(e){try{return Yo(e)}catch(e){return Jo.slice()}}(e):Yo(toIndexedObject(e))}},Zo={f:wellKnownSymbol},Qo=g.f,defineWellKnownSymbol=function(e){var t=B.Symbol||(B.Symbol={});has(t,e)||Qo(t,e,{value:Zo.f(e)})},ei=ve.forEach,ti=sharedKey("hidden"),ri="Symbol",ni=wellKnownSymbol("toPrimitive"),oi=D.set,ii=D.getterFor(ri),ai=Object.prototype,ci=r.Symbol,ui=getBuiltIn("JSON","stringify"),si=y.f,fi=g.f,li=Xo.f,hi=a.f,pi=L("symbols"),di=L("op-symbols"),yi=L("string-to-symbol-registry"),vi=L("symbol-to-string-registry"),gi=L("wks"),mi=r.QObject,bi=!mi||!mi.prototype||!mi.prototype.findChild,Si=n&&fails((function(){return 7!=Le(fi({},"a",{get:function(){return fi(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=si(ai,t);n&&delete ai[t],fi(e,t,r),n&&e!==ai&&fi(ai,t,n)}:fi,wrap=function(e,t){var r=pi[e]=Le(ci.prototype);return oi(r,{type:ri,tag:e,description:t}),n||(r.description=t),r},wi=fe?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof ci},xi=function defineProperty(e,t,r){e===ai&&xi(di,t,r),anObject(e);var n=toPrimitive(t,!0);return anObject(r),has(pi,n)?(r.enumerable?(has(e,ti)&&e[ti][n]&&(e[ti][n]=!1),r=Le(r,{enumerable:createPropertyDescriptor(0,!1)})):(has(e,ti)||fi(e,ti,createPropertyDescriptor(1,{})),e[ti][n]=!0),Si(e,n,r)):fi(e,n,r)},Ei=function defineProperties(e,t){anObject(e);var r=toIndexedObject(t),o=Oe(r).concat(Ai(r));return ei(o,(function(t){n&&!Oi.call(r,t)||xi(e,t,r[t])})),e},Oi=function propertyIsEnumerable(e){var t=toPrimitive(e,!0),r=hi.call(this,t);return!(this===ai&&has(pi,t)&&!has(di,t))&&(!(r||!has(this,t)||!has(pi,t)||has(this,ti)&&this[ti][t])||r)},Pi=function getOwnPropertyDescriptor(e,t){var r=toIndexedObject(e),n=toPrimitive(t,!0);if(r!==ai||!has(pi,n)||has(di,n)){var o=si(r,n);return!o||!has(pi,n)||has(r,ti)&&r[ti][n]||(o.enumerable=!0),o}},ki=function getOwnPropertyNames(e){var t=li(toIndexedObject(e)),r=[];return ei(t,(function(e){has(pi,e)||has(I,e)||r.push(e)})),r},Ai=function getOwnPropertySymbols(e){var t=e===ai,r=li(t?di:toIndexedObject(e)),n=[];return ei(r,(function(e){!has(pi,e)||t&&!has(ai,e)||n.push(pi[e])})),n};if(se||(q((ci=function Symbol(){if(this instanceof ci)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===ai&&setter.call(di,e),has(this,ti)&&has(this[ti],t)&&(this[ti][t]=!1),Si(this,t,createPropertyDescriptor(1,e))};return n&&bi&&Si(ai,t,{configurable:!0,set:setter}),wrap(t,e)}).prototype,"toString",(function toString(){return ii(this).tag})),q(ci,"withoutSetter",(function(e){return wrap(uid(e),e)})),a.f=Oi,g.f=xi,y.f=Pi,Z.f=Xo.f=ki,Q.f=Ai,Zo.f=function(e){return wrap(wellKnownSymbol(e),e)},n&&(fi(ci.prototype,"description",{configurable:!0,get:function description(){return ii(this).description}}),q(ai,"propertyIsEnumerable",Oi,{unsafe:!0}))),_export({global:!0,wrap:!0,forced:!se,sham:!se},{Symbol:ci}),ei(Oe(gi),(function(e){defineWellKnownSymbol(e)})),_export({target:ri,stat:!0,forced:!se},{for:function(e){var t=String(e);if(has(yi,t))return yi[t];var r=ci(t);return yi[t]=r,vi[r]=t,r},keyFor:function keyFor(e){if(!wi(e))throw TypeError(e+" is not a symbol");if(has(vi,e))return vi[e]},useSetter:function(){bi=!0},useSimple:function(){bi=!1}}),_export({target:"Object",stat:!0,forced:!se,sham:!n},{create:function create(e,t){return void 0===t?Le(e):Ei(Le(e),t)},defineProperty:xi,defineProperties:Ei,getOwnPropertyDescriptor:Pi}),_export({target:"Object",stat:!0,forced:!se},{getOwnPropertyNames:ki,getOwnPropertySymbols:Ai}),_export({target:"Object",stat:!0,forced:fails((function(){Q.f(1)}))},{getOwnPropertySymbols:function getOwnPropertySymbols(e){return Q.f(toObject(e))}}),ui){var Li=!se||fails((function(){var e=ci();return"[null]"!=ui([e])||"{}"!=ui({a:e})||"{}"!=ui(Object(e))}));_export({target:"JSON",stat:!0,forced:Li},{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)&&!wi(e))return ue(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!wi(t))return t}),o[1]=t,ui.apply(null,o)}})}ci.prototype[ni]||m(ci.prototype,ni,ci.prototype.valueOf),setToStringTag(ci,ri),I[ti]=!0;var ji=g.f,Ri=r.Symbol;if(n&&"function"==typeof Ri&&(!("description"in Ri.prototype)||void 0!==Ri().description)){var _i={},Ii=function Symbol(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof Ii?new Ri(e):void 0===e?Ri():Ri(e);return""===e&&(_i[t]=!0),t};copyConstructorProperties(Ii,Ri);var Ti=Ii.prototype=Ri.prototype;Ti.constructor=Ii;var Ci=Ti.toString,Ui="Symbol(test)"==String(Ri("test")),Gi=/^Symbol\((.*)\)[^)]+$/;ji(Ti,"description",{configurable:!0,get:function description(){var e=isObject(this)?this.valueOf():this,t=Ci.call(e);if(has(_i,e))return"";var r=Ui?t.slice(7,-1):t.replace(Gi,"$1");return""===r?void 0:r}}),_export({global:!0,forced:!0},{Symbol:Ii})}defineWellKnownSymbol("asyncIterator"),defineWellKnownSymbol("iterator"),defineWellKnownSymbol("toStringTag");var Fi=[].reverse,Mi=[1,2];_export({target:"Array",proto:!0,forced:String(Mi)===String(Mi.reverse())},{reverse:function reverse(){return ue(this)&&(this.length=this.length),Fi.call(this)}});var Ni=wellKnownSymbol("species"),Di=function(e){return pr>=51||!fails((function(){var t=[];return(t.constructor={})[Ni]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}("slice"),qi=arrayMethodUsesToLength("slice",{ACCESSORS:!0,0:0,1:2}),Bi=wellKnownSymbol("species"),Vi=[].slice,$i=Math.max;_export({target:"Array",proto:!0,forced:!Di||!qi},{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[Bi])&&(r=void 0):r=void 0,r===Array||void 0===r))return Vi.call(i,c,u);for(n=new(void 0===r?Array:r)($i(u-c,0)),o=0;c<u;c++,o++)c in i&&createProperty(n,o,i[c]);return n.length=o,n}});var zi=g.f,Wi=Function.prototype,Ki=Wi.toString,Yi=/^\s*function ([^ (]*)/,Hi="name";n&&!(Hi in Wi)&&zi(Wi,Hi,{configurable:!0,get:function(){try{return Ki.call(this).match(Yi)[1]}catch(e){return""}}}),setToStringTag(r.JSON,"JSON",!0),setToStringTag(Math,"Math",!0);var Ji=fails((function(){De(1)}));_export({target:"Object",stat:!0,forced:Ji,sham:!Fe},{getPrototypeOf:function getPrototypeOf(e){return De(toObject(e))}}),_export({target:"Object",stat:!0},{setPrototypeOf:Ke});var Xi="toString",Zi=RegExp.prototype,Qi=Zi.toString,ea=fails((function(){return"/a/b"!=Qi.call({source:"a",flags:"b"})})),ta=Qi.name!=Xi;function __variableDynamicImportRuntime0__(e){switch(e){case"./locale/de.js":return Promise.resolve().then((function(){return na}));case"./locale/en.js":return Promise.resolve().then((function(){return oa}));case"./locale/fr.js":return Promise.resolve().then((function(){return ia}));case"./locale/zh-CN.js":return Promise.resolve().then((function(){return aa}));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. *
*/(ea||ta)&&q(RegExp.prototype,Xi,(function toString(){var e=anObject(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in Zi)?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)}}));var ra=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(encodeURIComponent(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 oa}));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)}}(),na=(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$(A){for(;;)switch(A.prev=A.next){case 0:return e.lang,n=new URL(top.location).searchParams.get("storagePrompt"),A.next=4,ra(r.curPrefs.lang);case 4:if(o=A.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){A.next=8;break}return A.abrupt("return");case 8:if(f=!0,c||"true"!==n&&("false"===n||document.cookie.match(/(?:^|;\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/))){A.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",A.next=20,t.select(l,b,null,null,{label:g,checked:!0,tooltip:m});case 20:if(O=A.sent,P=O.response,k=O.checked,!P||"noPrefsOrContent"===P){A.next=30;break}if(document.cookie="svgeditstore="+encodeURIComponent(P)+"; expires=Fri, 31 Dec 9999 23:59:59 GMT","true"!==n||!k){A.next=28;break}return replaceStoragePrompt(),A.abrupt("return");case 28:A.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){A.next=35;break}return replaceStoragePrompt("false"),A.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),A.next=45;break;case 44:a&&!c||setupBeforeUnloadListener();case 45:case"end":return A.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."}})),oa=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."}}),ia=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."}}),aa=Object.freeze({__proto__:null,default:{message:"默认情况下, SVG-Edit 在本地保存配置参数和画布内容. 如果基于隐私考虑, 您可以勾选以下选项修改配置.",storagePrefsAndContent:"本地存储配置参数和SVG图",storagePrefsOnly:"本地只存储配置参数",storagePrefs:"本地存储配置参数",storageNoPrefsOrContent:"本地不保存配置参数和SVG图",storageNoPrefs:"本地不保存配置参数",rememberLabel:"记住选择?",rememberTooltip:"如果您勾选记住选择,将不再弹出本窗口."}})}}}));