universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
2 lines (1 loc) • 33 kB
JavaScript
import{b as at}from"./chunk-L67DAW3A.js";var Rt=at({"./al-angle-editor_31-ios.entry.js":()=>import("./al-angle-editor_31-ios.entry-OMLZ4OXJ.js"),"./al-angle-editor_31-md.entry.js":()=>import("./al-angle-editor_31-md.entry-4PYY7LVM.js"),"./ion-action-sheet-controller.entry.js":()=>import("./ion-action-sheet-controller.entry-5PUU25IX.js"),"./ion-action-sheet-ios.entry.js":()=>import("./ion-action-sheet-ios.entry-TAKQ75YQ.js"),"./ion-action-sheet-md.entry.js":()=>import("./ion-action-sheet-md.entry-W2N26L6S.js"),"./ion-alert-controller.entry.js":()=>import("./ion-alert-controller.entry-JFO6HCYT.js"),"./ion-alert-ios.entry.js":()=>import("./ion-alert-ios.entry-XMDOPWAL.js"),"./ion-alert-md.entry.js":()=>import("./ion-alert-md.entry-7GPZNHZ2.js"),"./ion-anchor.entry.js":()=>import("./ion-anchor.entry-KMXKYLBT.js"),"./ion-avatar-ios.entry.js":()=>import("./ion-avatar-ios.entry-WVJYV2WF.js"),"./ion-avatar-md.entry.js":()=>import("./ion-avatar-md.entry-HEOUSJDW.js"),"./ion-back-button-ios.entry.js":()=>import("./ion-back-button-ios.entry-PCU4JZWP.js"),"./ion-back-button-md.entry.js":()=>import("./ion-back-button-md.entry-DIH52O4R.js"),"./ion-backdrop-ios.entry.js":()=>import("./ion-backdrop-ios.entry-TNF4YZBT.js"),"./ion-backdrop-md.entry.js":()=>import("./ion-backdrop-md.entry-WH5KUJZP.js"),"./ion-badge-ios.entry.js":()=>import("./ion-badge-ios.entry-TZYMMKQI.js"),"./ion-badge-md.entry.js":()=>import("./ion-badge-md.entry-UXBVDMPZ.js"),"./ion-buttons-ios.entry.js":()=>import("./ion-buttons-ios.entry-D7HJ6VNH.js"),"./ion-buttons-md.entry.js":()=>import("./ion-buttons-md.entry-BS2QS3RC.js"),"./ion-card-content-ios.entry.js":()=>import("./ion-card-content-ios.entry-GEOVPOKV.js"),"./ion-card-content-md.entry.js":()=>import("./ion-card-content-md.entry-35T5K5CN.js"),"./ion-card-header-ios.entry.js":()=>import("./ion-card-header-ios.entry-ITXCNCHI.js"),"./ion-card-header-md.entry.js":()=>import("./ion-card-header-md.entry-ZJYYJF36.js"),"./ion-card-ios.entry.js":()=>import("./ion-card-ios.entry-TIZOQRPY.js"),"./ion-card-md.entry.js":()=>import("./ion-card-md.entry-YETWROJQ.js"),"./ion-card-subtitle-ios.entry.js":()=>import("./ion-card-subtitle-ios.entry-4LBYJHP6.js"),"./ion-card-subtitle-md.entry.js":()=>import("./ion-card-subtitle-md.entry-TJMGSQVV.js"),"./ion-card-title-ios.entry.js":()=>import("./ion-card-title-ios.entry-6PDWB6SL.js"),"./ion-card-title-md.entry.js":()=>import("./ion-card-title-md.entry-5FNWXMPW.js"),"./ion-checkbox-ios.entry.js":()=>import("./ion-checkbox-ios.entry-NB26IQQ3.js"),"./ion-checkbox-md.entry.js":()=>import("./ion-checkbox-md.entry-S63ILYWW.js"),"./ion-chip-ios.entry.js":()=>import("./ion-chip-ios.entry-2AJ6BHL2.js"),"./ion-chip-md.entry.js":()=>import("./ion-chip-md.entry-WNPXR6TM.js"),"./ion-col.entry.js":()=>import("./ion-col.entry-KGZPTU57.js"),"./ion-content.entry.js":()=>import("./ion-content.entry-WOGCWLHG.js"),"./ion-datetime-ios.entry.js":()=>import("./ion-datetime-ios.entry-ZOY4BSKW.js"),"./ion-datetime-md.entry.js":()=>import("./ion-datetime-md.entry-MAQTMO6X.js"),"./ion-fab-button-ios.entry.js":()=>import("./ion-fab-button-ios.entry-4H7K54H5.js"),"./ion-fab-button-md.entry.js":()=>import("./ion-fab-button-md.entry-VOGKIEZS.js"),"./ion-fab-list.entry.js":()=>import("./ion-fab-list.entry-NSUFZKRX.js"),"./ion-fab.entry.js":()=>import("./ion-fab.entry-HHWUFVBR.js"),"./ion-footer-ios.entry.js":()=>import("./ion-footer-ios.entry-GVRUX42E.js"),"./ion-footer-md.entry.js":()=>import("./ion-footer-md.entry-TO3TL5HP.js"),"./ion-grid.entry.js":()=>import("./ion-grid.entry-PO7B3B64.js"),"./ion-header-ios.entry.js":()=>import("./ion-header-ios.entry-OSR6IMV2.js"),"./ion-header-md.entry.js":()=>import("./ion-header-md.entry-LFMVDV3Y.js"),"./ion-img.entry.js":()=>import("./ion-img.entry-CYK7SLXV.js"),"./ion-infinite-scroll-content-ios.entry.js":()=>import("./ion-infinite-scroll-content-ios.entry-SSBM6CVD.js"),"./ion-infinite-scroll-content-md.entry.js":()=>import("./ion-infinite-scroll-content-md.entry-XQ6IYSFT.js"),"./ion-infinite-scroll.entry.js":()=>import("./ion-infinite-scroll.entry-CO4GANFK.js"),"./ion-item-group-ios.entry.js":()=>import("./ion-item-group-ios.entry-NHCGVTLC.js"),"./ion-item-group-md.entry.js":()=>import("./ion-item-group-md.entry-V6OPCOVM.js"),"./ion-item-option-ios.entry.js":()=>import("./ion-item-option-ios.entry-MEFT34PX.js"),"./ion-item-option-md.entry.js":()=>import("./ion-item-option-md.entry-AIUFVQBQ.js"),"./ion-item-options-ios.entry.js":()=>import("./ion-item-options-ios.entry-UMLJ2HEV.js"),"./ion-item-options-md.entry.js":()=>import("./ion-item-options-md.entry-UO5EJCNI.js"),"./ion-item-sliding.entry.js":()=>import("./ion-item-sliding.entry-MRUI7MDD.js"),"./ion-loading-controller.entry.js":()=>import("./ion-loading-controller.entry-KWH75QEW.js"),"./ion-loading-ios.entry.js":()=>import("./ion-loading-ios.entry-BAOZ4CH6.js"),"./ion-loading-md.entry.js":()=>import("./ion-loading-md.entry-YG7KBK5R.js"),"./ion-menu-button-ios.entry.js":()=>import("./ion-menu-button-ios.entry-OHMIV6DB.js"),"./ion-menu-button-md.entry.js":()=>import("./ion-menu-button-md.entry-2OYTIBMS.js"),"./ion-menu-controller.entry.js":()=>import("./ion-menu-controller.entry-CZ6AHUO3.js"),"./ion-menu-ios.entry.js":()=>import("./ion-menu-ios.entry-T7ETQSFR.js"),"./ion-menu-md.entry.js":()=>import("./ion-menu-md.entry-ZLXKUYBA.js"),"./ion-menu-toggle.entry.js":()=>import("./ion-menu-toggle.entry-DCF3IBWU.js"),"./ion-modal-controller.entry.js":()=>import("./ion-modal-controller.entry-4XEPKPBE.js"),"./ion-modal-ios.entry.js":()=>import("./ion-modal-ios.entry-BJ53GYMU.js"),"./ion-modal-md.entry.js":()=>import("./ion-modal-md.entry-HVZGKIU6.js"),"./ion-nav-link.entry.js":()=>import("./ion-nav-link.entry-MIYCQAML.js"),"./ion-nav-pop.entry.js":()=>import("./ion-nav-pop.entry-AMIW2HIU.js"),"./ion-nav-push.entry.js":()=>import("./ion-nav-push.entry-QXORSVSF.js"),"./ion-nav-set-root.entry.js":()=>import("./ion-nav-set-root.entry-NIPGN44R.js"),"./ion-nav.entry.js":()=>import("./ion-nav.entry-TINVQULZ.js"),"./ion-note-ios.entry.js":()=>import("./ion-note-ios.entry-4NEUQ6KE.js"),"./ion-note-md.entry.js":()=>import("./ion-note-md.entry-D77HSL36.js"),"./ion-picker-column-ios.entry.js":()=>import("./ion-picker-column-ios.entry-XVVCBZ4H.js"),"./ion-picker-column-md.entry.js":()=>import("./ion-picker-column-md.entry-MKX4QFQC.js"),"./ion-picker-controller.entry.js":()=>import("./ion-picker-controller.entry-Y35LKMCP.js"),"./ion-picker-ios.entry.js":()=>import("./ion-picker-ios.entry-Y4AAQQU5.js"),"./ion-picker-md.entry.js":()=>import("./ion-picker-md.entry-MR5CAOII.js"),"./ion-popover-controller.entry.js":()=>import("./ion-popover-controller.entry-RP4RJHXZ.js"),"./ion-popover-ios.entry.js":()=>import("./ion-popover-ios.entry-G2VMIGLO.js"),"./ion-popover-md.entry.js":()=>import("./ion-popover-md.entry-6R4N3UKF.js"),"./ion-progress-bar-ios.entry.js":()=>import("./ion-progress-bar-ios.entry-MMYUHEXB.js"),"./ion-progress-bar-md.entry.js":()=>import("./ion-progress-bar-md.entry-ZMX56WWO.js"),"./ion-radio_2-ios.entry.js":()=>import("./ion-radio_2-ios.entry-XSAPCP6P.js"),"./ion-radio_2-md.entry.js":()=>import("./ion-radio_2-md.entry-GJENMBL2.js"),"./ion-refresher-content.entry.js":()=>import("./ion-refresher-content.entry-DK2C55WE.js"),"./ion-refresher-ios.entry.js":()=>import("./ion-refresher-ios.entry-3JJKYAIW.js"),"./ion-refresher-md.entry.js":()=>import("./ion-refresher-md.entry-EPQIHM53.js"),"./ion-reorder-group.entry.js":()=>import("./ion-reorder-group.entry-ISEMBL2H.js"),"./ion-reorder-ios.entry.js":()=>import("./ion-reorder-ios.entry-3UBPXSFH.js"),"./ion-reorder-md.entry.js":()=>import("./ion-reorder-md.entry-6FA6O2LT.js"),"./ion-route-redirect.entry.js":()=>import("./ion-route-redirect.entry-QIXEMVVU.js"),"./ion-route.entry.js":()=>import("./ion-route.entry-VXWGN4WN.js"),"./ion-router-link.entry.js":()=>import("./ion-router-link.entry-6TGN5N7L.js"),"./ion-router-outlet.entry.js":()=>import("./ion-router-outlet.entry-AUWWMBQV.js"),"./ion-router.entry.js":()=>import("./ion-router.entry-W2SVQJTH.js"),"./ion-row.entry.js":()=>import("./ion-row.entry-MAYNSYI3.js"),"./ion-searchbar-ios.entry.js":()=>import("./ion-searchbar-ios.entry-WQYHBHXG.js"),"./ion-searchbar-md.entry.js":()=>import("./ion-searchbar-md.entry-JN52TJ7V.js"),"./ion-segment-button-ios.entry.js":()=>import("./ion-segment-button-ios.entry-GKCDIYX3.js"),"./ion-segment-button-md.entry.js":()=>import("./ion-segment-button-md.entry-BALC4D3P.js"),"./ion-segment-ios.entry.js":()=>import("./ion-segment-ios.entry-ZR2RQUOE.js"),"./ion-segment-md.entry.js":()=>import("./ion-segment-md.entry-NHQ5E4YW.js"),"./ion-select-popover.entry.js":()=>import("./ion-select-popover.entry-VSWY3RAD.js"),"./ion-skeleton-text.entry.js":()=>import("./ion-skeleton-text.entry-ZGG26QMP.js"),"./ion-slide.entry.js":()=>import("./ion-slide.entry-DJEYADQF.js"),"./ion-slides-ios.entry.js":()=>import("./ion-slides-ios.entry-LI7DHKLN.js"),"./ion-slides-md.entry.js":()=>import("./ion-slides-md.entry-DIJDYGOJ.js"),"./ion-spinner.entry.js":()=>import("./ion-spinner.entry-JFBRXGCW.js"),"./ion-split-pane-ios.entry.js":()=>import("./ion-split-pane-ios.entry-K26VONNT.js"),"./ion-split-pane-md.entry.js":()=>import("./ion-split-pane-md.entry-PRSDWRN5.js"),"./ion-tabs.entry.js":()=>import("./ion-tabs.entry-FIBYYYQB.js"),"./ion-text.entry.js":()=>import("./ion-text.entry-GDN2YV5Y.js"),"./ion-thumbnail.entry.js":()=>import("./ion-thumbnail.entry-IJPBREOB.js"),"./ion-title.entry.js":()=>import("./ion-title.entry-6FZ2GG27.js"),"./ion-toast-controller.entry.js":()=>import("./ion-toast-controller.entry-KG6ALDGD.js"),"./ion-toast-ios.entry.js":()=>import("./ion-toast-ios.entry-RR5ABBB5.js"),"./ion-toast-md.entry.js":()=>import("./ion-toast-md.entry-THL3Z4ED.js"),"./ion-toolbar-ios.entry.js":()=>import("./ion-toolbar-ios.entry-KDM6GTO7.js"),"./ion-toolbar-md.entry.js":()=>import("./ion-toolbar-md.entry-SZTLDFPL.js"),"./ion-virtual-scroll.entry.js":()=>import("./ion-virtual-scroll.entry-NQNRYDVT.js")});var _t=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,n){a.__proto__=n}||function(a,n){for(var i in n)n.hasOwnProperty(i)&&(a[i]=n[i])},t(e,r)};return function(e,r){t(e,r);function a(){this.constructor=e}e.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}}(),Dt=function(t,e,r,a){return new(r||(r=Promise))(function(n,i){function o(u){try{f(a.next(u))}catch(c){i(c)}}function s(u){try{f(a.throw(u))}catch(c){i(c)}}function f(u){u.done?n(u.value):new r(function(c){c(u.value)}).then(o,s)}f((a=a.apply(t,e||[])).next())})},Gt=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(c){return f([u,c])}}function f(u){if(a)throw new TypeError("Generator is already executing.");for(;r;)try{if(a=1,n&&(i=u[0]&2?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,n=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(c){u=[6,c],n=0}finally{a=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Jt=void 0;var K=0,Q=!1,P,ht,J,pt=!1,q=!1,R=!1,b=!1,E=window,d=document,v={$flags$:0,$resourcesUrl$:"",jmp:function(t){return t()},raf:function(t){return requestAnimationFrame(t)},ael:function(t,e,r,a){return t.addEventListener(e,r,a)},rel:function(t,e,r,a){return t.removeEventListener(e,r,a)}},_=function(){return!!d.documentElement.attachShadow}(),Yt=function(){var t=!1;try{d.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){t=!0}}))}catch{}return t}(),Kt=function(){try{return new CSSStyleSheet,!0}catch{}return!1}(),D={},N=new WeakMap,S=function(t){return N.get(t)},Qe=function(t,e){return N.set(e.$lazyInstance$=t,e)},Mt=function(t){{var e={$flags$:0,$hostElement$:t,$instanceValues$:new Map};return e.$onReadyPromise$=new Promise(function(r){return e.$onReadyResolve$=r}),N.set(t,e)}},M=function(t,e){return e in t},x=function(t){return console.error(t)},it=new Map,Qt=function(t,e,r){var a=t.$tagName$.replace(/-/g,"_"),n=typeof t.$lazyBundleIds$!="string"?t.$lazyBundleIds$[e.$modeName$]:t.$lazyBundleIds$,i=it.get(n);return i?i[a]:Rt("./"+n+".entry.js").then(function(o){return it.set(n,o),o[a]},x)},z=new Map,U=function(){return E.__stencil_cssshim}(),X=[],A=[],F=[],yt=function(t,e){return function(r){t.push(r),Q||(Q=!0,e&&v.$flags$&4?V(Z):v.raf(Z))}},Xt=function(t){for(var e=0;e<t.length;e++)try{t[e](performance.now())}catch(r){x(r)}t.length=0},st=function(t,e){for(var r=0,a=0;r<t.length&&(a=performance.now())<e;)try{t[r++](a)}catch(n){x(n)}r===t.length?t.length=0:r!==0&&t.splice(0,r)},Z=function(){K++,Xt(X);var t=(v.$flags$&6)===2?performance.now()+10*Math.ceil(K*(1/22)):1/0;st(A,t),st(F,t),A.length>0&&(F.push.apply(F,A),A.length=0),(Q=X.length+A.length+F.length>0)?v.raf(Z):K=0},V=function(t){return Promise.resolve().then(t)},Zt=yt(X,!1),bt=yt(A,!0),ot={},Ct="http://www.w3.org/2000/svg",m=function(t){return t!=null},L=function(t){return t.toLowerCase()},tt=function(t){return t=typeof t,t==="object"||t==="function"};var Xe=function(){return E.CSS&&E.CSS.supports&&E.CSS.supports("color","var(--c)")?Promise.resolve():import("./css-shim-8178315f-8178315f-HZRJ5C7Z.js")};var Nt=function(t,e){return t!=null&&!tt(t)?e&4?t==="false"?!1:t===""||!!t:e&2?parseFloat(t):e&1?String(t):t:t},mt="hydrated",ut="http://www.w3.org/1999/xlink",ft=new WeakMap,Vt=function(t,e,r){var a=z.get(t);Kt&&r?(a=a||new CSSStyleSheet,a.replace(e)):a=e,z.set(t,a)},te=function(t,e,r,a){var n=C(e.$tagName$,r),i=z.get(n);if(t=t.nodeType===11?t:d,i||(n=C(e.$tagName$),i=z.get(n)),i)if(typeof i=="string"){t=t.head||t;var o=ft.get(t),s=void 0;if(o||ft.set(t,o=new Set),!o.has(n)){{if(U){s=U.createHostStyle(a,n,i,!!(e.$flags$&10));var f=s["s-sc"];f&&(n=f,o=null)}else s=d.createElement("style"),s.innerHTML=i;t.insertBefore(s,t.querySelector("link"))}o&&o.add(n)}}else t.adoptedStyleSheets.includes(i)||(t.adoptedStyleSheets=t.adoptedStyleSheets.concat([i]));return n},ee=function(t,e,r){var a=te(_&&t.shadowRoot?t.shadowRoot:t.getRootNode(),e,r,t);e.$flags$&10&&(t["s-sc"]=a,t.classList.add(a+"-h"),e.$flags$&2&&t.classList.add(a+"-s"))},C=function(t,e){return"sc-"+(e?t+"-"+e:t)},re=function(t,e){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];var n=null,i=!1,o=!1,s,f,u=[],c=function(g){for(var h=0;h<g.length;h++)n=g[h],Array.isArray(n)?c(n):n!=null&&typeof n!="boolean"&&((i=typeof t!="function"&&!tt(n))&&(n=String(n)),i&&o?u[u.length-1].$text$+=n:u.push(i?{$flags$:0,$text$:n}:n),o=i)};if(c(r),e){s=e.key||void 0,f=e.name;{var $=e.className||e.class;$&&(e.class=typeof $!="object"?$:Object.keys($).filter(function(g){return $[g]}).join(" "))}}if(typeof t=="function")return t(e,u,ie);var l={$flags$:0,$tag$:t,$children$:u.length>0?u:null,$elm$:void 0,$attrs$:e};return l.$key$=s,l.$name$=f,l},ne={},ae=function(t){return t&&t.$tag$===ne},ie={forEach:function(t,e){return t.map(ct).forEach(e)},map:function(t,e){return t.map(ct).map(e).map(se)}},ct=function(t){return{vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}},se=function(t){return{$flags$:0,$attrs$:t.vattrs,$children$:t.vchildren,$key$:t.vkey,$name$:t.vname,$tag$:t.vtag,$text$:t.vtext}},$t=function(t,e,r,a,n,i){if(r!==a){if(e==="class"){var o=t.classList;lt(r).forEach(function(l){return o.remove(l)}),lt(a).forEach(function(l){return o.add(l)})}else if(e==="style"){for(var s in r)(!a||a[s]==null)&&(s.includes("-")?t.style.removeProperty(s):t.style[s]="");for(var s in a)(!r||a[s]!==r[s])&&(s.includes("-")?t.style.setProperty(s,a[s]):t.style[s]=a[s])}else if(e!=="key")if(e==="ref")a&&a(t);else if(e.startsWith("on")&&!M(t,e))M(t,L(e))?e=L(e.substring(2)):e=L(e[2])+e.substring(3),r&&v.rel(t,e,r,!1),a&&v.ael(t,e,a,!1);else{var f=M(t,e),u=tt(a);if((f||u&&a!==null)&&!n)try{if(t.tagName.includes("-"))t[e]=a;else{var c=a??"";t[e]!==c&&(t[e]=c)}}catch{}var $=!!(n&&e!==(e=e.replace(/^xlink\:?/,"")));a==null||a===!1?$?t.removeAttributeNS(ut,L(e)):t.removeAttribute(e):(!f||i&4||n)&&!u&&(a=a===!0?"":a.toString(),$?t.setAttributeNS(ut,L(e),a):t.setAttribute(e,a))}}},lt=function(t){return t?t.split(/\s+/).filter(function(e){return e}):[]},St=function(t,e,r,a){var n=e.$elm$.nodeType===11&&e.$elm$.host?e.$elm$.host:e.$elm$,i=t&&t.$attrs$||ot,o=e.$attrs$||ot;for(a in i)a in o||$t(n,a,i[a],void 0,r,e.$flags$);for(a in o)$t(n,a,i[a],o[a],r,e.$flags$)},G=function(t,e,r,a){var n=e.$children$[r],i=0,o,s,f;if(pt||(R=!0,n.$tag$==="slot"&&(P&&a.classList.add(P+"-s"),n.$children$?n.$flags$|=2:n.$flags$|=1)),m(n.$text$))n.$elm$=d.createTextNode(n.$text$);else if(n.$flags$&1)n.$elm$=d.createTextNode("");else{if(o=n.$elm$=b||n.$tag$==="svg"?d.createElementNS(Ct,n.$tag$):d.createElement(n.$flags$&2?"slot-fb":n.$tag$),b=n.$tag$==="svg"?!0:n.$tag$==="foreignObject"?!1:b,St(null,n,b),m(P)&&o["s-si"]!==P&&o.classList.add(o["s-si"]=P),n.$children$)for(i=0;i<n.$children$.length;++i)s=G(t,n,i,o),s&&o.appendChild(s);n.$tag$==="svg"?b=!1:n.$elm$.tagName==="foreignObject"&&(b=!0)}return n.$elm$["s-hn"]=J,n.$flags$&3&&(n.$elm$["s-sr"]=!0,n.$elm$["s-cr"]=ht,n.$elm$["s-sn"]=n.$name$||"",f=t&&t.$children$&&t.$children$[r],f&&f.$tag$===n.$tag$&&t.$elm$&&H(t.$elm$,!1)),n.$elm$},H=function(t,e){v.$flags$|=1;for(var r=t.childNodes,a=r.length-1;a>=0;a--){var n=r[a];n["s-hn"]!==J&&n["s-ol"]&&(It(n).insertBefore(n,et(n)),n["s-ol"].remove(),n["s-ol"]=void 0,R=!0),e&&H(n,e)}v.$flags$&=-2},kt=function(t,e,r,a,n,i){var o=t["s-cr"]&&t["s-cr"].parentNode||t,s;for(o.shadowRoot&&L(o.tagName)===J&&(o=o.shadowRoot);n<=i;++n)a[n]&&(s=G(null,r,n,t),s&&(a[n].$elm$=s,o.insertBefore(s,et(e))))},Et=function(t,e,r,a){for(;e<=r;++e)m(t[e])&&(a=t[e].$elm$,Ot(t[e],!0),q=!0,a["s-ol"]?a["s-ol"].remove():H(a,!0),a.remove())},oe=function(t,e,r,a){for(var n=0,i=0,o=0,s=0,f=e.length-1,u=e[0],c=e[f],$=a.length-1,l=a[0],g=a[$],h,y;n<=f&&i<=$;)if(u==null)u=e[++n];else if(c==null)c=e[--f];else if(l==null)l=a[++i];else if(g==null)g=a[--$];else if(W(u,l))j(u,l),u=e[++n],l=a[++i];else if(W(c,g))j(c,g),c=e[--f],g=a[--$];else if(W(u,g))(u.$tag$==="slot"||g.$tag$==="slot")&&H(u.$elm$.parentNode,!1),j(u,g),t.insertBefore(u.$elm$,c.$elm$.nextSibling),u=e[++n],g=a[--$];else if(W(c,l))(u.$tag$==="slot"||g.$tag$==="slot")&&H(c.$elm$.parentNode,!1),j(c,l),t.insertBefore(c.$elm$,u.$elm$),c=e[--f],l=a[++i];else{for(o=-1,s=n;s<=f;++s)if(e[s]&&m(e[s].$key$)&&e[s].$key$===l.$key$){o=s;break}o>=0?(y=e[o],y.$tag$!==l.$tag$?h=G(e&&e[i],r,o,t):(j(y,l),e[o]=void 0,h=y.$elm$),l=a[++i]):(h=G(e&&e[i],r,i,t),l=a[++i]),h&&It(u.$elm$).insertBefore(h,et(u.$elm$))}n>f?kt(t,a[$+1]==null?null:a[$+1].$elm$,r,a,i,$):i>$&&Et(e,n,f)},W=function(t,e){return t.$tag$===e.$tag$?t.$tag$==="slot"?t.$name$===e.$name$:t.$key$===e.$key$:!1},et=function(t){return t&&t["s-ol"]||t},It=function(t){return(t["s-ol"]?t["s-ol"]:t).parentNode},j=function(t,e){var r=e.$elm$=t.$elm$,a=t.$children$,n=e.$children$,i;b=r&&m(r.parentNode)&&r.ownerSVGElement!==void 0,b=e.$tag$==="svg"?!0:e.$tag$==="foreignObject"?!1:b,m(e.$text$)?(i=r["s-cr"])?i.parentNode.textContent=e.$text$:t.$text$!==e.$text$&&(r.textContent=e.$text$):(e.$tag$==="slot"||St(t,e,b),m(a)&&m(n)?oe(r,a,e,n):m(n)?(m(t.$text$)&&(r.textContent=""),kt(r,null,e,n,0,n.length-1)):m(a)&&Et(a,0,a.length-1)),b&&e.$tag$==="svg"&&(b=!1)},Lt=function(t,e,r,a,n,i,o,s){for(r=t.childNodes,a=0,n=r.length;a<n;a++)if(e=r[a],e.nodeType===1){if(e["s-sr"]){for(o=e["s-sn"],e.hidden=!1,i=0;i<n;i++)if(r[i]["s-hn"]!==e["s-hn"]){if(s=r[i].nodeType,o!==""){if(s===1&&o===r[i].getAttribute("slot")){e.hidden=!0;break}}else if(s===1||s===3&&r[i].textContent.trim()!==""){e.hidden=!0;break}}}Lt(e)}},T=[],Tt=function(t){var e=t.childNodes,r=e.length,a=0,n=0,i=0,o,s,f,u;for(r=e.length;a<r;a++){if(o=e[a],o["s-sr"]&&(s=o["s-cr"]))for(f=s.parentNode.childNodes,u=o["s-sn"],n=f.length-1;n>=0;n--)s=f[n],!s["s-cn"]&&!s["s-nr"]&&s["s-hn"]!==o["s-hn"]&&(i=s.nodeType,((i===3||i===8)&&u===""||i===1&&s.getAttribute("slot")===null&&u===""||i===1&&s.getAttribute("slot")===u)&&(T.some(function(c){return c.$nodeToRelocate$===s})||(q=!0,s["s-sn"]=u,T.push({$slotRefNode$:o,$nodeToRelocate$:s}))));o.nodeType===1&&Tt(o)}},Ot=function(t,e){t&&(t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(e?null:t.$elm$),t.$children$&&t.$children$.forEach(function(r){Ot(r,e)}))},ue=function(t,e,r,a){J=L(t.tagName);var n=e.$vnode$||{$flags$:0},i=ae(a)?a:re(null,null,a);r.$attrsToReflect$&&(i.$attrs$=i.$attrs$||{},r.$attrsToReflect$.forEach(function(l){var g=l[0],h=l[1];return i.$attrs$[h]=t[g]})),i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=n.$elm$=t.shadowRoot||t,P=t["s-sc"],ht=t["s-cr"],pt=_&&(r.$flags$&1)!==0,R=q=!1,j(n,i);{if(R){Tt(i.$elm$);for(var o=0;o<T.length;o++){var s=T[o];if(!s.$nodeToRelocate$["s-ol"]){var f=d.createTextNode("");f["s-nr"]=s.$nodeToRelocate$,s.$nodeToRelocate$.parentNode.insertBefore(s.$nodeToRelocate$["s-ol"]=f,s.$nodeToRelocate$)}}v.$flags$|=1;for(var o=0;o<T.length;o++){for(var s=T[o],u=s.$slotRefNode$.parentNode,c=s.$slotRefNode$.nextSibling,f=s.$nodeToRelocate$["s-ol"];f=f.previousSibling;){var $=f["s-nr"];if($&&$["s-sn"]===s.$nodeToRelocate$["s-sn"]&&u===$.parentNode&&($=$.nextSibling,!$||!$["s-nr"])){c=$;break}}(!c&&u!==s.$nodeToRelocate$.parentNode||s.$nodeToRelocate$.nextSibling!==c)&&s.$nodeToRelocate$!==c&&u.insertBefore(s.$nodeToRelocate$,c)}v.$flags$&=-2}q&&Lt(i.$elm$),T.length=0}},rt=function(t,e,r,a){e.$flags$|=16;var n=e.$lazyInstance$,i=function(){return fe(t,e,r,n,a)},o;return a&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.forEach(function(s){var f=s[0],u=s[1];return I(n,f,u)}),e.$queuedListeners$=null),o=I(n,"componentWillLoad")),o=vt(o,function(){return I(n,"componentWillRender")}),vt(o,function(){return bt(i)})},fe=function(t,e,r,a,n){e.$flags$&=-17,t["s-lr"]=!1,n&&ee(t,r,e.$modeName$);{e.$flags$|=4;try{ue(t,e,r,a.render&&a.render())}catch(i){x(i)}e.$flags$&=-5}U&&U.updateHost(t),t["s-lr"]=!0,e.$flags$|=2,t["s-rc"].length>0&&(t["s-rc"].forEach(function(i){return i()}),t["s-rc"].length=0),xt(t,e)},xt=function(t,e,r){if(!t["s-al"]){var a=e.$lazyInstance$,n=e.$ancestorComponent$;e.$flags$&64?I(a,"componentDidUpdate"):(e.$flags$|=64,t.classList.add(mt),I(a,"componentDidLoad"),e.$onReadyResolve$(t),n||Pt()),n&&((r=n["s-al"])&&(r.delete(t),r.size===0&&(n["s-al"]=void 0,n["s-init"]())),e.$ancestorComponent$=void 0)}},ce=function(t,e){{var r=S(t);r.$flags$&2&&rt(t,r,e,!1)}},Pt=function(){d.documentElement.classList.add(mt),v.$flags$|=2},I=function(t,e,r){if(t&&t[e])try{return t[e](r)}catch(a){x(a)}},vt=function(t,e){return t&&t.then?t.then(e):e()},$e=function(t,e){return S(t).$instanceValues$.get(e)},le=function(t,e,r,a){var n=S(t),i=n.$hostElement$,o=n.$instanceValues$.get(e),s=n.$flags$;if(r=Nt(r,a.$members$[e][0]),r!==o&&(!(s&8)||o===void 0)&&(n.$instanceValues$.set(e,r),n.$lazyInstance$)){if(a.$watchers$&&s&128){var f=a.$watchers$[e];f&&f.forEach(function(u){try{n.$lazyInstance$[u].call(n.$lazyInstance$,r,o,e)}catch(c){x(c)}})}(s&22)===2&&rt(i,n,a,!1)}},At=function(t,e,r){if(e.$members$){t.watchers&&(e.$watchers$=t.watchers);var a=Object.entries(e.$members$),n=t.prototype;if(a.forEach(function(o){var s=o[0],f=o[1][0];f&31||r&2&&f&32?Object.defineProperty(n,s,{get:function(){return $e(this,s)},set:function(u){le(this,s,u,e)},configurable:!0,enumerable:!0}):r&1&&f&64&&Object.defineProperty(n,s,{value:function(){for(var u=[],c=0;c<arguments.length;c++)u[c]=arguments[c];var $=S(this);return $.$onReadyPromise$.then(function(){var l;return(l=$.$lazyInstance$)[s].apply(l,u)})}})}),r&1){var i=new Map;n.attributeChangedCallback=function(o,s,f){var u=this;v.jmp(function(){var c=i.get(o);u[c]=f===null&&typeof u[c]=="boolean"?!1:f})},t.observedAttributes=a.filter(function(o){var s=o[0],f=o[1];return f[0]&15}).map(function(o){var s=o[0],f=o[1],u=f[1]||s;return i.set(u,s),f[0]&512&&e.$attrsToReflect$.push([s,u]),u})}}return t},ve=function(t,e,r){e.$queuedListeners$=e.$queuedListeners$||[];var a=r.map(function(n){var i=n[0],o=n[1],s=n[2],f=de(t,i),u=ge(e,s),c=he(i);return v.ael(f,o,u,c),function(){return v.rel(f,o,u,c)}});return function(){return a.forEach(function(n){return n()})}},ge=function(t,e){return function(r){t.$flags$&256?t.$lazyInstance$[e](r):t.$queuedListeners$.push([e,r])}},de=function(t,e){return e&4?d:e&8?E:e&32?d.body:e&16?t.parentElement:t},he=function(t){return Yt?{passive:(t&1)!==0,capture:(t&2)!==0}:(t&2)!==0},jt=[],pe=function(t){return jt.map(function(e){return e(t)}).find(function(e){return!!e})},wt=function(t){return jt.push(t)},ye=function(t){return S(t).$modeName$},be=function(t,e,r,a,n){return Dt(Jt,void 0,void 0,function(){var i,o,s,f;return Gt(this,function(u){switch(u.label){case 0:return(e.$flags$&32)!==0?[3,5]:(e.$flags$|=32,e.$modeName$==null&&(e.$modeName$=typeof r.$lazyBundleIds$!="string"?pe(t):""),n=Qt(r,e),n.then?[4,n]:[3,2]);case 1:n=u.sent(),u.label=2;case 2:n.isProxied||(r.$watchers$=n.watchers,At(n,r,2),n.isProxied=!0),e.$flags$|=8;try{new n(e)}catch(c){x(c)}return e.$flags$&=-9,e.$flags$|=128,Ut(e.$lazyInstance$),i=C(r.$tagName$,e.$modeName$),!z.has(i)&&n.style?(o=n.style,typeof o!="string"&&(o=o[e.$modeName$]),r.$flags$&8?[4,import("./shadow-css-9e778f69-c68d0961-DTC6NR27.js").then(function(c){return c.scopeCss(o,i,!1)})]:[3,4]):[3,5];case 3:o=u.sent(),u.label=4;case 4:Vt(i,o,!!(r.$flags$&1)),u.label=5;case 5:return s=e.$ancestorComponent$,f=function(){return rt(t,e,r,!0)},s&&s["s-lr"]===!1&&s["s-rc"]?s["s-rc"].push(f):f(),[2]}})})},Ut=function(t){I(t,"connectedCallback")},me=function(t,e){if((v.$flags$&1)===0){var r=S(t);if(e.$listeners$&&(r.$rmListeners$=ve(t,r,e.$listeners$)),!(r.$flags$&1)){r.$flags$|=1;var a=void 0;a||(e.$flags$&4||e.$flags$&8)&&Se(t);for(var n=t;n=n.parentNode||n.host;)if(n["s-init"]&&n["s-lr"]===!1){r.$ancestorComponent$=n,(n["s-al"]=n["s-al"]||new Set).add(t);break}e.$members$&&Object.entries(e.$members$).forEach(function(i){var o=i[0],s=i[1][0];if(s&31&&t.hasOwnProperty(o)){var f=t[o];delete t[o],t[o]=f}}),V(function(){return be(t,r,e)})}Ut(r.$lazyInstance$)}},Se=function(t,e){e=t["s-cr"]=d.createComment(""),e["s-cn"]=!0,t.insertBefore(e,t.firstChild)},ke=function(t){if((v.$flags$&1)===0){var e=S(t),r=e.$lazyInstance$;e.$rmListeners$&&(e.$rmListeners$(),e.$rmListeners$=void 0),U&&U.removeHost(t),I(r,"disconnectedCallback"),I(r,"componentDidUnload")}},Ze=function(t,e){e===void 0&&(e={});var r=[],a=e.exclude||[],n=d.head,i=E.customElements,o=n.querySelector("meta[charset]"),s=d.createElement("style"),f;Object.assign(v,e),v.$resourcesUrl$=new URL(e.resourcesUrl||"./",d.baseURI).href,e.syncQueue&&(v.$flags$|=4),t.forEach(function(u){return u[1].forEach(function(c){var $={$flags$:c[0],$tagName$:c[1],$members$:c[2],$listeners$:c[3]};$.$attrsToReflect$=[],$.$watchers$={},!_&&$.$flags$&1&&($.$flags$|=8);var l=$.$tagName$,g=function(h){_t(y,h);function y(p){var B=h.call(this,p)||this;return p=B,B["s-lr"]=!1,B["s-rc"]=[],Mt(p),$.$flags$&1&&(_?p.attachShadow({mode:"open"}):"shadowRoot"in p||(p.shadowRoot=p)),B}return y.prototype.connectedCallback=function(){var p=this;f&&(clearTimeout(f),f=null),v.jmp(function(){return me(p,$)})},y.prototype.disconnectedCallback=function(){var p=this;v.jmp(function(){return ke(p)})},y.prototype["s-init"]=function(){var p=S(this);p.$lazyInstance$&&xt(this,p)},y.prototype["s-hmr"]=function(p){},y.prototype.forceUpdate=function(){ce(this,$)},y.prototype.componentOnReady=function(){return S(this).$onReadyPromise$},y}(HTMLElement);$.$lazyBundleIds$=u[0],!a.includes(l)&&!i.get(l)&&(r.push(l),i.define(l,At(g,$,1)))})}),s.innerHTML=r+"{visibility:hidden}.hydrated{visibility:inherit}",s.setAttribute("data-styles",""),n.insertBefore(s,o?o.nextSibling:n.firstChild),v.jmp(function(){return f=setTimeout(Pt,30)})},Ce=function(t,e,r){var a=Ie(t);return{emit:function(n){return a.dispatchEvent(new CustomEvent(e,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:n}))}}},Ee=function(t){var e=new URL(t,v.$resourcesUrl$);return e.origin!==E.location.origin?e.href:e.pathname},Ne=function(t,e){if(e in D)return D[e];if(e==="window")return E;if(e==="document")return d;if(e==="isServer"||e==="isPrerender")return!1;if(e==="isClient")return!0;if(e==="resourcesUrl"||e==="publicPath")return Ee(".");if(e==="queue")return{write:bt,read:Zt,tick:{then:function(r){return V(r)}}}},Ie=function(t){return S(t).$hostElement$},Le=function(t){return zt(t)},Te=function(t,e){return typeof t=="string"&&(e=t,t=void 0),Le(t).includes(e)},zt=function(t){t===void 0&&(t=window),t.Ionic=t.Ionic||{};var e=t.Ionic.platforms;return e==null&&(e=t.Ionic.platforms=Oe(t),e.forEach(function(r){return t.document.documentElement.classList.add("plt-"+r)})),e},Oe=function(t){return Object.keys(gt).filter(function(e){return gt[e](t)})},xe=function(t){return Y(t)&&!Bt(t)},nt=function(t){return!!(O(t,/iPad/i)||O(t,/Macintosh/i)&&Y(t))},Pe=function(t){return O(t,/iPhone/i)},Ae=function(t){return O(t,/iPhone|iPod/i)||nt(t)},Ht=function(t){return O(t,/android|sink/i)},je=function(t){return Ht(t)&&!O(t,/mobile/i)},we=function(t){var e=t.innerWidth,r=t.innerHeight,a=Math.min(e,r),n=Math.max(e,r);return a>390&&a<520&&n>620&&n<800},Ue=function(t){var e=t.innerWidth,r=t.innerHeight,a=Math.min(e,r),n=Math.max(e,r);return nt(t)||je(t)||a>460&&a<820&&n>780&&n<1400},Y=function(t){return Fe(t,"(any-pointer:coarse)")},ze=function(t){return!Y(t)},Bt=function(t){return Ft(t)||Wt(t)},Ft=function(t){return!!(t.cordova||t.phonegap||t.PhoneGap)},Wt=function(t){var e=t.Capacitor;return!!(e&&e.isNative)},He=function(t){return O(t,/electron/i)},Be=function(t){return!!(t.matchMedia("(display-mode: standalone)").matches||t.navigator.standalone)},O=function(t,e){return e.test(t.navigator.userAgent)},Fe=function(t,e){return t.matchMedia(e).matches},gt={ipad:nt,iphone:Pe,ios:Ae,android:Ht,phablet:we,tablet:Ue,cordova:Ft,capacitor:Wt,electron:He,pwa:Be,mobile:Y,mobileweb:xe,desktop:ze,hybrid:Bt},We=function(){function t(){this.m=new Map}return t.prototype.reset=function(e){this.m=new Map(Object.entries(e))},t.prototype.get=function(e,r){var a=this.m.get(e);return a!==void 0?a:r},t.prototype.getBoolean=function(e,r){r===void 0&&(r=!1);var a=this.m.get(e);return a===void 0?r:typeof a=="string"?a==="true":!!a},t.prototype.getNumber=function(e,r){var a=parseFloat(this.m.get(e));return isNaN(a)?r!==void 0?r:NaN:a},t.prototype.set=function(e,r){this.m.set(e,r)},t}(),k=new We,qe=function(t){try{var e=t.sessionStorage.getItem(qt);return e!==null?JSON.parse(e):{}}catch{return{}}},Re=function(t,e){try{t.sessionStorage.setItem(qt,JSON.stringify(e))}catch{return}},_e=function(t){var e={};return t.location.search.slice(1).split("&").map(function(r){return r.split("=")}).map(function(r){var a=r[0],n=r[1];return[decodeURIComponent(a),decodeURIComponent(n)]}).filter(function(r){var a=r[0];return De(a,dt)}).map(function(r){var a=r[0],n=r[1];return[a.slice(dt.length),n]}).forEach(function(r){var a=r[0],n=r[1];e[a]=n}),e},De=function(t,e){return t.substr(0,e.length)===e},dt="ionic:",qt="ionic-persist-config",w,Ve=function(t){return t&&ye(t)||w},Ge=function(){var t=document,e=window;D.config=k;var r=e.Ionic=e.Ionic||{};zt(e);var a=Object.assign(Object.assign(Object.assign(Object.assign({},qe(e)),{persistConfig:!1}),r.config),_e(e));k.reset(a),k.getBoolean("persistConfig")&&Re(e,a),r.config=k,r.mode=w=k.get("mode",t.documentElement.getAttribute("mode")||(Te(e,"ios")?"ios":"md")),k.set("mode",w),t.documentElement.setAttribute("mode",w),t.documentElement.classList.add(w),k.getBoolean("_testing")&&k.set("animated",!1),wt(function(n){return n.mode=n.mode||n.getAttribute("mode")||w})},Je=function(){wt(function(t){return t.tagName==="ION-ICON"?t.mode||t.getAttribute("mode"):null})},Ye=function(){D.store=function(){var t,e=function(o){t=o},r=function(){return t&&t.getState()},a=function(){return t},n=function(o,s){Object.keys(s).forEach(function(f){var u=s[f];Object.defineProperty(o,f,{get:function(){return function(){for(var c=[],$=0;$<arguments.length;$++)c[$]=arguments[$];return t.dispatch(u.apply(void 0,c))}},configurable:!0,enumerable:!0})})},i=function(o,s){var f=function(c,$){var l=s(t.getState());Object.keys(l).forEach(function(g){var h=l[g];o[g]=h})},u=t.subscribe(function(){return f()});return f(),u};return{getStore:a,setStore:e,getState:r,mapDispatchToProps:n,mapStateToProps:i}}()},tr=function(){Ge(),Je(),Ye()};export{Qe as a,Zt as b,bt as c,Xe as d,re as e,ne as f,ye as g,Ze as h,Ce as i,Ee as j,Ne as k,Ie as l,Te as m,k as n,Ve as o,tr as p};