From f10918c2470c09a010450ee6ce6d19c901685010 Mon Sep 17 00:00:00 2001 From: JFH <20402845+jfhenon@users.noreply.github.com> Date: Tue, 9 Mar 2021 09:47:11 +0100 Subject: [PATCH] imbed css inside webcomponent --- dist/editor/index.js | 36 +- dist/editor/index.js.map | 2 +- dist/editor/system/index.js | 28 +- dist/editor/xdomain-index.js | 36 +- dist/editor/xdomain-index.js.map | 2 +- src/editor/components/seColorPicker.js | 609 ++++++++++++++++++++++++- 6 files changed, 659 insertions(+), 54 deletions(-) diff --git a/dist/editor/index.js b/dist/editor/index.js index 59d23164..84bacfe2 100644 --- a/dist/editor/index.js +++ b/dist/editor/index.js @@ -1,18 +1,18 @@ -function _typeof$2(en){return(_typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(en){return typeof en}:function(en){return en&&"function"==typeof Symbol&&en.constructor===Symbol&&en!==Symbol.prototype?"symbol":typeof en})(en)}function asyncGeneratorStep$1(en,tn,nn,rn,an,sn,cn){try{var un=en[sn](cn),dn=un.value}catch(en){return void nn(en)}un.done?tn(dn):Promise.resolve(dn).then(rn,an)}function _asyncToGenerator$1(en){return function(){var tn=this,nn=arguments;return new Promise((function(rn,an){var sn=en.apply(tn,nn);function _next(en){asyncGeneratorStep$1(sn,rn,an,_next,_throw,"next",en)}function _throw(en){asyncGeneratorStep$1(sn,rn,an,_next,_throw,"throw",en)}_next(void 0)}))}}function _classCallCheck$2(en,tn){if(!(en instanceof tn))throw new TypeError("Cannot call a class as a function")}function _defineProperties$1(en,tn){for(var nn=0;nnen.length)&&(tn=en.length);for(var nn=0,rn=new Array(tn);nn=en.length?{done:!0}:{done:!1,value:en[rn++]}},e:function(en){throw en},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var an,sn=!0,cn=!1;return{s:function(){nn=en[Symbol.iterator]()},n:function(){var en=nn.next();return sn=en.done,en},e:function(en){cn=!0,an=en},f:function(){try{sn||null==nn.return||nn.return()}finally{if(cn)throw an}}}}var en="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(en){var tn={exports:{}};return en(tn,tn.exports),tn.exports}var check$1=function(en){return en&&en.Math==Math&&en},tn=check$1("object"==typeof globalThis&&globalThis)||check$1("object"==typeof window&&window)||check$1("object"==typeof self&&self)||check$1("object"==typeof en&&en)||function(){return this}()||Function("return this")(),fails$1=function(en){try{return!!en()}catch(en){return!0}},nn=!fails$1((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),rn={}.propertyIsEnumerable,an=Object.getOwnPropertyDescriptor,sn={f:an&&!rn.call({1:2},1)?function propertyIsEnumerable(en){var tn=an(this,en);return!!tn&&tn.enumerable}:rn},createPropertyDescriptor$1=function(en,tn){return{enumerable:!(1&en),configurable:!(2&en),writable:!(4&en),value:tn}},cn={}.toString,classofRaw$1=function(en){return cn.call(en).slice(8,-1)},un="".split,dn=fails$1((function(){return!Object("z").propertyIsEnumerable(0)}))?function(en){return"String"==classofRaw$1(en)?un.call(en,""):Object(en)}:Object,requireObjectCoercible$1=function(en){if(null==en)throw TypeError("Can't call method on "+en);return en},toIndexedObject$1=function(en){return dn(requireObjectCoercible$1(en))},isObject$2=function(en){return"object"==typeof en?null!==en:"function"==typeof en},toPrimitive$1=function(en,tn){if(!isObject$2(en))return en;var nn,rn;if(tn&&"function"==typeof(nn=en.toString)&&!isObject$2(rn=nn.call(en)))return rn;if("function"==typeof(nn=en.valueOf)&&!isObject$2(rn=nn.call(en)))return rn;if(!tn&&"function"==typeof(nn=en.toString)&&!isObject$2(rn=nn.call(en)))return rn;throw TypeError("Can't convert object to primitive value")},pn={}.hasOwnProperty,has$3=function(en,tn){return pn.call(en,tn)},hn=tn.document,gn=isObject$2(hn)&&isObject$2(hn.createElement),documentCreateElement$1=function(en){return gn?hn.createElement(en):{}},An=!nn&&!fails$1((function(){return 7!=Object.defineProperty(documentCreateElement$1("div"),"a",{get:function(){return 7}}).a})),mn=Object.getOwnPropertyDescriptor,vn={f:nn?mn:function getOwnPropertyDescriptor(en,tn){if(en=toIndexedObject$1(en),tn=toPrimitive$1(tn,!0),An)try{return mn(en,tn)}catch(en){}if(has$3(en,tn))return createPropertyDescriptor$1(!sn.f.call(en,tn),en[tn])}},anObject$1=function(en){if(!isObject$2(en))throw TypeError(String(en)+" is not an object");return en},yn=Object.defineProperty,_n={f:nn?yn:function defineProperty(en,tn,nn){if(anObject$1(en),tn=toPrimitive$1(tn,!0),anObject$1(nn),An)try{return yn(en,tn,nn)}catch(en){}if("get"in nn||"set"in nn)throw TypeError("Accessors not supported");return"value"in nn&&(en[tn]=nn.value),en}},wn=nn?function(en,tn,nn){return _n.f(en,tn,createPropertyDescriptor$1(1,nn))}:function(en,tn,nn){return en[tn]=nn,en},setGlobal$1=function(en,nn){try{wn(tn,en,nn)}catch(rn){tn[en]=nn}return nn},xn=tn["__core-js_shared__"]||setGlobal$1("__core-js_shared__",{}),Cn=Function.toString;"function"!=typeof xn.inspectSource&&(xn.inspectSource=function(en){return Cn.call(en)});var Sn,kn,Bn,En=xn.inspectSource,Pn=tn.WeakMap,Ln="function"==typeof Pn&&/native code/.test(En(Pn)),Tn=createCommonjsModule((function(en){(en.exports=function(en,tn){return xn[en]||(xn[en]=void 0!==tn?tn:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Nn=0,In=Math.random(),uid$1=function(en){return"Symbol("+String(void 0===en?"":en)+")_"+(++Nn+In).toString(36)},Fn=Tn("keys"),sharedKey$1=function(en){return Fn[en]||(Fn[en]=uid$1(en))},On={},Un=tn.WeakMap;if(Ln){var Rn=xn.state||(xn.state=new Un),Mn=Rn.get,Dn=Rn.has,Qn=Rn.set;Sn=function(en,tn){return tn.facade=en,Qn.call(Rn,en,tn),tn},kn=function(en){return Mn.call(Rn,en)||{}},Bn=function(en){return Dn.call(Rn,en)}}else{var jn=sharedKey$1("state");On[jn]=!0,Sn=function(en,tn){return tn.facade=en,wn(en,jn,tn),tn},kn=function(en){return has$3(en,jn)?en[jn]:{}},Bn=function(en){return has$3(en,jn)}}var Hn,Gn,Vn={set:Sn,get:kn,has:Bn,enforce:function(en){return Bn(en)?kn(en):Sn(en,{})},getterFor:function(en){return function(tn){var nn;if(!isObject$2(tn)||(nn=kn(tn)).type!==en)throw TypeError("Incompatible receiver, "+en+" required");return nn}}},$n=createCommonjsModule((function(en){var nn=Vn.get,rn=Vn.enforce,an=String(String).split("String");(en.exports=function(en,nn,sn,cn){var un,dn=!!cn&&!!cn.unsafe,pn=!!cn&&!!cn.enumerable,hn=!!cn&&!!cn.noTargetGet;"function"==typeof sn&&("string"!=typeof nn||has$3(sn,"name")||wn(sn,"name",nn),(un=rn(sn)).source||(un.source=an.join("string"==typeof nn?nn:""))),en!==tn?(dn?!hn&&en[nn]&&(pn=!0):delete en[nn],pn?en[nn]=sn:wn(en,nn,sn)):pn?en[nn]=sn:setGlobal$1(nn,sn)})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&nn(this).source||En(this)}))})),zn=tn,aFunction$3=function(en){return"function"==typeof en?en:void 0},getBuiltIn$1=function(en,nn){return arguments.length<2?aFunction$3(zn[en])||aFunction$3(tn[en]):zn[en]&&zn[en][nn]||tn[en]&&tn[en][nn]},Kn=Math.ceil,qn=Math.floor,toInteger$1=function(en){return isNaN(en=+en)?0:(en>0?qn:Kn)(en)},Wn=Math.min,toLength$1=function(en){return en>0?Wn(toInteger$1(en),9007199254740991):0},Xn=Math.max,Yn=Math.min,toAbsoluteIndex$1=function(en,tn){var nn=toInteger$1(en);return nn<0?Xn(nn+tn,0):Yn(nn,tn)},createMethod$a=function(en){return function(tn,nn,rn){var an,sn=toIndexedObject$1(tn),cn=toLength$1(sn.length),un=toAbsoluteIndex$1(rn,cn);if(en&&nn!=nn){for(;cn>un;)if((an=sn[un++])!=an)return!0}else for(;cn>un;un++)if((en||un in sn)&&sn[un]===nn)return en||un||0;return!en&&-1}},Jn={includes:createMethod$a(!0),indexOf:createMethod$a(!1)},Zn=Jn.indexOf,objectKeysInternal$1=function(en,tn){var nn,rn=toIndexedObject$1(en),an=0,sn=[];for(nn in rn)!has$3(On,nn)&&has$3(rn,nn)&&sn.push(nn);for(;tn.length>an;)has$3(rn,nn=tn[an++])&&(~Zn(sn,nn)||sn.push(nn));return sn},Tr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ur=Tr.concat("length","prototype"),Rr={f:Object.getOwnPropertyNames||function getOwnPropertyNames(en){return objectKeysInternal$1(en,Ur)}},Dr={f:Object.getOwnPropertySymbols},Qr=getBuiltIn$1("Reflect","ownKeys")||function ownKeys(en){var tn=Rr.f(anObject$1(en)),nn=Dr.f;return nn?tn.concat(nn(en)):tn},copyConstructorProperties=function(en,tn){for(var nn=Qr(tn),rn=_n.f,an=vn.f,sn=0;sn=74)&&(Hn=Jr.match(/Chrome\/(\d+)/))&&(Gn=Hn[1]);var ni=Gn&&+Gn,ri=!!Object.getOwnPropertySymbols&&!fails$1((function(){return!Symbol.sham&&(Yr?38===ni:ni>37&&ni<41)})),ii=ri&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,oi=Tn("wks"),ai=tn.Symbol,si=ii?ai:ai&&ai.withoutSetter||uid$1,wellKnownSymbol$1=function(en){return has$3(oi,en)&&(ri||"string"==typeof oi[en])||(ri&&has$3(ai,en)?oi[en]=ai[en]:oi[en]=si("Symbol."+en)),oi[en]},li=wellKnownSymbol$1("species"),arraySpeciesCreate$1=function(en,tn){var nn;return Xr(en)&&("function"!=typeof(nn=en.constructor)||nn!==Array&&!Xr(nn.prototype)?isObject$2(nn)&&null===(nn=nn[li])&&(nn=void 0):nn=void 0),new(void 0===nn?Array:nn)(0===tn?0:tn)},ui=wellKnownSymbol$1("species"),arrayMethodHasSpeciesSupport$1=function(en){return ni>=51||!fails$1((function(){var tn=[];return(tn.constructor={})[ui]=function(){return{foo:1}},1!==tn[en](Boolean).foo}))},di=wellKnownSymbol$1("isConcatSpreadable"),pi=ni>=51||!fails$1((function(){var en=[];return en[di]=!1,en.concat()[0]!==en})),hi=arrayMethodHasSpeciesSupport$1("concat"),isConcatSpreadable$1=function(en){if(!isObject$2(en))return!1;var tn=en[di];return void 0!==tn?!!tn:Xr(en)};_export$1({target:"Array",proto:!0,forced:!pi||!hi},{concat:function concat(en){var tn,nn,rn,an,sn,cn=toObject$1(this),un=arraySpeciesCreate$1(cn,0),dn=0;for(tn=-1,rn=arguments.length;tn9007199254740991)throw TypeError("Maximum allowed index exceeded");for(nn=0;nn=9007199254740991)throw TypeError("Maximum allowed index exceeded");createProperty$1(un,dn++,sn)}return un.length=dn,un}});var gi=arrayMethodHasSpeciesSupport$1("slice"),fi=wellKnownSymbol$1("species"),Ai=[].slice,mi=Math.max;_export$1({target:"Array",proto:!0,forced:!gi},{slice:function slice(en,tn){var nn,rn,an,sn=toIndexedObject$1(this),cn=toLength$1(sn.length),un=toAbsoluteIndex$1(en,cn),dn=toAbsoluteIndex$1(void 0===tn?cn:tn,cn);if(Xr(sn)&&("function"!=typeof(nn=sn.constructor)||nn!==Array&&!Xr(nn.prototype)?isObject$2(nn)&&null===(nn=nn[fi])&&(nn=void 0):nn=void 0,nn===Array||void 0===nn))return Ai.call(sn,un,dn);for(rn=new(void 0===nn?Array:nn)(mi(dn-un,0)),an=0;un0&&(!sn.multiline||sn.multiline&&"\n"!==en[sn.lastIndex-1])&&(dn="(?: "+dn+")",hn=" "+hn,pn++),nn=new RegExp("^(?:"+dn+")",un)),Si&&(nn=new RegExp("^"+dn+"$(?!\\s)",un)),xi&&(tn=sn.lastIndex),rn=yi.call(cn?nn:sn,hn),cn?rn?(rn.input=rn.input.slice(pn),rn[0]=rn[0].slice(pn),rn.index=sn.lastIndex,sn.lastIndex+=rn[0].length):sn.lastIndex=0:xi&&rn&&(sn.lastIndex=sn.global?rn.index+rn[0].length:tn),Si&&rn&&rn.length>1&&_i.call(rn[0],nn,(function(){for(an=1;an")})),Pi="$0"==="a".replace(/./,"$0"),Li=wellKnownSymbol$1("replace"),Ti=!!/./[Li]&&""===/./[Li]("a","$0"),Ni=!fails$1((function(){var en=/(?:)/,tn=en.exec;en.exec=function(){return tn.apply(this,arguments)};var nn="ab".split(en);return 2!==nn.length||"a"!==nn[0]||"b"!==nn[1]})),fixRegexpWellKnownSymbolLogic=function(en,tn,nn,rn){var an=wellKnownSymbol$1(en),sn=!fails$1((function(){var tn={};return tn[an]=function(){return 7},7!=""[en](tn)})),cn=sn&&!fails$1((function(){var tn=!1,nn=/a/;return"split"===en&&((nn={}).constructor={},nn.constructor[Bi]=function(){return nn},nn.flags="",nn[an]=/./[an]),nn.exec=function(){return tn=!0,null},nn[an](""),!tn}));if(!sn||!cn||"replace"===en&&(!Ei||!Pi||Ti)||"split"===en&&!Ni){var un=/./[an],dn=nn(an,""[en],(function(en,tn,nn,rn,an){return tn.exec===ki?sn&&!an?{done:!0,value:un.call(tn,nn,rn)}:{done:!0,value:en.call(nn,tn,rn)}:{done:!1}}),{REPLACE_KEEPS_$0:Pi,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Ti}),pn=dn[0],hn=dn[1];$n(String.prototype,en,pn),$n(RegExp.prototype,an,2==tn?function(en,tn){return hn.call(en,this,tn)}:function(en){return hn.call(en,this)})}rn&&wn(RegExp.prototype[an],"sham",!0)},Ii=wellKnownSymbol$1("match"),isRegexp$1=function(en){var tn;return isObject$2(en)&&(void 0!==(tn=en[Ii])?!!tn:"RegExp"==classofRaw$1(en))},aFunction$2=function(en){if("function"!=typeof en)throw TypeError(String(en)+" is not a function");return en},Fi=wellKnownSymbol$1("species"),speciesConstructor$1=function(en,tn){var nn,rn=anObject$1(en).constructor;return void 0===rn||null==(nn=anObject$1(rn)[Fi])?tn:aFunction$2(nn)},createMethod$9=function(en){return function(tn,nn){var rn,an,sn=String(requireObjectCoercible$1(tn)),cn=toInteger$1(nn),un=sn.length;return cn<0||cn>=un?en?"":void 0:(rn=sn.charCodeAt(cn))<55296||rn>56319||cn+1===un||(an=sn.charCodeAt(cn+1))<56320||an>57343?en?sn.charAt(cn):rn:en?sn.slice(cn,cn+2):an-56320+(rn-55296<<10)+65536}},Oi={codeAt:createMethod$9(!1),charAt:createMethod$9(!0)},Ui=Oi.charAt,advanceStringIndex=function(en,tn,nn){return tn+(nn?Ui(en,tn).length:1)},regexpExecAbstract=function(en,tn){var nn=en.exec;if("function"==typeof nn){var rn=nn.call(en,tn);if("object"!=typeof rn)throw TypeError("RegExp exec method returned something other than an Object or null");return rn}if("RegExp"!==classofRaw$1(en))throw TypeError("RegExp#exec called on incompatible receiver");return ki.call(en,tn)},Ri=[].push,Mi=Math.min,Di=!fails$1((function(){return!RegExp(4294967295,"y")}));fixRegexpWellKnownSymbolLogic("split",2,(function(en,tn,nn){var rn;return rn="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(en,nn){var rn=String(requireObjectCoercible$1(this)),an=void 0===nn?4294967295:nn>>>0;if(0===an)return[];if(void 0===en)return[rn];if(!isRegexp$1(en))return tn.call(rn,en,an);for(var sn,cn,un,dn=[],pn=(en.ignoreCase?"i":"")+(en.multiline?"m":"")+(en.unicode?"u":"")+(en.sticky?"y":""),hn=0,gn=new RegExp(en.source,pn+"g");(sn=ki.call(gn,rn))&&!((cn=gn.lastIndex)>hn&&(dn.push(rn.slice(hn,sn.index)),sn.length>1&&sn.index=an));)gn.lastIndex===sn.index&&gn.lastIndex++;return hn===rn.length?!un&&gn.test("")||dn.push(""):dn.push(rn.slice(hn)),dn.length>an?dn.slice(0,an):dn}:"0".split(void 0,0).length?function(en,nn){return void 0===en&&0===nn?[]:tn.call(this,en,nn)}:tn,[function split(tn,nn){var an=requireObjectCoercible$1(this),sn=null==tn?void 0:tn[en];return void 0!==sn?sn.call(tn,an,nn):rn.call(String(an),tn,nn)},function(en,an){var sn=nn(rn,en,this,an,rn!==tn);if(sn.done)return sn.value;var cn=anObject$1(en),un=String(this),dn=speciesConstructor$1(cn,RegExp),pn=cn.unicode,hn=(cn.ignoreCase?"i":"")+(cn.multiline?"m":"")+(cn.unicode?"u":"")+(Di?"y":"g"),gn=new dn(Di?cn:"^(?:"+cn.source+")",hn),An=void 0===an?4294967295:an>>>0;if(0===An)return[];if(0===un.length)return null===regexpExecAbstract(gn,un)?[un]:[];for(var mn=0,vn=0,yn=[];vn]*>)/g,Gi=/\$([$&'`]|\d{1,2})/g,getSubstitution=function(en,tn,nn,rn,an,sn){var cn=nn+en.length,un=rn.length,dn=Gi;return void 0!==an&&(an=toObject$1(an),dn=Hi),ji.call(sn,dn,(function(sn,dn){var pn;switch(dn.charAt(0)){case"$":return"$";case"&":return en;case"`":return tn.slice(0,nn);case"'":return tn.slice(cn);case"<":pn=an[dn.slice(1,-1)];break;default:var hn=+dn;if(0===hn)return sn;if(hn>un){var gn=Qi(hn/10);return 0===gn?sn:gn<=un?void 0===rn[gn-1]?dn.charAt(1):rn[gn-1]+dn.charAt(1):sn}pn=rn[hn-1]}return void 0===pn?"":pn}))},Vi=Math.max,$i=Math.min,maybeToString=function(en){return void 0===en?en:String(en)};fixRegexpWellKnownSymbolLogic("replace",2,(function(en,tn,nn,rn){var an=rn.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,sn=rn.REPLACE_KEEPS_$0,cn=an?"$":"$0";return[function replace(nn,rn){var an=requireObjectCoercible$1(this),sn=null==nn?void 0:nn[en];return void 0!==sn?sn.call(nn,an,rn):tn.call(String(an),nn,rn)},function(en,rn){if(!an&&sn||"string"==typeof rn&&-1===rn.indexOf(cn)){var un=nn(tn,en,this,rn);if(un.done)return un.value}var dn=anObject$1(en),pn=String(this),hn="function"==typeof rn;hn||(rn=String(rn));var gn=dn.global;if(gn){var An=dn.unicode;dn.lastIndex=0}for(var mn=[];;){var vn=regexpExecAbstract(dn,pn);if(null===vn)break;if(mn.push(vn),!gn)break;""===String(vn[0])&&(dn.lastIndex=advanceStringIndex(pn,toLength$1(dn.lastIndex),An))}for(var yn="",_n=0,wn=0;wn=_n&&(yn+=pn.slice(_n,Cn)+Pn,_n=Cn+xn.length)}return yn+pn.slice(_n)}]}));var zi="\t\n\v\f\r                 \u2028\u2029\ufeff",Ki="["+zi+"]",qi=RegExp("^"+Ki+Ki+"*"),Wi=RegExp(Ki+Ki+"*$"),createMethod$8=function(en){return function(tn){var nn=String(requireObjectCoercible$1(tn));return 1&en&&(nn=nn.replace(qi,"")),2&en&&(nn=nn.replace(Wi,"")),nn}},Xi={start:createMethod$8(1),end:createMethod$8(2),trim:createMethod$8(3)},Yi=Xi.trim,Ji=tn.parseFloat,Zi=1/Ji(zi+"-0")!=-1/0?function parseFloat(en){var tn=Yi(String(en)),nn=Ji(tn);return 0===nn&&"-"==tn.charAt(0)?-0:nn}:Ji;_export$1({global:!0,forced:parseFloat!=Zi},{parseFloat:Zi});var functionBindContext$1=function(en,tn,nn){if(aFunction$2(en),void 0===tn)return en;switch(nn){case 0:return function(){return en.call(tn)};case 1:return function(nn){return en.call(tn,nn)};case 2:return function(nn,rn){return en.call(tn,nn,rn)};case 3:return function(nn,rn,an){return en.call(tn,nn,rn,an)}}return function(){return en.apply(tn,arguments)}},eo=[].push,createMethod$7=function(en){var tn=1==en,nn=2==en,rn=3==en,an=4==en,sn=6==en,cn=7==en,un=5==en||sn;return function(pn,hn,gn,An){for(var mn,vn,yn=toObject$1(pn),_n=dn(yn),wn=functionBindContext$1(hn,gn,3),xn=toLength$1(_n.length),Cn=0,Sn=An||arraySpeciesCreate$1,kn=tn?Sn(pn,xn):nn||cn?Sn(pn,0):void 0;xn>Cn;Cn++)if((un||Cn in _n)&&(vn=wn(mn=_n[Cn],Cn,yn),en))if(tn)kn[Cn]=vn;else if(vn)switch(en){case 3:return!0;case 5:return mn;case 6:return Cn;case 2:eo.call(kn,mn)}else switch(en){case 4:return!1;case 7:eo.call(kn,mn)}return sn?-1:rn||an?an:kn}},to={forEach:createMethod$7(0),map:createMethod$7(1),filter:createMethod$7(2),some:createMethod$7(3),every:createMethod$7(4),find:createMethod$7(5),findIndex:createMethod$7(6),filterOut:createMethod$7(7)},no=to.filter,ro=arrayMethodHasSpeciesSupport$1("filter");_export$1({target:"Array",proto:!0,forced:!ro},{filter:function filter(en){return no(this,en,arguments.length>1?arguments[1]:void 0)}});var io={};io[wellKnownSymbol$1("toStringTag")]="z";var oo="[object z]"===String(io),ao=wellKnownSymbol$1("toStringTag"),so="Arguments"==classofRaw$1(function(){return arguments}()),lo=oo?classofRaw$1:function(en){var tn,nn,rn;return void 0===en?"Undefined":null===en?"Null":"string"==typeof(nn=function(en,tn){try{return en[tn]}catch(en){}}(tn=Object(en),ao))?nn:so?classofRaw$1(tn):"Object"==(rn=classofRaw$1(tn))&&"function"==typeof tn.callee?"Arguments":rn},co=oo?{}.toString:function toString(){return"[object "+lo(this)+"]"};oo||$n(Object.prototype,"toString",co,{unsafe:!0});var stringTrimForced$1=function(en){return fails$1((function(){return!!zi[en]()||"​…᠎"!="​…᠎"[en]()||zi[en].name!==en}))},uo=Xi.trim;_export$1({target:"String",proto:!0,forced:stringTrimForced$1("trim")},{trim:function trim(){return uo(this)}});var arrayMethodIsStrict$1=function(en,tn){var nn=[][en];return!!nn&&fails$1((function(){nn.call(null,tn||function(){throw 1},1)}))},po=Jn.indexOf,ho=[].indexOf,go=!!ho&&1/[1].indexOf(1,-0)<0,fo=arrayMethodIsStrict$1("indexOf");_export$1({target:"Array",proto:!0,forced:go||!fo},{indexOf:function indexOf(en){return go?ho.apply(this,arguments)||0:po(this,en,arguments.length>1?arguments[1]:void 0)}});var Ao,mo=Object.keys||function keys(en){return objectKeysInternal$1(en,Tr)},vo=nn?Object.defineProperties:function defineProperties(en,tn){anObject$1(en);for(var nn,rn=mo(tn),an=rn.length,sn=0;an>sn;)_n.f(en,nn=rn[sn++],tn[nn]);return en},yo=getBuiltIn$1("document","documentElement"),_o=sharedKey$1("IE_PROTO"),EmptyConstructor$1=function(){},scriptTag$1=function(en){return"