p-elements-core 2.0.15 → 2.1.0-rc10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/p-elements-core.js +1 -72
- package/package.json +56 -56
- package/readme.md +386 -0
- package/typings/custom-element-controller.d.ts +18 -0
- package/typings/custom-element-controller.d.ts.map +1 -0
- package/typings/custom-element.d.ts +140 -0
- package/typings/custom-element.d.ts.map +1 -0
- package/typings/decorators/bind.d.ts +6 -0
- package/typings/decorators/bind.d.ts.map +1 -0
- package/typings/decorators/custom-element-config.d.ts +8 -0
- package/typings/decorators/custom-element-config.d.ts.map +1 -0
- package/typings/decorators/property.d.ts +213 -0
- package/typings/decorators/property.d.ts.map +1 -0
- package/typings/decorators/query.d.ts +2 -0
- package/typings/decorators/query.d.ts.map +1 -0
- package/typings/decorators/render-property-on-set.d.ts +2 -0
- package/typings/decorators/render-property-on-set.d.ts.map +1 -0
- package/typings/maquette/cache.d.ts +10 -0
- package/typings/maquette/cache.d.ts.map +1 -0
- package/typings/maquette/dom.d.ts +60 -0
- package/typings/maquette/dom.d.ts.map +1 -0
- package/typings/maquette/h.d.ts +35 -0
- package/typings/maquette/h.d.ts.map +1 -0
- package/typings/maquette/index.d.ts +12 -0
- package/typings/maquette/index.d.ts.map +1 -0
- package/typings/maquette/interfaces.d.ts +475 -0
- package/typings/maquette/interfaces.d.ts.map +1 -0
- package/typings/maquette/jsx.d.ts +6 -0
- package/typings/maquette/jsx.d.ts.map +1 -0
- package/typings/maquette/mapping.d.ts +14 -0
- package/typings/maquette/mapping.d.ts.map +1 -0
- package/typings/maquette/projection.d.ts +9 -0
- package/typings/maquette/projection.d.ts.map +1 -0
- package/typings/maquette/projector.d.ts +27 -0
- package/typings/maquette/projector.d.ts.map +1 -0
- package/typings/p-elements-core.d.ts +225 -0
- package/typings/p-elements-core.d.ts.map +1 -0
- package/.editorconfig +0 -17
- package/.gitlab-ci.yml +0 -16
- package/dist/p-elements-core-modern.js +0 -72
- package/dist/sample.js +0 -20
- package/index.html +0 -171
- package/karma.conf.js +0 -32
- package/p-elements-core.d.ts +0 -141
- package/screen.css +0 -16
- package/src/bar.css +0 -3
- package/src/cache.ts +0 -35
- package/src/commonjs.js +0 -182
- package/src/custom-element.ts +0 -185
- package/src/custom-inline-style-element.ts +0 -42
- package/src/custom-style-element.ts +0 -27
- package/src/decorators/bind.ts +0 -40
- package/src/decorators/custom-element-config.ts +0 -17
- package/src/decorators/property-render-on-set.ts +0 -49
- package/src/decorators/reflect-to-attribute.ts +0 -51
- package/src/dom.ts +0 -100
- package/src/h.ts +0 -93
- package/src/index.tsx +0 -84
- package/src/interfaces.ts +0 -455
- package/src/mapping.ts +0 -55
- package/src/projection.ts +0 -537
- package/src/projector.ts +0 -168
- package/src/sample.css +0 -19
- package/src/sample.spec.ts +0 -112
- package/src/sample.tsx +0 -187
- package/src/tsconfig.json +0 -16
- package/theme.css +0 -12
- package/tsconfig.json +0 -17
- package/tslint.json +0 -33
- package/webpack.config.js +0 -100
- package/webpack.config.karma.js +0 -35
package/dist/p-elements-core.js
CHANGED
|
@@ -1,72 +1 @@
|
|
|
1
|
-
!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}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=128)}([function(t,e,n){var r=n(2),o=n(8),i=n(13),a=n(10),u=n(23),c=function(t,e,n){var s,l,f,p,h=t&c.F,d=t&c.G,v=t&c.S,m=t&c.P,y=t&c.B,g=d?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?o:o[e]||(o[e]={}),w=b.prototype||(b.prototype={});for(s in d&&(n=e),n)f=((l=!h&&g&&void 0!==g[s])?g:n)[s],p=y&&l?u(f,r):m&&"function"==typeof f?u(Function.call,f):f,g&&a(g,s,f,t&c.U),b[s]!=f&&i(b,s,p),m&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(3);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(64)("wks"),o=n(33),i=n(2).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(4),o=n(97),i=n(30),a=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(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){t.exports=!n(1)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(27),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(2),o=n(13),i=n(12),a=n(33)("src"),u=Function.toString,c=(""+u).split("toString");n(8).inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,u){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,a)||o(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:u?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||u.call(this)}))},function(t,e,n){var r=n(0),o=n(1),i=n(26),a=/"/g,u=function(t,e,n,r){var o=String(i(t)),u="<"+e;return""!==n&&(u+=" "+n+'="'+String(r).replace(a,""")+'"'),u+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(u),r(r.P+r.F*o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(6),o=n(32);t.exports=n(7)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(48),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){"use strict";var r=n(1);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){"use strict";function r(t,e){Reflect.get(t,"_dp_"+e)||Reflect.defineProperty(t,"_dp_"+e,{configurable:!0,enumerable:!0,get:function(){return this["_"+e+"_value"]},set:function(t){this["_"+e+"_value"]=t}}),t["_dp_setters_"+e]||(t["_dp_setters_"+e]=[]);t["_dp_setters_"+e].push((function(t,e){t&&t.renderNow&&t.renderNow()}));Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return this["_"+e+"_value"]},set:function(n){var r=this;this["_dp_"+e]=n,t["_dp_setters_"+e]&&t["_dp_setters_"+e].forEach((function(t){t(r,n)}))}})}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(49),o=n(32),i=n(14),a=n(30),u=n(12),c=n(97),s=Object.getOwnPropertyDescriptor;e.f=n(7)?s:function(t,e){if(t=i(t),e=a(e,!0),c)try{return s(t,e)}catch(t){}if(u(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(0),o=n(8),i=n(1);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(t,e,n){var r=n(23),o=n(48),i=n(15),a=n(9),u=n(222);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,l=4==t,f=6==t,p=5==t||f,h=e||u;return function(e,u,d){for(var v,m,y=i(e),g=o(y),b=r(u,d,3),w=a(g.length),S=0,E=n?h(e,w):c?h(e,0):void 0;w>S;S++)if((p||S in g)&&(m=b(v=g[S],S,y),t))if(n)E[S]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return S;case 2:E.push(v)}else if(l)return!1;return f?-1:s||l?l:E}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return function(e){window.customElements.define(t.tagName,e,t.options);var n=t.tagName.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}));window[n.charAt(0).toUpperCase()+n.slice(1)]=e}}},function(t,e,n){"use strict";function r(t){return(r="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)}var o,i="".concat("http://www.w3.org/","2000/svg"),a="".concat("http://www.w3.org/","1999/xlink"),u=[],c=function(t,e){var n={};return Object.keys(t).forEach((function(e){n[e]=t[e]})),e&&Object.keys(e).forEach((function(t){n[t]=e[t]})),n},s=function(t,e){return t.vnodeSelector===e.vnodeSelector&&(t.properties&&e.properties?t.properties.key===e.properties.key&&t.properties.bind===e.properties.bind:!t.properties&&!e.properties)},l=function(t){if("string"!=typeof t)throw new Error("Style values must be strings")},f=function(t,e,n){if(""!==e.vnodeSelector)for(var r=n;r<t.length;r++)if(s(t[r],e))return r;return-1},p=function(t,e,n,r){var o=t[e];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<t.length;a++)if(a!==e){var u=t[a];if(s(u,o))throw new Error("".concat(n.vnodeSelector," had a ").concat(o.vnodeSelector," child ").concat("added"===r?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable."))}}},h=function(t){if(t.properties){var e=t.properties.enterAnimation;e&&e(t.domNode,t.properties)}},d=[],v=!1,m=function t(e){(e.children||[]).forEach(t),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},y=function(){v=!1,d.forEach(m),d.length=0},g=function(t){d.push(t),v||(v=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(y,{timeout:16}):setTimeout(y,16))},b=function(t){var e=t.domNode;if(t.properties){var n=t.properties.exitAnimation;if(n){e.style.pointerEvents="none";return void n(e,(function(){e.parentNode&&(e.parentNode.removeChild(e),g(t))}),t.properties)}}e.parentNode&&(e.parentNode.removeChild(e),g(t))},w=function(t,e,n){!function(t,e,n){if(e){var r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var c=a.value;S(c,t,void 0,n)}}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}}}(t,e.children,n),e.text&&(t.textContent=e.text),function(t,e,n){if(e)for(var o=n.eventHandlerInterceptor,u=Object.keys(e),c=u.length,s=function(c){var s,f=u[c],p=e[f];if("className"===f)throw new Error('Property "className" is not supported, use "class".');if("class"===f)p.split(/\s+/).forEach((function(e){return t.classList.add(e)}));else if("classes"===f)for(var h=Object.keys(p),d=h.length,v=0;v<d;v++){var m=h[v];p[m]&&t.classList.add(m)}else if("styles"===f)for(var y=Object.keys(p),g=y.length,b=0;b<g;b++){var w=y[b],S=p[w];S&&(l(S),n.styleApplyer(t,w,S))}else if("key"!==f&&null!=p){var E=r(p);"function"===E?0===f.lastIndexOf("on",0)&&(o&&(p=o(f,p,t,e)),"oninput"===f&&(s=p,p=function(t){s.apply(this,[t]),t.target["oninput-value"]=t.target.value}),t[f]=p):"string"===E&&"value"!==f&&"innerHTML"!==f?n.namespace===i&&"href"===f?t.setAttributeNS(a,f,p):t.setAttribute(f,p):t[f]=p}},f=0;f<c;f++)s(f)}(t,e.properties,n),e.properties&&e.properties.afterCreate&&e.properties.afterCreate.apply(e.properties.bind||e.properties,[t,n,e.vnodeSelector,e.properties,e.children])},S=function(t,e,n,r){var o,a=0,u=t.vnodeSelector,s=e.ownerDocument;if(""===u)o=t.domNode=s.createTextNode(t.text),void 0!==n?e.insertBefore(o,n):e.appendChild(o);else{for(var l=0;l<=u.length;++l){var f=u.charAt(l);if(l===u.length||"."===f||"#"===f){var p=u.charAt(a-1),h=u.slice(a,l);if("."===p)o.classList.add(h);else if("#"===p)o.id=h;else{if("svg"===h&&(r=c(r,{namespace:i})),void 0!==r.namespace)o=t.domNode=s.createElementNS(r.namespace,h);else{var d=void 0;t.properties&&t.properties.is?function(){var e=document.createElement("div");e.style.display="none",document.body.appendChild(e),e.innerHTML="<".concat(h,' is="').concat(t.properties.is,'"></').concat(h,">"),setTimeout((function(){document.body.removeChild(e)}),10),d=s.createElement(h,{is:t.properties.is})}():d=s.createElement(h),o=t.domNode=t.domNode||d,"input"===h&&t.properties&&void 0!==t.properties.type&&o.setAttribute("type",t.properties.type)}void 0!==n?e.insertBefore(o,n):o.parentNode!==e&&e.appendChild(o)}a=l+1}}w(o,t,r)}},E=function(t,e,n){e&&e.split(" ").forEach((function(e){return t.classList.toggle(e,n)}))},N=function(t,e,n,r,i){if(n===r)return!1;r=r||u;for(var a,c=(n=n||u).length,l=r.length,d=0,v=0,m=!1;v<l;){var y=d<c?n[d]:void 0,g=r[v];if(void 0!==y&&s(y,g))m=o(y,g,i)||m,d++;else{var w=f(n,g,d+1);if(w>=0){for(a=d;a<w;a++)b(n[a]),p(n,a,t,"removed");m=o(n[w],g,i)||m,d=w+1}else S(g,e,d<c?n[d].domNode:void 0,i),h(g),p(r,v,t,"added")}v++}if(c>d)for(a=d;a<c;a++)b(n[a]),p(n,a,t,"removed");return m};o=function(t,e,n){var o=t.domNode,u=!1;if(t===e)return!1;var s=!1;if(""===e.vnodeSelector){if(e.text!==t.text){var f=o.ownerDocument.createTextNode(e.text);return o.parentNode.replaceChild(f,o),e.domNode=f,u=!0}e.domNode=o}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(n=c(n,{namespace:i})),t.text!==e.text&&(s=!0,void 0===e.text?o.removeChild(o.firstChild):o.textContent=e.text),e.domNode=o,s=N(e,o,t.children,e.children,n)||s,s=function(t,e,n,o){if(n){for(var u=!1,c=Object.keys(n),s=c.length,f=0;f<s;f++){var p=c[f],h=n[p],d=e[p];if("class"===p)d!==h&&(E(t,d,!1),E(t,h,!0));else if("classes"===p)for(var v=t.classList,m=Object.keys(h),y=m.length,g=0;g<y;g++){var b=m[g],w=!!h[b];w!==!!d[b]&&(u=!0,w?v.add(b):v.remove(b))}else if("styles"===p)for(var S=Object.keys(h),N=S.length,C=0;C<N;C++){var T=S[C],_=h[T];_!==d[T]&&(u=!0,_?(l(_),o.styleApplyer(t,T,_)):o.styleApplyer(t,T,""))}else if(h||"string"!=typeof d||(h=""),"value"===p){var x=t[p];x!==h&&(t["oninput-value"]?x===t["oninput-value"]:h!==d)&&(t[p]=h,t["oninput-value"]=void 0),h!==d&&(u=!0)}else if(h!==d){var M=r(h);"function"===M&&o.eventHandlerInterceptor||("string"===M&&"innerHTML"!==p?o.namespace===i&&"href"===p?t.setAttributeNS(a,p,h):"role"===p&&""===h?t.removeAttribute(p):t.setAttribute(p,h):t[p]!==h&&(t[p]=h),u=!0)}}return u}}(o,t.properties,e.properties,n)||s,e.properties&&e.properties.afterUpdate&&e.properties.afterUpdate.apply(e.properties.bind||e.properties,[o,n,e.vnodeSelector,e.properties,e.children]);return s&&e.properties&&e.properties.updateAnimation&&e.properties.updateAnimation(o,e.properties,t.properties),u};var C,T=function(t,e){return{getLastRender:function(){return t},update:function(n){if(t.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var r=t;t=n,o(r,n,e)},domNode:t.domNode}},_={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(t,e,n){t.style[e]=n}},x=function(t){return c(_,t)},M=function(t,e,n){return n=x(n),S(e,t,void 0,n),T(e,n)},O=function(t,e,n){return n=x(n),S(e,t.parentNode,t,n),T(e,n)},L=function(t,e,n){return n=x(n),e.domNode=t,w(t,e,n),T(e,n)},A=function(t,e,n){return n=x(n),S(e,t.parentNode,t,n),t.parentNode.removeChild(t),T(e,n)},D=function(t,e){for(var n=[];t!==e;)n.push(t),t=t.parentNode;return n};C=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){return t.filter(e)[0]};var P=function(t,e){var n=t;return e.forEach((function(t){n=n&&n.children?C(n.children,(function(e){return e.domNode===t})):void 0})),n},F=function(t){var e,n,r=x(t),o=r.performanceLogger,i=!0,a=!1,u=[],c=[],s=function(t,n,i){var a;r.eventHandlerInterceptor=function(t,e,n){var r=function(r){n("domEvent",r);var o=e(),i=D(r.currentTarget,o.domNode);i.reverse();var a,u=P(o.getLastRender(),i);return t.scheduleRender(),u&&(a=u.properties["on".concat(r.type)].apply(u.properties.bind||this,arguments)),n("domEventProcessed",r),a};return function(t,e,n,o){return r}}(e,(function(){return a}),o),a=t(n,i(),r),u.push(a),c.push(i)},l=function(){if(n=void 0,i){i=!1,o("renderStart",void 0);for(var t=0;t<u.length;t++){var e=c[t]();o("rendered",void 0),u[t].update(e),o("patched",void 0)}o("renderDone",void 0),i=!0}};return e={renderNow:l,scheduleRender:function(){n||a||(n=requestAnimationFrame(l))},stop:function(){n&&(cancelAnimationFrame(n),n=void 0),a=!0},resume:function(){a=!1,i=!0,e.scheduleRender()},append:function(t,e){s(M,t,e)},insertBefore:function(t,e){s(O,t,e)},merge:function(t,e){s(L,t,e)},replace:function(t,e){s(A,t,e)},detach:function(t){for(var e=0;e<c.length;e++)if(c[e]===t)return c.splice(e,1),u.splice(e,1)[0];throw new Error("renderFunction was not found")}}};function j(t){return(j="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 H(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function R(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I(t){var e="function"==typeof Map?new Map:void 0;return(I=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 k(t,arguments,U(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),V(r,t)})(t)}function k(t,e,n){return(k=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&V(o,n.prototype),o}).apply(null,arguments)}function V(t,e){return(V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return W}));var B,q=n(50);B=document.registerElement,/\{\s*\[native code\]\s*\}/.test(""+B)||q(window,"auto");var G=Symbol("UPDATE_ON_CONNECTED"),W=function(t){function e(t){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=(n=function(t,e){return!e||"object"!==j(e)&&"function"!=typeof e?R(t):e}(this,U(e).call(this,t))).constructor.observedProperties,o=void 0===r?[]:r;return n[G]=[],"function"==typeof n.renderNow&&o.forEach((function(t){var e=n[t],r=Symbol(t);n[r]=e,Object.defineProperty(R(R(n)),t,{get:function(){return this[r]},set:function(t){this[r]=t,this.renderNow()}}),void 0!==e&&n[G].push(t)})),"function"==typeof n.init&&n.init(),n}var n,r,o;return 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&&V(t,e)}(e,t),n=e,(r=[{key:"initShadowRoot",value:function(t,e){var n=this;return new Promise((function(r,o){n.shadowRoot||n.attachShadow({mode:"open"}),n.shadowRoot&&setTimeout((function(){if(!n._projector){var o=F();o.append(n.shadowRoot,e.bind(n)),n._projector=o}var i=document.createElement("template");i.innerHTML=t,function t(){var e=window.ShadyCSS;if("function"==typeof e.prepareTemplate){e.prepareTemplate(i,n.tagName.toLowerCase());var o=document.importNode(i.content,!0).querySelector("style");o&&n.shadowRoot&&(Array.from(n.shadowRoot.children).forEach((function(t){n.shadowRoot&&"STYLE"===t.tagName&&n.shadowRoot.removeChild(t)})),n.shadowRoot.insertBefore(o,n.shadowRoot.firstChild)),e.styleElement&&e.styleElement(n),e.styleSubtree&&e.styleSubtree(n),e.styleDocument&&e.styleDocument(),n.renderNow(),r(!0)}else setTimeout(t,100)}()}),150)}))}},{key:"removeDoubleStyleElements",value:function(){var t=document.querySelectorAll('style[scope="'.concat(this.tagName.toLowerCase(),'"]'));t&&Array.prototype.slice.call(t).forEach((function(e,n){n<t.length-1&&document.head.removeChild(e)}))}},{key:"updateStyle",value:function(){this.shadowRoot&&window.ShadyCSS&&(window.ShadyCSS.styleElement(this),window.ShadyCSS.styleSubtree(this),window.ShadyCSS.styleDocument(),this.removeDoubleStyleElements())}},{key:"templateFromString",value:function(t){var e=this;this.shadowRoot?this.shadowRoot.innerHTML="":this.attachShadow({mode:"open"}),window.ShadyCSS&&window.addEventListener("customStyleConnected",(function(t){e.updateStyle()}));var n=document.createElement("template");n.innerHTML=t,window.ShadyCSS&&window.ShadyCSS.prepareTemplate(n,this.tagName.toLowerCase());var r=document.importNode(n.content,!0);return window.ShadyCSS&&(window.ShadyCSS.styleElement(this),this.removeDoubleStyleElements()),r}},{key:"createProjector",value:function(t,e){var n=this;return new Promise((function(r,o){var i;setTimeout((function(){(i=F()).append(t,e),n._projector=i,r(i),n.dispatchEvent(new CustomEvent("firstRender",{}))}),1)}))}},{key:"getNewProjectorInstance",value:function(){return F()}},{key:"renderNow",value:function(){this._projector&&this._projector.renderNow()}}])&&H(n.prototype,r),o&&H(n,o),e}(I(HTMLElement))},function(t,e,n){var r=n(24);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){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){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},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){"use strict";if(n(7)){var r=n(34),o=n(2),i=n(1),a=n(0),u=n(61),c=n(87),s=n(23),l=n(45),f=n(32),p=n(13),h=n(46),d=n(27),v=n(9),m=n(122),y=n(36),g=n(30),b=n(12),w=n(53),S=n(3),E=n(15),N=n(80),C=n(37),T=n(39),_=n(38).f,x=n(82),M=n(33),O=n(5),L=n(20),A=n(51),D=n(58),P=n(84),F=n(42),j=n(55),H=n(44),R=n(83),I=n(114),k=n(6),V=n(18),U=k.f,B=V.f,q=o.RangeError,G=o.TypeError,W=o.Uint8Array,K=Array.prototype,z=c.ArrayBuffer,$=c.DataView,X=L(0),Y=L(2),J=L(3),Z=L(4),Q=L(5),tt=L(6),et=A(!0),nt=A(!1),rt=P.values,ot=P.keys,it=P.entries,at=K.lastIndexOf,ut=K.reduce,ct=K.reduceRight,st=K.join,lt=K.sort,ft=K.slice,pt=K.toString,ht=K.toLocaleString,dt=O("iterator"),vt=O("toStringTag"),mt=M("typed_constructor"),yt=M("def_constructor"),gt=u.CONSTR,bt=u.TYPED,wt=u.VIEW,St=L(1,(function(t,e){return _t(D(t,t[yt]),e)})),Et=i((function(){return 1===new W(new Uint16Array([1]).buffer)[0]})),Nt=!!W&&!!W.prototype.set&&i((function(){new W(1).set({})})),Ct=function(t,e){var n=d(t);if(n<0||n%e)throw q("Wrong offset!");return n},Tt=function(t){if(S(t)&&bt in t)return t;throw G(t+" is not a typed array!")},_t=function(t,e){if(!(S(t)&&mt in t))throw G("It is not a typed array constructor!");return new t(e)},xt=function(t,e){return Mt(D(t,t[yt]),e)},Mt=function(t,e){for(var n=0,r=e.length,o=_t(t,r);r>n;)o[n]=e[n++];return o},Ot=function(t,e,n){U(t,e,{get:function(){return this._d[n]}})},Lt=function(t){var e,n,r,o,i,a,u=E(t),c=arguments.length,l=c>1?arguments[1]:void 0,f=void 0!==l,p=x(u);if(null!=p&&!N(p)){for(a=p.call(u),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);u=r}for(f&&c>2&&(l=s(l,arguments[2],2)),e=0,n=v(u.length),o=_t(this,n);n>e;e++)o[e]=f?l(u[e],e):u[e];return o},At=function(){for(var t=0,e=arguments.length,n=_t(this,e);e>t;)n[t]=arguments[t++];return n},Dt=!!W&&i((function(){ht.call(new W(1))})),Pt=function(){return ht.apply(Dt?ft.call(Tt(this)):Tt(this),arguments)},Ft={copyWithin:function(t,e){return I.call(Tt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(Tt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return R.apply(Tt(this),arguments)},filter:function(t){return xt(this,Y(Tt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Tt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Tt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){X(Tt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Tt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Tt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return st.apply(Tt(this),arguments)},lastIndexOf:function(t){return at.apply(Tt(this),arguments)},map:function(t){return St(Tt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ut.apply(Tt(this),arguments)},reduceRight:function(t){return ct.apply(Tt(this),arguments)},reverse:function(){for(var t,e=Tt(this).length,n=Math.floor(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this},some:function(t){return J(Tt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(Tt(this),t)},subarray:function(t,e){var n=Tt(this),r=n.length,o=y(t,r);return new(D(n,n[yt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,v((void 0===e?r:y(e,r))-o))}},jt=function(t,e){return xt(this,ft.call(Tt(this),t,e))},Ht=function(t){Tt(this);var e=Ct(arguments[1],1),n=this.length,r=E(t),o=v(r.length),i=0;if(o+e>n)throw q("Wrong length!");for(;i<o;)this[e+i]=r[i++]},Rt={entries:function(){return it.call(Tt(this))},keys:function(){return ot.call(Tt(this))},values:function(){return rt.call(Tt(this))}},It=function(t,e){return S(t)&&t[bt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},kt=function(t,e){return It(t,e=g(e,!0))?f(2,t[e]):B(t,e)},Vt=function(t,e,n){return!(It(t,e=g(e,!0))&&S(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?U(t,e,n):(t[e]=n.value,t)};gt||(V.f=kt,k.f=Vt),a(a.S+a.F*!gt,"Object",{getOwnPropertyDescriptor:kt,defineProperty:Vt}),i((function(){pt.call({})}))&&(pt=ht=function(){return st.call(this)});var Ut=h({},Ft);h(Ut,Rt),p(Ut,dt,Rt.values),h(Ut,{slice:jt,set:Ht,constructor:function(){},toString:pt,toLocaleString:Pt}),Ot(Ut,"buffer","b"),Ot(Ut,"byteOffset","o"),Ot(Ut,"byteLength","l"),Ot(Ut,"length","e"),U(Ut,vt,{get:function(){return this[bt]}}),t.exports=function(t,e,n,c){var s=t+((c=!!c)?"Clamped":"")+"Array",f="get"+t,h="set"+t,d=o[s],y=d||{},g=d&&T(d),b=!d||!u.ABV,E={},N=d&&d.prototype,x=function(t,n){U(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[f](n*e+r.o,Et)}(this,n)},set:function(t){return function(t,n,r){var o=t._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[h](n*e+o.o,r,Et)}(this,n,t)},enumerable:!0})};b?(d=n((function(t,n,r,o){l(t,d,s,"_d");var i,a,u,c,f=0,h=0;if(S(n)){if(!(n instanceof z||"ArrayBuffer"==(c=w(n))||"SharedArrayBuffer"==c))return bt in n?Mt(d,n):Lt.call(d,n);i=n,h=Ct(r,e);var y=n.byteLength;if(void 0===o){if(y%e)throw q("Wrong length!");if((a=y-h)<0)throw q("Wrong length!")}else if((a=v(o)*e)+h>y)throw q("Wrong length!");u=a/e}else u=m(n),i=new z(a=u*e);for(p(t,"_d",{b:i,o:h,l:a,e:u,v:new $(i)});f<u;)x(t,f++)})),N=d.prototype=C(Ut),p(N,"constructor",d)):i((function(){d(1)}))&&i((function(){new d(-1)}))&&j((function(t){new d,new d(null),new d(1.5),new d(t)}),!0)||(d=n((function(t,n,r,o){var i;return l(t,d,s),S(n)?n instanceof z||"ArrayBuffer"==(i=w(n))||"SharedArrayBuffer"==i?void 0!==o?new y(n,Ct(r,e),o):void 0!==r?new y(n,Ct(r,e)):new y(n):bt in n?Mt(d,n):Lt.call(d,n):new y(m(n))})),X(g!==Function.prototype?_(y).concat(_(g)):_(y),(function(t){t in d||p(d,t,y[t])})),d.prototype=N,r||(N.constructor=d));var M=N[dt],O=!!M&&("values"==M.name||null==M.name),L=Rt.values;p(d,mt,!0),p(N,bt,s),p(N,wt,!0),p(N,yt,d),(c?new d(1)[vt]==s:vt in N)||U(N,vt,{get:function(){return s}}),E[s]=d,a(a.G+a.W+a.F*(d!=y),E),a(a.S,s,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*i((function(){y.of.call(d,1)})),s,{from:Lt,of:At}),"BYTES_PER_ELEMENT"in N||p(N,"BYTES_PER_ELEMENT",e),a(a.P,s,Ft),H(s),a(a.P+a.F*Nt,s,{set:Ht}),a(a.P+a.F*!O,s,Rt),r||N.toString==pt||(N.toString=pt),a(a.P+a.F*i((function(){new d(1).slice()})),s,{slice:jt}),a(a.P+a.F*(i((function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()}))||!i((function(){N.toLocaleString.call([1,2])}))),s,{toLocaleString:Pt}),F[s]=O?M:L,r||O||p(N,dt,L)}}else t.exports=function(){}},function(t,e,n){"use strict";function r(t,e){Reflect.get(t,"_dp_"+e)||Reflect.defineProperty(t,"_dp_"+e,{configurable:!0,enumerable:!0,get:function(){return this["_"+e+"_value"]},set:function(t){this["_"+e+"_value"]=t}}),t["_dp_setters_"+e]||(t["_dp_setters_"+e]=[]);t["_dp_setters_"+e].push((function(t,n){t&&t.getAttribute&&t.getAttribute(e)!==n&&t.setAttribute(e,n)}));Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return this["_"+e+"_value"]},set:function(n){var r=this;this["_dp_"+e]=n,t["_dp_setters_"+e]&&t["_dp_setters_"+e].forEach((function(t){t(r,n)}))}})}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t))return t;var n,o;if(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(!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(33)("meta"),o=n(3),i=n(12),a=n(6).f,u=0,c=Object.isExtensible||function(){return!0},s=!n(1)((function(){return c(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++u,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return s&&f.NEED&&c(t)&&!i(t,r)&&l(t),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=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!1},function(t,e,n){var r=n(99),o=n(67);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(27),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(4),o=n(100),i=n(67),a=n(66)("IE_PROTO"),u=function(){},c=function(){var t,e=n(63)("iframe"),r=i.length;for(e.style.display="none",n(69).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(99),o=n(67).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(12),o=n(15),i=n(66)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},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(6).f,o=n(12),i=n(5)("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){t.exports={}},function(t,e,n){var r=n(5)("unscopables"),o=Array.prototype;null==o[r]&&n(13)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){"use strict";var r=n(2),o=n(6),i=n(7),a=n(5)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(10);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(25);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=
|
|
2
|
-
/*!
|
|
3
|
-
ISC License
|
|
4
|
-
|
|
5
|
-
Copyright (c) 2014-2018, Andrea Giammarchi, @WebReflection
|
|
6
|
-
|
|
7
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
8
|
-
purpose with or without fee is hereby granted, provided that the above
|
|
9
|
-
copyright notice and this permission notice appear in all copies.
|
|
10
|
-
|
|
11
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
12
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
13
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
14
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
15
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
16
|
-
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
17
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
18
|
-
|
|
19
|
-
*/
|
|
20
|
-
function(t,e){"use strict";var n=t.document,r=t.Object,o=function(t){var e,n,o,i,a=/^[A-Z]+[a-z]/,u=function(t,e){(e=e.toLowerCase())in c||(c[t]=(c[t]||[]).concat(e),c[e]=c[e.toUpperCase()]=t)},c=(r.create||r)(null),s={};for(n in t)for(i in t[n])for(o=t[n][i],c[i]=o,e=0;e<o.length;e++)c[o[e].toLowerCase()]=c[o[e].toUpperCase()]=i;return s.get=function(t){return"string"==typeof t?c[t]||(a.test(t)?[]:""):function(t){var e,n=[];for(e in c)t.test(e)&&n.push(e);return n}(t)},s.set=function(t,e){return a.test(t)?u(t,e):u(e,t),s},s}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof e&&(e={type:e||"auto"});var i,a,u,c,s,l,f,p,h,d="registerElement",v="__"+d+(1e5*t.Math.random()>>0),m="addEventListener",y="attached",g="Callback",b="detached",w="extends",S="attributeChanged"+g,E=y+g,N="connected"+g,C="disconnected"+g,T="created"+g,_=b+g,x="ADDITION",M="REMOVAL",O="DOMAttrModified",L="DOMContentLoaded",A="DOMSubtreeModified",D="<",P="=",F=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,j=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],H=[],R=[],I="",k=n.documentElement,V=H.indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},U=r.prototype,B=U.hasOwnProperty,q=U.isPrototypeOf,G=r.defineProperty,W=[],K=r.getOwnPropertyDescriptor,z=r.getOwnPropertyNames,$=r.getPrototypeOf,X=r.setPrototypeOf,Y=!!r.__proto__,J="__dreCEv1",Z=t.customElements,Q=!/^force/.test(e.type)&&!!(Z&&Z.define&&Z.get&&Z.whenDefined),tt=r.create||r,et=t.Map||function(){var t,e=[],n=[];return{get:function(t){return n[V.call(e,t)]},set:function(r,o){(t=V.call(e,r))<0?n[e.push(r)-1]=o:n[t]=o}}},nt=t.Promise||function(t){var e=[],n=!1,r={catch:function(){return r},then:function(t){return e.push(t),n&&setTimeout(o,1),r}};function o(t){for(n=!0;e.length;)e.shift()(t)}return t(o),r},rt=!1,ot=tt(null),it=tt(null),at=new et,ut=function(t){return t.toLowerCase()},ct=r.create||function t(e){return e?(t.prototype=e,new t):this},st=X||(Y?function(t,e){return t.__proto__=e,t}:z&&K?function(){function t(t,e){for(var n,r=z(e),o=0,i=r.length;o<i;o++)n=r[o],B.call(t,n)||G(t,n,K(e,n))}return function(e,n){do{t(e,n)}while((n=$(n))&&!q.call(n,e));return e}}():function(t,e){for(var n in e)t[n]=e[n];return t}),lt=t.MutationObserver||t.WebKitMutationObserver,ft=t.HTMLAnchorElement,pt=(t.HTMLElement||t.Element||t.Node).prototype,ht=!q.call(pt,k),dt=ht?function(t,e,n){return t[e]=n.value,t}:G,vt=ht?function(t){return 1===t.nodeType}:function(t){return q.call(pt,t)},mt=ht&&[],yt=pt.attachShadow,gt=pt.cloneNode,bt=pt.dispatchEvent,wt=pt.getAttribute,St=pt.hasAttribute,Et=pt.removeAttribute,Nt=pt.setAttribute,Ct=n.createElement,Tt=n.importNode,_t=Ct,xt=lt&&{attributes:!0,characterData:!0,attributeOldValue:!0},Mt=lt||function(t){Pt=!1,k.removeEventListener(O,Mt)},Ot=0,Lt=d in n&&!/^force-all/.test(e.type),At=!0,Dt=!1,Pt=!0,Ft=!0,jt=!0;function Ht(){var t=i.splice(0,i.length);for(Ot=0;t.length;)t.shift().call(null,t.shift())}function Rt(t,e){for(var n=0,r=t.length;n<r;n++)$t(t[n],e)}function It(t){return function(e){vt(e)&&($t(e,t),I.length&&Rt(e.querySelectorAll(I),t))}}function kt(t){var e=wt.call(t,"is"),n=t.nodeName.toUpperCase(),r=V.call(H,e?P+e.toUpperCase():D+n);return e&&-1<r&&!Vt(n,e)?-1:r}function Vt(t,e){return-1<I.indexOf(t+'[is="'+e+'"]')}function Ut(t){var e=t.currentTarget,n=t.attrChange,r=t.attrName,o=t.target,i=t[x]||2,a=t[M]||3;!jt||o&&o!==e||!e[S]||"style"===r||t.prevValue===t.newValue&&(""!==t.newValue||n!==i&&n!==a)||e[S](r,n===i?null:t.prevValue,n===a?null:t.newValue)}function Bt(t){var e=It(t);return function(t){i.push(e,t.target),Ot&&clearTimeout(Ot),Ot=setTimeout(Ht,1)}}function qt(t){Ft&&(Ft=!1,t.currentTarget.removeEventListener(L,qt)),I.length&&Rt((t.target||n).querySelectorAll(I),t.detail===b?b:y),ht&&function(){for(var t,e=0,n=mt.length;e<n;e++)t=mt[e],k.contains(t)||(n--,mt.splice(e--,1),$t(t,b))}()}function Gt(t,e){Nt.call(this,t,e),a.call(this,{target:this})}function Wt(t,e,n){var r=e.apply(t,n),o=kt(r);return-1<o&&p(r,R[o]),n.pop()&&I.length&&function(t){for(var e,n=0,r=t.length;n<r;n++)e=t[n],p(e,R[kt(e)])}(r.querySelectorAll(I)),r}function Kt(t,e){st(t,e),s?s.observe(t,xt):(Pt&&(t.setAttribute=Gt,t[v]=c(t),t[m](A,a)),t[m](O,Ut)),t[T]&&jt&&(t.created=!0,t[T](),t.created=!1)}function zt(t){throw new Error("A "+t+" type is already registered")}function $t(t,e){var n,r,o=kt(t);-1<o&&(f(t,R[o]),o=0,e!==y||t[y]?e!==b||t[b]||(t[y]=!1,t[b]=!0,r="disconnected",o=1):(t[b]=!1,t[y]=!0,r="connected",o=1,ht&&V.call(mt,t)<0&&mt.push(t)),o&&(n=t[e+g]||t[r+g])&&n.call(t))}function Xt(){}function Yt(t,e,r){var o=r&&r[w]||"",i=e.prototype,a=ct(i),u=e.observedAttributes||W,c={prototype:a};dt(a,T,{value:function(){if(rt)rt=!1;else if(!this[J]){this[J]=!0,new e(this),i[T]&&i[T].call(this);var t=ot[at.get(e)];(!Q||t.create.length>1)&&Qt(this)}}}),dt(a,S,{value:function(t){-1<V.call(u,t)&&i[S]&&i[S].apply(this,arguments)}}),i[N]&&dt(a,E,{value:i[N]}),i[C]&&dt(a,_,{value:i[C]}),o&&(c[w]=o),t=t.toUpperCase(),ot[t]={constructor:e,create:o?[o,ut(t)]:[t]},at.set(e,t),n[d](t.toLowerCase(),c),te(t),it[t].r()}function Jt(t){var e=ot[t.toUpperCase()];return e&&e.constructor}function Zt(t){return"string"==typeof t?t:t&&t.is||""}function Qt(t){for(var e,n=t[S],r=n?t.attributes:W,o=r.length;o--;)e=r[o],n.call(t,e.name||e.nodeName,null,e.value||e.nodeValue)}function te(t){return(t=t.toUpperCase())in it||(it[t]={},it[t].p=new nt((function(e){it[t].r=e}))),it[t].p}function ee(){Z&&delete t.customElements,G(t,"customElements",{configurable:!0,value:new Xt}),G(t,"CustomElementRegistry",{configurable:!0,value:Xt});for(var e=function(e){var r=t[e];if(r){t[e]=function(t){var e,o;return t||(t=this),t[J]||(rt=!0,e=ot[at.get(t.constructor)],(t=(o=Q&&1===e.create.length)?Reflect.construct(r,W,e.constructor):n.createElement.apply(n,e.create))[J]=!0,rt=!1,o||Qt(t)),t},t[e].prototype=r.prototype;try{r.prototype.constructor=t[e]}catch(n){!0,G(r,J,{value:t[e]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),i=r.length;i--;e(r[i]));n.createElement=function(t,e){var n=Zt(e);return n?_t.call(this,t,ut(n)):_t.call(this,t)},Lt||(Dt=!0,n[d](""))}if(lt&&((h=n.createElement("div")).innerHTML="<div><div></div></div>",new lt((function(t,e){if(t[0]&&"childList"==t[0].type&&!t[0].removedNodes[0].childNodes.length){var n=(h=K(pt,"innerHTML"))&&h.set;n&&G(pt,"innerHTML",{set:function(t){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,t)}})}e.disconnect(),h=null})).observe(h,{childList:!0,subtree:!0}),h.innerHTML=""),Lt||(X||Y?(f=function(t,e){q.call(e,t)||Kt(t,e)},p=Kt):p=f=function(t,e){t[v]||(t[v]=r(!0),Kt(t,e))},ht?(Pt=!1,function(){var t=K(pt,m),e=t.value,n=function(t){var e=new CustomEvent(O,{bubbles:!0});e.attrName=t,e.prevValue=wt.call(this,t),e.newValue=null,e[M]=e.attrChange=2,Et.call(this,t),bt.call(this,e)},r=function(t,e){var n=St.call(this,t),r=n&&wt.call(this,t),o=new CustomEvent(O,{bubbles:!0});Nt.call(this,t,e),o.attrName=t,o.prevValue=n?r:null,o.newValue=e,n?o.MODIFICATION=o.attrChange=1:o[x]=o.attrChange=0,bt.call(this,o)},o=function(t){var e,n=t.currentTarget,r=n[v],o=t.propertyName;r.hasOwnProperty(o)&&(r=r[o],(e=new CustomEvent(O,{bubbles:!0})).attrName=r.name,e.prevValue=r.value||null,e.newValue=r.value=n[o]||null,null==e.prevValue?e[x]=e.attrChange=0:e.MODIFICATION=e.attrChange=1,bt.call(n,e))};t.value=function(t,i,a){t===O&&this[S]&&this.setAttribute!==r&&(this[v]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,e.call(this,"propertychange",o)),e.call(this,t,i,a)},G(pt,m,t)}()):lt||(k[m](O,Mt),k.setAttribute(v,1),k.removeAttribute(v),Pt&&(a=function(t){var e,n,r;if(this===t.target){for(r in e=this[v],this[v]=n=c(this),n){if(!(r in e))return u(0,this,r,e[r],n[r],x);if(n[r]!==e[r])return u(1,this,r,e[r],n[r],"MODIFICATION")}for(r in e)if(!(r in n))return u(2,this,r,e[r],n[r],M)}},u=function(t,e,n,r,o,i){var a={attrChange:t,currentTarget:e,attrName:n,prevValue:r,newValue:o};a[i]=t,Ut(a)},c=function(t){for(var e,n,r={},o=t.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(e=o[i]).name)&&(r[n]=e.value);return r})),n[d]=function(t,e){if(r=t.toUpperCase(),At&&(At=!1,lt?(s=function(t,e){function n(t,e){for(var n=0,r=t.length;n<r;e(t[n++]));}return new lt((function(r){for(var o,i,a,u=0,c=r.length;u<c;u++)"childList"===(o=r[u]).type?(n(o.addedNodes,t),n(o.removedNodes,e)):(i=o.target,jt&&i[S]&&"style"!==o.attributeName&&(a=wt.call(i,o.attributeName))!==o.oldValue&&i[S](o.attributeName,o.oldValue,a))}))}(It(y),It(b)),(l=function(t){return s.observe(t,{childList:!0,subtree:!0}),t})(n),yt&&(pt.attachShadow=function(){return l(yt.apply(this,arguments))})):(i=[],n[m]("DOMNodeInserted",Bt(y)),n[m]("DOMNodeRemoved",Bt(b))),n[m](L,qt),n[m]("readystatechange",qt),n.importNode=function(t,e){switch(t.nodeType){case 1:return Wt(n,Tt,[t,!!e]);case 11:for(var r=n.createDocumentFragment(),o=t.childNodes,i=o.length,a=0;a<i;a++)r.appendChild(n.importNode(o[a],!!e));return r;default:return gt.call(t,!!e)}},pt.cloneNode=function(t){return Wt(this,gt,[!!t])}),Dt)return Dt=!1;if(-2<V.call(H,P+r)+V.call(H,D+r)&&zt(t),!F.test(r)||-1<V.call(j,r))throw new Error("The type "+t+" is invalid");var r,o,a=function(){return c?n.createElement(f,r):n.createElement(f)},u=e||U,c=B.call(u,w),f=c?e[w].toUpperCase():r;return c&&-1<V.call(H,D+f)&&zt(f),o=H.push((c?P:D)+r)-1,I=I.concat(I.length?",":"",c?f+'[is="'+t.toLowerCase()+'"]':f),a.prototype=R[o]=B.call(u,"prototype")?u.prototype:ct(pt),I.length&&Rt(n.querySelectorAll(I),y),a},n.createElement=_t=function(t,e){var r=Zt(e),o=r?Ct.call(n,t,ut(r)):Ct.call(n,t),i=""+t,a=V.call(H,(r?P:D)+(r||i).toUpperCase()),u=-1<a;return r&&(o.setAttribute("is",r=r.toLowerCase()),u&&(u=Vt(i.toUpperCase(),r))),jt=!n.createElement.innerHTMLHelper,u&&p(o,R[a]),o}),Xt.prototype={constructor:Xt,define:Q?function(t,e,n){if(n)Yt(t,e,n);else{var r=t.toUpperCase();ot[r]={constructor:e,create:[r]},at.set(e,r),Z.define(t,e)}}:Yt,get:Q?function(t){return Z.get(t)||Jt(t)}:Jt,whenDefined:Q?function(t){return nt.race([Z.whenDefined(t),te(t)])}:te},!Z||/^force/.test(e.type))ee();else if(!e.noBuiltIn)try{!function(e,r,o){var i=new RegExp("^<a\\s+is=('|\")"+o+"\\1></a>$");if(r[w]="a",(e.prototype=ct(ft.prototype)).constructor=e,t.customElements.define(o,e,r),!i.test(n.createElement("a",{is:o}).outerHTML)||!i.test((new e).outerHTML))throw r}((function t(){return Reflect.construct(ft,[],t)}),{},"document-register-element-a")}catch(t){ee()}if(!e.noBuiltIn)try{if(Ct.call(n,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(t){ut=function(t){return{is:t.toLowerCase()}}}}},function(t,e,n){var r=n(14),o=n(9),i=n(36);t.exports=function(t){return function(e,n,a){var u,c=r(e),s=o(c.length),l=i(a,s);if(t&&n!=n){for(;s>l;)if((u=c[l++])!=u)return!0}else for(;s>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(25),o=n(5)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(0),o=n(26),i=n(1),a=n(71),u="["+a+"]",c=RegExp("^"+u+u+"*"),s=RegExp(u+u+"*$"),l=function(t,e,n){var o={},u=i((function(){return!!a[t]()||"
"!="
"[t]()})),c=o[t]=u?e(f):a[t];n&&(o[n]=c),r(r.P+r.F*u,"String",o)},f=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(s,"")),t};t.exports=l},function(t,e,n){var r=n(5)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(13),o=n(10),i=n(1),a=n(26),u=n(5);t.exports=function(t,e,n){var c=u(t),s=n(a,c,""[t]),l=s[0],f=s[1];i((function(){var e={};return e[c]=function(){return 7},7!=""[t](e)}))&&(o(String.prototype,t,l),r(RegExp.prototype,c,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},function(t,e,n){var r=n(23),o=n(112),i=n(80),a=n(4),u=n(9),c=n(82),s={},l={};(e=t.exports=function(t,e,n,f,p){var h,d,v,m,y=p?function(){return t}:c(t),g=r(n,f,e?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(i(y)){for(h=u(t.length);h>b;b++)if((m=e?g(a(d=t[b])[0],d[1]):g(t[b]))===s||m===l)return m}else for(v=y.call(t);!(d=v.next()).done;)if((m=o(v,g,d.value,e))===s||m===l)return m}).BREAK=s,e.RETURN=l},function(t,e,n){var r=n(4),o=n(24),i=n(5)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},function(t,e,n){var r=n(2).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(2),o=n(0),i=n(10),a=n(46),u=n(31),c=n(57),s=n(45),l=n(3),f=n(1),p=n(55),h=n(41),d=n(72);t.exports=function(t,e,n,v,m,y){var g=r[t],b=g,w=m?"set":"add",S=b&&b.prototype,E={},N=function(t){var e=S[t];i(S,t,"delete"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(y||S.forEach&&!f((function(){(new b).entries().next()})))){var C=new b,T=C[w](y?{}:-0,1)!=C,_=f((function(){C.has(1)})),x=p((function(t){new b(t)})),M=!y&&f((function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)}));x||((b=e((function(e,n){s(e,b,t);var r=d(new g,e,b);return null!=n&&c(n,m,r[w],r),r}))).prototype=S,S.constructor=b),(_||M)&&(N("delete"),N("has"),m&&N("get")),(M||T)&&N(w),y&&S.clear&&delete S.clear}else b=v.getConstructor(e,t,m,w),a(b.prototype,n),u.NEED=!0;return h(b,t),E[t]=b,o(o.G+o.W+o.F*(b!=g),E),y||v.setStrong(b,t,m),b}},function(t,e,n){for(var r,o=n(2),i=n(13),a=n(33),u=a("typed_array"),c=a("view"),s=!(!o.ArrayBuffer||!o.DataView),l=s,f=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=o[p[f++]])?(i(r.prototype,u,!0),i(r.prototype,c,!0)):l=!1;t.exports={ABV:s,CONSTR:l,TYPED:u,VIEW:c}},,function(t,e,n){var r=n(3),o=n(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(8),o=n(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(34)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(64)("keys"),o=n(33);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(25);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(3),o=n(4),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(23)(Function.call,n(18).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){var r=n(3),o=n(70).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},function(t,e,n){"use strict";var r=n(27),o=n(26);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){"use strict";var r=n(34),o=n(0),i=n(10),a=n(13),u=n(42),c=n(111),s=n(41),l=n(39),f=n(5)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,d,v,m,y){c(n,e,d);var g,b,w,S=function(t){if(!p&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",N="values"==v,C=!1,T=t.prototype,_=T[f]||T["@@iterator"]||v&&T[v],x=_||S(v),M=v?N?S("entries"):x:void 0,O="Array"==e&&T.entries||_;if(O&&(w=l(O.call(new t)))!==Object.prototype&&w.next&&(s(w,E,!0),r||"function"==typeof w[f]||a(w,f,h)),N&&_&&"values"!==_.name&&(C=!0,x=function(){return _.call(this)}),r&&!y||!p&&!C&&T[f]||a(T,f,x),u[e]=x,u[E]=h,v)if(g={values:N?x:S("values"),keys:m?x:S("keys"),entries:M},y)for(b in g)b in T||i(T,b,g[b]);else o(o.P+o.F*(p||C),e,g);return g}},function(t,e,n){var r=n(78),o=n(26);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(3),o=n(25),i=n(5)("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(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(42),o=n(5)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(6),o=n(32);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(53),o=n(5)("iterator"),i=n(42);t.exports=n(8).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(15),o=n(36),i=n(9);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,u=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,s=void 0===c?n:o(c,n);s>u;)e[u++]=t;return e}},function(t,e,n){"use strict";var r=n(43),o=n(115),i=n(42),a=n(14);t.exports=n(76)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r=n(4);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r,o,i,a=n(23),u=n(104),c=n(69),s=n(63),l=n(2),f=l.process,p=l.setImmediate,h=l.clearImmediate,d=l.MessageChannel,v=l.Dispatch,m=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},b=function(t){g.call(t.data)};p&&h||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){u("function"==typeof t?t:Function(t),e)},r(m),m},h=function(t){delete y[t]},"process"==n(25)(f)?r=function(t){f.nextTick(a(g,t,1))}:v&&v.now?r=function(t){v.now(a(g,t,1))}:d?(i=(o=new d).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in s("script")?function(t){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:p,clear:h}},function(t,e,n){"use strict";var r=n(2),o=n(7),i=n(34),a=n(61),u=n(13),c=n(46),s=n(1),l=n(45),f=n(27),p=n(9),h=n(122),d=n(38).f,v=n(6).f,m=n(83),y=n(41),g="prototype",b="Wrong index!",w=r.ArrayBuffer,S=r.DataView,E=r.Math,N=r.RangeError,C=r.Infinity,T=w,_=E.abs,x=E.pow,M=E.floor,O=E.log,L=E.LN2,A=o?"_b":"buffer",D=o?"_l":"byteLength",P=o?"_o":"byteOffset";function F(t,e,n){var r,o,i,a=new Array(n),u=8*n-e-1,c=(1<<u)-1,s=c>>1,l=23===e?x(2,-24)-x(2,-77):0,f=0,p=t<0||0===t&&1/t<0?1:0;for((t=_(t))!=t||t===C?(o=t!=t?1:0,r=c):(r=M(O(t)/L),t*(i=x(2,-r))<1&&(r--,i*=2),(t+=r+s>=1?l/i:l*x(2,1-s))*i>=2&&(r++,i/=2),r+s>=c?(o=0,r=c):r+s>=1?(o=(t*i-1)*x(2,e),r+=s):(o=t*x(2,s-1)*x(2,e),r=0));e>=8;a[f++]=255&o,o/=256,e-=8);for(r=r<<e|o,u+=e;u>0;a[f++]=255&r,r/=256,u-=8);return a[--f]|=128*p,a}function j(t,e,n){var r,o=8*n-e-1,i=(1<<o)-1,a=i>>1,u=o-7,c=n-1,s=t[c--],l=127&s;for(s>>=7;u>0;l=256*l+t[c],c--,u-=8);for(r=l&(1<<-u)-1,l>>=-u,u+=e;u>0;r=256*r+t[c],c--,u-=8);if(0===l)l=1-a;else{if(l===i)return r?NaN:s?-C:C;r+=x(2,e),l-=a}return(s?-1:1)*r*x(2,l-e)}function H(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function R(t){return[255&t]}function I(t){return[255&t,t>>8&255]}function k(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function V(t){return F(t,52,8)}function U(t){return F(t,23,4)}function B(t,e,n){v(t[g],e,{get:function(){return this[n]}})}function q(t,e,n,r){var o=h(+n);if(o+e>t[D])throw N(b);var i=t[A]._b,a=o+t[P],u=i.slice(a,a+e);return r?u:u.reverse()}function G(t,e,n,r,o,i){var a=h(+n);if(a+e>t[D])throw N(b);for(var u=t[A]._b,c=a+t[P],s=r(+o),l=0;l<e;l++)u[c+l]=s[i?l:e-l-1]}if(a.ABV){if(!s((function(){w(1)}))||!s((function(){new w(-1)}))||s((function(){return new w,new w(1.5),new w(NaN),"ArrayBuffer"!=w.name}))){for(var W,K=(w=function(t){return l(this,w),new T(h(t))})[g]=T[g],z=d(T),$=0;z.length>$;)(W=z[$++])in w||u(w,W,T[W]);i||(K.constructor=w)}var X=new S(new w(2)),Y=S[g].setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),!X.getInt8(0)&&X.getInt8(1)||c(S[g],{setInt8:function(t,e){Y.call(this,t,e<<24>>24)},setUint8:function(t,e){Y.call(this,t,e<<24>>24)}},!0)}else w=function(t){l(this,w,"ArrayBuffer");var e=h(t);this._b=m.call(new Array(e),0),this[D]=e},S=function(t,e,n){l(this,S,"DataView"),l(t,w,"DataView");var r=t[D],o=f(e);if(o<0||o>r)throw N("Wrong offset!");if(o+(n=void 0===n?r-o:p(n))>r)throw N("Wrong length!");this[A]=t,this[P]=o,this[D]=n},o&&(B(w,"byteLength","_l"),B(S,"buffer","_b"),B(S,"byteLength","_l"),B(S,"byteOffset","_o")),c(S[g],{getInt8:function(t){return q(this,1,t)[0]<<24>>24},getUint8:function(t){return q(this,1,t)[0]},getInt16:function(t){var e=q(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=q(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return H(q(this,4,t,arguments[1]))},getUint32:function(t){return H(q(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return j(q(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return j(q(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){G(this,1,t,R,e)},setUint8:function(t,e){G(this,1,t,R,e)},setInt16:function(t,e){G(this,2,t,I,e,arguments[2])},setUint16:function(t,e){G(this,2,t,I,e,arguments[2])},setInt32:function(t,e){G(this,4,t,k,e,arguments[2])},setUint32:function(t,e){G(this,4,t,k,e,arguments[2])},setFloat32:function(t,e){G(this,4,t,U,e,arguments[2])},setFloat64:function(t,e){G(this,8,t,V,e,arguments[2])}});y(w,"ArrayBuffer"),y(S,"DataView"),u(S[g],a.VIEW,!0),e.ArrayBuffer=w,e.DataView=S},function(t,e){
|
|
21
|
-
/**
|
|
22
|
-
* @license
|
|
23
|
-
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
24
|
-
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
25
|
-
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
26
|
-
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
27
|
-
* Code distributed by Google as part of the polymer project is also
|
|
28
|
-
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
29
|
-
*/
|
|
30
|
-
!function(){"use strict";var t="undefined"==typeof HTMLTemplateElement,e=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),n=!1;/Trident/.test(navigator.userAgent)&&function(){n=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){var n=t.call(this,e);return this instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var e=Node.prototype.insertBefore;function r(t,n){if(t instanceof DocumentFragment)for(var r;r=t.firstChild;)e.call(this,r,n);else e.call(this,t,n);return t}Node.prototype.insertBefore=r;var o=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?r.call(this,t,null):o.call(this,t),t};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,e){return t instanceof DocumentFragment?(r.call(this,t,e),i.call(this,e)):a.call(this,t,e),e},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var u=Document.prototype.importNode;Document.prototype.importNode=function(t,e){e=e||!1;var n=u.call(this,t,e);return t instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n}}();var r=Node.prototype.cloneNode,o=Document.prototype.createElement,i=Document.prototype.importNode,a=Node.prototype.removeChild,u=Node.prototype.appendChild,c=Node.prototype.replaceChild,s=DOMParser.prototype.parseFromString,l=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},f=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,h=Document.prototype.querySelectorAll,d=DocumentFragment.prototype.querySelectorAll;function v(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return h.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return d.call(t,e);default:return p.call(t,e)}}var m=function(){if(!t){var n=document.createElement("template"),r=document.createElement("template");r.content.appendChild(document.createElement("div")),n.content.appendChild(r);var o=n.cloneNode(!0);return 0===o.content.childNodes.length||0===o.content.firstChild.content.childNodes.length||e}}(),y=function(){};if(t){var g=document.implementation.createHTMLDocument("template"),b=!0,w=document.createElement("style");w.textContent="template{display:none;}";var S=document.head;S.insertBefore(w,S.firstElementChild),y.prototype=Object.create(HTMLElement.prototype);var E=!document.createElement("div").hasOwnProperty("innerHTML");y.decorate=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){var e;for(t.content=g.createDocumentFragment();e=t.firstChild;)u.call(t.content,e);if(E)t.__proto__=y.prototype;else if(t.cloneNode=function(t){return y._cloneNode(this,t)},b)try{C(t),T(t)}catch(t){b=!1}y.bootstrap(t.content)}};var N={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},C=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return F(this)},set:function(t){var e=N[function(t){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()}(t)];if(e)for(var n=0;n<e.length;n++)t="<"+e[n]+">"+t+"</"+e[n]+">";for(g.body.innerHTML=t,y.bootstrap(g);this.content.firstChild;)a.call(this.content,this.content.firstChild);var r=g.body;if(e)for(var o=0;o<e.length;o++)r=r.lastChild;for(;r.firstChild;)u.call(this.content,r.firstChild)},configurable:!0})},T=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");g.body.innerHTML=t;for(var e=this.ownerDocument.createDocumentFragment();g.body.firstChild;)u.call(e,g.body.firstChild);c.call(this.parentNode,e,this)},configurable:!0})};C(y.prototype),T(y.prototype),y.bootstrap=function(t){for(var e,n=v(t,"template"),r=0,o=n.length;r<o&&(e=n[r]);r++)y.decorate(e)},document.addEventListener("DOMContentLoaded",(function(){y.bootstrap(document)})),Document.prototype.createElement=function(){var t=o.apply(this,arguments);return"template"===t.localName&&y.decorate(t),t},DOMParser.prototype.parseFromString=function(){var t=s.apply(this,arguments);return y.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return F(this)},set:function(t){l.set.call(this,t),y.bootstrap(this)},configurable:!0,enumerable:!0});var _=/[&\u00A0"]/g,x=/[&\u00A0<>]/g,M=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},O=function(t){return t.replace(_,M)},L=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e},A=L(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),D=L(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),P=function(t,e,n){switch(t.nodeType){case Node.ELEMENT_NODE:for(var r,o=t.localName,i="<"+o,a=t.attributes,u=0;r=a[u];u++)i+=" "+r.name+'="'+O(r.value)+'"';return i+=">",A[o]?i:i+F(t,n)+"</"+o+">";case Node.TEXT_NODE:var c=t.data;return e&&D[e.localName]?c:function(t){return t.replace(x,M)}(c);case Node.COMMENT_NODE:return"\x3c!--"+t.data+"--\x3e";default:throw window.console.error(t),new Error("not implemented")}},F=function(t,e){"template"===t.localName&&(t=t.content);for(var n,r="",o=e?e(t):f.get.call(t),i=0,a=o.length;i<a&&(n=o[i]);i++)r+=P(n,t,e);return r}}if(t||m){y._cloneNode=function(t,e){var n=r.call(t,!1);return this.decorate&&this.decorate(n),e&&(u.call(n.content,r.call(t.content,!0)),j(n.content,t.content)),n};var j=function(t,e){if(e.querySelectorAll){var n=v(e,"template");if(0!==n.length)for(var r,o,i=v(t,"template"),a=0,u=i.length;a<u;a++)o=n[a],r=i[a],y&&y.decorate&&y.decorate(o),c.call(r.parentNode,H.call(o,!0),r)}},H=Node.prototype.cloneNode=function(t){var o;if(!n&&e&&this instanceof DocumentFragment){if(!t)return this.ownerDocument.createDocumentFragment();o=R.call(this.ownerDocument,this,!0)}else o=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?y._cloneNode(this,t):r.call(this,t);return t&&j(o,this),o},R=Document.prototype.importNode=function(t,e){if(e=e||!1,"template"===t.localName)return y._cloneNode(t,e);var n=i.call(this,t,e);return e&&(j(n,t),function(t){for(var e,n,r=v(t,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),i=0;i<r.length;i++){n=r[i],(e=o.call(document,"script")).textContent=n.textContent;for(var a,u=n.attributes,s=0;s<u.length;s++)a=u[s],e.setAttribute(a.name,a.value);c.call(n.parentNode,e,n)}}(n)),n}}t&&(window.HTMLTemplateElement=y)}()},function(t,e){
|
|
31
|
-
/*!
|
|
32
|
-
ISC License
|
|
33
|
-
|
|
34
|
-
Copyright (c) 2014-2018, Andrea Giammarchi, @WebReflection
|
|
35
|
-
|
|
36
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
37
|
-
purpose with or without fee is hereby granted, provided that the above
|
|
38
|
-
copyright notice and this permission notice appear in all copies.
|
|
39
|
-
|
|
40
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
41
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
42
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
43
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
44
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
45
|
-
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
46
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
47
|
-
|
|
48
|
-
*/
|
|
49
|
-
!function(t,e){"use strict";var n=t.document,r=t.Object,o=function(t){var e,n,o,i,a=/^[A-Z]+[a-z]/,u=function(t,e){(e=e.toLowerCase())in c||(c[t]=(c[t]||[]).concat(e),c[e]=c[e.toUpperCase()]=t)},c=(r.create||r)(null),s={};for(n in t)for(i in t[n])for(o=t[n][i],c[i]=o,e=0;e<o.length;e++)c[o[e].toLowerCase()]=c[o[e].toUpperCase()]=i;return s.get=function(t){return"string"==typeof t?c[t]||(a.test(t)?[]:""):function(t){var e,n=[];for(e in c)t.test(e)&&n.push(e);return n}(t)},s.set=function(t,e){return a.test(t)?u(t,e):u(e,t),s},s}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof e&&(e={type:e||"auto"});var i,a,u,c,s,l,f,p,h,d="registerElement",v="__"+d+(1e5*t.Math.random()>>0),m="addEventListener",y="attached",g="Callback",b="detached",w="extends",S="attributeChanged"+g,E=y+g,N="connected"+g,C="disconnected"+g,T="created"+g,_=b+g,x="ADDITION",M="REMOVAL",O="DOMAttrModified",L="DOMContentLoaded",A="DOMSubtreeModified",D="<",P="=",F=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,j=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],H=[],R=[],I="",k=n.documentElement,V=H.indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},U=r.prototype,B=U.hasOwnProperty,q=U.isPrototypeOf,G=r.defineProperty,W=[],K=r.getOwnPropertyDescriptor,z=r.getOwnPropertyNames,$=r.getPrototypeOf,X=r.setPrototypeOf,Y=!!r.__proto__,J="__dreCEv1",Z=t.customElements,Q=!/^force/.test(e.type)&&!!(Z&&Z.define&&Z.get&&Z.whenDefined),tt=r.create||r,et=t.Map||function(){var t,e=[],n=[];return{get:function(t){return n[V.call(e,t)]},set:function(r,o){(t=V.call(e,r))<0?n[e.push(r)-1]=o:n[t]=o}}},nt=t.Promise||function(t){var e=[],n=!1,r={catch:function(){return r},then:function(t){return e.push(t),n&&setTimeout(o,1),r}};function o(t){for(n=!0;e.length;)e.shift()(t)}return t(o),r},rt=!1,ot=tt(null),it=tt(null),at=new et,ut=function(t){return t.toLowerCase()},ct=r.create||function t(e){return e?(t.prototype=e,new t):this},st=X||(Y?function(t,e){return t.__proto__=e,t}:z&&K?function(){function t(t,e){for(var n,r=z(e),o=0,i=r.length;o<i;o++)n=r[o],B.call(t,n)||G(t,n,K(e,n))}return function(e,n){do{t(e,n)}while((n=$(n))&&!q.call(n,e));return e}}():function(t,e){for(var n in e)t[n]=e[n];return t}),lt=t.MutationObserver||t.WebKitMutationObserver,ft=t.HTMLAnchorElement,pt=(t.HTMLElement||t.Element||t.Node).prototype,ht=!q.call(pt,k),dt=ht?function(t,e,n){return t[e]=n.value,t}:G,vt=ht?function(t){return 1===t.nodeType}:function(t){return q.call(pt,t)},mt=ht&&[],yt=pt.attachShadow,gt=pt.cloneNode,bt=pt.dispatchEvent,wt=pt.getAttribute,St=pt.hasAttribute,Et=pt.removeAttribute,Nt=pt.setAttribute,Ct=n.createElement,Tt=n.importNode,_t=Ct,xt=lt&&{attributes:!0,characterData:!0,attributeOldValue:!0},Mt=lt||function(t){Pt=!1,k.removeEventListener(O,Mt)},Ot=0,Lt=d in n&&!/^force-all/.test(e.type),At=!0,Dt=!1,Pt=!0,Ft=!0,jt=!0;function Ht(){var t=i.splice(0,i.length);for(Ot=0;t.length;)t.shift().call(null,t.shift())}function Rt(t,e){for(var n=0,r=t.length;n<r;n++)$t(t[n],e)}function It(t){return function(e){vt(e)&&($t(e,t),I.length&&Rt(e.querySelectorAll(I),t))}}function kt(t){var e=wt.call(t,"is"),n=t.nodeName.toUpperCase(),r=V.call(H,e?P+e.toUpperCase():D+n);return e&&-1<r&&!Vt(n,e)?-1:r}function Vt(t,e){return-1<I.indexOf(t+'[is="'+e+'"]')}function Ut(t){var e=t.currentTarget,n=t.attrChange,r=t.attrName,o=t.target,i=t[x]||2,a=t[M]||3;!jt||o&&o!==e||!e[S]||"style"===r||t.prevValue===t.newValue&&(""!==t.newValue||n!==i&&n!==a)||e[S](r,n===i?null:t.prevValue,n===a?null:t.newValue)}function Bt(t){var e=It(t);return function(t){i.push(e,t.target),Ot&&clearTimeout(Ot),Ot=setTimeout(Ht,1)}}function qt(t){Ft&&(Ft=!1,t.currentTarget.removeEventListener(L,qt)),I.length&&Rt((t.target||n).querySelectorAll(I),t.detail===b?b:y),ht&&function(){for(var t,e=0,n=mt.length;e<n;e++)t=mt[e],k.contains(t)||(n--,mt.splice(e--,1),$t(t,b))}()}function Gt(t,e){Nt.call(this,t,e),a.call(this,{target:this})}function Wt(t,e,n){var r=e.apply(t,n),o=kt(r);return-1<o&&p(r,R[o]),n.pop()&&I.length&&function(t){for(var e,n=0,r=t.length;n<r;n++)e=t[n],p(e,R[kt(e)])}(r.querySelectorAll(I)),r}function Kt(t,e){st(t,e),s?s.observe(t,xt):(Pt&&(t.setAttribute=Gt,t[v]=c(t),t[m](A,a)),t[m](O,Ut)),t[T]&&jt&&(t.created=!0,t[T](),t.created=!1)}function zt(t){throw new Error("A "+t+" type is already registered")}function $t(t,e){var n,r,o=kt(t);-1<o&&(f(t,R[o]),o=0,e!==y||t[y]?e!==b||t[b]||(t[y]=!1,t[b]=!0,r="disconnected",o=1):(t[b]=!1,t[y]=!0,r="connected",o=1,ht&&V.call(mt,t)<0&&mt.push(t)),o&&(n=t[e+g]||t[r+g])&&n.call(t))}function Xt(){}function Yt(t,e,r){var o=r&&r[w]||"",i=e.prototype,a=ct(i),u=e.observedAttributes||W,c={prototype:a};dt(a,T,{value:function(){if(rt)rt=!1;else if(!this[J]){this[J]=!0,new e(this),i[T]&&i[T].call(this);var t=ot[at.get(e)];(!Q||t.create.length>1)&&Qt(this)}}}),dt(a,S,{value:function(t){-1<V.call(u,t)&&i[S]&&i[S].apply(this,arguments)}}),i[N]&&dt(a,E,{value:i[N]}),i[C]&&dt(a,_,{value:i[C]}),o&&(c[w]=o),t=t.toUpperCase(),ot[t]={constructor:e,create:o?[o,ut(t)]:[t]},at.set(e,t),n[d](t.toLowerCase(),c),te(t),it[t].r()}function Jt(t){var e=ot[t.toUpperCase()];return e&&e.constructor}function Zt(t){return"string"==typeof t?t:t&&t.is||""}function Qt(t){for(var e,n=t[S],r=n?t.attributes:W,o=r.length;o--;)e=r[o],n.call(t,e.name||e.nodeName,null,e.value||e.nodeValue)}function te(t){return(t=t.toUpperCase())in it||(it[t]={},it[t].p=new nt((function(e){it[t].r=e}))),it[t].p}function ee(){Z&&delete t.customElements,G(t,"customElements",{configurable:!0,value:new Xt}),G(t,"CustomElementRegistry",{configurable:!0,value:Xt});for(var e=function(e){var r=t[e];if(r){t[e]=function(t){var e,o;return t||(t=this),t[J]||(rt=!0,e=ot[at.get(t.constructor)],(t=(o=Q&&1===e.create.length)?Reflect.construct(r,W,e.constructor):n.createElement.apply(n,e.create))[J]=!0,rt=!1,o||Qt(t)),t},t[e].prototype=r.prototype;try{r.prototype.constructor=t[e]}catch(n){!0,G(r,J,{value:t[e]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),i=r.length;i--;e(r[i]));n.createElement=function(t,e){var n=Zt(e);return n?_t.call(this,t,ut(n)):_t.call(this,t)},Lt||(Dt=!0,n[d](""))}if(lt&&((h=n.createElement("div")).innerHTML="<div><div></div></div>",new lt((function(t,e){if(t[0]&&"childList"==t[0].type&&!t[0].removedNodes[0].childNodes.length){var n=(h=K(pt,"innerHTML"))&&h.set;n&&G(pt,"innerHTML",{set:function(t){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,t)}})}e.disconnect(),h=null})).observe(h,{childList:!0,subtree:!0}),h.innerHTML=""),Lt||(X||Y?(f=function(t,e){q.call(e,t)||Kt(t,e)},p=Kt):p=f=function(t,e){t[v]||(t[v]=r(!0),Kt(t,e))},ht?(Pt=!1,function(){var t=K(pt,m),e=t.value,n=function(t){var e=new CustomEvent(O,{bubbles:!0});e.attrName=t,e.prevValue=wt.call(this,t),e.newValue=null,e[M]=e.attrChange=2,Et.call(this,t),bt.call(this,e)},r=function(t,e){var n=St.call(this,t),r=n&&wt.call(this,t),o=new CustomEvent(O,{bubbles:!0});Nt.call(this,t,e),o.attrName=t,o.prevValue=n?r:null,o.newValue=e,n?o.MODIFICATION=o.attrChange=1:o[x]=o.attrChange=0,bt.call(this,o)},o=function(t){var e,n=t.currentTarget,r=n[v],o=t.propertyName;r.hasOwnProperty(o)&&(r=r[o],(e=new CustomEvent(O,{bubbles:!0})).attrName=r.name,e.prevValue=r.value||null,e.newValue=r.value=n[o]||null,null==e.prevValue?e[x]=e.attrChange=0:e.MODIFICATION=e.attrChange=1,bt.call(n,e))};t.value=function(t,i,a){t===O&&this[S]&&this.setAttribute!==r&&(this[v]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,e.call(this,"propertychange",o)),e.call(this,t,i,a)},G(pt,m,t)}()):lt||(k[m](O,Mt),k.setAttribute(v,1),k.removeAttribute(v),Pt&&(a=function(t){var e,n,r;if(this===t.target){for(r in e=this[v],this[v]=n=c(this),n){if(!(r in e))return u(0,this,r,e[r],n[r],x);if(n[r]!==e[r])return u(1,this,r,e[r],n[r],"MODIFICATION")}for(r in e)if(!(r in n))return u(2,this,r,e[r],n[r],M)}},u=function(t,e,n,r,o,i){var a={attrChange:t,currentTarget:e,attrName:n,prevValue:r,newValue:o};a[i]=t,Ut(a)},c=function(t){for(var e,n,r={},o=t.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(e=o[i]).name)&&(r[n]=e.value);return r})),n[d]=function(t,e){if(r=t.toUpperCase(),At&&(At=!1,lt?(s=function(t,e){function n(t,e){for(var n=0,r=t.length;n<r;e(t[n++]));}return new lt((function(r){for(var o,i,a,u=0,c=r.length;u<c;u++)"childList"===(o=r[u]).type?(n(o.addedNodes,t),n(o.removedNodes,e)):(i=o.target,jt&&i[S]&&"style"!==o.attributeName&&(a=wt.call(i,o.attributeName))!==o.oldValue&&i[S](o.attributeName,o.oldValue,a))}))}(It(y),It(b)),(l=function(t){return s.observe(t,{childList:!0,subtree:!0}),t})(n),yt&&(pt.attachShadow=function(){return l(yt.apply(this,arguments))})):(i=[],n[m]("DOMNodeInserted",Bt(y)),n[m]("DOMNodeRemoved",Bt(b))),n[m](L,qt),n[m]("readystatechange",qt),n.importNode=function(t,e){switch(t.nodeType){case 1:return Wt(n,Tt,[t,!!e]);case 11:for(var r=n.createDocumentFragment(),o=t.childNodes,i=o.length,a=0;a<i;a++)r.appendChild(n.importNode(o[a],!!e));return r;default:return gt.call(t,!!e)}},pt.cloneNode=function(t){return Wt(this,gt,[!!t])}),Dt)return Dt=!1;if(-2<V.call(H,P+r)+V.call(H,D+r)&&zt(t),!F.test(r)||-1<V.call(j,r))throw new Error("The type "+t+" is invalid");var r,o,a=function(){return c?n.createElement(f,r):n.createElement(f)},u=e||U,c=B.call(u,w),f=c?e[w].toUpperCase():r;return c&&-1<V.call(H,D+f)&&zt(f),o=H.push((c?P:D)+r)-1,I=I.concat(I.length?",":"",c?f+'[is="'+t.toLowerCase()+'"]':f),a.prototype=R[o]=B.call(u,"prototype")?u.prototype:ct(pt),I.length&&Rt(n.querySelectorAll(I),y),a},n.createElement=_t=function(t,e){var r=Zt(e),o=r?Ct.call(n,t,ut(r)):Ct.call(n,t),i=""+t,a=V.call(H,(r?P:D)+(r||i).toUpperCase()),u=-1<a;return r&&(o.setAttribute("is",r=r.toLowerCase()),u&&(u=Vt(i.toUpperCase(),r))),jt=!n.createElement.innerHTMLHelper,u&&p(o,R[a]),o}),Xt.prototype={constructor:Xt,define:Q?function(t,e,n){if(n)Yt(t,e,n);else{var r=t.toUpperCase();ot[r]={constructor:e,create:[r]},at.set(e,r),Z.define(t,e)}}:Yt,get:Q?function(t){return Z.get(t)||Jt(t)}:Jt,whenDefined:Q?function(t){return nt.race([Z.whenDefined(t),te(t)])}:te},!Z||/^force/.test(e.type))ee();else if(!e.noBuiltIn)try{!function(e,r,o){var i=new RegExp("^<a\\s+is=('|\")"+o+"\\1></a>$");if(r[w]="a",(e.prototype=ct(ft.prototype)).constructor=e,t.customElements.define(o,e,r),!i.test(n.createElement("a",{is:o}).outerHTML)||!i.test((new e).outerHTML))throw r}((function t(){return Reflect.construct(ft,[],t)}),{},"document-register-element-a")}catch(t){ee()}if(!e.noBuiltIn)try{if(Ct.call(n,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(t){ut=function(t){return{is:t.toLowerCase()}}}}(window)},function(t,e,n){(function(t){(function(){"use strict";var e="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},n="undefined"!=typeof window&&window===this?this:void 0!==t&&null!=t?t:this;function r(){r=function(){},n.Symbol||(n.Symbol=i)}var o,i=(o=0,function(t){return"jscomp_symbol_"+(t||"")+o++});function a(){r();var t=n.Symbol.iterator;t||(t=n.Symbol.iterator=n.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&e(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return u(this)}}),a=function(){}}function u(t){var e=0;return function(t){return a(),(t={next:t})[n.Symbol.iterator]=function(){return this},t}((function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}))}function c(t){a(),r(),a();var e=t[Symbol.iterator];return e?e.call(t):u(t)}function s(t,e){return{index:t,l:[],v:e}}function l(t,e,n,r){var o=0,i=0,a=0,u=0,c=Math.min(e-o,r-i);if(0==o&&0==i)t:{for(a=0;a<c;a++)if(t[a]!==n[a])break t;a=c}if(e==t.length&&r==n.length){u=t.length;for(var l=n.length,p=0;p<c-a&&f(t[--u],n[--l]);)p++;u=p}if(i+=a,r-=u,0==(e-=u)-(o+=a)&&0==r-i)return[];if(o==e){for(e=s(o,0);i<r;)e.l.push(n[i++]);return[e]}if(i==r)return[s(o,e-o)];for(r=r-(a=i)+1,u=e-(c=o)+1,e=Array(r),l=0;l<r;l++)e[l]=Array(u),e[l][0]=l;for(l=0;l<u;l++)e[0][l]=l;for(l=1;l<r;l++)for(p=1;p<u;p++)if(t[c+p-1]===n[a+l-1])e[l][p]=e[l-1][p-1];else{var h=e[l-1][p]+1,d=e[l][p-1]+1;e[l][p]=h<d?h:d}for(c=e.length-1,a=e[0].length-1,r=e[c][a],t=[];0<c||0<a;)0==c?(t.push(2),a--):0==a?(t.push(3),c--):(u=e[c-1][a-1],(h=(l=e[c-1][a])<(p=e[c][a-1])?l<u?l:u:p<u?p:u)==u?(u==r?t.push(0):(t.push(1),r=u),c--,a--):h==l?(t.push(3),c--,r=l):(t.push(2),a--,r=p));for(t.reverse(),e=void 0,c=[],a=0;a<t.length;a++)switch(t[a]){case 0:e&&(c.push(e),e=void 0),o++,i++;break;case 1:e||(e=s(o,0)),e.v++,o++,e.l.push(n[i]),i++;break;case 2:e||(e=s(o,0)),e.v++,o++;break;case 3:e||(e=s(o,0)),e.l.push(n[i]),i++}return e&&c.push(e),c}function f(t,e){return t===e}function p(){this.N=this.root=null,this.A=!1,this.h=this.s=this.G=this.assignedSlot=this.assignedNodes=this.i=null,this.childNodes=this.nextSibling=this.previousSibling=this.lastChild=this.firstChild=this.parentNode=this.j=void 0,this.R=this.J=!1,this.o={}}function h(t){return t.D||(t.D=new p),t.D}function d(t){return t&&t.D}p.prototype.toJSON=function(){return{}};var v=window.ShadyDOM||{};v.$=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var m=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");v.g=!!(m&&m.configurable&&m.get),v.H=v.force||!v.$;var y=navigator.userAgent.match("Trident"),g=navigator.userAgent.match("Edge");function b(t){return(t=d(t))&&void 0!==t.firstChild}function w(t){return"ShadyRoot"===t.W}function S(t){if(w(t=t.getRootNode()))return t}void 0===v.O&&(v.O=v.g&&(y||g));var E=Element.prototype,N=E.matches||E.matchesSelector||E.mozMatchesSelector||E.msMatchesSelector||E.oMatchesSelector||E.webkitMatchesSelector;function C(t,e){if(t&&e)for(var n,r=Object.getOwnPropertyNames(e),o=0;o<r.length&&(n=r[o]);o++){var i=n,a=t,u=Object.getOwnPropertyDescriptor(e,i);u&&Object.defineProperty(a,i,u)}}function T(t,e){for(var n=[],r=1;r<arguments.length;++r)n[r-1]=arguments[r];for(r=0;r<n.length;r++)C(t,n[r]);return t}var _=document.createTextNode(""),x=0,M=[];function O(t){M.push(t),_.textContent=x++}new MutationObserver((function(){for(;M.length;)try{M.shift()()}catch(t){throw _.textContent=x++,t}})).observe(_,{characterData:!0});var L=!!document.contains;function A(t,e){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function D(t){for(var e=t.length-1;0<=e;e--){var n=t[e],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(t[r]=n)}return t.item=function(e){return t[e]},t.namedItem=function(e){if("length"!==e&&isNaN(e)&&t[e])return t[e];for(var n=c(t),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==e)return r;return null},t}var P,F=[];function j(t){P||(P=!0,O(H)),F.push(t)}function H(){P=!1;for(var t=!!F.length;F.length;)F.shift()();return t}H.list=F;var R=/[&\u00A0"]/g,I=/[&\u00A0<>]/g;function k(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function V(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}var U=V("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),B=V("style script xmp iframe noembed noframes plaintext noscript".split(" "));function q(t,e){"template"===t.localName&&(t=t.content);for(var n,r="",o=e?e(t):t.childNodes,i=0,a=o.length;i<a&&(n=o[i]);i++){t:{var u=n,c=t,s=e;switch(u.nodeType){case Node.ELEMENT_NODE:for(var l=u.localName,f="<"+l,p=u.attributes,h=0;c=p[h];h++)f+=" "+c.name+'="'+c.value.replace(R,k)+'"';f+=">",u=U[l]?f:f+q(u,s)+"</"+l+">";break t;case Node.TEXT_NODE:u=u.data,u=c&&B[c.localName]?u:u.replace(I,k);break t;case Node.COMMENT_NODE:u="\x3c!--"+u.data+"--\x3e";break t;default:throw window.console.error(u),Error("not implemented")}}r+=u}return r}var G=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),W=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);function K(t){var e=[];for(G.currentNode=t,t=G.firstChild();t;)e.push(t),t=G.nextSibling();return e}var z={parentNode:function(t){return G.currentNode=t,G.parentNode()},firstChild:function(t){return G.currentNode=t,G.firstChild()},lastChild:function(t){return G.currentNode=t,G.lastChild()},previousSibling:function(t){return G.currentNode=t,G.previousSibling()},nextSibling:function(t){return G.currentNode=t,G.nextSibling()}};z.childNodes=K,z.parentElement=function(t){return W.currentNode=t,W.parentNode()},z.firstElementChild=function(t){return W.currentNode=t,W.firstChild()},z.lastElementChild=function(t){return W.currentNode=t,W.lastChild()},z.previousElementSibling=function(t){return W.currentNode=t,W.previousSibling()},z.nextElementSibling=function(t){return W.currentNode=t,W.nextSibling()},z.children=function(t){var e=[];for(W.currentNode=t,t=W.firstChild();t;)e.push(t),t=W.nextSibling();return D(e)},z.innerHTML=function(t){return q(t,(function(t){return K(t)}))},z.textContent=function(t){switch(t.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:t=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null,!1);for(var e,n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return t.nodeValue}};var $=v.g,X=[Node.prototype,Element.prototype,HTMLElement.prototype];function Y(t){var e;t:{for(e=0;e<X.length;e++){var n=X[e];if(n.hasOwnProperty(t)){e=n;break t}}e=void 0}if(!e)throw Error("Could not find descriptor for "+t);return Object.getOwnPropertyDescriptor(e,t)}var J=$?{parentNode:Y("parentNode"),firstChild:Y("firstChild"),lastChild:Y("lastChild"),previousSibling:Y("previousSibling"),nextSibling:Y("nextSibling"),childNodes:Y("childNodes"),parentElement:Y("parentElement"),previousElementSibling:Y("previousElementSibling"),nextElementSibling:Y("nextElementSibling"),innerHTML:Y("innerHTML"),textContent:Y("textContent"),firstElementChild:Y("firstElementChild"),lastElementChild:Y("lastElementChild"),children:Y("children")}:{},Z=$?{firstElementChild:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"children")}:{},Q=$?{firstElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(Document.prototype,"children")}:{},tt={M:J,ja:Z,ea:Q,parentNode:function(t){return J.parentNode.get.call(t)},firstChild:function(t){return J.firstChild.get.call(t)},lastChild:function(t){return J.lastChild.get.call(t)},previousSibling:function(t){return J.previousSibling.get.call(t)},nextSibling:function(t){return J.nextSibling.get.call(t)},childNodes:function(t){return Array.prototype.slice.call(J.childNodes.get.call(t))},parentElement:function(t){return J.parentElement.get.call(t)},previousElementSibling:function(t){return J.previousElementSibling.get.call(t)},nextElementSibling:function(t){return J.nextElementSibling.get.call(t)},innerHTML:function(t){return J.innerHTML.get.call(t)},textContent:function(t){return J.textContent.get.call(t)},children:function(t){switch(t.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return Z.children.get.call(t);case Node.DOCUMENT_NODE:return Q.children.get.call(t);default:return J.children.get.call(t)}},firstElementChild:function(t){switch(t.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return Z.firstElementChild.get.call(t);case Node.DOCUMENT_NODE:return Q.firstElementChild.get.call(t);default:return J.firstElementChild.get.call(t)}},lastElementChild:function(t){switch(t.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return Z.lastElementChild.get.call(t);case Node.DOCUMENT_NODE:return Q.lastElementChild.get.call(t);default:return J.lastElementChild.get.call(t)}}},et=v.O?tt:z,nt=Element.prototype.insertBefore,rt=Element.prototype.replaceChild,ot=Element.prototype.removeChild,it=Element.prototype.setAttribute,at=Element.prototype.removeAttribute,ut=Element.prototype.cloneNode,ct=Document.prototype.importNode,st=Element.prototype.addEventListener,lt=Element.prototype.removeEventListener,ft=Window.prototype.addEventListener,pt=Window.prototype.removeEventListener,ht=Element.prototype.dispatchEvent,dt=Node.prototype.contains||HTMLElement.prototype.contains,vt=Document.prototype.getElementById,mt=Element.prototype.querySelector,yt=DocumentFragment.prototype.querySelector,gt=Document.prototype.querySelector,bt=Element.prototype.querySelectorAll,wt=DocumentFragment.prototype.querySelectorAll,St=Document.prototype.querySelectorAll,Et={};function Nt(t){for(;t.firstChild;)t.removeChild(t.firstChild)}Et.appendChild=Element.prototype.appendChild,Et.insertBefore=nt,Et.replaceChild=rt,Et.removeChild=ot,Et.setAttribute=it,Et.removeAttribute=at,Et.cloneNode=ut,Et.importNode=ct,Et.addEventListener=st,Et.removeEventListener=lt,Et.aa=ft,Et.ba=pt,Et.dispatchEvent=ht,Et.contains=dt,Et.getElementById=vt,Et.ha=mt,Et.ka=yt,Et.fa=gt,Et.querySelector=function(t){switch(this.nodeType){case Node.ELEMENT_NODE:return mt.call(this,t);case Node.DOCUMENT_NODE:return gt.call(this,t);default:return yt.call(this,t)}},Et.ia=bt,Et.la=wt,Et.ga=St,Et.querySelectorAll=function(t){switch(this.nodeType){case Node.ELEMENT_NODE:return bt.call(this,t);case Node.DOCUMENT_NODE:return St.call(this,t);default:return wt.call(this,t)}};var Ct=v.g,Tt=document.implementation.createHTMLDocument("inert"),_t=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),xt=_t&&_t.get,Mt=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Ot={parentElement:{get:function(){var t=d(this);return(t=t&&t.parentNode)&&t.nodeType!==Node.ELEMENT_NODE&&(t=null),void 0!==t?t:et.parentElement(this)},configurable:!0},parentNode:{get:function(){var t=d(this);return void 0!==(t=t&&t.parentNode)?t:et.parentNode(this)},configurable:!0},nextSibling:{get:function(){var t=d(this);return void 0!==(t=t&&t.nextSibling)?t:et.nextSibling(this)},configurable:!0},previousSibling:{get:function(){var t=d(this);return void 0!==(t=t&&t.previousSibling)?t:et.previousSibling(this)},configurable:!0},nextElementSibling:{get:function(){var t=d(this);if(t&&void 0!==t.nextSibling){for(t=this.nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.nextSibling;return t}return et.nextElementSibling(this)},configurable:!0},previousElementSibling:{get:function(){var t=d(this);if(t&&void 0!==t.previousSibling){for(t=this.previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.previousSibling;return t}return et.previousElementSibling(this)},configurable:!0}},Lt={className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)},configurable:!0}},At={childNodes:{get:function(){if(b(this)){var t=d(this);if(!t.childNodes){t.childNodes=[];for(var e=this.firstChild;e;e=e.nextSibling)t.childNodes.push(e)}var n=t.childNodes}else n=et.childNodes(this);return n.item=function(t){return n[t]},n},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var t=d(this);return void 0!==(t=t&&t.firstChild)?t:et.firstChild(this)},configurable:!0},lastChild:{get:function(){var t=d(this);return void 0!==(t=t&&t.lastChild)?t:et.lastChild(this)},configurable:!0},textContent:{get:function(){if(b(this)){for(var t,e=[],n=0,r=this.childNodes;t=r[n];n++)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")}return et.textContent(this)},set:function(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!b(this)&&Ct){var e=this.firstChild;(e!=this.lastChild||e&&e.nodeType!=Node.TEXT_NODE)&&Nt(this),tt.M.textContent.set.call(this,t)}else Nt(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(t));break;default:this.nodeValue=t}},configurable:!0},firstElementChild:{get:function(){var t=d(this);if(t&&void 0!==t.firstChild){for(t=this.firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.nextSibling;return t}return et.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){var t=d(this);if(t&&void 0!==t.lastChild){for(t=this.lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.previousSibling;return t}return et.lastElementChild(this)},configurable:!0},children:{get:function(){return b(this)?D(Array.prototype.filter.call(this.childNodes,(function(t){return t.nodeType===Node.ELEMENT_NODE}))):et.children(this)},configurable:!0},innerHTML:{get:function(){return b(this)?q("template"===this.localName?this.content:this):et.innerHTML(this)},set:function(t){var e="template"===this.localName?this.content:this;Nt(e);var n=this.localName||"div";for(n=this.namespaceURI&&this.namespaceURI!==Tt.namespaceURI?Tt.createElementNS(this.namespaceURI,n):Tt.createElement(n),Ct?tt.M.innerHTML.set.call(n,t):n.innerHTML=t,t="template"===this.localName?n.content:n;t.firstChild;)e.appendChild(t.firstChild)},configurable:!0}},Dt={shadowRoot:{get:function(){var t=d(this);return t&&t.N||null},configurable:!0}},Pt={activeElement:{get:function(){var t=Mt&&Mt.get?Mt.get.call(document):v.g?void 0:document.activeElement;if(t&&t.nodeType){var e=!!w(this);if(this===document||e&&this.host!==t&&Et.contains.call(this.host,t)){for(e=S(t);e&&e!==this;)e=S(t=e.host);t=this===document?e?null:t:e===this?t:null}else t=null}else t=null;return t},set:function(){},configurable:!0}};function Ft(t,e,n){for(var r in e){var o=Object.getOwnPropertyDescriptor(t,r);o&&o.configurable||!o&&n?Object.defineProperty(t,r,e[r]):n&&console.warn("Could not define",r,"on",t)}}function jt(t){Ft(t,Ot),Ft(t,Lt),Ft(t,At),Ft(t,Pt)}var Ht=v.g?function(){}:function(t){var e=h(t);e.J||(e.J=!0,Ft(t,Ot,!0),Ft(t,Lt,!0))},Rt=v.g?function(){}:function(t){h(t).R||(Ft(t,At,!0),Ft(t,Dt,!0))},It=et.childNodes;function kt(t,e,n){Ht(t),n=n||null;var r=h(t),o=h(e),i=n?h(n):null;r.previousSibling=n?i.previousSibling:e.lastChild,(i=d(r.previousSibling))&&(i.nextSibling=t),(i=d(r.nextSibling=n))&&(i.previousSibling=t),r.parentNode=e,n?n===o.firstChild&&(o.firstChild=t):(o.lastChild=t,o.firstChild||(o.firstChild=t)),o.childNodes=null}function Vt(t){var e=h(t);if(void 0===e.firstChild){e.childNodes=null;var n=It(t);for(e.firstChild=n[0]||null,e.lastChild=n[n.length-1]||null,Rt(t),e=0;e<n.length;e++){var r=n[e],o=h(r);o.parentNode=t,o.nextSibling=n[e+1]||null,o.previousSibling=n[e-1]||null,Ht(r)}}}var Ut,Bt=et.parentNode,qt=et.childNodes,Gt={},Wt=v.deferConnectionCallbacks&&"loading"===document.readyState;function Kt(t){var e=[];do{e.unshift(t)}while(t=t.parentNode);return e}function zt(t,e,n){if(t!==Gt)throw new TypeError("Illegal constructor");this.W="ShadyRoot",this.host=e,this.Z=n&&n.mode,Vt(e),(t=h(e)).root=this,t.N="closed"!==this.Z?this:null,(t=h(this)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,t.childNodes=[],this.L=this.u=!1,this.c=this.b=this.a=null,$t(this)}function $t(t){t.u||(t.u=!0,j((function(){return Xt(t)})))}function Xt(t){for(var e;t;){t.u&&(e=t);t:{var n=t;if(w(t=n.host.getRootNode()))for(var r=n.host.childNodes,o=0;o<r.length;o++)if("slot"==(n=r[o]).localName)break t;t=void 0}}e&&e._renderRoot()}function Yt(t,e,n){var r=h(e),o=r.s;r.s=null,n||(n=(t=t.b[e.slot||"__catchall"])&&t[0]),n?(h(n).assignedNodes.push(e),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(h(r.assignedSlot).A=!0)}function Jt(t,e,n){for(var r,o=0;o<n.length&&(r=n[o]);o++)if("slot"==r.localName){var i=d(r).assignedNodes;i&&i.length&&Jt(t,e,i)}else e.push(n[o])}function Zt(t,e){Et.dispatchEvent.call(e,new Event("slotchange")),(e=d(e)).assignedSlot&&Zt(t,e.assignedSlot)}function Qt(t){if(t.c&&t.c.length){for(var e,n=t.c,r=0;r<n.length;r++){var o=n[r];Vt(o),Vt(o.parentNode);var i=te(o);t.b[i]?((e=e||{})[i]=!0,t.b[i].push(o)):t.b[i]=[o],t.a.push(o)}if(e)for(var a in e)t.b[a]=ee(t.b[a]);t.c=[]}}function te(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.U=e}function ee(t){return t.sort((function(t,e){t=Kt(t);for(var n=Kt(e),r=0;r<t.length;r++){e=t[r];var o=n[r];if(e!==o)return(t=Array.from(e.parentNode.childNodes)).indexOf(e)-t.indexOf(o)}}))}function ne(t){return Qt(t),!(!t.a||!t.a.length)}if(zt.prototype._renderRoot=function(){var t=Wt;if(Wt=!0,this.u=!1,this.a){Qt(this);for(var e,n=0;n<this.a.length;n++){var r=d(e=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.h=[],r.G=o)for(r=0;r<o.length;r++){var i=d(o[r]);i.s=i.assignedSlot,i.assignedSlot===e&&(i.assignedSlot=null)}}for(e=this.host.firstChild;e;e=e.nextSibling)Yt(this,e);for(n=0;n<this.a.length;n++){if(!(o=d(e=this.a[n])).assignedNodes.length)for(r=e.firstChild;r;r=r.nextSibling)Yt(this,r,e);if((r=(r=d(e.parentNode))&&r.root)&&ne(r)&&r._renderRoot(),Jt(this,o.h,o.assignedNodes),r=o.G){for(i=0;i<r.length;i++)d(r[i]).s=null;o.G=null,r.length>o.assignedNodes.length&&(o.A=!0)}o.A&&(o.A=!1,Zt(this,e))}for(n=this.a,e=[],o=0;o<n.length;o++)(i=d(r=n[o].parentNode))&&i.root||!(0>e.indexOf(r))||e.push(r);for(n=0;n<e.length;n++){r=(o=e[n])===this?this.host:o,i=[],o=o.childNodes;for(var a=0;a<o.length;a++){var u=o[a];if("slot"==u.localName){u=d(u).h;for(var c=0;c<u.length;c++)i.push(u[c])}else i.push(u)}o=void 0,a=qt(r),u=l(i,i.length,a,a.length);for(var s=c=0;c<u.length&&(o=u[c]);c++){for(var f,p=0;p<o.l.length&&(f=o.l[p]);p++)Bt(f)===r&&Et.removeChild.call(r,f),a.splice(o.index+s,1);s-=o.v}for(s=0;s<u.length&&(o=u[s]);s++)for(c=a[o.index],p=o.index;p<o.index+o.v;p++)f=i[p],Et.insertBefore.call(r,f,c),a.splice(p,0,f)}}if(!this.L)for(e=0,n=(f=this.host.childNodes).length;e<n;e++)r=d(o=f[e]),Bt(o)!==this.host||"slot"!==o.localName&&r.assignedSlot||Et.removeChild.call(this.host,o);this.L=!0,Wt=t,Ut&&Ut()},window.customElements&&v.H){var re=new Map;Ut=function(){var t=Array.from(re);re.clear();for(var e=(t=c(t)).next();!e.done;e=t.next()){var n=(e=c(e.value)).next().value;e.next().value?n.S():n.T()}},Wt&&document.addEventListener("readystatechange",(function(){Wt=!1,Ut()}),{once:!0});var oe=window.customElements.define;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:function(t,e){var n=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;oe.call(window.customElements,t,function(t,e,n){var r=0,o="__isConnected"+r++;return(e||n)&&(t.prototype.connectedCallback=t.prototype.S=function(){Wt?re.set(this,!0):this[o]||(this[o]=!0,e&&e.call(this))},t.prototype.disconnectedCallback=t.prototype.T=function(){Wt?this.isConnected||re.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),t}(e,n,r)),e.prototype.connectedCallback=n,e.prototype.disconnectedCallback=r}})}var ie=et.parentNode;function ae(t,e,n){if(e===t)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(n){var r=d(n);if(void 0!==(r=r&&r.parentNode)&&r!==t||void 0===r&&ie(n)!==t)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(n===e)return e;var o=[],i=ve,a=S(t),u=a?a.host.localName:"";if(e.parentNode){var s=ye(e);ue(e.parentNode,e,!(!a&&e.getRootNode()instanceof ShadowRoot)),i=function(t,e){he()&&(me(t,s),ve(t,e))}}r=!0;var l=!function t(e,n){var r=he();if(!r)return!0;if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){r=!0;for(var o=0;r&&o<e.childNodes.length;o++)r=r&&t(e.childNodes[o],n);return r}return e.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(e)===n}(e,u);return!a||e.__noInsertionPoint&&!l||ge(e,(function(t){"slot"===t.localName&&o.push(t),l&&i(t,u)})),o.length&&function(t,e){t.c=t.c||[],t.a=t.a||[],t.b=t.b||{},t.c.push.apply(t.c,e instanceof Array?e:function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(c(e)))}(a,o),("slot"===t.localName||o.length)&&a&&$t(a),b(t)&&(function(t,e,n){Rt(e);var r=h(e);if(void 0!==r.firstChild&&(r.childNodes=null),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){r=t.childNodes;for(var o=0;o<r.length;o++)kt(r[o],e,n);e=void 0!==(t=h(t)).firstChild?null:void 0,t.firstChild=t.lastChild=e,t.childNodes=e}else kt(t,e,n)}(e,t,n),a=d(t),ce(t)?($t(a.root),r=!1):a.root&&(r=!1)),r?(r=w(t)?t.host:t,n?(n=function t(e){var n=e;return e&&"slot"===e.localName&&(n=(n=(n=d(e))&&n.h)&&n.length?n[0]:t(e.nextSibling)),n}(n),Et.insertBefore.call(r,e,n)):Et.appendChild.call(r,e)):e.ownerDocument!==t.ownerDocument&&t.ownerDocument.adoptNode(e),le(t,e),e}function ue(t,e,n){if(n=void 0!==n&&n,e.parentNode!==t)throw Error("The node to be removed is not a child of this node: "+e);var r=S(e),o=d(t);if(b(t)&&(function(t,e){var n=h(t);t===(e=h(e)).firstChild&&(e.firstChild=n.nextSibling),t===e.lastChild&&(e.lastChild=n.previousSibling),t=n.previousSibling;var r=n.nextSibling;t&&(h(t).nextSibling=r),r&&(h(r).previousSibling=t),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==e.childNodes&&(e.childNodes=null)}(e,t),ce(t))){$t(o.root);var i=!0}if(he()&&!n&&r){var a=ye(e);ge(e,(function(t){me(t,a)}))}if(function t(e){var n=d(e);if(n&&void 0!==n.j){n=e.childNodes;for(var r,o=0,i=n.length;o<i&&(r=n[o]);o++)t(r)}(e=d(e))&&(e.j=void 0)}(e),r){var u=t&&"slot"===t.localName;u&&(i=!0),((n=function(t,e){if(t.a){Qt(t);var n,r=t.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var a=o[i];if(A(e,a)){o.splice(i,1);var u=t.a.indexOf(a);if(0<=u&&t.a.splice(u,1),i--,u=(a=d(a)).h)for(var c=0;c<u.length;c++){var s=u[c],l=Bt(s);l&&Et.removeChild.call(l,s)}a.h=[],a.assignedNodes=[],u=!0}}return u}}(r,e))||u)&&$t(r)}return i||(i=w(t)?t.host:t,(!o.root&&"slot"!==e.localName||i===ie(e))&&Et.removeChild.call(i,e)),le(t,null,e),e}function ce(t){return(t=(t=d(t))&&t.root)&&ne(t)}function se(t,e){if("slot"===e)ce(t=t.parentNode)&&$t(d(t).root);else if("slot"===t.localName&&"name"===e&&(e=S(t))){if(e.a){Qt(e);var n=t.U,r=te(t);if(r!==n){var o=(n=e.b[n]).indexOf(t);0<=o&&n.splice(o,1),(n=e.b[r]||(e.b[r]=[])).push(t),1<n.length&&(e.b[r]=ee(n))}}$t(e)}}function le(t,e,n){(t=(t=d(t))&&t.i)&&(e&&t.addedNodes.push(e),n&&t.removedNodes.push(n),function(t){t.c||(t.c=!0,O((function(){t.flush()})))}(t))}function fe(t,e,n){var r=[];return function t(e,n,r,o){for(var i,a=0,u=e.length;a<u&&(i=e[a]);a++){var c;if(c=i.nodeType===Node.ELEMENT_NODE){var s=n,l=r,f=o,p=s(c=i);p&&f.push(c),l&&l(p)?c=p:(t(c.childNodes,s,l,f),c=void 0)}if(c)break}}(t.childNodes,e,n,r),r}var pe=null;function he(){return pe||(pe=window.ShadyCSS&&window.ShadyCSS.ScopingShim),pe||null}function de(t,e,n){var r=he();r&&"class"===e?r.setElementClass(t,n):(Et.setAttribute.call(t,e,n),se(t,e))}function ve(t,e){var n=he();n&&n.scopeNode(t,e)}function me(t,e){var n=he();n&&n.unscopeNode(t,e)}function ye(t){if(t.nodeType!==Node.ELEMENT_NODE)return"";var e=he();return e?e.currentScopeForNode(t):""}function ge(t,e){if(t){t.nodeType===Node.ELEMENT_NODE&&e(t);for(var n,r=0;r<t.childNodes.length;r++)(n=t.childNodes[r]).nodeType===Node.ELEMENT_NODE&&ge(n,e)}}function be(){this.c=!1,this.addedNodes=[],this.removedNodes=[],this.w=new Set}be.prototype.flush=function(){if(this.c){this.c=!1;var t=this.takeRecords();t.length&&this.w.forEach((function(e){e(t)}))}},be.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var t=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],t}return[]};var we="__eventWrappers"+Date.now(),Se=function(){var t=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return t?function(e){return t.get.call(e)}:null}(),Ee={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},Ne={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Ce(t,e){var n=[],r=t;for(t=t===window?window:t.getRootNode();r;)n.push(r),r=r.assignedSlot?r.assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(e||r!==t)?r.host:r.parentNode;return n[n.length-1]===document&&n.push(window),n}function Te(t,e){if(!w)return t;t=Ce(t,!0);for(var n,r,o,i,a=0;a<e.length;a++)if((o=(n=e[a])===window?window:n.getRootNode())!==r&&(i=t.indexOf(o),r=o),!w(o)||-1<i)return n}var _e={get composed(){return void 0===this.m&&(Se?this.m="focusin"===this.type||"focusout"===this.type||Se(this):!1!==this.isTrusted&&(this.m=Ee[this.type])),this.m||!1},composedPath:function(){return this.I||(this.I=Ce(this.__target,this.composed)),this.I},get target(){return Te(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.C?(this.K||(this.K=Ce(this.C,!0)),Te(this.currentTarget||this.__previousCurrentTarget,this.K)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.B=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.B=this.P=!0}};function xe(t){function e(e,n){return(e=new t(e,n)).m=n&&!!n.composed,e}return function(t,e){for(var n in e)t[n]=e[n]}(e,t),e.prototype=t.prototype,e}var Me={focus:!0,blur:!0};function Oe(t){return t.__target!==t.target||t.C!==t.relatedTarget}function Le(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var r,o=0;(r=n[o])&&(!Oe(t)||t.target!==t.relatedTarget)&&(r.call(e,t),!t.P);o++);}function Ae(t){var e,n=t.composedPath();Object.defineProperty(t,"currentTarget",{get:function(){return o},configurable:!0});for(var r=n.length-1;0<=r;r--){var o=n[r];if(Le(t,o,"capture"),t.B)return}for(Object.defineProperty(t,"eventPhase",{get:function(){return Event.AT_TARGET}}),r=0;r<n.length;r++){var i=d(o=n[r]);if(i=i&&i.root,(0===r||i&&i===e)&&(Le(t,o,"bubble"),o!==window&&(e=o.getRootNode()),t.B))break}}function De(t,e,n,r,o,i){for(var a=0;a<t.length;a++){var u=t[a],c=u.type,s=u.capture,l=u.once,f=u.passive;if(e===u.node&&n===c&&r===s&&o===l&&i===f)return a}return-1}function Pe(t,e,n){if(e){var r=typeof e;if(("function"===r||"object"===r)&&("object"!==r||e.handleEvent&&"function"==typeof e.handleEvent)){var o=this instanceof Window?Et.aa:Et.addEventListener;if(Ne[t])return o.call(this,t,e,n);if(n&&"object"==typeof n)var i=!!n.capture,a=!!n.once,u=!!n.passive;else i=!!n,u=a=!1;var c=n&&n.F||this,s=e[we];if(s){if(-1<De(s,c,t,i,a,u))return}else e[we]=[];s=function(o){if(a&&this.removeEventListener(t,e,n),o.__target||je(o),c!==this){var i=Object.getOwnPropertyDescriptor(o,"currentTarget");Object.defineProperty(o,"currentTarget",{get:function(){return c},configurable:!0})}if(o.__previousCurrentTarget=o.currentTarget,(!w(c)||-1!=o.composedPath().indexOf(c))&&(o.composed||-1<o.composedPath().indexOf(c)))if(Oe(o)&&o.target===o.relatedTarget)o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation();else if(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===c||c instanceof Window){var u="function"===r?e.call(c,o):e.handleEvent&&e.handleEvent(o);return c!==this&&(i?(Object.defineProperty(o,"currentTarget",i),i=null):delete o.currentTarget),u}},e[we].push({node:c,type:t,capture:i,once:a,passive:u,ca:s}),Me[t]?(this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][i?"capture":"bubble"].push(s)):o.call(this,t,s,n)}}}function Fe(t,e,n){if(e){var r=this instanceof Window?Et.ba:Et.removeEventListener;if(Ne[t])return r.call(this,t,e,n);if(n&&"object"==typeof n)var o=!!n.capture,i=!!n.once,a=!!n.passive;else o=!!n,a=i=!1;var u=n&&n.F||this,c=void 0,s=null;try{s=e[we]}catch(t){}s&&(-1<(i=De(s,u,t,o,i,a))&&(c=s.splice(i,1)[0].ca,s.length||(e[we]=void 0))),r.call(this,t,c||e,n),c&&Me[t]&&this.__handlers&&this.__handlers[t]&&(-1<(c=(t=this.__handlers[t][o?"capture":"bubble"]).indexOf(c))&&t.splice(c,1))}}function je(t){if(t.__target=t.target,t.C=t.relatedTarget,v.g){var e=Object.getPrototypeOf(t);if(!e.hasOwnProperty("__patchProto")){var n=Object.create(e);n.da=e,C(n,_e),e.__patchProto=n}t.__proto__=e.__patchProto}else C(t,_e)}var He=xe(window.Event),Re=xe(window.CustomEvent),Ie=xe(window.MouseEvent);function ke(t){var e=t.getRootNode();return w(e)&&Xt(e),(t=d(t))&&t.assignedSlot||null}var Ve={addEventListener:Pe.bind(window),removeEventListener:Fe.bind(window)},Ue={addEventListener:Pe,removeEventListener:Fe,appendChild:function(t){return ae(this,t)},insertBefore:function(t,e){return ae(this,t,e)},removeChild:function(t){return ue(this,t)},replaceChild:function(t,e){return ae(this,t,e),ue(this,e),t},cloneNode:function(t){if("template"==this.localName)var e=Et.cloneNode.call(this,t);else if(e=Et.cloneNode.call(this,!1),t&&e.nodeType!==Node.ATTRIBUTE_NODE){t=this.childNodes;for(var n,r=0;r<t.length;r++)n=t[r].cloneNode(!0),e.appendChild(n)}return e},getRootNode:function(){return function t(e){if(e&&e.nodeType){var n=h(e),r=n.j;return void 0===r&&(w(e)?(r=e,n.j=r):(r=(r=e.parentNode)?t(r):e,Et.contains.call(document.documentElement,e)&&(n.j=r))),r}}(this)},contains:function(t){return A(this,t)},dispatchEvent:function(t){return H(),Et.dispatchEvent.call(this,t)}};Object.defineProperties(Ue,{isConnected:{get:function(){if(xt&&xt.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var t=this.ownerDocument;if(L){if(Et.contains.call(t,this))return!0}else if(t.documentElement&&Et.contains.call(t.documentElement,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.parentNode||(w(t)?t.host:void 0);return!!(t&&t instanceof Document)},configurable:!0}});var Be={get assignedSlot(){return ke(this)}},qe={querySelector:function(t){return fe(this,(function(e){return N.call(e,t)}),(function(t){return!!t}))[0]||null},querySelectorAll:function(t,e){if(e){e=Array.prototype.slice.call(Et.querySelectorAll.call(this,t));var n=this.getRootNode();return e.filter((function(t){return t.getRootNode()==n}))}return fe(this,(function(e){return N.call(e,t)}))}},Ge={assignedNodes:function(t){if("slot"===this.localName){var e=this.getRootNode();return w(e)&&Xt(e),(e=d(this))&&(t&&t.flatten?e.h:e.assignedNodes)||[]}}},We=T({setAttribute:function(t,e){de(this,t,e)},removeAttribute:function(t){Et.removeAttribute.call(this,t),se(this,t)},attachShadow:function(t){if(!this)throw"Must provide a host.";if(!t)throw"Not enough arguments.";return new zt(Gt,this,t)},get slot(){return this.getAttribute("slot")},set slot(t){de(this,"slot",t)},get assignedSlot(){return ke(this)}},qe,Ge);Object.defineProperties(We,Dt);var Ke=T({importNode:function(t,e){return function t(e,n){if(e.ownerDocument!==document||"template"===e.localName)return Et.importNode.call(document,e,n);var r=Et.importNode.call(document,e,!1);if(n){e=e.childNodes,n=0;for(var o;n<e.length;n++)o=t(e[n],!0),r.appendChild(o)}return r}(t,e)},getElementById:function(t){return fe(this,(function(e){return e.id==t}),(function(t){return!!t}))[0]||null}},qe);Object.defineProperties(Ke,{_activeElement:Pt.activeElement});for(var ze=HTMLElement.prototype.blur,$e={blur:function(){var t=d(this);(t=(t=t&&t.root)&&t.activeElement)?t.blur():ze.call(this)}},Xe={},Ye=c(Object.getOwnPropertyNames(Document.prototype)),Je=Ye.next();!Je.done;Xe={f:Xe.f},Je=Ye.next())Xe.f=Je.value,"on"===Xe.f.substring(0,2)&&Object.defineProperty($e,Xe.f,{set:function(t){return function(e){var n=h(this),r=t.f.substring(2);n.o[t.f]&&this.removeEventListener(r,n.o[t.f]),this.addEventListener(r,e,{}),n.o[t.f]=e}}(Xe),get:function(t){return function(){var e=d(this);return e&&e.o[t.f]}}(Xe),configurable:!0});var Ze={addEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.F=this,this.host.addEventListener(t,e,n)},removeEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.F=this,this.host.removeEventListener(t,e,n)},getElementById:function(t){return fe(this,(function(e){return e.id==t}),(function(t){return!!t}))[0]||null}};function Qe(t,e){for(var n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(e,o);i.value?t[o]=i.value:Object.defineProperty(t,o,i)}}if(v.H){window.ShadyDOM={inUse:v.H,patch:function(t){return Rt(t),Ht(t),t},isShadyRoot:w,enqueue:j,flush:H,settings:v,filterMutations:function(t,e){var n=e.getRootNode();return t.map((function(t){var e=n===t.target.getRootNode();if(e&&t.addedNodes){if((e=Array.from(t.addedNodes).filter((function(t){return n===t.getRootNode()}))).length)return t=Object.create(t),Object.defineProperty(t,"addedNodes",{value:e,configurable:!0}),t}else if(e)return t})).filter((function(t){return t}))},observeChildren:function(t,e){var n=h(t);n.i||(n.i=new be),n.i.w.add(e);var r=n.i;return{V:e,Y:r,X:t,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.Y;e&&(e.w.delete(t.V),e.w.size||(h(t.X).i=null))},nativeMethods:Et,nativeTree:et,deferConnectionCallbacks:v.deferConnectionCallbacks,handlesDynamicScoping:!0},function(){if(window.Event=He,window.CustomEvent=Re,window.MouseEvent=Ie,function(){for(var t in Me)window.addEventListener(t,(function(t){t.__target||(je(t),Ae(t))}),!0)}(),!Se&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var t=function(){var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.dispatchEvent(t)};Element.prototype.click?Element.prototype.click=t:HTMLElement.prototype.click&&(HTMLElement.prototype.click=t)}}();var tn=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;Qe(zt.prototype,Ze),Qe(window.Node.prototype,Ue),Qe(window.Window.prototype,Ve),Qe(window.Text.prototype,Be),Qe(window.DocumentFragment.prototype,qe),Qe(window.Element.prototype,We),Qe(window.Document.prototype,Ke),window.HTMLSlotElement&&Qe(window.HTMLSlotElement.prototype,Ge),Qe(tn.prototype,$e),v.g&&(jt(window.Node.prototype),jt(window.Text.prototype),jt(window.DocumentFragment.prototype),jt(window.Element.prototype),jt(tn.prototype),jt(window.Document.prototype),window.HTMLSlotElement&&jt(window.HTMLSlotElement.prototype)),function(){var t=zt.prototype;t.__proto__=DocumentFragment.prototype,Ft(t,Ot,!0),Ft(t,At,!0),Ft(t,Pt,!0),Object.defineProperties(t,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(e){Object.defineProperty(t,e,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(e){Object.defineProperty(t,e,{get:function(){return this.host[e]},configurable:!0})}))}(),window.ShadowRoot=zt}}).call(this)}).call(this,n(40))},function(t,e){(function(){"use strict";var t,e=null,n=window.HTMLImports&&window.HTMLImports.whenReady||null;function r(r){requestAnimationFrame((function(){n?n(r):(e||(e=new Promise((function(e){t=e})),"complete"===document.readyState?t():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&t()}))),e.then((function(){r&&r()})))}))}var o=null,i=null;function a(){this.customStyles=[],this.enqueued=!1,r((function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}function u(t){!t.enqueued&&i&&(t.enqueued=!0,r(i))}function c(t,e){for(var n in e)null===n?t.style.removeProperty(n):t.style.setProperty(n,e[n])}a.prototype.c=function(t){t.__seenByShadyCSS||(t.__seenByShadyCSS=!0,this.customStyles.push(t),u(this))},a.prototype.b=function(t){return t.__shadyCSSCachedStyle?t.__shadyCSSCachedStyle:t.getStyle?t.getStyle():t},a.prototype.a=function(){for(var t=this.customStyles,e=0;e<t.length;e++){var n=t[e];if(!n.__shadyCSSCachedStyle){var r=this.b(n);r&&(r=r.__appliedElement||r,o&&o(r),n.__shadyCSSCachedStyle=r)}}return t},a.prototype.addCustomStyle=a.prototype.c,a.prototype.getStyleForCustomStyle=a.prototype.b,a.prototype.processStyles=a.prototype.a,Object.defineProperties(a.prototype,{transformCallback:{get:function(){return o},set:function(t){o=t}},validateCallback:{get:function(){return i},set:function(t){var e=!1;i||(e=!0),i=t,e&&u(this)}}});var s,l=!(window.ShadyDOM&&window.ShadyDOM.inUse);function f(t){s=(!t||!t.shimcssproperties)&&(l||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?s=window.ShadyCSS.nativeCss:window.ShadyCSS?(f(window.ShadyCSS),window.ShadyCSS=void 0):f(window.WebComponents&&window.WebComponents.flags);var p=s,h=new a;window.ShadyCSS||(window.ShadyCSS={prepareTemplate:function(){},prepareTemplateDom:function(){},prepareTemplateStyles:function(){},styleSubtree:function(t,e){h.a(),c(t,e)},styleElement:function(){h.a()},styleDocument:function(t){h.a(),c(document.body,t)},getComputedStyleValue:function(t,e){return(t=window.getComputedStyle(t).getPropertyValue(e))?t.trim():""},flushCustomStyles:function(){},nativeCss:p,nativeShadow:l}),window.ShadyCSS.CustomStyleInterface=h}).call(this)},function(t,e){(function(){"use strict";var t,e=!(window.ShadyDOM&&window.ShadyDOM.inUse);function n(n){t=(!n||!n.shimcssproperties)&&(e||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?t=window.ShadyCSS.nativeCss:window.ShadyCSS?(n(window.ShadyCSS),window.ShadyCSS=void 0):n(window.WebComponents&&window.WebComponents.flags);var r=t;function o(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function i(t){var e=a,n=t=t.replace(f,"").replace(p,""),r=new o;r.start=0,r.end=n.length;for(var i=r,u=0,c=n.length;u<c;u++)if("{"===n[u]){i.rules||(i.rules=[]);var s=i,l=s.rules[s.rules.length-1]||null;(i=new o).start=u+1,i.parent=s,i.previous=l,s.rules.push(i)}else"}"===n[u]&&(i.end=u+1,i=i.parent||r);return e(r,t)}function a(t,e){var n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent&&(n=(n=(n=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,(function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t}))}(n=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1))).replace(g," ")).substring(n.lastIndexOf(";")+1),n=t.parsedSelector=t.selector=n.trim(),t.atRule=0===n.indexOf("@"),t.atRule?0===n.indexOf("@media")?t.type=s:n.match(y)&&(t.type=c,t.keyframesName=t.selector.split(g).pop()):t.type=0===n.indexOf("--")?l:u),n=t.rules)for(var r,o=0,i=n.length;o<i&&(r=n[o]);o++)a(r,e);return t}var u=1,c=7,s=4,l=1e3,f=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,p=/@import[^;]*;/gim,h=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,d=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,v=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,m=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,y=/^@[^\s]*keyframes/,g=/\s+/g,b=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,w=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,S=/@media\s(.*)/,E=new Set;function N(t){return t?("string"==typeof t&&(t=i(t)),function t(e,n,r){r=void 0===r?"":r;var o="";if(e.cssText||e.rules){var i,a=e.rules;if((i=a)&&(i=!((i=a[0])&&i.selector&&0===i.selector.indexOf("--"))),i){i=0;for(var u,c=a.length;i<c&&(u=a[i]);i++)o=t(u,n,o)}else n?n=e.cssText:n=(n=(n=e.cssText).replace(h,"").replace(d,"")).replace(v,"").replace(m,""),(o=n.trim())&&(o=" "+o+"\n")}return o&&(e.selector&&(r+=e.selector+" {\n"),r+=o,e.selector&&(r+="}\n\n")),r}(t,r)):""}function C(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=i(t.textContent)),t.__cssRules||null}function T(t,e,n,r){if(t){var o=!1,i=t.type;if(r&&i===s){var a=t.selector.match(S);a&&(window.matchMedia(a[1]).matches||(o=!0))}if(i===u?e(t):n&&i===c?n(t):i===l&&(o=!0),(t=t.rules)&&!o){o=0,i=t.length;for(var f;o<i&&(f=t[o]);o++)T(f,e,n,r)}}}function _(t){if(void 0===t.a){var e=t.getAttribute("css-build");if(e)t.a=e;else{if(""!==(e=(e="template"===t.localName?t.content.firstChild:t.firstChild)instanceof Comment&&"css-build"===(e=e.textContent.trim().split(":"))[0]?e[1]:"")){var n="template"===t.localName?t.content.firstChild:t.firstChild;n.parentNode.removeChild(n)}t.a=e}}return t.a||""}var x=/;\s*/m,M=/^\s*(initial)|(inherit)\s*$/,O=/\s*!important/;function L(){this.a={}}L.prototype.set=function(t,e){t=t.trim(),this.a[t]={h:e,i:{}}},L.prototype.get=function(t){return t=t.trim(),this.a[t]||null};var A=null;function D(){this.b=this.c=null,this.a=new L}function P(t,e){for(var n=e;n.parent;)n=n.parent;var r={},o=!1;return T(n,(function(n){(o=o||n===e)||n.selector===e.selector&&Object.assign(r,j(t,n.parsedCssText))})),r}function F(t,e,n){for(var r;r=w.exec(e);){var o=r[0],i=r[1];r=r.index;var a=e.slice(0,r+o.indexOf("@apply"));e=e.slice(r+o.length);var u=n?P(t,n):{};Object.assign(u,j(t,a)),o=void 0;var c=t;i=i.replace(x,"");var s=[],l=c.a.get(i);if(l||(c.a.set(i,{}),l=c.a.get(i)),l){c.c&&(l.i[c.c]=!0);var f=l.h;for(o in f)l=[o,": var(",i,"_-_",o],(c=u&&u[o])&&l.push(",",c.replace(O,"")),l.push(")"),O.test(f[o])&&l.push(" !important"),s.push(l.join(""))}e=a+(o=s.join("; "))+e,w.lastIndex=r+o.length}return e}function j(t,e){e=e.split(";");for(var n,r,o,i={},a=0;a<e.length;a++)if((n=e[a])&&1<(o=n.split(":")).length){var u=t;r=n=o[0].trim(),o=o.slice(1).join(":");var c=M.exec(o);c&&(c[1]?(u.b||(u.b=document.createElement("meta"),u.b.setAttribute("apply-shim-measure",""),u.b.style.all="initial",document.head.appendChild(u.b)),r=window.getComputedStyle(u.b).getPropertyValue(r)):r="apply-shim-inherit",o=r),r=o,i[n]=r}return i}D.prototype.o=function(t){return t=w.test(t)||b.test(t),w.lastIndex=0,b.lastIndex=0,t},D.prototype.m=function(t,n){if(void 0===t.b){for(var r=[],o=t.content.querySelectorAll("style"),i=0;i<o.length;i++){var a=o[i];if(a.hasAttribute("shady-unscoped")){if(!e){var u=a.textContent;E.has(u)||(E.add(u),u=a.cloneNode(!0),document.head.appendChild(u)),a.parentNode.removeChild(a)}}else r.push(a.textContent),a.parentNode.removeChild(a)}(r=r.join("").trim())?((o=document.createElement("style")).textContent=r,t.content.insertBefore(o,t.content.firstChild),r=o):r=null,t.b=r}return(t=t.b)?this.j(t,n):null},D.prototype.j=function(t,e){e=void 0===e?"":e;var n=C(t);return this.l(n,e),t.textContent=N(n),n},D.prototype.f=function(t){var e=this,n=C(t);return T(n,(function(t){":root"===t.selector&&(t.selector="html"),e.g(t)})),t.textContent=N(n),n},D.prototype.l=function(t,e){var n=this;this.c=e,T(t,(function(t){n.g(t)})),this.c=null},D.prototype.g=function(t){t.cssText=function(t,e,n){return e=e.replace(b,(function(e,r,o,i){return function(t,e,n,r,o,i){if(r&&function t(e,n){var r=e.indexOf("var(");if(-1===r)return n(e,"","","");t:{for(var o=0,i=r+3,a=e.length;i<a;i++)if("("===e[i])o++;else if(")"===e[i]&&0==--o)break t;i=-1}return o=e.substring(r+4,i),r=e.substring(0,r),e=t(e.substring(i+1),n),-1===(i=o.indexOf(","))?n(r,o.trim(),"",e):n(r,o.substring(0,i).trim(),o.substring(i+1).trim(),e)}(r,(function(e,n){n&&t.a.get(n)&&(o="@apply "+n+";")})),!o)return e;var a=F(t,""+o,i);i=e.slice(0,e.indexOf("--"));var u=a=j(t,a),c=t.a.get(n),s=c&&c.h;s?u=Object.assign(Object.create(s),a):t.a.set(n,u);var l,f=[],p=!1;for(l in u){var h=a[l];void 0===h&&(h="initial"),!s||l in s||(p=!0),f.push(n+"_-_"+l+": "+h)}return p&&function(t,e){if(A)for(var n in e.i)n!==t.c&&A(n)}(t,c),c&&(c.h=u),r&&(i=e+";"+i),i+f.join("; ")+";"}(t,e,r,o,i,n)})),F(t,e,n)}(this,t.parsedCssText,t),":root"===t.selector&&(t.selector=":host > *")},D.prototype.detectMixin=D.prototype.o,D.prototype.transformStyle=D.prototype.j,D.prototype.transformCustomStyle=D.prototype.f,D.prototype.transformRules=D.prototype.l,D.prototype.transformRule=D.prototype.g,D.prototype.transformTemplate=D.prototype.m,D.prototype._separator="_-_",Object.defineProperty(D.prototype,"invalidCallback",{get:function(){return A},set:function(t){A=t}});var H={},R=Promise.resolve();function I(t){(t=H[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function k(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}var V=new D;function U(){this.a=null,V.invalidCallback=I}function B(t){t.a||(t.a=window.ShadyCSS.CustomStyleInterface,t.a&&(t.a.transformCallback=function(t){V.f(t)},t.a.validateCallback=function(){requestAnimationFrame((function(){t.a.enqueued&&t.flushCustomStyles()}))}))}if(U.prototype.prepareTemplate=function(t,e){B(this),""===_(t)&&(H[e]=t,e=V.m(t,e),t._styleAst=e)},U.prototype.flushCustomStyles=function(){if(B(this),this.a){var t=this.a.processStyles();if(this.a.enqueued){for(var e=0;e<t.length;e++){var n=this.a.getStyleForCustomStyle(t[e]);n&&V.f(n)}this.a.enqueued=!1}}},U.prototype.styleSubtree=function(t,e){if(B(this),e)for(var n in e)null===n?t.style.removeProperty(n):t.style.setProperty(n,e[n]);if(t.shadowRoot)for(this.styleElement(t),t=t.shadowRoot.children||t.shadowRoot.childNodes,e=0;e<t.length;e++)this.styleSubtree(t[e]);else for(t=t.children||t.childNodes,e=0;e<t.length;e++)this.styleSubtree(t[e])},U.prototype.styleElement=function(t){B(this);var e,n=t.localName;e=n?-1<n.indexOf("-")?n:t.getAttribute&&t.getAttribute("is")||"":t.is,(n=H[e])&&""!==_(n)||!n||k(n)||((k(n)||n._applyShimValidatingVersion!==n._applyShimNextVersion)&&(this.prepareTemplate(n,e),function(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t.c||(t.c=!0,R.then((function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t.c=!1})))}(n)),(t=t.shadowRoot)&&(t=t.querySelector("style"))&&(t.__cssRules=n._styleAst,t.textContent=N(n._styleAst)))},U.prototype.styleDocument=function(t){B(this),this.styleSubtree(document.body,t)},!window.ShadyCSS||!window.ShadyCSS.ScopingShim){var q=new U,G=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate:function(t,e){q.flushCustomStyles(),q.prepareTemplate(t,e)},prepareTemplateStyles:function(t,e,n){this.prepareTemplate(t,e,n)},prepareTemplateDom:function(){},styleSubtree:function(t,e){q.flushCustomStyles(),q.styleSubtree(t,e)},styleElement:function(t){q.flushCustomStyles(),q.styleElement(t)},styleDocument:function(t){q.flushCustomStyles(),q.styleDocument(t)},getComputedStyleValue:function(t,e){return(t=window.getComputedStyle(t).getPropertyValue(e))?t.trim():""},flushCustomStyles:function(){q.flushCustomStyles()},nativeCss:r,nativeShadow:e},G&&(window.ShadyCSS.CustomStyleInterface=G)}window.ShadyCSS.ApplyShim=V}).call(this)},function(t,e,n){(function(t){(function(){"use strict";var e,n="undefined"!=typeof window&&window===this?this:void 0!==t&&null!=t?t:this;function r(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function o(t){var e=i,n=t=t.replace(f,"").replace(p,""),o=new r;o.start=0,o.end=n.length;for(var a=o,u=0,c=n.length;u<c;u++)if("{"===n[u]){a.rules||(a.rules=[]);var s=a,l=s.rules[s.rules.length-1]||null;(a=new r).start=u+1,a.parent=s,a.previous=l,s.rules.push(a)}else"}"===n[u]&&(a.end=u+1,a=a.parent||o);return e(o,t)}function i(t,e){var n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent&&(n=(n=(n=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,(function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t}))}(n=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1))).replace(g," ")).substring(n.lastIndexOf(";")+1),n=t.parsedSelector=t.selector=n.trim(),t.atRule=0===n.indexOf("@"),t.atRule?0===n.indexOf("@media")?t.type=s:n.match(y)&&(t.type=c,t.keyframesName=t.selector.split(g).pop()):t.type=0===n.indexOf("--")?l:u),n=t.rules)for(var r,o=0,a=n.length;o<a&&(r=n[o]);o++)i(r,e);return t}var a,u=1,c=7,s=4,l=1e3,f=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,p=/@import[^;]*;/gim,h=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,d=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,v=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,m=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,y=/^@[^\s]*keyframes/,g=/\s+/g,b=!(window.ShadyDOM&&window.ShadyDOM.inUse);function w(t){a=(!t||!t.shimcssproperties)&&(b||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?a=window.ShadyCSS.nativeCss:window.ShadyCSS?(w(window.ShadyCSS),window.ShadyCSS=void 0):w(window.WebComponents&&window.WebComponents.flags);var S=a,E=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,N=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,C=/(--[\w-]+)\s*([:,;)]|$)/gi,T=/(animation\s*:)|(animation-name\s*:)/,_=/@media\s(.*)/,x=/\{[^}]*\}/g,M=new Set;function O(t,e){return t?("string"==typeof t&&(t=o(t)),e&&D(t,e),function t(e,n,r){r=void 0===r?"":r;var o="";if(e.cssText||e.rules){var i,a=e.rules;if((i=a)&&(i=!((i=a[0])&&i.selector&&0===i.selector.indexOf("--"))),i){i=0;for(var u,c=a.length;i<c&&(u=a[i]);i++)o=t(u,n,o)}else n?n=e.cssText:n=(n=(n=e.cssText).replace(h,"").replace(d,"")).replace(v,"").replace(m,""),(o=n.trim())&&(o=" "+o+"\n")}return o&&(e.selector&&(r+=e.selector+" {\n"),r+=o,e.selector&&(r+="}\n\n")),r}(t,S)):""}function L(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=o(t.textContent)),t.__cssRules||null}function A(t){return!!t.parent&&t.parent.type===c}function D(t,e,n,r){if(t){var o=!1,i=t.type;if(r&&i===s){var a=t.selector.match(_);a&&(window.matchMedia(a[1]).matches||(o=!0))}if(i===u?e(t):n&&i===c?n(t):i===l&&(o=!0),(t=t.rules)&&!o){o=0,i=t.length;for(var f;o<i&&(f=t[o]);o++)D(f,e,n,r)}}}function P(t,e,n,r){var o=document.createElement("style");return e&&o.setAttribute("scope",e),o.textContent=t,H(o,n,r),o}var F=null;function j(t){t=document.createComment(" Shady DOM styles for "+t+" ");var e=document.head;return e.insertBefore(t,(F?F.nextSibling:null)||e.firstChild),F=t}function H(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),F?t.compareDocumentPosition(F)===Node.DOCUMENT_POSITION_PRECEDING&&(F=t):F=t}function R(t,e){for(var n=0,r=t.length;e<r;e++)if("("===t[e])n++;else if(")"===t[e]&&0==--n)return e;return-1}function I(t,e){b?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}function k(t){var e=t.localName,n="";return e?-1<e.indexOf("-")||(n=e,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,n=t.extends),{is:e,u:n}}function V(t){for(var e=[],n="",r=0;0<=r&&r<t.length;r++)if("("===t[r]){var o=R(t,r);n+=t.slice(r,o+1),r=o}else","===t[r]?(e.push(n),n=""):n+=t[r];return n&&e.push(n),e}function U(t){if(void 0===t.a){var e=t.getAttribute("css-build");if(e)t.a=e;else{if(""!==(e=(e="template"===t.localName?t.content.firstChild:t.firstChild)instanceof Comment&&"css-build"===(e=e.textContent.trim().split(":"))[0]?e[1]:"")){var n="template"===t.localName?t.content.firstChild:t.firstChild;n.parentNode.removeChild(n)}t.a=e}}return t.a||""}function B(){}function q(t,e,n){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e="template"===e.localName?(e.content||e.S||e).childNodes:e.children||e.childNodes)for(var r=0;r<e.length;r++)q(t,e[r],n)}function G(t,e,n){if(e)if(t.classList)n?(t.classList.remove("style-scope"),t.classList.remove(e)):(t.classList.add("style-scope"),t.classList.add(e));else if(t.getAttribute){var r=t.getAttribute(ht);n?r&&I(t,e=r.replace("style-scope","").replace(e,"")):I(t,(r?r+" ":"")+"style-scope "+e)}}function W(t,e,n){q(mt,t,(function(t){G(t,e,!0),G(t,n)}))}function K(t,e){q(mt,t,(function(t){G(t,e||"",!0)}))}function z(t,e,n,r){var o=mt;return b||"shady"===(void 0===r?"":r)?e=O(e,n):e=function(t,e,n,r,o){var i=$(n,r);return n=n?ft+n:"",O(e,(function(e){e.c||(e.selector=e.h=X(t,e,t.b,n,i),e.c=!0),o&&o(e,n,i)}))}(o,e,(t=k(t)).is,t.u,n)+"\n\n",e.trim()}function $(t,e){return e?"[is="+t+"]":t}function X(t,e,n,r,o){var i=V(e.selector);if(!A(e)){e=0;for(var a,u=i.length;e<u&&(a=i[e]);e++)i[e]=n.call(t,a,r,o)}return i.filter((function(t){return!!t})).join(et)}function Y(t){return t.replace(Q,(function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"}))}function J(t,e){return(t=t.split(pt))[0]+=e,t.join(pt)}function Z(t){t.selector===it&&(t.selector="html")}B.prototype.b=function(t,e,n){var r=!1;t=t.trim();var o=Q.test(t);o&&(t=Y(t=t.replace(Q,(function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"}))));var i=vt.test(t);if(i){var a=function(t){for(var e,n=[];e=t.match(vt);){var r=e.index,o=R(t,r);if(-1===o)throw Error(e.input+" selector missing ')'");e=t.slice(r,o+1),t=t.replace(e,""),n.push(e)}return{B:t,matches:n}}(t);t=a.B,a=a.matches}return t=(t=t.replace(ut,ot+" $1")).replace(nt,(function(t,o,i){return r||(t=function(t,e,n,r){var o=t.indexOf(at);if(0<=t.indexOf(ot)?t=function(t,e){var n=t.match(ct);return(n=n&&n[2].trim()||"")?n[0].match(rt)?t.replace(ct,(function(t,n,r){return e+r})):n.split(rt)[0]===e?n:dt:t.replace(ot,e)}(t,r):0!==o&&(t=n?J(t,n):t),n=!1,0<=o&&(e="",n=!0),n){var i=!0;n&&(t=t.replace(st,(function(t,e){return" > "+e})))}return{value:t=t.replace(lt,(function(t,e,n){return'[dir="'+n+'"] '+e+", "+e+'[dir="'+n+'"]'})),G:e,stop:i}}(i,o,e,n),r=r||t.stop,o=t.G,i=t.value),o+i})),i&&(t=function(t,e){var n=t.split("");return e.reduce((function(t,e,r){return t+e+n[r+1]}),n[0])}(t,a)),o&&(t=Y(t)),t},B.prototype.c=function(t){return t.match(ot)?"":t.match(at)?this.b(t,tt):J(t.trim(),tt)},n.Object.defineProperties(B.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Q=/:(nth[-\w]+)\(([^)]+)\)/,tt=":not(.style-scope)",et=",",nt=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,rt=/[[.:#*]/,ot=":host",it=":root",at="::slotted",ut=new RegExp("^("+at+")"),ct=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,st=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,lt=/(.*):dir\((?:(ltr|rtl))\)/,ft=".",pt=":",ht="class",dt="should_not_match",vt=/:(?:matches|any|-(?:webkit|moz)-any)/,mt=new B;function yt(t,e,n,r,o){this.l=t||null,this.b=e||null,this.c=n||[],this.o=null,this.v=o||"",this.u=r||"",this.a=this.i=this.m=null}function gt(t){return t?t.__styleInfo:null}function bt(t,e){return t.__styleInfo=e}function wt(t){var e=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return e&&e.call(this,t)}yt.prototype.g=function(){return this.l},yt.prototype._getStyleRules=yt.prototype.g;var St=navigator.userAgent.match("Trident");function Et(){}function Nt(t){if(!t.f){var e={},n={};Ct(t,n)&&(e.j=n,t.rules=null),e.cssText=t.parsedCssText.replace(x,"").replace(E,""),t.f=e}}function Ct(t,e){var n=t.f;if(!n){n=t.parsedCssText;for(var r;t=E.exec(n);)"inherit"===(r=(t[2]||t[3]).trim())&&"unset"===r||(e[t[1].trim()]=r),r=!0;return r}if(n.j)return Object.assign(e,n.j),!0}function Tt(t,e,n){return e&&(e=0<=e.indexOf(";")?_t(t,e,n):function t(e,n){var r=e.indexOf("var(");if(-1===r)return n(e,"","","");var o=R(e,r+3),i=e.substring(r+4,o);return r=e.substring(0,r),e=t(e.substring(o+1),n),-1===(o=i.indexOf(","))?n(r,i.trim(),"",e):n(r,i.substring(0,o).trim(),i.substring(o+1).trim(),e)}(e,(function(e,r,o,i){return r?((r=Tt(t,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=Tt(t,n[o]||o,n)||o,e+(r||"")+i):e+i}))),e&&e.trim()||""}function _t(t,e,n){e=e.split(";");for(var r,o,i=0;i<e.length;i++)if(r=e[i]){if(N.lastIndex=0,o=N.exec(r))r=Tt(t,n[o[1]],n);else if(-1!==(o=r.indexOf(":"))){var a=r.substring(o);a=Tt(t,a=a.trim(),n)||a,r=r.substring(0,o)+a}e[i]=r&&r.lastIndexOf(";")===r.length-1?r.slice(0,-1):r||""}return e.join(";")}function xt(t,e,n){var r={},o={};return D(e,(function(e){!function(t,e,n,r){if(e.f||Nt(e),e.f.j){var o=k(t);t=o.is,o=o.u,o=t?$(t,o):"html";var i=e.parsedSelector,a=":host > *"===i||"html"===i,u=0===i.indexOf(":host")&&!a;"shady"===n&&(u=!(a=i===o+" > *."+o||-1!==i.indexOf("html"))&&0===i.indexOf(o)),(a||u)&&(n=o,u&&(e.h||(e.h=X(mt,e,mt.b,t?ft+t:"",o)),n=e.h||o),r({B:n,K:u,T:a}))}}(t,e,n,(function(n){wt.call(t.U||t,n.B)&&(n.K?Ct(e,r):Ct(e,o))}))}),null,!0),{L:o,J:r}}function Mt(t,e,n,r){var o=k(e),i=$(o.is,o.u),a=new RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])"),u=gt(e);o=u.l,u=u.v;var c=function(t,e){t=t.b;var n={};if(!b&&t)for(var r=0,o=t[r];r<t.length;o=t[++r]){var i=o,a=e;i.g=new RegExp("\\b"+i.keyframesName+"(?!\\B|-)","g"),i.a=i.keyframesName+"-"+a,i.h=i.h||i.selector,i.selector=i.h.replace(i.keyframesName,i.a),n[o.keyframesName]=Ot(o)}return n}(o,r);return z(e,o,(function(e){var o="";if(e.f||Nt(e),e.f.cssText&&(o=_t(t,e.f.cssText,n)),e.cssText=o,!b&&!A(e)&&e.cssText){var u=o=e.cssText;if(null==e.C&&(e.C=T.test(o)),e.C)if(null==e.A)for(var s in e.A=[],c)o!==(u=(u=c[s])(o))&&(o=u,e.A.push(s));else{for(s=0;s<e.A.length;++s)o=(u=c[e.A[s]])(o);u=o}e.cssText=u,e.h=e.h||e.selector,o="."+r,u=0;for(var l,f=(s=V(e.h)).length;u<f&&(l=s[u]);u++)s[u]=l.match(a)?l.replace(i,o):o+" "+l;e.selector=s.join(",")}}),u)}function Ot(t){return function(e){return e.replace(t.g,t.a)}}function Lt(t,e){var n=At,r=L(t);t.textContent=O(r,(function(t){var r=t.cssText=t.parsedCssText;t.f&&t.f.cssText&&(r=r.replace(h,"").replace(d,""),t.cssText=_t(n,r,e))}))}n.Object.defineProperties(Et.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var At=new Et,Dt={},Pt=window.customElements;if(Pt&&!b){var Ft=Pt.define;Pt.define=function(t,e,n){Dt[t]||(Dt[t]=j(t)),Ft.call(Pt,t,e,n)}}function jt(){this.cache={}}function Ht(){}function Rt(t){var e=[];return t.classList?e=Array.from(t.classList):t instanceof window.SVGElement&&t.hasAttribute("class")&&(e=t.getAttribute("class").split(/\s+/)),-1<(e=(t=e).indexOf(mt.a))?t[e+1]:""}function It(t){var e=t.getRootNode();return e===t||e===t.ownerDocument?"":(t=e.host)?k(t).is:""}function kt(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=o.getRootNode(),a=Rt(o);if(a&&i===o.ownerDocument&&("style"!==o.localName&&"template"!==o.localName||""===U(o)))K(o,a);else if(i instanceof ShadowRoot)for((i=It(o))!==a&&W(o,a,i),o=window.ShadyDOM.nativeMethods.querySelectorAll.call(o,":not(."+mt.a+")"),a=0;a<o.length;a++){var u=It(i=o[a]);u&&G(i,u)}}}}}if(jt.prototype.store=function(t,e,n,r){var o=this.cache[t]||[];o.push({j:e,styleElement:n,i:r}),100<o.length&&o.shift(),this.cache[t]=o},!(b||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Vt=new MutationObserver(kt),Ut=function(t){Vt.observe(t,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Ut(document);else{var Bt=function(){Ut(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Bt):requestAnimationFrame((function(){if("loading"===document.readyState){var t=function(){Bt(),document.removeEventListener("readystatechange",t)};document.addEventListener("readystatechange",t)}else Bt()}))}Ht=function(){kt(Vt.takeRecords())}}var qt=Ht,Gt={},Wt=Promise.resolve();function Kt(t){(t=Gt[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function zt(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}var $t=new jt;function Xt(){this.w={},this.c=document.documentElement;var t=new r;t.rules=[],this.g=bt(this.c,new yt(t)),this.s=!1,this.b=this.a=null}function Yt(t){!t.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(t.a=window.ShadyCSS.ApplyShim,t.a.invalidCallback=Kt),function(t){!t.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(t.b=window.ShadyCSS.CustomStyleInterface,t.b.transformCallback=function(e){t.D(e)},t.b.validateCallback=function(){requestAnimationFrame((function(){(t.b.enqueued||t.s)&&t.flushCustomStyles()}))})}(t)}function Jt(t,e){return(e=e.getRootNode().host)?gt(e)?e:Jt(t,e):t.c}function Zt(t,e,n){var r=gt(t=Jt(t,e));t=Object.create(r.m||null);var o=xt(e,n.l,n.v);for(var i in e=function(t,e){var n={},r=[];return D(t,(function(t){t.f||Nt(t);var o=t.h||t.parsedSelector;e&&t.f.j&&o&&wt.call(e,o)&&(Ct(t,n),t=t.index,o=parseInt(t/32,10),r[o]=(r[o]||0)|1<<t%32)}),null,!0),{j:n,key:r}}(r.l,e).j,Object.assign(t,o.J,e,o.L),e=n.o)((o=e[i])||0===o)&&(t[i]=o);for(i=At,e=Object.getOwnPropertyNames(t),o=0;o<e.length;o++)t[r=e[o]]=Tt(i,t[r],t);n.m=t}(e=Xt.prototype).flush=function(){qt()},e.I=function(t){return L(t)},e.P=function(t){return O(t)},e.prepareTemplate=function(t,e,n){this.prepareTemplateDom(t,e),this.prepareTemplateStyles(t,e,n)},e.prepareTemplateStyles=function(t,e,n){if(!t.w){b||Dt[e]||(Dt[e]=j(e)),t.w=!0,t.name=e,t.extends=n,Gt[e]=t;for(var r=U(t),i=[],a=t.content.querySelectorAll("style"),u=0;u<a.length;u++){var c=a[u];if(c.hasAttribute("shady-unscoped")){if(!b){var s=c.textContent;M.has(s)||(M.add(s),s=c.cloneNode(!0),document.head.appendChild(s)),c.parentNode.removeChild(c)}}else i.push(c.textContent),c.parentNode.removeChild(c)}i=i.join("").trim(),n={is:e,extends:n},Yt(this),(a=""===U(t))&&(a=N.test(i)||E.test(i),N.lastIndex=0,E.lastIndex=0),i=o(i),a&&S&&this.a&&this.a.transformRules(i,e),t._styleAst=i,i=[],S||(i=function(t){var e={},n=[],r=0;for(var o in D(t,(function(t){Nt(t),t.index=r++,t=t.f.cssText;for(var n;n=C.exec(t);){var o=n[1];":"!==n[2]&&(e[o]=!0)}}),(function(t){n.push(t)})),t.b=n,t=[],e)t.push(o);return t}(t._styleAst)),i.length&&!S||(a=b?t.content:null,e=Dt[e]||null,r=(r=z(n,t._styleAst,null,r)).length?P(r,n.is,a,e):void 0,t.b=r),t.s=i}},e.prepareTemplateDom=function(t,e){var n=U(t);b||"shady"===n||t.g||(t.g=!0,function(t,e){q(mt,t,(function(t){G(t,e||"")}))}(t.content,e))},e.flushCustomStyles=function(){if(Yt(this),this.b){var t=this.b.processStyles();if(this.b.enqueued){if(S)for(var e=0;e<t.length;e++){var n=this.b.getStyleForCustomStyle(t[e]);if(n&&S&&this.a){var r=L(n);Yt(this),this.a.transformRules(r),n.textContent=O(r)}}else for(Zt(this,this.c,this.g),e=0;e<t.length;e++)(n=this.b.getStyleForCustomStyle(t[e]))&&Lt(n,this.g.m);this.b.enqueued=!1,this.s&&!S&&this.styleDocument()}}},e.styleElement=function(t,e){var n=gt(t);if(!n){var r=k(t);n=r.is,r=r.u;var o=Dt[n]||null;if(n=Gt[n])var i=n._styleAst,a=n.s,u=U(n);i=new yt(i,o,a,r,u),n&&bt(t,i),n=i}if(t!==this.c&&(this.s=!0),e&&(n.o=n.o||{},Object.assign(n.o,e)),S){if(e=n,i=k(t).is,e.o)for(var c in a=e.o)null===c?t.style.removeProperty(c):t.style.setProperty(c,a[c]);!(c=Gt[i])&&t!==this.c||c&&""!==U(c)||!c||!c.b||zt(c)||((zt(c)||c._applyShimValidatingVersion!==c._applyShimNextVersion)&&(Yt(this),this.a&&this.a.transformRules(c._styleAst,i),c.b.textContent=z(t,e.l),function(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t.c||(t.c=!0,Wt.then((function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t.c=!1})))}(c)),b&&(i=t.shadowRoot)&&(i=i.querySelector("style"))&&(i.textContent=z(t,e.l)),e.l=c._styleAst)}else if(c=n,this.flush(),Zt(this,t,c),c.c&&c.c.length){e=k(t).is;t:{if(i=$t.cache[e])for(a=i.length-1;0<=a;a--){u=i[a];e:{for(n=c.c,r=0;r<n.length;r++)if(o=n[r],u.j[o]!==c.m[o]){n=!1;break e}n=!0}if(n){i=u;break t}}i=void 0}n=i?i.styleElement:null,a=c.i,(u=i&&i.i)||(u=e+"-"+(u=this.w[e]=(this.w[e]||0)+1)),c.i=u,u=c.i,r=At,r=n?n.textContent||"":Mt(r,t,c.m,u);var s=(o=gt(t)).a;s&&!b&&s!==n&&(s._useCount--,0>=s._useCount&&s.parentNode&&s.parentNode.removeChild(s)),b?o.a?(o.a.textContent=r,n=o.a):r&&(n=P(r,u,t.shadowRoot,o.b)):n?n.parentNode||(St&&-1<r.indexOf("@media")&&(n.textContent=r),H(n,null,o.b)):r&&(n=P(r,u,null,o.b)),n&&(n._useCount=n._useCount||0,o.a!=n&&n._useCount++,o.a=n),u=n,b||(n=c.i,o=r=t.getAttribute("class")||"",a&&(o=r.replace(new RegExp("\\s*x-scope\\s*"+a+"\\s*","g")," ")),r!==(o+=(o?" ":"")+"x-scope "+n)&&I(t,o)),i||$t.store(e,c.m,u,c.i)}},e.styleDocument=function(t){this.styleSubtree(this.c,t)},e.styleSubtree=function(t,e){var n=t.shadowRoot;if((n||t===this.c)&&this.styleElement(t,e),e=n&&(n.children||n.childNodes))for(t=0;t<e.length;t++)this.styleSubtree(e[t]);else if(t=t.children||t.childNodes)for(e=0;e<t.length;e++)this.styleSubtree(t[e])},e.D=function(t){var e=this,n=L(t),r=U(t);r!==this.g.v&&(this.g.v=r),D(n,(function(t){if(b)Z(t);else{var n=mt;t.selector=t.parsedSelector,Z(t),t.selector=t.h=X(n,t,n.c,void 0,void 0)}S&&""===r&&(Yt(e),e.a&&e.a.transformRule(t))})),S?t.textContent=O(n):this.g.l.rules.push(n)},e.getComputedStyleValue=function(t,e){var n;return S||(n=(gt(t)||gt(Jt(this,t))).m[e]),(n=n||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},e.O=function(t,e){var n=t.getRootNode();if(e=e?e.split(/\s/):[],!(n=n.host&&n.host.localName)){var r=t.getAttribute("class");if(r){r=r.split(/\s/);for(var o=0;o<r.length;o++)if(r[o]===mt.a){n=r[o+1];break}}}n&&e.push(mt.a,n),S||(n=gt(t))&&n.i&&e.push(At.a,n.i),I(t,e.join(" "))},e.F=function(t){return gt(t)},e.N=function(t,e){G(t,e)},e.R=function(t,e){G(t,e,!0)},e.M=function(t){return It(t)},e.H=function(t){return Rt(t)},Xt.prototype.flush=Xt.prototype.flush,Xt.prototype.prepareTemplate=Xt.prototype.prepareTemplate,Xt.prototype.styleElement=Xt.prototype.styleElement,Xt.prototype.styleDocument=Xt.prototype.styleDocument,Xt.prototype.styleSubtree=Xt.prototype.styleSubtree,Xt.prototype.getComputedStyleValue=Xt.prototype.getComputedStyleValue,Xt.prototype.setElementClass=Xt.prototype.O,Xt.prototype._styleInfoForNode=Xt.prototype.F,Xt.prototype.transformCustomStyleForDocument=Xt.prototype.D,Xt.prototype.getStyleAst=Xt.prototype.I,Xt.prototype.styleAstToString=Xt.prototype.P,Xt.prototype.flushCustomStyles=Xt.prototype.flushCustomStyles,Xt.prototype.scopeNode=Xt.prototype.N,Xt.prototype.unscopeNode=Xt.prototype.R,Xt.prototype.scopeForNode=Xt.prototype.M,Xt.prototype.currentScopeForNode=Xt.prototype.H,Object.defineProperties(Xt.prototype,{nativeShadow:{get:function(){return b}},nativeCss:{get:function(){return S}}});var Qt,te,ee=new Xt;window.ShadyCSS&&(Qt=window.ShadyCSS.ApplyShim,te=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:ee,prepareTemplate:function(t,e,n){ee.flushCustomStyles(),ee.prepareTemplate(t,e,n)},prepareTemplateDom:function(t,e){ee.prepareTemplateDom(t,e)},prepareTemplateStyles:function(t,e,n){ee.flushCustomStyles(),ee.prepareTemplateStyles(t,e,n)},styleSubtree:function(t,e){ee.flushCustomStyles(),ee.styleSubtree(t,e)},styleElement:function(t){ee.flushCustomStyles(),ee.styleElement(t)},styleDocument:function(t){ee.flushCustomStyles(),ee.styleDocument(t)},flushCustomStyles:function(){ee.flushCustomStyles()},getComputedStyleValue:function(t,e){return ee.getComputedStyleValue(t,e)},nativeCss:S,nativeShadow:b},Qt&&(window.ShadyCSS.ApplyShim=Qt),te&&(window.ShadyCSS.CustomStyleInterface=te)}).call(this)}).call(this,n(40))},function(t,e){
|
|
50
|
-
/*!
|
|
51
|
-
Copyright (C) 2013-2015 by Andrea Giammarchi - @WebReflection
|
|
52
|
-
|
|
53
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
54
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
55
|
-
in the Software without restriction, including without limitation the rights
|
|
56
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
57
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
58
|
-
furnished to do so, subject to the following conditions:
|
|
59
|
-
|
|
60
|
-
The above copyright notice and this permission notice shall be included in
|
|
61
|
-
all copies or substantial portions of the Software.
|
|
62
|
-
|
|
63
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
64
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
65
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
66
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
67
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
68
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
69
|
-
THE SOFTWARE.
|
|
70
|
-
|
|
71
|
-
*/
|
|
72
|
-
!function(t){"use strict";function e(){return f.createDocumentFragment()}function n(t){return f.createElement(t)}function r(t,e){if(!t)throw new Error("Failed to construct "+e+": 1 argument required, but only 0 present.")}function o(t){if(1===t.length)return i(t[0]);for(var n=e(),r=D.call(t),o=0;o<t.length;o++)n.appendChild(i(r[o]));return n}function i(t){return"string"==typeof t?f.createTextNode(t):t}for(var a,u,c,s,l,f=t.document,p=Object.prototype.hasOwnProperty,h=Object.defineProperty||function(t,e,n){return p.call(n,"value")?t[e]=n.value:(p.call(n,"get")&&t.__defineGetter__(e,n.get),p.call(n,"set")&&t.__defineSetter__(e,n.set)),t},d=[].indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},v=function(t){var e=void 0===t.className,n=e?t.getAttribute("class")||"":t.className,r=e||"object"==typeof n,o=(r?e?n:n.baseVal:n).replace(y,"");o.length&&A.push.apply(this,o.split(g)),this._isSVG=r,this._=t},m={get:function(){return new v(this)},set:function(){}},y=/^\s+|\s+$/g,g=/\s+/,b=function(t,e){return this.contains(t)?e||this.remove(t):(void 0===e||e)&&(e=!0,this.add(t)),!!e},w=t.DocumentFragment&&DocumentFragment.prototype,S=t.Node,E=(S||Element).prototype,N=t.CharacterData||S,C=N&&N.prototype,T=t.DocumentType,_=T&&T.prototype,x=(t.Element||S||t.HTMLElement).prototype,M=t.HTMLSelectElement||n("select").constructor,O=M.prototype.remove,L=t.SVGElement,A=["matches",x.matchesSelector||x.webkitMatchesSelector||x.khtmlMatchesSelector||x.mozMatchesSelector||x.msMatchesSelector||x.oMatchesSelector||function(t){var e=this.parentNode;return!!e&&-1<d.call(e.querySelectorAll(t),this)},"closest",function(t){for(var e,n=this;(e=n&&n.matches)&&!n.matches(t);)n=n.parentNode;return e?n:null},"prepend",function(){var t=this.firstChild,e=o(arguments);t?this.insertBefore(e,t):this.appendChild(e)},"append",function(){this.appendChild(o(arguments))},"before",function(){var t=this.parentNode;t&&t.insertBefore(o(arguments),this)},"after",function(){var t=this.parentNode,e=this.nextSibling,n=o(arguments);t&&(e?t.insertBefore(n,e):t.appendChild(n))},"toggleAttribute",function(t,e){var n=this.hasAttribute(t);return 1<arguments.length?n&&!e?this.removeAttribute(t):e&&!n&&this.setAttribute(t,""):n?this.removeAttribute(t):this.setAttribute(t,""),this.hasAttribute(t)},"replace",function(){this.replaceWith.apply(this,arguments)},"replaceWith",function(){var t=this.parentNode;t&&t.replaceChild(o(arguments),this)},"remove",function(){var t=this.parentNode;t&&t.removeChild(this)}],D=A.slice,P=A.length;P;P-=2)if((u=A[P-2])in x||(x[u]=A[P-1]),"remove"===u&&(M.prototype[u]=function(){return 0<arguments.length?O.apply(this,arguments):x.remove.call(this)}),/^(?:before|after|replace|replaceWith|remove)$/.test(u)&&(!N||u in C||(C[u]=A[P-1]),!T||u in _||(_[u]=A[P-1])),/^(?:append|prepend)$/.test(u))if(w)u in w||(w[u]=A[P-1]);else try{e().constructor.prototype[u]=A[P-1]}catch(t){}var F;n("a").matches("a")||(x[u]=(F=x[u],function(t){return F.call(this.parentNode?this:e().appendChild(this),t)})),v.prototype={length:0,add:function(){for(var t,e=0;e<arguments.length;e++)t=arguments[e],this.contains(t)||A.push.call(this,u);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:function(t){return function(e){return-1<(P=t.call(this,u=function(t){if(!t)throw"SyntaxError";if(g.test(t))throw"InvalidCharacterError";return t}(e)))}}([].indexOf||function(t){for(P=this.length;P--&&this[P]!==t;);return P}),item:function(t){return this[t]||null},remove:function(){for(var t,e=0;e<arguments.length;e++)t=arguments[e],this.contains(t)&&A.splice.call(this,P,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},toggle:b,toString:function(){return A.join.call(this," ")}},!L||"classList"in L.prototype||h(L.prototype,"classList",m),"classList"in f.documentElement?((s=n("div").classList).add("a","b","a"),"a b"!=s&&("add"in(c=s.constructor.prototype)||(c=t.TemporaryTokenList.prototype),l=function(t){return function(){for(var e=0;e<arguments.length;)t.call(this,arguments[e++])}},c.add=l(c.add),c.remove=l(c.remove),c.toggle=b)):h(x,"classList",m),"contains"in E||h(E,"contains",{value:function(t){for(;t&&t!==this;)t=t.parentNode;return this===t}}),"head"in f||h(f,"head",{get:function(){return a||(a=f.getElementsByTagName("head")[0])}}),function(){for(var e,n=t.requestAnimationFrame,r=t.cancelAnimationFrame,o=["o","ms","moz","webkit"],i=o.length;!r&&i--;)n=n||t[o[i]+"RequestAnimationFrame"],r=t[o[i]+"CancelAnimationFrame"]||t[o[i]+"CancelRequestAnimationFrame"];r||(n?(e=n,n=function(t){var n=!0;return e((function(){n&&t.apply(this,arguments)})),function(){n=!1}},r=function(t){t()}):(n=function(t){return setTimeout(t,15,15)},r=function(t){clearTimeout(t)})),t.requestAnimationFrame=n,t.cancelAnimationFrame=r}();try{new t.CustomEvent("?")}catch(e){t.CustomEvent=function(t,e){function n(t,e,n,r){this.initEvent(t,e,n),this.detail=r}return(function(r,o){var i=f.createEvent(t);if("string"!=typeof r)throw new Error("An event name must be provided");return"Event"==t&&(i.initCustomEvent=n),null==o&&(o=e),i.initCustomEvent(r,o.bubbles,o.cancelable,o.detail),i})}(t.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}try{new Event("_")}catch(e){e=function(t){function e(t,e){r(arguments.length,"Event");var n=f.createEvent("Event");return e||(e={}),n.initEvent(t,!!e.bubbles,!!e.cancelable),n}return e.prototype=t.prototype,e}(t.Event||function(){}),h(t,"Event",{value:e}),Event!==e&&(Event=e)}try{new KeyboardEvent("_",{})}catch(e){e=function(e){var n,o=0,i={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,altGraphKey:!1,repeat:!1,locale:navigator.language,detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0};try{var a=f.createEvent("KeyboardEvent");a.initKeyboardEvent("keyup",!1,!1,t,"+",3,!0,!1,!0,!1,!1),o="+"==(a.keyIdentifier||a.key)&&3==(a.keyLocation||a.location)&&(a.ctrlKey?a.altKey?1:3:a.shiftKey?2:4)||9}catch(t){}function u(t,e,n){try{e[t]=n[t]}catch(t){}}function c(e,a){r(arguments.length,"KeyboardEvent"),a=function(t,e){for(var n in e)e.hasOwnProperty(n)&&!e.hasOwnProperty.call(t,n)&&(t[n]=e[n]);return t}(a||{},i);var c,s=f.createEvent(n),l=a.ctrlKey,p=a.shiftKey,h=a.altKey,d=a.metaKey,v=a.altGraphKey,m=o>3?function(t){for(var e=[],n=["ctrlKey","Control","shiftKey","Shift","altKey","Alt","metaKey","Meta","altGraphKey","AltGraph"],r=0;r<n.length;r+=2)t[n[r]]&&e.push(n[r+1]);return e.join(" ")}(a):null,y=String(a.key),g=String(a.char),b=a.location,w=a.keyCode||(a.keyCode=y)&&y.charCodeAt(0)||0,S=a.charCode||(a.charCode=g)&&g.charCodeAt(0)||0,E=a.bubbles,N=a.cancelable,C=a.repeat,T=a.locale,_=a.view||t;if(a.which||(a.which=a.keyCode),"initKeyEvent"in s)s.initKeyEvent(e,E,N,_,l,h,p,d,w,S);else if(0<o&&"initKeyboardEvent"in s){switch(c=[e,E,N,_],o){case 1:c.push(y,b,l,p,h,d,v);break;case 2:c.push(l,h,p,d,w,S);break;case 3:c.push(y,b,l,h,p,d,v);break;case 4:c.push(y,b,m,C,T);break;default:c.push(char,y,b,m,C,T)}s.initKeyboardEvent.apply(s,c)}else s.initEvent(e,E,N);for(y in s)i.hasOwnProperty(y)&&s[y]!==a[y]&&u(y,s,a);return s}return n=0<o?"KeyboardEvent":"Event",c.prototype=e.prototype,c}(t.KeyboardEvent||function(){}),h(t,"KeyboardEvent",{value:e}),KeyboardEvent!==e&&(KeyboardEvent=e)}try{new MouseEvent("_",{})}catch(e){e=function(e){function n(e,n){r(arguments.length,"MouseEvent");var o=f.createEvent("MouseEvent");return n||(n={}),o.initMouseEvent(e,!!n.bubbles,!!n.cancelable,n.view||t,n.detail||1,n.screenX||0,n.screenY||0,n.clientX||0,n.clientY||0,!!n.ctrlKey,!!n.altKey,!!n.shiftKey,!!n.metaKey,n.button||0,n.relatedTarget||null),o}return n.prototype=e.prototype,n}(t.MouseEvent||function(){}),h(t,"MouseEvent",{value:e}),MouseEvent!==e&&(MouseEvent=e)}f.querySelectorAll("*").forEach||function(){function t(t){var e=t.querySelectorAll;t.querySelectorAll=function(t){var n=e.call(this,t);return n.forEach=Array.prototype.forEach,n}}t(f),t(Element.prototype)}();try{f.querySelector(":scope *")}catch(t){!function(){var t="data-scope-"+(1e9*Math.random()>>>0),e=Element.prototype,n=e.querySelector,r=e.querySelectorAll;function o(e,n,r){e.setAttribute(t,null);var o=n.call(e,String(r).replace(/(^|,\s*)(:scope([ >]|$))/g,(function(e,n,r,o){return n+"["+t+"]"+(o||" ")})));return e.removeAttribute(t),o}e.querySelector=function(t){return o(this,n,t)},e.querySelectorAll=function(t){return o(this,r,t)}}()}}(window),function(t){"use strict";var e=t.WeakMap||function(){var t,e=0,n=!1,r=!1;function o(e,o,i){r=i,n=!1,t=void 0,e.dispatchEvent(o)}function i(t){this.value=t}function u(){e++,this.__ce__=new a("@DOMMap:"+e+Math.random())}return i.prototype.handleEvent=function(e){n=!0,r?e.currentTarget.removeEventListener(e.type,this,!1):t=this.value},u.prototype={constructor:u,delete:function(t){return o(t,this.__ce__,!0),n},get:function(e){o(e,this.__ce__,!1);var n=t;return t=void 0,n},has:function(t){return o(t,this.__ce__,!1),n},set:function(t,e){return o(t,this.__ce__,!0),t.addEventListener(this.__ce__.type,new i(e),!1),this}},u}();function n(){}function r(t,e,n){function o(t){o.once&&(t.currentTarget.removeEventListener(t.type,e,o),o.removed=!0),o.passive&&(t.preventDefault=r.preventDefault),"function"==typeof o.callback?o.callback.call(this,t):o.callback&&o.callback.handleEvent(t),o.passive&&delete t.preventDefault}return o.type=t,o.callback=e,o.capture=!!n.capture,o.passive=!!n.passive,o.once=!!n.once,o.removed=!1,o}n.prototype=(Object.create||Object)(null),r.preventDefault=function(){};var o,i,a=t.CustomEvent,u=t.dispatchEvent,c=t.addEventListener,s=t.removeEventListener,l=0,f=function(){l++},p=[].indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},h=function(t){return"".concat(t.capture?"1":"0",t.passive?"1":"0",t.once?"1":"0")};try{c("_",f,{once:!0}),u(new a("_")),u(new a("_")),s("_",f,{once:!0})}catch(t){}1!==l&&(i=new e,o=function(t){if(t){var e=t.prototype;e.addEventListener=function(t){return function(e,o,a){if(a&&"boolean"!=typeof a){var u,c,s,l=i.get(this),f=h(a);l||i.set(this,l=new n),e in l||(l[e]={handler:[],wrap:[]}),c=l[e],(u=p.call(c.handler,o))<0?(u=c.handler.push(o)-1,c.wrap[u]=s=new n):s=c.wrap[u],f in s||(s[f]=r(e,o,a),t.call(this,e,s[f],s[f].capture))}else t.call(this,e,o,a)}}(e.addEventListener),e.removeEventListener=function(t){return function(e,n,r){if(r&&"boolean"!=typeof r){var o,a,u,c,s=i.get(this);if(s&&e in s&&(u=s[e],-1<(a=p.call(u.handler,n))&&(o=h(r))in(c=u.wrap[a]))){for(o in t.call(this,e,c[o],c[o].capture),delete c[o],c)return;u.handler.splice(a,1),u.wrap.splice(a,1),0===u.handler.length&&delete s[e]}}else t.call(this,e,n,r)}}(e.removeEventListener)}},t.EventTarget?o(EventTarget):(o(t.Text),o(t.Element||t.HTMLElement),o(t.HTMLDocument),o(t.Window||{prototype:t}),o(t.XMLHttpRequest)))}(self)},function(t,e){!function t(e,n){if(document.querySelector("script[data-main-path]")){var r=/^(?:[a-z]+:)?\/\//,o=/^[@a-zA-Z_-]/,i=e._||n&&n.getAttribute("data-main-path"),a=function(t){if(r.test(t))return t;if(o.test(t))return l._path(t);for(var e,n=i.slice(0,i.lastIndexOf("/")),a=t.length,u=0,c=0;u<a;c=u+1)if((u=t.indexOf("/",c))<0)u=a,n+="/"+t.slice(c),/\.js$/i.test(n)||(n+=".js");else if(0===u)n="";else{for(e=c,c=u;c&&"."===t.charAt(c-1);)--c;switch(u-c){case 0:n+="/"+t.slice(e,u);break;case 1:break;case 2:n=n.slice(0,n.lastIndexOf("/"))}}return n},u=function(t,e,n){var r=document.documentElement,o=document.createElement("script");o.setAttribute("nonce",l._nonce),o.textContent="module.$(function(){var module="+l._cjs+'(arguments[0]),__filename=module.filename,__dirname=__filename.slice(0,__filename.lastIndexOf("/")),require=module.require,exports=module.exports;(function(){"use strict";\n'+t.responseText+";\n}.call(exports));return module.exports;}(module));",l._=e,l.$=function(t){n(l._cache[e]=t)},setTimeout((function(){r.removeChild(o)}),1),r.appendChild(o)},c=function(t,e){throw l._cache[t]=new Error(e.statusText)},s={filename:i,exports:{},require:function(t){var e=a(t);return l._cache[e]||function(t){var e,n,r=t,o=/^((?:[a-z]+?:\/\/)?[^/]+)\/([^@]+)@latest(\/.*)?$/.exec(t);if(o||0===t.indexOf("@")){e=new XMLHttpRequest;var i="https://pggmlab.azurewebsites.net/latest/"+o[2];if(e.open("GET",i,!1),e.send(null),!(e.status<400))return c(t,e);n=JSON.parse(e.responseText),r=o[1]+"/"+o[2]+"@"+n.version+(o[3]||"")}return(e=new XMLHttpRequest).open("GET",r,!1),e.send(n=null),e.status<400?u(e,t,(function(t){n=t})):c(t,e),n}(e)},import:function(t){var e=a(t);return Promise.resolve(l._cache[e]||(l._cache[e]=new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status<400?u(r,e,t):n(new Error(r.statusText)))},r.send(null)}))))}},l=window.module||s;return l===s&&(window.global=window,window.module=s,window.process={browser:!0},s._cache=Object.create(null),s._nonce=n?n.getAttribute("nonce"):null,s._cjs=""+t,s._path=function(t){var e=t.indexOf("/");"@"===t[0]&&(e=t.split("/",2).join("/").length);var n="https://unpkg.com/";0===t.indexOf("@pggm/")&&(n="https://pggmlab.azurewebsites.net/unpkg/");var r=t.length,o=t.slice(0,e<0?r:e).substring(1).split("@").length>1?"":"@latest";return n+t.slice(0,e<0?r:e)+o+(e<0?"":t.slice(e))}),s}}({_:""},document.querySelector("script[data-main-path]"))},function(t,e,n){"use strict";function r(t){return(r="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)}n.r(e);var o=function(t,e,n){var o=n.value;if("function"!=typeof o)throw new Error("@Bind decorator can only be applied to methods not: ".concat(r(o)));var i=!1;return{configurable:!0,get:function(){if(i||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof o)return o;var n=o.bind(this);return i=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return n},set:function(t){o=t,delete this[e]}}),i=!1,n},set:function(t){o=t}}},i=n(21),a=n(17),u=n(29),c=n(22);function s(t){return(s="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 l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){var e="function"==typeof Map?new Map:void 0;return(p=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 h(t,arguments,v(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,t)})(t)}function h(t,e,n){return(h=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&d(o,n.prototype),o}).apply(null,arguments)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,v(e).apply(this,arguments))}var n,r,o;return 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&&d(t,e)}(e,t),n=e,(r=[{key:"connectedCallback",value:function(){if(!this.hasAttribute("data-id")){var t=document.createElement("style"),e="CustomStyle"+Math.floor(999999*Math.random())+1;t.textContent=this.textContent,t.setAttribute("id",e),this.setAttribute("data-id",e),document.getElementsByTagName("head")[0].appendChild(t),window.ShadyCSS.CustomStyleInterface.addCustomStyle(t),window.ShadyCSS.styleSubtree(this),this.dispatchEvent(new CustomEvent("customStyleConnected",{bubbles:!0,cancelable:!1,detail:{customStyle:t}}))}}}])&&l(n.prototype,r),o&&l(n,o),e}(p(HTMLStyleElement));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){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}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 S(t,arguments,N(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),E(r,t)})(t)}function S(t,e,n){return(S=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&E(o,n.prototype),o}).apply(null,arguments)}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}customElements.define("custom-inline-style",m,{extends:"style"});var C=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),b(this,N(e).apply(this,arguments))}var n,r,o;return 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&&E(t,e)}(e,t),n=e,(r=[{key:"connectedCallback",value:function(){var t=this,e=this.getAttribute("href")||"";fetch(e).then((function(e){e.text().then((function(e){var n=document.createElement("style");n.textContent=e,n.setAttribute("id","CustomStyle"+Math.floor(999999*Math.random())+1),document.getElementsByTagName("head")[0].appendChild(n),window.ShadyCSS.CustomStyleInterface.addCustomStyle(n),window.ShadyCSS.styleSubtree(t),t.dispatchEvent(new CustomEvent("customStyleConnected",{bubbles:!0,cancelable:!1,detail:{customStyle:n}}))}))}))}}])&&g(n.prototype,r),o&&g(n,o),e}(w(HTMLLinkElement));window.customElements.define("custom-style",C,{extends:"link"});n(95);n.d(e,"jsx",(function(){return _}));var T=function t(e,n){for(var r=0,o=e.length;r<o;r++){var i=e[r];Array.isArray(i)?t(i,n):null!=i&&!1!==i&&(i.hasOwnProperty("vnodeSelector")||(i={children:void 0,domNode:null,properties:void 0,text:i.toString(),vnodeSelector:""}),n.push(i))}},_=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(1===r.length&&"string"==typeof r[0])return{children:void 0,domNode:null,properties:e||void 0,text:r[0],vnodeSelector:t};var i=[];return T(r,i),{children:i,domNode:null,properties:e||void 0,text:void 0,vnodeSelector:t}};!function(t){t.h=_,t.customElements.whenDefined("custom-style").then((function(){document.body.parentElement.classList.add("custom-style-defined")})),t.CustomElement=c.a,t.CustomElementConfig=i.a,t.CustomInlineStyleElement=m,t.CustomStyleElement=C,t.PropertyRenderOnSet=a.a,t.RenderOnSet=a.a,t.ReflectToAttribute=u.a,t.Bind=o}(window)},function(t,e,n){t.exports=!n(7)&&!n(1)((function(){return 7!=Object.defineProperty(n(63)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(2),o=n(8),i=n(34),a=n(65),u=n(6).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},function(t,e,n){var r=n(12),o=n(14),i=n(51)(!1),a=n(66)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),c=0,s=[];for(n in u)n!=a&&r(u,n)&&s.push(n);for(;e.length>c;)r(u,n=e[c++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(6),o=n(4),i=n(35);t.exports=n(7)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),u=a.length,c=0;u>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var r=n(14),o=n(38).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(35),o=n(52),i=n(49),a=n(15),u=n(48),c=Object.assign;t.exports=!c||n(1)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){for(var n=a(t),c=arguments.length,s=1,l=o.f,f=i.f;c>s;)for(var p,h=u(arguments[s++]),d=l?r(h).concat(l(h)):r(h),v=d.length,m=0;v>m;)f.call(h,p=d[m++])&&(n[p]=h[p]);return n}:c},function(t,e,n){"use strict";var r=n(24),o=n(3),i=n(104),a=[].slice,u={},c=function(t,e,n){if(!(e in u)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";u[e]=Function("F,a","return new F("+r.join(",")+")")}return u[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),u=function(){var r=n.concat(a.call(arguments));return this instanceof u?c(e,r.length,r):i(e,r,t)};return o(e.prototype)&&(u.prototype=e.prototype),u}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(2).parseInt,o=n(54).trim,i=n(71),a=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},function(t,e,n){var r=n(2).parseFloat,o=n(54).trim;t.exports=1/r(n(71)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(25);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(3),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var r=n(27),o=n(26);t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),c=r(n),s=u.length;return c<0||c>=s?t?"":void 0:(i=u.charCodeAt(c))<55296||i>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):i:t?u.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(37),o=n(32),i=n(41),a={};n(13)(a,n(5)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(24),o=n(15),i=n(48),a=n(9);t.exports=function(t,e,n,u,c){r(e);var s=o(t),l=i(s),f=a(s.length),p=c?f-1:0,h=c?-1:1;if(n<2)for(;;){if(p in l){u=l[p],p+=h;break}if(p+=h,c?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;c?p>=0:f>p;p+=h)p in l&&(u=e(u,l[p],p,s));return u}},function(t,e,n){"use strict";var r=n(15),o=n(36),i=n(9);t.exports=[].copyWithin||function(t,e){var n=r(this),a=i(n.length),u=o(t,a),c=o(e,a),s=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===s?a:o(s,a))-c,a-u),f=1;for(c<u&&u<c+l&&(f=-1,c+=l-1,u+=l-1);l-- >0;)c in n?n[u]=n[c]:delete n[u],u+=f,c+=f;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(7)&&"g"!=/./g.flags&&n(6).f(RegExp.prototype,"flags",{configurable:!0,get:n(85)})},function(t,e,n){"use strict";var r,o,i,a,u=n(34),c=n(2),s=n(23),l=n(53),f=n(0),p=n(3),h=n(24),d=n(45),v=n(57),m=n(58),y=n(86).set,g=n(243)(),b=n(118),w=n(244),S=n(59),E=n(119),N=c.TypeError,C=c.process,T=C&&C.versions,_=T&&T.v8||"",x=c.Promise,M="process"==l(C),O=function(){},L=o=b.f,A=!!function(){try{var t=x.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(O,O)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==_.indexOf("6.6")&&-1===S.indexOf("Chrome/66")}catch(t){}}(),D=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},P=function(t,e){if(!t._n){t._n=!0;var n=t._c;g((function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,u=o?e.ok:e.fail,c=e.resolve,s=e.reject,l=e.domain;try{u?(o||(2==t._h&&H(t),t._h=1),!0===u?n=r:(l&&l.enter(),n=u(r),l&&(l.exit(),a=!0)),n===e.promise?s(N("Promise-chain cycle")):(i=D(n))?i.call(n,c,s):c(n)):s(r)}catch(t){l&&!a&&l.exit(),s(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&F(t)}))}},F=function(t){y.call(c,(function(){var e,n,r,o=t._v,i=j(t);if(i&&(e=w((function(){M?C.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=M||j(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},H=function(t){y.call(c,(function(){var e;M?C.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},R=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),P(e,!0))},I=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw N("Promise can't be resolved itself");(e=D(t))?g((function(){var r={_w:n,_d:!1};try{e.call(t,s(I,r,1),s(R,r,1))}catch(t){R.call(r,t)}})):(n._v=t,n._s=1,P(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};A||(x=function(t){d(this,x,"Promise","_h"),h(t),r.call(this);try{t(s(I,this,1),s(R,this,1))}catch(t){R.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(46)(x.prototype,{then:function(t,e){var n=L(m(this,x));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=M?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(I,t,1),this.reject=s(R,t,1)},b.f=L=function(t){return t===x||t===a?new i(t):o(t)}),f(f.G+f.W+f.F*!A,{Promise:x}),n(41)(x,"Promise"),n(44)("Promise"),a=n(8).Promise,f(f.S+f.F*!A,"Promise",{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(u||!A),"Promise",{resolve:function(t){return E(u&&this===a?x:this,t)}}),f(f.S+f.F*!(A&&n(55)((function(t){x.all(t).catch(O)}))),"Promise",{all:function(t){var e=this,n=L(e),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;v(t,!1,(function(t){var u=i++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[u]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,o=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(24);function o(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(4),o=n(3),i=n(118);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){"use strict";var r=n(6).f,o=n(37),i=n(46),a=n(23),u=n(45),c=n(57),s=n(76),l=n(115),f=n(44),p=n(7),h=n(31).fastKey,d=n(47),v=p?"_s":"size",m=function(t,e){var n,r=h(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,s){var l=t((function(t,r){u(t,l,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[v]=0,null!=r&&c(r,n,t[s],t)}));return i(l.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var n=d(this,e),r=m(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[v]--}return!!r},forEach:function(t){d(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!m(d(this,e),t)}}),p&&r(l.prototype,"size",{get:function(){return d(this,e)[v]}}),l},def:function(t,e,n){var r,o,i=m(t,e);return i?i.v=n:(t._l=i={i:o=h(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:m,setStrong:function(t,e,n){s(t,e,(function(t,n){this._t=d(t,e),this._k=n,this._l=void 0}),(function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?l(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,l(1))}),n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){"use strict";var r=n(46),o=n(31).getWeak,i=n(4),a=n(3),u=n(45),c=n(57),s=n(20),l=n(12),f=n(47),p=s(5),h=s(6),d=0,v=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},y=function(t,e){return p(t.a,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=h(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var s=t((function(t,r){u(t,s,e,"_i"),t._t=e,t._i=d++,t._l=void 0,null!=r&&c(r,n,t[i],t)}));return r(s.prototype,{delete:function(t){if(!a(t))return!1;var n=o(t);return!0===n?v(f(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=o(t);return!0===n?v(f(this,e)).has(t):n&&l(n,this._i)}}),s},def:function(t,e,n){var r=o(i(e),!0);return!0===r?v(t).set(e,n):r[t._i]=n,t},ufstore:v}},function(t,e,n){var r=n(27),o=n(9);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(38),o=n(52),i=n(4),a=n(2).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(9),o=n(73),i=n(26);t.exports=function(t,e,n,a){var u=String(i(t)),c=u.length,s=void 0===n?" ":String(n),l=r(e);if(l<=c||""==s)return u;var f=l-c,p=o.call(s,Math.ceil(f/s.length));return p.length>f&&(p=p.slice(0,f)),a?p+u:u+p}},function(t,e,n){var r=n(35),o=n(14),i=n(49).f;t.exports=function(t){return function(e){for(var n,a=o(e),u=r(a),c=u.length,s=0,l=[];c>s;)i.call(a,n=u[s++])&&l.push(t?[n,a[n]]:a[n]);return l}}},,,function(t,e,n){n(129),n(88),n(295),n(89),n(90),n(91),n(92),n(93),n(94),t.exports=n(96)},function(t,e,n){"use strict";(function(t){n(130),n(274),n(276),n(278),n(280),n(282),n(284),n(286),n(288),n(290),n(294),t._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),t._babelPolyfill=!0}).call(this,n(40))},function(t,e,n){n(131),n(133),n(134),n(135),n(136),n(137),n(138),n(139),n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(149),n(150),n(151),n(152),n(153),n(154),n(155),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(212),n(213),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(84),n(237),n(238),n(116),n(239),n(240),n(241),n(242),n(117),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),t.exports=n(8)},function(t,e,n){"use strict";var r=n(2),o=n(12),i=n(7),a=n(0),u=n(10),c=n(31).KEY,s=n(1),l=n(64),f=n(41),p=n(33),h=n(5),d=n(65),v=n(98),m=n(132),y=n(68),g=n(4),b=n(3),w=n(14),S=n(30),E=n(32),N=n(37),C=n(101),T=n(18),_=n(6),x=n(35),M=T.f,O=_.f,L=C.f,A=r.Symbol,D=r.JSON,P=D&&D.stringify,F=h("_hidden"),j=h("toPrimitive"),H={}.propertyIsEnumerable,R=l("symbol-registry"),I=l("symbols"),k=l("op-symbols"),V=Object.prototype,U="function"==typeof A,B=r.QObject,q=!B||!B.prototype||!B.prototype.findChild,G=i&&s((function(){return 7!=N(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=M(V,e);r&&delete V[e],O(t,e,n),r&&t!==V&&O(V,e,r)}:O,W=function(t){var e=I[t]=N(A.prototype);return e._k=t,e},K=U&&"symbol"==typeof A.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof A},z=function(t,e,n){return t===V&&z(k,e,n),g(t),e=S(e,!0),g(n),o(I,e)?(n.enumerable?(o(t,F)&&t[F][e]&&(t[F][e]=!1),n=N(n,{enumerable:E(0,!1)})):(o(t,F)||O(t,F,E(1,{})),t[F][e]=!0),G(t,e,n)):O(t,e,n)},$=function(t,e){g(t);for(var n,r=m(e=w(e)),o=0,i=r.length;i>o;)z(t,n=r[o++],e[n]);return t},X=function(t){var e=H.call(this,t=S(t,!0));return!(this===V&&o(I,t)&&!o(k,t))&&(!(e||!o(this,t)||!o(I,t)||o(this,F)&&this[F][t])||e)},Y=function(t,e){if(t=w(t),e=S(e,!0),t!==V||!o(I,e)||o(k,e)){var n=M(t,e);return!n||!o(I,e)||o(t,F)&&t[F][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=L(w(t)),r=[],i=0;n.length>i;)o(I,e=n[i++])||e==F||e==c||r.push(e);return r},Z=function(t){for(var e,n=t===V,r=L(n?k:w(t)),i=[],a=0;r.length>a;)!o(I,e=r[a++])||n&&!o(V,e)||i.push(I[e]);return i};U||(u((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===V&&e.call(k,n),o(this,F)&&o(this[F],t)&&(this[F][t]=!1),G(this,t,E(1,n))};return i&&q&&G(V,t,{configurable:!0,set:e}),W(t)}).prototype,"toString",(function(){return this._k})),T.f=Y,_.f=z,n(38).f=C.f=J,n(49).f=X,n(52).f=Z,i&&!n(34)&&u(V,"propertyIsEnumerable",X,!0),d.f=function(t){return W(h(t))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Q.length>tt;)h(Q[tt++]);for(var et=x(h.store),nt=0;et.length>nt;)v(et[nt++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return o(R,t+="")?R[t]:R[t]=A(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in R)if(R[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!U,"Object",{create:function(t,e){return void 0===e?N(t):$(N(t),e)},defineProperty:z,defineProperties:$,getOwnPropertyDescriptor:Y,getOwnPropertyNames:J,getOwnPropertySymbols:Z}),D&&a(a.S+a.F*(!U||s((function(){var t=A();return"[null]"!=P([t])||"{}"!=P({a:t})||"{}"!=P(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!==t)&&!K(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,P.apply(D,r)}}),A.prototype[j]||n(13)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){var r=n(35),o=n(52),i=n(49);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,u=n(t),c=i.f,s=0;u.length>s;)c.call(t,a=u[s++])&&e.push(a);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(37)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperty:n(6).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperties:n(100)})},function(t,e,n){var r=n(14),o=n(18).f;n(19)("getOwnPropertyDescriptor",(function(){return function(t,e){return o(r(t),e)}}))},function(t,e,n){var r=n(15),o=n(39);n(19)("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},function(t,e,n){var r=n(15),o=n(35);n(19)("keys",(function(){return function(t){return o(r(t))}}))},function(t,e,n){n(19)("getOwnPropertyNames",(function(){return n(101).f}))},function(t,e,n){var r=n(3),o=n(31).onFreeze;n(19)("freeze",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(3),o=n(31).onFreeze;n(19)("seal",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(3),o=n(31).onFreeze;n(19)("preventExtensions",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(3);n(19)("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(3);n(19)("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(3);n(19)("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(102)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(148)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(70).set})},function(t,e,n){"use strict";var r=n(53),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(10)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(103)})},function(t,e,n){var r=n(6).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(7)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(3),o=n(39),i=n(5)("hasInstance"),a=Function.prototype;i in a||n(6).f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),o=n(105);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(106);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,e,n){"use strict";var r=n(2),o=n(12),i=n(25),a=n(72),u=n(30),c=n(1),s=n(38).f,l=n(18).f,f=n(6).f,p=n(54).trim,h=r.Number,d=h,v=h.prototype,m="Number"==i(n(37)(v)),y="trim"in String.prototype,g=function(t){var e=u(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,i=(e=y?e.trim():p(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,c=e.slice(2),s=0,l=c.length;s<l;s++)if((a=c.charCodeAt(s))<48||a>o)return NaN;return parseInt(c,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(m?c((function(){v.valueOf.call(n)})):"Number"!=i(n))?a(new d(g(e)),n,h):g(e)};for(var b,w=n(7)?s(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;w.length>S;S++)o(d,b=w[S])&&!o(h,b)&&f(h,b,l(d,b));h.prototype=v,v.constructor=h,n(10)(r,"Number",h)}},function(t,e,n){"use strict";var r=n(0),o=n(27),i=n(107),a=n(73),u=1..toFixed,c=Math.floor,s=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*s[n],s[n]=r%1e7,r=c(r/1e7)},p=function(t){for(var e=6,n=0;--e>=0;)n+=s[e],s[e]=c(n/t),n=n%t*1e7},h=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==s[t]){var n=String(s[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},d=function(t,e,n){return 0===e?n:e%2==1?d(t,e-1,n*t):d(t*t,e/2,n)};r(r.P+r.F*(!!u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(1)((function(){u.call({})}))),"Number",{toFixed:function(t){var e,n,r,u,c=i(this,l),s=o(t),v="",m="0";if(s<0||s>20)throw RangeError(l);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(v="-",c=-c),c>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(c*d(2,69,1))-69)<0?c*d(2,-e,1):c/d(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=s;r>=7;)f(1e7,0),r-=7;for(f(d(10,r,1),0),r=e-1;r>=23;)p(1<<23),r-=23;p(1<<r),f(1,1),p(2),m=h()}else f(0,n),f(1<<-e,0),m=h()+a.call("0",s);return m=s>0?v+((u=m.length)<=s?"0."+a.call("0",s-u)+m:m.slice(0,u-s)+"."+m.slice(u-s)):v+m}})},function(t,e,n){"use strict";var r=n(0),o=n(1),i=n(107),a=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))),"Number",{toPrecision:function(t){var e=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),o=n(2).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(108)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),o=n(108),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),o=n(106);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(105);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(109),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},function(t,e,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),o=n(74);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,e,n){var r=n(0),o=n(75);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(176)})},function(t,e,n){var r=n(74),o=Math.pow,i=o(2,-52),a=o(2,-23),u=o(2,127)*(2-a),c=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),s=r(t);return o<c?s*(o/c/a+1/i-1/i)*c*a:(n=(e=(1+a/i)*o)-(e-o))>u||n!=n?s*(1/0):s*n}},function(t,e,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,i=0,a=0,u=arguments.length,c=0;a<u;)c<(n=o(arguments[a++]))?(i=i*(r=c/n)*r+1,c=n):i+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*Math.sqrt(i)}})},function(t,e,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(1)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(109)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(74)})},function(t,e,n){var r=n(0),o=n(75),i=Math.exp;r(r.S+r.F*n(1)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),o=n(75),i=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),o=n(36),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),o=n(14),i=n(9);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],u=0;n>u;)a.push(String(e[u++])),u<r&&a.push(String(arguments[u]));return a.join("")}})},function(t,e,n){"use strict";n(54)("trim",(function(t){return function(){return t(this,3)}}))},function(t,e,n){"use strict";var r=n(110)(!0);n(76)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var r=n(0),o=n(110)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(9),i=n(77),a="".endsWith;r(r.P+r.F*n(79)("endsWith"),"String",{endsWith:function(t){var e=i(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),u=void 0===n?r:Math.min(o(n),r),c=String(t);return a?a.call(e,c,u):e.slice(u-c.length,u)===c}})},function(t,e,n){"use strict";var r=n(0),o=n(77);r(r.P+r.F*n(79)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(73)})},function(t,e,n){"use strict";var r=n(0),o=n(9),i=n(77),a="".startsWith;r(r.P+r.F*n(79)("startsWith"),"String",{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(11)("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},function(t,e,n){"use strict";n(11)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,e,n){"use strict";n(11)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,e,n){"use strict";n(11)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,e,n){"use strict";n(11)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,e,n){"use strict";n(11)("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},function(t,e,n){"use strict";n(11)("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},function(t,e,n){"use strict";n(11)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,e,n){"use strict";n(11)("link",(function(t){return function(e){return t(this,"a","href",e)}}))},function(t,e,n){"use strict";n(11)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,e,n){"use strict";n(11)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,e,n){"use strict";n(11)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,e,n){"use strict";n(11)("sup",(function(t){return function(){return t(this,"sup","","")}}))},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),o=n(15),i=n(30);r(r.P+r.F*n(1)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=o(this),n=i(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),o=n(211);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,e,n){"use strict";var r=n(1),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))}))||!r((function(){i.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(t,e,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(10)(r,"toString",(function(){var t=i.call(this);return t==t?o.call(this):"Invalid Date"}))},function(t,e,n){var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(13)(o,r,n(214))},function(t,e,n){"use strict";var r=n(4),o=n(30);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(68)})},function(t,e,n){"use strict";var r=n(23),o=n(0),i=n(15),a=n(112),u=n(80),c=n(9),s=n(81),l=n(82);o(o.S+o.F*!n(55)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,f,p=i(t),h="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,m=void 0!==v,y=0,g=l(p);if(m&&(v=r(v,d>2?arguments[2]:void 0,2)),null==g||h==Array&&u(g))for(n=new h(e=c(p.length));e>y;y++)s(n,y,m?v(p[y],y):p[y]);else for(f=g.call(p),n=new h;!(o=f.next()).done;y++)s(n,y,m?a(f,v,[o.value,y],!0):o.value);return n.length=y,n}})},function(t,e,n){"use strict";var r=n(0),o=n(81);r(r.S+r.F*n(1)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),o=n(14),i=[].join;r(r.P+r.F*(n(48)!=Object||!n(16)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),o=n(69),i=n(25),a=n(36),u=n(9),c=[].slice;r(r.P+r.F*n(1)((function(){o&&c.call(o)})),"Array",{slice:function(t,e){var n=u(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var o=a(t,n),s=a(e,n),l=u(s-o),f=new Array(l),p=0;p<l;p++)f[p]="String"==r?this.charAt(o+p):this[o+p];return f}})},function(t,e,n){"use strict";var r=n(0),o=n(24),i=n(15),a=n(1),u=[].sort,c=[1,2,3];r(r.P+r.F*(a((function(){c.sort(void 0)}))||!a((function(){c.sort(null)}))||!n(16)(u)),"Array",{sort:function(t){return void 0===t?u.call(i(this)):u.call(i(this),o(t))}})},function(t,e,n){"use strict";var r=n(0),o=n(20)(0),i=n(16)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,n){var r=n(223);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(3),o=n(68),i=n(5)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(0),o=n(20)(1);r(r.P+r.F*!n(16)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(20)(2);r(r.P+r.F*!n(16)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(20)(3);r(r.P+r.F*!n(16)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(20)(4);r(r.P+r.F*!n(16)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(113);r(r.P+r.F*!n(16)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),o=n(113);r(r.P+r.F*!n(16)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),o=n(51)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(16)(i)),"Array",{indexOf:function(t){return a?i.apply(this,arguments)||0:o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(14),i=n(27),a=n(9),u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n(16)(u)),"Array",{lastIndexOf:function(t){if(c)return u.apply(this,arguments)||0;var e=o(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(114)}),n(43)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(83)}),n(43)("fill")},function(t,e,n){"use strict";var r=n(0),o=n(20)(5),i=!0;"find"in[]&&Array(1).find((function(){i=!1})),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(43)("find")},function(t,e,n){"use strict";var r=n(0),o=n(20)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(43)(i)},function(t,e,n){n(44)("Array")},function(t,e,n){var r=n(2),o=n(72),i=n(6).f,a=n(38).f,u=n(78),c=n(85),s=r.RegExp,l=s,f=s.prototype,p=/a/g,h=/a/g,d=new s(p)!==p;if(n(7)&&(!d||n(1)((function(){return h[n(5)("match")]=!1,s(p)!=p||s(h)==h||"/a/i"!=s(p,"i")})))){s=function(t,e){var n=this instanceof s,r=u(t),i=void 0===e;return!n&&r&&t.constructor===s&&i?t:o(d?new l(r&&!i?t.source:t,e):l((r=t instanceof s)?t.source:t,r&&i?c.call(t):e),n?this:f,s)};for(var v=function(t){t in s||i(s,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},m=a(l),y=0;m.length>y;)v(m[y++]);f.constructor=s,s.prototype=f,n(10)(r,"RegExp",s)}n(44)("RegExp")},function(t,e,n){"use strict";n(116);var r=n(4),o=n(85),i=n(7),a=/./.toString,u=function(t){n(10)(RegExp.prototype,"toString",t,!0)};n(1)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?u((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=a.name&&u((function(){return a.call(this)}))},function(t,e,n){n(56)("match",1,(function(t,e,n){return[function(n){"use strict";var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},n]}))},function(t,e,n){n(56)("replace",2,(function(t,e,n){return[function(r,o){"use strict";var i=t(this),a=null==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]}))},function(t,e,n){n(56)("search",1,(function(t,e,n){return[function(n){"use strict";var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},n]}))},function(t,e,n){n(56)("split",2,(function(t,e,r){"use strict";var o=n(78),i=r,a=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var u=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(n,t,e);var r,c,s,l,f,p=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,v=void 0===e?4294967295:e>>>0,m=new RegExp(t.source,h+"g");for(u||(r=new RegExp("^"+m.source+"$(?!\\s)",h));(c=m.exec(n))&&!((s=c.index+c[0].length)>d&&(p.push(n.slice(d,c.index)),!u&&c.length>1&&c[0].replace(r,(function(){for(f=1;f<arguments.length-2;f++)void 0===arguments[f]&&(c[f]=void 0)})),c.length>1&&c.index<n.length&&a.apply(p,c.slice(1)),l=c[0].length,d=s,p.length>=v));)m.lastIndex===c.index&&m.lastIndex++;return d===n.length?!l&&m.test("")||p.push(""):p.push(n.slice(d)),p.length>v?p.slice(0,v):p}}else"0".split(void 0,0).length&&(r=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(n,o){var i=t(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]}))},function(t,e,n){var r=n(2),o=n(86).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,u=r.Promise,c="process"==n(25)(a);t.exports=function(){var t,e,n,s=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var l=u.resolve(void 0);n=function(){l.then(s)}}else n=function(){o.call(r,s)};else{var f=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){"use strict";var r=n(120),o=n(47);t.exports=n(60)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(120),o=n(47);t.exports=n(60)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,o=n(20)(0),i=n(10),a=n(31),u=n(102),c=n(121),s=n(3),l=n(1),f=n(47),p=a.getWeak,h=Object.isExtensible,d=c.ufstore,v={},m=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(s(t)){var e=p(t);return!0===e?d(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return c.def(f(this,"WeakMap"),t,e)}},g=t.exports=n(60)("WeakMap",m,y,c,!0,!0);l((function(){return 7!=(new g).set((Object.freeze||Object)(v),7).get(v)}))&&(u((r=c.getConstructor(m,"WeakMap")).prototype,y),a.NEED=!0,o(["delete","has","get","set"],(function(t){var e=g.prototype,n=e[t];i(e,t,(function(e,o){if(s(e)&&!h(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)}))})))},function(t,e,n){"use strict";var r=n(121),o=n(47);n(60)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),o=n(61),i=n(87),a=n(4),u=n(36),c=n(9),s=n(3),l=n(2).ArrayBuffer,f=n(58),p=i.ArrayBuffer,h=i.DataView,d=o.ABV&&l.isView,v=p.prototype.slice,m=o.VIEW;r(r.G+r.W+r.F*(l!==p),{ArrayBuffer:p}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return d&&d(t)||s(t)&&m in t}}),r(r.P+r.U+r.F*n(1)((function(){return!new p(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(a(this),t);for(var n=a(this).byteLength,r=u(t,n),o=u(void 0===e?n:e,n),i=new(f(this,p))(c(o-r)),s=new h(this),l=new h(i),d=0;r<o;)l.setUint8(d++,s.getUint8(r++));return i}}),n(44)("ArrayBuffer")},function(t,e,n){var r=n(0);r(r.G+r.W+r.F*!n(61).ABV,{DataView:n(87).DataView})},function(t,e,n){n(28)("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(28)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(28)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},function(t,e,n){n(28)("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(28)("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(28)("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(28)("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(28)("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(28)("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){var r=n(0),o=n(24),i=n(4),a=(n(2).Reflect||{}).apply,u=Function.apply;r(r.S+r.F*!n(1)((function(){a((function(){}))})),"Reflect",{apply:function(t,e,n){var r=o(t),c=i(n);return a?a(r,e,c):u.call(r,e,c)}})},function(t,e,n){var r=n(0),o=n(37),i=n(24),a=n(4),u=n(3),c=n(1),s=n(103),l=(n(2).Reflect||{}).construct,f=c((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),p=!c((function(){l((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(p&&!f)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(s.apply(t,r))}var c=n.prototype,h=o(u(c)?c:Object.prototype),d=Function.apply.call(t,h,e);return u(d)?d:h}})},function(t,e,n){var r=n(6),o=n(0),i=n(4),a=n(30);o(o.S+o.F*n(1)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){i(t),e=a(e,!0),i(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),o=n(18).f,i=n(4);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=o(i(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(0),o=n(4),i=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(111)(i,"Object",(function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,e,n){var r=n(18),o=n(39),i=n(12),a=n(0),u=n(3),c=n(4);a(a.S,"Reflect",{get:function t(e,n){var a,s,l=arguments.length<3?e:arguments[2];return c(e)===l?e[n]:(a=r.f(e,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(l):void 0:u(s=o(e))?t(s,n,l):void 0}})},function(t,e,n){var r=n(18),o=n(0),i=n(4);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},function(t,e,n){var r=n(0),o=n(39),i=n(4);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),o=n(4),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(123)})},function(t,e,n){var r=n(0),o=n(4),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(6),o=n(18),i=n(39),a=n(12),u=n(0),c=n(32),s=n(4),l=n(3);u(u.S,"Reflect",{set:function t(e,n,u){var f,p,h=arguments.length<4?e:arguments[3],d=o.f(s(e),n);if(!d){if(l(p=i(e)))return t(p,n,u,h);d=c(0)}if(a(d,"value")){if(!1===d.writable||!l(h))return!1;if(f=o.f(h,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=u,r.f(h,n,f)}else r.f(h,n,c(0,u));return!0}return void 0!==d.set&&(d.set.call(h,u),!0)}})},function(t,e,n){var r=n(0),o=n(70);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(275),t.exports=n(8).Array.includes},function(t,e,n){"use strict";var r=n(0),o=n(51)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(43)("includes")},function(t,e,n){n(277),t.exports=n(8).String.padStart},function(t,e,n){"use strict";var r=n(0),o=n(124),i=n(59);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){n(279),t.exports=n(8).String.padEnd},function(t,e,n){"use strict";var r=n(0),o=n(124),i=n(59);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){n(281),t.exports=n(65).f("asyncIterator")},function(t,e,n){n(98)("asyncIterator")},function(t,e,n){n(283),t.exports=n(8).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(0),o=n(123),i=n(14),a=n(18),u=n(81);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=i(t),c=a.f,s=o(r),l={},f=0;s.length>f;)void 0!==(n=c(r,e=s[f++]))&&u(l,e,n);return l}})},function(t,e,n){n(285),t.exports=n(8).Object.values},function(t,e,n){var r=n(0),o=n(125)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){n(287),t.exports=n(8).Object.entries},function(t,e,n){var r=n(0),o=n(125)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";n(117),n(289),t.exports=n(8).Promise.finally},function(t,e,n){"use strict";var r=n(0),o=n(8),i=n(2),a=n(58),u=n(119);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){n(291),n(292),n(293),t.exports=n(8)},function(t,e,n){var r=n(2),o=n(0),i=n(59),a=[].slice,u=/MSIE .\./.test(i),c=function(t){return function(e,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*u,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(t,e,n){var r=n(0),o=n(86);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){for(var r=n(84),o=n(35),i=n(10),a=n(2),u=n(13),c=n(42),s=n(5),l=s("iterator"),f=s("toStringTag"),p=c.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=o(h),v=0;v<d.length;v++){var m,y=d[v],g=h[y],b=a[y],w=b&&b.prototype;if(w&&(w[l]||u(w,l,p),w[f]||u(w,f,y),c[y]=p,g))for(m in r)w[m]||i(w,m,r[m],!0)}},function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",s="object"==typeof t,l=e.regeneratorRuntime;if(l)s&&(t.exports=l);else{(l=e.regeneratorRuntime=s?t.exports:{}).wrap=w;var f="suspendedStart",p="suspendedYield",h="executing",d="completed",v={},m={};m[a]=function(){return this};var y=Object.getPrototypeOf,g=y&&y(y(A([])));g&&g!==r&&o.call(g,a)&&(m=g);var b=C.prototype=E.prototype=Object.create(m);N.prototype=b.constructor=C,C.constructor=N,C[c]=N.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===N||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},l.awrap=function(t){return{__await:t}},T(_.prototype),_.prototype[u]=function(){return this},l.AsyncIterator=_,l.async=function(t,e,n,r){var o=new _(w(t,e,n,r));return l.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},T(b),b[c]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},l.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}},l.values=A,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},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(r,o){return u.type="throw",u.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},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),v},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),v}},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,r){return this.delegate={iterator:A(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function w(t,e,n,r){var o=e&&e.prototype instanceof E?e:E,i=Object.create(o.prototype),a=new L(r||[]);return i._invoke=function(t,e,n){var r=f;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return D()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=x(a,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=S(t,e,n);if("normal"===c.type){if(r=n.done?d:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function S(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function E(){}function N(){}function C(){}function T(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function _(t){var e;this._invoke=function(n,r){function i(){return new Promise((function(e,i){!function e(n,r,i,a){var u=S(t[n],t,r);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(s).then((function(t){c.value=t,i(c)}),a)}a(u.arg)}(n,r,e,i)}))}return e=e?e.then(i,i):i()}}function x(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,x(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=S(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function M(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 L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function A(t){if(t){var e=t[a];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(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return i.next=i}}return{next:D}}function D(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},function(t,e){!function(t){"use strict";if(!t.fetch){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=function(t){return t&&DataView.prototype.isPrototypeOf(t)},o=ArrayBuffer.isView||function(t){return t&&n.indexOf(Object.prototype.toString.call(t))>-1};l.prototype.append=function(t,e){t=u(t),e=c(e);var n=this.map[t];this.map[t]=n?n+","+e:e},l.prototype.delete=function(t){delete this.map[u(t)]},l.prototype.get=function(t){return t=u(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(u(t))},l.prototype.set=function(t,e){this.map[u(t)]=c(e)},l.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),s(t)},e.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var i=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},v.call(m.prototype),v.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},g.error=function(){var t=new g(null,{status:0,statusText:""});return t.type="error",t};var a=[301,302,303,307,308];g.redirect=function(t,e){if(-1===a.indexOf(e))throw new RangeError("Invalid status code");return new g(null,{status:e,headers:{location:t}})},t.Headers=l,t.Request=m,t.Response=g,t.fetch=function(t,n){return new Promise((function(r,o){var i=new m(t,n),a=new XMLHttpRequest;a.onload=function(){var t,e,n={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var n=t.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();e.append(r,o)}})),e)};n.url="responseURL"in a?a.responseURL:n.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;r(new g(o,n))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&e.blob&&(a.responseType="blob"),i.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),a.send(void 0===i._bodyInit?null:i._bodyInit)}))},t.fetch.polyfill=!0}function u(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e.iterable&&(n[Symbol.iterator]=function(){return n}),n}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function f(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function h(t){var e=new FileReader,n=p(e);return e.readAsArrayBuffer(t),n}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(e.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(e.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(e.arrayBuffer&&e.blob&&r(t))this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!e.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t)&&!o(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=f(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t,e,n,r=f(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,n=p(e),e.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}function m(t,e){var n,r,o=(e=e||{}).body;if(t instanceof m){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(n=e.method||this.method||"GET",r=n.toUpperCase(),i.indexOf(r)>-1?r:n),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function y(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}})),e}function g(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}}("undefined"!=typeof self?self:this)}]);
|
|
1
|
+
/*! P-ELEMENTS 2.1.0-rc10 - Thu Feb 12 2026 18:52:28 GMT+0100 (Midden-Europese standaardtijd) */var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};(()=>{const{keys:e}=Object,t=!0,r=!1,n="querySelectorAll",o="querySelectorAll",{document:i,Element:a,MutationObserver:s,Set:l,WeakMap:c}=self,u=e=>o in e,{filter:d}=[],f=e=>{const f=new c,p=(t,r)=>{let n;if(r)for(let o,i=(e=>e.matches||e.webkitMatchesSelector||e.msMatchesSelector)(t),a=0,{length:s}=m;a<s;a++)i.call(t,o=m[a])&&(f.has(t)||f.set(t,new l),n=f.get(t),n.has(o)||(n.add(o),e.handle(t,r,o)));else f.has(t)&&(n=f.get(t),f.delete(t),n.forEach(n=>{e.handle(t,r,n)}))},h=(e,t=!0)=>{for(let r=0,{length:n}=e;r<n;r++)p(e[r],t)},{query:m}=e,y=e.root||i,v=((e,o=document,i=MutationObserver,a=["*"])=>{const s=(r,o,i,a,l,c)=>{for(const u of r)(c||n in u)&&(l?i.has(u)||(i.add(u),a.delete(u),e(u,l)):a.has(u)||(a.add(u),i.delete(u),e(u,l)),c||s(u[n](o),o,i,a,l,t))},l=new i(e=>{if(a.length){const n=a.join(","),o=new Set,i=new Set;for(const{addedNodes:a,removedNodes:l}of e)s(l,n,o,i,r,r),s(a,n,o,i,t,r)}}),{observe:c}=l;return(l.observe=e=>c.call(l,e,{subtree:t,childList:t}))(o),l})(p,y,s,m),{attachShadow:b}=a.prototype;return b&&(a.prototype.attachShadow=function(e){const t=b.call(this,e);return v.observe(t),t}),m.length&&h(y[o](m)),{drop:e=>{for(let t=0,{length:r}=e;t<r;t++)f.delete(e[t])},flush:()=>{const e=v.takeRecords();for(let t=0,{length:r}=e;t<r;t++)h(d.call(e[t].removedNodes,u),!1),h(d.call(e[t].addedNodes,u),!0)},observer:v,parse:h}},{customElements:p,document:h,Element:m,MutationObserver:y,Object:v,Promise:b,Map:g,Set:w,WeakMap:S,Reflect:E}=self,{createElement:A}=h,{define:k,get:O,upgrade:N}=p,{construct:M}=E||{construct(e){return e.call(this)}},{defineProperty:C,getOwnPropertyNames:j,setPrototypeOf:x}=v,T=new S,I=new w,P=new g,L=new g,R=new g,F=new g,V=[],W=[],D=e=>F.get(e)||O.call(p,e),{parse:q}=f({query:W,handle:(t,r,n)=>{const o=R.get(n);if(r&&!o.isPrototypeOf(t)){const r=(t=>{const r=e(t),n=[],o=new Set,{length:i}=r;for(let e=0;e<i;e++){n[e]=t[r[e]];try{delete t[r[e]]}catch(t){o.add(e)}}return()=>{for(let e=0;e<i;e++)o.has(e)||(t[r[e]]=n[e])}})(t);U=x(t,o);try{new o.constructor}finally{U=null,r()}}const i=(r?"":"dis")+"connectedCallback";i in o&&t[i]()}}),{parse:H}=f({query:V,handle(e,t){T.has(e)&&(t?I.add(e):I.delete(e),W.length&&z.call(W,e))}}),{attachShadow:$}=m.prototype;$&&(m.prototype.attachShadow=function(e){const t=$.call(this,e);return T.set(this,t),t});const _=e=>{if(!L.has(e)){let t,r=new b(e=>{t=e});L.set(e,{$:r,_:t})}return L.get(e).$},B=((e,t)=>{const r=e=>{for(let t=0,{length:r}=e;t<r;t++)n(e[t])},n=({target:e,attributeName:t,oldValue:r})=>{e.attributeChangedCallback(t,r,e.getAttribute(t))};return(o,i)=>{const{observedAttributes:a}=o.constructor;return a&&e(i).then(()=>{new t(r).observe(o,{attributes:!0,attributeOldValue:!0,attributeFilter:a});for(let e=0,{length:t}=a;e<t;e++)o.hasAttribute(a[e])&&n({target:o,attributeName:a[e],oldValue:null})}),o}})(_,y);let U=null;function z(e){const t=T.get(e);q(t.querySelectorAll(this),e.isConnected)}j(self).filter(e=>/^HTML.*Element$/.test(e)).forEach(e=>{const t=self[e];function r(){const{constructor:e}=this;if(!P.has(e))throw new TypeError("Illegal constructor");const{is:r,tag:n}=P.get(e);if(r){if(U)return B(U,r);const t=A.call(h,n);return t.setAttribute("is",r),B(x(t,e.prototype),r)}return M.call(this,t,[],e)}x(r,t),C(r.prototype=t.prototype,"constructor",{value:r}),C(self,e,{value:r})}),h.createElement=function(e,t){const r=t&&t.is;if(r){const t=F.get(r);if(t&&P.get(t).tag===e)return new t}const n=A.call(h,e);return r&&n.setAttribute("is",r),n},p.get=D,p.whenDefined=_,p.upgrade=function(e){const t=e.getAttribute("is");if(t){const r=F.get(t);if(r)return void B(x(e,r.prototype),t)}N.call(p,e)},p.define=function(e,t,r){if(D(e))throw new Error(`'${e}' has already been defined as a custom element`);let n;const o=r&&r.extends;P.set(t,o?{is:e,tag:o}:{is:"",tag:e}),o?(n=`${o}[is="${e}"]`,R.set(n,t.prototype),F.set(e,t),W.push(n)):(k.apply(p,arguments),V.push(n=e)),_(e).then(()=>{o?(q(h.querySelectorAll(n)),I.forEach(z,[n])):H(h.querySelectorAll(n))}),L.get(e)._(t)}})(),(()=>{const e=new WeakMap,t=new WeakMap,r=new WeakMap,n=new WeakMap,o=new WeakMap,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap,p=new WeakMap,h=new WeakMap,m=(e,t,r)=>{e.getAttribute(t)!==r&&e.setAttribute(t,r)},y=(e,t)=>{e.toggleAttribute("internals-disabled",t),t?m(e,"aria-disabled","true"):e.removeAttribute("aria-disabled"),e.formDisabledCallback&&e.formDisabledCallback.apply(e,[t])},v=e=>{r.get(e).forEach(e=>{e.remove()}),r.set(e,[])},b=(e,t)=>{const n=document.createElement("input");return n.type="hidden",n.name=e.getAttribute("name"),e.after(n),r.get(t).push(n),n},g=(e,t)=>{if(t.length){const r=Array.from(t);r.forEach(t=>t.addEventListener("click",e.click.bind(e)));const[n]=r;let o=n.id;n.id||(o=`${n.htmlFor}_Label`,n.id=o),m(e,"aria-labelledby",o)}},w=e=>{const t=Array.from(e.elements).filter(e=>!e.tagName.includes("-")&&e.validity).map(e=>e.validity.valid),r=s.get(e)||[],o=[...t,...Array.from(r).filter(e=>e.isConnected).map(e=>n.get(e).validity.valid)].includes(!1);e.toggleAttribute("internals-invalid",o),e.toggleAttribute("internals-valid",!o)},S=e=>{w(O(e.target))},E=e=>{w(O(e.target))},A=e=>{const t=s.get(e.target);t&&t.size&&t.forEach(e=>{e.constructor.formAssociated&&e.formResetCallback&&e.formResetCallback.apply(e)})},k=(e,t,r)=>{if(t){const o=s.get(t);if(o)o.add(e);else{const r=new Set;r.add(e),s.set(t,r),(e=>{const t=["button[type=submit]","input[type=submit]","button:not([type])"].map(e=>`${e}:not([disabled])`).map(t=>`${t}:not([form])${e.id?`,${t}[form='${e.id}']`:""}`).join(",");e.addEventListener("click",r=>{if(r.target.closest(t)){const t=s.get(e);if(e.noValidate)return;t.size&&Array.from(t).reverse().map(e=>n.get(e).reportValidity()).includes(!1)&&r.preventDefault()}})})(t),t.addEventListener("reset",A),t.addEventListener("input",S),t.addEventListener("change",E)}i.set(t,{ref:e,internals:r}),e.constructor.formAssociated&&e.formAssociatedCallback&&setTimeout(()=>{e.formAssociatedCallback.apply(e,[t])},0),w(t)}},O=e=>{let t=e.parentNode;return t&&"FORM"!==t.tagName&&(t=O(t)),t},N=(e,t,r=DOMException)=>{if(!e.constructor.formAssociated)throw new r(t)},M=(e,t,r)=>{const o=s.get(e);return o&&o.size&&o.forEach(e=>{n.get(e)[r]()||(t=!1)}),t},C=e=>{let t=!1;if(e.constructor.formAssociated){let r=n.get(e);void 0===r&&(e.attachInternals(),r=n.get(e),t=!0);const{labels:o,form:i}=r;g(e,o),k(e,i,r)}return t};function j(){return"undefined"!=typeof MutationObserver}const x={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBrailleLabel:"aria-braillelabel",ariaBrailleRoleDescription:"aria-brailleroledescription",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function T(e){const t=n.get(e),{form:r}=t;k(e,r,t),g(e,t.labels)}const I=(e,t=!1)=>{const r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>n.has(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let o=r.nextNode();const i=!t||e.disabled;for(;o;)o.formDisabledCallback&&i&&y(o,e.disabled),o=r.nextNode()},P={attributes:!0,attributeFilter:["disabled","name"]},L=j()?new MutationObserver(e=>{for(const t of e){const e=t.target;if("disabled"===t.attributeName&&(e.constructor.formAssociated?y(e,e.hasAttribute("disabled")):"fieldset"===e.localName&&I(e)),"name"===t.attributeName&&e.constructor.formAssociated){const t=n.get(e),r=l.get(e);t.setFormValue(r)}}}):{};function R(e){e.forEach(e=>{const{addedNodes:t,removedNodes:o}=e,i=Array.from(t),l=Array.from(o);i.forEach(e=>{if(n.has(e)&&e.constructor.formAssociated&&T(e),c.has(e)){const t=c.get(e);Object.keys(x).filter(e=>null!==t[e]).forEach(r=>{m(e,x[r],t[r])}),c.delete(e)}if(h.has(e)){const t=h.get(e);m(e,"internals-valid",t.validity.valid.toString()),m(e,"internals-invalid",(!t.validity.valid).toString()),m(e,"aria-invalid",(!t.validity.valid).toString()),h.delete(e)}if("form"===e.localName){const t=s.get(e),r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>!n.has(e)||!e.constructor.formAssociated||t&&t.has(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let o=r.nextNode();for(;o;)T(o),o=r.nextNode()}"fieldset"===e.localName&&(L.observe?.(e,P),I(e,!0))}),l.forEach(e=>{const t=n.get(e);if(t&&r.get(t)&&v(t),a.has(e)){a.get(e).disconnect()}})})}function F(e){e.forEach(e=>{const{removedNodes:t}=e;t.forEach(t=>{const r=f.get(e.target);n.has(t)&&C(t),r.disconnect()})})}j()&&new MutationObserver(R);const V={childList:!0,subtree:!0};class W{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const D=e=>{let t=!0;for(let r in e)"valid"!==r&&!1!==e[r]&&(t=!1);return t},q=new WeakMap;function H(e,t){e.toggleAttribute(t,!0),e.part&&e.part.add(t)}class $ extends Set{static get isPolyfilled(){return!0}constructor(e){if(super(),!e||!e.tagName||-1===e.tagName.indexOf("-"))throw new TypeError("Illegal constructor");q.set(this,e)}add(e){if(!/^--/.test(e)||"string"!=typeof e)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${e} must start with '--'.`);const t=super.add(e),r=q.get(this),n=`state${e}`;return r.isConnected?H(r,n):setTimeout(()=>{H(r,n)}),t}clear(){for(let[e]of this.entries())this.delete(e);super.clear()}delete(e){const t=super.delete(e),r=q.get(this);return r.isConnected?(r.toggleAttribute(`state${e}`,!1),r.part&&r.part.remove(`state${e}`)):setTimeout(()=>{r.toggleAttribute(`state${e}`,!1),r.part&&r.part.remove(`state${e}`)}),t}}var _,B=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},U=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};class z{constructor(e){_.set(this,void 0),B(this,_,e,"f");for(let t=0;t<e.length;t++){let r=e[t];this[t]=r,r.hasAttribute("name")&&(this[r.getAttribute("name")]=r)}Object.freeze(this)}get length(){return U(this,_,"f").length}[(_=new WeakMap,Symbol.iterator)](){return U(this,_,"f")[Symbol.iterator]()}item(e){return null==this[e]?null:this[e]}namedItem(e){return null==this[e]?null:this[e]}}class K{static get isPolyfilled(){return!0}constructor(o){if(!o||!o.tagName||-1===o.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const i=o.getRootNode(),a=new W;this.states=new $(o),e.set(this,o),t.set(this,a),n.set(o,this),((e,t)=>{for(let r in x){t[r]=null;let n=null;const o=x[r];Object.defineProperty(t,r,{get:()=>n,set(r){n=r,e.isConnected?m(e,o,r):c.set(e,t)}})}})(o,this),((e,t)=>{r.set(t,[]),L.observe?.(e,P)})(o,this),Object.seal(this),i instanceof DocumentFragment&&(e=>{const t=new MutationObserver(F);window?.ShadyDOM?.inUse&&e.mode&&e.host&&(e=e.host),t.observe?.(e,{childList:!0}),f.set(e,t)})(i)}checkValidity(){const r=e.get(this);if(N(r,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const n=t.get(this);if(!n.valid){const e=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});r.dispatchEvent(e)}return n.valid}get form(){const t=e.get(this);let r;return N(t,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===t.constructor.formAssociated&&(r=O(t)),r}get labels(){const t=e.get(this);N(t,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const r=t.getAttribute("id"),n=t.getRootNode();return n&&r?n.querySelectorAll(`[for="${r}"]`):[]}reportValidity(){const t=e.get(this);if(N(t,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const r=this.checkValidity(),n=d.get(this);if(n&&!t.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!r&&n&&(t.focus(),n.focus()),r}setFormValue(t){const r=e.get(this);if(N(r,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),v(this),null==t||t instanceof FormData)null!=t&&t instanceof FormData&&Array.from(t).reverse().forEach(([e,t])=>{if("string"==typeof t){const n=b(r,this);n.name=e,n.value=t}});else if(r.getAttribute("name")){b(r,this).value=t}l.set(r,t)}setValidity(r,n,i){const a=e.get(this);if(N(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!r)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");d.set(this,i);const s=t.get(this),l={};for(const e in r)l[e]=r[e];var c;0===Object.keys(l).length&&((c=s).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const u={...s,...l};delete u.valid;const{valid:f}=((e,t,r)=>(e.valid=D(t),Object.keys(t).forEach(r=>e[r]=t[r]),r&&w(r),e))(s,u,this.form);if(!f&&!n)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");o.set(this,f?"":n),a.isConnected?(a.toggleAttribute("internals-invalid",!f),a.toggleAttribute("internals-valid",f),m(a,"aria-invalid",`${!f}`)):h.set(a,this)}get shadowRoot(){const t=e.get(this),r=u.get(t);return r||null}get validationMessage(){const t=e.get(this);return N(t,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),o.get(this)}get validity(){const r=e.get(this);N(r,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element.");return t.get(this)}get willValidate(){const t=e.get(this);return N(t,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(t.matches(":disabled")||t.disabled||t.hasAttribute("disabled")||t.hasAttribute("readonly"))}}let J=!1,Z=!1;function G(e){Z||(Z=!0,window.CustomStateSet=$,e&&(HTMLElement.prototype.attachInternals=function(...t){const r=e.call(this,t);return r.states=new $(this),r}))}!!customElements.polyfillWrapFlushCallback||(function(){if("undefined"==typeof window||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class e extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const t=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(t,e);const r=new e;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every(e=>e in r.internals)}()?"undefined"==typeof window||window.CustomStateSet||G(HTMLElement.prototype.attachInternals):function(e=!0){let t=!1;if(!J){if(J=!0,"undefined"!=typeof window&&(window.ElementInternals=K),"undefined"!=typeof CustomElementRegistry){const r=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(e,n,o){if(n.formAssociated){const e=n.prototype.connectedCallback;n.prototype.connectedCallback=function(){p.has(this)||(p.set(this,!0),this.hasAttribute("disabled")&&y(this,!0)),null!=e&&e.apply(this),t=C(this)}}r.call(this,e,n,o)}}if("undefined"!=typeof HTMLElement&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(n.has(this)&&!t)throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new K(this)}),"undefined"!=typeof Element){function o(...e){const t=i.apply(this,e);if(u.set(this,t),j()){const e=new MutationObserver(R);window.ShadyDOM?e.observe(this,V):e.observe(t,V),a.set(this,e)}return t}const i=Element.prototype.attachShadow;Element.prototype.attachShadow=o}j()&&"undefined"!=typeof document&&new MutationObserver(R).observe(document.documentElement,V),"undefined"!=typeof HTMLFormElement&&function(){const e=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...t){let r=e.apply(this,t);return M(this,r,"checkValidity")};const t=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...e){let r=t.apply(this,e);return M(this,r,"reportValidity")};const{get:r}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...e){const t=r.call(this,...e),n=Array.from(s.get(this)||[]);if(0===n.length)return t;const o=Array.from(t).concat(n).sort((e,t)=>e.compareDocumentPosition?2&e.compareDocumentPosition(t)?1:-1:0);return new z(o)}})}(),(e||"undefined"!=typeof window&&!window.CustomStateSet)&&G()}}(!1))})(),(()=>{function r(e){return r="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},r(e)}e.d(t,{K9:()=>Y,y0:()=>o,Wd:()=>de,zG:()=>Je,oI:()=>n,h:()=>Ze,MZ:()=>h,vi:()=>m,P:()=>i,kf:()=>Ge});var n=function(e,t,n){var o=n.value;if("function"!=typeof o)throw new Error("@bind decorator can only be applied to methods not: ".concat(r(o)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof o)return o;var r=o.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return r},set:function(e){o=e,delete this[t]}}),i=!1,r},set:function(e){o=e}}},o=function(e){return function(t){customElements.get(e.tagName)?console.warn("Custom element with tag name ".concat(e.tagName," already exists.")):customElements.define(e.tagName,t,e.options)}},i=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(r,n){Object.defineProperty(r,n,{get:function(){return t?this.shadowRoot.querySelector(e):this.querySelector(e)}})}};function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){return c="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},c(e)}var u=new WeakSet,d=new WeakMap,f=new WeakMap;function p(e,t,r,n,o){n===Boolean?r?e.setAttribute(t,""):e.removeAttribute(t):n===Object||n===Array?o&&o.toAttribute?e.setAttribute(t,o.toAttribute(r)):e.setAttribute(t,JSON.stringify(r)):null==r?e.removeAttribute(t):e.setAttribute(t,String(r))}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.type,r=e.attribute,n=void 0===r||r,o=e.reflect,i=void 0!==o&&o,a=e.converter,l=e.readonly,h=void 0!==l&&l,m=function(e){if("string"==typeof e)switch(e){case"string":return String;case"number":return Number;case"boolean":return Boolean;case"object":return Object;case"array":return Array;default:return null}return e}(t);return function(t,r){var o=new WeakMap,l=function(e,t){if(!1!==t)return!0===t?e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():"string"==typeof t?t:void 0}(r,n);Object.defineProperty(t,r,{get:function(){if(!o.has(this)&&l&&this.hasAttribute&&this.hasAttribute(l)){var e,t=this.getAttribute(l);if(null!==t)return e=a&&a.fromAttribute?a.fromAttribute(t):m===Boolean||(m===Number?Number(t):t),o.set(this,e),"function"==typeof this.renderNow&&this.renderNow(),e}return o.has(this)?o.get(this):m!==Boolean&&void 0},set:function(e){if(!h||!o.has(this)){var t,n=o.get(this),s=!1;if(null==m&&e!==n&&(s=!0),!o.has(this)&&l&&this.hasAttribute&&this.hasAttribute(l)){var y=this.getAttribute(l);if(null!==y)return t=a&&a.fromAttribute?a.fromAttribute(y):m===Boolean||(m===Number?Number(y):y),o.set(this,t),void(this.isConnected?("function"==typeof this.renderNow&&this.renderNow(),this.updated&&this.updated(r,n,t)):this.updated&&(f.has(this)||f.set(this,[]),f.get(this).push({propertyKey:r,oldValue:n,newValue:t})))}if(t=s?e:function(e,t,r){if(r&&r.fromAttribute&&"string"==typeof e)return r.fromAttribute(e);if(null==e)return e;switch(t){case String:return String(e);case Number:return Number(e);case Boolean:return Boolean(e);case Object:return"object"===c(e)?e:JSON.parse(String(e));case Array:return Array.isArray(e)?e:JSON.parse(String(e));default:return e}}(e,m,a),n!==t){var v=!this.shouldUpdate||this.shouldUpdate(r,n,t);if(o.set(this,v?t:n),i&&void 0!==l)if(this.isConnected){u.add(this);try{p(this,l,v?t:n,m,a)}finally{u.delete(this)}}else d.has(this)||d.set(this,new Map),d.get(this).set(l,{value:v?t:n,type:m,converter:a});this.isConnected?("function"==typeof this.renderNow&&this.renderNow(),this.updated&&this.updated(r,n,t)):this.updated&&(f.has(this)||f.set(this,[]),f.get(this).push({propertyKey:r,oldValue:n,newValue:t})),s&&"function"==typeof this.renderNow&&this.renderNow()}}},configurable:!0}),t.constructor._propertyInfo||(t.constructor._propertyInfo=new Map),t.constructor._propertyInfo.set(r,s(s({},e),{},{name:r,attribute:l,type:m})),l&&(t.constructor.observedAttributes||(t.constructor.observedAttributes=[]),t.constructor.observedAttributes.includes(l)||t.constructor.observedAttributes.push(l))}}var m=h({});function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return g(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function w(e){return w="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},w(e)}function S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,E(n.key),n)}}function E(e){var t=function(e,t){if("object"!=w(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==w(t)?t:t+""}function A(e,t){if(t&&("object"==w(t)||"function"==typeof t))return t;if(void 0!==t)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 k(e){var t="function"==typeof Map?new Map:void 0;return k=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(O())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&N(o,r.prototype),o}(e,arguments,M(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),N(r,e)},k(e)}function O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(O=function(){return!!e})()}function N(e,t){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},N(e,t)}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}function C(e,t,r){j(e,t),t.set(e,r)}function j(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function x(e,t){return e.get(I(e,t))}function T(e,t,r){return e.set(I(e,t),r),r}function I(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var P=[],L=new WeakMap,R=new WeakMap,F=new WeakMap,V=new WeakMap,W=new WeakMap,D=new WeakMap,q=new WeakMap,H=new WeakMap,$=new WeakMap,_=new WeakMap,B=new WeakMap,U=new WeakMap,z=new WeakMap,K=new WeakMap,J=new WeakMap,Z=new WeakMap,G=new WeakSet,Y=function(e){function t(e){var r,n,o,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,o=M(o=t),function(e,t){j(e,t),t.add(e)}(r=A(n,O()?Reflect.construct(o,i||[],M(n).constructor):o.apply(n,i)),G),C(r,L,void 0),C(r,R,void 0),C(r,F,!1),C(r,V,void 0),C(r,W,void 0),C(r,D,void 0),C(r,q,!1),C(r,H,!1),C(r,$,!1),C(r,_,!0),C(r,B,!0),C(r,U,null),C(r,z,void 0),C(r,K,[]),C(r,J,null),C(r,Z,null);var a=function(e){console.warn("ElementInternals.".concat(e," called before element was connected. Call will be ignored."))};return T(z,r,{setValidity:function(e,t,r){a("setValidity")},reportValidity:function(){return a("reportValidity"),!1},checkValidity:function(){return a("checkValidity"),!0},setFormValue:function(e,t){a("setFormValue")}}),I(G,r,te).call(r),I(G,r,Q).call(r),A(r,e)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N(e,t)}(t,e),r=t,(n=[{key:"isConnected",get:function(){return x(F,this)}},{key:"updateComplete",get:function(){return x(J,this)?x(J,this):Promise.resolve()}},{key:"internals",get:function(){if(!x(F,this)&&"object"===w(x(z,this)))return x(z,this);var e=this.constructor;if(null===x(U,this)&&e.formAssociated){var t=x(z,this);for(var r in T(z,this,null),T(U,this,this.attachInternals()),t)"function"!=typeof x(U,this)[r]&&(x(U,this)[r]=t[r])}return x(U,this)},set:function(e){T(U,this,e)}},{key:"requestUpdate",value:function(){var e=this;return x(J,this)||(T(J,this,new Promise(function(t){T(Z,e,t)})),this.scheduleRender()),x(J,this)}},{key:"addController",value:function(e){x(K,this).push(e),x(F,this)&&e.connected&&e.connected()}},{key:"scheduleRender",value:function(){var e;null===(e=x(L,this))||void 0===e||e.scheduleRender()}},{key:"renderNow",value:function(){var e,t=this;if(this.shadowRoot&&(x(J,this)||T(J,this,new Promise(function(e){T(Z,t,e)})),null===(e=x(L,this))||void 0===e||e.renderNow(),this.updated("",null,null),x(Z,this))){var r=x(Z,this);T(Z,this,null),T(J,this,null),r()}}},{key:"updated",value:function(e,t,r){}},{key:"shouldUpdate",value:function(e,t,r){return!0}},{key:"addStylesheetToRootNode",value:function(e,t){if(I(G,this),Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype){if(x(W,this)||T(W,this,new CSSStyleSheet),x(W,this).replaceSync(e),x(q,this))return;if(t instanceof Document){var r=I(G,this,ne).call(this,e);-1===P.indexOf(r)&&(document.adoptedStyleSheets=[].concat(v(document.adoptedStyleSheets),[x(W,this)]),T(q,this,!0),P.push(r))}else this.shadowRoot.adoptedStyleSheets=[x(W,this)],T(q,this,!0)}else if(T(D,this,document.createElement("link")),x(D,this).rel="stylesheet",x(D,this).href=URL.createObjectURL(new Blob([e],{type:"text/css"})),t instanceof Document){var n=I(G,this,ne).call(this,e);-1===P.indexOf(n)&&(document.head.appendChild(x(D,this)),P.push(n))}else this.shadowRoot.appendChild(x(D,this))}},{key:"adoptStyle",value:function(e,t){this.addStylesheetToRootNode(t,e)}},{key:"createProjector",value:function(e,t){var r=this;return new Promise(function(n,o){var i,a=x(R,r)?x(R,r):"append";requestAnimationFrame(function(){(i=window.Maquette.createProjector({performanceLogger:function(e){"renderStart"!==e&&"renderDone"!==e||I(G,r,X).call(r,e)}}))[a](e,t.bind(r)),T(L,r,i),i.renderNow(),n(i),r.dispatchEvent(new CustomEvent("firstRender",{}))})})}},{key:"connectedCallback",value:function(){T(F,this,!0);for(var e=0,t=x(K,this).length;e<t;){var r=x(K,this)[e];null!=r&&r.connected&&r.connected(),e+=1}!function(e){var t=d.get(e);if(t){u.add(e);try{t.forEach(function(t,r){p(e,r,t.value,t.type,t.converter)})}finally{u.delete(e)}d.delete(e)}var r=f.get(e);if(r&&e.updated){for(var n=r.length,o=0;o<n;){var i=r[o];e.updated(i.propertyKey,i.oldValue,i.newValue),o+=1}f.delete(e)}}(this),this.renderNow()}},{key:"disconnectedCallback",value:function(){T(F,this,!1);for(var e=0,t=x(K,this).length;e<t;){var r=x(K,this)[e];null!=r&&r.disconnected&&r.disconnected(),e+=1}}},{key:"attributeChangedCallback",value:function(e,t,r){if(n=this,!u.has(n)){var n,o=this.constructor;if(null!=o&&o._propertyInfo){var i=Array.from(o._propertyInfo.values()).find(function(t){return t.attribute===e&&"string"==typeof t.attribute});if(i){var a=i.converter,s=r;null!=a&&a.fromAttribute?s=a.fromAttribute(r):i.type===Boolean?s=null!==r:i.type===Number&&(s=null===r?null:Number(r)),this[i.name]=s,this.scheduleRender()}}}}},{key:"render",value:function(){return null}}])&&S(r.prototype,n),o&&S(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(k(HTMLElement));function Q(){"function"==typeof this.init&&(this.init(),x(K,this).forEach(function(e){var t;null==e||null===(t=e.init)||void 0===t||t.call(e)}))}function X(e){var t=this;this[e]&&this[e](x("renderStart"===e?_:B,this));var r="host".concat(e.charAt(0).toUpperCase()).concat(e.slice(1));x(K,this).forEach(function(n){n[r]&&n[r](x("renderStart"===e?_:B,t))}),T("renderStart"===e?_:B,this,!1)}function ee(){var e=this.constructor;if(e._propertyInfo)for(var t=Array.from(e._propertyInfo.entries()),r=0,n=t.length;r<n;){var o=y(t[r],1)[0];if(Object.hasOwn(this,o)){var i=this[o];delete this[o],this[o]=i}r+=1}}function te(){var e=this,t=this.constructor.projectorMode;T(R,this,t||"append");var r=this.constructor.formAssociated,n=this.constructor.delegatesFocus;T($,this,n),r&&T(U,this,this.attachInternals());var o=this.constructor.style;if(o){T(H,this,!0),T(R,this,"replace"),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:x($,this)}),I(G,this,re).call(this,o);var i=document.createElement("div");this.shadowRoot.appendChild(i),requestAnimationFrame(function(){e.createProjector(i,e.render).then(function(){I(G,e,ee).call(e)})})}}function re(e){T(V,this,e),x(H,this)&&this.shadowRoot?this.addStylesheetToRootNode(e,this.shadowRoot):x(H,this)||this.addStylesheetToRootNode(e,document)}function ne(e){for(var t=0,r=0;t<e.length;t++)r=Math.imul(31,r)+e.charCodeAt(t)|0;return r}function oe(e){return oe="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},oe(e)}function ie(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ae(n.key),n)}}function ae(e){var t=function(e,t){if("object"!=oe(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=oe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==oe(t)?t:t+""}function se(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function le(e,t){return e.get(ce(e,t))}function ce(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Y._propertyInfo=new Map;var ue=new WeakMap,de=function(){return e=function e(t){var r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),se(this,ue,void 0),n=this,o=t,(r=ue).set(ce(r,n),o),le(ue,this).addController(this)},(t=[{key:"hostElement",get:function(){return le(ue,this)}},{key:"renderNow",value:function(){var e;null===(e=this.hostElement)||void 0===e||e.renderNow()}},{key:"scheduleRender",value:function(){var e;null===(e=this.hostElement)||void 0===e||e.scheduleRender()}}])&&ie(e.prototype,t),r&&ie(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function fe(e){return fe="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},fe(e)}function pe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||he(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function he(e,t){if(e){if("string"==typeof e)return me(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?me(e,t):void 0}}function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var ye,ve="http://www.w3.org/",be="".concat(ve,"2000/svg"),ge="".concat(ve,"1999/xlink"),we=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","readonly","required","reversed","selected","scoped","seamless","typemustmatch"],Se=[],Ee=function(e,t){var r={};return Object.keys(e).forEach(function(t){r[t]=e[t]}),t&&Object.keys(t).forEach(function(e){r[e]=t[e]}),r},Ae=function(e,t){return e.vnodeSelector===t.vnodeSelector&&(e.properties&&t.properties?e.properties.key===t.properties.key&&e.properties.bind===t.properties.bind:!e.properties&&!t.properties)},ke=function(e){if("string"!=typeof e)throw new Error("Style values must be strings")},Oe=function(e,t,r){if(""!==t.vnodeSelector)for(var n=r;n<e.length;n++)if(Ae(e[n],t))return n;return-1},Ne=function(e,t,r,n){var o=e[t];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<e.length;a++)if(a!==t){var s=e[a];if(Ae(s,o))throw{error:new Error("".concat(r.vnodeSelector," had a ").concat(o.vnodeSelector," child ").concat("added"===n?n:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:r,childNode:o}}}},Me=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},Ce=[],je=!1,xe=function(e){(e.children||[]).forEach(xe),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},Te=function(){je=!1,Ce.forEach(xe),Ce.length=0},Ie=function(e){Ce.push(e),je||(je=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(Te,{timeout:16}):setTimeout(Te,16))},Pe=function(e){var t=e.domNode;if(e.properties){e.properties.eventListeners&&Array.isArray(e.properties.eventListeners)&&e.properties.eventListeners.forEach(function(e){t.removeEventListener(e[0],e[1])});var r=e.properties.exitAnimation;if(r){t.style.pointerEvents="none";return void r(t,function(){t.parentNode&&(t.parentNode.removeChild(t),Ie(e))},e.properties)}}t.parentNode&&(t.parentNode.removeChild(t),Ie(e))},Le=function(e,t,r){if(t){var n,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=he(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}(t);try{for(o.s();!(n=o.n()).done;){var i=n.value;Fe(i,e,void 0,r)}}catch(e){o.e(e)}finally{o.f()}}},Re=function(e,t,r){if(Le(e,t.children,r),t.text&&(e.textContent=t.text),function(e,t,r){if(t)for(var n=r.eventHandlerInterceptor,o=Object.keys(t),i=o.length,a=function(){var i,a=o[s],l=t[a];if("className"===a)throw new Error('Property "className" is not supported, use "class".');if("class"===a)Ve(e,l,!0);else if("classes"===a)for(var c=Object.keys(l),u=c.length,d=0;d<u;d++){var f=c[d];l[f]&&e.classList.add(f)}else if("styles"===a)for(var p=Object.keys(l),h=p.length,m=0;m<h;m++){var y=p[m],v=l[y];v&&(ke(v),r.styleApplyer(e,y,v))}else if("on"===a&&l)for(var b=0,g=Object.entries(t.on);b<g.length;b++){var w=pe(g[b],2),S=w[0],E=w[1],A="function"==typeof E?E:E.listener;n&&(A=n(S,A,e,t)),A&&e.addEventListener(S,A,"function"==typeof E?void 0:E.options)}else if("key"!==a&&null!=l){var k=fe(l);"function"===k?(0===a.lastIndexOf("on",0)&&(n&&(l=n(a,l,e,t)),"oninput"===a&&(i=l,l=function(e){i.apply(this,[e]),e.target["oninput-value"]=e.target.value})),e[a]=l):r.namespace===be?"href"===a?e.setAttributeNS(ge,a,l):e.setAttribute(a,l):"string"===k&&"value"!==a&&"innerHTML"!==a?e.setAttribute(a,l):("string"===k&&"value"===a&&null!=e&&e.tagName.indexOf("-")&&e.setAttribute(a,l),e[a]=l)}},s=0;s<i;s++)a()}(e,t.properties,r),t.properties&&t.properties.afterCreate)t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,r,t.vnodeSelector,t.properties,t.children]);else if(t.properties&&t.properties.eventListeners){if(!Array.isArray(t.properties.eventListeners))throw new Error("eventListeners value must be an array");t.properties.eventListeners.forEach(function(t){e.addEventListener(t[0],t[1],t[2])})}},Fe=function(e,t,r,n){var o,i=0,a=e.vnodeSelector,s=t.ownerDocument;if(""===a)e.domNode?e.domNode.nodeValue=e.text:(o=e.domNode=s.createTextNode(e.text),void 0!==r?t.insertBefore(o,r):t.appendChild(o));else{for(var l=0;l<=a.length;++l){var c=a.charAt(l);if(l===a.length||"."===c||"#"===c){var u=a.charAt(i-1),d=a.slice(i,l);if("."===u)o.classList.add(d);else if("#"===u)o.id=d;else{var f;if("svg"===d&&(n=Ee(n,{namespace:be})),void 0!==n.namespace)o=e.domNode=s.createElementNS(n.namespace,d);else o=e.domNode=e.domNode||(null!==(f=e.properties)&&void 0!==f&&f.is?s.createElement(d,{is:e.properties.is}):s.createElement(d)),"input"===d&&e.properties&&void 0!==e.properties.type&&o.setAttribute("type",e.properties.type);void 0!==r?t.insertBefore(o,r):o.parentNode!==t&&t.appendChild(o)}i=l+1}}Re(o,e,n)}},Ve=function(e,t,r){t&&t.split(" ").forEach(function(t){t&&e.classList.toggle(t,r)})},We=function(e,t,r,n,o){if(r===n)return!1;n=n||Se;for(var i,a=(r=r||Se).length,s=n.length,l=0,c=0,u=!1;c<s;){var d=l<a?r[l]:void 0,f=n[c];if(void 0!==d&&Ae(d,f))u=ye(d,f,o)||u,l++;else{var p=Oe(r,f,l+1);if(p>=0){for(i=l;i<p;i++)Pe(r[i]),Ne(r,i,e,"removed");u=ye(r[p],f,o)||u,l=p+1}else Fe(f,t,l<a?r[l].domNode:void 0,o),Me(f),Ne(n,c,e,"added")}c++}if(a>l)for(i=l;i<a;i++)Pe(r[i]),Ne(r,i,e,"removed");return u};ye=function(e,t,r){var n=e.domNode,o=!1;if(e===t)return!1;var i=!1;if(""===t.vnodeSelector){if(t.text!==e.text){var a=n.ownerDocument.createTextNode(t.text);return n.parentNode.replaceChild(a,n),t.domNode=a,o=!0}t.domNode=n}else 0===t.vnodeSelector.lastIndexOf("svg",0)&&(r=Ee(r,{namespace:be})),e.text!==t.text&&(i=!0,void 0===t.text?n.removeChild(n.firstChild):n.textContent=t.text),t.domNode=n,i=We(t,n,e.children,t.children,r)||i,i=function(e,t,r,n){if(r){for(var o=!1,i=Object.keys(r),a=i.length,s=0;s<a;s++){var l=i[s],c=r[l],u=t[l];if("class"===l)u!==c&&(Ve(e,u,!1),Ve(e,c,!0));else if("classes"===l)for(var d=e.classList,f=Object.keys(c),p=f.length,h=0;h<p;h++){var m=f[h],y=!!c[m];y!==!!u[m]&&(o=!0,y?d.add(m):d.remove(m))}else if("styles"===l)for(var v=Object.keys(c),b=v.length,g=0;g<b;g++){var w=v[g],S=c[w];S!==u[w]&&(o=!0,S?(ke(S),n.styleApplyer(e,w,S)):n.styleApplyer(e,w,""))}else if(c||"string"!=typeof u||we.indexOf(l)<0&&(c=""),"value"===l){var E=e[l];E!==c&&(e["oninput-value"]?E===e["oninput-value"]:c!==u)&&(e[l]=c,e["oninput-value"]=void 0),c!==u&&(o=!0)}else if(we.indexOf(l)>=0)"string"==typeof c||!0===c?(e.setAttribute(l,""),e[l]=!0):(e.removeAttribute(l),e[l]=!1),o=!0;else if(c!==u){var A=fe(c);"function"===A&&n.eventHandlerInterceptor||(n.namespace===be?"href"===l?e.setAttributeNS(ge,l,c):e.setAttribute(l,c):"string"===A&&"innerHTML"!==l?"role"===l&&""===c?e.removeAttribute(l):e.setAttribute(l,c):e[l]!==c&&(e[l]=c),o=!0)}}return o}}(n,e.properties,t.properties,r)||i,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[n,r,t.vnodeSelector,t.properties,t.children]);return i&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(n,t.properties,e.properties),o};var De,qe=function(e,t){return{getLastRender:function(){return e},update:function(r){if(e.vnodeSelector!==r.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var n=e;e=r,ye(n,r,t)},domNode:e.domNode}},He={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,r){"-"===t.charAt(0)?e.style.setProperty(t,r):e.style[t]=r}},$e=function(e){return Ee(He,e)},_e={create:function(e,t){return t=$e(t),Fe(e,document.createElement("div"),void 0,t),qe(e,t)},append:function(e,t,r){return r=$e(r),Fe(t,e,void 0,r),qe(t,r)},insertBefore:function(e,t,r){return r=$e(r),Fe(t,e.parentNode,e,r),qe(t,r)},merge:function(e,t,r){return r=$e(r),t.domNode=e,Re(e,t,r),qe(t,r)},replace:function(e,t,r){return r=$e(r),Fe(t,e.parentNode,e,r),e.parentNode.removeChild(e),qe(t,r)}};De=Array.prototype.find?function(e,t){return e.find(t)}:function(e,t){return e.filter(t)[0]};var Be=function(e,t,r){return function(n,o,i,a){return function(n){r("domEvent",n);var i=t(),a=function(e,t){for(var r=[];e&&e!==t;)r.push(e),e=e.parentNode;return r}(n.currentTarget,i.domNode);a.reverse();var s,l,c,u=function(e,t){var r=e;return t.forEach(function(e){r=r&&r.children?De(r.children,function(t){return t.domNode===e}):void 0}),r}(i.getLastRender(),a);(e.scheduleRender(),u)&&(s=(null!==(l=null!==(c=u.properties["on".concat(n.type)])&&void 0!==c?c:u.properties.on[n.type].listener)&&void 0!==l?l:u.properties.on[n.type]).apply(u.properties.bind||this,arguments));return void 0===s&&this.hasAttribute("data-force-event-handler")&&(s=o.apply(this,arguments)),r("domEventProcessed",n),s}}},Ue=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},ze=function(e,t){for(var r=0,n=e.length;r<n;r++){var o=e[r];Array.isArray(o)?ze(o,t):null!=o&&!1!==o&&(o.hasOwnProperty("vnodeSelector")||(o=Ue(o)),t.push(o))}},Ke=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];if(1===n.length&&"string"==typeof n[0])return{vnodeSelector:e,properties:t||void 0,children:void 0,text:n[0],domNode:null};var i=[];return ze(n,i),{vnodeSelector:e,properties:t||void 0,children:i,text:void 0,domNode:null}},Je={createCache:function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(r,n){if(e)for(var o=0;o<r.length;o++)e[o]!==r[o]&&(t=void 0);return t||(t=n(),e=r),t}}},createMapping:function(e,t,r){var n=[],o=[];return{results:o,map:function(i){for(var a=i.map(e),s=o.slice(),l=0,c=0;c<i.length;c++){var u=i[c],d=a[c];if(d===n[l])o[c]=s[l],r(u,s[l],c),l++;else{for(var f=!1,p=1;p<n.length+1;p++){var h=(l+p)%n.length;if(n[h]===d){o[c]=s[h],r(i[c],s[h],c),l=h+1,f=!0;break}}f||(o[c]=t(u,c))}}o.length=i.length,n=a}}},createProjector:function(e){var t,r,n=$e(e),o=n.performanceLogger,i=!0,a=!1,s=[],l=[],c=function(e,r,i){var a;n.eventHandlerInterceptor=Be(t,function(){return a},o),a=e(r,i(),n),s.push(a),l.push(i)},u=function(){if(r=void 0,i){i=!1,o("renderStart",void 0);for(var e=0;e<s.length;e++){var t=l[e]();o("rendered",void 0),s[e].update(t),o("patched",void 0)}o("renderDone",void 0),i=!0}};return t={renderNow:u,scheduleRender:function(){r||a||(r=requestAnimationFrame(u))},stop:function(){r&&(cancelAnimationFrame(r),r=void 0),a=!0},resume:function(){a=!1,i=!0,t.scheduleRender()},append:function(e,t){c(_e.append,e,t)},insertBefore:function(e,t){c(_e.insertBefore,e,t)},merge:function(e,t){c(_e.merge,e,t)},replace:function(e,t){c(_e.replace,e,t)},detach:function(e){for(var t=0;t<l.length;t++)if(l[t]===e)return l.splice(t,1),s.splice(t,1)[0];throw new Error("renderFunction was not found")}}},dom:_e,h:Ke};!function(e){e.Maquette=Je,e.h=Ke,e.CustomElement=Y,e.CustomElementController=de,e.CustomElementConfig=o,e.propertyRenderOnSet=m,e.renderOnSet=m,e.property=h,e.query=i,e.bind=n}(window);var Ze=Je.h,Ge=m})();const r=t.K9,n=t.y0,o=t.Wd,i=t.zG,a=t.oI,s=t.h,l=t.MZ,c=t.vi,u=t.P,d=t.kf;export{r as CustomElement,n as CustomElementConfig,o as CustomElementController,i as Maquette,a as bind,s as h,l as property,c as propertyRenderOnSet,u as query,d as renderOnSet};
|