@truework/credentials
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -1,1 +0,1 @@ | ||
{"processes":{"1eb7a2d4-25b8-4901-8188-fc7d6111605f":{"parent":"bf84d02a-c118-4d7d-a98f-8aa255124d9e","externalId":"src/__tests__/events.test.ts","children":[]},"8aa441bf-3977-4e50-9585-846ccf5955d6":{"parent":"bf84d02a-c118-4d7d-a98f-8aa255124d9e","externalId":"src/__tests__/frame.test.ts","children":[]},"bf84d02a-c118-4d7d-a98f-8aa255124d9e":{"parent":null,"children":["1eb7a2d4-25b8-4901-8188-fc7d6111605f","8aa441bf-3977-4e50-9585-846ccf5955d6","f8080163-42d8-4522-84d0-2168a47ee589"]},"f8080163-42d8-4522-84d0-2168a47ee589":{"parent":"bf84d02a-c118-4d7d-a98f-8aa255124d9e","externalId":"src/__tests__/index.test.ts","children":[]}},"files":{"/Users/ericbailey/Sites/truework/truework.js/packages/credentials/src/index.ts":["1eb7a2d4-25b8-4901-8188-fc7d6111605f","8aa441bf-3977-4e50-9585-846ccf5955d6","f8080163-42d8-4522-84d0-2168a47ee589"],"/Users/ericbailey/Sites/truework/truework.js/packages/credentials/src/events.ts":["1eb7a2d4-25b8-4901-8188-fc7d6111605f","8aa441bf-3977-4e50-9585-846ccf5955d6","f8080163-42d8-4522-84d0-2168a47ee589"],"/Users/ericbailey/Sites/truework/truework.js/packages/credentials/src/frame.ts":["1eb7a2d4-25b8-4901-8188-fc7d6111605f","8aa441bf-3977-4e50-9585-846ccf5955d6","f8080163-42d8-4522-84d0-2168a47ee589"],"/Users/ericbailey/Sites/truework/truework.js/packages/credentials/src/utils.ts":["1eb7a2d4-25b8-4901-8188-fc7d6111605f","8aa441bf-3977-4e50-9585-846ccf5955d6","f8080163-42d8-4522-84d0-2168a47ee589"]},"externalIds":{"src/__tests__/events.test.ts":{"root":"1eb7a2d4-25b8-4901-8188-fc7d6111605f","children":[]},"src/__tests__/frame.test.ts":{"root":"8aa441bf-3977-4e50-9585-846ccf5955d6","children":[]},"src/__tests__/index.test.ts":{"root":"f8080163-42d8-4522-84d0-2168a47ee589","children":[]}}} | ||
{"processes":{"362b7972-7229-479c-b67d-eefa26ee6546":{"parent":"c08b5e84-84c6-42b2-b817-40c89e8fa5c4","externalId":"src/__tests__/index.test.ts","children":[]},"a9ff2ab3-7b13-4744-ae88-15c585afecce":{"parent":"c08b5e84-84c6-42b2-b817-40c89e8fa5c4","externalId":"src/__tests__/events.test.ts","children":[]},"c08b5e84-84c6-42b2-b817-40c89e8fa5c4":{"parent":null,"children":["362b7972-7229-479c-b67d-eefa26ee6546","a9ff2ab3-7b13-4744-ae88-15c585afecce","e8420df3-ed7f-4868-98b1-fe8182a170d0"]},"e8420df3-ed7f-4868-98b1-fe8182a170d0":{"parent":"c08b5e84-84c6-42b2-b817-40c89e8fa5c4","externalId":"src/__tests__/frame.test.ts","children":[]}},"files":{"/Users/ericbailey/Sites/truework/truework.js/packages/credentials/src/index.ts":["362b7972-7229-479c-b67d-eefa26ee6546","a9ff2ab3-7b13-4744-ae88-15c585afecce","e8420df3-ed7f-4868-98b1-fe8182a170d0"],"/Users/ericbailey/Sites/truework/truework.js/packages/credentials/src/events.ts":["362b7972-7229-479c-b67d-eefa26ee6546","a9ff2ab3-7b13-4744-ae88-15c585afecce","e8420df3-ed7f-4868-98b1-fe8182a170d0"],"/Users/ericbailey/Sites/truework/truework.js/packages/credentials/src/frame.ts":["362b7972-7229-479c-b67d-eefa26ee6546","a9ff2ab3-7b13-4744-ae88-15c585afecce","e8420df3-ed7f-4868-98b1-fe8182a170d0"],"/Users/ericbailey/Sites/truework/truework.js/packages/credentials/src/utils.ts":["362b7972-7229-479c-b67d-eefa26ee6546","a9ff2ab3-7b13-4744-ae88-15c585afecce","e8420df3-ed7f-4868-98b1-fe8182a170d0"]},"externalIds":{"src/__tests__/index.test.ts":{"root":"362b7972-7229-479c-b67d-eefa26ee6546","children":[]},"src/__tests__/events.test.ts":{"root":"a9ff2ab3-7b13-4744-ae88-15c585afecce","children":[]},"src/__tests__/frame.test.ts":{"root":"e8420df3-ed7f-4868-98b1-fe8182a170d0","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=139)}([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(88))},function(t,e,n){var r=n(0),o=n(39),i=n(5),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(0),o=n(25).f,i=n(10),c=n(11),u=n(41),a=n(59),f=n(45);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(13),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(r(t),e)}},function(t,e,n){var r=n(8),o=n(58),i=n(7),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(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(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(16);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(5),c=n(41),u=n(43),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(91),u=n(0),a=n(2),f=n(10),s=n(5),l=n(40),p=n(32),v=n(19),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){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(34),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,n){var r,o=n(7),i=n(97),c=n(44),u=n(19),a=n(67),f=n(42),s=n(32),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,n){var r=n(6).f,o=n(5),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(16),c=n(12),u=n(27),a=n(5),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(89),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(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(44).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){t.exports=JSON.parse('{"name":"@truework/credentials","version":"0.2.2","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){"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(18),o=n(40);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.2",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(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(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(5),o=n(13),i=n(32),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(44);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(4),o=n(99),i=n(46),c=n(50),u=n(24),a=n(10),f=n(11),s=n(1),l=n(18),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 P)return P[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,P=t.prototype,T=P[y]||P["@@iterator"]||v&&P[v],k=!d&&T||S(v),L="Array"==e&&P.entries||T;if(L&&(x=i(L.call(new t)),h!==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&&T&&"values"!==T.name&&(E=!0,k=function(){return T.call(this)}),l&&!b||P[y]===k||a(P,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 P))&&f(P,O,w[O]);else r({target:e,proto:!0,forced:d||E},w);return w}},function(t,e,n){var r=n(7),o=n(100);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(7),o=n(104),i=n(20),c=n(35),u=n(105),a=n(106),f=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var s,l,p,v,h,d,y,g=n&&n.that,m=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),w=c(e,g,1+m+x),O=function(t){return s&&a(s),new f(!0,t)},S=function(t){return m?(r(t),x?w(t[0],t[1],O):w(t[0],t[1])):x?w(t,O):w(t)};if(b)s=t;else{if("function"!=typeof(l=u(t)))throw TypeError("Target is not iterable");if(o(l)){for(p=0,v=i(t.length);v>p;p++)if((h=S(t[p]))&&h instanceof f)return h;return new f(!1)}s=l.call(t)}for(d=s.next;!(y=d.call(s)).done;){try{h=S(y.value)}catch(t){throw a(s),t}if("object"==typeof h&&h&&h instanceof f)return h}return new f(!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(17),o=n(0);t.exports="process"==r(o.process)},function(t,e,n){var r=n(17);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(123);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},function(t,e,n){var r=n(3),o=n(17),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(42);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(5),o=n(92),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(5),o=n(12),i=n(61).indexOf,c=n(19);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(20),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(34),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(47),o=n(11),i=n(93);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){var r=n(47),o=n(17),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(49),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(22),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(46),a=n(10),f=n(5),s=n(1),l=n(18),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):v=!0);var h=null==r||c((function(){var t={};return r[p].call(t)!==t}));h&&(r={}),l&&!h||f(r,p)||a(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},function(t,e,n){var r=n(4),o=n(19),i=n(2),c=n(5),u=n(6).f,a=n(33),f=n(72),s=n(31),l=n(103),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(33).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(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){"use strict";var r,o,i,c,u=n(4),a=n(18),f=n(0),s=n(9),l=n(112),p=n(11),v=n(74),h=n(50),d=n(24),y=n(75),g=n(2),m=n(15),b=n(52),x=n(43),w=n(51),O=n(73),S=n(113),j=n(78).set,E=n(114),P=n(117),T=n(118),k=n(80),L=n(119),_=n(14),C=n(45),A=n(1),M=n(120),R=n(53),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&&T("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 P(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(35),s=n(67),l=n(42),p=n(79),v=n(53),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(122),o=n(5),i=n(81),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(35),o=n(56),i=n(13),c=n(20),u=n(55),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,P=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)P[j]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return j;case 2:a.call(P,m)}else switch(t){case 4:return!1;case 7:a.call(P,m)}return l?-1:f||s?s:P}};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(4),o=n(3),i=n(54),c=n(2),u=n(13),a=n(20),f=n(85),s=n(55),l=n(86),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(16);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(4),o=n(3),i=n(13),c=n(46),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(90),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(43),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,n){var r=n(9),o=n(33),i=n(63),c=n(7);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(47),o=n(66);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,n){"use strict";var r=n(11),o=n(7),i=n(21),c=n(3),u=n(95),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(7);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(4),o=n(9),i=n(15),c=n(7),u=n(2),a=n(22),f=n(98),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(7),c=n(48);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(22),i=n(16),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(102),o=n(108);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(4),o=n(0),i=n(45),c=n(11),u=n(71),a=n(51),f=n(52),s=n(2),l=n(3),p=n(73),v=n(24),h=n(107);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)})),P=p((function(t){new m(t)})),T=!y&&l((function(){for(var t=new m,e=5;e--;)t[g](e,e);return!t.has(-0)}));P||((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||T)&&(O("delete"),O("has"),d&&O("get")),(T||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(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(7);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},function(t,e,n){var r=n(2),o=n(50);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(22),i=n(74),c=n(35),u=n(52),a=n(51),f=n(49),s=n(75),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(110).charAt,o=n(21),i=n(14),c=n(49),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(34),o=n(21),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(76),i=n(68),c=n(10),u=n(1),a=u("iterator"),f=u("toStringTag"),s=i.values;for(var l in o){var p=r[l],v=p&&p.prototype;if(v){if(v[a]!==s)try{c(v,a,s)}catch(t){v[a]=s}if(v[f]||c(v,f,l),o[l])for(var h in i)if(v[h]!==i[h])try{c(v,h,i[h])}catch(t){v[h]=i[h]}}}},function(t,e,n){var r=n(0);t.exports=r.Promise},function(t,e,n){var r=n(7),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(78).set,h=n(79),d=n(115),y=n(116),g=n(53),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(7),o=n(2),i=n(80);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(4),o=n(0),i=n(9),c=n(18),u=n(8),a=n(38),f=n(3),s=n(5),l=n(54),p=n(2),v=n(28),h=n(7),d=n(13),y=n(12),g=n(27),m=n(21),b=n(16),x=n(22),w=n(48),O=n(33),S=n(72),j=n(63),E=n(25),P=n(6),T=n(37),k=n(10),L=n(11),_=n(39),C=n(32),A=n(19),M=n(31),R=n(1),I=n(81),F=n(82),N=n(24),D=n(14),G=n(83).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=P.f,J=S.f,$=T.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)})),T.f=at,P.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(54),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(4),o=n(8),i=n(0),c=n(5),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(82)("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(4),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(4),o=n(130),i=n(26),c=n(21);r({target:"String",proto:!0,forced:!n(132)("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(131);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(17),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(4),o=n(134).values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},function(t,e,n){var r=n(8),o=n(48),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(76),i=n(136),c=n(10);for(var u in o){var a=r[u],f=a&&a.prototype;if(f&&f.forEach!==i)try{c(f,"forEach",i)}catch(t){f.forEach=i}}},function(t,e,n){"use strict";var r=n(83).forEach,o=n(137)("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(4),o=n(62),i=n(34),c=n(20),u=n(13),a=n(55),f=n(85),s=n(86)("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 T})),n.d(e,"origins",(function(){return k})),n.d(e,"init",(function(){return _}));n(87),n(65),n(94),n(96),n(68),n(101),n(109),n(111),n(77),n(121),n(124),n(125),n(126),n(127),n(128),n(129),n(133),n(84);var r,o,i,c,u,a,f=n(36);n(135),n(138);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 P(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"}(i||(i={})),function(t){t.Production="https://js.truework.com/frames/credentials",t.Development="http://localhost:4002"}(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 T=f.version,k=(P(o={},i.Production,c.Production),P(o,i.Development,c.Development),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(){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}),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,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=139)}([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(88))},function(t,e,n){var r=n(0),o=n(38),i=n(5),c=n(31),u=n(37),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(0),o=n(25).f,i=n(10),c=n(11),u=n(40),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(13),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(r(t),e)}},function(t,e,n){var r=n(8),o=n(58),i=n(7),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(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(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(16);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(5),c=n(40),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(91),u=n(0),a=n(2),f=n(10),s=n(5),l=n(39),p=n(32),v=n(19),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){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(34),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,n){var r,o=n(7),i=n(97),c=n(43),u=n(19),a=n(67),f=n(41),s=n(32),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,n){var r=n(6).f,o=n(5),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(36),i=n(16),c=n(12),u=n(27),a=n(5),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(89),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(38),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(18),o=n(39);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(0),o=n(40),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(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=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(5),o=n(13),i=n(32),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(4),o=n(99),i=n(45),c=n(49),u=n(24),a=n(10),f=n(11),s=n(1),l=n(18),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),_="Array"==e&&T.entries||P;if(_&&(x=i(_.call(new t)),h!==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(7),o=n(100);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(7),o=n(104),i=n(20),c=n(35),u=n(105),a=n(106),f=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var s,l,p,v,h,d,y,g=n&&n.that,m=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),w=c(e,g,1+m+x),O=function(t){return s&&a(s),new f(!0,t)},S=function(t){return m?(r(t),x?w(t[0],t[1],O):w(t[0],t[1])):x?w(t,O):w(t)};if(b)s=t;else{if("function"!=typeof(l=u(t)))throw TypeError("Target is not iterable");if(o(l)){for(p=0,v=i(t.length);v>p;p++)if((h=S(t[p]))&&h instanceof f)return h;return new f(!1)}s=l.call(t)}for(d=s.next;!(y=d.call(s)).done;){try{h=S(y.value)}catch(t){throw a(s),t}if("object"==typeof h&&h&&h instanceof f)return h}return new f(!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(17),o=n(0);t.exports="process"==r(o.process)},function(t,e,n){var r=n(17);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(123);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.3","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(17),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(37);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(8),o=n(3),i=n(41);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(5),o=n(92),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(5),o=n(12),i=n(61).indexOf,c=n(19);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(20),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(34),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(93);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){var r=n(46),o=n(17),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(22),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(45),a=n(10),f=n(5),s=n(1),l=n(18),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):v=!0);var h=null==r||c((function(){var t={};return r[p].call(t)!==t}));h&&(r={}),l&&!h||f(r,p)||a(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},function(t,e,n){var r=n(4),o=n(19),i=n(2),c=n(5),u=n(6).f,a=n(33),f=n(72),s=n(31),l=n(103),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(33).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(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){"use strict";var r,o,i,c,u=n(4),a=n(18),f=n(0),s=n(9),l=n(112),p=n(11),v=n(74),h=n(49),d=n(24),y=n(75),g=n(2),m=n(15),b=n(51),x=n(42),w=n(50),O=n(73),S=n(113),j=n(78).set,E=n(114),T=n(117),P=n(118),k=n(80),_=n(119),L=n(14),C=n(44),A=n(1),M=n(120),R=n(52),I=n(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,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=_((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=_((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=_((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(35),s=n(67),l=n(41),p=n(79),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(122),o=n(5),i=n(81),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(35),o=n(56),i=n(13),c=n(20),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(4),o=n(3),i=n(53),c=n(2),u=n(13),a=n(20),f=n(85),s=n(54),l=n(86),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(16);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(4),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(90),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(33),i=n(63),c=n(7);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(7),i=n(21),c=n(3),u=n(95),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(7);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(4),o=n(9),i=n(15),c=n(7),u=n(2),a=n(22),f=n(98),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(7),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(22),i=n(16),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(102),o=n(108);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(4),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(73),v=n(24),h=n(107);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(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(7);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},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(22),i=n(74),c=n(35),u=n(51),a=n(50),f=n(48),s=n(75),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(110).charAt,o=n(21),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(34),o=n(21),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(76),i=n(68),c=n(10),u=n(1),a=u("iterator"),f=u("toStringTag"),s=i.values;for(var l in o){var p=r[l],v=p&&p.prototype;if(v){if(v[a]!==s)try{c(v,a,s)}catch(t){v[a]=s}if(v[f]||c(v,f,l),o[l])for(var h in i)if(v[h]!==i[h])try{c(v,h,i[h])}catch(t){v[h]=i[h]}}}},function(t,e,n){var r=n(0);t.exports=r.Promise},function(t,e,n){var r=n(7),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(78).set,h=n(79),d=n(115),y=n(116),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(7),o=n(2),i=n(80);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(4),o=n(0),i=n(9),c=n(18),u=n(8),a=n(37),f=n(3),s=n(5),l=n(53),p=n(2),v=n(28),h=n(7),d=n(13),y=n(12),g=n(27),m=n(21),b=n(16),x=n(22),w=n(47),O=n(33),S=n(72),j=n(63),E=n(25),T=n(6),P=n(36),k=n(10),_=n(11),L=n(38),C=n(32),A=n(19),M=n(31),R=n(1),I=n(81),F=n(82),N=n(24),D=n(14),G=n(83).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=L("symbols"),X=L("op-symbols"),Z=L("string-to-symbol-registry"),tt=L("symbol-to-string-registry"),et=L("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||(_((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})),_(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||_(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(4),o=n(8),i=n(0),c=n(5),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(82)("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(4),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(4),o=n(130),i=n(26),c=n(21);r({target:"String",proto:!0,forced:!n(132)("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(131);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(17),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(4),o=n(134).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(36).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(76),i=n(136),c=n(10);for(var u in o){var a=r[u],f=a&&a.prototype;if(f&&f.forEach!==i)try{c(f,"forEach",i)}catch(t){f.forEach=i}}},function(t,e,n){"use strict";var r=n(83).forEach,o=n(137)("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(4),o=n(62),i=n(34),c=n(20),u=n(13),a=n(54),f=n(85),s=n(86)("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 L}));n(87),n(65),n(94),n(96),n(68),n(101),n(109),n(111),n(77),n(121),n(124),n(125),n(126),n(127),n(128),n(129),n(133),n(84);var r,o,i,c,u,a,f=n(55);n(135),n(138);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"}(i||(i={})),function(t){t.Production="https://js.truework.com/frames/credentials/v1/index.html",t.Development="http://localhost:4002"}(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="0.2.3@",k=(T(o={},i.Production,c.Production),T(o,i.Development,c.Development),o),_=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 L(t){var e=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(e.env))throw new _("".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)}}}}])); |
@@ -8,3 +8,3 @@ import { EventHandler } from './events'; | ||
export declare enum Origin { | ||
Production = "https://js.truework.com/frames/credentials", | ||
Production = "https://js.truework.com/frames/credentials/v1/index.html", | ||
Development = "http://localhost:4002" | ||
@@ -28,2 +28,4 @@ } | ||
env: Env; | ||
package_version: string; | ||
bundle_version?: string; | ||
} | { | ||
@@ -30,0 +32,0 @@ type: MessageTypes.Open; |
# @truework/credentials | ||
## 0.2.3 | ||
### Patch Changes | ||
- 0290fe6: Update prod iframe path | ||
- af4b6e4: Receive and pass version strings from CDN bundle to frame, if available | ||
## 0.2.2 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@truework/credentials", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "The embeddable Truework Credentials experience.", | ||
@@ -5,0 +5,0 @@ "author": "truework-team", |
@@ -14,3 +14,3 @@ import pkg from '../package.json' | ||
export enum Origin { | ||
Production = 'https://js.truework.com/frames/credentials', | ||
Production = 'https://js.truework.com/frames/credentials/v1/index.html', | ||
Development = 'http://localhost:4002', | ||
@@ -38,2 +38,4 @@ } | ||
env: Env | ||
package_version: string | ||
bundle_version?: string | ||
} | ||
@@ -54,3 +56,4 @@ | { | ||
export const version = pkg.version | ||
// @ts-ignore | ||
export const version: string = process.env.VERSION | ||
@@ -107,3 +110,10 @@ export const origins = { | ||
await mountFrame(frame) // must happen before comms channel is open | ||
postMessage(frame, origin, { type: MessageTypes.Bootstrap, token, env: options.env }) | ||
postMessage(frame, origin, { | ||
type: MessageTypes.Bootstrap, | ||
token, | ||
env: options.env, | ||
package_version: version, | ||
// @ts-ignore | ||
bundle_version: window?.Truework?.version, | ||
}) | ||
} catch (e) { | ||
@@ -110,0 +120,0 @@ events.emitError({ code: ErrorCode.Catastrophic }) |
const path = require('path') | ||
const { DefinePlugin } = require('webpack') | ||
const pkg = require('./package.json') | ||
const { CODEBUILD_RESOLVED_SOURCE_VERSION = '' } = process.env | ||
const VERSION = `${pkg.version}@${CODEBUILD_RESOLVED_SOURCE_VERSION}` | ||
module.exports = { | ||
@@ -22,2 +28,7 @@ entry: path.join(__dirname, 'src/index.ts'), | ||
}, | ||
plugins: [ | ||
new DefinePlugin({ | ||
'process.env.VERSION': JSON.stringify(VERSION), | ||
}), | ||
], | ||
} |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
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
261657
462
2