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

23 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.
var e="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},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.8.3",mode:"global",copyright:"© 2021 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 M={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}}},N=createCommonjsModule((function(e){var r=M.get,n=M.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),N(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=7==e,c=5==e||i;return function(s,l,f,h){for(var p,d,v=toObject(s),y=u(v),g=functionBindContext(l,f,3),m=toLength(y.length),b=0,S=h||arraySpeciesCreate,w=t?S(s,m):r||a?S(s,0):void 0;m>b;b++)if((c||b in y)&&(d=g(p=y[b],b,v),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:pe.call(w,p)}else switch(e){case 4:return!1;case 7:pe.call(w,p)}return i?-1:n||o?o:w}},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),filterOut:createMethod$1(7)},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,Me=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},Ne=wellKnownSymbol("iterator"),De=!1;[].keys&&("next"in(Te=[].keys())?(Ie=Me(Me(Te)))!==Object.prototype&&(_e=Ie):De=!0),(null==_e||fails((function(){var e={};return _e[Ne].call(e)!==e})))&&(_e={}),has(_e,Ne)||g(_e,Ne,(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=Me(v.call(new e)),We!==Object.prototype&&c.next&&(Me(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))&&N(h,s,u[s]);else _export({target:t,proto:!0,forced:Ke||f},u);return u},He=M.set,Je=M.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||N(Object.prototype,"toString",at,{unsafe:!0});var ct=t.Promise,redefineAll=function(e,t,r){for(var n in t)N(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,Mt,Nt={set:Pt,clear:Ot},Dt=/web0s(?!.*chrome)/i.test(St),qt=d.f,Bt=Nt.set,Vt=t.MutationObserver||t.WebKitMutationObserver,$t=t.document,zt=t.process,Wt=t.Promise,Kt=qt(t,"queueMicrotask"),Yt=Kt&&Kt.value;Yt||(_t=function(){var e,t;for(xt&&(e=zt.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||Dt||!Vt||!$t?Wt&&Wt.resolve?(Ft=Wt.resolve(void 0),Mt=Ft.then,Ct=function(){Mt.call(Ft,_t)}):Ct=xt?function(){zt.nextTick(_t)}:function(){Bt.call(t,_t)}:(Ut=!0,Gt=$t.createTextNode(""),new Vt(_t).observe(Gt,{characterData:!0}),Ct=function(){Gt.data=Ut=!Ut}));var Ht,Jt,Xt=Yt||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)},Zt={f:function(e){return new PromiseCapability(e)}},promiseResolve=function(e,t){if(anObject(e),isObject(t)&&t.constructor===e)return t;var r=Zt.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}}},Qt=t.process,er=Qt&&Qt.versions,tr=er&&er.v8;tr?Jt=(Ht=tr.split("."))[0]+Ht[1]:St&&(!(Ht=St.match(/Edge\/(\d+)/))||Ht[1]>=74)&&(Ht=St.match(/Chrome\/(\d+)/))&&(Jt=Ht[1]);var rr,nr,or,ir,ar=Jt&&+Jt,cr=Nt.set,ur=wellKnownSymbol("species"),sr="Promise",lr=M.get,fr=M.set,hr=M.getterFor(sr),pr=ct,dr=t.TypeError,vr=t.document,yr=t.process,gr=getBuiltIn("fetch"),mr=Zt.f,br=mr,Sr=!!(vr&&vr.createEvent&&t.dispatchEvent),wr="function"==typeof PromiseRejectionEvent,xr=oe(sr,(function(){if(!(E(pr)!==String(pr))){if(66===ar)return!0;if(!xt&&!wr)return!0}if(ar>=51&&/native code/.test(pr))return!1;var e=pr.resolve(1),FakePromise=function(e){e((function(){}),(function(){}))};return(e.constructor={})[ur]=FakePromise,!(e.then((function(){}))instanceof FakePromise)})),Er=xr||!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){pr.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;Xt((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(dr("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;Sr?((o=vr.createEvent("Event")).promise=r,o.reason=n,o.initEvent(e,!1,!0),t.dispatchEvent(o)):o={promise:r,reason:n},!wr&&(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){cr.call(t,(function(){var t,r=e.facade,n=e.value;if(isUnhandled(e)&&(t=perform((function(){xt?yr.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){cr.call(t,(function(){var t=e.facade;xt?yr.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 dr("Promise can't be resolved itself");var n=isThenable(t);n?Xt((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)}}};xr&&(pr=function Promise(e){anInstance(this,pr,sr),aFunction$1(e),rr.call(this);var t=lr(this);try{e(bind(internalResolve,t),bind(internalReject,t))}catch(e){internalReject(t,e)}},(rr=function Promise(e){fr(this,{type:sr,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=redefineAll(pr.prototype,{then:function then(e,t){var r,n,o,i=hr(this),a=mr((r=pr,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?yr.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)}}),nr=function(){var e=new rr,t=lr(e);this.promise=e,this.resolve=bind(internalResolve,t),this.reject=bind(internalReject,t)},Zt.f=mr=function(e){return e===pr||e===or?new nr(e):br(e)},"function"==typeof ct&&(ir=ct.prototype.then,N(ct.prototype,"then",(function then(e,t){var r=this;return new pr((function(e,t){ir.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof gr&&_export({global:!0,enumerable:!0,forced:!0},{fetch:function fetch(e){return promiseResolve(pr,gr.apply(t,arguments))}}))),_export({global:!0,wrap:!0,forced:xr},{Promise:pr}),setToStringTag(pr,sr,!1),function(e){var t=getBuiltIn(e),n=y.f;r&&t&&!t[ut]&&n(t,ut,{configurable:!0,get:function(){return this}})}(sr),or=getBuiltIn(sr),_export({target:sr,stat:!0,forced:xr},{reject:function reject(e){var t=mr(this);return t.reject.call(void 0,e),t.promise}}),_export({target:sr,stat:!0,forced:xr},{resolve:function resolve(e){return promiseResolve(this,e)}}),_export({target:sr,stat:!0,forced:Er},{all:function all(e){var t=this,r=mr(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=mr(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 Pr,Or,kr={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")}))},Lr=RegExp.prototype.exec,Ar=String.prototype.replace,Rr=Lr,jr=(Pr=/a/,Or=/b*/g,Lr.call(Pr,"a"),Lr.call(Or,"a"),0!==Pr.lastIndex||0!==Or.lastIndex),_r=kr.UNSUPPORTED_Y||kr.BROKEN_CARET,Ir=void 0!==/()??/.exec("")[1];(jr||Ir||_r)&&(Rr=function exec(e){var t,r,n,o,i=this,a=_r&&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)),Ir&&(r=new RegExp("^"+u+"$(?!\\s)",c)),jr&&(t=i.lastIndex),n=Lr.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:jr&&n&&(i.lastIndex=i.global?n.index+n[0].length:t),Ir&&n&&n.length>1&&Ar.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n});var Tr=Rr;_export({target:"RegExp",proto:!0,forced:/./.exec!==Tr},{exec:Tr});var Cr=wellKnownSymbol("match"),notARegexp=function(e){if(function(e){var t;return isObject(e)&&(void 0!==(t=e[Cr])?!!t:"RegExp"==classofRaw(e))}(e))throw TypeError("The method doesn't accept regular expressions");return e},Ur=wellKnownSymbol("match");_export({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Ur]=!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}},Gr={codeAt:createMethod$3(!1),charAt:createMethod$3(!0)},Fr=Gr.charAt,Mr=M.set,Nr=M.getterFor("String Iterator");defineIterator(String,"String",(function(e){Mr(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=Fr(r,n),t.index+=e.length,{value:e,done:!1})}));var Dr=wellKnownSymbol("species"),qr=!fails((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Br="$0"==="a".replace(/./,"$0"),Vr=wellKnownSymbol("replace"),$r=!!/./[Vr]&&""===/./[Vr]("a","$0"),zr=!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[Dr]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return t=!0,null},r[o](""),!t}));if(!i||!a||"replace"===e&&(!qr||!Br||$r)||"split"===e&&!zr){var c=/./[o],u=r(o,""[e],(function(e,t,r,n,o){return t.exec===Tr?i&&!o?{done:!0,value:c.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:Br,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:$r}),s=u[0],l=u[1];N(String.prototype,e,s),N(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)},Wr=Gr.charAt,advanceStringIndex=function(e,t,r){return t+(r?Wr(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 Tr.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 Kr=Math.floor,Yr="".replace,Hr=/\$([$&'`]|\d\d?|<[^>]*>)/g,Jr=/\$([$&'`]|\d\d?)/g,getSubstitution=function(e,t,r,n,o,i){var a=r+e.length,c=n.length,u=Jr;return void 0!==o&&(o=toObject(o),u=Hr),Yr.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 l=+u;if(0===l)return i;if(l>c){var f=Kr(l/10);return 0===f?i:f<=c?void 0===n[f-1]?u.charAt(1):n[f-1]+u.charAt(1):i}s=n[l-1]}return void 0===s?"":s}))},Xr=Math.max,Zr=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),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=Xr(Zr(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)}]}));var Qr={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 en in Qr){var tn=t[en],rn=tn&&tn.prototype;if(rn&&rn.forEach!==Se)try{g(rn,"forEach",Se)}catch(e){rn.forEach=Se}}var nn=wellKnownSymbol("iterator"),on=wellKnownSymbol("toStringTag"),an=Xe.values;for(var cn in Qr){var un=t[cn],sn=un&&un.prototype;if(sn){if(sn[nn]!==an)try{g(sn,nn,an)}catch(e){sn[nn]=an}if(sn[on]||g(sn,on,cn),Qr[cn])for(var ln in Xe)if(sn[ln]!==Xe[ln])try{g(sn,ln,Xe[ln])}catch(e){sn[ln]=Xe[ln]}}}var fn=wellKnownSymbol("iterator"),hn=!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[fn]||"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})),pn=Object.assign,dn=Object.defineProperty,vn=!pn||fails((function(){if(r&&1!==pn({b:1},pn(dn({},"a",{enumerable:!0,get:function(){dn(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!=pn({},e)[n]||xe(pn({},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}:pn,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},yn=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},gn=/[^\0-\u007E]/,mn=/[.\u3002\uFF0E\uFF61]/g,bn="Overflow: input needs wider integers to process",Sn=Math.floor,wn=String.fromCharCode,digitToBasic=function(e){return e+22+75*(e<26)},adapt=function(e,t,r){var n=0;for(e=r?Sn(e/700):e>>1,e+=Sn(e/t);e>455;n+=36)e=Sn(e/35);return Sn(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(wn(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>Sn((2147483647-a)/f))throw RangeError(bn);for(a+=(l-i)*f,i=l,t=0;t<e.length;t++){if((r=e[t])<i&&++a>2147483647)throw RangeError(bn);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(wn(digitToBasic(d+v%y))),h=Sn(v/y)}n.push(wn(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))},xn=getBuiltIn("fetch"),En=getBuiltIn("Headers"),Pn=wellKnownSymbol("iterator"),On=M.set,kn=M.getterFor("URLSearchParams"),Ln=M.getterFor("URLSearchParamsIterator"),An=/\+/g,Rn=Array(4),percentSequence=function(e){return Rn[e-1]||(Rn[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(An," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(percentSequence(r--),percentDecode);return t}},jn=/[!'()~]|%20/g,_n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},replacer=function(e){return _n[e]},serialize=function(e){return encodeURIComponent(e).replace(jn,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")},In=createIteratorConstructor((function Iterator(e,t){On(this,{type:"URLSearchParamsIterator",iterator:getIterator(kn(e).entries),kind:t})}),"Iterator",(function next(){var e=Ln(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})),Tn=function URLSearchParams(){anInstance(this,Tn,"URLSearchParams");var e,t,r,n,o,i,a,c,u,s=arguments.length>0?arguments[0]:void 0,l=this,f=[];if(On(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+"")},Cn=Tn.prototype;redefineAll(Cn,{append:function append(e,t){validateArgumentsLength(arguments.length,2);var r=kn(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){validateArgumentsLength(arguments.length,1);for(var t=kn(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=kn(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=kn(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=kn(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=kn(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=kn(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=kn(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 In(this,"keys")},values:function values(){return new In(this,"values")},entries:function entries(){return new In(this,"entries")}},{enumerable:!0}),N(Cn,Pn,Cn.entries),N(Cn,"toString",(function toString(){for(var e,t=kn(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(Tn,"URLSearchParams"),_export({global:!0,forced:!hn},{URLSearchParams:Tn}),hn||"function"!=typeof xn||"function"!=typeof En||_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 En(t.headers):new En).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)),xn.apply(this,o)}});var Un,Gn={URLSearchParams:Tn,getState:kn},Fn=Gr.codeAt,Mn=t.URL,Nn=Gn.URLSearchParams,Dn=Gn.getState,qn=M.set,Bn=M.getterFor("URL"),Vn=Math.floor,$n=Math.pow,zn=/[A-Za-z]/,Wn=/[\d+-.A-Za-z]/,Kn=/\d/,Yn=/^(0x|0X)/,Hn=/^[0-7]+$/,Jn=/^\d+$/,Xn=/^[\dA-Fa-f]+$/,Zn=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,Qn=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,eo=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,to=/[\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(mn,".").split(".");for(t=0;t<o.length;t++)r=o[t],n.push(gn.test(r)?"xn--"+encode(r):r);return n.join(".")}(t),Zn.test(t))return"Invalid host";if(null===(r=parseIPv4(t)))return"Invalid host";e.host=r}else{if(Qn.test(t))return"Invalid host";for(r="",n=yn(t),o=0;o<n.length;o++)r+=percentEncode(n[o],ro);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=Yn.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?Jn:8==i?Hn:Xn).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>=$n(256,5-t))return null}else if(a>255)return null;for(c=r.pop(),n=0;n<r.length;n++)c+=r[n]*$n(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&&Xn.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(!Kn.test(char()))return;for(;Kn.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=Vn(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},ro={},no=vn({},ro,{" ":1,'"':1,"<":1,">":1,"`":1}),oo=vn({},no,{"#":1,"?":1,"{":1,"}":1}),io=vn({},oo,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(e,t){var r=Fn(e,0);return r>32&&r<127&&!has(t,e)?e:encodeURIComponent(e)},ao={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isSpecial=function(e){return has(ao,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&&zn.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()},co={},uo={},so={},lo={},fo={},ho={},po={},vo={},yo={},go={},mo={},bo={},So={},wo={},xo={},Eo={},Po={},Oo={},ko={},Lo={},Ao={},parseURL=function(e,t,r,n){var o,i,a,c,u,s=r||co,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(eo,"")),t=t.replace(to,""),o=yn(t);l<=o.length;){switch(i=o[l],s){case co:if(!i||!zn.test(i)){if(r)return"Invalid scheme";s=so;continue}f+=i.toLowerCase(),s=uo;break;case uo:if(i&&(Wn.test(i)||"+"==i||"-"==i||"."==i))f+=i.toLowerCase();else{if(":"!=i){if(r)return"Invalid scheme";f="",s=so,l=0;continue}if(r&&(isSpecial(e)!=has(ao,f)||"file"==f&&(includesCredentials(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,r)return void(isSpecial(e)&&ao[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?s=wo:isSpecial(e)&&n&&n.scheme==e.scheme?s=lo:isSpecial(e)?s=vo:"/"==o[l+1]?(s=fo,l++):(e.cannotBeABaseURL=!0,e.path.push(""),s=ko)}break;case so: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=Ao;break}s="file"==n.scheme?wo:ho;continue;case lo:if("/"!=i||"/"!=o[l+1]){s=ho;continue}s=yo,l++;break;case fo:if("/"==i){s=go;break}s=Oo;continue;case ho:if(e.scheme=n.scheme,i==Un)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=po;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=Lo;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=Oo;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=Ao}break;case po:if(!isSpecial(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,s=Oo;continue}s=go}else s=yo;break;case vo:if(s=yo,"/"!=i||"/"!=f.charAt(l+1))continue;l++;break;case yo:if("/"!=i&&"\\"!=i){s=go;continue}break;case go:if("@"==i){h&&(f="%40"+f),h=!0,a=yn(f);for(var v=0;v<a.length;v++){var y=a[v];if(":"!=y||d){var g=percentEncode(y,io);d?e.password+=g:e.username+=g}else d=!0}f=""}else if(i==Un||"/"==i||"?"==i||"#"==i||"\\"==i&&isSpecial(e)){if(h&&""==f)return"Invalid authority";l-=yn(f).length+1,f="",s=mo}else f+=i;break;case mo:case bo:if(r&&"file"==e.scheme){s=Eo;continue}if(":"!=i||p){if(i==Un||"/"==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=Po,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=So,r==bo)return}break;case So:if(!Kn.test(i)){if(i==Un||"/"==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===ao[e.scheme]?null:m,f=""}if(r)return;s=Po;continue}return"Invalid port"}f+=i;break;case wo:if(e.scheme="file","/"==i||"\\"==i)s=xo;else{if(!n||"file"!=n.scheme){s=Oo;continue}if(i==Un)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=Lo;else{if("#"!=i){startsWithWindowsDriveLetter(o.slice(l).join(""))||(e.host=n.host,e.path=n.path.slice(),shortenURLsPath(e)),s=Oo;continue}e.host=n.host,e.path=n.path.slice(),e.query=n.query,e.fragment="",s=Ao}}break;case xo:if("/"==i||"\\"==i){s=Eo;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=Oo;continue;case Eo:if(i==Un||"/"==i||"\\"==i||"?"==i||"#"==i){if(!r&&isWindowsDriveLetter(f))s=Oo;else if(""==f){if(e.host="",r)return;s=Po}else{if(c=parseHost(e,f))return c;if("localhost"==e.host&&(e.host=""),r)return;f="",s=Po}continue}f+=i;break;case Po:if(isSpecial(e)){if(s=Oo,"/"!=i&&"\\"!=i)continue}else if(r||"?"!=i)if(r||"#"!=i){if(i!=Un&&(s=Oo,"/"!=i))continue}else e.fragment="",s=Ao;else e.query="",s=Lo;break;case Oo:if(i==Un||"/"==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==Un||"?"==i||"#"==i))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==i?(e.query="",s=Lo):"#"==i&&(e.fragment="",s=Ao)}else f+=percentEncode(i,oo);break;case ko:"?"==i?(e.query="",s=Lo):"#"==i?(e.fragment="",s=Ao):i!=Un&&(e.path[0]+=percentEncode(i,ro));break;case Lo:r||"#"!=i?i!=Un&&("'"==i&&isSpecial(e)?e.query+="%27":e.query+="#"==i?"%23":percentEncode(i,ro)):(e.fragment="",s=Ao);break;case Ao:i!=Un&&(e.fragment+=percentEncode(i,no))}l++}},Ro=function URL(e){var t,n,o=anInstance(this,Ro,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),c=qn(o,{type:"URL"});if(void 0!==i)if(i instanceof Ro)t=Bn(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 Nn,s=Dn(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))},jo=Ro.prototype,serializeURL=function(){var e=Bn(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=Bn(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 Bn(this).scheme+":"},getUsername=function(){return Bn(this).username},getPassword=function(){return Bn(this).password},getHost=function(){var e=Bn(this),t=e.host,r=e.port;return null===t?"":null===r?serializeHost(t):serializeHost(t)+":"+r},getHostname=function(){var e=Bn(this).host;return null===e?"":serializeHost(e)},getPort=function(){var e=Bn(this).port;return null===e?"":String(e)},getPathname=function(){var e=Bn(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},getSearch=function(){var e=Bn(this).query;return e?"?"+e:""},getSearchParams=function(){return Bn(this).searchParams},getHash=function(){var e=Bn(this).fragment;return e?"#"+e:""},accessorDescriptor=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(r&&Ee(jo,{href:accessorDescriptor(serializeURL,(function(e){var t=Bn(this),r=String(e),n=parseURL(t,r);if(n)throw TypeError(n);Dn(t.searchParams).updateSearchParams(t.query)})),origin:accessorDescriptor(getOrigin),protocol:accessorDescriptor(getProtocol,(function(e){var t=Bn(this);parseURL(t,String(e)+":",co)})),username:accessorDescriptor(getUsername,(function(e){var t=Bn(this),r=yn(String(e));if(!cannotHaveUsernamePasswordPort(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=percentEncode(r[n],io)}})),password:accessorDescriptor(getPassword,(function(e){var t=Bn(this),r=yn(String(e));if(!cannotHaveUsernamePasswordPort(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=percentEncode(r[n],io)}})),host:accessorDescriptor(getHost,(function(e){var t=Bn(this);t.cannotBeABaseURL||parseURL(t,String(e),mo)})),hostname:accessorDescriptor(getHostname,(function(e){var t=Bn(this);t.cannotBeABaseURL||parseURL(t,String(e),bo)})),port:accessorDescriptor(getPort,(function(e){var t=Bn(this);cannotHaveUsernamePasswordPort(t)||(""==(e=String(e))?t.port=null:parseURL(t,e,So))})),pathname:accessorDescriptor(getPathname,(function(e){var t=Bn(this);t.cannotBeABaseURL||(t.path=[],parseURL(t,e+"",Po))})),search:accessorDescriptor(getSearch,(function(e){var t=Bn(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",parseURL(t,e,Lo)),Dn(t.searchParams).updateSearchParams(t.query)})),searchParams:accessorDescriptor(getSearchParams),hash:accessorDescriptor(getHash,(function(e){var t=Bn(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",parseURL(t,e,Ao)):t.fragment=null}))}),N(jo,"toJSON",(function toJSON(){return serializeURL.call(this)}),{enumerable:!0}),N(jo,"toString",(function toString(){return serializeURL.call(this)}),{enumerable:!0}),Mn){var _o=Mn.createObjectURL,Io=Mn.revokeObjectURL;_o&&N(Ro,"createObjectURL",(function createObjectURL(e){return _o.apply(Mn,arguments)})),Io&&N(Ro,"revokeObjectURL",(function revokeObjectURL(e){return Io.apply(Mn,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(Ro,"URL"),_export({global:!0,forced:!hn,sham:!r},{URL:Ro});var To=J.f,Co={}.toString,Uo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Go={f:function getOwnPropertyNames(e){return Uo&&"[object Window]"==Co.call(e)?function(e){try{return To(e)}catch(e){return Uo.slice()}}(e):To(toIndexedObject(e))}},Fo={f:wellKnownSymbol},Mo=y.f,defineWellKnownSymbol=function(e){var t=D.Symbol||(D.Symbol={});has(t,e)||Mo(t,e,{value:Fo.f(e)})},No=de.forEach,Do=sharedKey("hidden"),qo=wellKnownSymbol("toPrimitive"),Bo=M.set,Vo=M.getterFor("Symbol"),$o=Object.prototype,zo=t.Symbol,Wo=getBuiltIn("JSON","stringify"),Ko=d.f,Yo=y.f,Ho=Go.f,Jo=i.f,Xo=k("symbols"),Zo=k("op-symbols"),Qo=k("string-to-symbol-registry"),ei=k("symbol-to-string-registry"),ti=k("wks"),ri=t.QObject,ni=!ri||!ri.prototype||!ri.prototype.findChild,oi=r&&fails((function(){return 7!=ke(Yo({},"a",{get:function(){return Yo(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Ko($o,t);n&&delete $o[t],Yo(e,t,r),n&&e!==$o&&Yo($o,t,n)}:Yo,wrap=function(e,t){var n=Xo[e]=ke(zo.prototype);return Bo(n,{type:"Symbol",tag:e,description:t}),r||(n.description=t),n},ii=ue?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof zo},ai=function defineProperty(e,t,r){e===$o&&ai(Zo,t,r),anObject(e);var n=toPrimitive(t,!0);return anObject(r),has(Xo,n)?(r.enumerable?(has(e,Do)&&e[Do][n]&&(e[Do][n]=!1),r=ke(r,{enumerable:createPropertyDescriptor(0,!1)})):(has(e,Do)||Yo(e,Do,createPropertyDescriptor(1,{})),e[Do][n]=!0),oi(e,n,r)):Yo(e,n,r)},ci=function defineProperties(e,t){anObject(e);var n=toIndexedObject(t),o=xe(n).concat(fi(n));return No(o,(function(t){r&&!ui.call(n,t)||ai(e,t,n[t])})),e},ui=function propertyIsEnumerable(e){var t=toPrimitive(e,!0),r=Jo.call(this,t);return!(this===$o&&has(Xo,t)&&!has(Zo,t))&&(!(r||!has(this,t)||!has(Xo,t)||has(this,Do)&&this[Do][t])||r)},si=function getOwnPropertyDescriptor(e,t){var r=toIndexedObject(e),n=toPrimitive(t,!0);if(r!==$o||!has(Xo,n)||has(Zo,n)){var o=Ko(r,n);return!o||!has(Xo,n)||has(r,Do)&&r[Do][n]||(o.enumerable=!0),o}},li=function getOwnPropertyNames(e){var t=Ho(toIndexedObject(e)),r=[];return No(t,(function(e){has(Xo,e)||has(j,e)||r.push(e)})),r},fi=function getOwnPropertySymbols(e){var t=e===$o,r=Ho(t?Zo:toIndexedObject(e)),n=[];return No(r,(function(e){!has(Xo,e)||t&&!has($o,e)||n.push(Xo[e])})),n};if(ce||(N((zo=function Symbol(){if(this instanceof zo)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===$o&&setter.call(Zo,e),has(this,Do)&&has(this[Do],t)&&(this[Do][t]=!1),oi(this,t,createPropertyDescriptor(1,e))};return r&&ni&&oi($o,t,{configurable:!0,set:setter}),wrap(t,e)}).prototype,"toString",(function toString(){return Vo(this).tag})),N(zo,"withoutSetter",(function(e){return wrap(uid(e),e)})),i.f=ui,y.f=ai,d.f=si,J.f=Go.f=li,X.f=fi,Fo.f=function(e){return wrap(wellKnownSymbol(e),e)},r&&(Yo(zo.prototype,"description",{configurable:!0,get:function description(){return Vo(this).description}}),N($o,"propertyIsEnumerable",ui,{unsafe:!0}))),_export({global:!0,wrap:!0,forced:!ce,sham:!ce},{Symbol:zo}),No(xe(ti),(function(e){defineWellKnownSymbol(e)})),_export({target:"Symbol",stat:!0,forced:!ce},{for:function(e){var t=String(e);if(has(Qo,t))return Qo[t];var r=zo(t);return Qo[t]=r,ei[r]=t,r},keyFor:function keyFor(e){if(!ii(e))throw TypeError(e+" is not a symbol");if(has(ei,e))return ei[e]},useSetter:function(){ni=!0},useSimple:function(){ni=!1}}),_export({target:"Object",stat:!0,forced:!ce,sham:!r},{create:function create(e,t){return void 0===t?ke(e):ci(ke(e),t)},defineProperty:ai,defineProperties:ci,getOwnPropertyDescriptor:si}),_export({target:"Object",stat:!0,forced:!ce},{getOwnPropertyNames:li,getOwnPropertySymbols:fi}),_export({target:"Object",stat:!0,forced:fails((function(){X.f(1)}))},{getOwnPropertySymbols:function getOwnPropertySymbols(e){return X.f(toObject(e))}}),Wo){var hi=!ce||fails((function(){var e=zo();return"[null]"!=Wo([e])||"{}"!=Wo({a:e})||"{}"!=Wo(Object(e))}));_export({target:"JSON",stat:!0,forced:hi},{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)&&!ii(e))return ae(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ii(t))return t}),o[1]=t,Wo.apply(null,o)}})}zo.prototype[qo]||g(zo.prototype,qo,zo.prototype.valueOf),setToStringTag(zo,"Symbol"),j[Do]=!0;var pi=y.f,di=t.Symbol;if(r&&"function"==typeof di&&(!("description"in di.prototype)||void 0!==di().description)){var vi={},yi=function Symbol(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof yi?new di(e):void 0===e?di():di(e);return""===e&&(vi[t]=!0),t};copyConstructorProperties(yi,di);var gi=yi.prototype=di.prototype;gi.constructor=yi;var mi=gi.toString,bi="Symbol(test)"==String(di("test")),Si=/^Symbol\((.*)\)[^)]+$/;pi(gi,"description",{configurable:!0,get:function description(){var e=isObject(this)?this.valueOf():this,t=mi.call(e);if(has(vi,e))return"";var r=bi?t.slice(7,-1):t.replace(Si,"$1");return""===r?void 0:r}}),_export({global:!0,forced:!0},{Symbol:yi})}defineWellKnownSymbol("asyncIterator"),defineWellKnownSymbol("iterator"),defineWellKnownSymbol("toStringTag");var wi=[].reverse,xi=[1,2];_export({target:"Array",proto:!0,forced:String(xi)===String(xi.reverse())},{reverse:function reverse(){return ae(this)&&(this.length=this.length),wi.call(this)}});var Ei=wellKnownSymbol("species"),Pi=function(e){return ar>=51||!fails((function(){var t=[];return(t.constructor={})[Ei]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}("slice"),Oi=arrayMethodUsesToLength("slice",{ACCESSORS:!0,0:0,1:2}),ki=wellKnownSymbol("species"),Li=[].slice,Ai=Math.max;_export({target:"Array",proto:!0,forced:!Pi||!Oi},{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[ki])&&(r=void 0):r=void 0,r===Array||void 0===r))return Li.call(i,c,u);for(n=new(void 0===r?Array:r)(Ai(u-c,0)),o=0;c<u;c++,o++)c in i&&createProperty(n,o,i[c]);return n.length=o,n}});var Ri=y.f,ji=Function.prototype,_i=ji.toString,Ii=/^\s*function ([^ (]*)/;r&&!("name"in ji)&&Ri(ji,"name",{configurable:!0,get:function(){try{return _i.call(this).match(Ii)[1]}catch(e){return""}}}),setToStringTag(t.JSON,"JSON",!0),setToStringTag(Math,"Math",!0);var Ti=fails((function(){Me(1)}));_export({target:"Object",stat:!0,forced:Ti,sham:!Ue},{getPrototypeOf:function getPrototypeOf(e){return Me(toObject(e))}}),_export({target:"Object",stat:!0},{setPrototypeOf:ze});var Ci=RegExp.prototype,Ui=Ci.toString,Gi=fails((function(){return"/a/b"!=Ui.call({source:"a",flags:"b"})})),Fi="toString"!=Ui.name;function __variableDynamicImportRuntime0__(e){switch(e){case"./locale/de.js":return Promise.resolve().then((function(){return Di}));case"./locale/en.js":return Promise.resolve().then((function(){return qi}));case"./locale/fr.js":return Promise.resolve().then((function(){return Bi}));case"./locale/zh-CN.js":return Promise.resolve().then((function(){return Vi}));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. *
*/(Gi||Fi)&&N(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 Ci)?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)}}));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 qi}));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)}}(),Ni={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.curPrefs.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)})))()}}}},Di=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."}}),qi=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."}}),Bi=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."}}),Vi=Object.freeze({__proto__:null,default:{message:"默认情况下, SVG-Edit 在本地保存配置参数和画布内容. 如果基于隐私考虑, 您可以勾选以下选项修改配置.",storagePrefsAndContent:"本地存储配置参数和SVG图",storagePrefsOnly:"本地只存储配置参数",storagePrefs:"本地存储配置参数",storageNoPrefsOrContent:"本地不保存配置参数和SVG图",storageNoPrefs:"本地不保存配置参数",rememberLabel:"记住选择?",rememberTooltip:"如果您勾选记住选择,将不再弹出本窗口."}});export default Ni;
//# sourceMappingURL=ext-storage.js.map