PageSourceSearch

https://smallpdf.ai/cff91aaa.js

js smallpdf.ai collected 2026-10-05 15:05:15 UTC 79,594 bytes, 468 lines download raw bytes

1var vi=Object.defineProperty;var Re=i=>{throw TypeError(i)};var $i=(i,t,e)=>t in i?vi(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var U=(i,t,e)=>$i(i,typeof t!="symbol"?t+"":t,e),qt=(i,t,e)=>t.has(i)||Re("Cannot "+e);var $=(i,t,e)=>(qt(i,t,"read from private field"),e?e.call(i):t.get(i)),R=(i,t,e)=>t.has(i)?Re("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(i):t.set(i,e),S=(i,t,e,n)=>(qt(i,t,"write to private field"),n?n.call(i,e):t.set(i,e),e),v=(i,t,e)=>(qt(i,t,"access private method"),e);/**
2 * @license
3 * Copyright 2019 Google LLC
4 * SPDX-License-Identifier: BSD-3-Clause
5 */var tt,x,Ct,dt,Rt,et,V,nt,N,M,p,ri,si,Ft,ye,oi,ai,Ae,we,Ee,F,be,Se,Vt,xe,li,ci,hi,di,ui,pi,Ce;const Pt=window,Gt=Pt.ShadowRoot&&(Pt.ShadyCSS===void 0||Pt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pe=Symbol(),Ue=new WeakMap;class mi{constructor(t,e,n){if(this._$cssResult$=!0,n!==Pe)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Gt&&t===void 0){const n=e!==void 0&&e.length===1;n&&(t=Ue.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ue.set(e,t))}return t}toString(){return this.cssText}}const _i=i=>new mi(typeof i=="string"?i:i+"",void 0,Pe),gi=(i,t)=>{Gt?i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const n=document.createElement("style"),r=Pt.litNonce;r!==void 0&&n.setAttribute("nonce",r),n.textContent=e.cssText,i.appendChild(n)})},Oe=Gt?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return _i(e)})(i):i;/**
6 * @license
7 * Copyright 2017 Google LLC
8 * SPDX-License-Identifier: BSD-3-Clause
9 */var Zt;const Ut=window,Me=Ut.trustedTypes,yi=Me?Me.emptyScript:"",Te=Ut.reactiveElementPolyfillSupport,Jt={toAttribute(i,t){switch(t){case Boolean:i=i?yi:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch(n){e=null}}return e}},He=(i,t)=>t!==i&&(t==t||i==i),Qt={attribute:!0,type:String,converter:Jt,reflect:!1,hasChanged:He},Xt="finalized";class pt extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,n)=>{const r=this._$Ep(n,e);r!==void 0&&(this._$Ev.set(r,n),t.push(r))}),t}static createProperty(t,e=Qt){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const n=typeof t=="symbol"?Symbol():"__"+t,r=this.getPropertyDescriptor(t,n,e);r!==void 0&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(r){const s=this[t];this[e]=r,this.requestUpdate(t,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||Qt}static finalize(){if(this.hasOwnProperty(Xt))return!1;this[Xt]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const r of n)this.createProperty(r,e[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const r of n)e.unshift(Oe(r))}else t!==void 0&&e.push(Oe(t));return e}static _$Ep(t,e){const n=e.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e
vendor: 11,613 bytes, lines 9-17
9=>e(this))}addController(t){var e,n;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return gi(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var n;return(n=e.hostConnected)===null||n===void 0?void 0:n.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var n;return(n=e.hostDisconnected)===null||n===void 0?void 0:n.call(e)})}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$EO(t,e,n=Qt){var r;const s=this.constructor._$Ep(t,n);if(s!==void 0&&n.reflect===!0){const o=(((r=n.converter)===null||r===void 0?void 0:r.toAttribute)!==void 0?n.converter:Jt).toAttribute(e,n.type);this._$El=t,o==null?this.removeAttribute(s):this.setAttribute(s,o),this._$El=null}}_$AK(t,e){var n;const r=this.constructor,s=r._$Ev.get(t);if(s!==void 0&&this._$El!==s){const o=r.getPropertyOptions(s),c=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?o.converter:Jt;this._$El=s,this[s]=c.fromAttribute(e,o.type),this._$El=null}}requestUpdate(t,e,n){let r=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||He)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((r,s)=>this[s]=r),this._$Ei=void 0);let e=!1;const n=this._$AL;try{e=this.shouldUpdate(n),e?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var s;return(s=r.hostUpdate)===null||s===void 0?void 0:s.call(r)}),this.update(n)):this._$Ek()}catch(r){throw e=!1,this._$Ek(),r}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(n=>{var r;return(r=n.hostUpdated)===null||r===void 0?void 0:r.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,n)=>this._$EO(n,this[n],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}pt[Xt]=!0,pt.elementProperties=new Map,pt.elementStyles=[],pt.shadowRootOptions={mode:"open"},Te==null||Te({ReactiveElement:pt}),((Zt=Ut.reactiveElementVersions)!==null&&Zt!==void 0?Zt:Ut.reactiveElementVersions=[]).push("1.6.3");/**
10 * @license
11 * Copyright 2017 Google LLC
12 * SPDX-License-Identifier: BSD-3-Clause
13 */var Yt;const Ot=window,rt=Ot.trustedTypes,Ne=rt?rt.createPolicy("lit-html",{createHTML:i=>i}):void 0,te="$lit$",k="lit$".concat((Math.random()+"").slice(9),"$"),Le="?"+k,Ai="<".concat(Le,">"),K=document,Mt=()=>K.createComment(""),ft=i=>i===null||typeof i!="object"&&typeof i!="function",Ie=Array.isArray,wi=i=>Ie(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",ee="[ 	\n\f\r]",vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ke=/-->/g,De=/>/g,q=RegExp(">|".concat(ee,"(?:([^\\s\"'>=/]+)(").concat(ee,"*=").concat(ee,"*(?:[^ 	\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),je=/'/g,ze=/"/g,Be=/^(?:script|style|textarea|title)$/i,$t=Symbol.for("lit-noChange"),w=Symbol.for("lit-nothing"),Fe=new WeakMap,G=K.createTreeWalker(K,129,null,!1);function Ve(i,t){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ne!==void 0?Ne.createHTML(t):t}const Ei=(i,t)=>{const e=i.length-1,n=[];let r,s=t===2?"<svg>":"",o=vt;for(let c=0;c<e;c++){const a=i[c];let d,h,l=-1,u=0;for(;u<a.length&&(o.lastIndex=u,h=o.exec(a),h!==null);)u=o.lastIndex,o===vt?h[1]==="!--"?o=ke:h[1]!==void 0?o=De:h[2]!==void 0?(Be.test(h[2])&&(r=RegExp("</"+h[2],"g")),o=q):h[3]!==void 0&&(o=q):o===q?h[0]===">"?(o=r!=null?r:vt,l=-1):h[1]===void 0?l=-2:(l=o.lastIndex-h[2].length,d=h[1],o=h[3]===void 0?q:h[3]==='"'?ze:je):o===ze||o===je?o=q:o===ke||o===De?o=vt:(o=q,r=void 0);const f=o===q&&i[c+1].startsWith("/>")?" ":"";s+=o===vt?a+Ai:l>=0?(n.push(d),a.slice(0,l)+te+a.slice(l)+k+f):a+k+(l===-2?(n.push(void 0),c):f)}return[Ve(i,s+(i[e]||"<?>")+(t===2?"</svg>":"")),n]};class bt{constructor({strings:t,_$litType$:e},n){let r;this.parts=[];let s=0,o=0;const c=t.length-1,a=this.parts,[d,h]=Ei(t,e);if(this.el=bt.createElement(d,n),G.currentNode=this.el.content,e===2){const l=this.el.content,u=l.firstChild;u.remove(),l.append(...u.childNodes)}for(;(r=G.nextNode())!==null&&a.length<c;){if(r.nodeType===1){if(r.hasAttributes()){const l=[];for(const u of r.getAttributeNames())if(u.endsWith(te)||u.startsWith(k)){const f=h[o++];if(l.push(u),f!==void 0){const g=r.getAttribute(f.toLowerCase()+te).split(k),m=/([.?@])?(.*)/.exec(f);a.push({type:1,index:s,name:m[2],strings:g,ctor:m[1]==="."?Si:m[1]==="?"?Ci:m[1]==="@"?Ri:Tt})}else a.push({type:6,index:s})}for(const u of l)r.removeAttribute(u)}if(Be.test(r.tagName)){const l=r.textContent.split(k),u=l.length-1;if(u>0){r.textContent=rt?rt.emptyScript:"";for(let f=0;f<u;f++)r.append(l[f],Mt()),G.nextNode(),a.push({type:2,index:++s});r.append(l[u],Mt())}}}else if(r.nodeType===8)if(r.data===Le)a.push({type:2,index:s});else{let l=-1;for(;(l=r.data.indexOf(k,l+1))!==-1;)a.push({type:7,index:s}),l+=k.length-1}s++}}static createElement(t,e){const n=K.createElement("template");return n.innerHTML=t,n}}function st(i,t,e=i,n){var r,s,o,c;if(t===$t)return t;let a=n!==void 0?(r=e._$Co)===null||r===void 0?void 0:r[n]:e._$Cl;const d=ft(t)?void 0:t._$litDirective$;return(a==null?void 0:a.constructor)!==d&&((s=a==null?void 0:a._$AO)===null||s===void 0||s.call(a,!1),d===void 0?a=void 0:(a=new d(i),a._$AT(i,e,n)),n!==void 0?((o=(c=e)._$Co)!==null&&o!==void 0?o:c._$Co=[])[n]=a:e._$Cl=a),a!==void 0&&(t=st(i,a._$AS(i,t.values),a,n)),t}class bi{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:n},parts:r}=this._$AD,s=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:K).importNode(n,!0);G.currentNode=s;let o=G.nextNode(),c=0,a=0,d=r[0];for(;d!==void 0;){if(c===d.index){let h;d.type===2?h=new Wt(o,o.nextSibling,this,t):d.type===1?h=new d.ctor(o,d.name,d.strings,this,t):d.type===6&&(h=new Pi(o,this,t)),this._$AV.push(h),d=r[++a]}c!==(d==null?void 0:d.index)&&(o=G.nextNode(),c++)}return G.currentNode=K,s}v(t){let e=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class Wt{constructor(t,e,n,r){var s;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=r,this._$Cp=(s=r==null?void 0:r.isConnected)===null||s===void 0||s}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),ft(t)?t===w||t==null||t===""?(this._$AH!==w&&this._$AR(),this._$AH=w):t!==this._$AH&&t!==$t&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):wi(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==w&&ft(this._$AH)?this._$AA.nextSibling.data=t:this.$(K.createTextNode(t)),this._$AH=t}g(t){var e;const{values:n,_$litType$:r}=t,s=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=bt.createElement(Ve(r.h,r.h[0]),this.options)),r);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===s)this._$AH.v(n);else{const o=new bi(s,this),c=o.u(this.options);o.v(n),this.$(c),this._$AH=o}}_$AC(t){let e=Fe.get(t.strings);return e===void 0&&Fe.set(t.strings,e=new bt(t)),e}T(t){Ie(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,r=0;for(const s of t)r===e.length?e.push(n=new Wt(this.k(Mt()),this.k(Mt()),this,this.options)):n=e[r],n._$AI(s),r++;r<e.length&&(this._$AR(n&&n._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var n;for((n=this._$AP)===null||n===void 0||n.call(this,!1,!0,e);t&&t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class Tt{constructor(t,e,n,r,s){this.type=1,this._$AH=w,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=w}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,n,r){const s=this.strings;let o=!1;if(s===void 0)t=st(this,t,e,0),o=!ft(t)||t!==this._$AH&&t!==$t,o&&(this._$AH=t);else{const c=t;let a,d;for(t=s[0],a=0;a<s.length-1;a++)d=st(this,c[n+a],e,a),d===$t&&(d=this._$AH[a]),o||(o=!ft(d)||d!==this._$AH[a]),d===w?t=w:t!==w&&(t+=(d!=null?d:"")+s[a+1]),this._$AH[a]=d}o&&!r&&this.j(t)}j(t){t===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class Si extends Tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===w?void 0:t}}const xi=rt?rt.emptyScript:"";class Ci extends Tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==w?this.element.setAttribute(this.name,xi):this.element.removeAttribute(this.name)}}class Ri extends Tt{constructor(t,e,n,r,s){super(t,e,n,r,s),this.type=5}_$AI(t,e=this){var n;if((t=(n=st(this,t,e,0))!==null&&n!==void 0?n:w)===$t)return;const r=this._$AH,s=t===w&&r!==w||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==w&&(r===w||s);s&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,n;typeof this._$AH=="function"?this._$AH.call((n=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&n!==void 0?n:this.element,t):this._$AH.handleEvent(t)}}class Pi{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}}const We=Ot.litHtmlPolyfillSupport;We==null||We(bt,Wt),((Yt=Ot.litHtmlVersions)!==null&&Yt!==void 0?Yt:Ot.litHtmlVersions=[]).push("2.8.0");/**
14 * @license
15 * Copyright 2019 Google LLC
16 * SPDX-License-Identifier: BSD-3-Clause
17 */const Ht=window,ne=Ht.ShadowRoot&&(Ht.ShadyCSS===void 0||Ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ie=Symbol(),Ke=new WeakMap;class qe{constructor(t,e,n){if(this._$cssResult$=!0,n!==ie)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(ne&&t===void 0){const n=e!==void 0&&e.length===1;
vendor: 4,102 bytes, lines 17-21
17n&&(t=Ke.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ke.set(e,t))}return t}toString(){return this.cssText}}const Ui=i=>new qe(typeof i=="string"?i:i+"",void 0,ie),mt=(i,...t)=>{const e=i.length===1?i[0]:t.reduce((n,r,s)=>n+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+i[s+1],i[0]);return new qe(e,i,ie)},Oi=(i,t)=>{ne?i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const n=document.createElement("style"),r=Ht.litNonce;r!==void 0&&n.setAttribute("nonce",r),n.textContent=e.cssText,i.appendChild(n)})},Ge=ne?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return Ui(e)})(i):i;/**
18 * @license
19 * Copyright 2017 Google LLC
20 * SPDX-License-Identifier: BSD-3-Clause
21 */var re;const Nt=window,Ze=Nt.trustedTypes,Mi=Ze?Ze.emptyScript:"",Je=Nt.reactiveElementPolyfillSupport,se={toAttribute(i,t){switch(t){case Boolean:i=i?Mi:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch(n){e=null}}return e}},Qe=(i,t)=>t!==i&&(t==t||i==i),oe={attribute:!0,type:String,converter:se,reflect:!1,hasChanged:Qe},ae="finalized";class ot extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,n)=>{const r=this._$Ep(n,e);r!==void 0&&(this._$Ev.set(r,n),t.push(r))}),t}static createProperty(t,e=oe){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const n=typeof t=="symbol"?Symbol():"__"+t,r=this.getPropertyDescriptor(t,n,e);r!==void 0&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(r){const s=this[t];this[e]=r,this.requestUpdate(t,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||oe}static finalize(){if(this.hasOwnProperty(ae))return!1;this[ae]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const r of n)this.createProperty(r,e[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const r of n)e.unshift(Ge(r))}else t!==void 0&&e.push(Ge(t));return e}static _$Ep(t,e){const n=e.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,n;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Oi(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e
vendor: 5,213 bytes, lines 21-25
21=>{var n;return(n=e.hostConnected)===null||n===void 0?void 0:n.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var n;return(n=e.hostDisconnected)===null||n===void 0?void 0:n.call(e)})}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$EO(t,e,n=oe){var r;const s=this.constructor._$Ep(t,n);if(s!==void 0&&n.reflect===!0){const o=(((r=n.converter)===null||r===void 0?void 0:r.toAttribute)!==void 0?n.converter:se).toAttribute(e,n.type);this._$El=t,o==null?this.removeAttribute(s):this.setAttribute(s,o),this._$El=null}}_$AK(t,e){var n;const r=this.constructor,s=r._$Ev.get(t);if(s!==void 0&&this._$El!==s){const o=r.getPropertyOptions(s),c=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?o.converter:se;this._$El=s,this[s]=c.fromAttribute(e,o.type),this._$El=null}}requestUpdate(t,e,n){let r=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||Qe)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((r,s)=>this[s]=r),this._$Ei=void 0);let e=!1;const n=this._$AL;try{e=this.shouldUpdate(n),e?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var s;return(s=r.hostUpdate)===null||s===void 0?void 0:s.call(r)}),this.update(n)):this._$Ek()}catch(r){throw e=!1,this._$Ek(),r}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(n=>{var r;return(r=n.hostUpdated)===null||r===void 0?void 0:r.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,n)=>this._$EO(n,this[n],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}ot[ae]=!0,ot.elementProperties=new Map,ot.elementStyles=[],ot.shadowRootOptions={mode:"open"},Je==null||Je({ReactiveElement:ot}),((re=Nt.reactiveElementVersions)!==null&&re!==void 0?re:Nt.reactiveElementVersions=[]).push("1.6.3");/**
22 * @license
23 * Copyright 2017 Google LLC
24 * SPDX-License-Identifier: BSD-3-Clause
25 */var le;const Lt=window,at=Lt.trustedTypes,Xe=at?at.createPolicy("lit-html",{createHTML:i=>i}):void 0,ce="$lit$",D="lit$".concat((Math.random()+"").slice(9),"$"),Ye="?"+D,Ti="<".concat(Ye,">"),Z=document,_t=()=>Z.createComment(""),gt=i=>i===null||typeof i!="object"&&typeof i!="function",tn=Array.isArray,Hi=i=>tn(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",he="[ 	\n\f\r]",yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,en=/-->/g,nn=/>/g,J=RegExp(">|".concat(he,"(?:([^\\s\"'>=/]+)(").concat(he,"*=").concat(he,"*(?:[^ 	\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),rn=/'/g,sn=/"/g,on=/^(?:script|style|textarea|title)$/i,Ni=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),lt=Ni(1),ct=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),an=new WeakMap,Q=Z.createTreeWalker(Z,129,null,!1);function ln(i,t){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xe!==void 0?Xe.createHTML(t):t}const Li=(i,t)=>{const e=i.length-1,n=[];let r,s=t===2?"<svg>":"",o=yt;for(let c=0;c<e;c++){const a=i[c];let d,h,l=-1,u=0;for(;u<a.length&&(o.lastIndex=u,h=o.exec(a),h!==null);)u=o.lastIndex,o===yt?h[1]==="!--"?o=en:h[1]!==void 0?o=nn:h[2]!==void 0?(on.test(h[2])&&(r=RegExp("</"+h[2],"g")),o=J):h[3]!==void 0&&(o=J):o===J?h[0]===">"?(o=r!=null?r:yt,l=-1):h[1]===void 0?l=-2:(l=o.lastIndex-h[2].length,d=h[1],o=h[3]===void 0?J:h[3]==='"'?sn:rn):o===sn||o===rn?o=J:o===en||o===nn?o=yt:(o=J,r=void 0);const f=o===J&&i[c+1].startsWith("/>")?" ":"";s+=o===yt?a+Ti:l>=0?(n.push(d),a.slice(0,l)+ce+a.slice(l)+D+f):a+D+(l===-2?(n.push(void 0),c):f)}return[ln(i,s+(i[e]||"<?>")+(t===2?"</svg>":"")),n]};class St{constructor({strings:t,_$litType$:e},n){let r;this.parts=[];let s=0,o=0;const c=t.length-1,a=this.parts,[d,h]=Li(t,e);if(this.el=St.createElement(d,n),Q.currentNode=this.el.content,e===2){const l=this.el.content,u=l.firstChild;u.remove(),l.append(...u.childNodes)}for(;(r=Q.nextNode())!==null&&a.length<c;){if(r.nodeType===1){if(r.hasAttributes()){const l=[];for(const u of r.getAttributeNames())if(u.endsWith(ce)||u.startsWith(D)){const f=h[o++];if(l.push(u),f!==void 0){const g=r.getAttribute(f.toLowerCase()+ce).split(D),m=/([.?@])?(.*)/.exec(f);a.push({type:1,index:s,name:m[2],strings:g,ctor:m[1]==="."?ki:m[1]==="?"?ji:m[1]==="@"?zi:It})}else a.push({type:6,index:s})}for(const u of l)r.removeAttribute(u)}if(on.test(r.tagName)){const l=r.textContent.split(D),u=l.length-1;if(u>0){r.textContent=at?at.emptyScript:"";for(let f=0;f<u;f++)r.append(l[f],_t()),Q.nextNode(),a.push({type:2,index:++s}
25);r.append(l[u],_t())}}}else if(r.nodeType===8)if(r.data===Ye)a.push({type:2,index:s});else{let l=-1;for(;(l=r.data.indexOf(D,l+1))!==-1;)a.push({type:7,index:s}),l+=D.length-1}s++}}static createElement(t,e){const n=Z.createElement("template");return n.innerHTML=t,n}}function ht(i,t,e=i,n){var r,s,o,c;if(t===ct)return t;let a=n!==void 0?(r=e._$Co)===null||r===void 0?void 0:r[n]:e._$Cl;const d=gt(t)?void 0:t._$litDirective$;return(a==null?void 0:a.constructor)!==d&&((s=a==null?void 0:a._$AO)===null||s===void 0||s.call(a,!1),d===void 0?a=void 0:(a=new d(i),a._$AT(i,e,n)),n!==void 0?((o=(c=e)._$Co)!==null&&o!==void 0?o:c._$Co=[])[n]=a:e._$Cl=a),a!==void 0&&(t=ht(i,a._$AS(i,t.values),a,n)),t}class Ii{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:n},parts:r}=this._$AD,s=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:Z).importNode(n,!0);Q.currentNode=s;let o=Q.nextNode(),c=0,a=0,d=r[0];for(;d!==void 0;){if(c===d.index){let h;d.type===2?h=new xt(o,o.nextSibling,this,t):d.type===1?h=new d.ctor(o,d.name,d.strings,this,t):d.type===6&&(h=new Bi(o,this,t)),this._$AV.push(h),d=r[++a]}c!==(d==null?void 0:d.index)&&(o=Q.nextNode(),c++)}return Q.currentNode=Z,s}v(t){let e=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class xt{constructor(t,e,n,r){var s;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=r,this._$Cp=(s=r==null?void 0:r.isConnected)===null||s===void 0||s}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ht(this,t,e),gt(t)?t===E||t==null||t===""?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==ct&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Hi(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==E&&gt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Z.createTextNode(t)),this._$AH=t}g(t){var e;const{values:n,_$litType$:r}=t,s=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=St.createElement(ln(r.h,r.h[0]),this.options)),r);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===s)this._$AH.v(n);else{const o=new Ii(s,this),c=o.u(this.options);o.v(n),this.$(c),this._$AH=o}}_$AC(t){let e=an.get(t.strings);return e===void 0&&an.set(t.strings,e=new St(t)),e}T(t){tn(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,r=0;for(const s of t)r===e.length?e.push(n=new xt(this.k(_t()),this.k(_t()),this,this.options)):n=e[r],n._$AI(s),r++;r<e.length&&(this._$AR(n&&n._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var n;for((n=this._$AP)===null||n===void 0||n.call(this,!1,!0,e);t&&t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class It{constructor(t,e,n,r,s){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,n,r){const s=this.strings;let o=!1;if(s===void 0)t=ht(this,t,e,0),o=!gt(t)||t!==this._$AH&&t!==ct,o&&(this._$AH=t);else{const c=t;let a,d;for(t=s[0],a=0;a<s.length-1;a++)d=ht(this,c[n+a],e,a),d===ct&&(d=this._$AH[a]),o||(o=!gt(d)||d!==this._$AH[a]),d===E?t=E:t!==E&&(t+=(d!=null?d:"")+s[a+1]),this._$AH[a]=d}o&&!r&&this.j(t)}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class ki extends It{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===E?void 0:t}}const Di=at?at.emptyScript:"";class ji extends It{constructor(){super(...arguments),this.type=4}j(t){t&&t!==E?this.element.setAttribute(this.name,Di):this.element.removeAttribute(this.name)}}class zi extends It{constructor(t,e,n,r,s){super(t,e,n,r,s),this.type=5}_$AI(t,e=this){var n;if((t=(n=ht(this,t,e,0))!==null&&n!==void 0?n:E)===ct)return;const r=this._$AH,s=t===E&&r!==E||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==E&&(r===E||s);s&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,n;typeof this._$AH=="function"?this._$AH.call((n=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&n!==void 0?n:this.element,t):this._$AH.handleEvent(t)}}class Bi{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ht(this,t)}}const cn=Lt.litHtmlPolyfillSupport;cn==null||cn(St,xt),((le=Lt.litHtmlVersions)!==null&&le!==void 0?le:Lt.litHtmlVersions=[]).push("2.8.0");const Fi=(i,t,e)=>{var n,r;const s=(n=e==null?void 0:e.renderBefore)!==null&&n!==void 0?n:t;let o=s._$litPart$;if(o===void 0){const c=(r=e==null?void 0:e.renderBefore)!==null&&r!==void 0?r:null;s._$litPart$=o=new xt(t.insertBefore(_t(),c),c,void 0,e!=null?e:{})}return o._$AI(i),o};/**
26 * @license
27 * Copyright 2017 Google LLC
28 * SPDX-License-Identifier: BSD-3-Clause
29 */var de,ue;class j extends ot{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const n=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=n.firstChild),n}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Fi(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return ct}}j.finalized=!0,j._$litElement$=!0,(de=globalThis.litElementHydrateSupport)===null||de===void 0||de.call(globalThis,{LitElement:j});const hn=globalThis.litElementPolyfillSupport;hn==null||hn({LitElement:j}),((ue=globalThis.litElementVersions)!==null&&ue!==void 0?ue:globalThis.litElementVersions=[]).push("3.3.3");function Vi(i){for(var t=[],e=0;e<i.length;){var n=i[e];if(n==="*"||n==="+"||n==="?"){t.push({type:"MODIFIER",index:e,value:i[e++]});continue}if(n==="\\"){t.push({type:"ESCAPED_CHAR",index:e++,value:i[e++]});continue}if(n==="{"){t.push({type:"OPEN",index:e,value:i[e++]});continue}if(n==="}"){t.push({type:"CLOSE",index:e,value:i[e++]});continue}if(n===":"){for(var r="",s=e+1;s<i.length;){var o=i.charCodeAt(s);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||o===95){r+=i[s++];continue}break}if(!r)throw new TypeError("Missing parameter name at ".concat(e));t.push({type:"NAME",index:e,value:r}),e=s;continue}if(n==="("){var c=1,a="",s=e+1;if(i[s]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(s));for(;s<i.length;){if(i[s]==="\\"){a+=i[s++]+i[s++];continue}if(i[s]===")"){if(c--,c===0){s++;break}}else if(i[s]==="("&&(c++,i[s+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(s));a+=i[s++]}if(c)throw new TypeError("Unbalanced pattern at ".concat(e));if(!a)throw new TypeError("Missing pattern at ".concat(e));t.push({type:"PATTERN",index:e,value:a}),e=s;continue}t.push({type:"CHAR",index:e,value:i[e++]})}return t.push({type:"END",index:e,value:""}),t}function pe(i,t){t===void 0&&(t={});for(var e=Vi(i),n=t.prefixes,r=n===void 0?"./":n,s=t.delimiter,o=s===void 0?"/#?":s,c=[],a=0,d=0,h="",l=function(C){if(d<e.length&&e[d].type===C)return e[d++].value},u=function(C){var b=l(C);if(b!==void 0)return b;var T=e[d],Kt=T.type,fi=T.index;throw new TypeError("Unexpected ".concat(Kt," at ").concat(fi,", expected ").concat(C))},f=function(){for(var C="",b;b=l("CHAR")||l("ESCAPED_CHAR");)C+=b;return C},g=function(C){for(var b=0,T=o;b<T.length;b++){var Kt=T[b];if(C.indexOf(Kt)>-1)return!0}return!1},m=function(C){var b=c[c.length-1],T=C||(b&&typeof b=="string"?b:"");
29if(b&&!T)throw new TypeError('Must have text between two parameters, missing text after "'.concat(b.name,'"'));return!T||g(T)?"[^".concat(z(o),"]+?"):"(?:(?!".concat(z(T),")[^").concat(z(o),"])+?")};d<e.length;){var _=l("CHAR"),A=l("NAME"),L=l("PATTERN");if(A||L){var P=_||"";r.indexOf(P)===-1&&(h+=P,P=""),h&&(c.push(h),h=""),c.push({name:A||a++,prefix:P,suffix:"",pattern:L||m(P),modifier:l("MODIFIER")||""});continue}var y=_||l("ESCAPED_CHAR");if(y){h+=y;continue}h&&(c.push(h),h="");var W=l("OPEN");if(W){var P=f(),I=l("NAME")||"",ut=l("PATTERN")||"",it=f();u("CLOSE"),c.push({name:I||(ut?a++:""),pattern:I&&!ut?m(P):ut,prefix:P,suffix:it,modifier:l("MODIFIER")||""});continue}u("END")}return c}function dn(i,t){return un(pe(i,t),t)}function un(i,t){t===void 0&&(t={});var e=fe(t),n=t.encode,r=n===void 0?function(a){return a}:n,s=t.validate,o=s===void 0?!0:s,c=i.map(function(a){if(typeof a=="object")return new RegExp("^(?:".concat(a.pattern,")$"),e)});return function(a){for(var d="",h=0;h<i.length;h++){var l=i[h];if(typeof l=="string"){d+=l;continue}var u=a?a[l.name]:void 0,f=l.modifier==="?"||l.modifier==="*",g=l.modifier==="*"||l.modifier==="+";if(Array.isArray(u)){if(!g)throw new TypeError('Expected "'.concat(l.name,'" to not repeat, but got an array'));if(u.length===0){if(f)continue;throw new TypeError('Expected "'.concat(l.name,'" to not be empty'))}for(var m=0;m<u.length;m++){var _=r(u[m],l);if(o&&!c[h].test(_))throw new TypeError('Expected all "'.concat(l.name,'" to match "').concat(l.pattern,'", but got "').concat(_,'"'));d+=l.prefix+_+l.suffix}continue}if(typeof u=="string"||typeof u=="number"){var _=r(String(u),l);if(o&&!c[h].test(_))throw new TypeError('Expected "'.concat(l.name,'" to match "').concat(l.pattern,'", but got "').concat(_,'"'));d+=l.prefix+_+l.suffix;continue}if(!f){var A=g?"an array":"a string";throw new TypeError('Expected "'.concat(l.name,'" to be ').concat(A))}}return d}}function z(i){return i.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function fe(i){return i&&i.sensitive?"":"i"}function Wi(i,t){if(!t)return i;for(var e=/\((?:\?<(.*?)>)?(?!\?)/g,n=0,r=e.exec(i.source);r;)t.push({name:r[1]||n++,prefix:"",suffix:"",modifier:"",pattern:""}),r=e.exec(i.source);return i}function Ki(i,t,e){var n=i.map(function(r){return pn(r,t,e).source});return new RegExp("(?:".concat(n.join("|"),")"),fe(e))}function qi(i,t,e){return Gi(pe(i,e),t,e)}function Gi(i,t,e){e===void 0&&(e={});for(var n=e.strict,r=n===void 0?!1:n,s=e.start,o=s===void 0?!0:s,c=e.end,a=c===void 0?!0:c,d=e.encode,h=d===void 0?function(b){return b}:d,l=e.delimiter,u=l===void 0?"/#?":l,f=e.endsWith,g=f===void 0?"":f,m="[".concat(z(g),"]|$"),_="[".concat(z(u),"]"),A=o?"^":"",L=0,P=i;L<P.length;L++){var y=P[L];if(typeof y=="string")A+=z(h(y));else{var W=z(h(y.prefix)),I=z(h(y.suffix));if(y.pattern)if(t&&t.push(y),W||I)if(y.modifier==="+"||y.modifier==="*"){var ut=y.modifier==="*"?"?":"";A+="(?:".concat(W,"((?:").concat(y.pattern,")(?:").concat(I).concat(W,"(?:").concat(y.pattern,"))*)").concat(I,")").concat(ut)}else A+="(?:".concat(W,"(").concat(y.pattern,")").concat(I,")").concat(y.modifier);else{if(y.modifier==="+"||y.modifier==="*")throw new TypeError('Can not repeat "'.concat(y.name,'" without a prefix and suffix'));A+="(".concat(y.pattern,")").concat(y.modifier)}else A+="(?:".concat(W).concat(I,")").concat(y.modifier)}}if(a)r||(A+="".concat(_,"?")),A+=e.endsWith?"(?=".concat(m,")"):"$";else{var it=i[i.length-1],C=typeof it=="string"?_.indexOf(it[it.length-1])>-1:it===void 0;r||(A+="(?:".concat(_,"(?=").concat(m,"))?")),C||(A+="(?=".concat(_,"|").concat(m,")"))}return new RegExp(A,fe(e))}function pn(i,t,e){return i instanceof RegExp?Wi(i,t):Array.isArray(i)?Ki(i,t,e):qi(i,t,e)}function X(i){return typeof i=="object"&&!!i}function At(i){return typeof i=="function"}function H(i){return typeof i=="string"}function kt(i=[]){return Array.isArray(i)?i:[i]}function B(i){return"[Vaadin.Router] ".concat(i)}class fn extends Error{constructor(e){super(B("Page not found (".concat(e.pathname,")")));U(this,"code");U(this,"context");this.context=e,this.code=404}}const Y=Symbol("NotFoundResult");function vn(i){return new fn(i)}function $n(i){var t;return(t=Array.isArray(i)?i[0]:i)!=null?t:""}function Dt(i){return $n(i==null?void 0:i.path)}function Zi(i){return Array.isArray(i)&&i.length>0?i:void 0}const ve=new Map;ve.set("|false",{keys:[],pattern:new RegExp("(?:)","u")});function mn(i){try{return decodeURIComponent(i)}catch(t){return i}}function Ji(i,t,e=!1,n=[],r){const s="".concat(i,"|").concat(String(e)),o=$n(t);let c=ve.get(s);if(!c){const h=[];c={keys:h,pattern:pn(i,h,{end:e,strict:i===""})},ve.set(s,c)}const a=c.pattern.exec(o);if(!a)return null;const d={...r};for(let h=1;h<a.length;h++){const l=c.keys[h-1],u=l.name,f=a[h];(f!==void 0||!Object.hasOwn(d,u))&&(l.modifier==="+"||l.modifier==="*"?d[u]=f?f.split(new RegExp("[/?#]","u")).map(mn):[]:d[u]=f&&mn(f))}return{keys:[...n,...c.keys],params:d,path:a[0]}}var Qi=Ji;function _n(i,t,e,n,r){let s,o,c=0,a=Dt(i);return a.startsWith("/")&&(e&&(a=a.substring(1)),e=!0),{next(d){var u,f;if(i===d)return{done:!0,value:void 0};(u=i.__children)!=null||(i.__children=Zi(i.children));const h=(f=i.__children)!=null?f:[],l=!i.__children&&!i.children;if(!s&&(s=Qi(a,t,l,n,r),s))return{value:{keys:s.keys,params:s.params,path:s.path,route:i}};if(s&&h.length>0)for(;c<h.length;){if(!o){const m=h[c];m.parent=i;let _=s.path.length;_>
290&&t.charAt(_)==="/"&&(_+=1),o=_n(m,t.substring(_),e,s.keys,s.params)}const g=o.next(d);if(!g.done)return{done:!1,value:g.value};o=null,c+=1}return{done:!0,value:void 0}}}}var Xi=_n;function Yi(i){if(At(i.route.action))return i.route.action(i)}function tr(i,t){let e=i;for(;e;)if(e=e.parent,e===t)return!0;return!1}function er(i){return!!i&&typeof i=="object"&&"next"in i&&"params"in i&&"result"in i&&"route"in i}class nr extends Error{constructor(e,n){let r="Path '".concat(e.pathname,"' is not properly resolved due to an error.");const s=Dt(e.route);s&&(r+=" Resolution had failed on route: '".concat(s,"'"));super(r,n);U(this,"code");U(this,"context");this.code=n==null?void 0:n.code,this.context=e}warn(){console.warn(this.message)}}function ir(i,t){var r;const{path:e,route:n}=t;if(n&&!n.__synthetic){const s={path:e,route:n};if(n.parent&&i.chain)for(let o=i.chain.length-1;o>=0&&i.chain[o].route!==n.parent;o--)i.chain.pop();(r=i.chain)==null||r.push(s)}}class gn{constructor(t,{baseUrl:e="",context:n,errorHandler:r,resolveRoute:s=Yi}={}){U(this,"baseUrl");R(this,tt);U(this,"errorHandler");U(this,"resolveRoute");R(this,x);if(Object(t)!==t)throw new TypeError("Invalid routes");this.baseUrl=e,this.errorHandler=r,this.resolveRoute=s,Array.isArray(t)?S(this,x,{__children:t,__synthetic:!0,action:()=>{},path:""}):S(this,x,{...t,parent:void 0}),S(this,tt,{...n,hash:"",async next(){return Y},params:{},pathname:"",resolver:this,route:$(this,x),search:"",chain:[]})}get root(){return $(this,x)}get context(){return $(this,tt)}get __effectiveBaseUrl(){return this.baseUrl?new URL(this.baseUrl,document.baseURI||document.URL).href.replace(new RegExp("[^/]*$","u"),""):""}getRoutes(){var t;return[...(t=$(this,x).__children)!=null?t:[]]}removeRoutes(){$(this,x).__children=[]}async resolve(t){var h;const e=this,n={...$(this,tt),...H(t)?{pathname:t}:t,next:d},r=Xi($(this,x),(h=this.__normalizePathname(n.pathname))!=null?h:n.pathname,!!this.baseUrl),s=this.resolveRoute;let o=null,c=null,a=n;async function d(l=!1,u=(g=>(g=o==null?void 0:o.value)==null?void 0:g.route)(),f){var A,L;const m=f===null?(A=o==null?void 0:o.value)==null?void 0:A.route:void 0;if(o=c!=null?c:r.next(m),c=null,!l&&(o.done||!tr(o.value.route,u)))return c=o,Y;if(o.done)throw vn(n);a={...n,params:o.value.params,route:o.value.route,chain:(L=a.chain)==null?void 0:L.slice()},ir(a,o.value);const _=await s(a);return _!=null&&_!==Y?(a.result=er(_)?_.result:_,S(e,tt,a),a):await d(l,u,_)}try{return await d(!0,$(this,x))}catch(l){const u=l instanceof fn?l:new nr(a,{code:500,cause:l});if(this.errorHandler)return a.result=this.errorHandler(u),a;throw l}}setRoutes(t){$(this,x).__children=[...kt(t)]}__normalizePathname(t){if(!this.baseUrl)return t;const e=this.__effectiveBaseUrl,n=t.startsWith("/")?new URL(e).origin+t:"./".concat(t),r=new URL(n,e).href;if(r.startsWith(e))return r.slice(e.length)}addRoutes(t){var e;return $(this,x).__children=[...(e=$(this,x).__children)!=null?e:[],...kt(t)],this.getRoutes()}}tt=new WeakMap,x=new WeakMap;function yn(i,t,e,n){var s,o,c;const r=(s=t.name)!=null?s:n==null?void 0:n(t);if(r&&(i.has(r)?(o=i.get(r))==null||o.push(t):i.set(r,[t])),Array.isArray(e))for(const a of e)a.parent=t,yn(i,a,(c=a.__children)!=null?c:a.children,n)}function An(i,t){const e=i.get(t);if(e){if(e.length>1)throw new Error('Duplicate route with name "'.concat(t,"\". Try seting unique 'name' route properties."));return e[0]}}function rr(i,t={}){if(!(i instanceof gn))throw new TypeError("An instance of Resolver is expected");const e=new Map,n=new Map;return(r,s)=>{let o=An(n,r);if(!o&&(n.clear(),yn(n,i.root,i.root.__children,t.cacheKeyProvider),o=An(n,r),!o))throw new Error('Route "'.concat(r,'" not found'));let c=o.fullPath?e.get(o.fullPath):void 0;if(!c){let h=Dt(o),l=o.parent;for(;l;){const g=Dt(l);g&&(h="".concat(g.replace(new RegExp("\\/$","u"),""),"/").concat(h.replace(new RegExp("^\\/","u"),""))),l=l.parent}const u=pe(h),f=Object.create(null);for(const g of u)H(g)||(f[g.name]=!0);c={keys:f,tokens:u},e.set(h,c),o.fullPath=h}let d=un(c.tokens,{encode:encodeURIComponent,...t})(s)||"/";if(t.stringifyQueryParams&&s){const h={};for(const[u,f]of Object.entries(s))!(u in c.keys)&&f&&(h[u]=f);const l=t.stringifyQueryParams(h);l&&(d+=l.startsWith("?")?l:"?".concat(l))}return d}}var sr=rr;const or=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,jt=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function ar(){function i(){return!0}return wn(i)}function lr(){try{return cr()?!0:hr()?jt?!dr():!ar():!1}catch(i){return!1}}function cr(){return localStorage.getItem("vaadin.developmentmode.force")}function hr(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function dr(){return!!(jt&&Object.keys(jt).map(t=>jt[t]).filter(t=>t.productionMode).length>0)}function wn(i,t){if(typeof i!="function")return;const e=or.exec(i.toString());if(e)try{i=new Function(e[1])}catch(n){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",n)}return i(t)}window.Vaadin=window.Vaadin||{};const En=function(i,t){if(window.Vaadin.developmentMode)return wn(i,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=lr());function ur(){/*! vaadin-dev-mode:start
30(function () {
31'use strict';
32var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
33return typeof obj;
34} : function (obj) {
35return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
36};
37var classCallCheck = function (instance, Constructor) {
38if (!(instance instanceof Constructor)) {
39  throw new TypeError("Cannot call a class as a function");
40}
41};
42var createClass = function () {
43function defineProperties(target, props) {
44  for (var i = 0; i < props.length; i++) {
45    var descriptor = props[i];
46    descriptor.enumerable = descriptor.enumerable || false;
47    descriptor.configurable = true;
48    if ("value" in descriptor) descriptor.writable = true;
49    Object.defineProperty(target, descriptor.key, descriptor);
50  }
51}
52 return function (Constructor, protoProps, staticProps) {
53  if (protoProps) defineProperties(Constructor.prototype, protoProps);
54  if (staticProps) defineProperties(Constructor, staticProps);
55  return Constructor;
56};
57}();
58var getPolymerVersion = function getPolymerVersion() {
59return window.Polymer && window.Polymer.version;
60};
61var StatisticsGatherer = function () {
62function StatisticsGatherer(logger) {
63  classCallCheck(this, StatisticsGatherer);
64   this.now = new Date().getTime();
65  this.logger = logger;
66}
67 createClass(StatisticsGatherer, [{
68  key: 'frameworkVersionDetectors',
69  value: function frameworkVersionDetectors() {
70    return {
71      'Flow': function Flow() {
72        if (window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients) {
73          var flowVersions = Object.keys(window.Vaadin.Flow.clients).map(function (key) {
74            return window.Vaadin.Flow.clients[key];
75          }).filter(function (client) {
76            return client.getVersionInfo;
77          }).map(function (client) {
78            return client.getVersionInfo().flow;
79          });
80          if (flowVersions.length > 0) {
81            return flowVersions[0];
82          }
83        }
84      },
85      'Vaadin Framework': function VaadinFramework() {
86        if (window.vaadin && window.vaadin.clients) {
87          var frameworkVersions = Object.values(window.vaadin.clients).filter(function (client) {
88            return client.getVersionInfo;
89          }).map(function (client) {
90            return client.getVersionInfo().vaadinVersion;
91          });
92          if (frameworkVersions.length > 0) {
93            return frameworkVersions[0];
94          }
95        }
96      },
97      'AngularJs': function AngularJs() {
98        if (window.angular && window.angular.version && window.angular.version) {
99          return window.angular.version.full;
100        }
101      },
102      'Angular': function Angular() {
103        if (window.ng) {
104          var tags = document.querySelectorAll("[ng-version]");
105          if (tags.length > 0) {
106            return tags[0].getAttribute("ng-version");
107          }
108          return "Unknown";
109        }
110      },
111      'Backbone.js': function BackboneJs() {
112        if (window.Backbone) {
113          return window.Backbone.VERSION;
114        }
115      },
116      'React': function React() {
117        var reactSelector = '[data-reactroot], [data-reactid]';
118        if (!!document.querySelector(reactSelector)) {
119          // React does not publish the version by default
120          return "unknown";
121        }
122      },
123      'Ember': function Ember() {
124        if (window.Em && window.Em.VERSION) {
125          return window.Em.VERSION;
126        } else if (window.Ember && window.Ember.VERSION) {
127          return window.Ember.VERSION;
128        }
129      },
130      'jQuery': function (_jQuery) {
131        function jQuery() {
132          return _jQuery.apply(this, arguments);
133        }
134         jQuery.toString = function () {
135          return _jQuery.toString();
136        };
137         return jQuery;
138      }(function () {
139        if (typeof jQuery === 'function' && jQuery.prototype.jquery !== undefined) {
140          return jQuery.prototype.jquery;
141        }
142      }),
143      'Polymer': function Polymer() {
144        var version = getPolymerVersion();
145        if (version) {
146          return version;
147        }
148      },
149      'LitElement': function LitElement() {
150        var version = window.litElementVersions && window.litElementVersions[0];
151        if (version) {
152          return version;
153        }
154      },
155      'LitHtml': function LitHtml() {
156        var version = window.litHtmlVersions && window.litHtmlVersions[0];
157        if (version) {
158          return version;
159        }
160      },
161      'Vue.js': function VueJs() {
162        if (window.Vue) {
163          return window.Vue.version;
164        }
165      }
166    };
167  }
168}, {
169  key: 'getUsedVaadinElements',
170  value: function getUsedVaadinElements(elements) {
171    var version = getPolymerVersion();
172    var elementClasses = void 0;
173    // NOTE: In case you edit the code here, YOU MUST UPDATE any statistics reporting code in Flow.
174    // Check all locations calling the method getEntries() in
175    // https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/internal/UsageStatistics.java#L106
176    // Currently it is only used by BootstrapHandler.
177    if (version && version.indexOf('2') === 0) {
178      // Polymer 2: components classes are stored in window.Vaadin
179      elementClasses = Object.keys(window.Vaadin).map(function (c) {
180        return window.Vaadin[c];
181      }).filter(function (c) {
182        return c.is;
183      });
184    } else {
185      // Polymer 3: components classes are stored in window.Vaadin.registrations
186      elementClasses = window.Vaadin.registrations || [];
187    }
188    elementClasses.forEach(function (klass) {
189      var version = klass.version ? klass.version : "0.0.0";
190      elements[klass.is] = { version: version };
191    });
192  }
193}, {
194  key: 'getUsedVaadinThemes',
195  value: function getUsedVaadinThemes(themes) {
196    ['Lumo', 'Material'].forEach(function (themeName) {
197      var theme;
198      var version = getPolymerVersion();
199      if (version && version.indexOf('2') === 0) {
200        // Polymer 2: themes are stored in window.Vaadin
201        theme = window.Vaadin[themeName];
202      } else {
203        // Polymer 3: themes are stored in custom element registry
204        theme = customElements.get('vaadin-' + themeName.toLowerCase() + '-styles');
205      }
206      if (theme && theme.version) {
207        themes[themeName] = { version: theme.version };
208      }
209    });
210  }
211}, {
212  key: 'getFrameworks',
213  value: function getFrameworks(frameworks) {
214    var detectors = this.frameworkVersionDetectors();
215    Object.keys(detectors).forEach(function (framework) {
216      var detector = detectors[framework];
217      try {
218        var version = detector();
219        if (version) {
220          frameworks[framework] = { version: version };
221        }
222      } catch (e) {}
223    });
224  }
225}, {
226  key: 'gather',
227  value: function gather(storage) {
228    var storedStats = storage.read();
229    var gatheredStats = {};
230    var types = ["elements", "frameworks", "themes"];
231     types.forEach(function (type) {
232      gatheredStats[type] = {};
233      if (!storedStats[type]) {
234        storedStats[type] = {};
235      }
236    });
237     var previousStats = JSON.stringify(storedStats);
238     this.getUsedVaadinElements(gatheredStats.elements);
239    this.getFrameworks(gatheredStats.frameworks);
240    this.getUsedVaadinThemes(gatheredStats.themes);
241     var now = this.now;
242    types.forEach(function (type) {
243      var keys = Object.keys(gatheredStats[type]);
244      keys.forEach(function (key) {
245        if (!storedStats[type][key] || _typeof(storedStats[type][key]) != _typeof({})) {
246          storedStats[type][key] = { firstUsed: now };
247        }
248        // Discards any previously logged version number
249        storedStats[type][key].version = gatheredStats[type][key].version;
250        storedStats[type][key].lastUsed = now;
251      });
252    });
253     var newStats = JSON.stringify(storedStats);
254    storage.write(newStats);
255    if (newStats != previousStats && Object.keys(storedStats).length > 0) {
256      this.logger.debug("New stats: " + newStats);
257    }
258  }
259}]);
260return StatisticsGatherer;
261}();
262var StatisticsStorage = function () {
263function StatisticsStorage(key) {
264  classCallCheck(this, StatisticsStorage);
265   this.key = key;
266}
267 createClass(StatisticsStorage, [{
268  key: 'read',
269  value: function read() {
270    var localStorageStatsString = localStorage.getItem(this.key);
271    try {
272      return JSON.parse(localStorageStatsString ? localStorageStatsString : '{}');
273    } catch (e) {
274      return {};
275    }
276  }
277}, {
278  key: 'write',
279  value: function write(data) {
280    localStorage.setItem(this.key, data);
281  }
282}, {
283  key: 'clear',
284  value: function clear() {
285    localStorage.removeItem(this.key);
286  }
287}, {
288  key: 'isEmpty',
289  value: function isEmpty() {
290    var storedStats = this.read();
291    var empty = true;
292    Object.keys(storedStats).forEach(function (key) {
293      if (Object.keys(storedStats[key]).length > 0) {
294        empty = false;
295      }
296    });
297     return empty;
298  }
299}]);
300return StatisticsStorage;
301}();
302var StatisticsSender = function () {
303function StatisticsSender(url, logger) {
304  classCallCheck(this, StatisticsSender);
305   this.url = url;
306  this.logger = logger;
307}
308 createClass(StatisticsSender, [{
309  key: 'send',
310  value: function send(data, errorHandler) {
311    var logger = this.logger;
312     if (navigator.onLine === false) {
313      logger.debug("Offline, can't send");
314      errorHandler();
315      return;
316    }
317    logger.debug("Sending data to " + this.url);
318     var req = new XMLHttpRequest();
319    req.withCredentials = true;
320    req.addEventListener("load", function () {
321      // Stats sent, nothing more to do
322      logger.debug("Response: " + req.responseText);
323    });
324    req.addEventListener("error", function () {
325      logger.debug("Send failed");
326      errorHandler();
327    });
328    req.addEventListener("abort", function () {
329      logger.debug("Send aborted");
330      errorHandler();
331    });
332    req.open("POST", this.url);
333    req.setRequestHeader("Content-Type", "application/json");
334    req.send(data);
335  }
336}]);
337return StatisticsSender;
338}();
339var StatisticsLogger = function () {
340function StatisticsLogger(id) {
341  classCallCheck(this, StatisticsLogger);
342   this.id = id;
343}
344 createClass(StatisticsLogger, [{
345  key: '_isDebug',
346  value: function _isDebug() {
347    return localStorage.getItem("vaadin." + this.id + ".debug");
348  }
349}, {
350  key: 'debug',
351  value: function debug(msg) {
352    if (this._isDebug()) {
353      console.info(this.id + ": " + msg);
354    }
355  }
356}]);
357return StatisticsLogger;
358}();
359var UsageStatistics = function () {
360function UsageStatistics() {
361  classCallCheck(this, UsageStatistics);
362   this.now = new Date();
363  this.timeNow = this.now.getTime();
364  this.gatherDelay = 10; // Delay between loading this file and gathering stats
365  this.initialDelay = 24 * 60 * 60;
366   this.logger = new StatisticsLogger("statistics");
367  this.storage = new StatisticsStorage("vaadin.statistics.basket");
368  this.gatherer = new StatisticsGatherer(this.logger);
369  this.sender = new StatisticsSender("https://tools.vaadin.com/usage-stats/submit", this.logger);
370}
371 createClass(UsageStatistics, [{
372  key: 'maybeGatherAndSend',
373  value: function maybeGatherAndSend() {
374    var _this = this;
375     if (localStorage.getItem(UsageStatistics.optOutKey)) {
376      return;
377    }
378    this.gatherer.gather(this.storage);
379    setTimeout(function () {
380      _this.maybeSend();
381    }, this.gatherDelay * 1000);
382  }
383}, {
384  key: 'lottery',
385  value: function lottery() {
386    return true;
387  }
388}, {
389  key: 'currentMonth',
390  value: function currentMonth() {
391    return this.now.getYear() * 12 + this.now.getMonth();
392  }
393}, {
394  key: 'maybeSend',
395  value: function maybeSend() {
396    var firstUse = Number(localStorage.getItem(UsageStatistics.firstUseKey));
397    var monthProcessed = Number(localStorage.getItem(UsageStatistics.monthProcessedKey));
398     if (!firstUse) {
399      // Use a grace period to avoid interfering with tests, incognito mode etc
400      firstUse = this.timeNow;
401      localStorage.setItem(UsageStatistics.firstUseKey, firstUse);
402    }
403     if (this.timeNow < firstUse + this.initialDelay * 1000) {
404      this.logger.debug("No statistics will be sent until the initial delay of " + this.initialDelay + "s has passed");
405      return;
406    }
407    if (this.currentMonth() <= monthProcessed) {
408      this.logger.debug("This month has already been processed");
409      return;
410    }
411    localStorage.setItem(UsageStatistics.monthProcessedKey, this.currentMonth());
412    // Use random sampling
413    if (this.lottery()) {
414      this.logger.debug("Congratulations, we have a winner!");
415    } else {
416      this.logger.debug("Sorry, no stats from you this time");
417      return;
418    }
419     this.send();
420  }
421}, {
422  key: 'send',
423  value: function send() {
424    // Ensure we have the latest data
425    this.gatherer.gather(this.storage);
426     // Read, send and clean up
427    var data = this.storage.read();
428    data["firstUse"] = Number(localStorage.getItem(UsageStatistics.firstUseKey));
429    data["usageStatisticsVersion"] = UsageStatistics.version;
430    var info = 'This request contains usage statistics gathered from the application running in development mode. \n\nStatistics gathering is automatically disabled and excluded from production builds.\n\nFor details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\n\n\n\n';
431    var self = this;
432    this.sender.send(info + JSON.stringify(data), function () {
433      // Revert the 'month processed' flag
434      localStorage.setItem(UsageStatistics.monthProcessedKey, self.currentMonth() - 1);
435    });
436  }
437}], [{
438  key: 'version',
439  get: function get$1() {
440    return '2.1.2';
441  }
442}, {
443  key: 'firstUseKey',
444  get: function get$1() {
445    return 'vaadin.statistics.firstuse';
446  }
447}, {
448  key: 'monthProcessedKey',
449  get: function get$1() {
450    return 'vaadin.statistics.monthProcessed';
451  }
452}, {
453  key: 'optOutKey',
454  get: function get$1() {
455    return 'vaadin.statistics.optout';
456  }
457}]);
458return UsageStatistics;
459}();
460try {
461window.Vaadin = window.Vaadin || {};
462window.Vaadin.usageStatsChecker = window.Vaadin.usageStatsChecker || new UsageStatistics();
463window.Vaadin.usageStatsChecker.maybeGatherAndSend();
464} catch (e) {
465// Intentionally ignored as this is not a problem in the app being developed
466}
467}());
468 vaadin-dev-mode:end **/}const pr=function(){if(typeof En=="function")return En(ur)};function fr(i,t=(e=>(e=window.Vaadin)!=null?e:window.Vaadin={})()){var n;(n=t.registrations)!=null||(t.registrations=[]),t.registrations.push({is:i?"@vaadin/router/".concat(i):"@vaadin/router",version:"2.0.0-rc4"})}fr(),pr();const vr=i=>{const t=getComputedStyle(i).getPropertyValue("animation-name");return t&&t!=="none"},$r=(i,t)=>{const e=()=>{i.removeEventListener("animationend",e),t()};i.addEventListener("animationend",e)};async function mr(i,t){return i.classList.add(t),await new Promise(e=>{if(vr(i)){const n=i.getBoundingClientRect(),r="height: ".concat(n.bottom-n.top,"px; width: ").concat(n.right-n.left,"px");i.setAttribute("style","position: absolute; ".concat(r)),$r(i,()=>{i.classList.remove(t),i.removeAttribute("style"),e()})}else i.classList.remove(t),e()})}var bn=mr;function Sn(i){if(!i||!H(i.path))throw new Error(B('Expected route config to be an object with a "path" string property, or an array of such objects'));if(!At(i.action)&&!Array.isArray(i.children)&&!At(i.children)&&!H(i.component)&&!H(i.redirect))throw new Error(B('Expected route config "'.concat(i.path,'" to include either "component, redirect" or "action" function but none found.')));i.redirect&&["bundle","component"].forEach(t=>{t in i&&console.warn(B('Route config "'.concat(String(i.path),'" has both "redirect" and "').concat(t,'" properties, and "redirect" will always override the latter. Did you mean to only use "').concat(t,'"?')))})}
468function xn(i){kt(i).forEach(t=>Sn(t))}function _r({next:i,...t}){return t}function zt(i,t){const e=t.__effectiveBaseUrl;return e?new URL(i.replace(new RegExp("^\\/","u"),""),e).pathname:i}function Cn(i){return i.map(t=>t.path).reduce((t,e)=>e.length?"".concat(t.replace(new RegExp("\\/$","u"),""),"/").concat(e.replace(new RegExp("^\\/","u"),"")):t,"")}function gr(i){return Cn(i.map(t=>t.route))}function O({chain:i=[],hash:t="",params:e={},pathname:n="",redirectFrom:r,resolver:s,search:o=""},c){var d,h;const a=i.map(l=>l.route);return{baseUrl:(d=s==null?void 0:s.baseUrl)!=null?d:"",getUrl:(l={})=>s?zt(dn(gr(i))({...e,...l}),s):"",hash:t,params:e,pathname:n,redirectFrom:r,route:(h=c!=null?c:Array.isArray(a)?a.at(-1):void 0)!=null?h:null,routes:a,search:o,searchParams:new URLSearchParams(o)}}function Rn(i,t){const e={...i.params};return{redirect:{from:i.pathname,params:e,pathname:t}}}function yr(i,t){if(t.location=O(i),i.chain){const e=i.chain.map(n=>n.route).indexOf(i.route);i.chain[e].element=t}return t}function Bt(i,t,...e){if(typeof i=="function")return i.apply(t,e)}function Pn(i,t,...e){return n=>n&&X(n)&&("cancel"in n||"redirect"in n)?n:Bt(t==null?void 0:t[i],t,...e)}function Ar(i,t){if(!Array.isArray(i)&&!X(i))throw new Error(B('Incorrect "children" value for the route '.concat(String(t.path),": expected array or object, but got ").concat(String(i))));const e=kt(i);e.forEach(n=>Sn(n)),t.__children=e}function wt(i,t){return!window.dispatchEvent(new CustomEvent("vaadin-router-".concat(i),{cancelable:i==="go",detail:t}))}function wr(i){var e;if(typeof i!="object")return String(i);const[t="Unknown"]=(e=new RegExp(" (.*)\\]$","u").exec(String(i)))!=null?e:[];return t==="Object"||t==="Array"?"".concat(t," ").concat(JSON.stringify(i)):t}function Er(i){const{port:t,protocol:e}=i,s=e==="http:"&&t==="80"||e==="https:"&&t==="443"?i.hostname:i.host;return"".concat(e,"//").concat(s)}function Un(i){if(i instanceof Element)return i.nodeName.toLowerCase()}function On(i){var a;if(i.defaultPrevented||i.button!==0||i.shiftKey||i.ctrlKey||i.altKey||i.metaKey)return;let t=i.target;const e=i instanceof MouseEvent?i.composedPath():(a=i.path)!=null?a:[];for(let d=0;d<e.length;d++){const h=e[d];if("nodeName"in h&&h.nodeName.toLowerCase()==="a"){t=h;break}}for(;t&&t instanceof Node&&Un(t)!=="a";)t=t.parentNode;if(!t||Un(t)!=="a")return;const n=t;if(n.target&&n.target.toLowerCase()!=="_self"||n.hasAttribute("download")||n.hasAttribute("router-ignore")||n.pathname===window.location.pathname&&n.hash!==""||(n.origin||Er(n))!==window.location.origin)return;const{hash:s,pathname:o,search:c}=n;wt("go",{hash:s,pathname:o,search:c})&&i instanceof MouseEvent&&(i.preventDefault(),i.type==="click"&&window.scrollTo(0,0))}const br={activate(){window.document.addEventListener("click",On)},inactivate(){window.document.removeEventListener("click",On)}};var Sr=br;function Mn(i){if(i.state==="vaadin-router-ignore")return;const{hash:t,pathname:e,search:n}=window.location;wt("go",{hash:t,pathname:e,search:n})}const xr={activate(){window.addEventListener("popstate",Mn)},inactivate(){window.removeEventListener("popstate",Mn)}};var Cr=xr;let Tn=[];const Rr={CLICK:Sr,POPSTATE:Cr};function Hn(i=[]){Tn.forEach(t=>t.inactivate()),i.forEach(t=>t.activate()),Tn=i}const Pr=256;function Et(){return{cancel:!0}}const Nn={__renderId:-1,params:{},route:{__synthetic:!0,children:[],path:"",action(){}},pathname:"",async next(){return Y}};class Ur extends gn{constructor(e,n){const r=document.head.querySelector("base"),s=r==null?void 0:r.getAttribute("href");super([],{baseUrl:s?new URL(s,document.URL).href.replace(new RegExp("[^/]*$","u"),""):void 0,...n,resolveRoute:async o=>await v(this,p,ri).call(this,o)});R(this,p);U(this,"location",O({resolver:this}));U(this,"ready",Promise.resolve(this.location));R(this,Ct,new WeakSet);R(this,dt,new WeakSet);R(this,Rt,v(this,p,Ce).bind(this));R(this,et,0);R(this,V);U(this,"__previousContext");R(this,nt);R(this,N,null);R(this,M,null);Hn(Object.values(Rr)),this.setOutlet(e),this.subscribe()}setOutlet(e){e&&v(this,p,Se).call(this,e),S(this,V,e)}getOutlet(){return $(this,V)}async setRoutes(e,n=!1){return this.__previousContext=void 0,S(this,nt,void 0),xn(e),super.setRoutes(e),n||v(this,p,Ce).call(this),await this.ready}addRoutes(e){return xn(e),super.addRoutes(e)}async render(e,n=!1){S(this,et,$(this,et)+1);const r=$(this,et),s={...Nn,...H(e)?{hash:"",search:"",pathname:e}:e,__renderId:r};return this.ready=v(this,p,si).call(this,s,n),await this.ready}subscribe(){window.addEventListener("vaadin-router-go",$(this,Rt))}unsubscribe(){window.removeEventListener("vaadin-router-go",$(this,Rt))}static setTriggers(...e){Hn(e)}urlForName(e,n){return $(this,nt)||S(this,nt,sr(this,{cacheKeyProvider(r){return"component"in r&&typeof r.component=="string"?r.component:void 0}})),zt($(this,nt).call(this,e,n!=null?n:void 0),this)}urlForPath(e,n){return zt(dn(e)(n!=null?n:void 0),this)}static go(e){const{pathname:n,search:r,hash:s}=H(e)?new URL(e,"http://a"):e;return wt("go",{pathname:n,search:r,hash:s})}}Ct=new WeakMap,dt=new WeakMap,Rt=new WeakMap,et=new WeakMap,V=new WeakMap,nt=new WeakMap,N=new WeakMap,M=new WeakMap,p=new WeakSet,ri=async function(e){const{route:n}=e;if(At(n.children)){let s=await n.children(_r(e));At(n.children)||({children:s}=n),Ar(s,n)}const r={component:s=>{const o=document.createElement(s);return $(this,dt).add(o),o},prevent:Et,redirect:s=>Rn(e,s)};return await Promise.resolve().then(async()=>
468{if(v(this,p,F).call(this,e))return await Bt(n.action,n,e,r)}).then(s=>{if(s!=null&&(typeof s=="object"||typeof s=="symbol")&&(s instanceof HTMLElement||s===Y||X(s)&&"redirect"in s))return s;if(H(n.redirect))return r.redirect(n.redirect)}).then(s=>{if(s!=null)return s;if(H(n.component))return r.component(n.component)})},si=async function(e,n){var s,o;const{__renderId:r}=e;try{const c=await this.resolve(e),a=await v(this,p,Ft).call(this,c);if(!v(this,p,F).call(this,a))return this.location;const d=this.__previousContext;if(a===d)return v(this,p,Vt).call(this,d,!0),this.location;if(this.location=O(a),n&&v(this,p,Vt).call(this,a,r===1),wt("location-changed",{router:this,location:this.location}),a.__skipAttach)return v(this,p,xe).call(this,a,d),this.__previousContext=a,this.location;v(this,p,li).call(this,a,d);const h=v(this,p,pi).call(this,a);if(v(this,p,ui).call(this,a),v(this,p,di).call(this,a,d),await h,v(this,p,F).call(this,a))return v(this,p,ci).call(this),this.__previousContext=a,this.location}catch(c){if(r===$(this,et)){n&&v(this,p,Vt).call(this,this.context);
468for(const a of(o=(s=$(this,V))==null?void 0:s.children)!=null?o:[])a.remove();throw this.location=O(Object.assign(e,{resolver:this})),wt("error",{router:this,error:c,...e}),c}}return this.location},Ft=async function(e,n=e){var l;const r=await v(this,p,ye).call(this,n),o=r!==n?r:e,a=zt(Cn((l=r.chain)!=null?l:[]),this)===r.pathname,d=async(u,f=u.route,g)=>{const m=await u.next(!1,f,g);return m===null||m===Y?a?u:f.parent!=null?await d(u,f.parent,m):m:m},h=await d(r);if(h==null||h===Y)throw vn(o);return h!==r?await v(this,p,Ft).call(this,o,h):await v(this,p,oi).call(this,r)},ye=async function(e){const{result:n}=e;if(n instanceof HTMLElement)return yr(e,n),e;if(n&&"redirect"in n){const r=await v(this,p,be).call(this,n.redirect,e.__redirectCount,e.__renderId);return await v(this,p,ye).call(this,r)}throw n instanceof Error?n:new Error(B('Invalid route resolution result for path "'.concat(e.pathname,'". Expected redirect object or HTML element, but got: "').concat(wr(n),'". Double check the action return value for the route.')))},oi=async function(e){return await v(this,p,ai).call(this,e).then(async n=>n===this.__previousContext||n===e?n:await v(this,p,Ft).call(this,n))},ai=async function(e){var a,d,h;const n=(a=this.__previousContext)!=null?a:{},r=(d=n.chain)!=null?d:[],s=(h=e.chain)!=null?h:[];let o=Promise.resolve(void 0);const c=l=>Rn(e,l);if(e.__divergedChainIndex=0,e.__skipAttach=!1,r.length){for(let l=0;l<Math.min(r.length,s.length)&&!(r[l].route!==s[l].route||r[l].path!==s[l].path&&r[l].element!==s[l].element||!v(this,p,Ee).call(this,r[l].element,s[l].element));e.__divergedChainIndex++,l++);if(e.__skipAttach=s.length===r.length&&e.__divergedChainIndex===s.length&&v(this,p,Ee).call(this,e.result,n.result),e.__skipAttach){for(let l=s.length-1;l>=0;l--)o=v(this,p,Ae).call(this,o,e,{prevent:Et},r[l]);for(let l=0;l<s.length;l++)o=v(this,p,we).call(this,o,e,{prevent:Et,redirect:c},s[l]),r[l].element.location=O(e,r[l].route)}else for(let l=r.length-1;l>=e.__divergedChainIndex;l--)o=v(this,p,Ae).call(this,o,e,{prevent:Et},r[l])}if(!e.__skipAttach)for(let l=0;l<s.length;l++)l<e.__divergedChainIndex?l<r.length&&r[l].element&&(r[l].element.location=O(e,r[l].route)):(o=v(this,p,we).call(this,o,e,{prevent:Et,redirect:c},s[l]),s[l].element&&(s[l].element.location=O(e,s[l].route)));return await o.then(async l=>{if(l&&X(l)){if("cancel"in l&&this.__previousContext)return this.__previousContext.__renderId=e.__renderId,this.__previousContext;if("redirect"in l)return await v(this,p,be).call(this,l.redirect,e.__redirectCount,e.__renderId)}return e})},Ae=async function(e,n,r,s){const o=O(n);let c=await e;if(v(this,p,F).call(this,n)&&(c=Pn("onBeforeLeave",s.element,o,r,this)(c)),!(X(c)&&"redirect"in c))return c},we=async function(e,n,r,s){const o=O(n,s.route),c=await e;if(v(this,p,F).call(this,n))return Pn("onBeforeEnter",s.element,o,r,this)(c)},Ee=function(e,n){return e instanceof Element&&n instanceof Element?$(this,dt).has(e)&&$(this,dt).has(n)?e.localName===n.localName:e===n:!1},F=function(e){return e.__renderId===$(this,et)},be=async function(e,n=0,r=0){if(n>Pr)throw new Error(B("Too many redirects when rendering ".concat(e.from)));return await this.resolve({...Nn,pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:n+1,__renderId:r})},Se=function(e=$(this,V)){if(!(e instanceof Element||e instanceof DocumentFragment))throw new TypeError(B("Expected router outlet to be a valid DOM Element | DocumentFragment (but got ".concat(e,")")))},Vt=function({pathname:e,search:n="",hash:r=""},s){if(window.location.pathname!==e||window.location.search!==n||window.location.hash!==r){const o=s?"replaceState":"pushState";window.history[o](null,document.title,e+n+r),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}},xe=function(e,n){var s,o;let r=$(this,V);for(let c=0;c<((s=e.__divergedChainIndex)!=null?s:0);c++){const a=(o=n==null?void 0:n.chain)==null?void 0:o[c].element;if(a)if(a.parentNode===r)e.chain[c].element=a,r=a;else break}return r},li=function(e,n){var o,c,a,d;v(this,p,Se).call(this),v(this,p,hi).call(this);const r=v(this,p,xe).call(this,e,n);S(this,N,[]),S(this,M,Array.from((o=r==null?void 0:r.children)!=null?o:[]).filter(h=>$(this,Ct).has(h)&&h!==e.result));let s=r;for(let h=(c=e.__divergedChainIndex)!=null?c:0;h<((d=(a=e.chain)==null?void 0:a.length)!=null?d:0);h++){const l=e.chain[h].element;l&&(s==null||s.appendChild(l),$(this,Ct).add(l),s===r&&$(this,N).push(l),s=l)}},ci=function(){if($(this,M))for(const e of $(this,M))e.remove();S(this,M,null),S(this,N,null)},hi=function(){if($(this,M)&&$(this,N)){for(const e of $(this,N))e.remove();S(this,M,null),S(this,N,null)}},di=function(e,n){var r;if(!(!(n!=null&&n.chain)||e.__divergedChainIndex==null))for(let s=n.chain.length-1;s>=e.__divergedChainIndex&&v(this,p,F).call(this,e);s--){const o=n.chain[s].element;if(o)try{const c=O(e);Bt(o.onAfterLeave,o,c,{},this)}finally{if((r=$(this,M))!=null&&r.includes(o))for(const c of o.children)c.remove()}}},ui=function(e){if(!(!e.chain||e.__divergedChainIndex==null))for(let n=e.__divergedChainIndex;n<e.chain.length&&v(this,p,F).call(this,e);n++){const r=e.chain[n].element;if(r){const s=O(e,e.chain[n].route);Bt(r.onAfterEnter,r,s,{},this)}}},pi=async function(e){var a,d;const n=(a=$(this,M))==null?void 0:a[0],r=(d=$(this,N))==null?void 0:d[0],s=[],{chain:o=[]}=e;let c;for(let h=o.length-1;h>=0;h--)if(o[h].route.animate){c=o[h].route.animate;break}
468if(n&&r&&c){const h=X(c)&&c.leave?c.leave:"leaving",l=X(c)&&c.enter?c.enter:"entering";s.push(bn(n,h)),s.push(bn(r,l))}return await Promise.all(s),e},Ce=function(e){const{pathname:n,search:r,hash:s}=e instanceof CustomEvent?e.detail:window.location;H(this.__normalizePathname(n))&&(e!=null&&e.preventDefault&&e.preventDefault(),this.render({pathname:n,search:r,hash:s},!0))};var Ln=Object.freeze,Or=Object.defineProperty,Mr=(i,t)=>Ln(Or(i,"raw",{value:Ln(t||i.slice())})),In;const Tr=mt(In||(In=Mr(["\n:host {\n  display: flex;\n  flex-direction: column;\n}\n\nmain {\n  flex-grow: 1;\n  margin: 0 50px;\n}"])));var kn=Object.freeze,Hr=Object.defineProperty,Nr=(i,t)=>kn(Hr(i,"raw",{value:kn(t||i.slice())})),Dn;const Lr=mt(Dn||(Dn=Nr(["\n  .mt-header {\n    display: flex;\n    flex-direction: row;\n    justify-content: space-between;\n    align-items: center;\n    grid-column: 1 / -1;\n    border-color: #ccc;\n    position: sticky;\n    top: 0px;\n    z-index: 1100;\n    height: 60px;\n    background-color: white;\n  }\n\n  .img-wrapper {\n    padding: 5px;\n    border-radius: 5px;\n    display: flex;\n    align-items: center;\n  }\n\n  img {\n    width: 35px;\n    border: 1px solid var(--primary-color);\n    padding: 5px;\n    border-radius: 10px;\n  }\n\n  .brand-name {\n    //font-size: 1.5rem;\n  }\n\n  .left {\n    display: flex;\n  }\n\n  .right {\n    display: flex;\n    gap: 10px;\n  }\n\n  button {\n    background: none;\n    border: none;\n    padding: 0;\n    margin: 0;\n    cursor: pointer;\n    outline: none;\n  }\n\n  .overlay {\n    position: fixed;\n    top: 50px;\n    left: 50px;\n    right: 50px;\n    bottom: 50px;\n    background-color: var(--primary-color);\n    opacity: 0;\n    display: none;\n    justify-content: center;
468\n    align-items: center;\n    z-index: 1200;\n    visibility: hidden;\n    transition: opacity 0.3s ease, visibility 0.3s ease;\n  }\n\n  .overlay.show {\n    display: flex;\n    opacity: 0.9;\n    visibility: visible;\n  }\n\n  .overlay-menu {\n    background: white;\n    padding: 20px;\n    border-radius: 5px;\n    text-align: center;\n  }\n\n  .overlay-menu a {\n    display: block;\n    margin: 10px 0;\n    color: black;\n    text-decoration: none;\n  }\n"])));var jn=Object.freeze,zn=Object.defineProperty,Ir=(i,t,e)=>t in i?zn(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,Bn=(i,t,e)=>Ir(i,typeof t!="symbol"?t+"":t,e),$e=(i,t)=>jn(zn(i,"raw",{value:jn(t||i.slice())})),Fn,Vn,Wn;const kr=new URL(new URL("9c160540.png",import.meta.url).href,import.meta.url).href;class me extends j{constructor(){super(),this.isMenuOpen=!1,this.handleKeyDown=this.handleKeyDown.bind(this)}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){document.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback()}handleMenuClick(){this.isMenuOpen=!this.isMenuOpen,this.isMenuOpen?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}handleKeyDown(t){t.key==="Escape"&&(this.isMenuOpen=!1,document.body.classList.remove("no-scroll"))}render(){return lt(Wn||(Wn=$e(['\n      <header class="mt-header">\n        <div class="left">\n          <div class="img-wrapper">\n            <img src=',' alt="logo" />\n          </div>\n          <h3 class="brand-name">SmallPDF.ai</h3>\n        </div>\n        <div class="right">\n          <button @click=',">\n            ",'\n          </button>\n        </div>\n      </header>\n      <div class="overlay ','">\n        <div class="overlay-menu">\n          <a href="/">Home</a>\n          <a href="/compress">Compress</a>\n          <a href="/ai-assistant">AI Assistant</a>\n        </div>\n      </div>\n    '])),kr,this.handleMenuClick,this.isMenuOpen?lt(Fn||(Fn=$e(['\n                  <svg\n                    width="27px"\n                    height="27px"\n                    stroke-width="1.5"\n                    viewB
468ox="0 0 24 24"\n                    fill="none"\n                    xmlns="http://www.w3.org/2000/svg"\n                    color="#000000"\n                  >\n                    <path\n                      d="M6.75827 17.2426L12.0009 12M17.2435 6.75736L12.0009 12M12.0009 12L6.75827 6.75736M12.0009 12L17.2435 17.2426"\n                      stroke="#000000"\n                      stroke-width="1"\n                      stroke-linecap="round"\n                      stroke-linejoin="round"\n                    ></path>\n                  </svg>\n                ']))):lt(Vn||(Vn=$e(['\n                  <svg\n                    xmlns="http://www.w3.org/2000/svg"\n                    width="27"\n                    height="27"\n                    viewBox="0 0 24 24"\n                    fill="none"\n                    stroke="#000000"\n                    stroke-width="1"\n                    stroke-linecap="round"\n                    stroke-linejoin="round"\n                  >\n                    <rect x="3" y="3" width="7" height="7"></rect>\n                    <rect x="14" y="3" width="7" height="7"></rect>\n                    <rect x="14" y="14" width="7" height="7"></rect>\n                    <rect x="3" y="14" width="7" height="7"></rect>\n                  </svg>\n                ']))),this.isMenuOpen?"show":"")}}Bn(me,"properties",{isMenuOpen:{type:Boolean}}),Bn(me,"styles",[Lr]),customElements.define("mt-header",me);var Kn=Object.freeze,Dr=Object.defineProperty,jr=(i,t)=>Kn(Dr(i,"raw",{value:Kn(t||i.slice())})),qn;const zr=mt(qn||(qn=jr(["\n  .mt-footer {\n    padding: 10px;\n    display: flex;\n    flex-direction: column;\n    justify-content: space-between;\n    align-items: center;\n    grid-column: 1 / -1;\n    border-top: 1px solid var(--primary-color);\n    height: 50px;\n  }\n\n  .left {\n    display: flex;\n    gap: 10px;\n  }\n"])));var Gn=Object.freeze,Zn=Object.defineProperty,Br=(i,t,e)=>t in i?Zn(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,Jn=(i,t,e)=>Br(i,typeof t!="symbol"?t+"":t,e),Fr=(i,t)=>Gn(Zn(i,"raw",{value:Gn(t||i.slice())})),Qn;class _e extends j{constructor(){super(),this.header="My app"}render(){return lt(Qn||(Qn=Fr(['\n        <footer class="mt-footer">\n          <div>Copyright &copy; 2024 SmallPDF.ai</div>\n          <div>[email protected]</div>\n        </footer>\n    '])))}}Jn(_e,"properties",{header:{type:String}}),Jn(_e,"styles",[zr]),customElements.define("mt-footer",_e);const Vr=[{path:"/",component:"mt-home",action:()=>import("./a395c60b.js")},{path:"/compress",component:"mt-compress",action:()=>import("./12d1383c.js")},{path:"/ai-assistant",component:"mt-ai-assistant",action:()=>import("./49b358f0.js")},{path:"(.*)",component:"mt-page-not-found",action:()=>import("./e4abde1a.js")}];var Xn=Object.freeze,Wr=Object.defineProperty,Kr=(i,t)=>Xn(Wr(i,"raw",{value:Xn(t||i.slice())})),Yn;const qr=mt(Yn||(Yn=Kr(["\n  :host {\n    --primary-color: #f8b21c;\n    --font-size-large: 20px;\n  }\n"])));var ti=Object.freeze,ei=Object.defineProperty,Gr=(i,t,e)=>t in i?ei(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,ni=(i,t,e)=>Gr(i,typeof t!="symbol"?t+"":t,e),Zr=(i,t)=>ti(ei(i,"raw",{value:ti(t||i.slice())})),ii;class ge extends j{firstUpdated(){new Ur(this.shadowRoot.getElementById("outlet")).setRoutes(Vr)}constructor(){super(),this.header="My app"}render(){return lt(ii||(ii=Zr(['\n      <main>\n        <mt-header></mt-header>\n        <div id="outlet"></div>\n        <mt-footer></mt-footer>\n      </main>\n    '])))}}ni(ge,"properties",{header:{type:String}}),ni(ge,"styles",[qr,Tr]),customElements.define("mt-app",ge);export{mt as i,j as s,lt as x};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.