@truework/credentials
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -1,1 +0,1 @@ | ||
{"processes":{"2693559f-321a-4cd9-a125-41845ec61e6c":{"parent":"a7e48177-2c8c-4716-bbc2-e6909f7c8745","externalId":"src/__tests__/events.test.ts","children":[]},"8aec5d6a-d118-4832-a872-0c28dfcc7c42":{"parent":"a7e48177-2c8c-4716-bbc2-e6909f7c8745","externalId":"src/__tests__/frame.test.ts","children":[]},"a7e48177-2c8c-4716-bbc2-e6909f7c8745":{"parent":null,"children":["2693559f-321a-4cd9-a125-41845ec61e6c","8aec5d6a-d118-4832-a872-0c28dfcc7c42","f885e1b3-c3a3-414b-b016-ada88e63ca19"]},"f885e1b3-c3a3-414b-b016-ada88e63ca19":{"parent":"a7e48177-2c8c-4716-bbc2-e6909f7c8745","externalId":"src/__tests__/index.test.ts","children":[]}},"files":{"/home/runner/work/truework.js/truework.js/packages/credentials/src/index.ts":["2693559f-321a-4cd9-a125-41845ec61e6c","f885e1b3-c3a3-414b-b016-ada88e63ca19"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/events.ts":["2693559f-321a-4cd9-a125-41845ec61e6c","f885e1b3-c3a3-414b-b016-ada88e63ca19"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/frame.ts":["2693559f-321a-4cd9-a125-41845ec61e6c","8aec5d6a-d118-4832-a872-0c28dfcc7c42","f885e1b3-c3a3-414b-b016-ada88e63ca19"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/utils.ts":["2693559f-321a-4cd9-a125-41845ec61e6c","f885e1b3-c3a3-414b-b016-ada88e63ca19"]},"externalIds":{"src/__tests__/events.test.ts":{"root":"2693559f-321a-4cd9-a125-41845ec61e6c","children":[]},"src/__tests__/frame.test.ts":{"root":"8aec5d6a-d118-4832-a872-0c28dfcc7c42","children":[]},"src/__tests__/index.test.ts":{"root":"f885e1b3-c3a3-414b-b016-ada88e63ca19","children":[]}}} | ||
{"processes":{"5b6102d5-18f3-4ffd-91f1-b623da19f303":{"parent":null,"children":["8dff54a6-91a5-454e-8f9e-e534b4e9f0b4","d3a5516c-4b95-4a0b-8234-1afa6ab2fb8d","d737aa36-782b-4906-84a2-d96f5aa96108"]},"8dff54a6-91a5-454e-8f9e-e534b4e9f0b4":{"parent":"5b6102d5-18f3-4ffd-91f1-b623da19f303","externalId":"src/__tests__/events.test.ts","children":[]},"d3a5516c-4b95-4a0b-8234-1afa6ab2fb8d":{"parent":"5b6102d5-18f3-4ffd-91f1-b623da19f303","externalId":"src/__tests__/frame.test.ts","children":[]},"d737aa36-782b-4906-84a2-d96f5aa96108":{"parent":"5b6102d5-18f3-4ffd-91f1-b623da19f303","externalId":"src/__tests__/index.test.ts","children":[]}},"files":{"/home/runner/work/truework.js/truework.js/packages/credentials/src/index.ts":["8dff54a6-91a5-454e-8f9e-e534b4e9f0b4","d737aa36-782b-4906-84a2-d96f5aa96108"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/events.ts":["8dff54a6-91a5-454e-8f9e-e534b4e9f0b4","d737aa36-782b-4906-84a2-d96f5aa96108"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/frame.ts":["8dff54a6-91a5-454e-8f9e-e534b4e9f0b4","d3a5516c-4b95-4a0b-8234-1afa6ab2fb8d","d737aa36-782b-4906-84a2-d96f5aa96108"],"/home/runner/work/truework.js/truework.js/packages/credentials/src/utils.ts":["8dff54a6-91a5-454e-8f9e-e534b4e9f0b4","d737aa36-782b-4906-84a2-d96f5aa96108"]},"externalIds":{"src/__tests__/events.test.ts":{"root":"8dff54a6-91a5-454e-8f9e-e534b4e9f0b4","children":[]},"src/__tests__/frame.test.ts":{"root":"d3a5516c-4b95-4a0b-8234-1afa6ab2fb8d","children":[]},"src/__tests__/index.test.ts":{"root":"d737aa36-782b-4906-84a2-d96f5aa96108","children":[]}}} |
module.exports = { | ||
presets: [ | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
useBuiltIns: 'usage', | ||
corejs: '3.16.2', | ||
targets: { | ||
ie: '11', | ||
}, | ||
}, | ||
], | ||
'@babel/preset-typescript', | ||
], | ||
presets: ['@babel/preset-env', '@babel/preset-typescript'], | ||
} |
@@ -1,1 +0,1 @@ | ||
!function(t,n){for(var e in n)t[e]=n[e]}(exports,function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=141)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(90))},function(t,n,e){var r=e(0),o=e(40),i=e(7),c=e(31),u=e(39),a=e(57),f=o("wks"),s=r.Symbol,l=a?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)&&(u||"string"==typeof f[t])||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(2);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,e){var r=e(0),o=e(25).f,i=e(10),c=e(11),u=e(42),a=e(59),f=e(45);t.exports=function(t,n){var e,s,l,p,v,h=t.target,d=t.global,y=t.stat;if(e=d?r:y?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(d?s:h+(y?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,s,p,t)}}},function(t,n,e){var r=e(8),o=e(58),i=e(4),c=e(27),u=Object.defineProperty;n.f=r?u:function(t,n,e){if(i(t),n=c(n),i(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(13),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,n){return o.call(r(t),n)}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?o(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(8),o=e(6),i=e(17);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(0),o=e(10),i=e(7),c=e(42),u=e(43),a=e(14),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,n,e,u){var a,f=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof e&&("string"!=typeof n||i(e,"name")||o(e,"name",n),(a=s(e)).source||(a.source=l.join("string"==typeof n?n:""))),t!==r?(f?!v&&t[n]&&(p=!0):delete t[n],p?t[n]=e:o(t,n,e)):p?t[n]=e:c(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u(this)}))},function(t,n,e){var r=e(56),o=e(26);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(26);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r,o,i,c=e(93),u=e(0),a=e(2),f=e(10),s=e(7),l=e(41),p=e(33),v=e(20),h=u.WeakMap;if(c||l.state){var d=l.state||(l.state=new h),y=d.get,g=d.has,m=d.set;r=function(t,n){if(g.call(d,t))throw new TypeError("Object already initialized");return n.facade=t,m.call(d,t,n),n},o=function(t){return y.call(d,t)||{}},i=function(t){return g.call(d,t)}}else{var b=p("state");v[b]=!0,r=function(t,n){if(s(t,b))throw new TypeError("Object already initialized");return n.facade=t,f(t,b,n),n},o=function(t){return s(t,b)?t[b]:{}},i=function(t){return s(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!a(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n,e){var r,o=e(4),i=e(99),c=e(44),u=e(20),a=e(67),f=e(32),s=e(33),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},h=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},d=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,n;d="undefined"!=typeof document?document.domain&&r?h(r):((n=f("iframe")).style.display="none",a.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):h(r);for(var e=c.length;e--;)delete d.prototype[c[e]];return d()};u[l]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[l]=t):e=d(),void 0===n?e:i(e,n)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=!1},function(t,n){t.exports={}},function(t,n,e){var r=e(35),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(28);t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,n){t.exports={}},function(t,n,e){var r=e(6).f,o=e(7),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(8),o=e(38),i=e(17),c=e(12),u=e(27),a=e(7),f=e(58),s=Object.getOwnPropertyDescriptor;n.f=r?s:function(t,n){if(t=c(t),n=u(n),f)try{return s(t,n)}catch(t){}if(a(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(91),o=e(28);t.exports=function(t){var n=r(t,"string");return o(n)?n:String(n)}},function(t,n,e){var r=e(9),o=e(57);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var n=r("Symbol");return"function"==typeof n&&Object(t)instanceof n}},function(t,n,e){var r,o,i=e(0),c=e(30),u=i.process,a=i.Deno,f=u&&u.versions||a&&a.version,s=f&&f.v8;s?o=(r=s.split("."))[0]<4?1:r[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,n,e){var r=e(9);t.exports=r("navigator","userAgent")||""},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},function(t,n,e){var r=e(0),o=e(2),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,n,e){var r=e(40),o=e(31),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n,e){var r=e(60),o=e(44).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(15);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t){t.exports=JSON.parse('{"name":"@truework/credentials","version":"0.6.0","description":"The embeddable Truework Credentials experience.","author":"truework-team","main":"build/index.js","types":"build/src/index.d.ts","scripts":{"build":"webpack --mode production && pnpm typegen","watch":"webpack -w --mode development","typegen":"pnpx tsc --emitDeclarationOnly","typecheck":"pnpx tsc --noEmit","test":"TJS_FRAME_ORIGIN=http://localhost:4002 tap --ts --no-check-coverage --test-regex .*test\\\\.tsx?"},"devDependencies":{"@babel/core":"^7.15.0","@babel/preset-env":"^7.15.0","@babel/preset-typescript":"^7.15.0","@tsconfig/create-react-app":"^1.0.2","@types/jsdom":"^16.2.13","@types/proxyquire":"^1.3.28","@types/tap":"^15.0.5","babel-loader":"^8.2.2","core-js":"^3.16.2","jsdom":"^17.0.0","proxyquire":"^2.1.3","regenerator-runtime":"^0.13.9","tap":"^15.0.9","ts-node":"^10.2.1","typescript":"^4.3.5","webpack":"^4.46.0","webpack-cli":"^4.8.0"}}')},function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(29),o=e(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,n,e){var r=e(19),o=e(41);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.17.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(0),o=e(42),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,e){var r=e(0);t.exports=function(t,n){try{Object.defineProperty(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}},function(t,n,e){var r=e(41),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,e){var r=e(3),o=/#|\.prototype\./,i=function(t,n){var e=u[c(t)];return e==f||e!=a&&("function"==typeof n?r(n):!!n)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,n,e){var r=e(7),o=e(13),i=e(33),c=e(64),u=i("IE_PROTO"),a=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,e){var r={};r[e(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,n,e){var r=e(60),o=e(44);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){"use strict";var r=e(5),o=e(101),i=e(46),c=e(50),u=e(24),a=e(10),f=e(11),s=e(1),l=e(19),p=e(23),v=e(70),h=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,y=s("iterator"),g=function(){return this};t.exports=function(t,n,e,s,v,m,b){o(e,n,s);var x,w,S,O=function(t){if(t===v&&k)return k;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},j=n+" Iterator",E=!1,T=t.prototype,P=T[y]||T["@@iterator"]||v&&T[v],k=!d&&P||O(v),L="Array"==n&&T.entries||P;if(L&&(x=i(L.call(new t)))!==Object.prototype&&x.next&&(l||i(x)===h||(c?c(x,h):"function"!=typeof x[y]&&a(x,y,g)),u(x,j,!0,!0),l&&(p[j]=g)),"values"==v&&P&&"values"!==P.name&&(E=!0,k=function(){return P.call(this)}),l&&!b||T[y]===k||a(T,y,k),p[n]=k,v)if(w={values:O("values"),keys:m?k:O("keys"),entries:O("entries")},b)for(S in w)(d||E||!(S in T))&&f(T,S,w[S]);else r({target:n,proto:!0,forced:d||E},w);return w}},function(t,n,e){var r=e(4),o=e(102);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),n=e instanceof Array}catch(t){}return function(e,i){return r(e),o(i),n?t.call(e,i):e.__proto__=i,e}}():void 0)},function(t,n,e){var r=e(4),o=e(106),i=e(21),c=e(36),u=e(107),a=e(73),f=e(108),s=function(t,n){this.stopped=t,this.result=n};t.exports=function(t,n,e){var l,p,v,h,d,y,g,m=e&&e.that,b=!(!e||!e.AS_ENTRIES),x=!(!e||!e.IS_ITERATOR),w=!(!e||!e.INTERRUPTED),S=c(n,m,1+b+w),O=function(t){return l&&f(l,"normal",t),new s(!0,t)},j=function(t){return b?(r(t),w?S(t[0],t[1],O):S(t[0],t[1])):w?S(t,O):S(t)};if(x)l=t;else{if("function"!=typeof(p=a(t)))throw TypeError("Target is not iterable");if(o(p)){for(v=0,h=i(t.length);h>v;v++)if((d=j(t[v]))&&d instanceof s)return d;return new s(!1)}l=u(t,p)}for(y=l.next;!(g=y.call(l)).done;){try{d=j(g.value)}catch(t){f(l,"throw",t)}if("object"==typeof d&&d&&d instanceof s)return d}return new s(!1)}},function(t,n){t.exports=function(t,n,e){if(!(t instanceof n))throw TypeError("Incorrect "+(e?e+" ":"")+"invocation");return t}},function(t,n,e){var r=e(18),o=e(0);t.exports="process"==r(o.process)},function(t,n,e){var r=e(18);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(125);t.exports=function(t,n){return new(r(t))(0===n?0:n)}},function(t,n,e){var r=e(3),o=e(18),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,e){var r=e(39);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r=e(8),o=e(3),i=e(32);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(7),o=e(94),i=e(25),c=e(6);t.exports=function(t,n){for(var e=o(n),u=c.f,a=i.f,f=0;f<e.length;f++){var s=e[f];r(t,s)||u(t,s,a(n,s))}}},function(t,n,e){var r=e(7),o=e(12),i=e(61).indexOf,c=e(20);t.exports=function(t,n){var e,u=o(t),a=0,f=[];for(e in u)!r(c,e)&&r(u,e)&&f.push(e);for(;n.length>a;)r(u,e=n[a++])&&(~i(f,e)||f.push(e));return f}},function(t,n,e){var r=e(12),o=e(21),i=e(62),c=function(t){return function(n,e,c){var u,a=r(n),f=o(a.length),s=i(c,f);if(t&&e!=e){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,n,e){var r=e(35),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(3);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,e){var r=e(47),o=e(11),i=e(95);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,e){var r=e(47),o=e(18),i=e(1)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?e:c?o(n):"Object"==(r=o(n))&&"function"==typeof n.callee?"Arguments":r}},function(t,n,e){var r=e(9);t.exports=r("document","documentElement")},function(t,n,e){"use strict";var r=e(12),o=e(69),i=e(23),c=e(14),u=e(49),a=c.set,f=c.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,n){a(this,{type:"Array Iterator",target:r(t),index:0,kind:n})}),(function(){var t=f(this),n=t.target,e=t.kind,r=t.index++;return!n||r>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:r,done:!1}:"values"==e?{value:n[r],done:!1}:{value:[r,n[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,e){var r=e(1),o=e(16),i=e(6),c=r("unscopables"),u=Array.prototype;null==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},function(t,n,e){"use strict";var r,o,i,c=e(3),u=e(16),a=e(46),f=e(10),s=e(1),l=e(19),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):v=!0),null==r||c((function(){var t={};return r[p].call(t)!==t}))?r={}:l&&(r=u(r)),"function"!=typeof r[p]&&f(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},function(t,n,e){var r=e(5),o=e(20),i=e(2),c=e(7),u=e(6).f,a=e(34),f=e(72),s=e(31),l=e(105),p=!1,v=s("meta"),h=0,d=Object.isExtensible||function(){return!0},y=function(t){u(t,v,{value:{objectID:"O"+h++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},p=!0;var t=a.f,n=[].splice,e={};e[v]=1,t(e).length&&(a.f=function(e){for(var r=t(e),o=0,i=r.length;o<i;o++)if(r[o]===v){n.call(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!c(t,v)){if(!d(t))return"F";if(!n)return"E";y(t)}return t[v].objectID},getWeakData:function(t,n){if(!c(t,v)){if(!d(t))return!0;if(!n)return!1;y(t)}return t[v].weakData},onFreeze:function(t){return l&&p&&d(t)&&!c(t,v)&&y(t),t}};o[v]=!0},function(t,n,e){var r=e(12),o=e(34).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(r(t))}},function(t,n,e){var r=e(66),o=e(23),i=e(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){var r=e(1)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i={};i[r]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},function(t,n,e){var r=e(11);t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},function(t,n,e){"use strict";var r=e(9),o=e(6),i=e(1),c=e(8),u=i("species");t.exports=function(t){var n=r(t),e=o.f;c&&n&&!n[u]&&e(n,u,{configurable:!0,get:function(){return this}})}},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,e){var r=e(32)("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,n,e){"use strict";var r,o,i,c,u=e(5),a=e(19),f=e(0),s=e(9),l=e(114),p=e(11),v=e(75),h=e(50),d=e(24),y=e(76),g=e(2),m=e(15),b=e(52),x=e(43),w=e(51),S=e(74),O=e(115),j=e(80).set,E=e(116),T=e(119),P=e(120),k=e(82),L=e(121),_=e(14),A=e(45),C=e(1),M=e(122),R=e(53),I=e(29),F=C("species"),N="Promise",D=_.get,G=_.set,z=_.getterFor(N),V=l&&l.prototype,B=l,W=V,K=f.TypeError,q=f.document,H=f.process,U=k.f,Y=U,J=!!(q&&q.createEvent&&f.dispatchEvent),$="function"==typeof PromiseRejectionEvent,Q=!1,X=A(N,(function(){var t=x(B),n=t!==String(B);if(!n&&66===I)return!0;if(a&&!W.finally)return!0;if(I>=51&&/native code/.test(t))return!1;var e=new B((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(e.constructor={})[F]=r,!(Q=e.then((function(){}))instanceof r)||!n&&M&&!$})),Z=X||!S((function(t){B.all(t).catch((function(){}))})),tt=function(t){var n;return!(!g(t)||"function"!=typeof(n=t.then))&&n},nt=function(t,n){if(!t.notified){t.notified=!0;var e=t.reactions;E((function(){for(var r=t.value,o=1==t.state,i=0;e.length>i;){var c,u,a,f=e[i++],s=o?f.ok:f.fail,l=f.resolve,p=f.reject,v=f.domain;try{s?(o||(2===t.rejection&&it(t),t.rejection=1),!0===s?c=r:(v&&v.enter(),c=s(r),v&&(v.exit(),a=!0)),c===f.promise?p(K("Promise-chain cycle")):(u=tt(c))?u.call(c,l,p):l(c)):p(r)}catch(t){v&&!a&&v.exit(),p(t)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&rt(t)}))}},et=function(t,n,e){var r,o;J?((r=q.createEvent("Event")).promise=n,r.reason=e,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:n,reason:e},!$&&(o=f["on"+t])?o(r):"unhandledrejection"===t&&P("Unhandled promise rejection",e)},rt=function(t){j.call(f,(function(){var n,e=t.facade,r=t.value;if(ot(t)&&(n=L((function(){R?H.emit("unhandledRejection",r,e):et("unhandledrejection",e,r)})),t.rejection=R||ot(t)?2:1,n.error))throw n.value}))},ot=function(t){return 1!==t.rejection&&!t.parent},it=function(t){j.call(f,(function(){var n=t.facade;R?H.emit("rejectionHandled",n):et("rejectionhandled",n,t.value)}))},ct=function(t,n,e){return function(r){t(n,r,e)}},ut=function(t,n,e){t.done||(t.done=!0,e&&(t=e),t.value=n,t.state=2,nt(t,!0))},at=function(t,n,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===n)throw K("Promise can't be resolved itself");var r=tt(n);r?E((function(){var e={done:!1};try{r.call(n,ct(at,e,t),ct(ut,e,t))}catch(n){ut(e,n,t)}})):(t.value=n,t.state=1,nt(t,!1))}catch(n){ut({done:!1},n,t)}}};if(X&&(W=(B=function(t){b(this,B,N),m(t),r.call(this);var n=D(this);try{t(ct(at,n),ct(ut,n))}catch(t){ut(n,t)}}).prototype,(r=function(t){G(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=v(W,{then:function(t,n){var e=z(this),r=U(O(this,B));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=R?H.domain:void 0,e.parent=!0,e.reactions.push(r),0!=e.state&&nt(e,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,n=D(t);this.promise=t,this.resolve=ct(at,n),this.reject=ct(ut,n)},k.f=U=function(t){return t===B||t===i?new o(t):Y(t)},!a&&"function"==typeof l&&V!==Object.prototype)){c=V.then,Q||(p(V,"then",(function(t,n){var e=this;return new B((function(t,n){c.call(e,t,n)})).then(t,n)}),{unsafe:!0}),p(V,"catch",W.catch,{unsafe:!0}));try{delete V.constructor}catch(t){}h&&h(V,W)}u({global:!0,wrap:!0,forced:X},{Promise:B}),d(B,N,!1,!0),y(N),i=s(N),u({target:N,stat:!0,forced:X},{reject:function(t){var n=U(this);return n.reject.call(void 0,t),n.promise}}),u({target:N,stat:!0,forced:a||X},{resolve:function(t){return T(a&&this===i?B:this,t)}}),u({target:N,stat:!0,forced:Z},{all:function(t){var n=this,e=U(n),r=e.resolve,o=e.reject,i=L((function(){var e=m(n.resolve),i=[],c=0,u=1;w(t,(function(t){var a=c++,f=!1;i.push(void 0),u++,e.call(n,t).then((function(t){f||(f=!0,i[a]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),e.promise},race:function(t){var n=this,e=U(n),r=e.reject,o=L((function(){var o=m(n.resolve);w(t,(function(t){o.call(n,t).then(e.resolve,r)}))}));return o.error&&r(o.value),e.promise}})},function(t,n,e){var r,o,i,c,u=e(0),a=e(3),f=e(36),s=e(67),l=e(32),p=e(81),v=e(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 n=x[t];delete x[t],n()}},S=function(t){return function(){w(t)}},O=function(t){w(t.data)},j=function(t){u.postMessage(String(t),r.protocol+"//"+r.host)};h&&d||(h=function(t){for(var n=[],e=arguments.length,r=1;e>r;)n.push(arguments[r++]);return x[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,n)},o(b),b},d=function(t){delete x[t]},v?o=function(t){y.nextTick(S(t))}:m&&m.now?o=function(t){m.now(S(t))}:g&&!p?(c=(i=new g).port2,i.port1.onmessage=O,o=f(c.postMessage,c,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts&&r&&"file:"!==r.protocol&&!a(j)?(o=j,u.addEventListener("message",O,!1)):o="onreadystatechange"in l("script")?function(t){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),w(t)}}:function(t){setTimeout(S(t),0)}),t.exports={set:h,clear:d}},function(t,n,e){var r=e(30);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,n,e){"use strict";var r=e(15),o=function(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)};t.exports.f=function(t){return new o(t)}},function(t,n,e){var r=e(1);n.f=r},function(t,n,e){var r=e(124),o=e(7),i=e(83),c=e(6).f;t.exports=function(t){var n=r.Symbol||(r.Symbol={});o(n,t)||c(n,t,{value:i.f(t)})}},function(t,n,e){var r=e(36),o=e(56),i=e(13),c=e(21),u=e(55),a=[].push,f=function(t){var n=1==t,e=2==t,f=3==t,s=4==t,l=6==t,p=7==t,v=5==t||l;return function(h,d,y,g){for(var m,b,x=i(h),w=o(x),S=r(d,y,3),O=c(w.length),j=0,E=g||u,T=n?E(h,O):e||p?E(h,0):void 0;O>j;j++)if((v||j in w)&&(b=S(m=w[j],j,x),t))if(n)T[j]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return j;case 2:a.call(T,m)}else switch(t){case 4:return!1;case 7:a.call(T,m)}return l?-1:f||s?s:T}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},function(t,n,e){"use strict";var r=e(5),o=e(3),i=e(54),c=e(2),u=e(13),a=e(21),f=e(87),s=e(55),l=e(88),p=e(1),v=e(29),h=p("isConcatSpreadable"),d=v>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),y=l("concat"),g=function(t){if(!c(t))return!1;var n=t[h];return void 0!==n?!!n:i(t)};r({target:"Array",proto:!0,forced:!d||!y},{concat:function(t){var n,e,r,o,i,c=u(this),l=s(c,0),p=0;for(n=-1,r=arguments.length;n<r;n++)if(g(i=-1===n?c:arguments[n])){if(p+(o=a(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(e=0;e<o;e++,p++)e in i&&f(l,p,i[e])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");f(l,p++,i)}return l.length=p,l}})},function(t,n,e){"use strict";var r=e(27),o=e(6),i=e(17);t.exports=function(t,n,e){var c=r(n);c in t?o.f(t,c,i(0,e)):t[c]=e}},function(t,n,e){var r=e(3),o=e(1),i=e(29),c=o("species");t.exports=function(t){return i>=51||!r((function(){var n=[];return(n.constructor={})[c]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,e){var r=e(5),o=e(3),i=e(13),c=e(46),u=e(64);r({target:"Object",stat:!0,forced:o((function(){c(1)})),sham:!u},{getPrototypeOf:function(t){return c(i(t))}})},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(2),o=e(28),i=e(92),c=e(1)("toPrimitive");t.exports=function(t,n){if(!r(t)||o(t))return t;var e,u=t[c];if(void 0!==u){if(void 0===n&&(n="default"),e=u.call(t,n),!r(e)||o(e))return e;throw TypeError("Can't convert object to primitive value")}return void 0===n&&(n="number"),i(t,n)}},function(t,n,e){var r=e(2);t.exports=function(t,n){var e,o;if("string"===n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if("string"!==n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(0),o=e(43),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,n,e){var r=e(9),o=e(34),i=e(63),c=e(4);t.exports=r("Reflect","ownKeys")||function(t){var n=o.f(c(t)),e=i.f;return e?n.concat(e(t)):n}},function(t,n,e){"use strict";var r=e(47),o=e(66);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,e){"use strict";var r=e(11),o=e(4),i=e(22),c=e(3),u=e(97),a=RegExp.prototype,f=a.toString,s=c((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),l="toString"!=f.name;(s||l)&&r(RegExp.prototype,"toString",(function(){var t=o(this),n=i(t.source),e=t.flags;return"/"+n+"/"+i(void 0===e&&t instanceof RegExp&&!("flags"in a)?u.call(t):e)}),{unsafe:!0})},function(t,n,e){"use strict";var r=e(4);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){var r=e(5),o=e(9),i=e(15),c=e(4),u=e(2),a=e(16),f=e(100),s=e(3),l=o("Reflect","construct"),p=s((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),v=!s((function(){l((function(){}))})),h=p||v;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(t,n){i(t),c(n);var e=arguments.length<3?t:i(arguments[2]);if(v&&!p)return l(t,n,e);if(t==e){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var r=[null];return r.push.apply(r,n),new(f.apply(t,r))}var o=e.prototype,s=a(u(o)?o:Object.prototype),h=Function.apply.call(t,s,n);return u(h)?h:s}})},function(t,n,e){var r=e(8),o=e(6),i=e(4),c=e(48);t.exports=r?Object.defineProperties:function(t,n){i(t);for(var e,r=c(n),u=r.length,a=0;u>a;)o.f(t,e=r[a++],n[e]);return t}},function(t,n,e){"use strict";var r=e(15),o=e(2),i=[].slice,c={},u=function(t,n,e){if(!(n in c)){for(var r=[],o=0;o<n;o++)r[o]="a["+o+"]";c[n]=Function("C,a","return new C("+r.join(",")+")")}return c[n](t,e)};t.exports=Function.bind||function(t){var n=r(this),e=i.call(arguments,1),c=function(){var r=e.concat(i.call(arguments));return this instanceof c?u(n,r.length,r):n.apply(t,r)};return o(n.prototype)&&(c.prototype=n.prototype),c}},function(t,n,e){"use strict";var r=e(70).IteratorPrototype,o=e(16),i=e(17),c=e(24),u=e(23),a=function(){return this};t.exports=function(t,n,e){var f=n+" Iterator";return t.prototype=o(r,{next:i(1,e)}),c(t,f,!1,!0),u[f]=a,t}},function(t,n,e){var r=e(2);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,n,e){"use strict";var r=e(104),o=e(110);t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,n,e){"use strict";var r=e(5),o=e(0),i=e(45),c=e(11),u=e(71),a=e(51),f=e(52),s=e(2),l=e(3),p=e(74),v=e(24),h=e(109);t.exports=function(t,n,e){var d=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),g=d?"set":"add",m=o[t],b=m&&m.prototype,x=m,w={},S=function(t){var n=b[t];c(b,t,"add"==t?function(t){return n.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!s(t)?void 0:n.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!s(t))&&n.call(this,0===t?0:t)}:function(t,e){return n.call(this,0===t?0:t,e),this})};if(i(t,"function"!=typeof m||!(y||b.forEach&&!l((function(){(new m).entries().next()})))))x=e.getConstructor(n,t,d,g),u.enable();else if(i(t,!0)){var O=new x,j=O[g](y?{}:-0,1)!=O,E=l((function(){O.has(1)})),T=p((function(t){new m(t)})),P=!y&&l((function(){for(var t=new m,n=5;n--;)t[g](n,n);return!t.has(-0)}));T||((x=n((function(n,e){f(n,x,t);var r=h(new m,n,x);return null!=e&&a(e,r[g],{that:r,AS_ENTRIES:d}),r}))).prototype=b,b.constructor=x),(E||P)&&(S("delete"),S("has"),d&&S("get")),(P||j)&&S(g),y&&b.clear&&delete b.clear}return w[t]=x,r({global:!0,forced:x!=m},w),v(x,t),y||e.setStrong(x,t,d),x}},function(t,n,e){var r=e(3);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,n,e){var r=e(1),o=e(23),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,n,e){var r=e(4),o=e(73);t.exports=function(t,n){var e=arguments.length<2?o(t):n;if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},function(t,n,e){var r=e(4);t.exports=function(t,n,e){var o,i;r(t);try{if(void 0===(o=t.return)){if("throw"===n)throw e;return e}o=o.call(t)}catch(t){i=!0,o=t}if("throw"===n)throw e;if(i)throw o;return r(o),e}},function(t,n,e){var r=e(2),o=e(50);t.exports=function(t,n,e){var i,c;return o&&"function"==typeof(i=n.constructor)&&i!==e&&r(c=i.prototype)&&c!==e.prototype&&o(t,c),t}},function(t,n,e){"use strict";var r=e(6).f,o=e(16),i=e(75),c=e(36),u=e(52),a=e(51),f=e(49),s=e(76),l=e(8),p=e(71).fastKey,v=e(14),h=v.set,d=v.getterFor;t.exports={getConstructor:function(t,n,e,f){var s=t((function(t,r){u(t,s,n),h(t,{type:n,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&a(r,t[f],{that:t,AS_ENTRIES:e})})),v=d(n),y=function(t,n,e){var r,o,i=v(t),c=g(t,n);return c?c.value=e:(i.last=c={index:o=p(n,!0),key:n,value:e,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=c),r&&(r.next=c),l?i.size++:t.size++,"F"!==o&&(i.index[o]=c)),t},g=function(t,n){var e,r=v(t),o=p(n);if("F"!==o)return r.index[o];for(e=r.first;e;e=e.next)if(e.key==n)return e};return i(s.prototype,{clear:function(){for(var t=v(this),n=t.index,e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),delete n[e.index],e=e.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var n=v(this),e=g(this,t);if(e){var r=e.next,o=e.previous;delete n.index[e.index],e.removed=!0,o&&(o.next=r),r&&(r.previous=o),n.first==e&&(n.first=r),n.last==e&&(n.last=o),l?n.size--:this.size--}return!!e},forEach:function(t){for(var n,e=v(this),r=c(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.next:e.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(t){return!!g(this,t)}}),i(s.prototype,e?{get:function(t){var n=g(this,t);return n&&n.value},set:function(t,n){return y(this,0===t?0:t,n)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),l&&r(s.prototype,"size",{get:function(){return v(this).size}}),s},setStrong:function(t,n,e){var r=n+" Iterator",o=d(n),i=d(r);f(t,n,(function(t,n){h(this,{type:r,target:t,state:o(t),kind:n,last:void 0})}),(function(){for(var t=i(this),n=t.kind,e=t.last;e&&e.removed;)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?"keys"==n?{value:e.key,done:!1}:"values"==n?{value:e.value,done:!1}:{value:[e.key,e.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),e?"entries":"values",!e,!0),s(n)}}},function(t,n,e){"use strict";var r=e(112).charAt,o=e(22),i=e(14),c=e(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,n=a(this),e=n.string,o=n.index;return o>=e.length?{value:void 0,done:!0}:(t=r(e,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,e){var r=e(35),o=e(22),i=e(26),c=function(t){return function(n,e){var c,u,a=o(i(n)),f=r(e),s=a.length;return f<0||f>=s?t?"":void 0:(c=a.charCodeAt(f))<55296||c>56319||f+1===s||(u=a.charCodeAt(f+1))<56320||u>57343?t?a.charAt(f):c:t?a.slice(f,f+2):u-56320+(c-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},function(t,n,e){var r=e(0),o=e(77),i=e(78),c=e(68),u=e(10),a=e(1),f=a("iterator"),s=a("toStringTag"),l=c.values,p=function(t,n){if(t){if(t[f]!==l)try{u(t,f,l)}catch(n){t[f]=l}if(t[s]||u(t,s,n),o[n])for(var e in c)if(t[e]!==c[e])try{u(t,e,c[e])}catch(n){t[e]=c[e]}}};for(var v in o)p(r[v]&&r[v].prototype,v);p(i,"DOMTokenList")},function(t,n,e){var r=e(0);t.exports=r.Promise},function(t,n,e){var r=e(4),o=e(15),i=e(1)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||null==(e=r(c)[i])?n:o(e)}},function(t,n,e){var r,o,i,c,u,a,f,s,l=e(0),p=e(25).f,v=e(80).set,h=e(81),d=e(117),y=e(118),g=e(53),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,x=l.process,w=l.Promise,S=p(l,"queueMicrotask"),O=S&&S.value;O||(r=function(){var t,n;for(g&&(t=x.domain)&&t.exit();o;){n=o.fn,o=o.next;try{n()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},h||g||y||!m||!b?!d&&w&&w.resolve?((f=w.resolve(void 0)).constructor=w,s=f.then,c=function(){s.call(f,r)}):c=g?function(){x.nextTick(r)}:function(){v.call(l,r)}:(u=!0,a=b.createTextNode(""),new m(r).observe(a,{characterData:!0}),c=function(){a.data=u=!u})),t.exports=O||function(t){var n={fn:t,next:void 0};i&&(i.next=n),o||(o=n,c()),i=n}},function(t,n,e){var r=e(30),o=e(0);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(t,n,e){var r=e(30);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,n,e){var r=e(4),o=e(2),i=e(82);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){var r=e(0);t.exports=function(t,n){var e=r.console;e&&e.error&&(1===arguments.length?e.error(t):e.error(t,n))}},function(t,n){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,n){t.exports="object"==typeof window},function(t,n,e){"use strict";var r=e(5),o=e(0),i=e(9),c=e(19),u=e(8),a=e(39),f=e(3),s=e(7),l=e(54),p=e(2),v=e(28),h=e(4),d=e(13),y=e(12),g=e(27),m=e(22),b=e(17),x=e(16),w=e(48),S=e(34),O=e(72),j=e(63),E=e(25),T=e(6),P=e(38),k=e(10),L=e(11),_=e(40),A=e(33),C=e(20),M=e(31),R=e(1),I=e(83),F=e(84),N=e(24),D=e(14),G=e(85).forEach,z=A("hidden"),V=R("toPrimitive"),B=D.set,W=D.getterFor("Symbol"),K=Object.prototype,q=o.Symbol,H=i("JSON","stringify"),U=E.f,Y=T.f,J=O.f,$=P.f,Q=_("symbols"),X=_("op-symbols"),Z=_("string-to-symbol-registry"),tt=_("symbol-to-string-registry"),nt=_("wks"),et=o.QObject,rt=!et||!et.prototype||!et.prototype.findChild,ot=u&&f((function(){return 7!=x(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,n,e){var r=U(K,n);r&&delete K[n],Y(t,n,e),r&&t!==K&&Y(K,n,r)}:Y,it=function(t,n){var e=Q[t]=x(q.prototype);return B(e,{type:"Symbol",tag:t,description:n}),u||(e.description=n),e},ct=function(t,n,e){t===K&&ct(X,n,e),h(t);var r=g(n);return h(e),s(Q,r)?(e.enumerable?(s(t,z)&&t[z][r]&&(t[z][r]=!1),e=x(e,{enumerable:b(0,!1)})):(s(t,z)||Y(t,z,b(1,{})),t[z][r]=!0),ot(t,r,e)):Y(t,r,e)},ut=function(t,n){h(t);var e=y(n),r=w(e).concat(lt(e));return G(r,(function(n){u&&!at.call(e,n)||ct(t,n,e[n])})),t},at=function(t){var n=g(t),e=$.call(this,n);return!(this===K&&s(Q,n)&&!s(X,n))&&(!(e||!s(this,n)||!s(Q,n)||s(this,z)&&this[z][n])||e)},ft=function(t,n){var e=y(t),r=g(n);if(e!==K||!s(Q,r)||s(X,r)){var o=U(e,r);return!o||!s(Q,r)||s(e,z)&&e[z][r]||(o.enumerable=!0),o}},st=function(t){var n=J(y(t)),e=[];return G(n,(function(t){s(Q,t)||s(C,t)||e.push(t)})),e},lt=function(t){var n=t===K,e=J(n?X:y(t)),r=[];return G(e,(function(t){!s(Q,t)||n&&!s(K,t)||r.push(Q[t])})),r};(a||(L((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,n=M(t),e=function(t){this===K&&e.call(X,t),s(this,z)&&s(this[z],n)&&(this[z][n]=!1),ot(this,n,b(1,t))};return u&&rt&&ot(K,n,{configurable:!0,set:e}),it(n,t)}).prototype,"toString",(function(){return W(this).tag})),L(q,"withoutSetter",(function(t){return it(M(t),t)})),P.f=at,T.f=ct,E.f=ft,S.f=O.f=st,j.f=lt,I.f=function(t){return it(R(t),t)},u&&(Y(q.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),c||L(K,"propertyIsEnumerable",at,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:q}),G(w(nt),(function(t){F(t)})),r({target:"Symbol",stat:!0,forced:!a},{for:function(t){var n=m(t);if(s(Z,n))return Z[n];var e=q(n);return Z[n]=e,tt[e]=n,e},keyFor:function(t){if(!v(t))throw TypeError(t+" is not a symbol");if(s(tt,t))return tt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!a,sham:!u},{create:function(t,n){return void 0===n?x(t):ut(x(t),n)},defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:st,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:f((function(){j.f(1)}))},{getOwnPropertySymbols:function(t){return j.f(d(t))}}),H)&&r({target:"JSON",stat:!0,forced:!a||f((function(){var t=q();return"[null]"!=H([t])||"{}"!=H({a:t})||"{}"!=H(Object(t))}))},{stringify:function(t,n,e){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=n,(p(n)||void 0!==t)&&!v(t))return l(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!v(n))return n}),o[1]=n,H.apply(null,o)}});q.prototype[V]||k(q.prototype,V,q.prototype.valueOf),N(q,"Symbol"),C[z]=!0},function(t,n,e){var r=e(0);t.exports=r},function(t,n,e){var r=e(2),o=e(54),i=e(1)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),void 0===n?Array:n}},function(t,n,e){"use strict";var r=e(5),o=e(8),i=e(0),c=e(7),u=e(2),a=e(6).f,f=e(59),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[n]=!0),n};f(p,s);var v=p.prototype=s.prototype;v.constructor=p;var h=v.toString,d="Symbol(test)"==String(s("test")),y=/^Symbol\((.*)\)[^)]+$/;a(v,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,n=h.call(t);if(c(l,t))return"";var e=d?n.slice(7,-1):n.replace(y,"$1");return""===e?void 0:e}}),r({global:!0,forced:!0},{Symbol:p})}},function(t,n,e){e(84)("iterator")},function(t,n,e){var r=function(t){"use strict";var n=Object.prototype,e=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function u(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{u({},"")}catch(t){u=function(t,n,e){return t[n]=e}}function a(t,n,e,r){var o=n&&n.prototype instanceof l?n:l,i=Object.create(o.prototype),c=new O(r||[]);return i._invoke=function(t,n,e){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return E()}for(e.method=o,e.arg=i;;){var c=e.delegate;if(c){var u=x(c,e);if(u){if(u===s)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===r)throw r="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r="executing";var a=f(t,n,e);if("normal"===a.type){if(r=e.done?"completed":"suspendedYield",a.arg===s)continue;return{value:a.arg,done:e.done}}"throw"===a.type&&(r="completed",e.method="throw",e.arg=a.arg)}}}(t,e,c),i}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=a;var s={};function l(){}function p(){}function v(){}var h={};u(h,o,(function(){return this}));var d=Object.getPrototypeOf,y=d&&d(d(j([])));y&&y!==n&&e.call(y,o)&&(h=y);var g=v.prototype=l.prototype=Object.create(h);function m(t){["next","throw","return"].forEach((function(n){u(t,n,(function(t){return this._invoke(n,t)}))}))}function b(t,n){var r;this._invoke=function(o,i){function c(){return new n((function(r,c){!function r(o,i,c,u){var a=f(t[o],t,i);if("throw"!==a.type){var s=a.arg,l=s.value;return l&&"object"==typeof l&&e.call(l,"__await")?n.resolve(l.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):n.resolve(l).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,u)}))}u(a.arg)}(o,i,r,c)}))}return r=r?r.then(c,c):c()}}function x(t,n){var e=t.iterator[n.method];if(void 0===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,x(t,n),"throw"===n.method))return s;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=f(e,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,s;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,s):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,s)}function w(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function S(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function j(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(e.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=void 0,n.done=!0,n};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=v,u(g,"constructor",v),u(v,"constructor",p),p.displayName=u(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===p||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),u(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(n,e,r,o,i){void 0===i&&(i=Promise);var c=new b(a(n,e,r,o),i);return t.isGeneratorFunction(e)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},m(g),u(g,c,"Generator"),u(g,o,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=j,O.prototype={constructor:O,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(S),!t)for(var n in this)"t"===n.charAt(0)&&e.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(e,r){return c.type="throw",c.arg=t,n.next=e,r&&(n.method="next",n.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=e.call(i,"catchLoc"),a=e.call(i,"finallyLoc");if(u&&a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=n,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(c)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),s},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),S(e),s}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var o=r.arg;S(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:j(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=void 0),s}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,n,e){var r=e(8),o=e(6).f,i=Function.prototype,c=i.toString,u=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return c.call(this).match(u)[1]}catch(t){return""}}})},function(t,n,e){"use strict";var r=e(5),o=e(61).includes,i=e(69);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,n,e){"use strict";var r=e(5),o=e(132),i=e(26),c=e(22);r({target:"String",proto:!0,forced:!e(134)("includes")},{includes:function(t){return!!~c(i(this)).indexOf(c(o(t)),arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){var r=e(133);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,n,e){var r=e(2),o=e(18),i=e(1)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},function(t,n,e){var r=e(1)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,"/./"[t](n)}catch(t){}}return!1}},function(t,n,e){var r=e(5),o=e(136).values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},function(t,n,e){var r=e(8),o=e(48),i=e(12),c=e(38).f,u=function(t){return function(n){for(var e,u=i(n),a=o(u),f=a.length,s=0,l=[];f>s;)e=a[s++],r&&!c.call(u,e)||l.push(t?[e,u[e]]:u[e]);return l}};t.exports={entries:u(!0),values:u(!1)}},function(t,n,e){var r=e(0),o=e(77),i=e(78),c=e(138),u=e(10),a=function(t){if(t&&t.forEach!==c)try{u(t,"forEach",c)}catch(n){t.forEach=c}};for(var f in o)a(r[f]&&r[f].prototype);a(i)},function(t,n,e){"use strict";var r=e(85).forEach,o=e(139)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n,e){"use strict";var r=e(3);t.exports=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){throw 1},1)}))}},function(t,n,e){"use strict";var r=e(5),o=e(62),i=e(35),c=e(21),u=e(13),a=e(55),f=e(87),s=e(88)("splice"),l=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!s},{splice:function(t,n){var e,r,s,v,h,d,y=u(this),g=c(y.length),m=o(t,g),b=arguments.length;if(0===b?e=r=0:1===b?(e=0,r=g-m):(e=b-2,r=p(l(i(n),0),g-m)),g+e-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(s=a(y,r),v=0;v<r;v++)(h=m+v)in y&&f(s,v,y[h]);if(s.length=r,e<r){for(v=m;v<g-r;v++)d=v+e,(h=v+r)in y?y[d]=y[h]:delete y[d];for(v=g;v>g-r+e;v--)delete y[v-1]}else if(e>r)for(v=g-r;v>m;v--)d=v+e-1,(h=v+r-1)in y?y[d]=y[h]:delete y[d];for(v=0;v<e;v++)y[v+m]=arguments[v+2];return y.length=g-r+e,s}})},function(t,n,e){"use strict";e.r(n),e.d(n,"EventType",(function(){return r})),e.d(n,"createEmitter",(function(){return s})),e.d(n,"createEvents",(function(){return l})),e.d(n,"Env",(function(){return i})),e.d(n,"FrameOrigin",(function(){return c})),e.d(n,"MessageTypes",(function(){return u})),e.d(n,"ErrorCode",(function(){return a})),e.d(n,"version",(function(){return P})),e.d(n,"origins",(function(){return k})),e.d(n,"ConfigurationError",(function(){return L})),e.d(n,"init",(function(){return _}));e(89),e(65),e(96),e(98),e(68),e(103),e(111),e(113),e(79),e(123),e(126),e(127),e(128),e(129),e(130),e(131),e(135),e(86);var r,o,i,c,u,a,f=e(37);e(137),e(140);function s(){var t={};return{clear:function(){t={}},emit:function(n,e){t[n]&&t[n].forEach((function(t){return t(e)})),t["*"]&&t["*"].forEach((function(t){return t(e)}))},on:function(n,e){return t[n]=t[n]?t[n].concat(e):[e],function(){t[n].splice(t[n].indexOf(e),1)}}}}function l(){var t=s();return{emitOpen:function(){t.emit(r.Open)},emitClose:function(){t.emit(r.Close)},emitSuccess:function(){t.emit(r.Success)},emitError:function(n){t.emit(r.Error,n)},onOpen:function(n){return t.on(r.Open,n)},onClose:function(n){return t.on(r.Close,n)},onSuccess:function(n){return t.on(r.Success,n)},onError:function(n){return t.on(r.Error,n)}}}function p(t){var n=t.src,e=document.createElement("iframe");return e.src=n,e.setAttribute("sandbox","allow-scripts allow-forms allow-same-origin"),e.style.position="fixed",e.style.top="0",e.style.bottom="0",e.style.left="0",e.style.right="0",e.style.zIndex="999999999",e.style.border="0",e.style.padding="0",e.style.margin="0",e.width="100%",e.height="100%",e}function v(t){return new Promise((function(n,e){t.onload=n,t.onerror=e,document.body.appendChild(t)}))}function h(t,n,e){var r;null===(r=t.contentWindow)||void 0===r||r.postMessage(e,n)}function d(t){document.body.removeChild(t)}function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,n,e,r,o,i,c){try{var u=t[i](c),a=u.value}catch(t){return void e(t)}u.done?n(a):Promise.resolve(a).then(r,o)}function m(t){return function(){var n=this,e=arguments;return new Promise((function(r,o){var i=t.apply(n,e);function c(t){g(i,r,o,c,u,"next",t)}function u(t){g(i,r,o,c,u,"throw",t)}c(void 0)}))}}function b(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function x(t,n){if(n&&("object"===y(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function w(t){var n="function"==typeof Map?new Map:void 0;return(w=function(t){if(null===t||(e=t,-1===Function.toString.call(e).indexOf("[native code]")))return t;var e;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return S(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 S(t,n,e){return(S=O()?Reflect.construct:function(t,n,e){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(t,r));return e&&j(o,e.prototype),o}).apply(null,arguments)}function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function j(t,n){return(j=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function T(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}!function(t){t.Open="open",t.Close="close",t.Success="success",t.Error="error"}(r||(r={})),function(t){t.Production="production",t.Sandbox="sandbox"}(i||(i={})),function(t){t.Production="https://js.truework.com/frames/credentials/v1/index.html",t.Sandbox="https://js.truework.com/frames/credentials/v1/index.html"}(c||(c={})),function(t){t.Bootstrap="bootstrap",t.Open="open",t.Close="close",t.Success="success",t.Error="error"}(u||(u={})),function(t){t[t.Critical=0]="Critical",t[t.Error=1]="Error"}(a||(a={}));var P="@truework/credentials@0.6.0@",k=(T(o={},i.Production,c.Production),T(o,i.Sandbox,c.Sandbox),o),L=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&j(t,n)}(o,t);var n,e,r=(n=o,e=O(),function(){var t,r=E(n);if(e){var o=E(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return x(this,t)});function o(){return b(this,o),r.apply(this,arguments)}return o}(w(Error));function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.publishableKey,e=t.sessionToken,r=t.env;if(!n)throw new L("".concat(f.name," — missing publishableKey"));if(!e)throw new L("".concat(f.name," — missing sessionToken"));if(r||(r=i.Production),!Object.values(i).includes(r))throw new L("".concat(f.name," — invalid environment ").concat(r));var o=k[r],c=p({src:o}),s=l();return s.onError((function(t){t.code===a.Critical&&d(c)})),window.addEventListener("message",(function(t){var n=t.data;switch(n.type){case u.Open:s.emitOpen();break;case u.Close:s.emitClose(),d(c);break;case u.Success:s.emitSuccess();break;case u.Error:s.emitError(n)}})),{open:function(){return m(regeneratorRuntime.mark((function t(){var i,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,v(c);case 3:h(c,o,{type:u.Bootstrap,publishableKey:n,sessionToken:e,env:r,packageVersion:P,bundleVersion:null===(i=window)||void 0===i||null===(f=i.Truework)||void 0===f?void 0:f.version}),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),s.emitError({code:a.Critical});case 9:case"end":return t.stop()}}),t,null,[[0,6]])})))()},close:function(){h(c,o,{type:u.Close})},onOpen:function(t){return s.onOpen(t)},onClose:function(t){return s.onClose(t)},onSuccess:function(t){return s.onSuccess(t)},onError:function(t){return s.onError(t)}}}}])); | ||
!function(e,n){for(var t in n)e[t]=n[t]}(exports,function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1)}([function(e){e.exports=JSON.parse('{"name":"@truework/credentials","version":"0.6.1","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":"pnpm exec tsc --emitDeclarationOnly","typecheck":"pnpm exec tsc --noEmit","test":"TJS_FRAME_ORIGIN=http://localhost:4002 tap --ts --no-check-coverage --test-regex .*test\\\\.tsx?"},"devDependencies":{"@babel/core":"^7.15.0","@babel/preset-env":"^7.15.0","@babel/preset-typescript":"^7.15.0","@tsconfig/create-react-app":"^1.0.2","@types/jsdom":"^16.2.13","@types/proxyquire":"^1.3.28","@types/tap":"^15.0.5","babel-loader":"^8.2.2","core-js":"^3.21.1","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(e,n,t){"use strict";t.r(n),t.d(n,"EventType",(function(){return r})),t.d(n,"createEmitter",(function(){return f})),t.d(n,"createEvents",(function(){return l})),t.d(n,"Env",(function(){return i})),t.d(n,"FrameOrigin",(function(){return c})),t.d(n,"MessageTypes",(function(){return u})),t.d(n,"ErrorCode",(function(){return s})),t.d(n,"version",(function(){return C})),t.d(n,"origins",(function(){return P})),t.d(n,"ConfigurationError",(function(){return _})),t.d(n,"init",(function(){return T}));var r,o,i,c,u,s,a=t(0);function f(){var e={};return{clear:function(){e={}},emit:function(n,t){e[n]&&e[n].forEach((function(e){return e(t)})),e["*"]&&e["*"].forEach((function(e){return e(t)}))},on:function(n,t){return e[n]=e[n]?e[n].concat(t):[t],function(){e[n].splice(e[n].indexOf(t),1)}}}}function l(){var e=f();return{emitOpen:function(){e.emit(r.Open)},emitClose:function(){e.emit(r.Close)},emitSuccess:function(){e.emit(r.Success)},emitError:function(n){e.emit(r.Error,n)},onOpen:function(n){return e.on(r.Open,n)},onClose:function(n){return e.on(r.Close,n)},onSuccess:function(n){return e.on(r.Success,n)},onError:function(n){return e.on(r.Error,n)}}}function p(e){var n=e.src,t=document.createElement("iframe");return t.src=n,t.setAttribute("sandbox","allow-scripts allow-forms allow-same-origin allow-popups"),t.style.position="fixed",t.style.top="0",t.style.bottom="0",t.style.left="0",t.style.right="0",t.style.zIndex="999999999",t.style.border="0",t.style.padding="0",t.style.margin="0",t.width="100%",t.height="100%",t}function d(e){return new Promise((function(n,t){e.onload=n,e.onerror=t,document.body.appendChild(e)}))}function y(e,n,t){var r;null===(r=e.contentWindow)||void 0===r||r.postMessage(t,n)}function b(e){document.body.removeChild(e)}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,n,t,r,o,i,c){try{var u=e[i](c),s=u.value}catch(e){return void t(e)}u.done?n(s):Promise.resolve(s).then(r,o)}function h(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function c(e){v(i,r,o,c,u,"next",e)}function u(e){v(i,r,o,c,u,"throw",e)}c(void 0)}))}}function w(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function g(e,n){if(n&&("object"===m(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function O(e){var n="function"==typeof Map?new Map:void 0;return(O=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,r)}function r(){return x(e,arguments,j(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),S(r,e)})(e)}function x(e,n,t){return(x=E()?Reflect.construct:function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&S(o,t.prototype),o}).apply(null,arguments)}function E(){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(e){return!1}}function S(e,n){return(S=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}!function(e){e.Open="open",e.Close="close",e.Success="success",e.Error="error"}(r||(r={})),function(e){e.Production="production",e.Sandbox="sandbox"}(i||(i={})),function(e){e.Production="https://js.truework.com/frames/credentials/v1/index.html",e.Sandbox="https://js.truework.com/frames/credentials/v1/index.html"}(c||(c={})),function(e){e.Bootstrap="bootstrap",e.Open="open",e.Close="close",e.Success="success",e.Error="error"}(u||(u={})),function(e){e[e.Critical=0]="Critical",e[e.Error=1]="Error"}(s||(s={}));var C="@truework/credentials@0.6.1@",P=(k(o={},i.Production,c.Production),k(o,i.Sandbox,c.Sandbox),o),_=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&S(e,n)}(o,e);var n,t,r=(n=o,t=E(),function(){var e,r=j(n);if(t){var o=j(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return g(this,e)});function o(){return w(this,o),r.apply(this,arguments)}return o}(O(Error));function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.publishableKey,t=e.sessionToken,r=e.env;if(!n)throw new _("".concat(a.name," — missing publishableKey"));if(!t)throw new _("".concat(a.name," — missing sessionToken"));if(r||(r=i.Production),!Object.values(i).includes(r))throw new _("".concat(a.name," — invalid environment ").concat(r));var o=P[r],c=p({src:o}),f=l();return f.onError((function(e){e.code===s.Critical&&b(c)})),window.addEventListener("message",(function(e){var n=e.data;switch(n.type){case u.Open:f.emitOpen();break;case u.Close:f.emitClose(),b(c);break;case u.Success:f.emitSuccess();break;case u.Error:f.emitError(n)}})),{open:function(){return h(regeneratorRuntime.mark((function e(){var i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d(c);case 3:y(c,o,{type:u.Bootstrap,publishableKey:n,sessionToken:t,env:r,packageVersion:C,bundleVersion:null===(i=window)||void 0===i||null===(a=i.Truework)||void 0===a?void 0:a.version}),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),f.emitError({code:s.Critical});case 9:case"end":return e.stop()}}),e,null,[[0,6]])})))()},close:function(){y(c,o,{type:u.Close})},onOpen:function(e){return f.onOpen(e)},onClose:function(e){return f.onClose(e)},onSuccess:function(e){return f.onSuccess(e)},onError:function(e){return f.onError(e)}}}}])); |
# @truework/credentials | ||
## 0.6.1 | ||
### Patch Changes | ||
- 40bdb99: Adjust core-js version, browser compat | ||
## 0.6.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@truework/credentials", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "The embeddable Truework Credentials experience.", | ||
@@ -17,3 +17,3 @@ "author": "truework-team", | ||
"babel-loader": "^8.2.2", | ||
"core-js": "^3.16.2", | ||
"core-js": "^3.21.1", | ||
"jsdom": "^17.0.0", | ||
@@ -31,6 +31,7 @@ "proxyquire": "^2.1.3", | ||
"watch": "webpack -w --mode development", | ||
"typegen": "pnpx tsc --emitDeclarationOnly", | ||
"typecheck": "pnpx tsc --noEmit", | ||
"typegen": "pnpm exec tsc --emitDeclarationOnly", | ||
"typecheck": "pnpm exec tsc --noEmit", | ||
"test": "TJS_FRAME_ORIGIN=http://localhost:4002 tap --ts --no-check-coverage --test-regex .*test\\.tsx?" | ||
} | ||
}, | ||
"readme": "# @truework/credentials\n\nThe embeddable Truework Credentials experience. For more information, [see our\nofficial\ndocumentation.](https://www.truework.com/docs/getting-started/truework-js-tutorial)\n\n## License\n\n© Truework — All Rights Reserved\n" | ||
} |
@@ -36,3 +36,3 @@ import tap from 'tap' | ||
tap.test('mountFrame - error', async (t) => { | ||
const frame = createFrame({ src: 'http://some-unknown-domain.com' }) | ||
const frame = createFrame({ src: 'http://js.truework.com/testing-tjs' }) | ||
@@ -39,0 +39,0 @@ t.plan(1) |
@@ -6,3 +6,3 @@ export function createFrame({ src }: { src: string }) { | ||
frame.setAttribute('sandbox', 'allow-scripts allow-forms allow-same-origin') | ||
frame.setAttribute('sandbox', 'allow-scripts allow-forms allow-same-origin allow-popups') | ||
@@ -9,0 +9,0 @@ frame.style.position = 'fixed' |
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
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
163328
502