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

23 lines
75 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.

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