@namiml/web-sdk 3.4.6 → 3.4.7-dev.202607230324
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/legacy-support-_commonjsHelpers-lGe4XDVY.mjs +1 -0
- package/dist/legacy-support-cjs.d.ts +1 -0
- package/dist/legacy-support-custom-elements-es5-adapter-E4qWtv8B.mjs +1 -0
- package/dist/legacy-support-polyfill-tg58WEdk.mjs +1 -0
- package/dist/legacy-support-url-polyfill.min-BgySTWoi.mjs +1 -0
- package/dist/legacy-support-webcomponents-bundle-DJRe-tdq.mjs +1 -0
- package/dist/legacy-support.cjs +1 -3091
- package/dist/legacy-support.mjs +1 -3089
- package/dist/nami-web.umd.js +1 -1
- package/dist/polyfills.cjs +1 -1967
- package/dist/polyfills.js +1 -1965
- package/dist/utils/polyfill-loader.d.ts +36 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{e as c,o as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const t=HTMLElement;window.HTMLElement={HTMLElement:function(){return Reflect.construct(t,[],this.constructor)}}.HTMLElement,HTMLElement.prototype=t.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,t)}();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=new WeakMap,t=new WeakMap;function n(t){const n=e.get(t);return console.assert(null!=n,"'this' is expected an Event object, but got",t),n}function o(e){null==e.passiveListener?e.event.cancelable&&(e.canceled=!0,"function"==typeof e.event.preventDefault&&e.event.preventDefault()):"undefined"!=typeof console&&"function"==typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",e.passiveListener)}function r(t,n){e.set(this,{eventTarget:t,event:n,eventPhase:2,currentTarget:t,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:n.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});const o=Object.keys(n);for(let e=0;e<o.length;++e){const t=o[e];t in this||Object.defineProperty(this,t,l(t))}}function l(e){return{get(){return n(this).event[e]},set(t){n(this).event[e]=t},configurable:!0,enumerable:!0}}function i(e){return{value(){const t=n(this).event;return t[e].apply(t,arguments)},configurable:!0,enumerable:!0}}function s(e){if(null==e||e===Object.prototype)return r;let n=t.get(e);return null==n&&(n=function(e,t){const n=Object.keys(t);if(0===n.length)return e;function o(t,n){e.call(this,t,n)}o.prototype=Object.create(e.prototype,{constructor:{value:o,configurable:!0,writable:!0}});for(let r=0;r<n.length;++r){const s=n[r];if(!(s in e.prototype)){const e="function"==typeof Object.getOwnPropertyDescriptor(t,s).value;Object.defineProperty(o.prototype,s,e?i(s):l(s))}}return o}(s(Object.getPrototypeOf(e)),e),t.set(e,n)),n}function u(e){return n(e).immediateStopped}function a(e,t){n(e).passiveListener=t}r.prototype={get type(){return n(this).event.type},get target(){return n(this).eventTarget},get currentTarget(){return n(this).currentTarget},composedPath(){const e=n(this).currentTarget;return null==e?[]:[e]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return n(this).eventPhase},stopPropagation(){const e=n(this);e.stopped=!0,"function"==typeof e.event.stopPropagation&&e.event.stopPropagation()},stopImmediatePropagation(){const e=n(this);e.stopped=!0,e.immediateStopped=!0,"function"==typeof e.event.stopImmediatePropagation&&e.event.stopImmediatePropagation()},get bubbles(){return Boolean(n(this).event.bubbles)},get cancelable(){return Boolean(n(this).event.cancelable)},preventDefault(){o(n(this))},get defaultPrevented(){return n(this).canceled},get composed(){return Boolean(n(this).event.composed)},get timeStamp(){return n(this).timeStamp},get srcElement(){return n(this).eventTarget},get cancelBubble(){return n(this).stopped},set cancelBubble(e){if(!e)return;const t=n(this);t.stopped=!0,"boolean"==typeof t.event.cancelBubble&&(t.event.cancelBubble=!0)},get returnValue(){return!n(this).canceled},set returnValue(e){e||o(n(this))},initEvent(){}},Object.defineProperty(r.prototype,"constructor",{value:r,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.Event&&(Object.setPrototypeOf(r.prototype,window.Event.prototype),t.set(window.Event.prototype,r));const c=new WeakMap;function p(e){return null!==e&&"object"==typeof e}function f(e){const t=c.get(e);if(null==t)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return t}function b(e,t){Object.defineProperty(e,`on${t}`,function(e){return{get(){let t=f(this).get(e);for(;null!=t;){if(3===t.listenerType)return t.listener;t=t.next}return null},set(t){"function"==typeof t||p(t)||(t=null);const n=f(this);let o=null,r=n.get(e);for(;null!=r;)3===r.listenerType?null!==o?o.next=r.next:null!==r.next?n.set(e,r.next):n.delete(e):o=r,r=r.next;if(null!==t){const r={listener:t,listenerType:3,passive:!1,once:!1,next:null};null===o?n.set(e,r):o.next=r}},configurable:!0,enumerable:!0}}(t))}function y(e){function t(){g.call(this)}t.prototype=Object.create(g.prototype,{constructor:{value:t,configurable:!0,writable:!0}});for(let n=0;n<e.length;++n)b(t.prototype,e[n]);return t}function g(){if(!(this instanceof g)){if(1===arguments.length&&Array.isArray(arguments[0]))return y(arguments[0]);if(arguments.length>0){const e=new Array(arguments.length);for(let t=0;t<arguments.length;++t)e[t]=arguments[t];return y(e)}throw new TypeError("Cannot call a class as a function")}c.set(this,new Map)}g.prototype={addEventListener(e,t,n){if(null==t)return;if("function"!=typeof t&&!p(t))throw new TypeError("'listener' should be a function or an object.");const o=f(this),r=p(n),l=(r?Boolean(n.capture):Boolean(n))?1:2,i={listener:t,listenerType:l,passive:r&&Boolean(n.passive),once:r&&Boolean(n.once),next:null};let s=o.get(e);if(void 0===s)return void o.set(e,i);let u=null;for(;null!=s;){if(s.listener===t&&s.listenerType===l)return;u=s,s=s.next}u.next=i},removeEventListener(e,t,n){if(null==t)return;const o=f(this),r=(p(n)?Boolean(n.capture):Boolean(n))?1:2;let l=null,i=o.get(e);for(;null!=i;){if(i.listener===t&&i.listenerType===r)return void(null!==l?l.next=i.next:null!==i.next?o.set(e,i.next):o.delete(e));l=i,i=i.next}},dispatchEvent(e){if(null==e||"string"!=typeof e.type)throw new TypeError('"event.type" should be a string.');const t=f(this),o=e.type;let r=t.get(o);if(null==r)return!0;const l=function(e,t){return new(s(Object.getPrototypeOf(t)))(e,t)}(this,e);let i=null;for(;null!=r;){if(r.once?null!==i?i.next=r.next:null!==r.next?t.set(o,r.next):t.delete(o):i=r,a(l,r.passive?r.listener:null),"function"==typeof r.listener)try{r.listener.call(this,l)}catch(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}else 3!==r.listenerType&&"function"==typeof r.listener.handleEvent&&r.listener.handleEvent(l);if(u(l))break;r=r.next}return a(l,null),function(e,t){n(e).eventPhase=t}(l,0),function(e,t){n(e).currentTarget=t}(l,null),!l.defaultPrevented}},Object.defineProperty(g.prototype,"constructor",{value:g,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.EventTarget&&Object.setPrototypeOf(g.prototype,window.EventTarget.prototype);class d extends g{constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){const e=v.get(this);if("boolean"!=typeof e)throw new TypeError("Expected 'this' to be an 'AbortSignal' object, but got "+(null===this?"null":typeof this));return e}}b(d.prototype,"abort");const v=new WeakMap;Object.defineProperties(d.prototype,{aborted:{enumerable:!0}}),"function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(d.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class h{constructor(){w.set(this,function(){const e=Object.create(d.prototype);return g.call(e),v.set(e,!1),e}())}get signal(){return m(this)}abort(){var e;e=m(this),!1===v.get(e)&&(v.set(e,!0),e.dispatchEvent({type:"abort"}))}}const w=new WeakMap;function m(e){const t=w.get(e);if(null==t)throw new TypeError("Expected 'this' to be an 'AbortController' object, but got "+(null===e?"null":typeof e));return t}Object.defineProperties(h.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),"function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(h.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});const T="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0;T&&(void 0===T.AbortController&&(T.AbortController=h),void 0===T.AbortSignal&&(T.AbortSignal=d));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as e,g as t}from"./legacy-support-_commonjsHelpers-lGe4XDVY.mjs";function n(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(e)}var r,o={};var i=(r||(r=1,function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},o=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(t){return!1}})()||function(){var o=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof o){var n=this;e.forEach(function(e,t){n.append(t,e)})}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var i=e[r];if("[object Array]"!==Object.prototype.toString.call(i)&&2===i.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(i[0],i[1])}else for(var a in e)e.hasOwnProperty(a)&&this.append(a,e[a])}},i=o.prototype;i.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},i.delete=function(e){delete this._entries[e]},i.get=function(e){return e in this._entries?this._entries[e][0]:null},i.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},i.has=function(e){return e in this._entries},i.set=function(e,t){this._entries[e]=[String(t)]},i.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var o=0;o<n.length;o++)e.call(t,n[o],r,this)}},i.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),n(e)},i.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),n(e)},i.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),n(e)},t&&(i[Symbol.iterator]=i.entries),i.toString=function(){var e=[];return this.forEach(function(t,n){e.push(r(n)+"="+r(t))}),e.join("&")},Object.defineProperty(i,"size",{get:function(){return this._entries?Object.keys(this._entries).length:0}}),e.URLSearchParams=o}();var i=e.URLSearchParams.prototype;"function"!=typeof i.sort&&(i.sort=function(){var e=this,t=[];this.forEach(function(n,r){t.push([r,n]),e._entries||e.delete(r)}),t.sort(function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0}),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof i._fromString&&Object.defineProperty(i,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach(function(e,n){t.push(n)});for(var n=0;n<t.length;n++)this.delete(t[n])}var r,i=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<i.length;n++)r=i[n].split("="),this.append(o(r[0]),r.length>1?o(r.slice(1).join("=")):"")}})}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(t){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t)),n&&"string"!=typeof n&&(n=String(n));var r,o=document;if(n&&(void 0===e.location||n!==e.location.href)){!!window.MSInputMethodContext&&!!document.documentMode&&(n=n.toLowerCase()),(r=(o=document.implementation.createHTMLDocument("")).createElement("base")).href=n,o.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(t){throw new Error("URL unable to set base "+n+" due to "+t)}}var i=o.createElement("a");i.href=t,r&&(o.body.appendChild(i),i.href=i.href);var a=o.createElement("input");if(a.type="url",a.value=t,":"===i.protocol||!/:/.test(i.href)||!a.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:i});var c=new e.URLSearchParams(this.search),s=!0,h=!0,f=this;["append","delete","set"].forEach(function(e){var t=c[e];c[e]=function(){t.apply(c,arguments),s&&(h=!1,f.search=c.toString(),h=!0)}}),Object.defineProperty(this,"searchParams",{value:c,enumerable:!0});var u=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==u&&(u=this.search,h&&(s=!1,this.searchParams._fromString(this.search),s=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach(function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)}),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval(function(){e.location.origin=t()},100)}}}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o)),o),a=n({__proto__:null,default:t(i)},[i]);export{a as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as t,g as e}from"./legacy-support-_commonjsHelpers-lGe4XDVY.mjs";function n(t,e){return e.forEach(function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach(function(n){if("default"!==n&&!(n in t)){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})}),Object.freeze(t)}var r,o={};var i=(r||(r=1,function(){var e;function n(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}var r,o="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){return t==Array.prototype||t==Object.prototype||(t[e]=n.value),t},i=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof t&&t];for(var n=0;n<e.length;++n){var r=e[n];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function a(t,e){if(e)t:{var n=i;t=t.split(".");for(var r=0;r<t.length-1;r++){var a=t[r];if(!(a in n))break t;n=n[a]}(e=e(r=n[t=t[t.length-1]]))!=r&&null!=e&&o(n,t,{configurable:!0,writable:!0,value:e})}}function s(t){return(t={next:t})[Symbol.iterator]=function(){return this},t}function l(t){var e="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return e?e.call(t):{next:n(t)}}function c(t){if(!(t instanceof Array)){t=l(t);for(var e,n=[];!(e=t.next()).done;)n.push(e.value);t=n}return t}if(a("Symbol",function(t){function e(t,e){this.g=t,o(this,"description",{configurable:!0,writable:!0,value:e})}if(t)return t;e.prototype.toString=function(){return this.g};var n=0;return function t(r){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new e("jscomp_symbol_"+(r||"")+"_"+n++,r)}}),a("Symbol.iterator",function(t){if(t)return t;t=Symbol("Symbol.iterator");for(var e="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),r=0;r<e.length;r++){var a=i[e[r]];"function"==typeof a&&"function"!=typeof a.prototype[t]&&o(a.prototype,t,{configurable:!0,writable:!0,value:function(){return s(n(this))}})}return t}),"function"==typeof Object.setPrototypeOf)r=Object.setPrototypeOf;else{var u;t:{var h={};try{h.__proto__={a:!0},u=h.a;break t}catch(A){}u=!1}r=u?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var d=r;function f(){this.u=!1,this.h=null,this.Oa=void 0,this.g=1,this.ea=0,this.i=null}function p(t){if(t.u)throw new TypeError("Generator is already running");t.u=!0}function _(t,e){t.i={ab:e,fb:!0},t.g=t.ea}function m(t,e){return t.g=3,{value:e}}function v(t){this.g=new f,this.h=t}function y(t,e,n,r){try{var o=e.call(t.g.h,n);if(!(o instanceof Object))throw new TypeError("Iterator result "+o+" is not an object");if(!o.done)return t.g.u=!1,o;var i=o.value}catch(e){return t.g.h=null,_(t.g,e),g(t)}return t.g.h=null,r.call(t.g,i),g(t)}function g(t){for(;t.g.g;)try{var e=t.h(t.g);if(e)return t.g.u=!1,{value:e.value,done:!1}}catch(e){t.g.Oa=void 0,_(t.g,e)}if(t.g.u=!1,t.g.i){if(e=t.g.i,t.g.i=null,e.fb)throw e.ab;return{value:e.return,done:!0}}return{value:void 0,done:!0}}function b(t){this.next=function(e){return p(t.g),t.g.h?e=y(t,t.g.h.next,e,t.g.O):(t.g.O(e),e=g(t)),e},this.throw=function(e){return p(t.g),t.g.h?e=y(t,t.g.h.throw,e,t.g.O):(_(t.g,e),e=g(t)),e},this.return=function(e){return function(t,e){p(t.g);var n=t.g.h;return n?y(t,"return"in n?n.return:function(t){return{value:t,done:!0}},e,t.g.return):(t.g.return(e),g(t))}(t,e)},this[Symbol.iterator]=function(){return this}}function E(t,e){return e=new b(new v(e)),d&&t.prototype&&d(e,t.prototype),e}f.prototype.O=function(t){this.Oa=t},f.prototype.return=function(t){this.i={return:t},this.g=this.ea},Array.from||(Array.from=function(t){return[].slice.call(t)}),Object.assign||(Object.assign=function(t){for(var e,n=[].slice.call(arguments,1),r=0;r<n.length;r++)if(e=n[r])for(var o=t,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a];o[s]=e[s]}return t});var w=setTimeout;function N(){}function C(t){if(!(this instanceof C))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.N=0,this.Ha=!1,this.I=void 0,this.ba=[],P(t,this)}function S(t,e){for(;3===t.N;)t=t.I;0===t.N?t.ba.push(e):(t.Ha=!0,H(function(){var n=1===t.N?e.hb:e.ib;if(null===n)(1===t.N?O:T)(e.promise,t.I);else{try{var r=n(t.I)}catch(t){return void T(e.promise,t)}O(e.promise,r)}}))}function O(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof C)return t.N=3,t.I=e,void D(t);if("function"==typeof n)return void P(function(t,e){return function(){t.apply(e,arguments)}}(n,e),t)}t.N=1,t.I=e,D(t)}catch(e){T(t,e)}}function T(t,e){t.N=2,t.I=e,D(t)}function D(t){2===t.N&&0===t.ba.length&&H(function(){t.Ha||"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t.I)});for(var e=0,n=t.ba.length;e<n;e++)S(t,t.ba[e]);t.ba=null}function x(t,e,n){this.hb="function"==typeof t?t:null,this.ib="function"==typeof e?e:null,this.promise=n}function P(t,e){var n=!1;try{t(function(t){n||(n=!0,O(e,t))},function(t){n||(n=!0,T(e,t))})}catch(t){n||(n=!0,T(e,t))}}function M(t){return t&&"object"==typeof t&&t.constructor===C?t:new C(function(e){e(t)})}C.prototype.catch=function(t){return this.then(null,t)},C.prototype.then=function(t,e){var n=new this.constructor(N);return S(this,new x(t,e,n)),n},C.prototype.finally=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){return e.reject(n)})})};var A,L,j,k,R,F,H="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){w(t,0)};if(!window.Promise){window.Promise=C,C.prototype.then=C.prototype.then,C.all=function(t){return new C(function(e,n){function r(t,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){r(t,e)},n)}o[t]=a,0===--i&&e(o)}catch(t){n(t)}}if(!t||void 0===t.length)return n(new TypeError("Promise.all accepts an array"));var o=Array.prototype.slice.call(t);if(0===o.length)return e([]);for(var i=o.length,a=0;a<o.length;a++)r(a,o[a])})},C.race=function(t){return new C(function(e,n){if(!t||void 0===t.length)return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=t.length;r<o;r++)M(t[r]).then(e,n)})},C.resolve=M,C.reject=function(t){return new C(function(e,n){n(t)})};var I=document.createTextNode(""),U=[];new MutationObserver(function(){for(var t=U.length,e=0;e<t;e++)U[e]();U.splice(0,t)}).observe(I,{characterData:!0}),H=function(t){U.push(t),I.textContent=0<I.textContent.length?"":"a"}}!function(e,n){if(!(n in e)){var r=typeof t==typeof r?window:t,o=0,i=String(Math.random()),a="__symbol@@"+i,s=e.getOwnPropertyNames,l=e.getOwnPropertyDescriptor,c=e.create,u=e.keys,h=e.freeze||e,d=e.defineProperty,f=e.defineProperties,p=l(e,"getOwnPropertyNames"),_=e.prototype,m=_.hasOwnProperty,v=_.propertyIsEnumerable,y=_.toString,g=function(t,e,n){m.call(t,a)||d(t,a,{enumerable:!1,configurable:!1,writable:!1,value:{}}),t[a]["@@"+e]=n},b=function(){},E=function(t){return t!=a&&!m.call(O,t)},w=function(t){return t!=a&&m.call(O,t)},N=function(t){var e=String(t);return w(e)?m.call(this,e)&&!!this[a]&&this[a]["@@"+e]:v.call(this,t)},C=function(t){return d(_,t,{enumerable:!1,configurable:!0,get:b,set:function(e){M(this,t,{enumerable:!1,configurable:!0,writable:!0,value:e}),g(this,t,!0)}}),O[t]=d(e(t),"constructor",T),h(O[t])},S=function t(e){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return C("__symbol:".concat(e||"",i,++o))},O=c(null),T={value:S},D=function(t){return O[t]},x=function(t,e,n){var r=String(e);if(w(r)){if(e=M,n.enumerable){var o=c(n);o.enumerable=!1}else o=n;e(t,r,o),g(t,r,!!n.enumerable)}else d(t,e,n);return t},P=function(t){return s(t).filter(w).map(D)};p.value=x,d(e,"defineProperty",p),p.value=P,d(e,n,p),p.value=function(t){return s(t).filter(E)},d(e,"getOwnPropertyNames",p),p.value=function(t,e){var n=P(e);return n.length?u(e).concat(n).forEach(function(n){N.call(e,n)&&x(t,n,e[n])}):f(t,e),t},d(e,"defineProperties",p),p.value=N,d(_,"propertyIsEnumerable",p),p.value=S,d(r,"Symbol",p),p.value=function(t){return(t="__symbol:".concat("__symbol:",t,i))in _?O[t]:C(t)},d(S,"for",p),p.value=function(t){if(E(t))throw new TypeError(t+" is not a symbol");if(m.call(O,t)&&"__symbol:"===(t=t.slice(10)).slice(0,10)&&(t=t.slice(10))!==i)return 0<(t=t.slice(0,t.length-i.length)).length?t:void 0},d(S,"keyFor",p),p.value=function(t,e){var n=l(t,e);return n&&w(e)&&(n.enumerable=N.call(t,e)),n},d(e,"getOwnPropertyDescriptor",p),p.value=function(t,e){return 1===arguments.length||void 0===e?c(t):function(t,e){var n=c(t);return s(e).forEach(function(t){N.call(e,t)&&x(n,t,e[t])}),n}(t,e)},d(e,"create",p),p.value=function(){var t=y.call(this);return"[object String]"===t&&w(this)?"[object Symbol]":t},d(_,"toString",p);try{if(!0!==c(d({},"__symbol:",{get:function(){return d(this,"__symbol:",{value:!0})["__symbol:"]}}))["__symbol:"])throw"IE11";var M=d}catch(t){M=function(t,e,n){var r=l(_,e);delete _[e],d(t,e,n),d(_,e,r)}}}}(Object,"getOwnPropertySymbols"),A=Object,L=Symbol,k=A.defineProperty,R=A.prototype,F=R.toString,"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach(function(t){t in L||(k(L,t,{value:L(t)}),"toStringTag"===t&&((j=A.getOwnPropertyDescriptor(R,"toString")).value=function(){var t=F.call(this),e=null==this?this:this[L.toStringTag];return null==e?t:"[object "+e+"]"},k(R,"toString",j)))}),function(t,e,n){function r(){return this}e[t]||(e[t]=function(){var e=0,n=this,o={next:function(){var t=n.length<=e;return t?{done:t}:{done:t,value:n[e++]}}};return o[t]=r,o}),n[t]||(n[t]=function(){var e=String.fromCodePoint,n=this,o=0,i=n.length,a={next:function(){var t=i<=o,r=t?"":e(n.codePointAt(o));return o+=r.length,t?{done:t}:{done:t,value:r}}};return a[t]=r,a})}(Symbol.iterator,Array.prototype,String.prototype);var B=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":B.call(this)},Object.keys=function(t){return Object.getOwnPropertyNames(t).filter(function(e){return(e=Object.getOwnPropertyDescriptor(t,e))&&e.enumerable})},String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function t(){var e,n=this;return E(t,function(t){if(1==t.g&&(e=0),3!=t.g)return e<n.length?t=m(t,n[e]):(t.g=0,t=void 0),t;e++,t.g=2})}),Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function t(){var e,n,r=this;return E(t,function(t){if(1==t.g&&(e=[],r.forEach(function(t){e.push(t)}),n=0),3!=t.g)return n<e.length?t=m(t,e[n]):(t.g=0,t=void 0),t;n++,t.g=2})}),Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function t(){var e,n,r=this;return E(t,function(t){if(1==t.g&&(e=[],r.forEach(function(t,n){e.push([n,t])}),n=0),3!=t.g)return n<e.length?t=m(t,e[n]):(t.g=0,t=void 0),t;n++,t.g=2})});var q=document.createEvent("Event");if(q.initEvent("foo",!0,!0),q.preventDefault(),!q.defaultPrevented){var W=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(W.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var G=/Trident/.test(navigator.userAgent);if(!window.Event||G&&"function"!=typeof window.Event){var V=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,!!e.bubbles,!!e.cancelable),n},V){for(var z in V)window.Event[z]=V[z];window.Event.prototype=V.prototype}}if((!window.CustomEvent||G&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||G&&"function"!=typeof window.MouseEvent){var X=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},X)for(var K in X)window.MouseEvent[K]=X[K];window.MouseEvent.prototype=X.prototype}var J,$=function(){function t(){o++}var e=!1,n=!1,r={get capture(){return e=!0},get once(){return n=!0}},o=0,i=document.createElement("div");i.addEventListener("click",t,r);var a=e&&n;return a&&(i.dispatchEvent(new Event("click")),i.dispatchEvent(new Event("click")),a=1==o),i.removeEventListener("click",t,r),a}(),Y=null!==(J=window.EventTarget)&&void 0!==J?J:window.Node;if(!$&&"addEventListener"in Y.prototype){var Z=function(t){if(!t||"object"!=typeof t&&"function"!=typeof t){var e=!!t;t=!1}else e=!!t.capture,t=!!t.once;return{capture:e,once:t}},Q=Y.prototype.addEventListener,tt=Y.prototype.removeEventListener,et=new WeakMap,nt=new WeakMap,rt=function(t,e,n){var r=n?et:nt;return void 0===(n=r.get(t))&&r.set(t,n=new Map),void 0===(t=n.get(e))&&n.set(e,t=new WeakMap),t};Y.prototype.addEventListener=function(t,e,n){var r=this;if(null!=e){var o=(n=Z(n)).capture;n=n.once;var i=rt(this,t,o);if(!i.has(e)){var a=n?function(n){return i.delete(e),tt.call(r,t,a,o),"function"==typeof e?e.call(r,n):"function"==typeof(null==e?void 0:e.handleEvent)?e.handleEvent(n):void 0}:null;i.set(e,a),Q.call(this,t,null!=a?a:e,o)}}},Y.prototype.removeEventListener=function(t,e,n){if(null!=e){n=Z(n).capture;var r=rt(this,t,n),o=r.get(e);void 0!==o&&(r.delete(e),tt.call(this,t,null!=o?o:e,n))}}}Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var t=(this.ownerDocument||this).querySelector("base[href]");return t&&t.href||window.location.href},configurable:!0,enumerable:!0});var ot,it,at=Element.prototype,st=null!==(ot=Object.getOwnPropertyDescriptor(at,"attributes"))&&void 0!==ot?ot:Object.getOwnPropertyDescriptor(Node.prototype,"attributes"),lt=null!==(it=null==st?void 0:st.get)&&void 0!==it?it:function(){return this.attributes},ct=Array.prototype.map;at.hasOwnProperty("getAttributeNames")||(at.getAttributeNames=function(){return ct.call(lt.call(this),function(t){return t.name})});var ut,ht=Element.prototype;ht.hasOwnProperty("matches")||(ht.matches=null!==(ut=ht.webkitMatchesSelector)&&void 0!==ut?ut:ht.msMatchesSelector);var dt=Node.prototype.appendChild;function ft(t){(t=t.prototype).hasOwnProperty("append")||Object.defineProperty(t,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(n=(e=l(e)).next();!n.done;n=e.next())n=n.value,dt.call(this,"string"==typeof n?document.createTextNode(n):n)}})}ft(Document),ft(DocumentFragment),ft(Element);var pt,_t,mt=Node.prototype.insertBefore,vt=null!==(_t=null===(pt=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===pt?void 0:pt.get)&&void 0!==_t?_t:function(){return this.firstChild};function yt(t){(t=t.prototype).hasOwnProperty("prepend")||Object.defineProperty(t,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];n=vt.call(this);for(var r=(e=l(e)).next();!r.done;r=e.next())r=r.value,mt.call(this,"string"==typeof r?document.createTextNode(r):r,n)}})}yt(Document),yt(DocumentFragment),yt(Element);var gt,bt,Et=Node.prototype.appendChild,wt=Node.prototype.removeChild,Nt=null!==(bt=null===(gt=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===gt?void 0:gt.get)&&void 0!==bt?bt:function(){return this.firstChild};function Ct(t){(t=t.prototype).hasOwnProperty("replaceChildren")||Object.defineProperty(t,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=Nt.call(this));)wt.call(this,n);for(n=(e=l(e)).next();!n.done;n=e.next())n=n.value,Et.call(this,"string"==typeof n?document.createTextNode(n):n)}})}Ct(Document),Ct(DocumentFragment),Ct(Element);var St,Ot,Tt,Dt,xt=Node.prototype.insertBefore,Pt=null!==(Ot=null===(St=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===St?void 0:St.get)&&void 0!==Ot?Ot:function(){return this.parentNode},Mt=null!==(Dt=null===(Tt=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))||void 0===Tt?void 0:Tt.get)&&void 0!==Dt?Dt:function(){return this.nextSibling};function At(t){(t=t.prototype).hasOwnProperty("after")||Object.defineProperty(t,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Pt.call(this)))for(var r=Mt.call(this),o=(e=l(e)).next();!o.done;o=e.next())o=o.value,xt.call(n,"string"==typeof o?document.createTextNode(o):o,r)}})}At(CharacterData),At(Element);var Lt,jt,kt=Node.prototype.insertBefore,Rt=null!==(jt=null===(Lt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Lt?void 0:Lt.get)&&void 0!==jt?jt:function(){return this.parentNode};function Ft(t){(t=t.prototype).hasOwnProperty("before")||Object.defineProperty(t,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Rt.call(this)))for(var r=(e=l(e)).next();!r.done;r=e.next())r=r.value,kt.call(n,"string"==typeof r?document.createTextNode(r):r,this)}})}Ft(CharacterData),Ft(Element);var Ht,It,Ut=Node.prototype.removeChild,Bt=null!==(It=null===(Ht=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Ht?void 0:Ht.get)&&void 0!==It?It:function(){return this.parentNode};function qt(t){(t=t.prototype).hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var t=Bt.call(this);t&&Ut.call(t,this)}})}qt(CharacterData),qt(Element);var Wt,Gt,Vt=Node.prototype.insertBefore,zt=Node.prototype.removeChild,Xt=null!==(Gt=null===(Wt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Wt?void 0:Wt.get)&&void 0!==Gt?Gt:function(){return this.parentNode};function Kt(t){(t=t.prototype).hasOwnProperty("replaceWith")||Object.defineProperty(t,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Xt.call(this))){for(var r=(e=l(e)).next();!r.done;r=e.next())r=r.value,Vt.call(n,"string"==typeof r?document.createTextNode(r):r,this);zt.call(n,this)}}})}Kt(CharacterData),Kt(Element);var Jt=window.Element.prototype,$t=window.HTMLElement.prototype,Yt=window.SVGElement.prototype;!$t.hasOwnProperty("classList")||Jt.hasOwnProperty("classList")||Yt.hasOwnProperty("classList")||Object.defineProperty(Jt,"classList",Object.getOwnPropertyDescriptor($t,"classList"));var Zt=Element.prototype,Qt=Element.prototype.hasAttribute,te=Element.prototype.setAttribute,ee=Element.prototype.removeAttribute;Zt.hasOwnProperty("toggleAttribute")||(Zt.toggleAttribute=function(t,e){return void 0===e?Qt.call(this,t)?(ee.call(this,t),!1):(te.call(this,t,""),!0):e?(Qt.call(this,t)||te.call(this,t,""),!0):(ee.call(this,t),!1)});var ne=document.createElement("style");ne.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var re=document.querySelector("head");re.insertBefore(ne,re.firstChild);var oe=window;oe.WebComponents=oe.WebComponents||{flags:{}};var ie=document.querySelector('script[src*="webcomponents-bundle"]'),ae=/wc-(.+)/,se={};if(!se.noOpts){if(location.search.slice(1).split("&").forEach(function(t){var e;(t=t.split("="))[0]&&(e=t[0].match(ae))&&(se[e[1]]=t[1]||!0)}),ie)for(var le=0,ce=void 0;ce=ie.attributes[le];le++)"src"!==ce.name&&(se[ce.name]=ce.value||!0);var ue={};se.log&&se.log.split&&se.log.split(",").forEach(function(t){ue[t]=!0}),se.log=ue}oe.WebComponents.flags=se;var he=se.shadydom;if(he){oe.ShadyDOM=oe.ShadyDOM||{},oe.ShadyDOM.force=he;var de=se.noPatch;oe.ShadyDOM.noPatch="true"===de||de}var fe=se.register||se.ce;function pe(){}function _e(t){return t.__shady||(t.__shady=new pe),t.__shady}function me(t){return t&&t.__shady}fe&&window.customElements&&(oe.customElements.forcePolyfill=fe),function(){function t(){}function e(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return _.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return m.call(t,e);default:return p.call(t,e)}}var n="undefined"==typeof HTMLTemplateElement,r=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),o=!1;/Trident/.test(navigator.userAgent)&&function(){function t(t,e){if(t instanceof DocumentFragment)for(var r;r=t.firstChild;)n.call(this,r,e);else n.call(this,t,e);return t}o=!0;var e=Node.prototype.cloneNode;Node.prototype.cloneNode=function(t){return t=e.call(this,t),this instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t},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 n=Node.prototype.insertBefore;Node.prototype.insertBefore=t;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(e){return e instanceof DocumentFragment?t.call(this,e,null):r.call(this,e),e};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(e,n){return e instanceof DocumentFragment?(t.call(this,e,n),i.call(this,n)):a.call(this,e,n),n},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){return e=s.call(this,t,e||!1),t instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e}}();var i=Node.prototype.cloneNode,a=Document.prototype.createElement,s=Document.prototype.importNode,l=Node.prototype.removeChild,c=Node.prototype.appendChild,u=Node.prototype.replaceChild,h=DOMParser.prototype.parseFromString,d=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,_=Document.prototype.querySelectorAll,m=DocumentFragment.prototype.querySelectorAll,v=function(){if(!n){var t=document.createElement("template"),e=document.createElement("template");return e.content.appendChild(document.createElement("div")),t.content.appendChild(e),0===(t=t.cloneNode(!0)).content.childNodes.length||0===t.content.firstChild.content.childNodes.length||r}}();if(n){var y=document.implementation.createHTMLDocument("template"),g=!0,b=document.createElement("style");b.textContent="template{display:none;}";var E=document.head;E.insertBefore(b,E.firstElementChild),t.prototype=Object.create(HTMLElement.prototype);var w=!document.createElement("div").hasOwnProperty("innerHTML");t.Z=function(e){if(!e.content&&e.namespaceURI===document.documentElement.namespaceURI){e.content=y.createDocumentFragment();for(var n;n=e.firstChild;)c.call(e.content,n);if(w)e.__proto__=t.prototype;else if(e.cloneNode=function(e){return t.va(this,e)},g)try{C(e),S(e)}catch(t){g=!1}t.bootstrap(e.content)}};var N={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},C=function(e){Object.defineProperty(e,"innerHTML",{get:function(){return M(this)},set:function(e){var n=N[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()];if(n)for(var r=0;r<n.length;r++)e="<"+n[r]+">"+e+"</"+n[r]+">";for(y.body.innerHTML=e,t.bootstrap(y);this.content.firstChild;)l.call(this.content,this.content.firstChild);if(e=y.body,n)for(r=0;r<n.length;r++)e=e.lastChild;for(;e.firstChild;)c.call(this.content,e.firstChild)},configurable:!0})},S=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(y.body.innerHTML=t,t=this.ownerDocument.createDocumentFragment();y.body.firstChild;)c.call(t,y.body.firstChild);u.call(this.parentNode,t,this)},configurable:!0})};C(t.prototype),S(t.prototype),t.bootstrap=function(n){for(var r,o=0,i=(n=e(n,"template")).length;o<i&&(r=n[o]);o++)t.Z(r)},document.addEventListener("DOMContentLoaded",function(){t.bootstrap(document)}),Document.prototype.createElement=function(){var e=a.apply(this,arguments);return"template"===e.localName&&t.Z(e),e},DOMParser.prototype.parseFromString=function(){var e=h.apply(this,arguments);return t.bootstrap(e),e},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return M(this)},set:function(e){d.set.call(this,e),t.bootstrap(this)},configurable:!0,enumerable:!0});var O=/[&\u00A0"]/g,T=/[&\u00A0<>]/g,D=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},x=(b=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e})("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),P=b("style script xmp iframe noembed noframes plaintext noscript".split(" ")),M=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++){t:{var s=n,l=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u=s.localName,h="<"+u,d=s.attributes,p=0;l=d[p];p++)h+=" "+l.name+'="'+l.value.replace(O,D)+'"';h+=">",s=x[u]?h:h+M(s,c)+"</"+u+">";break t;case Node.TEXT_NODE:s=s.data,s=l&&P[l.localName]?s:s.replace(T,D);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}r+=s}return r}}if(n||v){t.va=function(t,e){var n=i.call(t,!1);return this.Z&&this.Z(n),e&&(c.call(n.content,i.call(t.content,!0)),A(n.content,t.content)),n};var A=function(n,r){if(r.querySelectorAll&&0!==(r=e(r,"template")).length)for(var o,i,a=0,s=(n=e(n,"template")).length;a<s;a++)i=r[a],o=n[a],t&&t.Z&&t.Z(i),u.call(o.parentNode,L.call(i,!0),o)},L=Node.prototype.cloneNode=function(e){if(!o&&r&&this instanceof DocumentFragment){if(!e)return this.ownerDocument.createDocumentFragment();var n=j.call(this.ownerDocument,this,!0)}else n=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?t.va(this,e):i.call(this,e);return e&&A(n,this),n},j=Document.prototype.importNode=function(n,r){if(r=r||!1,"template"===n.localName)return t.va(n,r);var o=s.call(this,n,r);if(r){A(o,n),n=e(o,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var i,l=0;l<n.length;l++){i=n[l],(r=a.call(document,"script")).textContent=i.textContent;for(var c,h=i.attributes,d=0;d<h.length;d++)c=h[d],r.setAttribute(c.name,c.value);u.call(i.parentNode,r,i)}}return o}}n&&(window.HTMLTemplateElement=t)}(),pe.prototype.toJSON=function(){return{}};var ve=window.ShadyDOM||{};ve.cb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var ye,ge=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");ve.D=!!(ge&&ge.configurable&&ge.get),ve.Ba=ve.force||!ve.cb,ve.J=ve.noPatch||!1,ve.ha=ve.preferPerformance,ve.Da="on-demand"===ve.J;var be=ve.querySelectorImplementation;function Ee(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function we(t){return(t=me(t))&&void 0!==t.firstChild}function Ne(t){return t instanceof ShadowRoot}function Ce(t){return(t=(t=me(t))&&t.root)&&go(t)}ye=-1<["native","selectorEngine"].indexOf(be)?be:void 0,ve.wb=ye,ve.Ra=navigator.userAgent.match("Trident");var Se=Element.prototype,Oe=Se.matches||Se.matchesSelector||Se.mozMatchesSelector||Se.msMatchesSelector||Se.oMatchesSelector||Se.webkitMatchesSelector,Te=document.createTextNode(""),De=0,xe=[];function Pe(t){xe.push(t),Te.textContent=De++}new MutationObserver(function(){for(;xe.length;)try{xe.shift()()}catch(t){throw Te.textContent=De++,t}}).observe(Te,{characterData:!0});var Me=document.contains?function(t,e){return t.__shady_native_contains(e)}:function(t,e){return t===e||t.documentElement&&t.documentElement.__shady_native_contains(e)};function Ae(t,e){for(;e;){if(e==t)return!0;e=e.__shady_parentNode}return!1}function Le(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=l(t),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==e)return r;return null},t}function je(t){var e=[];for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)e.push(t);return e}function ke(t){var e=[];for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e.push(t);return e}function Re(t,e,n){if(n.configurable=!0,n.value)t[e]=n.value;else try{Object.defineProperty(t,e,n)}catch(t){}}function Fe(t,e,n,r){for(var o in n=void 0===n?"":n,e)r&&0<=r.indexOf(o)||Re(t,n+o,e[o])}function He(t,e){for(var n in e)n in t&&Re(t,n,e[n])}function Ie(t){var e={};return Object.getOwnPropertyNames(t).forEach(function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)}),e}function Ue(t,e){for(var n,r=Object.getOwnPropertyNames(e),o=0;o<r.length;o++)t[n=r[o]]=e[n]}function Be(t){return t instanceof Node?t:document.createTextNode(""+t)}function qe(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(1===e.length)return Be(e[0]);n=document.createDocumentFragment();for(var r=(e=l(e)).next();!r.done;r=e.next())n.appendChild(Be(r.value));return n}function We(t){var e;for(e=void 0===e?1:e;0<e;e--)t=t.reduce(function(t,e){return Array.isArray(e)?t.push.apply(t,c(e)):t.push(e),t},[]);return t}var Ge,Ve=[];function ze(t){Ge||(Ge=!0,Pe(Xe)),Ve.push(t)}function Xe(){Ge=!1;for(var t=!!Ve.length;Ve.length;)Ve.shift()();return t}function Ke(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.qa=new Set}Xe.list=Ve,Ke.prototype.flush=function(){if(this.g){this.g=!1;var t=this.takeRecords();t.length&&this.qa.forEach(function(e){e(t)})}},Ke.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 Je=/[&\u00A0"]/g,$e=/[&\u00A0<>]/g;function Ye(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function Ze(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}var Qe=Ze("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),tn=Ze("style script xmp iframe noembed noframes plaintext noscript".split(" "));function en(t,e){"template"===t.localName&&(t=t.content);for(var n="",r=e?e(t):t.childNodes,o=0,i=r.length,a=void 0;o<i&&(a=r[o]);o++){t:{var s=a,l=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u,h="<"+(l=s.localName),d=s.attributes,f=0;u=d[f];f++)h+=" "+u.name+'="'+u.value.replace(Je,Ye)+'"';h+=">",s=Qe[l]?h:h+en(s,c)+"</"+l+">";break t;case Node.TEXT_NODE:s=s.data,s=l&&tn[l.localName]?s:s.replace($e,Ye);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}n+=s}return n}var nn=ve.D,rn={querySelector:function(t){return this.__shady_native_querySelector(t)},querySelectorAll:function(t){return this.__shady_native_querySelectorAll(t)}},on={};function an(t){on[t]=function(e){return e["__shady_native_"+t]}}function sn(t,e){for(var n in Fe(t,e,"__shady_native_"),e)an(n)}function ln(t,e){e=void 0===e?[]:e;for(var n=0;n<e.length;n++){var r=e[n],o=Object.getOwnPropertyDescriptor(t,r);o&&(Object.defineProperty(t,"__shady_native_"+r,o),o.value?rn[r]||(rn[r]=o.value):an(r))}}var cn=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),un=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),hn=document.implementation.createHTMLDocument("inert");function dn(t){for(var e;e=t.__shady_native_firstChild;)t.__shady_native_removeChild(e)}var fn=["firstElementChild","lastElementChild","children","childElementCount"],pn=["querySelector","querySelectorAll","append","prepend","replaceChildren"],_n=Ie({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),mn=Ie({get textContent(){return this.__shady_textContent},set textContent(t){this.__shady_textContent=t},get innerHTML(){return this.__shady_innerHTML},set innerHTML(t){this.__shady_innerHTML=t}}),vn=Ie({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(t){this.__shady_className=t}});function yn(t){for(var e in t){var n=t[e];n&&(n.enumerable=!1)}}yn(_n),yn(mn),yn(vn);var gn=ve.D||!0===ve.J,bn=gn?function(){}:function(t){var e=_e(t);e.Ta||(e.Ta=!0,He(t,vn))},En=gn?function(){}:function(t){var e=_e(t);e.Sa||(e.Sa=!0,He(t,_n),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!ve.J||He(t,mn))},wn="__eventWrappers"+Date.now(),Nn=function(){var t=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return t?function(e){return t.get.call(e)}:null}(),Cn=function(){function t(){}var e=!1,n={get capture(){return e=!0,!1}};return window.addEventListener("test",t,n),window.removeEventListener("test",t,n),e}();function Sn(t){if(null===t||"object"!=typeof t&&"function"!=typeof t)var e=!!t,n=!1;else{e=!!t.capture,n=!!t.once;var r=t.U}return{Pa:r,capture:e,once:n,Na:Cn?t:e}}var On={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},Tn={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Dn(t){return t instanceof Node?t.__shady_getRootNode():t}function xn(t,e){var n=[],r=t;for(t=Dn(t);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(e||r!==t)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function Pn(t,e){if(!Ne)return t;t=xn(t,!0);for(var n,r,o=0,i=void 0,a=void 0;o<e.length;o++)if((r=Dn(n=e[o]))!==i&&(a=t.indexOf(r),i=r),!Ne(r)||-1<a)return n}var Mn={get composed(){return void 0===this.__composed&&(Nn?this.__composed="focusin"===this.type||"focusout"===this.type||Nn(this):!1!==this.isTrusted&&(this.__composed=On[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=xn(this.__target,this.composed)),this.__composedPath},get target(){return Pn(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=xn(this.__relatedTarget,!0)),Pn(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ua=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ua=this.__immediatePropagationStopped=!0}},An=ve.D&&Object.getOwnPropertyDescriptor(Event.prototype,"eventPhase");function Ln(t){function e(e,n){return(e=new t(e,n)).__composed=n&&!!n.composed,e}return e.__proto__=t,e.prototype=t.prototype,e}An&&(Object.defineProperty(Mn,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(Mn,"__shady_native_eventPhase",An));var jn={focus:!0,blur:!0};function kn(t){return t.__target!==t.target||t.__relatedTarget!==t.relatedTarget}function Rn(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var r,o=0;(r=n[o])&&(!kn(t)||t.target!==t.relatedTarget)&&(r.call(e,t),!t.__immediatePropagationStopped);o++);}var Fn=new Event("e").hasOwnProperty("currentTarget");function Hn(t){var e=(t=Fn?Object.create(t):t).composedPath(),n=e.map(function(t){return Pn(t,e)}),r=t.bubbles,o=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return l}});var i=Event.CAPTURING_PHASE,a=Object.getOwnPropertyDescriptor(t,"eventPhase");Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i}});try{for(var s=e.length-1;0<=s;s--){var l=e[s];if(i=l===n[s]?Event.AT_TARGET:Event.CAPTURING_PHASE,Rn(t,l,"capture"),t.ua)return}for(s=0;s<e.length;s++){var c=(l=e[s])===n[s];if((c||r)&&(i=c?Event.AT_TARGET:Event.BUBBLING_PHASE,Rn(t,l,"bubble"),t.ua))break}}finally{Fn||(o?Object.defineProperty(t,"currentTarget",o):delete t.currentTarget,a?Object.defineProperty(t,"eventPhase",a):delete t.eventPhase)}}function In(t,e,n,r){for(var o=0;o<t.length;o++){var i=t[o],a=i.type,s=i.capture;if(e===i.node&&n===a&&r===s)return o}return-1}function Un(t){return Xe(),!ve.ha&&this instanceof Node&&!Me(document,this)?(t.__target||Gn(t,this),Hn(t)):this.__shady_native_dispatchEvent(t)}function Bn(t,e,n){var r=this,o=Sn(n),i=o.capture,a=o.once,s=o.Pa;if(o=o.Na,e){var l=typeof e;if(("function"===l||"object"===l)&&("object"!==l||e.handleEvent&&"function"==typeof e.handleEvent)){if(Tn[t])return this.__shady_native_addEventListener(t,e,o);var c=s||this;if(s=e[wn]){if(-1<In(s,c,t,i))return}else e[wn]=[];s=function(o){if(a&&r.__shady_removeEventListener(t,e,n),o.__target||Gn(o),c!==r){var s=Object.getOwnPropertyDescriptor(o,"currentTarget");Object.defineProperty(o,"currentTarget",{get:function(){return c},configurable:!0});var u=Object.getOwnPropertyDescriptor(o,"eventPhase");Object.defineProperty(o,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(o.__previousCurrentTarget=o.currentTarget,(!Ne(c)&&"slot"!==c.localName||-1!=o.composedPath().indexOf(c))&&(o.composed||-1<o.composedPath().indexOf(c)))if(kn(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 h="function"===l?e.call(c,o):e.handleEvent&&e.handleEvent(o);return c!==r&&(s?(Object.defineProperty(o,"currentTarget",s),s=null):delete o.currentTarget,u?(Object.defineProperty(o,"eventPhase",u),u=null):delete o.eventPhase),h}},e[wn].push({node:c,type:t,capture:i,ub:s}),this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][i?"capture":"bubble"].push(s),jn[t]||this.__shady_native_addEventListener(t,s,o)}}}function qn(t,e,n){if(e){var r=Sn(n);n=r.capture;var o=r.Pa;if(r=r.Na,Tn[t])return this.__shady_native_removeEventListener(t,e,r);var i=o||this;o=void 0;var a=null;try{a=e[wn]}catch(t){}a&&-1<(i=In(a,i,t,n))&&(o=a.splice(i,1)[0].ub,a.length||(e[wn]=void 0)),this.__shady_native_removeEventListener(t,o||e,r),o&&this.__handlers&&this.__handlers[t]&&-1<(e=(t=this.__handlers[t][n?"capture":"bubble"]).indexOf(o))&&t.splice(e,1)}}var Wn=Ie(Mn);function Gn(t,e){if(e=void 0===e?t.target:e,t.__target=e,t.__relatedTarget=t.relatedTarget,ve.D){if(!(e=Object.getPrototypeOf(t)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(e);n.__shady_sourceProto=e,Fe(n,Wn),e.__shady_patchedProto=n}t.__proto__=e.__shady_patchedProto}else Fe(t,Wn)}var Vn=Ln(Event),zn=Ln(CustomEvent),Xn=Ln(MouseEvent),Kn=Object.getOwnPropertyNames(Element.prototype).filter(function(t){return"on"===t.substring(0,2)}),Jn=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(t){return"on"===t.substring(0,2)});function $n(t){return{set:function(e){var n=_e(this),r=t.substring(2);n.T||(n.T={}),n.T[t]&&this.removeEventListener(r,n.T[t]),this.__shady_addEventListener(r,e),n.T[t]=e},get:function(){var e=me(this);return e&&e.T&&e.T[t]},configurable:!0}}function Yn(t,e){return{index:t,ia:[],pa:e}}function Zn(t,e,n,r){var o=0,i=0,a=0,s=0,l=Math.min(e-o,r-i);if(0==o&&0==i)t:{for(a=0;a<l;a++)if(t[a]!==n[a])break t;a=l}if(e==t.length&&r==n.length){s=t.length;for(var c=n.length,u=0;u<l-a&&Qn(t[--s],n[--c]);)u++;s=u}if(i+=a,r-=s,0==(e-=s)-(o+=a)&&0==r-i)return[];if(o==e){for(e=Yn(o,0);i<r;)e.ia.push(n[i++]);return[e]}if(i==r)return[Yn(o,e-o)];for(r=r-(a=i)+1,s=e-(l=o)+1,e=Array(r),c=0;c<r;c++)e[c]=Array(s),e[c][0]=c;for(c=0;c<s;c++)e[0][c]=c;for(c=1;c<r;c++)for(u=1;u<s;u++)if(t[l+u-1]===n[a+c-1])e[c][u]=e[c-1][u-1];else{var h=e[c-1][u]+1,d=e[c][u-1]+1;e[c][u]=h<d?h:d}for(l=e.length-1,a=e[0].length-1,r=e[l][a],t=[];0<l||0<a;)0==l?(t.push(2),a--):0==a?(t.push(3),l--):(s=e[l-1][a-1],(h=(c=e[l-1][a])<(u=e[l][a-1])?c<s?c:s:u<s?u:s)==s?(s==r?t.push(0):(t.push(1),r=s),l--,a--):h==c?(t.push(3),l--,r=c):(t.push(2),a--,r=u));for(t.reverse(),e=void 0,l=[],a=0;a<t.length;a++)switch(t[a]){case 0:e&&(l.push(e),e=void 0),o++,i++;break;case 1:e||(e=Yn(o,0)),e.pa++,o++,e.ia.push(n[i]),i++;break;case 2:e||(e=Yn(o,0)),e.pa++,o++;break;case 3:e||(e=Yn(o,0)),e.ia.push(n[i]),i++}return e&&l.push(e),l}function Qn(t,e){return t===e}var tr=Ie({dispatchEvent:Un,addEventListener:Bn,removeEventListener:qn}),er=null;function nr(){return er||(er=window.ShadyCSS&&window.ShadyCSS.ScopingShim),er||null}function rr(t,e,n){var r=nr();return!(!r||"class"!==e||(r.setElementClass(t,n),0))}function or(t,e){var n=nr();n&&n.unscopeNode(t,e)}function ir(t,e){var n=nr();if(!n)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(n=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)n=n&&ir(t,e);return n}return t.nodeType!==Node.ELEMENT_NODE||n.currentScopeForNode(t)===e}function ar(t){if(t.nodeType!==Node.ELEMENT_NODE)return"";var e=nr();return e?e.currentScopeForNode(t):""}function sr(t,e){if(t)for(t.nodeType===Node.ELEMENT_NODE&&e(t),t=t.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType===Node.ELEMENT_NODE&&sr(t,e)}var lr=window.document,cr=ve.ha,ur=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),hr=ur&&ur.get;function dr(t){for(var e;e=t.__shady_firstChild;)t.__shady_removeChild(e)}function fr(t){var e=me(t);if(e&&void 0!==e.ta)for(e=t.__shady_firstChild;e;e=e.__shady_nextSibling)fr(e);(t=me(t))&&(t.ta=void 0)}function pr(t){var e=t;if(t&&"slot"===t.localName){var n=me(t);(n=n&&n.aa)&&(e=n.length?n[0]:pr(t.__shady_nextSibling))}return e}function _r(t,e,n){if(t=(t=me(t))&&t.ga){if(e)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=e.childNodes.length;r<o;r++)t.addedNodes.push(e.childNodes[r]);else t.addedNodes.push(e);n&&t.removedNodes.push(n),function(t){t.g||(t.g=!0,Pe(function(){t.flush()}))}(t)}}var mr=Ie({get parentNode(){var t=me(this);return void 0!==(t=t&&t.parentNode)?t:this.__shady_native_parentNode},get firstChild(){var t=me(this);return void 0!==(t=t&&t.firstChild)?t:this.__shady_native_firstChild},get lastChild(){var t=me(this);return void 0!==(t=t&&t.lastChild)?t:this.__shady_native_lastChild},get nextSibling(){var t=me(this);return void 0!==(t=t&&t.nextSibling)?t:this.__shady_native_nextSibling},get previousSibling(){var t=me(this);return void 0!==(t=t&&t.previousSibling)?t:this.__shady_native_previousSibling},get childNodes(){if(we(this)){var t=me(this);if(!t.childNodes){t.childNodes=[];for(var e=this.__shady_firstChild;e;e=e.__shady_nextSibling)t.childNodes.push(e)}var n=t.childNodes}else n=this.__shady_native_childNodes;return n.item=function(t){return n[t]},n},get parentElement(){var t=me(this);return(t=t&&t.parentNode)&&t.nodeType!==Node.ELEMENT_NODE&&(t=null),void 0!==t?t:this.__shady_native_parentElement},get isConnected(){if(hr&&hr.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var t=this.ownerDocument;if(null===t||Me(t,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.__shady_parentNode||(Ne(t)?t.host:void 0);return!!(t&&t instanceof Document)},get textContent(){if(we(this)){for(var t=[],e=this.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.__shady_textContent);return t.join("")}return this.__shady_native_textContent},set textContent(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!we(this)&&ve.D){var e=this.__shady_firstChild;(e!=this.__shady_lastChild||e&&e.nodeType!=Node.TEXT_NODE)&&dr(this),this.__shady_native_textContent=t}else dr(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(t));break;default:this.nodeValue=t}},insertBefore:function(t,e){if(this.ownerDocument!==lr&&t.ownerDocument!==lr)return this.__shady_native_insertBefore(t,e),t;if(t===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(e){var n=me(e);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&e.__shady_native_parentNode!==this)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(e===t)return t;_r(this,t);var r=[],o=(n=No(this))?n.host.localName:ar(this),i=t.__shady_parentNode;if(i){var a=ar(t),s=!!n||!No(t)||cr&&void 0!==this.__noInsertionPoint;i.__shady_removeChild(t,s)}i=!0;var l=(!cr||void 0===t.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!ir(t,o),u=n&&!t.__noInsertionPoint&&(!cr||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(u||l)&&(l&&(a=a||ar(t)),sr(t,function(t){if(u&&"slot"===t.localName&&r.push(t),l){var e=a;nr()&&(e&&or(t,e),(e=nr())&&e.scopeNode(t,o))}})),r.length&&(_o(n),n.i.push.apply(n.i,c(r)),co(n)),we(this)&&(function(t,e,n){Zr(e,2);var r=_e(e);if(void 0!==r.firstChild&&(r.childNodes=null),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)Qr(t,e,r,n);else Qr(t,e,r,n)}(t,this,e),(s=me(this)).root?(i=!1,Ce(this)&&co(s.root)):n&&"slot"===this.localName&&(i=!1,co(n))),i?(n=Ne(this)?this.host:this,e?(e=pr(e),n.__shady_native_insertBefore(t,e)):n.__shady_native_appendChild(t)):t.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(t),t},appendChild:function(t){if(this!=t||!Ne(t))return this.__shady_insertBefore(t)},removeChild:function(t,e){if(e=void 0!==e&&e,this.ownerDocument!==lr)return this.__shady_native_removeChild(t);if(t.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+t);_r(this,null,t);var n=No(t),r=n&&function(t,e){if(t.g){mo(t);var n,r=t.h;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var a=o[i];if(Ae(e,a)){o.splice(i,1);var s=t.g.indexOf(a);if(0<=s&&(t.g.splice(s,1),(s=me(a.__shady_parentNode))&&s.ka&&s.ka--),i--,s=(a=me(a)).aa)for(var l=0;l<s.length;l++){var c=s[l],u=c.__shady_native_parentNode;u&&u.__shady_native_removeChild(c)}a.aa=[],a.assignedNodes=[],s=!0}}return s}}(n,t),o=me(this);if(we(this)&&(function(t,e){var n=_e(t);e=_e(e),t===e.firstChild&&(e.firstChild=n.nextSibling),t===e.lastChild&&(e.lastChild=n.previousSibling),t=n.previousSibling;var r=n.nextSibling;t&&(_e(t).nextSibling=r),r&&(_e(r).previousSibling=t),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==e.childNodes&&(e.childNodes=null)}(t,this),Ce(this))){co(o.root);var i=!0}if(nr()&&!e&&n&&t.nodeType!==Node.TEXT_NODE){var a=ar(t);sr(t,function(t){or(t,a)})}return fr(t),n&&((e="slot"===this.localName)&&(i=!0),(r||e)&&co(n)),i||(i=Ne(this)?this.host:this,(!o.root&&"slot"!==t.localName||i===t.__shady_native_parentNode)&&i.__shady_native_removeChild(t)),t},replaceChild:function(t,e){return this.__shady_insertBefore(t,e),this.__shady_removeChild(e),t},cloneNode:function(t){if("template"==this.localName)return this.__shady_native_cloneNode(t);var e=this.__shady_native_cloneNode(!1);if(t&&e.nodeType!==Node.ATTRIBUTE_NODE){t=this.__shady_firstChild;for(var n;t;t=t.__shady_nextSibling)n=t.__shady_cloneNode(!0),e.__shady_appendChild(n)}return e},getRootNode:function(t){if(this&&this.nodeType){var e=_e(this),n=e.ta;return void 0===n&&(Ne(this)?(n=this,e.ta=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(t):this,document.documentElement.__shady_native_contains(this)&&(e.ta=n))),n}},contains:function(t){return Ae(this,t)}}),vr=Ie({get assignedSlot(){var t=this.__shady_parentNode;return(t=t&&t.__shady_shadowRoot)&&uo(t),(t=me(this))&&t.assignedSlot||null}}),yr=new Map;function gr(t,e,n,r){for(r=void 0===r||r;e<t.length;e++)if("\\"===t[e]&&e<t.length-1&&"\n"!==t[e+1])e++;else{if(-1!==n.indexOf(t[e]))return e;if(r&&yr.has(t[e])){var o=yr.get(t[e]);e=gr(t,e+1,[o.end],o.sa)}}return t.length}function br(t,e,n){var r=[];return Er(t,e,n,r),r}function Er(t,e,n,r){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var o;if(o=t.nodeType===Node.ELEMENT_NODE){var i=e,a=n,s=r,l=i(o=t);l&&s.push(o),a&&a(l)?o=l:(Er(o,i,a,s),o=void 0)}if(o)break}}[["(",{end:")",sa:!0}],["[",{end:"]",sa:!0}],['"',{end:'"',sa:!1}],["'",{end:"'",sa:!1}]].forEach(function(t){var e=l(t);t=e.next().value,e=e.next().value,yr.set(t,e)});var wr={get firstElementChild(){var t=me(this);if(t&&void 0!==t.firstChild){for(t=this.__shady_firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_firstElementChild},get lastElementChild(){var t=me(this);if(t&&void 0!==t.lastChild){for(t=this.__shady_lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_lastElementChild},get children(){return we(this)?Le(Array.prototype.filter.call(ke(this),function(t){return t.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var t=this.__shady_children;return t?t.length:0}},Nr=Ie((wr.append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(qe.apply(null,c(e)),null)},wr.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(qe.apply(null,c(e)),this.__shady_firstChild)},wr.replaceChildren=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(qe.apply(null,c(e)),null)},wr));function Cr(t,e){function n(e,n){return(e===t||-1===n.indexOf(":scope"))&&Oe.call(e,n)}var r=function(t){function e(){if(0<r.length){for(;" "===r[r.length-1];)r.pop();n.push({La:r.filter(function(t,e){return 0==e%2}),Za:r.filter(function(t,e){return 1==e%2})}),r.length=0}}for(var n=[],r=[],o=0;o<t.length;){var i=r[r.length-1],a=gr(t,o,[","," ",">","+","~"]),s=a===o?t[o]:t.substring(o,a);","===s?e():-1!==[void 0," ",">","+","~"].indexOf(i)&&" "===s||(" "===i&&-1!==[">","+","~"].indexOf(s)?r[r.length-1]=s:r.push(s)),o=a+(a===o?1:0)}return e(),n}(e);if(1>r.length)return[];for(e=We(br(t,function(){return!0}).map(function(t){return We(r.map(function(e){var r=e.La,o=r.length-1;return n(t,r[o])?{target:t,da:e,fa:t,index:o}:[]}))}));e.some(function(t){return 0<t.index});)e=We(e.map(function(t){if(0>=t.index)return t;var e=t.target,r=t.fa,o=t.da;t=t.index-1;var i=o.Za[t],a=o.La[t];if(" "===i){for(i=[],r=r.__shady_parentElement;r;r=r.__shady_parentElement)n(r,a)&&i.push({target:e,da:o,fa:r,index:t});return i}if(">"===i)return n(r=r.__shady_parentElement,a)?{target:e,da:o,fa:r,index:t}:[];if("+"===i)return(r=r.__shady_previousElementSibling)&&n(r,a)?{target:e,da:o,fa:r,index:t}:[];if("~"===i){for(i=[],r=r.__shady_previousElementSibling;r;r=r.__shady_previousElementSibling)n(r,a)&&i.push({target:e,da:o,fa:r,index:t});return i}throw Error("Unrecognized combinator: '"+i+"'.")}));return function(t){for(var e=[],n=new Set,r=(t=l(t)).next();!r.done;r=t.next())r=r.value,n.has(r)||(e.push(r),n.add(r));return e}(e.map(function(t){return t.target}))}var Sr=ve.querySelectorImplementation,Or=Ie({querySelector:function(t){if("native"===Sr){for(var e=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(t)),n=this.__shady_getRootNode(),r=(e=l(e)).next();!r.done;r=e.next())if((r=r.value).__shady_getRootNode()==n)return r;return null}if("selectorEngine"===Sr)return Cr(this,t)[0]||null;if(void 0===Sr)return br(this,function(e){return Oe.call(e,t)},function(t){return!!t})[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+Sr+"'")},querySelectorAll:function(t,e){if(e||"native"===Sr){e=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(t));var n=this.__shady_getRootNode();return Le(e.filter(function(t){return t.__shady_getRootNode()==n}))}if("selectorEngine"===Sr)return Le(Cr(this,t));if(void 0===Sr)return Le(br(this,function(e){return Oe.call(e,t)}));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+Sr+"'")}}),Tr=ve.ha&&!ve.J?Ue({},Nr):Nr;Ue(Nr,Or);var Dr=Ie({after:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(qe.apply(null,c(e)),r)}},before:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(qe.apply(null,c(e)),this)},remove:function(){var t=this.__shady_parentNode;null!==t&&t.__shady_removeChild(this)},replaceWith:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(qe.apply(null,c(e)),r)}}}),xr=window.document;function Pr(t,e){if("slot"===e)Ce(t=t.__shady_parentNode)&&co(me(t).root);else if("slot"===t.localName&&"name"===e&&(e=No(t))){if(e.g){mo(e);var n=t.Ua,r=vo(t);if(r!==n){var o=(n=e.h[n]).indexOf(t);0<=o&&n.splice(o,1),(n=e.h[r]||(e.h[r]=[])).push(t),1<n.length&&(e.h[r]=yo(n))}}co(e)}}var Mr=Ie({get previousElementSibling(){var t=me(this);if(t&&void 0!==t.previousSibling){for(t=this.__shady_previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_previousElementSibling},get nextElementSibling(){var t=me(this);if(t&&void 0!==t.nextSibling){for(t=this.__shady_nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(t){this.__shady_setAttribute("slot",t)},get className(){return this.getAttribute("class")||""},set className(t){this.__shady_setAttribute("class",t)},setAttribute:function(t,e){this.ownerDocument!==xr?this.__shady_native_setAttribute(t,e):rr(this,t,e)||(this.__shady_native_setAttribute(t,e),Pr(this,t))},removeAttribute:function(t){this.ownerDocument!==xr?this.__shady_native_removeAttribute(t):rr(this,t,"")?""===this.getAttribute(t)&&this.__shady_native_removeAttribute(t):(this.__shady_native_removeAttribute(t),Pr(this,t))},toggleAttribute:function(t,e){return this.ownerDocument!==xr?this.__shady_native_toggleAttribute(t,e):rr(this,t,"")?""!==this.getAttribute(t)||e?void 0:this.__shady_native_toggleAttribute(t,e):(e=this.__shady_native_toggleAttribute(t,e),Pr(this,t),e)}});ve.ha||Kn.forEach(function(t){Mr[t]=$n(t)});var Ar=Ie({attachShadow:function(t){if(!this)throw Error("Must provide a host.");if(!t)throw Error("Not enough arguments.");if(t.shadyUpgradeFragment&&!ve.Ra){var e=t.shadyUpgradeFragment;if(e.__proto__=ShadowRoot.prototype,lo(e,this,t),to(e,e),t=e.__noInsertionPoint?null:e.querySelectorAll("slot"),e.__noInsertionPoint=void 0,t&&t.length){var n=e;_o(n),n.i.push.apply(n.i,c(t)),co(e)}e.host.__shady_native_appendChild(e)}else e=new so(oo,this,t);return this.__CE_shadowRoot=e},get shadowRoot(){var t=me(this);return t&&t.lb||null}});Ue(Mr,Ar);var Lr=document.implementation.createHTMLDocument("inert"),jr=Ie({get innerHTML(){return we(this)?en("template"===this.localName?this.content:this,ke):this.__shady_native_innerHTML},set innerHTML(t){if("template"===this.localName)this.__shady_native_innerHTML=t;else{dr(this);var e=this.localName||"div";for(e=this.namespaceURI&&this.namespaceURI!==Lr.namespaceURI?Lr.createElementNS(this.namespaceURI,e):Lr.createElement(e),ve.D?e.__shady_native_innerHTML=t:e.innerHTML=t;t=e.__shady_firstChild;)this.__shady_insertBefore(t)}}}),kr=Ie({blur:function(){var t=me(this);(t=(t=t&&t.root)&&t.activeElement)?t.__shady_blur():this.__shady_native_blur()}});ve.ha||Jn.forEach(function(t){kr[t]=$n(t)});var Rr=Ie({assignedNodes:function(t){if("slot"===this.localName){var e=this.__shady_getRootNode();return e&&Ne(e)&&uo(e),(e=me(this))&&(t&&t.flatten?e.aa:e.assignedNodes)||[]}},addEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)Bn.call(this,t,e,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.U=this,r.__shady_addEventListener(t,e,n)}},removeEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)qn.call(this,t,e,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.U=this,r.__shady_removeEventListener(t,e,n)}}}),Fr=Ie({getElementById:function(t){return""===t?null:br(this,function(e){return e.id==t},function(t){return!!t})[0]||null}});function Hr(t,e){for(var n;e&&!t.has(n=e.__shady_getRootNode());)e=n.host;return e}var Ir="__shady_native_"+Ee(),Ur=Ie({get activeElement(){var t=ve.D?document.__shady_native_activeElement:document.activeElement;if(!t||!t.nodeType)return null;var e=!!Ne(this);if(!(this===document||e&&this.host!==t&&this.host.__shady_native_contains(t)))return null;for(e=No(t);e&&e!==this;)e=No(t=e.host);return this===document?e?null:t:e===this?t:null},elementsFromPoint:function(t,e){if(t=document[Ir](t,e),this===document&&ve.useNativeDocumentEFP)return t;t=[].slice.call(t),e=function(t){var e=new Set;for(e.add(t);Ne(t)&&t.host;)t=t.host.__shady_getRootNode(),e.add(t);return e}(this);for(var n=new Set,r=0;r<t.length;r++)n.add(Hr(e,t[r]));var o=[];return n.forEach(function(t){return o.push(t)}),o},elementFromPoint:function(t,e){return this===document&&ve.useNativeDocumentEFP?this.__shady_native_elementFromPoint(t,e):this.__shady_elementsFromPoint(t,e)[0]||null}}),Br=window.document,qr=Ie({importNode:function(t,e){if(t.ownerDocument!==Br||"template"===t.localName)return this.__shady_native_importNode(t,e);var n=this.__shady_native_importNode(t,!1);if(e)for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e=this.__shady_importNode(t,!0),n.__shady_appendChild(e);return n}}),Wr=Ie({dispatchEvent:Un,addEventListener:Bn.bind(window),removeEventListener:qn.bind(window)}),Gr={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(Gr.parentElement=mr.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(Gr.contains=mr.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(Gr.children=Nr.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(Gr.innerHTML=jr.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(Gr.className=Mr.className);var Vr={EventTarget:[tr],Node:[mr,window.EventTarget?null:tr],Text:[vr],Comment:[vr],CDATASection:[vr],ProcessingInstruction:[vr],Element:[Mr,Nr,Dr,vr,!ve.D||"innerHTML"in Element.prototype?jr:null,window.HTMLSlotElement?null:Rr],HTMLElement:[kr,Gr],HTMLSlotElement:[Rr],DocumentFragment:[Tr,Fr],Document:[qr,Tr,Fr,Ur],Window:[Wr],CharacterData:[Dr],XMLHttpRequest:[window.EventTarget?null:tr]},zr=ve.D?null:["innerHTML","textContent"];function Xr(t,e,n,r){e.forEach(function(e){return t&&e&&Fe(t,e,n,r)})}function Kr(t){var e,n=t?null:zr;for(e in Vr)Xr(window[e]&&window[e].prototype,Vr[e],t,n)}function Jr(t){return t.__shady_protoIsPatched=!0,Xr(t,Vr.EventTarget),Xr(t,Vr.Node),Xr(t,Vr.Element),Xr(t,Vr.HTMLElement),Xr(t,Vr.HTMLSlotElement),t}["Text","Comment","CDATASection","ProcessingInstruction"].forEach(function(t){var e=window[t],n=Object.create(e.prototype);n.__shady_protoIsPatched=!0,Xr(n,Vr.EventTarget),Xr(n,Vr.Node),Vr[t]&&Xr(n,Vr[t]),e.prototype.__shady_patchedProto=n});var $r=ve.Da,Yr=ve.D;function Zr(t,e){if($r&&!t.__shady_protoIsPatched&&!Ne(t)){var n=Object.getPrototypeOf(t),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(Jr(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(t,r)}Yr||(1===e?bn(t):2===e&&En(t))}function Qr(t,e,n,r){Zr(t,1),r=r||null;var o=_e(t),i=r?_e(r):null;o.previousSibling=r?i.previousSibling:e.__shady_lastChild,(i=me(o.previousSibling))&&(i.nextSibling=t),(i=me(o.nextSibling=r))&&(i.previousSibling=t),o.parentNode=e,r?r===n.firstChild&&(n.firstChild=t):(n.lastChild=t,n.firstChild||(n.firstChild=t)),n.childNodes=null}function to(t,e){var n=_e(t);if(e||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=t.__shady_native_firstChild;for(n.lastChild=t.__shady_native_lastChild,Zr(t,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=_e(n);o.parentNode=e||t,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,Zr(n,1)}}}var eo=Ie({addEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.U=n.U||this,this.host.__shady_addEventListener(t,e,n)},removeEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.U=n.U||this,this.host.__shady_removeEventListener(t,e,n)}});function no(t,e){Fe(t,eo,e),Fe(t,Ur,e),Fe(t,jr,e),Fe(t,Nr,e),ve.J&&!e?(Fe(t,mr,e),Fe(t,Fr,e)):ve.D||(Fe(t,vn),Fe(t,_n),Fe(t,mn))}var ro,oo={},io=ve.deferConnectionCallbacks&&"loading"===document.readyState;function ao(t){var e=[];do{e.unshift(t)}while(t=t.__shady_parentNode);return e}function so(t,e,n){if(t!==oo)throw new TypeError("Illegal constructor");this.g=null,lo(this,e,n)}function lo(t,e,n){if(t.host=e,t.mode=n&&n.mode,to(t.host),(e=_e(t.host)).root=t,e.lb="closed"!==t.mode?t:null,(e=_e(t)).firstChild=e.lastChild=e.parentNode=e.nextSibling=e.previousSibling=null,ve.preferPerformance)for(;e=t.host.__shady_native_firstChild;)t.host.__shady_native_removeChild(e);else co(t)}function co(t){t.Y||(t.Y=!0,ze(function(){return uo(t)}))}function uo(t){var e;if(e=t.Y){for(var n;t;)t.Y&&(n=t),Ne(t=(e=t).host.__shady_getRootNode())&&(e=me(e.host))&&0<e.ka||(t=void 0);e=n}(n=e)&&n._renderSelf()}function ho(t,e,n){var r=_e(e),o=r.xa;r.xa=null,n||(n=(t=t.h[e.__shady_slot||"__catchall"])&&t[0]),n?(_e(n).assignedNodes.push(e),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(_e(r.assignedSlot).Aa=!0)}function fo(t,e,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=me(o).assignedNodes;i&&i.length&&fo(t,e,i)}else e.push(n[r])}function po(t,e){e.__shady_native_dispatchEvent(new Event("slotchange")),(e=me(e)).assignedSlot&&po(t,e.assignedSlot)}function _o(t){t.i=t.i||[],t.g=t.g||[],t.h=t.h||{}}function mo(t){if(t.i&&t.i.length){for(var e,n=t.i,r=0;r<n.length;r++){var o=n[r];to(o);var i=o.__shady_parentNode;to(i),(i=me(i)).ka=(i.ka||0)+1,i=vo(o),t.h[i]?((e=e||{})[i]=!0,t.h[i].push(o)):t.h[i]=[o],t.g.push(o)}if(e)for(var a in e)t.h[a]=yo(t.h[a]);t.i=[]}}function vo(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.Ua=e}function yo(t){return t.sort(function(t,e){t=ao(t);for(var n=ao(e),r=0;r<t.length;r++){e=t[r];var o=n[r];if(e!==o)return(t=ke(e.__shady_parentNode)).indexOf(e)-t.indexOf(o)}})}function go(t){return mo(t),!(!t.g||!t.g.length)}if(so.prototype._renderSelf=function(){var t=io;if(io=!0,this.Y=!1,this.g){mo(this);for(var e,n=0;n<this.g.length;n++){var r=me(e=this.g[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.aa=[],r.Ja=o)for(r=0;r<o.length;r++){var i=me(o[r]);i.xa=i.assignedSlot,i.assignedSlot===e&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)ho(this,n);for(n=0;n<this.g.length;n++){if(!(o=me(e=this.g[n])).assignedNodes.length)for(r=e.__shady_firstChild;r;r=r.__shady_nextSibling)ho(this,r,e);if((r=(r=me(e.__shady_parentNode))&&r.root)&&(go(r)||r.Y)&&r._renderSelf(),fo(this,o.aa,o.assignedNodes),r=o.Ja){for(i=0;i<r.length;i++)me(r[i]).xa=null;o.Ja=null,r.length>o.assignedNodes.length&&(o.Aa=!0)}o.Aa&&(o.Aa=!1,po(this,e))}for(e=this.g,n=[],o=0;o<e.length;o++)(i=me(r=e[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(e=0;e<n.length;e++){for(o=(i=n[e])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var a=me(i).aa,s=0;s<a.length;s++)r.push(a[s]);else r.push(i);i=je(o),a=Zn(r,r.length,i,i.length);for(var l=s=0,c=void 0;s<a.length&&(c=a[s]);s++){for(var u=0,h=void 0;u<c.ia.length&&(h=c.ia[u]);u++)h.__shady_native_parentNode===o&&o.__shady_native_removeChild(h),i.splice(c.index+l,1);l-=c.pa}for(l=0,c=void 0;l<a.length&&(c=a[l]);l++)for(s=i[c.index],u=c.index;u<c.index+c.pa;u++)h=r[u],o.__shady_native_insertBefore(h,s),i.splice(u,0,h)}}if(!ve.preferPerformance&&!this.Ia)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)e=me(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&e.assignedSlot||this.host.__shady_native_removeChild(n);this.Ia=!0,io=t,ro&&ro()},function(t){t.__proto__=DocumentFragment.prototype,no(t,"__shady_"),no(t),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})})}(so.prototype),window.customElements&&window.customElements.define&&ve.Ba&&!ve.preferPerformance){var bo=new Map;ro=function(){var t=[];bo.forEach(function(e,n){t.push([n,e])}),bo.clear();for(var e=0;e<t.length;e++){var n=t[e][0];t[e][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},io&&document.addEventListener("readystatechange",function(){io=!1,ro()},{once:!0});var Eo=window.customElements.define,wo=function(t,e){var n=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;Eo.call(window.customElements,t,function(t,e,n){var r=0,o="__isConnected"+r++;return(e||n)&&(t.prototype.connectedCallback=t.prototype.__shadydom_connectedCallback=function(){io?bo.set(this,!0):this[o]||(this[o]=!0,e&&e.call(this))},t.prototype.disconnectedCallback=t.prototype.__shadydom_disconnectedCallback=function(){io?this.isConnected||bo.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),t}(e,n,r)),e.prototype.connectedCallback=n,e.prototype.disconnectedCallback=r};window.customElements.define=wo,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:wo,configurable:!0})}function No(t){if(Ne(t=t.__shady_getRootNode()))return t}function Co(t){this.node=t}function So(t){Object.defineProperty(Co.prototype,t,{get:function(){return this.node["__shady_"+t]},set:function(e){this.node["__shady_"+t]=e},configurable:!0})}(e=Co.prototype).addEventListener=function(t,e,n){return this.node.__shady_addEventListener(t,e,n)},e.removeEventListener=function(t,e,n){return this.node.__shady_removeEventListener(t,e,n)},e.appendChild=function(t){return this.node.__shady_appendChild(t)},e.insertBefore=function(t,e){return this.node.__shady_insertBefore(t,e)},e.removeChild=function(t){return this.node.__shady_removeChild(t)},e.replaceChild=function(t,e){return this.node.__shady_replaceChild(t,e)},e.cloneNode=function(t){return this.node.__shady_cloneNode(t)},e.getRootNode=function(t){return this.node.__shady_getRootNode(t)},e.contains=function(t){return this.node.__shady_contains(t)},e.dispatchEvent=function(t){return this.node.__shady_dispatchEvent(t)},e.setAttribute=function(t,e){this.node.__shady_setAttribute(t,e)},e.getAttribute=function(t){return this.node.__shady_native_getAttribute(t)},e.hasAttribute=function(t){return this.node.__shady_native_hasAttribute(t)},e.removeAttribute=function(t){this.node.__shady_removeAttribute(t)},e.toggleAttribute=function(t,e){return this.node.__shady_toggleAttribute(t,e)},e.attachShadow=function(t){return this.node.__shady_attachShadow(t)},e.focus=function(){this.node.__shady_native_focus()},e.blur=function(){this.node.__shady_blur()},e.importNode=function(t,e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(t,e)},e.getElementById=function(t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(t)},e.elementsFromPoint=function(t,e){return this.node.__shady_elementsFromPoint(t,e)},e.elementFromPoint=function(t,e){return this.node.__shady_elementFromPoint(t,e)},e.querySelector=function(t){return this.node.__shady_querySelector(t)},e.querySelectorAll=function(t,e){return this.node.__shady_querySelectorAll(t,e)},e.assignedNodes=function(t){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(t)},e.append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_append.apply(this.node,c(e))},e.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,c(e))},e.after=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_after.apply(this.node,c(e))},e.before=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_before.apply(this.node,c(e))},e.remove=function(){return this.node.__shady_remove()},e.replaceWith=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,c(e))},i.Object.defineProperties(Co.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(Ne(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(Ne(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(t){this.node.__shady_innerHTML=t}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(t){this.node.__shady_textContent=t}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(t){this.node.__shady_slot=t}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(t){this.node.__shady_className=t}}}),Kn.forEach(function(t){return So(t)}),Jn.forEach(function(t){return So(t)});var Oo=new WeakMap;function To(t){if(Ne(t)||t instanceof Co)return t;var e=Oo.get(t);return e||(e=new Co(t),Oo.set(t,e)),e}if(ve.Ba){var Do=ve.D?function(t){return t}:function(t){return En(t),bn(t),t},xo={inUse:ve.Ba,patch:Do,isShadyRoot:Ne,enqueue:ze,flush:Xe,flushInitial:function(t){!t.Ia&&t.Y&&uo(t)},settings:ve,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=[].slice.call(t.addedNodes).filter(function(t){return n===t.getRootNode()}),e.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=_e(t);n.ga||(n.ga=new Ke),n.ga.qa.add(e);var r=n.ga;return{Va:e,X:r,Wa:t,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.X;e&&(e.qa.delete(t.Va),e.qa.size||(_e(t.Wa).ga=null))},deferConnectionCallbacks:ve.deferConnectionCallbacks,preferPerformance:ve.preferPerformance,handlesDynamicScoping:!0,wrap:ve.J?To:Do,wrapIfNeeded:!0===ve.J?To:function(t){return t},Wrapper:Co,composedPath:function(t){return t.__composedPath||(t.__composedPath=xn(t.target,!0)),t.__composedPath},noPatch:ve.J,patchOnDemand:ve.Da,nativeMethods:rn,nativeTree:on,patchElementProto:Jr,querySelectorImplementation:ve.querySelectorImplementation};window.ShadyDOM=xo,function(){var t=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?(ln(window.EventTarget.prototype,t),void 0===window.__shady_native_addEventListener&&ln(Window.prototype,t)):(ln(Node.prototype,t),ln(Window.prototype,t),ln(XMLHttpRequest.prototype,t)),nn?ln(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):sn(Node.prototype,{parentNode:{get:function(){return cn.currentNode=this,cn.parentNode()}},firstChild:{get:function(){return cn.currentNode=this,cn.firstChild()}},lastChild:{get:function(){return cn.currentNode=this,cn.lastChild()}},previousSibling:{get:function(){return cn.currentNode=this,cn.previousSibling()}},nextSibling:{get:function(){return cn.currentNode=this,cn.nextSibling()}},childNodes:{get:function(){var t=[];cn.currentNode=this;for(var e=cn.firstChild();e;)t.push(e),e=cn.nextSibling();return t}},parentElement:{get:function(){return un.currentNode=this,un.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var t,e=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";t=e.nextNode();)n+=t.nodeValue;return n;default:return this.nodeValue}},set:function(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:dn(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(t),void 0);break;default:this.nodeValue=t}}}}),ln(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),ln(HTMLElement.prototype,["parentElement","contains"]),t={firstElementChild:{get:function(){return un.currentNode=this,un.firstChild()}},lastElementChild:{get:function(){return un.currentNode=this,un.lastChild()}},children:{get:function(){var t=[];un.currentNode=this;for(var e=un.firstChild();e;)t.push(e),e=un.nextSibling();return Le(t)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},nn?(ln(Element.prototype,fn),ln(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),ln(HTMLElement.prototype,["children","innerHTML","className"])):(sn(Element.prototype,t),sn(Element.prototype,{previousElementSibling:{get:function(){return un.currentNode=this,un.previousSibling()}},nextElementSibling:{get:function(){return un.currentNode=this,un.nextSibling()}},innerHTML:{get:function(){return en(this,je)},set:function(t){var e="template"===this.localName?this.content:this;dn(e);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==hn.namespaceURI?hn.createElementNS(this.namespaceURI,n):hn.createElement(n)).innerHTML=t,t="template"===this.localName?n.content:n;n=t.__shady_native_firstChild;)e.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)}}})),ln(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" ")),ln(Element.prototype,pn),ln(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&ln(window.HTMLTemplateElement.prototype,["innerHTML"]),nn?ln(DocumentFragment.prototype,fn):sn(DocumentFragment.prototype,t),ln(DocumentFragment.prototype,pn),nn?(ln(Document.prototype,fn),ln(Document.prototype,["activeElement"])):sn(Document.prototype,t),ln(Document.prototype,["importNode","getElementById","elementFromPoint",Ee()]),ln(Document.prototype,pn)}(),Kr("__shady_"),Object.defineProperty(document,"_activeElement",Ur.activeElement),Fe(Window.prototype,Wr,"__shady_"),ve.J?ve.Da&&Fe(Element.prototype,Ar):(Kr(),function(){if(!Nn&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var t=function(){var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(t)};Element.prototype.click?Element.prototype.click=t:HTMLElement.prototype.click&&(HTMLElement.prototype.click=t)}}()),function(){for(var t in jn)window.__shady_native_addEventListener(t,function(t){t.__target||(Gn(t),Hn(t))},!0)}(),window.Event=Vn,window.CustomEvent=zn,window.MouseEvent=Xn,window.ShadowRoot=so}var Po=window.Document.prototype.createElement,Mo=window.Document.prototype.createElementNS,Ao=window.Document.prototype.importNode,Lo=window.Document.prototype.prepend,jo=window.Document.prototype.append,ko=window.DocumentFragment.prototype.prepend,Ro=window.DocumentFragment.prototype.append,Fo=window.Node.prototype.cloneNode,Ho=window.Node.prototype.appendChild,Io=window.Node.prototype.insertBefore,Uo=window.Node.prototype.removeChild,Bo=window.Node.prototype.replaceChild,qo=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Wo=window.Element.prototype.attachShadow,Go=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Vo=window.Element.prototype.getAttribute,zo=window.Element.prototype.setAttribute,Xo=window.Element.prototype.removeAttribute,Ko=window.Element.prototype.toggleAttribute,Jo=window.Element.prototype.getAttributeNS,$o=window.Element.prototype.setAttributeNS,Yo=window.Element.prototype.removeAttributeNS,Zo=window.Element.prototype.insertAdjacentElement,Qo=window.Element.prototype.insertAdjacentHTML,ti=window.Element.prototype.prepend,ei=window.Element.prototype.append,ni=window.Element.prototype.before,ri=window.Element.prototype.after,oi=window.Element.prototype.replaceWith,ii=window.Element.prototype.remove,ai=window.HTMLElement,si=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),li=window.HTMLElement.prototype.insertAdjacentElement,ci=window.HTMLElement.prototype.insertAdjacentHTML,ui=new Set;function hi(t){var e=ui.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(t){return ui.add(t)});var di=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function fi(t){var e=t.isConnected;if(void 0!==e)return e;if(di(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function pi(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function _i(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function mi(t,e,n){for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var o=r;e(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){if(r=o.import,void 0===n&&(n=new Set),r instanceof Node&&!n.has(r))for(n.add(r),r=r.firstChild;r;r=r.nextSibling)mi(r,e,n);r=_i(t,o);continue}if("template"===i){r=_i(t,o);continue}if(o=o.__CE_shadowRoot)for(o=o.firstChild;o;o=o.nextSibling)mi(o,e,n)}r=r.firstChild?r.firstChild:_i(t,r)}}function vi(){var t=!(null==Hi||!Hi.noDocumentConstructionObserver),e=!(null==Hi||!Hi.shadyDomFastWalk);this.ca=[],this.g=[],this.W=!1,this.shadyDomFastWalk=e,this.sb=!t}function yi(t,e,n,r){var o=window.ShadyDOM;if(t.shadyDomFastWalk&&o&&o.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=o.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else mi(e,n,r)}function gi(t,e){t.W&&yi(t,e,function(e){return bi(t,e)})}function bi(t,e){if(t.W&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.ca.length;n++)t.ca[n](e);for(n=0;n<t.g.length;n++)t.g[n](e)}}function Ei(t,e){var n=[];for(yi(t,e,function(t){return n.push(t)}),e=0;e<n.length;e++){var r=n[e];1===r.__CE_state?t.connectedCallback(r):Ci(t,r)}}function wi(t,e){var n=[];for(yi(t,e,function(t){return n.push(t)}),e=0;e<n.length;e++){var r=n[e];1===r.__CE_state&&t.disconnectedCallback(r)}}function Ni(t,e,n){var r=(n=void 0===n?{}:n).tb,o=n.upgrade||function(e){return Ci(t,e)},i=[];for(yi(t,e,function(e){if(t.W&&bi(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;r&&(r.forEach(function(t){return i.add(t)}),i.delete(n)),Ni(t,n,{tb:i,upgrade:o})}})}else i.push(e)},r),e=0;e<i.length;e++)o(i[e])}function Ci(t,e){try{var n=e.ownerDocument,r=n.__CE_registry,o=r&&(n.defaultView||n.__CE_isImportDocument)?ji(r,e.localName):void 0;if(o&&void 0===e.__CE_state){o.constructionStack.push(e);try{try{if(new o.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{o.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=o,o.attributeChangedCallback&&e.hasAttributes()){var i=o.observedAttributes;for(o=0;o<i.length;o++){var a=i[o],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}fi(e)&&t.connectedCallback(e)}}catch(t){Oi(t)}}function Si(t,e,n,r){var o=e.__CE_registry;if(o&&(null===r||"http://www.w3.org/1999/xhtml"===r)&&(o=ji(o,n)))try{var i=new o.constructorFunction;if(void 0===i.__CE_state||void 0===i.__CE_definition)throw Error("Failed to construct '"+n+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==i.namespaceURI)throw Error("Failed to construct '"+n+"': The constructed element's namespace must be the HTML namespace.");if(i.hasAttributes())throw Error("Failed to construct '"+n+"': The constructed element must not have any attributes.");if(null!==i.firstChild)throw Error("Failed to construct '"+n+"': The constructed element must not have any children.");if(null!==i.parentNode)throw Error("Failed to construct '"+n+"': The constructed element must not have a parent node.");if(i.ownerDocument!==e)throw Error("Failed to construct '"+n+"': The constructed element's owner document is incorrect.");if(i.localName!==n)throw Error("Failed to construct '"+n+"': The constructed element's local name is incorrect.");return i}catch(o){return Oi(o),e=null===r?Po.call(e,n):Mo.call(e,r,n),Object.setPrototypeOf(e,HTMLUnknownElement.prototype),e.__CE_state=2,e.__CE_definition=void 0,bi(t,e),e}return bi(t,e=null===r?Po.call(e,n):Mo.call(e,r,n)),e}function Oi(t){var e="",n="",r=0,o=0;t instanceof Error?(e=t.message,n=t.sourceURL||t.fileName||"",r=t.line||t.lineNumber||0,o=t.column||t.columnNumber||0):e="Uncaught "+String(t);var i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:r,colno:o,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,r),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function Ti(){var t=this;this.I=void 0,this.Ka=new Promise(function(e){t.g=e})}function Di(t){var e=document;this.X=void 0,this.S=t,this.g=e,Ni(this.S,this.g),"loading"===this.g.readyState&&(this.X=new MutationObserver(this.h.bind(this)),this.X.observe(this.g,{childList:!0,subtree:!0}))}function xi(t){t.X&&t.X.disconnect()}function Pi(t){this.ma=new Map,this.na=new Map,this.Fa=new Map,this.wa=!1,this.za=new Map,this.la=function(t){return t()},this.V=!1,this.oa=[],this.S=t,this.Ga=t.sb?new Di(t):void 0}function Mi(t,e){if(!hi(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(ji(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.wa)throw Error("A custom element is already being defined.")}function Ai(t,e,n){var r;t.wa=!0;try{var o=n.prototype;if(!(o instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=o[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),l=i("adoptedCallback"),c=(r=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.wa=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:l,attributeChangedCallback:r,observedAttributes:c,constructionStack:[]},t.na.set(e,n),t.Fa.set(n.constructorFunction,n),n}function Li(t){if(!1!==t.V){t.V=!1;for(var e=[],n=t.oa,r=new Map,o=0;o<n.length;o++)r.set(n[o],[]);for(Ni(t.S,document,{upgrade:function(n){if(void 0===n.__CE_state){var o=n.localName,i=r.get(o);i?i.push(n):t.na.has(o)&&e.push(n)}}}),o=0;o<e.length;o++)Ci(t.S,e[o]);for(o=0;o<n.length;o++){for(var i=n[o],a=r.get(i),s=0;s<a.length;s++)Ci(t.S,a[s]);(i=t.za.get(i))&&i.resolve(void 0)}n.length=0}}function ji(t,e){var n=t.na.get(e);if(n)return n;if(n=t.ma.get(e)){t.ma.delete(e);try{return Ai(t,e,n())}catch(t){Oi(t)}}}function ki(t,e,n){function r(e){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&fi(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(e.apply(this,r),r=0;r<i.length;r++)wi(t,i[r]);if(fi(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Ei(t,i)}}void 0!==n.prepend&&(e.prepend=r(n.prepend)),void 0!==n.append&&(e.append=r(n.append))}function Ri(t){function e(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var r=this,o=void 0;if(fi(this)&&(o=[],yi(t,this,function(t){t!==r&&o.push(t)})),n.set.call(this,e),o)for(var i=0;i<o.length;i++){var a=o[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?Ni(t,this):gi(t,this),e}})}function n(e,n){e.insertAdjacentElement=function(e,r){var o=fi(r);return e=n.call(this,e,r),o&&wi(t,r),fi(e)&&Ei(t,r),e}}function r(e,n){function r(e,n){for(var r=[];e!==n;e=e.nextSibling)r.push(e);for(n=0;n<r.length;n++)Ni(t,r[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),r(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),r(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),r(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),r(this.nextSibling,o)}}}Wo&&(Element.prototype.attachShadow=function(e){if(e=Wo.call(this,e),t.W&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.ca.length;n++)t.ca[n](e)}return this.__CE_shadowRoot=e}),Go&&Go.get?e(Element.prototype,Go):si&&si.get?e(HTMLElement.prototype,si):function(t,e){t.W=!0,t.g.push(e)}(t,function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return Fo.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName,n=e?this.content:this,r=Mo.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<n.childNodes.length;)Uo.call(n,n.childNodes[0]);for(t=e?r.content:r;0<t.childNodes.length;)Ho.call(n,t.childNodes[0])}})}),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return zo.call(this,e,n);var r=Vo.call(this,e);zo.call(this,e,n),n=Vo.call(this,e),t.attributeChangedCallback(this,e,r,n,null)},Element.prototype.setAttributeNS=function(e,n,r){if(1!==this.__CE_state)return $o.call(this,e,n,r);var o=Jo.call(this,e,n);$o.call(this,e,n,r),r=Jo.call(this,e,n),t.attributeChangedCallback(this,n,o,r,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return Xo.call(this,e);var n=Vo.call(this,e);Xo.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Ko&&(Element.prototype.toggleAttribute=function(e,n){if(1!==this.__CE_state)return Ko.call(this,e,n);var r=Vo.call(this,e);return null!==r!==(n=Ko.call(this,e,n))&&t.attributeChangedCallback(this,e,r,n?"":null,null),n}),Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return Yo.call(this,e,n);var r=Jo.call(this,e,n);Yo.call(this,e,n);var o=Jo.call(this,e,n);r!==o&&t.attributeChangedCallback(this,n,r,o,e)},li?n(HTMLElement.prototype,li):Zo&&n(Element.prototype,Zo),ci?r(HTMLElement.prototype,ci):Qo&&r(Element.prototype,Qo),ki(t,Element.prototype,{prepend:ti,append:ei}),function(t){function e(e){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&fi(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(e.apply(this,r),r=0;r<i.length;r++)wi(t,i[r]);if(fi(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Ei(t,i)}}var n=Element.prototype;void 0!==ni&&(n.before=e(ni)),void 0!==ri&&(n.after=e(ri)),void 0!==oi&&(n.replaceWith=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=[];for(var o=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&fi(a)&&o.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(i=fi(this),oi.apply(this,n),n=0;n<o.length;n++)wi(t,o[n]);if(i)for(wi(t,this),n=0;n<r.length;n++)(o=r[n])instanceof Element&&Ei(t,o)}),void 0!==ii&&(n.remove=function(){var e=fi(this);ii.call(this),e&&wi(t,this)})}(t)}vi.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){Oi(t)}},vi.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){Oi(t)}},vi.prototype.attributeChangedCallback=function(t,e,n,r,o){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,r,o)}catch(t){Oi(t)}},Ti.prototype.resolve=function(t){if(this.I)throw Error("Already resolved.");this.I=t,this.g(t)},Di.prototype.h=function(t){var e=this.g.readyState;for("interactive"!==e&&"complete"!==e||xi(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,r=0;r<n.length;r++)Ni(this.S,n[r])},(e=Pi.prototype).jb=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Mi(this,t),this.ma.set(t,e),this.oa.push(t),this.V||(this.V=!0,this.la(function(){return Li(n)}))},e.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Mi(this,t),Ai(this,t,e),this.oa.push(t),this.V||(this.V=!0,this.la(function(){return Li(n)}))},e.upgrade=function(t){Ni(this.S,t)},e.get=function(t){if(t=ji(this,t))return t.constructorFunction},e.whenDefined=function(t){if(!hi(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.za.get(t);if(e)return e.Ka;e=new Ti,this.za.set(t,e);var n=this.na.has(t)||this.ma.has(t);return t=-1===this.oa.indexOf(t),n&&t&&e.resolve(void 0),e.Ka},e.polyfillWrapFlushCallback=function(t){this.Ga&&xi(this.Ga);var e=this.la;this.la=function(n){return t(function(){return e(n)})}},Pi.prototype.define=Pi.prototype.define,Pi.prototype.upgrade=Pi.prototype.upgrade,Pi.prototype.get=Pi.prototype.get,Pi.prototype.whenDefined=Pi.prototype.whenDefined,Pi.prototype.polyfillDefineLazy=Pi.prototype.jb,Pi.prototype.polyfillWrapFlushCallback=Pi.prototype.polyfillWrapFlushCallback;var Fi={},Hi=window.customElements;function Ii(){var t=new vi;!function(t){function e(){var e=this.constructor,n=document.__CE_registry.Fa.get(e);if(!n)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=n.constructionStack;if(0===r.length)return r=Po.call(document,n.localName),Object.setPrototypeOf(r,e.prototype),r.__CE_state=1,r.__CE_definition=n,bi(t,r),r;var o=r.length-1,i=r[o];if(i===Fi)throw Error("Failed to construct '"+n.localName+"': This element was already constructed.");return r[o]=Fi,Object.setPrototypeOf(i,e.prototype),bi(t,i),i}e.prototype=ai.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e}),window.HTMLElement=e}(t),function(t){Document.prototype.createElement=function(e){return Si(t,this,e,null)},Document.prototype.importNode=function(e,n){return e=Ao.call(this,e,!!n),this.__CE_registry?Ni(t,e):gi(t,e),e},Document.prototype.createElementNS=function(e,n){return Si(t,this,n,e)},ki(t,Document.prototype,{prepend:Lo,append:jo})}(t),ki(t,DocumentFragment.prototype,{prepend:ko,append:Ro}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var r=void 0;if(this.firstChild){var o=this.childNodes,i=o.length;if(0<i&&fi(this)){r=Array(i);for(var a=0;a<i;a++)r[a]=o[a]}}if(n.set.call(this,e),r)for(e=0;e<r.length;e++)wi(t,r[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var r=pi(e);if(e=Io.call(this,e,n),fi(this))for(n=0;n<r.length;n++)Ei(t,r[n]);return e}return r=e instanceof Element&&fi(e),n=Io.call(this,e,n),r&&wi(t,e),fi(this)&&Ei(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=pi(e);if(e=Ho.call(this,e),fi(this))for(var r=0;r<n.length;r++)Ei(t,n[r]);return e}return n=e instanceof Element&&fi(e),r=Ho.call(this,e),n&&wi(t,e),fi(this)&&Ei(t,e),r},Node.prototype.cloneNode=function(e){return e=Fo.call(this,!!e),this.ownerDocument.__CE_registry?Ni(t,e):gi(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&fi(e),r=Uo.call(this,e);return n&&wi(t,e),r},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var r=pi(e);if(e=Bo.call(this,e,n),fi(this))for(wi(t,n),n=0;n<r.length;n++)Ei(t,r[n]);return e}r=e instanceof Element&&fi(e);var o=Bo.call(this,e,n),i=fi(this);return i&&wi(t,n),r&&wi(t,e),i&&Ei(t,e),o},qo&&qo.get?e(Node.prototype,qo):function(t,e){t.W=!0,t.ca.push(e)}(t,function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)Uo.call(this,this.firstChild);null!=t&&""!==t&&Ho.call(this,document.createTextNode(t))}})})}(t),Ri(t),window.CustomElementRegistry=Pi,t=new Pi(t),document.__CE_registry=t,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:t})}function Ui(){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 Bi(t){var e=t=t.replace($i,"").replace(Yi,""),n=new Ui;n.start=0,n.end=e.length;for(var r=n,o=0,i=e.length;o<i;o++)if("{"===e[o]){r.rules||(r.rules=[]);var a=r,s=a.rules[a.rules.length-1]||null;(r=new Ui).start=o+1,r.parent=a,r.previous=s,a.rules.push(r)}else"}"===e[o]&&(r.end=o+1,r=r.parent||n);return qi(n,t)}function qi(t,e){var n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent&&(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)),n=(n=n.replace(ra," ")).substring(n.lastIndexOf(";")+1),n=t.parsedSelector=t.selector=n.trim(),t.atRule=0===n.indexOf("@"),t.atRule?0===n.indexOf("@media")?t.type=Ki:n.match(na)&&(t.type=Xi,t.keyframesName=t.selector.split(ra).pop()):t.type=0===n.indexOf("--")?Ji:zi),n=t.rules)for(var r=0,o=n.length,i=void 0;r<o&&(i=n[r]);r++)qi(i,e);return t}function Wi(t,e,n){n=void 0===n?"":n;var r="";if(t.cssText||t.rules){var o,i=t.rules;if((o=i)&&(o=!((o=i[0])&&o.selector&&0===o.selector.indexOf("--"))),o){o=0;for(var a=i.length,s=void 0;o<a&&(s=i[o]);o++)r=Wi(s,e,r)}else(r=(e=e?t.cssText:(e=(e=t.cssText).replace(Zi,"").replace(Qi,"")).replace(ta,"").replace(ea,"")).trim())&&(r=" "+r+"\n")}return r&&(t.selector&&(n+=t.selector+" {\n"),n+=r,t.selector&&(n+="}\n\n")),n}Hi&&!Hi.forcePolyfill&&"function"==typeof Hi.define&&"function"==typeof Hi.get||Ii(),window.__CE_installPolyfill=Ii;var Gi,Vi,zi=1,Xi=7,Ki=4,Ji=1e3,$i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,Yi=/@import[^;]*;/gim,Zi=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Qi=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,ta=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,ea=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,na=/^@[^\s]*keyframes/,ra=/\s+/g,oa=!(window.ShadyDOM&&window.ShadyDOM.inUse);function ia(t){Gi=(!t||!t.shimcssproperties)&&(oa||!(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.cssBuild&&(Vi=window.ShadyCSS.cssBuild);var aa=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Gi=window.ShadyCSS.nativeCss:window.ShadyCSS?(ia(window.ShadyCSS),window.ShadyCSS=void 0):ia(window.WebComponents&&window.WebComponents.flags);var sa=Gi,la=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,ca=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,ua=/(--[\w-]+)\s*([:,;)]|$)/gi,ha=/(animation\s*:)|(animation-name\s*:)/,da=/@media\s(.*)/,fa=/\{[^}]*\}/g,pa=new Set;function _a(t,e){return t?("string"==typeof t&&(t=Bi(t)),e&&ya(t,e),Wi(t,sa)):""}function ma(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=Bi(t.textContent)),t.__cssRules||null}function va(t){return!!t.parent&&t.parent.type===Xi}function ya(t,e,n,r){if(t){var o=!1,i=t.type;if(r&&i===Ki){var a=t.selector.match(da);a&&(window.matchMedia(a[1]).matches||(o=!0))}if(i===zi?e(t):n&&i===Xi?n(t):i===Ji&&(o=!0),(t=t.rules)&&!o)for(o=0,i=t.length,a=void 0;o<i&&(a=t[o]);o++)ya(a,e,n,r)}}function ga(t,e,n,r){var o=document.createElement("style");return e&&o.setAttribute("scope",e),o.textContent=t,wa(o,n,r),o}var ba=null;function Ea(t){t=document.createComment(" Shady DOM styles for "+t+" ");var e=document.head;return e.insertBefore(t,(ba?ba.nextSibling:null)||e.firstChild),ba=t}function wa(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),ba?t.compareDocumentPosition(ba)===Node.DOCUMENT_POSITION_PRECEDING&&(ba=t):ba=t}function Na(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 Ca(t,e){var n=t.indexOf("var(");if(-1===n)return e(t,"","","");var r=Na(t,n+3),o=t.substring(n+4,r);return n=t.substring(0,n),t=Ca(t.substring(r+1),e),-1===(r=o.indexOf(","))?e(n,o.trim(),"",t):e(n,o.substring(0,r).trim(),o.substring(r+1).trim(),t)}function Sa(t,e){oa?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}var Oa=window.ShadyDOM&&window.ShadyDOM.wrap||function(t){return t};function Ta(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,ja:n}}function Da(t){for(var e=[],n="",r=0;0<=r&&r<t.length;r++)if("("===t[r]){var o=Na(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 xa(t){if(void 0!==Vi)return Vi;if(void 0===t.__cssBuild){var e=t.getAttribute("css-build");if(e)t.__cssBuild=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.__cssBuild=e}}return t.__cssBuild||""}function Pa(t){return!(""===(t=void 0===t?"":t)||!sa)&&(oa?"shadow"===t:"shady"===t)}function Ma(){}function Aa(t,e,n){var r;if(e.nodeType===Node.ELEMENT_NODE&&n(e),r="template"===e.localName?(e.content||e._content||e).childNodes:e.children||e.childNodes)for(e=0;e<r.length;e++)Aa(t,r[e],n)}function La(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("class");n?r&&Sa(t,e=r.replace("style-scope","").replace(e,"")):Sa(t,(r?r+" ":"")+"style-scope "+e)}}function ja(t,e,n){Aa($a,t,function(t){La(t,e,!0),La(t,n)})}function ka(t,e){Aa($a,t,function(t){La(t,e||"",!0)})}function Ra(t,e,n,r,o){var i=$a;return""===(o=void 0===o?"":o)&&(o=oa||"shady"===(void 0===r?"":r)?_a(e,n):function(t,e,n,r,o){var i=Fa(n,r);return n=n?"."+n:"",_a(e,function(e){e.i||(e.selector=e.G=Ha(t,e,t.h,n,i),e.i=!0),o&&o(e,n,i)})}(i,e,(t=Ta(t)).is,t.ja,n)+"\n\n"),o.trim()}function Fa(t,e){return e?"[is="+t+"]":t}function Ha(t,e,n,r,o){var i=Da(e.selector);if(!va(e)){e=0;for(var a=i.length,s=void 0;e<a&&(s=i[e]);e++)i[e]=n.call(t,s,r,o)}return i.filter(function(t){return!!t}).join(",")}function Ia(t){return t.replace(qa,function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"})}function Ua(t,e){t=t.split(/(\[.+?\])/);for(var n=[],r=0;r<t.length;r++)if(1==r%2)n.push(t[r]);else{var o=t[r];""===o&&r===t.length-1||((o=o.split(":"))[0]+=e,n.push(o.join(":")))}return n.join("")}function Ba(t){":root"===t.selector&&(t.selector="html")}Ma.prototype.h=function(t,e,n){var r=!1;t=t.trim();var o=qa.test(t);o&&(t=Ia(t=t.replace(qa,function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"})));var i=Ja.test(t);if(i){var a=function(t){for(var e,n=[];e=t.match(Ja);){var r=e.index,o=Na(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{Ea:t,matches:n}}(t);t=a.Ea,a=a.matches}return t=(t=t.replace(Va,":host $1")).replace(Wa,function(t,o,i){return r||(t=function(t,e,n,r){var o=t.indexOf("::slotted");if(0<=t.indexOf(":host")?t=function(t,e){var n=t.match(za);return(n=n&&n[2].trim()||"")?n[0].match(Ga)?t.replace(za,function(t,n,r){return e+r}):n.split(Ga)[0]===e?n:"should_not_match":t.replace(":host",e)}(t,r):0!==o&&(t=n?Ua(t,n):t),n=!1,0<=o&&(e="",n=!0),n){var i=!0;n&&(t=t.replace(Xa,function(t,e){return" > "+e}))}return{value:t,Ya:e,stop:i}}(i,o,e,n),r=r||t.stop,o=t.Ya,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=Ia(t)),t.replace(Ka,function(t,e,n,r){return'[dir="'+n+'"] '+e+r+", "+e+'[dir="'+n+'"]'+r})},Ma.prototype.i=function(t){return t.match(":host")?"":t.match("::slotted")?this.h(t,":not(.style-scope)"):Ua(t.trim(),":not(.style-scope)")},i.Object.defineProperties(Ma.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var qa=/:(nth[-\w]+)\(([^)]+)\)/,Wa=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Ga=/[[.:#*]/,Va=/^(::slotted)/,za=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Xa=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Ka=/(.*):dir\((?:(ltr|rtl))\)(.*)/,Ja=/:(?:matches|any|-(?:webkit|moz)-any)/,$a=new Ma;function Ya(t,e,n,r,o){this.M=t||null,this.h=e||null,this.Ca=n||[],this.K=null,this.cssBuild=o||"",this.ja=r||"",this.g=this.L=this.R=null}function Za(t){return t?t.__styleInfo:null}function Qa(t,e){return t.__styleInfo=e}function ts(t){var e=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return e&&e.call(this,t)}Ya.prototype.i=function(){return this.M},Ya.prototype._getStyleRules=Ya.prototype.i;var es=/:host\s*>\s*/,ns=navigator.userAgent.match("Trident");function rs(){}function os(t){if(!t.F){var e={},n={};is(t,n)&&(e.P=n,t.rules=null),e.cssText=t.parsedCssText.replace(fa,"").replace(la,""),t.F=e}}function is(t,e){var n=t.F;if(!n){n=t.parsedCssText;for(var r;t=la.exec(n);)"inherit"===(r=(t[2]||t[3]).trim())&&"unset"===r||(e[t[1].trim()]=r),r=!0;return r}if(n.P)return Object.assign(e,n.P),!0}function as(t,e,n){return e&&(e=0<=e.indexOf(";")?ss(t,e,n):Ca(e,function(e,r,o,i){return r?((r=as(t,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=as(t,n[o]||o,n)||o,e+(r||"")+i):e+i})),e&&e.trim()||""}function ss(t,e,n){e=e.split(";");for(var r,o,i=0;i<e.length;i++)if(r=e[i]){if(ca.lastIndex=0,o=ca.exec(r))r=as(t,n[o[1]],n);else if(-1!==(o=r.indexOf(":"))){var a=r.substring(o);a=as(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 ls(t,e,n){var r={},o={};return ya(e,function(e){!function(t,e,n,r){if(e.F||os(e),e.F.P){var o=Ta(t);t=o.is,o=o.ja,o=t?Fa(t,o):"html";var i=e.parsedSelector,a=!!i.match(es)||"html"===o&&-1<i.indexOf("html"),s=0===i.indexOf(":host")&&!a;"shady"===n&&(s=!(a=i===o+" > *."+o||-1!==i.indexOf("html"))&&0===i.indexOf(o)),(a||s)&&(n=o,s&&(e.G||(e.G=Ha($a,e,$a.h,t?"."+t:"",o)),n=e.G||o),a&&"html"===o&&(n=e.G||e.O),r({Ea:n,gb:s,vb:a}))}}(t,e,n,function(n){ts.call(t._element||t,n.Ea)&&(n.gb?is(e,r):is(e,o))})},null,!0),{mb:o,eb:r}}function cs(t,e,n,r){var o=Ta(e),i=Fa(o.is,o.ja),a=new RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])"),s=Za(e);o=s.M,s=s.cssBuild;var l=function(t,e){t=t.h;var n={};if(!oa&&t)for(var r=0,o=t[r];r<t.length;o=t[++r]){var i=o,a=e;i.u=new RegExp("\\b"+i.keyframesName+"(?!\\B|-)","g"),i.g=i.keyframesName+"-"+a,i.G=i.G||i.selector,i.selector=i.G.replace(i.keyframesName,i.g),n[o.keyframesName]=us(o)}return n}(o,r);return Ra(e,o,function(e){var o="";if(e.F||os(e),e.F.cssText&&(o=ss(t,e.F.cssText,n)),e.cssText=o,!oa&&!va(e)&&e.cssText){var s=o=e.cssText;if(null==e.Ma&&(e.Ma=ha.test(o)),e.Ma)if(null==e.ra)for(var c in e.ra=[],l)o!==(s=(s=l[c])(o))&&(o=s,e.ra.push(c));else{for(c=0;c<e.ra.length;++c)o=(s=l[e.ra[c]])(o);s=o}e.cssText=s,e.G=e.G||e.selector,o="."+r,s=0;for(var u=(c=Da(e.G)).length,h=void 0;s<u&&(h=c[s]);s++)c[s]=h.match(a)?h.replace(i,o):o+" "+h;e.selector=c.join(",")}},s)}function us(t){return function(e){return e.replace(t.u,t.g)}}function hs(t,e){var n=ds,r=ma(t);t.textContent=_a(r,function(t){var r=t.cssText=t.parsedCssText;t.F&&t.F.cssText&&(r=r.replace(Zi,"").replace(Qi,""),t.cssText=ss(n,r,e))})}i.Object.defineProperties(rs.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var ds=new rs,fs={},ps=window.customElements;if(ps&&!oa&&!aa){var _s=ps.define;ps.define=function(t,e,n){fs[t]||(fs[t]=Ea(t)),_s.call(ps,t,e,n)}}function ms(){this.cache={}}function vs(){}ms.prototype.store=function(t,e,n,r){var o=this.cache[t]||[];o.push({P:e,styleElement:n,L:r}),100<o.length&&o.shift(),this.cache[t]=o};var ys=new RegExp($a.g+"\\s*([^\\s]*)");function gs(t){return(t=(t.classList&&t.classList.value?t.classList.value:t.getAttribute("class")||"").match(ys))?t[1]:""}function bs(t){var e=Oa(t).getRootNode();return e===t||e===t.ownerDocument?"":(t=e.host)?Ta(t).is:""}function Es(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=gs(o);if(a&&i===o.ownerDocument&&("style"!==o.localName&&"template"!==o.localName||""===xa(o)))ka(o,a);else if(i instanceof ShadowRoot)for((i=bs(o))!==a&&ja(o,a,i),o=window.ShadyDOM.nativeMethods.querySelectorAll.call(o,":not(."+$a.g+")"),a=0;a<o.length;a++){var s=bs(i=o[a]);s&&La(i,s)}}}}}if(!(oa||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var ws=new MutationObserver(Es),Ns=function(t){ws.observe(t,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Ns(document);else{var Cs=function(){Ns(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Cs):requestAnimationFrame(function(){if("loading"===document.readyState){var t=function(){Cs(),document.removeEventListener("readystatechange",t)};document.addEventListener("readystatechange",t)}else Cs()})}vs=function(){Es(ws.takeRecords())}}var Ss={},Os=Promise.resolve();function Ts(t){(t=Ss[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function Ds(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}var xs={},Ps=new ms;function Ms(){this.ea={},this.i=document.documentElement;var t=new Ui;t.rules=[],this.u=Qa(this.i,new Ya(t)),this.O=!1,this.g=this.h=null}function As(t){var e=Ta(t),n=e.is;e=e.ja;var r=fs[n]||null,o=Ss[n];if(o)return Qa(t,e=new Ya(n=o._styleAst,r,o.g,e,o=xa(o))),e}function Ls(t){if(!t.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){t.h=window.ShadyCSS.ApplyShim,t.h.invalidCallback=Ts;var e=!0}else e=!1;return function(t){!t.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(t.g=window.ShadyCSS.CustomStyleInterface,t.g.transformCallback=function(e){t.Qa(e)},t.g.validateCallback=function(){requestAnimationFrame(function(){(t.g.enqueued||t.O)&&t.flushCustomStyles()})})}(t),e}function js(t,e,n){var r=Ta(e).is;if(n.K){var o,i=n.K;for(o in i)null===o?e.style.removeProperty(o):e.style.setProperty(o,i[o])}!(i=Ss[r])&&e!==t.i||i&&""!==xa(i)||!i||!i._style||Ds(i)||((Ds(i)||i._applyShimValidatingVersion!==i._applyShimNextVersion)&&(Ls(t),t.h&&t.h.transformRules(i._styleAst,r),i._style.textContent=Ra(e,n.M),function(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t._validating||(t._validating=!0,Os.then(function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t._validating=!1}))}(i)),oa&&(t=e.shadowRoot)&&(t=t.querySelector("style"))&&(t.textContent=Ra(e,n.M)),n.M=i._styleAst)}function ks(t,e){return(e=Oa(e).getRootNode().host)?Za(e)||As(e)?e:ks(t,e):t.i}function Rs(t,e,n){var r=ks(t,e),o=Za(r),i=o.R;for(var a in r===t.i||i||(Rs(t,r,o),i=o.R),t=Object.create(i||null),r=ls(e,n.M,n.cssBuild),e=function(t,e){var n={},r=[];return ya(t,function(t){t.F||os(t);var o=t.G||t.parsedSelector;e&&t.F.P&&o&&ts.call(e,o)&&(is(t,n),t=t.index,o=parseInt(t/32,10),r[o]=(r[o]||0)|1<<t%32)},null,!0),{P:n,key:r}}(o.M,e).P,Object.assign(t,r.eb,e,r.mb),e=n.K)((o=e[a])||0===o)&&(t[a]=o);for(a=ds,e=Object.getOwnPropertyNames(t),o=0;o<e.length;o++)t[r=e[o]]=as(a,t[r],t);n.R=t}(e=Ms.prototype).flush=function(){vs()},e.bb=function(t){return ma(t)},e.qb=function(t){return _a(t)},e.prepareTemplate=function(t,e,n){this.prepareTemplateDom(t,e),this.prepareTemplateStyles(t,e,n)},e.prepareTemplateStyles=function(t,e,n){if(!t._prepared&&!aa){oa||fs[e]||(fs[e]=Ea(e)),t._prepared=!0,t.name=e,t.extends=n,Ss[e]=t;var r=xa(t),o=Pa(r);n={is:e,extends:n};for(var i=[],a=t.content.querySelectorAll("style"),s=0;s<a.length;s++){var l=a[s];if(l.hasAttribute("shady-unscoped")){if(!oa){var c=l.textContent;if(!pa.has(c)){pa.add(c);var u=document.createElement("style");u.setAttribute("shady-unscoped",""),u.textContent=c,document.head.appendChild(u)}l.parentNode.removeChild(l)}}else i.push(l.textContent),l.parentNode.removeChild(l)}i=i.join("").trim()+(xs[e]||""),Ls(this),o||((a=!r)&&(a=ca.test(i)||la.test(i),ca.lastIndex=0,la.lastIndex=0),s=Bi(i),a&&sa&&this.h&&this.h.transformRules(s,e),t._styleAst=s),a=[],sa||(a=function(t){var e={},n=[],r=0;for(var o in ya(t,function(t){os(t),t.index=r++,t=t.F.cssText;for(var n;n=ua.exec(t);){var o=n[1];":"!==n[2]&&(e[o]=!0)}},function(t){n.push(t)}),t.h=n,t=[],e)t.push(o);return t}(t._styleAst)),a.length&&!sa||(s=oa?t.content:null,e=fs[e]||null,r=(r=Ra(n,t._styleAst,null,r,o?i:"")).length?ga(r,n.is,s,e):null,t._style=r),t.g=a}},e.kb=function(t,e){xs[e]=t.join(" ")},e.prepareTemplateDom=function(t,e){if(!aa){var n=xa(t);oa||"shady"===n||t._domPrepared||(t._domPrepared=!0,function(t,e){Aa($a,t,function(t){La(t,e||"")})}(t.content,e))}},e.flushCustomStyles=function(){if(!aa){var t=Ls(this);if(this.g){var e=this.g.processStyles();if((t||this.g.enqueued)&&!Pa(this.u.cssBuild)){if(sa){if(!this.u.cssBuild)for(t=0;t<e.length;t++){var n=this.g.getStyleForCustomStyle(e[t]);if(n&&sa&&this.h){var r=ma(n);Ls(this),this.h.transformRules(r),n.textContent=_a(r)}}}else{for(function(t,e){e=e.map(function(e){return t.g.getStyleForCustomStyle(e)}).filter(function(t){return!!t}),e.sort(function(t,e){return(t=e.compareDocumentPosition(t))&Node.DOCUMENT_POSITION_FOLLOWING?1:t&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),t.u.M.rules=e.map(function(t){return ma(t)})}(this,e),Rs(this,this.i,this.u),t=0;t<e.length;t++)(n=this.g.getStyleForCustomStyle(e[t]))&&hs(n,this.u.R);this.O&&this.styleDocument()}this.g.enqueued=!1}}}},e.styleElement=function(t,e){if(aa){if(e){Za(t)||Qa(t,new Ya(null));var n=Za(t);n.K=n.K||{},Object.assign(n.K,e),js(this,t,n)}}else if(n=Za(t)||As(t))if(t!==this.i&&(this.O=!0),e&&(n.K=n.K||{},Object.assign(n.K,e)),sa)js(this,t,n);else if(this.flush(),Rs(this,t,n),n.Ca&&n.Ca.length){var r;e=Ta(t).is;t:{if(r=Ps.cache[e])for(var o=r.length-1;0<=o;o--){var i=r[o];e:{for(var a=n.Ca,s=0;s<a.length;s++){var l=a[s];if(i.P[l]!==n.R[l]){a=!1;break e}}a=!0}if(a){r=i;break t}}r=void 0}a=r?r.styleElement:null,o=n.L,(i=r&&r.L)||(i=e+"-"+(i=this.ea[e]=(this.ea[e]||0)+1)),n.L=i,i=n.L,s=ds,s=a?a.textContent||"":cs(s,t,n.R,i);var c=(l=Za(t)).g;c&&!oa&&c!==a&&(c._useCount--,0>=c._useCount&&c.parentNode&&c.parentNode.removeChild(c)),oa?l.g?(l.g.textContent=s,a=l.g):s&&(a=ga(s,i,t.shadowRoot,l.h)):a?a.parentNode||(ns&&-1<s.indexOf("@media")&&(a.textContent=s),wa(a,null,l.h)):s&&(a=ga(s,i,null,l.h)),a&&(a._useCount=a._useCount||0,l.g!=a&&a._useCount++,l.g=a),i=a,oa||(a=n.L,l=s=t.getAttribute("class")||"",o&&(l=s.replace(new RegExp("\\s*x-scope\\s*"+o+"\\s*","g")," ")),s!==(l+=(l?" ":"")+"x-scope "+a)&&Sa(t,l)),r||Ps.store(e,n.R,i,n.L)}},e.styleDocument=function(t){this.styleSubtree(this.i,t)},e.styleSubtree=function(t,e){var n=Oa(t),r=n.shadowRoot,o=t===this.i;if((r||o)&&this.styleElement(t,e),t=o?n:r)for(t=Array.from(t.querySelectorAll("*")).filter(function(t){return Oa(t).shadowRoot}),e=0;e<t.length;e++)this.styleSubtree(t[e])},e.Qa=function(t){var e=this,n=xa(t);if(n!==this.u.cssBuild&&(this.u.cssBuild=n),!Pa(n)){var r=ma(t);ya(r,function(t){if(oa)Ba(t);else{var r=$a;t.selector=t.parsedSelector,Ba(t),t.selector=t.G=Ha(r,t,r.i,void 0,void 0)}sa&&""===n&&(Ls(e),e.h&&e.h.transformRule(t))}),sa?t.textContent=_a(r):this.u.M.rules.push(r)}},e.getComputedStyleValue=function(t,e){var n;return sa||(n=(Za(t)||Za(ks(this,t))).R[e]),(n=n||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},e.pb=function(t,e){var n=Oa(t).getRootNode();if(e=e?("string"==typeof e?e:String(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]===$a.g){n=r[o+1];break}}}n&&e.push($a.g,n),sa||(n=Za(t))&&n.L&&e.push(ds.g,n.L),Sa(t,e.join(" "))},e.Xa=function(t){return Za(t)},e.ob=function(t,e){La(t,e)},e.rb=function(t,e){La(t,e,!0)},e.nb=function(t){return bs(t)},e.$a=function(t){return gs(t)},Ms.prototype.flush=Ms.prototype.flush,Ms.prototype.prepareTemplate=Ms.prototype.prepareTemplate,Ms.prototype.styleElement=Ms.prototype.styleElement,Ms.prototype.styleDocument=Ms.prototype.styleDocument,Ms.prototype.styleSubtree=Ms.prototype.styleSubtree,Ms.prototype.getComputedStyleValue=Ms.prototype.getComputedStyleValue,Ms.prototype.setElementClass=Ms.prototype.pb,Ms.prototype._styleInfoForNode=Ms.prototype.Xa,Ms.prototype.transformCustomStyleForDocument=Ms.prototype.Qa,Ms.prototype.getStyleAst=Ms.prototype.bb,Ms.prototype.styleAstToString=Ms.prototype.qb,Ms.prototype.flushCustomStyles=Ms.prototype.flushCustomStyles,Ms.prototype.scopeNode=Ms.prototype.ob,Ms.prototype.unscopeNode=Ms.prototype.rb,Ms.prototype.scopeForNode=Ms.prototype.nb,Ms.prototype.currentScopeForNode=Ms.prototype.$a,Ms.prototype.prepareAdoptedCssText=Ms.prototype.kb,Object.defineProperties(Ms.prototype,{nativeShadow:{get:function(){return oa}},nativeCss:{get:function(){return sa}}});var Fs,Hs,Is=new Ms;window.ShadyCSS&&(Fs=window.ShadyCSS.ApplyShim,Hs=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Is,prepareTemplate:function(t,e,n){Is.flushCustomStyles(),Is.prepareTemplate(t,e,n)},prepareTemplateDom:function(t,e){Is.prepareTemplateDom(t,e)},prepareTemplateStyles:function(t,e,n){Is.flushCustomStyles(),Is.prepareTemplateStyles(t,e,n)},styleSubtree:function(t,e){Is.flushCustomStyles(),Is.styleSubtree(t,e)},styleElement:function(t){Is.flushCustomStyles(),Is.styleElement(t)},styleDocument:function(t){Is.flushCustomStyles(),Is.styleDocument(t)},flushCustomStyles:function(){Is.flushCustomStyles()},getComputedStyleValue:function(t,e){return Is.getComputedStyleValue(t,e)},nativeCss:sa,nativeShadow:oa,cssBuild:Vi,disableRuntime:aa},Fs&&(window.ShadyCSS.ApplyShim=Fs),Hs&&(window.ShadyCSS.CustomStyleInterface=Hs),function(t){function e(t){return""==t&&(i.call(this),this.m=!0),t.toLowerCase()}function n(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function r(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function o(t,o,a){function s(t){v.push(t)}var l=o||"scheme start",f=0,p="",_=!1,m=!1,v=[];t:for(;(null!=t[f-1]||0==f)&&!this.m;){var y=t[f];switch(l){case"scheme start":if(!y||!h.test(y)){if(o){s("Invalid scheme.");break t}p="",l="no scheme";continue}p+=y.toLowerCase(),l="scheme";break;case"scheme":if(y&&d.test(y))p+=y.toLowerCase();else{if(":"!=y){if(o){null!=y&&s("Code point not allowed in scheme: "+y);break t}p="",f=0,l="no scheme";continue}if(this.l=p,p="",o)break t;void 0!==c[this.l]&&(this.H=!0),l="file"==this.l?"relative":this.H&&a&&a.l==this.l?"relative or authority":this.H?"authority first slash":"scheme data"}break;case"scheme data":"?"==y?(this.A="?",l="query"):"#"==y?(this.C="#",l="fragment"):null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.ya+=n(y));break;case"no scheme":if(a&&void 0!==c[a.l]){l="relative";continue}s("Missing scheme."),i.call(this),this.m=!0;break;case"relative or authority":if("/"!=y||"/"!=t[f+1]){s("Expected /, got: "+y),l="relative";continue}l="authority ignore slashes";break;case"relative":if(this.H=!0,"file"!=this.l&&(this.l=a.l),null==y){this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A=a.A,this.B=a.B,this.j=a.j;break t}if("/"==y||"\\"==y)"\\"==y&&s("\\ is an invalid code point."),l="relative slash";else if("?"==y)this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A="?",this.B=a.B,this.j=a.j,l="query";else{if("#"!=y){l=t[f+1];var g=t[f+2];("file"!=this.l||!h.test(y)||":"!=l&&"|"!=l||null!=g&&"/"!=g&&"\\"!=g&&"?"!=g&&"#"!=g)&&(this.o=a.o,this.v=a.v,this.B=a.B,this.j=a.j,this.s=a.s.slice(),this.s.pop()),l="relative path";continue}this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A=a.A,this.C="#",this.B=a.B,this.j=a.j,l="fragment"}break;case"relative slash":if("/"!=y&&"\\"!=y){"file"!=this.l&&(this.o=a.o,this.v=a.v,this.B=a.B,this.j=a.j),l="relative path";continue}"\\"==y&&s("\\ is an invalid code point."),l="file"==this.l?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=y){s("Expected '/', got: "+y),l="authority ignore slashes";continue}l="authority second slash";break;case"authority second slash":if(l="authority ignore slashes","/"!=y){s("Expected '/', got: "+y);continue}break;case"authority ignore slashes":if("/"!=y&&"\\"!=y){l="authority";continue}s("Expected authority, got: "+y);break;case"authority":if("@"==y){for(_&&(s("@ already seen."),p+="%40"),_=!0,y=0;y<p.length;y++)"\t"==(g=p[y])||"\n"==g||"\r"==g?s("Invalid whitespace in authority."):":"==g&&null===this.j?this.j="":(g=n(g),null!==this.j?this.j+=g:this.B+=g);p=""}else{if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){f-=p.length,p="",l="host";continue}p+=y}break;case"file host":if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){2!=p.length||!h.test(p[0])||":"!=p[1]&&"|"!=p[1]?(0!=p.length&&(this.o=e.call(this,p),p=""),l="relative path start"):l="relative path";continue}"\t"==y||"\n"==y||"\r"==y?s("Invalid whitespace in file host."):p+=y;break;case"host":case"hostname":if(":"!=y||m){if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){if(this.o=e.call(this,p),p="",l="relative path start",o)break t;continue}"\t"!=y&&"\n"!=y&&"\r"!=y?("["==y?m=!0:"]"==y&&(m=!1),p+=y):s("Invalid code point in host/hostname: "+y)}else if(this.o=e.call(this,p),p="",l="port","hostname"==o)break t;break;case"port":if(/[0-9]/.test(y))p+=y;else{if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y||o){if(""!=p&&((p=parseInt(p,10))!=c[this.l]&&(this.v=p+""),p=""),o)break t;l="relative path start";continue}"\t"==y||"\n"==y||"\r"==y?s("Invalid code point in port: "+y):(i.call(this),this.m=!0)}break;case"relative path start":if("\\"==y&&s("'\\' not allowed in path."),l="relative path","/"!=y&&"\\"!=y)continue;break;case"relative path":null!=y&&"/"!=y&&"\\"!=y&&(o||"?"!=y&&"#"!=y)?"\t"!=y&&"\n"!=y&&"\r"!=y&&(p+=n(y)):("\\"==y&&s("\\ not allowed in relative path."),(g=u[p.toLowerCase()])&&(p=g),".."==p?(this.s.pop(),"/"!=y&&"\\"!=y&&this.s.push("")):"."==p&&"/"!=y&&"\\"!=y?this.s.push(""):"."!=p&&("file"==this.l&&0==this.s.length&&2==p.length&&h.test(p[0])&&"|"==p[1]&&(p=p[0]+":"),this.s.push(p)),p="","?"==y?(this.A="?",l="query"):"#"==y&&(this.C="#",l="fragment"));break;case"query":o||"#"!=y?null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.A+=r(y)):(this.C="#",l="fragment");break;case"fragment":null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.C+=y)}f++}}function i(){this.B=this.ya=this.l="",this.j=null,this.v=this.o="",this.s=[],this.C=this.A="",this.H=this.m=!1}function a(t,e){void 0===e||e instanceof a||(e=new a(String(e))),this.g=t,i.call(this),o.call(this,this.g.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),null,e)}var s=!1;try{var l=new URL("b","http://a");l.pathname="c%20d",s="http://a/c%20d"===l.href}catch(t){}if(!s){var c=Object.create(null);c.ftp=21,c.file=0,c.gopher=70,c.http=80,c.https=443,c.ws=80,c.wss=443;var u=Object.create(null);u["%2e"]=".",u[".%2e"]="..",u["%2e."]="..",u["%2e%2e"]="..";var h=/[a-zA-Z]/,d=/[a-zA-Z0-9+\-.]/;a.prototype={toString:function(){return this.href},get href(){if(this.m)return this.g;var t="";return""==this.B&&null==this.j||(t=this.B+(null!=this.j?":"+this.j:"")+"@"),this.protocol+(this.H?"//"+t+this.host:"")+this.pathname+this.A+this.C},set href(t){i.call(this),o.call(this,t)},get protocol(){return this.l+":"},set protocol(t){this.m||o.call(this,t+":","scheme start")},get host(){return this.m?"":this.v?this.o+":"+this.v:this.o},set host(t){!this.m&&this.H&&o.call(this,t,"host")},get hostname(){return this.o},set hostname(t){!this.m&&this.H&&o.call(this,t,"hostname")},get port(){return this.v},set port(t){!this.m&&this.H&&o.call(this,t,"port")},get pathname(){return this.m?"":this.H?"/"+this.s.join("/"):this.ya},set pathname(t){!this.m&&this.H&&(this.s=[],o.call(this,t,"relative path start"))},get search(){return this.m||!this.A||"?"==this.A?"":this.A},set search(t){!this.m&&this.H&&(this.A="?","?"==t[0]&&(t=t.slice(1)),o.call(this,t,"query"))},get hash(){return this.m||!this.C||"#"==this.C?"":this.C},set hash(t){this.m||(t?(this.C="#","#"==t[0]&&(t=t.slice(1)),o.call(this,t,"fragment")):this.C="")},get origin(){var t;if(this.m||!this.l)return"";switch(this.l){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this.l+"://"+t:""}};var f=t.URL;f&&(a.createObjectURL=function(t){return f.createObjectURL.apply(f,arguments)},a.revokeObjectURL=function(t){f.revokeObjectURL(t)}),t.URL=a}}(window);var Us=window.customElements,Bs=!1,qs=null;function Ws(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),qs&&qs(),Bs=!0,window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}Us.polyfillWrapFlushCallback&&Us.polyfillWrapFlushCallback(function(t){qs=t,Bs&&t()}),"complete"!==document.readyState?(window.addEventListener("load",Ws),window.addEventListener("DOMContentLoaded",function(){window.removeEventListener("load",Ws),Ws()})):Ws()}.call(o)),o),a=n({__proto__:null,default:e(i)},[i]);export{a as w};
|