@truework/credentials
Advanced tools
Comparing version 0.2.10 to 0.3.0
@@ -1,1 +0,1 @@ | ||
{"processes":{"11daa2e3-c728-4d2c-b697-2755276efcd8":{"parent":"358e9136-aef8-437f-a364-8da2354622d9","externalId":"src/__tests__/frame.test.ts","children":[]},"358e9136-aef8-437f-a364-8da2354622d9":{"parent":null,"children":["11daa2e3-c728-4d2c-b697-2755276efcd8","38aff0fd-5458-44e9-9044-3bcf52636a3a","a298d8bc-b39c-4d64-8e49-bc26a1e7a8ae"]},"38aff0fd-5458-44e9-9044-3bcf52636a3a":{"parent":"358e9136-aef8-437f-a364-8da2354622d9","externalId":"src/__tests__/events.test.ts","children":[]},"a298d8bc-b39c-4d64-8e49-bc26a1e7a8ae":{"parent":"358e9136-aef8-437f-a364-8da2354622d9","externalId":"src/__tests__/index.test.ts","children":[]}},"files":{"/home/runner/work/truework.js/truework.js/packages/credentials/src/index.ts":["11daa2e3-c728-4d2c-b697-2755276efcd8","38aff0fd-5458-44e9-9044-3bcf52636a3a","a298d8bc-b39c-4d64-8e49-bc26a1e7a8ae"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/events.ts":["11daa2e3-c728-4d2c-b697-2755276efcd8","38aff0fd-5458-44e9-9044-3bcf52636a3a","a298d8bc-b39c-4d64-8e49-bc26a1e7a8ae"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/frame.ts":["11daa2e3-c728-4d2c-b697-2755276efcd8","38aff0fd-5458-44e9-9044-3bcf52636a3a","a298d8bc-b39c-4d64-8e49-bc26a1e7a8ae"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/utils.ts":["11daa2e3-c728-4d2c-b697-2755276efcd8","38aff0fd-5458-44e9-9044-3bcf52636a3a","a298d8bc-b39c-4d64-8e49-bc26a1e7a8ae"]},"externalIds":{"src/__tests__/frame.test.ts":{"root":"11daa2e3-c728-4d2c-b697-2755276efcd8","children":[]},"src/__tests__/events.test.ts":{"root":"38aff0fd-5458-44e9-9044-3bcf52636a3a","children":[]},"src/__tests__/index.test.ts":{"root":"a298d8bc-b39c-4d64-8e49-bc26a1e7a8ae","children":[]}}} | ||
{"processes":{"1c3c79a6-02c3-4338-8d65-18986be2845c":{"parent":"ec39591a-3302-4323-b242-47e848fb1aa0","externalId":"src/__tests__/frame.test.ts","children":[]},"a063e93e-77ab-4bbe-b92d-8a8c1c11dfef":{"parent":"ec39591a-3302-4323-b242-47e848fb1aa0","externalId":"src/__tests__/index.test.ts","children":[]},"aaaf831a-86d3-41fa-a0a0-1048e3d9279a":{"parent":"ec39591a-3302-4323-b242-47e848fb1aa0","externalId":"src/__tests__/events.test.ts","children":[]},"ec39591a-3302-4323-b242-47e848fb1aa0":{"parent":null,"children":["1c3c79a6-02c3-4338-8d65-18986be2845c","a063e93e-77ab-4bbe-b92d-8a8c1c11dfef","aaaf831a-86d3-41fa-a0a0-1048e3d9279a"]}},"files":{"/home/runner/work/truework.js/truework.js/packages/credentials/src/frame.ts":["1c3c79a6-02c3-4338-8d65-18986be2845c","a063e93e-77ab-4bbe-b92d-8a8c1c11dfef","aaaf831a-86d3-41fa-a0a0-1048e3d9279a"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/index.ts":["a063e93e-77ab-4bbe-b92d-8a8c1c11dfef","aaaf831a-86d3-41fa-a0a0-1048e3d9279a"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/events.ts":["a063e93e-77ab-4bbe-b92d-8a8c1c11dfef","aaaf831a-86d3-41fa-a0a0-1048e3d9279a"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/utils.ts":["a063e93e-77ab-4bbe-b92d-8a8c1c11dfef","aaaf831a-86d3-41fa-a0a0-1048e3d9279a"]},"externalIds":{"src/__tests__/frame.test.ts":{"root":"1c3c79a6-02c3-4338-8d65-18986be2845c","children":[]},"src/__tests__/index.test.ts":{"root":"a063e93e-77ab-4bbe-b92d-8a8c1c11dfef","children":[]},"src/__tests__/events.test.ts":{"root":"aaaf831a-86d3-41fa-a0a0-1048e3d9279a","children":[]}}} |
@@ -1,1 +0,1 @@ | ||
!function(t,e){for(var n in e)t[n]=e[n]}(exports,function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=141)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(90))},function(t,e,n){var r=n(0),o=n(39),i=n(7),c=n(31),u=n(38),a=n(57),f=o("wks"),s=r.Symbol,l=a?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)&&(u||"string"==typeof f[t])||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(2);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(0),o=n(25).f,i=n(10),c=n(11),u=n(41),a=n(59),f=n(44);t.exports=function(t,e){var n,s,l,p,v,h=t.target,d=t.global,y=t.stat;if(n=d?r:y?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:h+(y?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(n,s,p,t)}}},function(t,e,n){var r=n(8),o=n(58),i=n(4),c=n(27),u=Object.defineProperty;e.f=r?u:function(t,e,n){if(i(t),e=c(e),i(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(13),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(r(t),e)}},function(t,e,n){var r=n(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(8),o=n(6),i=n(17);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(0),o=n(10),i=n(7),c=n(41),u=n(42),a=n(14),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,e,n,u){var a,f=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(a=s(n)).source||(a.source=l.join("string"==typeof e?e:""))),t!==r?(f?!v&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u(this)}))},function(t,e,n){var r=n(56),o=n(26);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(26);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r,o,i,c=n(93),u=n(0),a=n(2),f=n(10),s=n(7),l=n(40),p=n(33),v=n(20),h=u.WeakMap;if(c||l.state){var d=l.state||(l.state=new h),y=d.get,g=d.has,m=d.set;r=function(t,e){if(g.call(d,t))throw new TypeError("Object already initialized");return e.facade=t,m.call(d,t,e),e},o=function(t){return y.call(d,t)||{}},i=function(t){return g.call(d,t)}}else{var b=p("state");v[b]=!0,r=function(t,e){if(s(t,b))throw new TypeError("Object already initialized");return e.facade=t,f(t,b,e),e},o=function(t){return s(t,b)?t[b]:{}},i=function(t){return s(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!a(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var r,o=n(4),i=n(99),c=n(43),u=n(20),a=n(67),f=n(32),s=n(33),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;d="undefined"!=typeof document?document.domain&&r?h(r):((e=f("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(r);for(var n=c.length;n--;)delete d.prototype[c[n]];return d()};u[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[l]=t):n=d(),void 0===e?n:i(n,e)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=!1},function(t,e){t.exports={}},function(t,e,n){var r=n(35),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(28);t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(6).f,o=n(7),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(8),o=n(37),i=n(17),c=n(12),u=n(27),a=n(7),f=n(58),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=c(t),e=u(e),f)try{return s(t,e)}catch(t){}if(a(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(91),o=n(28);t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},function(t,e,n){var r=n(9),o=n(57);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return"function"==typeof e&&Object(t)instanceof e}},function(t,e,n){var r,o,i=n(0),c=n(30),u=i.process,a=i.Deno,f=u&&u.versions||a&&a.version,s=f&&f.v8;s?o=(r=s.split("."))[0]<4?1:r[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,e,n){var r=n(9);t.exports=r("navigator","userAgent")||""},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(0),o=n(2),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,n){var r=n(39),o=n(31),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,n){var r=n(60),o=n(43).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(15);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(29),o=n(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e,n){var r=n(19),o=n(40);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(0),o=n(41),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){var r=n(0);t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(40),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(3),o=/#|\.prototype\./,i=function(t,e){var n=u[c(t)];return n==f||n!=a&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,e,n){var r=n(7),o=n(13),i=n(33),c=n(64),u=i("IE_PROTO"),a=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r={};r[n(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(60),o=n(43);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(5),o=n(101),i=n(45),c=n(49),u=n(24),a=n(10),f=n(11),s=n(1),l=n(19),p=n(23),v=n(70),h=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,y=s("iterator"),g=function(){return this};t.exports=function(t,e,n,s,v,m,b){o(n,e,s);var x,w,O,S=function(t){if(t===v&&k)return k;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},j=e+" Iterator",E=!1,T=t.prototype,P=T[y]||T["@@iterator"]||v&&T[v],k=!d&&P||S(v),L="Array"==e&&T.entries||P;if(L&&(x=i(L.call(new t)))!==Object.prototype&&x.next&&(l||i(x)===h||(c?c(x,h):"function"!=typeof x[y]&&a(x,y,g)),u(x,j,!0,!0),l&&(p[j]=g)),"values"==v&&P&&"values"!==P.name&&(E=!0,k=function(){return P.call(this)}),l&&!b||T[y]===k||a(T,y,k),p[e]=k,v)if(w={values:S("values"),keys:m?k:S("keys"),entries:S("entries")},b)for(O in w)(d||E||!(O in T))&&f(T,O,w[O]);else r({target:e,proto:!0,forced:d||E},w);return w}},function(t,e,n){var r=n(4),o=n(102);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){var r=n(4),o=n(106),i=n(21),c=n(36),u=n(107),a=n(73),f=n(108),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var l,p,v,h,d,y,g,m=n&&n.that,b=!(!n||!n.AS_ENTRIES),x=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),O=c(e,m,1+b+w),S=function(t){return l&&f(l,"normal",t),new s(!0,t)},j=function(t){return b?(r(t),w?O(t[0],t[1],S):O(t[0],t[1])):w?O(t,S):O(t)};if(x)l=t;else{if("function"!=typeof(p=a(t)))throw TypeError("Target is not iterable");if(o(p)){for(v=0,h=i(t.length);h>v;v++)if((d=j(t[v]))&&d instanceof s)return d;return new s(!1)}l=u(t,p)}for(y=l.next;!(g=y.call(l)).done;){try{d=j(g.value)}catch(t){f(l,"throw",t)}if("object"==typeof d&&d&&d instanceof s)return d}return new s(!1)}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){var r=n(18),o=n(0);t.exports="process"==r(o.process)},function(t,e,n){var r=n(18);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(125);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},function(t){t.exports=JSON.parse('{"name":"@truework/credentials","version":"0.2.10","description":"The embeddable Truework Credentials experience.","author":"truework-team","main":"build/index.js","types":"build/src/index.d.ts","scripts":{"build":"webpack --mode production && pnpm typegen","watch":"webpack -w --mode development","typegen":"pnpx tsc --emitDeclarationOnly","typecheck":"pnpx tsc --noEmit","test":"tap --ts --no-check-coverage --test-regex .*test\\\\.tsx?"},"devDependencies":{"@babel/core":"^7.15.0","@babel/preset-env":"^7.15.0","@babel/preset-typescript":"^7.15.0","@tsconfig/create-react-app":"^1.0.2","@types/jsdom":"^16.2.13","@types/proxyquire":"^1.3.28","@types/tap":"^15.0.5","babel-loader":"^8.2.2","core-js":"^3.16.2","jsdom":"^17.0.0","proxyquire":"^2.1.3","regenerator-runtime":"^0.13.9","tap":"^15.0.9","ts-node":"^10.2.1","typescript":"^4.3.5","webpack":"^4.46.0","webpack-cli":"^4.8.0"}}')},function(t,e,n){var r=n(3),o=n(18),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,n){var r=n(38);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(8),o=n(3),i=n(32);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(7),o=n(94),i=n(25),c=n(6);t.exports=function(t,e){for(var n=o(e),u=c.f,a=i.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||u(t,s,a(e,s))}}},function(t,e,n){var r=n(7),o=n(12),i=n(61).indexOf,c=n(20);t.exports=function(t,e){var n,u=o(t),a=0,f=[];for(n in u)!r(c,n)&&r(u,n)&&f.push(n);for(;e.length>a;)r(u,n=e[a++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){var r=n(12),o=n(21),i=n(62),c=function(t){return function(e,n,c){var u,a=r(e),f=o(a.length),s=i(c,f);if(t&&n!=n){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,e,n){var r=n(35),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(3);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(46),o=n(11),i=n(95);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){var r=n(46),o=n(18),i=n(1)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:c?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,n){var r=n(9);t.exports=r("document","documentElement")},function(t,e,n){"use strict";var r=n(12),o=n(69),i=n(23),c=n(14),u=n(48),a=c.set,f=c.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){a(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=f(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,n){var r=n(1),o=n(16),i=n(6),c=r("unscopables"),u=Array.prototype;null==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},function(t,e,n){"use strict";var r,o,i,c=n(3),u=n(16),a=n(45),f=n(10),s=n(1),l=n(19),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):v=!0),null==r||c((function(){var t={};return r[p].call(t)!==t}))?r={}:l&&(r=u(r)),"function"!=typeof r[p]&&f(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},function(t,e,n){var r=n(5),o=n(20),i=n(2),c=n(7),u=n(6).f,a=n(34),f=n(72),s=n(31),l=n(105),p=!1,v=s("meta"),h=0,d=Object.isExtensible||function(){return!0},y=function(t){u(t,v,{value:{objectID:"O"+h++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},p=!0;var t=a.f,e=[].splice,n={};n[v]=1,t(n).length&&(a.f=function(n){for(var r=t(n),o=0,i=r.length;o<i;o++)if(r[o]===v){e.call(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!c(t,v)){if(!d(t))return"F";if(!e)return"E";y(t)}return t[v].objectID},getWeakData:function(t,e){if(!c(t,v)){if(!d(t))return!0;if(!e)return!1;y(t)}return t[v].weakData},onFreeze:function(t){return l&&p&&d(t)&&!c(t,v)&&y(t),t}};o[v]=!0},function(t,e,n){var r=n(12),o=n(34).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(r(t))}},function(t,e,n){var r=n(66),o=n(23),i=n(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,e,n){var r=n(11);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(9),o=n(6),i=n(1),c=n(8),u=i("species");t.exports=function(t){var e=r(t),n=o.f;c&&e&&!e[u]&&n(e,u,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports={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}},function(t,e,n){var r=n(32)("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,e,n){"use strict";var r,o,i,c,u=n(5),a=n(19),f=n(0),s=n(9),l=n(114),p=n(11),v=n(75),h=n(49),d=n(24),y=n(76),g=n(2),m=n(15),b=n(51),x=n(42),w=n(50),O=n(74),S=n(115),j=n(80).set,E=n(116),T=n(119),P=n(120),k=n(82),L=n(121),_=n(14),C=n(44),A=n(1),M=n(122),R=n(52),I=n(29),F=A("species"),N="Promise",D=_.get,G=_.set,z=_.getterFor(N),B=l&&l.prototype,W=l,V=B,q=f.TypeError,H=f.document,U=f.process,Y=k.f,K=Y,J=!!(H&&H.createEvent&&f.dispatchEvent),$="function"==typeof PromiseRejectionEvent,Q=!1,X=C(N,(function(){var t=x(W),e=t!==String(W);if(!e&&66===I)return!0;if(a&&!V.finally)return!0;if(I>=51&&/native code/.test(t))return!1;var n=new W((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(n.constructor={})[F]=r,!(Q=n.then((function(){}))instanceof r)||!e&&M&&!$})),Z=X||!O((function(t){W.all(t).catch((function(){}))})),tt=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},et=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;E((function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var c,u,a,f=n[i++],s=o?f.ok:f.fail,l=f.resolve,p=f.reject,v=f.domain;try{s?(o||(2===t.rejection&&it(t),t.rejection=1),!0===s?c=r:(v&&v.enter(),c=s(r),v&&(v.exit(),a=!0)),c===f.promise?p(q("Promise-chain cycle")):(u=tt(c))?u.call(c,l,p):l(c)):p(r)}catch(t){v&&!a&&v.exit(),p(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&rt(t)}))}},nt=function(t,e,n){var r,o;J?((r=H.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:e,reason:n},!$&&(o=f["on"+t])?o(r):"unhandledrejection"===t&&P("Unhandled promise rejection",n)},rt=function(t){j.call(f,(function(){var e,n=t.facade,r=t.value;if(ot(t)&&(e=L((function(){R?U.emit("unhandledRejection",r,n):nt("unhandledrejection",n,r)})),t.rejection=R||ot(t)?2:1,e.error))throw e.value}))},ot=function(t){return 1!==t.rejection&&!t.parent},it=function(t){j.call(f,(function(){var e=t.facade;R?U.emit("rejectionHandled",e):nt("rejectionhandled",e,t.value)}))},ct=function(t,e,n){return function(r){t(e,r,n)}},ut=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,et(t,!0))},at=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw q("Promise can't be resolved itself");var r=tt(e);r?E((function(){var n={done:!1};try{r.call(e,ct(at,n,t),ct(ut,n,t))}catch(e){ut(n,e,t)}})):(t.value=e,t.state=1,et(t,!1))}catch(e){ut({done:!1},e,t)}}};if(X&&(V=(W=function(t){b(this,W,N),m(t),r.call(this);var e=D(this);try{t(ct(at,e),ct(ut,e))}catch(t){ut(e,t)}}).prototype,(r=function(t){G(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=v(V,{then:function(t,e){var n=z(this),r=Y(S(this,W));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=R?U.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&et(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=D(t);this.promise=t,this.resolve=ct(at,e),this.reject=ct(ut,e)},k.f=Y=function(t){return t===W||t===i?new o(t):K(t)},!a&&"function"==typeof l&&B!==Object.prototype)){c=B.then,Q||(p(B,"then",(function(t,e){var n=this;return new W((function(t,e){c.call(n,t,e)})).then(t,e)}),{unsafe:!0}),p(B,"catch",V.catch,{unsafe:!0}));try{delete B.constructor}catch(t){}h&&h(B,V)}u({global:!0,wrap:!0,forced:X},{Promise:W}),d(W,N,!1,!0),y(N),i=s(N),u({target:N,stat:!0,forced:X},{reject:function(t){var e=Y(this);return e.reject.call(void 0,t),e.promise}}),u({target:N,stat:!0,forced:a||X},{resolve:function(t){return T(a&&this===i?W:this,t)}}),u({target:N,stat:!0,forced:Z},{all:function(t){var e=this,n=Y(e),r=n.resolve,o=n.reject,i=L((function(){var n=m(e.resolve),i=[],c=0,u=1;w(t,(function(t){var a=c++,f=!1;i.push(void 0),u++,n.call(e,t).then((function(t){f||(f=!0,i[a]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Y(e),r=n.reject,o=L((function(){var o=m(e.resolve);w(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(t,e,n){var r,o,i,c,u=n(0),a=n(3),f=n(36),s=n(67),l=n(32),p=n(81),v=n(52),h=u.setImmediate,d=u.clearImmediate,y=u.process,g=u.MessageChannel,m=u.Dispatch,b=0,x={};try{r=u.location}catch(t){}var w=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},O=function(t){return function(){w(t)}},S=function(t){w(t.data)},j=function(t){u.postMessage(String(t),r.protocol+"//"+r.host)};h&&d||(h=function(t){for(var e=[],n=arguments.length,r=1;n>r;)e.push(arguments[r++]);return x[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},o(b),b},d=function(t){delete x[t]},v?o=function(t){y.nextTick(O(t))}:m&&m.now?o=function(t){m.now(O(t))}:g&&!p?(c=(i=new g).port2,i.port1.onmessage=S,o=f(c.postMessage,c,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts&&r&&"file:"!==r.protocol&&!a(j)?(o=j,u.addEventListener("message",S,!1)):o="onreadystatechange"in l("script")?function(t){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),w(t)}}:function(t){setTimeout(O(t),0)}),t.exports={set:h,clear:d}},function(t,e,n){var r=n(30);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,e,n){"use strict";var r=n(15),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(1);e.f=r},function(t,e,n){var r=n(124),o=n(7),i=n(83),c=n(6).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||c(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(36),o=n(56),i=n(13),c=n(21),u=n(54),a=[].push,f=function(t){var e=1==t,n=2==t,f=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(h,d,y,g){for(var m,b,x=i(h),w=o(x),O=r(d,y,3),S=c(w.length),j=0,E=g||u,T=e?E(h,S):n||p?E(h,0):void 0;S>j;j++)if((v||j in w)&&(b=O(m=w[j],j,x),t))if(e)T[j]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return j;case 2:a.call(T,m)}else switch(t){case 4:return!1;case 7:a.call(T,m)}return l?-1:f||s?s:T}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},function(t,e,n){"use strict";var r=n(5),o=n(3),i=n(53),c=n(2),u=n(13),a=n(21),f=n(87),s=n(54),l=n(88),p=n(1),v=n(29),h=p("isConcatSpreadable"),d=v>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),y=l("concat"),g=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!y},{concat:function(t){var e,n,r,o,i,c=u(this),l=s(c,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(g(i=-1===e?c:arguments[e])){if(p+(o=a(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&f(l,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");f(l,p++,i)}return l.length=p,l}})},function(t,e,n){"use strict";var r=n(27),o=n(6),i=n(17);t.exports=function(t,e,n){var c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},function(t,e,n){var r=n(3),o=n(1),i=n(29),c=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var r=n(5),o=n(3),i=n(13),c=n(45),u=n(64);r({target:"Object",stat:!0,forced:o((function(){c(1)})),sham:!u},{getPrototypeOf:function(t){return c(i(t))}})},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(2),o=n(28),i=n(92),c=n(1)("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,u=t[c];if(void 0!==u){if(void 0===e&&(e="default"),n=u.call(t,e),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},function(t,e,n){var r=n(2);t.exports=function(t,e){var n,o;if("string"===e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if("string"!==e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(0),o=n(42),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,n){var r=n(9),o=n(34),i=n(63),c=n(4);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(c(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){"use strict";var r=n(46),o=n(66);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,n){"use strict";var r=n(11),o=n(4),i=n(22),c=n(3),u=n(97),a=RegExp.prototype,f=a.toString,s=c((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),l="toString"!=f.name;(s||l)&&r(RegExp.prototype,"toString",(function(){var t=o(this),e=i(t.source),n=t.flags;return"/"+e+"/"+i(void 0===n&&t instanceof RegExp&&!("flags"in a)?u.call(t):n)}),{unsafe:!0})},function(t,e,n){"use strict";var r=n(4);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(5),o=n(9),i=n(15),c=n(4),u=n(2),a=n(16),f=n(100),s=n(3),l=o("Reflect","construct"),p=s((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),v=!s((function(){l((function(){}))})),h=p||v;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(t,e){i(t),c(e);var n=arguments.length<3?t:i(arguments[2]);if(v&&!p)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(f.apply(t,r))}var o=n.prototype,s=a(u(o)?o:Object.prototype),h=Function.apply.call(t,s,e);return u(h)?h:s}})},function(t,e,n){var r=n(8),o=n(6),i=n(4),c=n(47);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=c(e),u=r.length,a=0;u>a;)o.f(t,n=r[a++],e[n]);return t}},function(t,e,n){"use strict";var r=n(15),o=n(2),i=[].slice,c={},u=function(t,e,n){if(!(e in c)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";c[e]=Function("C,a","return new C("+r.join(",")+")")}return c[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),c=function(){var r=n.concat(i.call(arguments));return this instanceof c?u(e,r.length,r):e.apply(t,r)};return o(e.prototype)&&(c.prototype=e.prototype),c}},function(t,e,n){"use strict";var r=n(70).IteratorPrototype,o=n(16),i=n(17),c=n(24),u=n(23),a=function(){return this};t.exports=function(t,e,n){var f=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),c(t,f,!1,!0),u[f]=a,t}},function(t,e,n){var r=n(2);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){"use strict";var r=n(104),o=n(110);t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,n){"use strict";var r=n(5),o=n(0),i=n(44),c=n(11),u=n(71),a=n(50),f=n(51),s=n(2),l=n(3),p=n(74),v=n(24),h=n(109);t.exports=function(t,e,n){var d=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),g=d?"set":"add",m=o[t],b=m&&m.prototype,x=m,w={},O=function(t){var e=b[t];c(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!s(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!s(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!s(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof m||!(y||b.forEach&&!l((function(){(new m).entries().next()})))))x=n.getConstructor(e,t,d,g),u.enable();else if(i(t,!0)){var S=new x,j=S[g](y?{}:-0,1)!=S,E=l((function(){S.has(1)})),T=p((function(t){new m(t)})),P=!y&&l((function(){for(var t=new m,e=5;e--;)t[g](e,e);return!t.has(-0)}));T||((x=e((function(e,n){f(e,x,t);var r=h(new m,e,x);return null!=n&&a(n,r[g],{that:r,AS_ENTRIES:d}),r}))).prototype=b,b.constructor=x),(E||P)&&(O("delete"),O("has"),d&&O("get")),(P||j)&&O(g),y&&b.clear&&delete b.clear}return w[t]=x,r({global:!0,forced:x!=m},w),v(x,t),y||n.setStrong(x,t,d),x}},function(t,e,n){var r=n(3);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,n){var r=n(1),o=n(23),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,e,n){var r=n(4),o=n(73);t.exports=function(t,e){var n=arguments.length<2?o(t):e;if("function"!=typeof n)throw TypeError(String(t)+" is not iterable");return r(n.call(t))}},function(t,e,n){var r=n(4);t.exports=function(t,e,n){var o,i;r(t);try{if(void 0===(o=t.return)){if("throw"===e)throw n;return n}o=o.call(t)}catch(t){i=!0,o=t}if("throw"===e)throw n;if(i)throw o;return r(o),n}},function(t,e,n){var r=n(2),o=n(49);t.exports=function(t,e,n){var i,c;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(c=i.prototype)&&c!==n.prototype&&o(t,c),t}},function(t,e,n){"use strict";var r=n(6).f,o=n(16),i=n(75),c=n(36),u=n(51),a=n(50),f=n(48),s=n(76),l=n(8),p=n(71).fastKey,v=n(14),h=v.set,d=v.getterFor;t.exports={getConstructor:function(t,e,n,f){var s=t((function(t,r){u(t,s,e),h(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&a(r,t[f],{that:t,AS_ENTRIES:n})})),v=d(e),y=function(t,e,n){var r,o,i=v(t),c=g(t,e);return c?c.value=n:(i.last=c={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=c),r&&(r.next=c),l?i.size++:t.size++,"F"!==o&&(i.index[o]=c)),t},g=function(t,e){var n,r=v(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(s.prototype,{clear:function(){for(var t=v(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=v(this),n=g(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=v(this),r=c(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(s.prototype,n?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),l&&r(s.prototype,"size",{get:function(){return v(this).size}}),s},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);f(t,e,(function(t,e){h(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),s(e)}}},function(t,e,n){"use strict";var r=n(112).charAt,o=n(22),i=n(14),c=n(48),u=i.set,a=i.getterFor("String Iterator");c(String,"String",(function(t){u(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,e=a(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(35),o=n(22),i=n(26),c=function(t){return function(e,n){var c,u,a=o(i(e)),f=r(n),s=a.length;return f<0||f>=s?t?"":void 0:(c=a.charCodeAt(f))<55296||c>56319||f+1===s||(u=a.charCodeAt(f+1))<56320||u>57343?t?a.charAt(f):c:t?a.slice(f,f+2):u-56320+(c-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},function(t,e,n){var r=n(0),o=n(77),i=n(78),c=n(68),u=n(10),a=n(1),f=a("iterator"),s=a("toStringTag"),l=c.values,p=function(t,e){if(t){if(t[f]!==l)try{u(t,f,l)}catch(e){t[f]=l}if(t[s]||u(t,s,e),o[e])for(var n in c)if(t[n]!==c[n])try{u(t,n,c[n])}catch(e){t[n]=c[n]}}};for(var v in o)p(r[v]&&r[v].prototype,v);p(i,"DOMTokenList")},function(t,e,n){var r=n(0);t.exports=r.Promise},function(t,e,n){var r=n(4),o=n(15),i=n(1)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||null==(n=r(c)[i])?e:o(n)}},function(t,e,n){var r,o,i,c,u,a,f,s,l=n(0),p=n(25).f,v=n(80).set,h=n(81),d=n(117),y=n(118),g=n(52),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,x=l.process,w=l.Promise,O=p(l,"queueMicrotask"),S=O&&O.value;S||(r=function(){var t,e;for(g&&(t=x.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},h||g||y||!m||!b?!d&&w&&w.resolve?((f=w.resolve(void 0)).constructor=w,s=f.then,c=function(){s.call(f,r)}):c=g?function(){x.nextTick(r)}:function(){v.call(l,r)}:(u=!0,a=b.createTextNode(""),new m(r).observe(a,{characterData:!0}),c=function(){a.data=u=!u})),t.exports=S||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,c()),i=e}},function(t,e,n){var r=n(30),o=n(0);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(t,e,n){var r=n(30);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,e,n){var r=n(4),o=n(2),i=n(82);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(0);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e){t.exports="object"==typeof window},function(t,e,n){"use strict";var r=n(5),o=n(0),i=n(9),c=n(19),u=n(8),a=n(38),f=n(3),s=n(7),l=n(53),p=n(2),v=n(28),h=n(4),d=n(13),y=n(12),g=n(27),m=n(22),b=n(17),x=n(16),w=n(47),O=n(34),S=n(72),j=n(63),E=n(25),T=n(6),P=n(37),k=n(10),L=n(11),_=n(39),C=n(33),A=n(20),M=n(31),R=n(1),I=n(83),F=n(84),N=n(24),D=n(14),G=n(85).forEach,z=C("hidden"),B=R("toPrimitive"),W=D.set,V=D.getterFor("Symbol"),q=Object.prototype,H=o.Symbol,U=i("JSON","stringify"),Y=E.f,K=T.f,J=S.f,$=P.f,Q=_("symbols"),X=_("op-symbols"),Z=_("string-to-symbol-registry"),tt=_("symbol-to-string-registry"),et=_("wks"),nt=o.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,ot=u&&f((function(){return 7!=x(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Y(q,e);r&&delete q[e],K(t,e,n),r&&t!==q&&K(q,e,r)}:K,it=function(t,e){var n=Q[t]=x(H.prototype);return W(n,{type:"Symbol",tag:t,description:e}),u||(n.description=e),n},ct=function(t,e,n){t===q&&ct(X,e,n),h(t);var r=g(e);return h(n),s(Q,r)?(n.enumerable?(s(t,z)&&t[z][r]&&(t[z][r]=!1),n=x(n,{enumerable:b(0,!1)})):(s(t,z)||K(t,z,b(1,{})),t[z][r]=!0),ot(t,r,n)):K(t,r,n)},ut=function(t,e){h(t);var n=y(e),r=w(n).concat(lt(n));return G(r,(function(e){u&&!at.call(n,e)||ct(t,e,n[e])})),t},at=function(t){var e=g(t),n=$.call(this,e);return!(this===q&&s(Q,e)&&!s(X,e))&&(!(n||!s(this,e)||!s(Q,e)||s(this,z)&&this[z][e])||n)},ft=function(t,e){var n=y(t),r=g(e);if(n!==q||!s(Q,r)||s(X,r)){var o=Y(n,r);return!o||!s(Q,r)||s(n,z)&&n[z][r]||(o.enumerable=!0),o}},st=function(t){var e=J(y(t)),n=[];return G(e,(function(t){s(Q,t)||s(A,t)||n.push(t)})),n},lt=function(t){var e=t===q,n=J(e?X:y(t)),r=[];return G(n,(function(t){!s(Q,t)||e&&!s(q,t)||r.push(Q[t])})),r};(a||(L((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=M(t),n=function(t){this===q&&n.call(X,t),s(this,z)&&s(this[z],e)&&(this[z][e]=!1),ot(this,e,b(1,t))};return u&&rt&&ot(q,e,{configurable:!0,set:n}),it(e,t)}).prototype,"toString",(function(){return V(this).tag})),L(H,"withoutSetter",(function(t){return it(M(t),t)})),P.f=at,T.f=ct,E.f=ft,O.f=S.f=st,j.f=lt,I.f=function(t){return it(R(t),t)},u&&(K(H.prototype,"description",{configurable:!0,get:function(){return V(this).description}}),c||L(q,"propertyIsEnumerable",at,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:H}),G(w(et),(function(t){F(t)})),r({target:"Symbol",stat:!0,forced:!a},{for:function(t){var e=m(t);if(s(Z,e))return Z[e];var n=H(e);return Z[e]=n,tt[n]=e,n},keyFor:function(t){if(!v(t))throw TypeError(t+" is not a symbol");if(s(tt,t))return tt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!a,sham:!u},{create:function(t,e){return void 0===e?x(t):ut(x(t),e)},defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:st,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:f((function(){j.f(1)}))},{getOwnPropertySymbols:function(t){return j.f(d(t))}}),U)&&r({target:"JSON",stat:!0,forced:!a||f((function(){var t=H();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(p(e)||void 0!==t)&&!v(t))return l(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!v(e))return e}),o[1]=e,U.apply(null,o)}});H.prototype[B]||k(H.prototype,B,H.prototype.valueOf),N(H,"Symbol"),A[z]=!0},function(t,e,n){var r=n(0);t.exports=r},function(t,e,n){var r=n(2),o=n(53),i=n(1)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?r(e)&&null===(e=e[i])&&(e=void 0):e=void 0),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(5),o=n(8),i=n(0),c=n(7),u=n(2),a=n(6).f,f=n(59),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[e]=!0),e};f(p,s);var v=p.prototype=s.prototype;v.constructor=p;var h=v.toString,d="Symbol(test)"==String(s("test")),y=/^Symbol\((.*)\)[^)]+$/;a(v,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,e=h.call(t);if(c(l,t))return"";var n=d?e.slice(7,-1):e.replace(y,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(t,e,n){n(84)("iterator")},function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function a(t,e,n,r){var o=e&&e.prototype instanceof l?e:l,i=Object.create(o.prototype),c=new S(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return E()}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=x(c,n);if(u){if(u===s)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var a=f(t,e,n);if("normal"===a.type){if(r=n.done?"completed":"suspendedYield",a.arg===s)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(r="completed",n.method="throw",n.arg=a.arg)}}}(t,n,c),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=a;var s={};function l(){}function p(){}function v(){}var h={};u(h,o,(function(){return this}));var d=Object.getPrototypeOf,y=d&&d(d(j([])));y&&y!==e&&n.call(y,o)&&(h=y);var g=v.prototype=l.prototype=Object.create(h);function m(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var r;this._invoke=function(o,i){function c(){return new e((function(r,c){!function r(o,i,c,u){var a=f(t[o],t,i);if("throw"!==a.type){var s=a.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(l).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(a.arg)}(o,i,r,c)}))}return r=r?r.then(c,c):c()}}function x(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=f(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,s;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function j(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=v,u(g,"constructor",v),u(v,"constructor",p),p.displayName=u(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),u(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var c=new b(a(e,n,r,o),i);return t.isGeneratorFunction(n)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},m(g),u(g,c,"Generator"),u(g,o,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=j,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return c.type="throw",c.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),a=n.call(i,"finallyLoc");if(u&&a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:j(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){var r=n(8),o=n(6).f,i=Function.prototype,c=i.toString,u=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return c.call(this).match(u)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(5),o=n(61).includes,i=n(69);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,n){"use strict";var r=n(5),o=n(132),i=n(26),c=n(22);r({target:"String",proto:!0,forced:!n(134)("includes")},{includes:function(t){return!!~c(i(this)).indexOf(c(o(t)),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(133);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,n){var r=n(2),o=n(18),i=n(1)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(1)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){var r=n(5),o=n(136).values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},function(t,e,n){var r=n(8),o=n(47),i=n(12),c=n(37).f,u=function(t){return function(e){for(var n,u=i(e),a=o(u),f=a.length,s=0,l=[];f>s;)n=a[s++],r&&!c.call(u,n)||l.push(t?[n,u[n]]:u[n]);return l}};t.exports={entries:u(!0),values:u(!1)}},function(t,e,n){var r=n(0),o=n(77),i=n(78),c=n(138),u=n(10),a=function(t){if(t&&t.forEach!==c)try{u(t,"forEach",c)}catch(e){t.forEach=c}};for(var f in o)a(r[f]&&r[f].prototype);a(i)},function(t,e,n){"use strict";var r=n(85).forEach,o=n(139)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){"use strict";var r=n(5),o=n(62),i=n(35),c=n(21),u=n(13),a=n(54),f=n(87),s=n(88)("splice"),l=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!s},{splice:function(t,e){var n,r,s,v,h,d,y=u(this),g=c(y.length),m=o(t,g),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=g-m):(n=b-2,r=p(l(i(e),0),g-m)),g+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(s=a(y,r),v=0;v<r;v++)(h=m+v)in y&&f(s,v,y[h]);if(s.length=r,n<r){for(v=m;v<g-r;v++)d=v+n,(h=v+r)in y?y[d]=y[h]:delete y[d];for(v=g;v>g-r+n;v--)delete y[v-1]}else if(n>r)for(v=g-r;v>m;v--)d=v+n-1,(h=v+r-1)in y?y[d]=y[h]:delete y[d];for(v=0;v<n;v++)y[v+m]=arguments[v+2];return y.length=g-r+n,s}})},function(t,e,n){"use strict";n.r(e),n.d(e,"EventType",(function(){return r})),n.d(e,"createEmitter",(function(){return s})),n.d(e,"createEvents",(function(){return l})),n.d(e,"Env",(function(){return i})),n.d(e,"Origin",(function(){return c})),n.d(e,"MessageTypes",(function(){return u})),n.d(e,"ErrorCode",(function(){return a})),n.d(e,"version",(function(){return P})),n.d(e,"origins",(function(){return k})),n.d(e,"init",(function(){return _}));n(89),n(65),n(96),n(98),n(68),n(103),n(111),n(113),n(79),n(123),n(126),n(127),n(128),n(129),n(130),n(131),n(135),n(86);var r,o,i,c,u,a,f=n(55);n(137),n(140);function s(){var t={};return{clear:function(){t={}},emit:function(e,n){t[e]&&t[e].forEach((function(t){return t(n)})),t["*"]&&t["*"].forEach((function(t){return t(n)}))},on:function(e,n){return t[e]=t[e]?t[e].concat(n):[n],function(){t[e].splice(t[e].indexOf(n),1)}}}}function l(){var t=s();return{emitOpen:function(){t.emit(r.Open)},emitClose:function(){t.emit(r.Close)},emitComplete:function(){t.emit(r.Complete)},emitError:function(e){t.emit(r.Error,e)},onOpen:function(e){return t.on(r.Open,e)},onClose:function(e){return t.on(r.Close,e)},onComplete:function(e){return t.on(r.Complete,e)},onError:function(e){return t.on(r.Error,e)}}}function p(t){var e=t.src,n=document.createElement("iframe");return n.src=e,n.setAttribute("sandbox","allow-scripts allow-forms allow-same-origin"),n.style.position="fixed",n.style.top="0",n.style.bottom="0",n.style.left="0",n.style.right="0",n.style.zIndex="999999999",n.style.border="0",n.style.padding="0",n.style.margin="0",n.width="100%",n.height="100%",n}function v(t){return new Promise((function(e,n){t.onload=e,t.onerror=n,document.body.appendChild(t)}))}function h(t,e,n){var r;null===(r=t.contentWindow)||void 0===r||r.postMessage(n,e)}function d(t){document.body.removeChild(t)}function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e,n,r,o,i,c){try{var u=t[i](c),a=u.value}catch(t){return void n(t)}u.done?e(a):Promise.resolve(a).then(r,o)}function m(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function c(t){g(i,r,o,c,u,"next",t)}function u(t){g(i,r,o,c,u,"throw",t)}c(void 0)}))}}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x(t,e){if(e&&("object"===y(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function w(t){var e="function"==typeof Map?new Map:void 0;return(w=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return O(t,arguments,E(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),j(r,t)})(t)}function O(t,e,n){return(O=S()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&j(o,n.prototype),o}).apply(null,arguments)}function S(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function j(t,e){return(j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function T(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}!function(t){t.Open="open",t.Close="close",t.Complete="complete",t.Error="error"}(r||(r={})),function(t){t.Production="production",t.Development="development",t.Test="test",t.Sandbox="sandbox"}(i||(i={})),function(t){t.Production="https://js.truework.com/frames/credentials/v1/index.html",t.Development="http://localhost:4002",t.Test="https://truework-credentials-test.truework.com",t.Sandbox="https://js.truework.com/frames/credentials/v1/index.html"}(c||(c={})),function(t){t.Bootstrap="bootstrap",t.Open="open",t.Close="close",t.Complete="complete",t.Error="error"}(u||(u={})),function(t){t[t.Catastrophic=0]="Catastrophic",t[t.Fail=1]="Fail",t[t.Message=2]="Message"}(a||(a={}));var P="@truework/credentials@0.2.10@",k=(T(o={},i.Production,c.Production),T(o,i.Development,c.Development),T(o,i.Test,c.Test),T(o,i.Sandbox,c.Sandbox),o),L=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j(t,e)}(o,t);var e,n,r=(e=o,n=S(),function(){var t,r=E(e);if(n){var o=E(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return x(this,t)});function o(){return b(this,o),r.apply(this,arguments)}return o}(w(Error));function _(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{env:i.Production};if(!t)throw new L("".concat(f.name," — missing token"));if(!Object.values(i).includes(e.env))throw new L("".concat(f.name," — invalid environment ").concat(e.env));var n=k[e.env],r=p({src:n}),o=l();return o.onError((function(t){t.code===a.Catastrophic&&d(r)})),window.addEventListener("message",(function(t){var e=t.data;switch(console.info("parent received",e),e.type){case u.Open:o.emitOpen();break;case u.Close:o.emitClose(),d(r);break;case u.Complete:o.emitComplete();break;case u.Error:o.emitError(e)}})),{open:function(){return m(regeneratorRuntime.mark((function i(){var c,f;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,v(r);case 3:h(r,n,{type:u.Bootstrap,token:t,env:e.env,package_version:P,bundle_version:null===(c=window)||void 0===c||null===(f=c.Truework)||void 0===f?void 0:f.version}),i.next=9;break;case 6:i.prev=6,i.t0=i.catch(0),o.emitError({code:a.Catastrophic});case 9:case"end":return i.stop()}}),i,null,[[0,6]])})))()},close:function(){h(r,n,{type:u.Close})},onOpen:function(t){return o.onOpen(t)},onClose:function(t){return o.onClose(t)},onComplete:function(t){return o.onComplete(t)},onError:function(t){return o.onError(t)}}}}])); | ||
!function(t,n){for(var e in n)t[e]=n[e]}(exports,function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=141)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(90))},function(t,n,e){var r=e(0),o=e(39),i=e(7),c=e(31),u=e(38),a=e(57),f=o("wks"),s=r.Symbol,l=a?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)&&(u||"string"==typeof f[t])||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(2);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,e){var r=e(0),o=e(25).f,i=e(10),c=e(11),u=e(41),a=e(59),f=e(44);t.exports=function(t,n){var e,s,l,p,v,h=t.target,d=t.global,y=t.stat;if(e=d?r:y?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(d?s:h+(y?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,s,p,t)}}},function(t,n,e){var r=e(8),o=e(58),i=e(4),c=e(27),u=Object.defineProperty;n.f=r?u:function(t,n,e){if(i(t),n=c(n),i(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(13),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,n){return o.call(r(t),n)}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?o(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(8),o=e(6),i=e(17);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(0),o=e(10),i=e(7),c=e(41),u=e(42),a=e(14),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,n,e,u){var a,f=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof e&&("string"!=typeof n||i(e,"name")||o(e,"name",n),(a=s(e)).source||(a.source=l.join("string"==typeof n?n:""))),t!==r?(f?!v&&t[n]&&(p=!0):delete t[n],p?t[n]=e:o(t,n,e)):p?t[n]=e:c(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u(this)}))},function(t,n,e){var r=e(56),o=e(26);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(26);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r,o,i,c=e(93),u=e(0),a=e(2),f=e(10),s=e(7),l=e(40),p=e(33),v=e(20),h=u.WeakMap;if(c||l.state){var d=l.state||(l.state=new h),y=d.get,g=d.has,m=d.set;r=function(t,n){if(g.call(d,t))throw new TypeError("Object already initialized");return n.facade=t,m.call(d,t,n),n},o=function(t){return y.call(d,t)||{}},i=function(t){return g.call(d,t)}}else{var b=p("state");v[b]=!0,r=function(t,n){if(s(t,b))throw new TypeError("Object already initialized");return n.facade=t,f(t,b,n),n},o=function(t){return s(t,b)?t[b]:{}},i=function(t){return s(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!a(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n,e){var r,o=e(4),i=e(99),c=e(43),u=e(20),a=e(67),f=e(32),s=e(33),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},d=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,n;d="undefined"!=typeof document?document.domain&&r?h(r):((n=f("iframe")).style.display="none",a.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(r);for(var e=c.length;e--;)delete d.prototype[c[e]];return d()};u[l]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[l]=t):e=d(),void 0===n?e:i(e,n)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=!1},function(t,n){t.exports={}},function(t,n,e){var r=e(35),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(28);t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,n){t.exports={}},function(t,n,e){var r=e(6).f,o=e(7),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(8),o=e(37),i=e(17),c=e(12),u=e(27),a=e(7),f=e(58),s=Object.getOwnPropertyDescriptor;n.f=r?s:function(t,n){if(t=c(t),n=u(n),f)try{return s(t,n)}catch(t){}if(a(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(91),o=e(28);t.exports=function(t){var n=r(t,"string");return o(n)?n:String(n)}},function(t,n,e){var r=e(9),o=e(57);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var n=r("Symbol");return"function"==typeof n&&Object(t)instanceof n}},function(t,n,e){var r,o,i=e(0),c=e(30),u=i.process,a=i.Deno,f=u&&u.versions||a&&a.version,s=f&&f.v8;s?o=(r=s.split("."))[0]<4?1:r[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,n,e){var r=e(9);t.exports=r("navigator","userAgent")||""},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},function(t,n,e){var r=e(0),o=e(2),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,n,e){var r=e(39),o=e(31),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n,e){var r=e(60),o=e(43).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(15);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(29),o=e(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,n,e){var r=e(19),o=e(40);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.17.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(0),o=e(41),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,e){var r=e(0);t.exports=function(t,n){try{Object.defineProperty(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}},function(t,n,e){var r=e(40),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,e){var r=e(3),o=/#|\.prototype\./,i=function(t,n){var e=u[c(t)];return e==f||e!=a&&("function"==typeof n?r(n):!!n)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,n,e){var r=e(7),o=e(13),i=e(33),c=e(64),u=i("IE_PROTO"),a=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,e){var r={};r[e(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,n,e){var r=e(60),o=e(43);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){"use strict";var r=e(5),o=e(101),i=e(45),c=e(49),u=e(24),a=e(10),f=e(11),s=e(1),l=e(19),p=e(23),v=e(70),h=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,y=s("iterator"),g=function(){return this};t.exports=function(t,n,e,s,v,m,b){o(e,n,s);var x,w,O,S=function(t){if(t===v&&k)return k;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},j=n+" Iterator",E=!1,T=t.prototype,P=T[y]||T["@@iterator"]||v&&T[v],k=!d&&P||S(v),_="Array"==n&&T.entries||P;if(_&&(x=i(_.call(new t)))!==Object.prototype&&x.next&&(l||i(x)===h||(c?c(x,h):"function"!=typeof x[y]&&a(x,y,g)),u(x,j,!0,!0),l&&(p[j]=g)),"values"==v&&P&&"values"!==P.name&&(E=!0,k=function(){return P.call(this)}),l&&!b||T[y]===k||a(T,y,k),p[n]=k,v)if(w={values:S("values"),keys:m?k:S("keys"),entries:S("entries")},b)for(O in w)(d||E||!(O in T))&&f(T,O,w[O]);else r({target:n,proto:!0,forced:d||E},w);return w}},function(t,n,e){var r=e(4),o=e(102);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),n=e instanceof Array}catch(t){}return function(e,i){return r(e),o(i),n?t.call(e,i):e.__proto__=i,e}}():void 0)},function(t,n,e){var r=e(4),o=e(106),i=e(21),c=e(36),u=e(107),a=e(73),f=e(108),s=function(t,n){this.stopped=t,this.result=n};t.exports=function(t,n,e){var l,p,v,h,d,y,g,m=e&&e.that,b=!(!e||!e.AS_ENTRIES),x=!(!e||!e.IS_ITERATOR),w=!(!e||!e.INTERRUPTED),O=c(n,m,1+b+w),S=function(t){return l&&f(l,"normal",t),new s(!0,t)},j=function(t){return b?(r(t),w?O(t[0],t[1],S):O(t[0],t[1])):w?O(t,S):O(t)};if(x)l=t;else{if("function"!=typeof(p=a(t)))throw TypeError("Target is not iterable");if(o(p)){for(v=0,h=i(t.length);h>v;v++)if((d=j(t[v]))&&d instanceof s)return d;return new s(!1)}l=u(t,p)}for(y=l.next;!(g=y.call(l)).done;){try{d=j(g.value)}catch(t){f(l,"throw",t)}if("object"==typeof d&&d&&d instanceof s)return d}return new s(!1)}},function(t,n){t.exports=function(t,n,e){if(!(t instanceof n))throw TypeError("Incorrect "+(e?e+" ":"")+"invocation");return t}},function(t,n,e){var r=e(18),o=e(0);t.exports="process"==r(o.process)},function(t,n,e){var r=e(18);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(125);t.exports=function(t,n){return new(r(t))(0===n?0:n)}},function(t){t.exports=JSON.parse('{"name":"@truework/credentials","version":"0.3.0","description":"The embeddable Truework Credentials experience.","author":"truework-team","main":"build/index.js","types":"build/src/index.d.ts","scripts":{"build":"webpack --mode production && pnpm typegen","watch":"webpack -w --mode development","typegen":"pnpx tsc --emitDeclarationOnly","typecheck":"pnpx tsc --noEmit","test":"TJS_FRAME_ORIGIN=http://localhost:4002 tap --ts --no-check-coverage --test-regex .*test\\\\.tsx?"},"devDependencies":{"@babel/core":"^7.15.0","@babel/preset-env":"^7.15.0","@babel/preset-typescript":"^7.15.0","@tsconfig/create-react-app":"^1.0.2","@types/jsdom":"^16.2.13","@types/proxyquire":"^1.3.28","@types/tap":"^15.0.5","babel-loader":"^8.2.2","core-js":"^3.16.2","jsdom":"^17.0.0","proxyquire":"^2.1.3","regenerator-runtime":"^0.13.9","tap":"^15.0.9","ts-node":"^10.2.1","typescript":"^4.3.5","webpack":"^4.46.0","webpack-cli":"^4.8.0"}}')},function(t,n,e){var r=e(3),o=e(18),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,e){var r=e(38);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r=e(8),o=e(3),i=e(32);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(7),o=e(94),i=e(25),c=e(6);t.exports=function(t,n){for(var e=o(n),u=c.f,a=i.f,f=0;f<e.length;f++){var s=e[f];r(t,s)||u(t,s,a(n,s))}}},function(t,n,e){var r=e(7),o=e(12),i=e(61).indexOf,c=e(20);t.exports=function(t,n){var e,u=o(t),a=0,f=[];for(e in u)!r(c,e)&&r(u,e)&&f.push(e);for(;n.length>a;)r(u,e=n[a++])&&(~i(f,e)||f.push(e));return f}},function(t,n,e){var r=e(12),o=e(21),i=e(62),c=function(t){return function(n,e,c){var u,a=r(n),f=o(a.length),s=i(c,f);if(t&&e!=e){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,n,e){var r=e(35),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(3);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,e){var r=e(46),o=e(11),i=e(95);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,e){var r=e(46),o=e(18),i=e(1)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?e:c?o(n):"Object"==(r=o(n))&&"function"==typeof n.callee?"Arguments":r}},function(t,n,e){var r=e(9);t.exports=r("document","documentElement")},function(t,n,e){"use strict";var r=e(12),o=e(69),i=e(23),c=e(14),u=e(48),a=c.set,f=c.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,n){a(this,{type:"Array Iterator",target:r(t),index:0,kind:n})}),(function(){var t=f(this),n=t.target,e=t.kind,r=t.index++;return!n||r>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:r,done:!1}:"values"==e?{value:n[r],done:!1}:{value:[r,n[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,e){var r=e(1),o=e(16),i=e(6),c=r("unscopables"),u=Array.prototype;null==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},function(t,n,e){"use strict";var r,o,i,c=e(3),u=e(16),a=e(45),f=e(10),s=e(1),l=e(19),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):v=!0),null==r||c((function(){var t={};return r[p].call(t)!==t}))?r={}:l&&(r=u(r)),"function"!=typeof r[p]&&f(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},function(t,n,e){var r=e(5),o=e(20),i=e(2),c=e(7),u=e(6).f,a=e(34),f=e(72),s=e(31),l=e(105),p=!1,v=s("meta"),h=0,d=Object.isExtensible||function(){return!0},y=function(t){u(t,v,{value:{objectID:"O"+h++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},p=!0;var t=a.f,n=[].splice,e={};e[v]=1,t(e).length&&(a.f=function(e){for(var r=t(e),o=0,i=r.length;o<i;o++)if(r[o]===v){n.call(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!c(t,v)){if(!d(t))return"F";if(!n)return"E";y(t)}return t[v].objectID},getWeakData:function(t,n){if(!c(t,v)){if(!d(t))return!0;if(!n)return!1;y(t)}return t[v].weakData},onFreeze:function(t){return l&&p&&d(t)&&!c(t,v)&&y(t),t}};o[v]=!0},function(t,n,e){var r=e(12),o=e(34).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(r(t))}},function(t,n,e){var r=e(66),o=e(23),i=e(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){var r=e(1)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i={};i[r]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},function(t,n,e){var r=e(11);t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},function(t,n,e){"use strict";var r=e(9),o=e(6),i=e(1),c=e(8),u=i("species");t.exports=function(t){var n=r(t),e=o.f;c&&n&&!n[u]&&e(n,u,{configurable:!0,get:function(){return this}})}},function(t,n){t.exports={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}},function(t,n,e){var r=e(32)("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,n,e){"use strict";var r,o,i,c,u=e(5),a=e(19),f=e(0),s=e(9),l=e(114),p=e(11),v=e(75),h=e(49),d=e(24),y=e(76),g=e(2),m=e(15),b=e(51),x=e(42),w=e(50),O=e(74),S=e(115),j=e(80).set,E=e(116),T=e(119),P=e(120),k=e(82),_=e(121),L=e(14),C=e(44),A=e(1),M=e(122),R=e(52),I=e(29),F=A("species"),N="Promise",D=L.get,G=L.set,z=L.getterFor(N),B=l&&l.prototype,W=l,V=B,q=f.TypeError,H=f.document,U=f.process,Y=k.f,J=Y,K=!!(H&&H.createEvent&&f.dispatchEvent),$="function"==typeof PromiseRejectionEvent,Q=!1,X=C(N,(function(){var t=x(W),n=t!==String(W);if(!n&&66===I)return!0;if(a&&!V.finally)return!0;if(I>=51&&/native code/.test(t))return!1;var e=new W((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(e.constructor={})[F]=r,!(Q=e.then((function(){}))instanceof r)||!n&&M&&!$})),Z=X||!O((function(t){W.all(t).catch((function(){}))})),tt=function(t){var n;return!(!g(t)||"function"!=typeof(n=t.then))&&n},nt=function(t,n){if(!t.notified){t.notified=!0;var e=t.reactions;E((function(){for(var r=t.value,o=1==t.state,i=0;e.length>i;){var c,u,a,f=e[i++],s=o?f.ok:f.fail,l=f.resolve,p=f.reject,v=f.domain;try{s?(o||(2===t.rejection&&it(t),t.rejection=1),!0===s?c=r:(v&&v.enter(),c=s(r),v&&(v.exit(),a=!0)),c===f.promise?p(q("Promise-chain cycle")):(u=tt(c))?u.call(c,l,p):l(c)):p(r)}catch(t){v&&!a&&v.exit(),p(t)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&rt(t)}))}},et=function(t,n,e){var r,o;K?((r=H.createEvent("Event")).promise=n,r.reason=e,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:n,reason:e},!$&&(o=f["on"+t])?o(r):"unhandledrejection"===t&&P("Unhandled promise rejection",e)},rt=function(t){j.call(f,(function(){var n,e=t.facade,r=t.value;if(ot(t)&&(n=_((function(){R?U.emit("unhandledRejection",r,e):et("unhandledrejection",e,r)})),t.rejection=R||ot(t)?2:1,n.error))throw n.value}))},ot=function(t){return 1!==t.rejection&&!t.parent},it=function(t){j.call(f,(function(){var n=t.facade;R?U.emit("rejectionHandled",n):et("rejectionhandled",n,t.value)}))},ct=function(t,n,e){return function(r){t(n,r,e)}},ut=function(t,n,e){t.done||(t.done=!0,e&&(t=e),t.value=n,t.state=2,nt(t,!0))},at=function(t,n,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===n)throw q("Promise can't be resolved itself");var r=tt(n);r?E((function(){var e={done:!1};try{r.call(n,ct(at,e,t),ct(ut,e,t))}catch(n){ut(e,n,t)}})):(t.value=n,t.state=1,nt(t,!1))}catch(n){ut({done:!1},n,t)}}};if(X&&(V=(W=function(t){b(this,W,N),m(t),r.call(this);var n=D(this);try{t(ct(at,n),ct(ut,n))}catch(t){ut(n,t)}}).prototype,(r=function(t){G(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=v(V,{then:function(t,n){var e=z(this),r=Y(S(this,W));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=R?U.domain:void 0,e.parent=!0,e.reactions.push(r),0!=e.state&&nt(e,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,n=D(t);this.promise=t,this.resolve=ct(at,n),this.reject=ct(ut,n)},k.f=Y=function(t){return t===W||t===i?new o(t):J(t)},!a&&"function"==typeof l&&B!==Object.prototype)){c=B.then,Q||(p(B,"then",(function(t,n){var e=this;return new W((function(t,n){c.call(e,t,n)})).then(t,n)}),{unsafe:!0}),p(B,"catch",V.catch,{unsafe:!0}));try{delete B.constructor}catch(t){}h&&h(B,V)}u({global:!0,wrap:!0,forced:X},{Promise:W}),d(W,N,!1,!0),y(N),i=s(N),u({target:N,stat:!0,forced:X},{reject:function(t){var n=Y(this);return n.reject.call(void 0,t),n.promise}}),u({target:N,stat:!0,forced:a||X},{resolve:function(t){return T(a&&this===i?W:this,t)}}),u({target:N,stat:!0,forced:Z},{all:function(t){var n=this,e=Y(n),r=e.resolve,o=e.reject,i=_((function(){var e=m(n.resolve),i=[],c=0,u=1;w(t,(function(t){var a=c++,f=!1;i.push(void 0),u++,e.call(n,t).then((function(t){f||(f=!0,i[a]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),e.promise},race:function(t){var n=this,e=Y(n),r=e.reject,o=_((function(){var o=m(n.resolve);w(t,(function(t){o.call(n,t).then(e.resolve,r)}))}));return o.error&&r(o.value),e.promise}})},function(t,n,e){var r,o,i,c,u=e(0),a=e(3),f=e(36),s=e(67),l=e(32),p=e(81),v=e(52),h=u.setImmediate,d=u.clearImmediate,y=u.process,g=u.MessageChannel,m=u.Dispatch,b=0,x={};try{r=u.location}catch(t){}var w=function(t){if(x.hasOwnProperty(t)){var n=x[t];delete x[t],n()}},O=function(t){return function(){w(t)}},S=function(t){w(t.data)},j=function(t){u.postMessage(String(t),r.protocol+"//"+r.host)};h&&d||(h=function(t){for(var n=[],e=arguments.length,r=1;e>r;)n.push(arguments[r++]);return x[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,n)},o(b),b},d=function(t){delete x[t]},v?o=function(t){y.nextTick(O(t))}:m&&m.now?o=function(t){m.now(O(t))}:g&&!p?(c=(i=new g).port2,i.port1.onmessage=S,o=f(c.postMessage,c,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts&&r&&"file:"!==r.protocol&&!a(j)?(o=j,u.addEventListener("message",S,!1)):o="onreadystatechange"in l("script")?function(t){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),w(t)}}:function(t){setTimeout(O(t),0)}),t.exports={set:h,clear:d}},function(t,n,e){var r=e(30);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,n,e){"use strict";var r=e(15),o=function(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)};t.exports.f=function(t){return new o(t)}},function(t,n,e){var r=e(1);n.f=r},function(t,n,e){var r=e(124),o=e(7),i=e(83),c=e(6).f;t.exports=function(t){var n=r.Symbol||(r.Symbol={});o(n,t)||c(n,t,{value:i.f(t)})}},function(t,n,e){var r=e(36),o=e(56),i=e(13),c=e(21),u=e(54),a=[].push,f=function(t){var n=1==t,e=2==t,f=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(h,d,y,g){for(var m,b,x=i(h),w=o(x),O=r(d,y,3),S=c(w.length),j=0,E=g||u,T=n?E(h,S):e||p?E(h,0):void 0;S>j;j++)if((v||j in w)&&(b=O(m=w[j],j,x),t))if(n)T[j]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return j;case 2:a.call(T,m)}else switch(t){case 4:return!1;case 7:a.call(T,m)}return l?-1:f||s?s:T}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},function(t,n,e){"use strict";var r=e(5),o=e(3),i=e(53),c=e(2),u=e(13),a=e(21),f=e(87),s=e(54),l=e(88),p=e(1),v=e(29),h=p("isConcatSpreadable"),d=v>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),y=l("concat"),g=function(t){if(!c(t))return!1;var n=t[h];return void 0!==n?!!n:i(t)};r({target:"Array",proto:!0,forced:!d||!y},{concat:function(t){var n,e,r,o,i,c=u(this),l=s(c,0),p=0;for(n=-1,r=arguments.length;n<r;n++)if(g(i=-1===n?c:arguments[n])){if(p+(o=a(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(e=0;e<o;e++,p++)e in i&&f(l,p,i[e])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");f(l,p++,i)}return l.length=p,l}})},function(t,n,e){"use strict";var r=e(27),o=e(6),i=e(17);t.exports=function(t,n,e){var c=r(n);c in t?o.f(t,c,i(0,e)):t[c]=e}},function(t,n,e){var r=e(3),o=e(1),i=e(29),c=o("species");t.exports=function(t){return i>=51||!r((function(){var n=[];return(n.constructor={})[c]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,e){var r=e(5),o=e(3),i=e(13),c=e(45),u=e(64);r({target:"Object",stat:!0,forced:o((function(){c(1)})),sham:!u},{getPrototypeOf:function(t){return c(i(t))}})},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(2),o=e(28),i=e(92),c=e(1)("toPrimitive");t.exports=function(t,n){if(!r(t)||o(t))return t;var e,u=t[c];if(void 0!==u){if(void 0===n&&(n="default"),e=u.call(t,n),!r(e)||o(e))return e;throw TypeError("Can't convert object to primitive value")}return void 0===n&&(n="number"),i(t,n)}},function(t,n,e){var r=e(2);t.exports=function(t,n){var e,o;if("string"===n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if("string"!==n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(0),o=e(42),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,n,e){var r=e(9),o=e(34),i=e(63),c=e(4);t.exports=r("Reflect","ownKeys")||function(t){var n=o.f(c(t)),e=i.f;return e?n.concat(e(t)):n}},function(t,n,e){"use strict";var r=e(46),o=e(66);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,e){"use strict";var r=e(11),o=e(4),i=e(22),c=e(3),u=e(97),a=RegExp.prototype,f=a.toString,s=c((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),l="toString"!=f.name;(s||l)&&r(RegExp.prototype,"toString",(function(){var t=o(this),n=i(t.source),e=t.flags;return"/"+n+"/"+i(void 0===e&&t instanceof RegExp&&!("flags"in a)?u.call(t):e)}),{unsafe:!0})},function(t,n,e){"use strict";var r=e(4);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){var r=e(5),o=e(9),i=e(15),c=e(4),u=e(2),a=e(16),f=e(100),s=e(3),l=o("Reflect","construct"),p=s((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),v=!s((function(){l((function(){}))})),h=p||v;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(t,n){i(t),c(n);var e=arguments.length<3?t:i(arguments[2]);if(v&&!p)return l(t,n,e);if(t==e){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var r=[null];return r.push.apply(r,n),new(f.apply(t,r))}var o=e.prototype,s=a(u(o)?o:Object.prototype),h=Function.apply.call(t,s,n);return u(h)?h:s}})},function(t,n,e){var r=e(8),o=e(6),i=e(4),c=e(47);t.exports=r?Object.defineProperties:function(t,n){i(t);for(var e,r=c(n),u=r.length,a=0;u>a;)o.f(t,e=r[a++],n[e]);return t}},function(t,n,e){"use strict";var r=e(15),o=e(2),i=[].slice,c={},u=function(t,n,e){if(!(n in c)){for(var r=[],o=0;o<n;o++)r[o]="a["+o+"]";c[n]=Function("C,a","return new C("+r.join(",")+")")}return c[n](t,e)};t.exports=Function.bind||function(t){var n=r(this),e=i.call(arguments,1),c=function(){var r=e.concat(i.call(arguments));return this instanceof c?u(n,r.length,r):n.apply(t,r)};return o(n.prototype)&&(c.prototype=n.prototype),c}},function(t,n,e){"use strict";var r=e(70).IteratorPrototype,o=e(16),i=e(17),c=e(24),u=e(23),a=function(){return this};t.exports=function(t,n,e){var f=n+" Iterator";return t.prototype=o(r,{next:i(1,e)}),c(t,f,!1,!0),u[f]=a,t}},function(t,n,e){var r=e(2);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,n,e){"use strict";var r=e(104),o=e(110);t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,n,e){"use strict";var r=e(5),o=e(0),i=e(44),c=e(11),u=e(71),a=e(50),f=e(51),s=e(2),l=e(3),p=e(74),v=e(24),h=e(109);t.exports=function(t,n,e){var d=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),g=d?"set":"add",m=o[t],b=m&&m.prototype,x=m,w={},O=function(t){var n=b[t];c(b,t,"add"==t?function(t){return n.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!s(t)?void 0:n.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!s(t))&&n.call(this,0===t?0:t)}:function(t,e){return n.call(this,0===t?0:t,e),this})};if(i(t,"function"!=typeof m||!(y||b.forEach&&!l((function(){(new m).entries().next()})))))x=e.getConstructor(n,t,d,g),u.enable();else if(i(t,!0)){var S=new x,j=S[g](y?{}:-0,1)!=S,E=l((function(){S.has(1)})),T=p((function(t){new m(t)})),P=!y&&l((function(){for(var t=new m,n=5;n--;)t[g](n,n);return!t.has(-0)}));T||((x=n((function(n,e){f(n,x,t);var r=h(new m,n,x);return null!=e&&a(e,r[g],{that:r,AS_ENTRIES:d}),r}))).prototype=b,b.constructor=x),(E||P)&&(O("delete"),O("has"),d&&O("get")),(P||j)&&O(g),y&&b.clear&&delete b.clear}return w[t]=x,r({global:!0,forced:x!=m},w),v(x,t),y||e.setStrong(x,t,d),x}},function(t,n,e){var r=e(3);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,n,e){var r=e(1),o=e(23),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,n,e){var r=e(4),o=e(73);t.exports=function(t,n){var e=arguments.length<2?o(t):n;if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},function(t,n,e){var r=e(4);t.exports=function(t,n,e){var o,i;r(t);try{if(void 0===(o=t.return)){if("throw"===n)throw e;return e}o=o.call(t)}catch(t){i=!0,o=t}if("throw"===n)throw e;if(i)throw o;return r(o),e}},function(t,n,e){var r=e(2),o=e(49);t.exports=function(t,n,e){var i,c;return o&&"function"==typeof(i=n.constructor)&&i!==e&&r(c=i.prototype)&&c!==e.prototype&&o(t,c),t}},function(t,n,e){"use strict";var r=e(6).f,o=e(16),i=e(75),c=e(36),u=e(51),a=e(50),f=e(48),s=e(76),l=e(8),p=e(71).fastKey,v=e(14),h=v.set,d=v.getterFor;t.exports={getConstructor:function(t,n,e,f){var s=t((function(t,r){u(t,s,n),h(t,{type:n,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&a(r,t[f],{that:t,AS_ENTRIES:e})})),v=d(n),y=function(t,n,e){var r,o,i=v(t),c=g(t,n);return c?c.value=e:(i.last=c={index:o=p(n,!0),key:n,value:e,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=c),r&&(r.next=c),l?i.size++:t.size++,"F"!==o&&(i.index[o]=c)),t},g=function(t,n){var e,r=v(t),o=p(n);if("F"!==o)return r.index[o];for(e=r.first;e;e=e.next)if(e.key==n)return e};return i(s.prototype,{clear:function(){for(var t=v(this),n=t.index,e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),delete n[e.index],e=e.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var n=v(this),e=g(this,t);if(e){var r=e.next,o=e.previous;delete n.index[e.index],e.removed=!0,o&&(o.next=r),r&&(r.previous=o),n.first==e&&(n.first=r),n.last==e&&(n.last=o),l?n.size--:this.size--}return!!e},forEach:function(t){for(var n,e=v(this),r=c(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.next:e.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(t){return!!g(this,t)}}),i(s.prototype,e?{get:function(t){var n=g(this,t);return n&&n.value},set:function(t,n){return y(this,0===t?0:t,n)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),l&&r(s.prototype,"size",{get:function(){return v(this).size}}),s},setStrong:function(t,n,e){var r=n+" Iterator",o=d(n),i=d(r);f(t,n,(function(t,n){h(this,{type:r,target:t,state:o(t),kind:n,last:void 0})}),(function(){for(var t=i(this),n=t.kind,e=t.last;e&&e.removed;)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?"keys"==n?{value:e.key,done:!1}:"values"==n?{value:e.value,done:!1}:{value:[e.key,e.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),e?"entries":"values",!e,!0),s(n)}}},function(t,n,e){"use strict";var r=e(112).charAt,o=e(22),i=e(14),c=e(48),u=i.set,a=i.getterFor("String Iterator");c(String,"String",(function(t){u(this,{type:"String Iterator",string:o(t),index:0})}),(function(){var t,n=a(this),e=n.string,o=n.index;return o>=e.length?{value:void 0,done:!0}:(t=r(e,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,e){var r=e(35),o=e(22),i=e(26),c=function(t){return function(n,e){var c,u,a=o(i(n)),f=r(e),s=a.length;return f<0||f>=s?t?"":void 0:(c=a.charCodeAt(f))<55296||c>56319||f+1===s||(u=a.charCodeAt(f+1))<56320||u>57343?t?a.charAt(f):c:t?a.slice(f,f+2):u-56320+(c-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},function(t,n,e){var r=e(0),o=e(77),i=e(78),c=e(68),u=e(10),a=e(1),f=a("iterator"),s=a("toStringTag"),l=c.values,p=function(t,n){if(t){if(t[f]!==l)try{u(t,f,l)}catch(n){t[f]=l}if(t[s]||u(t,s,n),o[n])for(var e in c)if(t[e]!==c[e])try{u(t,e,c[e])}catch(n){t[e]=c[e]}}};for(var v in o)p(r[v]&&r[v].prototype,v);p(i,"DOMTokenList")},function(t,n,e){var r=e(0);t.exports=r.Promise},function(t,n,e){var r=e(4),o=e(15),i=e(1)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||null==(e=r(c)[i])?n:o(e)}},function(t,n,e){var r,o,i,c,u,a,f,s,l=e(0),p=e(25).f,v=e(80).set,h=e(81),d=e(117),y=e(118),g=e(52),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,x=l.process,w=l.Promise,O=p(l,"queueMicrotask"),S=O&&O.value;S||(r=function(){var t,n;for(g&&(t=x.domain)&&t.exit();o;){n=o.fn,o=o.next;try{n()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},h||g||y||!m||!b?!d&&w&&w.resolve?((f=w.resolve(void 0)).constructor=w,s=f.then,c=function(){s.call(f,r)}):c=g?function(){x.nextTick(r)}:function(){v.call(l,r)}:(u=!0,a=b.createTextNode(""),new m(r).observe(a,{characterData:!0}),c=function(){a.data=u=!u})),t.exports=S||function(t){var n={fn:t,next:void 0};i&&(i.next=n),o||(o=n,c()),i=n}},function(t,n,e){var r=e(30),o=e(0);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(t,n,e){var r=e(30);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,n,e){var r=e(4),o=e(2),i=e(82);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){var r=e(0);t.exports=function(t,n){var e=r.console;e&&e.error&&(1===arguments.length?e.error(t):e.error(t,n))}},function(t,n){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,n){t.exports="object"==typeof window},function(t,n,e){"use strict";var r=e(5),o=e(0),i=e(9),c=e(19),u=e(8),a=e(38),f=e(3),s=e(7),l=e(53),p=e(2),v=e(28),h=e(4),d=e(13),y=e(12),g=e(27),m=e(22),b=e(17),x=e(16),w=e(47),O=e(34),S=e(72),j=e(63),E=e(25),T=e(6),P=e(37),k=e(10),_=e(11),L=e(39),C=e(33),A=e(20),M=e(31),R=e(1),I=e(83),F=e(84),N=e(24),D=e(14),G=e(85).forEach,z=C("hidden"),B=R("toPrimitive"),W=D.set,V=D.getterFor("Symbol"),q=Object.prototype,H=o.Symbol,U=i("JSON","stringify"),Y=E.f,J=T.f,K=S.f,$=P.f,Q=L("symbols"),X=L("op-symbols"),Z=L("string-to-symbol-registry"),tt=L("symbol-to-string-registry"),nt=L("wks"),et=o.QObject,rt=!et||!et.prototype||!et.prototype.findChild,ot=u&&f((function(){return 7!=x(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,n,e){var r=Y(q,n);r&&delete q[n],J(t,n,e),r&&t!==q&&J(q,n,r)}:J,it=function(t,n){var e=Q[t]=x(H.prototype);return W(e,{type:"Symbol",tag:t,description:n}),u||(e.description=n),e},ct=function(t,n,e){t===q&&ct(X,n,e),h(t);var r=g(n);return h(e),s(Q,r)?(e.enumerable?(s(t,z)&&t[z][r]&&(t[z][r]=!1),e=x(e,{enumerable:b(0,!1)})):(s(t,z)||J(t,z,b(1,{})),t[z][r]=!0),ot(t,r,e)):J(t,r,e)},ut=function(t,n){h(t);var e=y(n),r=w(e).concat(lt(e));return G(r,(function(n){u&&!at.call(e,n)||ct(t,n,e[n])})),t},at=function(t){var n=g(t),e=$.call(this,n);return!(this===q&&s(Q,n)&&!s(X,n))&&(!(e||!s(this,n)||!s(Q,n)||s(this,z)&&this[z][n])||e)},ft=function(t,n){var e=y(t),r=g(n);if(e!==q||!s(Q,r)||s(X,r)){var o=Y(e,r);return!o||!s(Q,r)||s(e,z)&&e[z][r]||(o.enumerable=!0),o}},st=function(t){var n=K(y(t)),e=[];return G(n,(function(t){s(Q,t)||s(A,t)||e.push(t)})),e},lt=function(t){var n=t===q,e=K(n?X:y(t)),r=[];return G(e,(function(t){!s(Q,t)||n&&!s(q,t)||r.push(Q[t])})),r};(a||(_((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,n=M(t),e=function(t){this===q&&e.call(X,t),s(this,z)&&s(this[z],n)&&(this[z][n]=!1),ot(this,n,b(1,t))};return u&&rt&&ot(q,n,{configurable:!0,set:e}),it(n,t)}).prototype,"toString",(function(){return V(this).tag})),_(H,"withoutSetter",(function(t){return it(M(t),t)})),P.f=at,T.f=ct,E.f=ft,O.f=S.f=st,j.f=lt,I.f=function(t){return it(R(t),t)},u&&(J(H.prototype,"description",{configurable:!0,get:function(){return V(this).description}}),c||_(q,"propertyIsEnumerable",at,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:H}),G(w(nt),(function(t){F(t)})),r({target:"Symbol",stat:!0,forced:!a},{for:function(t){var n=m(t);if(s(Z,n))return Z[n];var e=H(n);return Z[n]=e,tt[e]=n,e},keyFor:function(t){if(!v(t))throw TypeError(t+" is not a symbol");if(s(tt,t))return tt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!a,sham:!u},{create:function(t,n){return void 0===n?x(t):ut(x(t),n)},defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:st,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:f((function(){j.f(1)}))},{getOwnPropertySymbols:function(t){return j.f(d(t))}}),U)&&r({target:"JSON",stat:!0,forced:!a||f((function(){var t=H();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}))},{stringify:function(t,n,e){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=n,(p(n)||void 0!==t)&&!v(t))return l(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!v(n))return n}),o[1]=n,U.apply(null,o)}});H.prototype[B]||k(H.prototype,B,H.prototype.valueOf),N(H,"Symbol"),A[z]=!0},function(t,n,e){var r=e(0);t.exports=r},function(t,n,e){var r=e(2),o=e(53),i=e(1)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),void 0===n?Array:n}},function(t,n,e){"use strict";var r=e(5),o=e(8),i=e(0),c=e(7),u=e(2),a=e(6).f,f=e(59),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[n]=!0),n};f(p,s);var v=p.prototype=s.prototype;v.constructor=p;var h=v.toString,d="Symbol(test)"==String(s("test")),y=/^Symbol\((.*)\)[^)]+$/;a(v,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,n=h.call(t);if(c(l,t))return"";var e=d?n.slice(7,-1):n.replace(y,"$1");return""===e?void 0:e}}),r({global:!0,forced:!0},{Symbol:p})}},function(t,n,e){e(84)("iterator")},function(t,n,e){var r=function(t){"use strict";var n=Object.prototype,e=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function u(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{u({},"")}catch(t){u=function(t,n,e){return t[n]=e}}function a(t,n,e,r){var o=n&&n.prototype instanceof l?n:l,i=Object.create(o.prototype),c=new S(r||[]);return i._invoke=function(t,n,e){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return E()}for(e.method=o,e.arg=i;;){var c=e.delegate;if(c){var u=x(c,e);if(u){if(u===s)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===r)throw r="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r="executing";var a=f(t,n,e);if("normal"===a.type){if(r=e.done?"completed":"suspendedYield",a.arg===s)continue;return{value:a.arg,done:e.done}}"throw"===a.type&&(r="completed",e.method="throw",e.arg=a.arg)}}}(t,e,c),i}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=a;var s={};function l(){}function p(){}function v(){}var h={};u(h,o,(function(){return this}));var d=Object.getPrototypeOf,y=d&&d(d(j([])));y&&y!==n&&e.call(y,o)&&(h=y);var g=v.prototype=l.prototype=Object.create(h);function m(t){["next","throw","return"].forEach((function(n){u(t,n,(function(t){return this._invoke(n,t)}))}))}function b(t,n){var r;this._invoke=function(o,i){function c(){return new n((function(r,c){!function r(o,i,c,u){var a=f(t[o],t,i);if("throw"!==a.type){var s=a.arg,l=s.value;return l&&"object"==typeof l&&e.call(l,"__await")?n.resolve(l.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):n.resolve(l).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(a.arg)}(o,i,r,c)}))}return r=r?r.then(c,c):c()}}function x(t,n){var e=t.iterator[n.method];if(void 0===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,x(t,n),"throw"===n.method))return s;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=f(e,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,s;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,s):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,s)}function w(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function O(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function j(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(e.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=void 0,n.done=!0,n};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=v,u(g,"constructor",v),u(v,"constructor",p),p.displayName=u(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===p||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),u(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(n,e,r,o,i){void 0===i&&(i=Promise);var c=new b(a(n,e,r,o),i);return t.isGeneratorFunction(e)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},m(g),u(g,c,"Generator"),u(g,o,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=j,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&&e.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(e,r){return c.type="throw",c.arg=t,n.next=e,r&&(n.method="next",n.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=e.call(i,"catchLoc"),a=e.call(i,"finallyLoc");if(u&&a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=n,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(c)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),s},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),O(e),s}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var o=r.arg;O(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:j(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=void 0),s}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,n,e){var r=e(8),o=e(6).f,i=Function.prototype,c=i.toString,u=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return c.call(this).match(u)[1]}catch(t){return""}}})},function(t,n,e){"use strict";var r=e(5),o=e(61).includes,i=e(69);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,n,e){"use strict";var r=e(5),o=e(132),i=e(26),c=e(22);r({target:"String",proto:!0,forced:!e(134)("includes")},{includes:function(t){return!!~c(i(this)).indexOf(c(o(t)),arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){var r=e(133);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,n,e){var r=e(2),o=e(18),i=e(1)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},function(t,n,e){var r=e(1)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,"/./"[t](n)}catch(t){}}return!1}},function(t,n,e){var r=e(5),o=e(136).values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},function(t,n,e){var r=e(8),o=e(47),i=e(12),c=e(37).f,u=function(t){return function(n){for(var e,u=i(n),a=o(u),f=a.length,s=0,l=[];f>s;)e=a[s++],r&&!c.call(u,e)||l.push(t?[e,u[e]]:u[e]);return l}};t.exports={entries:u(!0),values:u(!1)}},function(t,n,e){var r=e(0),o=e(77),i=e(78),c=e(138),u=e(10),a=function(t){if(t&&t.forEach!==c)try{u(t,"forEach",c)}catch(n){t.forEach=c}};for(var f in o)a(r[f]&&r[f].prototype);a(i)},function(t,n,e){"use strict";var r=e(85).forEach,o=e(139)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n,e){"use strict";var r=e(3);t.exports=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){throw 1},1)}))}},function(t,n,e){"use strict";var r=e(5),o=e(62),i=e(35),c=e(21),u=e(13),a=e(54),f=e(87),s=e(88)("splice"),l=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!s},{splice:function(t,n){var e,r,s,v,h,d,y=u(this),g=c(y.length),m=o(t,g),b=arguments.length;if(0===b?e=r=0:1===b?(e=0,r=g-m):(e=b-2,r=p(l(i(n),0),g-m)),g+e-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(s=a(y,r),v=0;v<r;v++)(h=m+v)in y&&f(s,v,y[h]);if(s.length=r,e<r){for(v=m;v<g-r;v++)d=v+e,(h=v+r)in y?y[d]=y[h]:delete y[d];for(v=g;v>g-r+e;v--)delete y[v-1]}else if(e>r)for(v=g-r;v>m;v--)d=v+e-1,(h=v+r-1)in y?y[d]=y[h]:delete y[d];for(v=0;v<e;v++)y[v+m]=arguments[v+2];return y.length=g-r+e,s}})},function(t,n,e){"use strict";e.r(n),e.d(n,"EventType",(function(){return r})),e.d(n,"createEmitter",(function(){return s})),e.d(n,"createEvents",(function(){return l})),e.d(n,"Env",(function(){return i})),e.d(n,"FrameOrigin",(function(){return c})),e.d(n,"MessageTypes",(function(){return u})),e.d(n,"ErrorCode",(function(){return a})),e.d(n,"version",(function(){return P})),e.d(n,"origins",(function(){return k})),e.d(n,"init",(function(){return L}));e(89),e(65),e(96),e(98),e(68),e(103),e(111),e(113),e(79),e(123),e(126),e(127),e(128),e(129),e(130),e(131),e(135),e(86);var r,o,i,c,u,a,f=e(55);e(137),e(140);function s(){var t={};return{clear:function(){t={}},emit:function(n,e){t[n]&&t[n].forEach((function(t){return t(e)})),t["*"]&&t["*"].forEach((function(t){return t(e)}))},on:function(n,e){return t[n]=t[n]?t[n].concat(e):[e],function(){t[n].splice(t[n].indexOf(e),1)}}}}function l(){var t=s();return{emitOpen:function(){t.emit(r.Open)},emitClose:function(){t.emit(r.Close)},emitComplete:function(){t.emit(r.Complete)},emitError:function(n){t.emit(r.Error,n)},onOpen:function(n){return t.on(r.Open,n)},onClose:function(n){return t.on(r.Close,n)},onComplete:function(n){return t.on(r.Complete,n)},onError:function(n){return t.on(r.Error,n)}}}function p(t){var n=t.src,e=document.createElement("iframe");return e.src=n,e.setAttribute("sandbox","allow-scripts allow-forms allow-same-origin"),e.style.position="fixed",e.style.top="0",e.style.bottom="0",e.style.left="0",e.style.right="0",e.style.zIndex="999999999",e.style.border="0",e.style.padding="0",e.style.margin="0",e.width="100%",e.height="100%",e}function v(t){return new Promise((function(n,e){t.onload=n,t.onerror=e,document.body.appendChild(t)}))}function h(t,n,e){var r;null===(r=t.contentWindow)||void 0===r||r.postMessage(e,n)}function d(t){document.body.removeChild(t)}function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,n,e,r,o,i,c){try{var u=t[i](c),a=u.value}catch(t){return void e(t)}u.done?n(a):Promise.resolve(a).then(r,o)}function m(t){return function(){var n=this,e=arguments;return new Promise((function(r,o){var i=t.apply(n,e);function c(t){g(i,r,o,c,u,"next",t)}function u(t){g(i,r,o,c,u,"throw",t)}c(void 0)}))}}function b(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function x(t,n){if(n&&("object"===y(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function w(t){var n="function"==typeof Map?new Map:void 0;return(w=function(t){if(null===t||(e=t,-1===Function.toString.call(e).indexOf("[native code]")))return t;var e;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return O(t,arguments,E(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),j(r,t)})(t)}function O(t,n,e){return(O=S()?Reflect.construct:function(t,n,e){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(t,r));return e&&j(o,e.prototype),o}).apply(null,arguments)}function S(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function j(t,n){return(j=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function T(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}!function(t){t.Open="open",t.Close="close",t.Complete="complete",t.Error="error"}(r||(r={})),function(t){t.Production="production",t.Sandbox="sandbox"}(i||(i={})),function(t){t.Production="https://js.truework.com/frames/credentials/v1/index.html",t.Sandbox="https://js.truework.com/frames/credentials/v1/index.html"}(c||(c={})),function(t){t.Bootstrap="bootstrap",t.Open="open",t.Close="close",t.Complete="complete",t.Error="error"}(u||(u={})),function(t){t[t.Catastrophic=0]="Catastrophic",t[t.Fail=1]="Fail",t[t.Message=2]="Message"}(a||(a={}));var P="@truework/credentials@0.3.0@",k=(T(o={},i.Production,c.Production),T(o,i.Sandbox,c.Sandbox),o),_=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&j(t,n)}(o,t);var n,e,r=(n=o,e=S(),function(){var t,r=E(n);if(e){var o=E(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return x(this,t)});function o(){return b(this,o),r.apply(this,arguments)}return o}(w(Error));function L(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{env:i.Production};if(!t)throw new _("".concat(f.name," — missing token"));if(!Object.values(i).includes(n.env))throw new _("".concat(f.name," — invalid environment ").concat(n.env));var e=k[n.env],r=p({src:e}),o=l();return o.onError((function(t){t.code===a.Catastrophic&&d(r)})),window.addEventListener("message",(function(t){var n=t.data;switch(n.type){case u.Open:o.emitOpen();break;case u.Close:o.emitClose(),d(r);break;case u.Complete:o.emitComplete();break;case u.Error:o.emitError(n)}})),{open:function(){return m(regeneratorRuntime.mark((function i(){var c,f;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,v(r);case 3:h(r,e,{type:u.Bootstrap,token:t,env:n.env,package_version:P,bundle_version:null===(c=window)||void 0===c||null===(f=c.Truework)||void 0===f?void 0:f.version}),i.next=9;break;case 6:i.prev=6,i.t0=i.catch(0),o.emitError({code:a.Catastrophic});case 9:case"end":return i.stop()}}),i,null,[[0,6]])})))()},close:function(){h(r,e,{type:u.Close})},onOpen:function(t){return o.onOpen(t)},onClose:function(t){return o.onClose(t)},onComplete:function(t){return o.onComplete(t)},onError:function(t){return o.onError(t)}}}}])); |
@@ -5,10 +5,6 @@ import { EventHandler } from './events'; | ||
Production = "production", | ||
Development = "development", | ||
Test = "test", | ||
Sandbox = "sandbox" | ||
} | ||
export declare enum Origin { | ||
export declare enum FrameOrigin { | ||
Production = "https://js.truework.com/frames/credentials/v1/index.html", | ||
Development = "http://localhost:4002", | ||
Test = "https://truework-credentials-test.truework.com", | ||
Sandbox = "https://js.truework.com/frames/credentials/v1/index.html" | ||
@@ -46,6 +42,4 @@ } | ||
export declare const origins: { | ||
production: Origin; | ||
development: Origin; | ||
test: Origin; | ||
sandbox: Origin; | ||
production: FrameOrigin; | ||
sandbox: FrameOrigin; | ||
}; | ||
@@ -52,0 +46,0 @@ export declare function init(token: string, options?: { |
@@ -1,3 +0,3 @@ | ||
import { Messages, Origin } from '.'; | ||
export declare function postMessage(frame: HTMLIFrameElement, origin: Origin, message: Messages): void; | ||
import { Messages, FrameOrigin } from '.'; | ||
export declare function postMessage(frame: HTMLIFrameElement, origin: FrameOrigin, message: Messages): void; | ||
export declare function removeFrame(frame: HTMLIFrameElement): void; |
# @truework/credentials | ||
## 0.3.0 | ||
### Minor Changes | ||
- 7f3568d: - Reduce `Env` to only `Production` and `Sandbox` for ease of use and security. | ||
- Introduce env vars to override options for local development | ||
- Expand and improve local server setups | ||
## 0.2.10 | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "@truework/credentials", | ||
"version": "0.2.10", | ||
"version": "0.3.0", | ||
"description": "The embeddable Truework Credentials experience.", | ||
@@ -32,4 +32,4 @@ "author": "truework-team", | ||
"typecheck": "pnpx tsc --noEmit", | ||
"test": "tap --ts --no-check-coverage --test-regex .*test\\.tsx?" | ||
"test": "TJS_FRAME_ORIGIN=http://localhost:4002 tap --ts --no-check-coverage --test-regex .*test\\.tsx?" | ||
} | ||
} |
@@ -6,7 +6,7 @@ import tap from 'tap' | ||
import { init, ErrorCode, Env } from '../' | ||
import { init, ErrorCode } from '../' | ||
tap.test('init throws', async (t) => { | ||
t.throws(() => { | ||
// @ts-expect-error | ||
// @ts-expect-error no token | ||
init() | ||
@@ -22,2 +22,3 @@ }) | ||
removeFrame() { | ||
// frame is removed in catastrophic event | ||
t.pass() | ||
@@ -28,5 +29,5 @@ }, | ||
const credentials = init('abcdefg', { env: Env.Test }) | ||
const credentials = init('abcdefg') | ||
// @ts-ignore | ||
// @ts-ignore proxyquired | ||
credentials.onError((data) => { | ||
@@ -33,0 +34,0 @@ t.equal(data.code, ErrorCode.Catastrophic) |
import { JSDOM } from 'jsdom' | ||
import { Env, origins } from '../' | ||
const dom = new JSDOM(`<!DOCTYPE html><html><body></body></html>`, { | ||
url: origins[Env.Production], | ||
url: 'http://localhost:4000', | ||
resources: 'usable', | ||
@@ -8,0 +6,0 @@ }) |
@@ -10,11 +10,7 @@ import pkg from '../package.json' | ||
Production = 'production', | ||
Development = 'development', | ||
Test = 'test', | ||
Sandbox = 'sandbox', | ||
} | ||
export enum Origin { | ||
export enum FrameOrigin { | ||
Production = 'https://js.truework.com/frames/credentials/v1/index.html', | ||
Development = 'http://localhost:4002', | ||
Test = 'https://truework-credentials-test.truework.com', | ||
Sandbox = 'https://js.truework.com/frames/credentials/v1/index.html', | ||
@@ -63,6 +59,4 @@ } | ||
export const origins = { | ||
[Env.Production]: Origin.Production, | ||
[Env.Development]: Origin.Development, | ||
[Env.Test]: Origin.Test, | ||
[Env.Sandbox]: Origin.Sandbox, | ||
[Env.Production]: FrameOrigin.Production, | ||
[Env.Sandbox]: FrameOrigin.Sandbox, | ||
} | ||
@@ -80,4 +74,4 @@ | ||
const origin = origins[options.env] | ||
const frame = createFrame({ src: origin }) | ||
const frameOrigin = (process.env.TJS_FRAME_ORIGIN as FrameOrigin) || origins[options.env] | ||
const frame = createFrame({ src: frameOrigin }) | ||
const events = createEvents() | ||
@@ -92,4 +86,2 @@ | ||
window.addEventListener('message', ({ data }: MessageEvent<Messages>) => { | ||
console.info('parent received', data) | ||
switch (data.type) { | ||
@@ -117,3 +109,3 @@ case MessageTypes.Open: | ||
await mountFrame(frame) // must happen before comms channel is open | ||
postMessage(frame, origin, { | ||
postMessage(frame, frameOrigin, { | ||
type: MessageTypes.Bootstrap, | ||
@@ -131,3 +123,3 @@ token, | ||
close() { | ||
postMessage(frame, origin, { type: MessageTypes.Close }) | ||
postMessage(frame, frameOrigin, { type: MessageTypes.Close }) | ||
}, | ||
@@ -134,0 +126,0 @@ |
@@ -1,4 +0,4 @@ | ||
import { Messages, Origin } from '.' | ||
import { Messages, FrameOrigin } from '.' | ||
export function postMessage(frame: HTMLIFrameElement, origin: Origin, message: Messages) { | ||
export function postMessage(frame: HTMLIFrameElement, origin: FrameOrigin, message: Messages) { | ||
frame.contentWindow?.postMessage(message, origin) | ||
@@ -5,0 +5,0 @@ } |
@@ -5,3 +5,3 @@ const path = require('path') | ||
const { CODEBUILD_RESOLVED_SOURCE_VERSION = '' } = process.env | ||
const { CODEBUILD_RESOLVED_SOURCE_VERSION = '', TJS_FRAME_ORIGIN = '' } = process.env | ||
@@ -32,4 +32,5 @@ const VERSION = `${pkg.name}@${pkg.version}@${CODEBUILD_RESOLVED_SOURCE_VERSION}` | ||
'process.env.VERSION': JSON.stringify(VERSION), | ||
'process.env.TJS_FRAME_ORIGIN': JSON.stringify(TJS_FRAME_ORIGIN), | ||
}), | ||
], | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
206159
462
1