diff --git a/manifest.json b/manifest.json index 24ad1e9..450fb7e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "id": "community.einthusantv", - "version": "3.0.0", + "version": "3.1.0", "name": "EinthusanTV", "description": "Addon for Streaming from EinthusanTV by Asaddon", "logo": "https://i.imgur.com/hmTKdwR.png", diff --git a/sources.js b/sources.js index 9c877d8..ba1f65e 100644 --- a/sources.js +++ b/sources.js @@ -283,12 +283,12 @@ async function ttnumberToTitle(ttNumber) { cache.set(countryCacheKey, compressData(countryCheckResult)); if (!isNotUS) { - console.info(`Movie "${movieTitle}" (IMDb ID: ${ttNumber}) is from the United States. Skipping.`); + //console.info(`Movie "${movieTitle}" (IMDb ID: ${ttNumber}) is from the United States. Skipping.`); return null; // If the country is the United States, return null } // Step 4: Country is not the United States, return the title from OMDB - console.info(`Movie "${movieTitle}" (IMDb ID: ${ttNumber}) Is Not From the United States. Continuing.`); + //console.info(`Movie "${movieTitle}" (IMDb ID: ${ttNumber}) Is Not From the United States. Continuing.`); // Step 5: Cache the title cache.set(cacheKey, compressData(movieTitle)); @@ -628,13 +628,19 @@ async function getAllRecentMovies(maxPages, lang, logSummary = true) { const imdbId = await verifyImdbTitle(title, year); - return { + // Fetch additional metadata using the existing meta function + const metaData = await meta(`einthusan_${einthusanId}`, lang); + + return { id: imdbId || `einthusan_${einthusanId}`, EinthusanID: einthusanId, type: "movie", name: title, poster: img.startsWith('http') ? img : `https:${img}`, - releaseInfo: year + releaseInfo: year, + description: metaData?.description || null, + trailers: metaData?.trailers || [], + links: metaData?.links || [] }; }) ); diff --git a/vue/dist/assets/index-756b8258.js b/vue/dist/assets/index-6ed31919.js similarity index 99% rename from vue/dist/assets/index-756b8258.js rename to vue/dist/assets/index-6ed31919.js index 4fe8a56..9596c3a 100644 --- a/vue/dist/assets/index-756b8258.js +++ b/vue/dist/assets/index-6ed31919.js @@ -14,4 +14,4 @@ * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Rn;const Ur=typeof window<"u"&&window.trustedTypes;if(Ur)try{Rn=Ur.createPolicy("vue",{createHTML:t=>t})}catch{}const Oo=Rn?t=>Rn.createHTML(t):t=>t,Gl="http://www.w3.org/2000/svg",Xl="http://www.w3.org/1998/Math/MathML",Xt=typeof document<"u"?document:null,Wr=Xt&&Xt.createElement("template"),Jl={insert:(t,e,i)=>{e.insertBefore(t,i||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,i,n)=>{const r=e==="svg"?Xt.createElementNS(Gl,t):e==="mathml"?Xt.createElementNS(Xl,t):i?Xt.createElement(t,{is:i}):Xt.createElement(t);return t==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:t=>Xt.createTextNode(t),createComment:t=>Xt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Xt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,i,n,r,s){const o=i?i.previousSibling:e.lastChild;if(r&&(r===s||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),i),!(r===s||!(r=r.nextSibling)););else{Wr.innerHTML=Oo(n==="svg"?`${t}`:n==="mathml"?`${t}`:t);const a=Wr.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,i)}return[o?o.nextSibling:e.firstChild,i?i.previousSibling:e.lastChild]}},Zl=Symbol("_vtc");function Ql(t,e,i){const n=t[Zl];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):i?t.setAttribute("class",e):t.className=e}const Kr=Symbol("_vod"),tc=Symbol("_vsh"),ec=Symbol(""),ic=/(^|;)\s*display\s*:/;function nc(t,e,i){const n=t.style,r=nt(i);let s=!1;if(i&&!r){if(e)if(nt(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();i[a]==null&&Pi(n,a,"")}else for(const o in e)i[o]==null&&Pi(n,o,"");for(const o in i)o==="display"&&(s=!0),Pi(n,o,i[o])}else if(r){if(e!==i){const o=n[ec];o&&(i+=";"+o),n.cssText=i,s=ic.test(i)}}else e&&t.removeAttribute("style");Kr in t&&(t[Kr]=s?n.display:"",t[tc]&&(n.display="none"))}const zr=/\s*!important$/;function Pi(t,e,i){if(j(i))i.forEach(n=>Pi(t,e,n));else if(i==null&&(i=""),e.startsWith("--"))t.setProperty(e,i);else{const n=rc(t,e);zr.test(i)?t.setProperty(Te(n),i.replace(zr,""),"important"):t[n]=i}}const Yr=["Webkit","Moz","ms"],xn={};function rc(t,e){const i=xn[e];if(i)return i;let n=ue(e);if(n!=="filter"&&n in t)return xn[e]=n;n=As(n);for(let r=0;rEn||(lc.then(()=>En=0),En=Date.now());function fc(t,e){const i=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=i.attached)return;Wt(uc(n,i.value),e,5,[n])};return i.value=t,i.attached=cc(),i}function uc(t,e){if(j(e)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},e.map(n=>r=>!r._stopped&&n&&n(r))}else return e}const ts=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,dc=(t,e,i,n,r,s)=>{const o=r==="svg";e==="class"?Ql(t,n,o):e==="style"?nc(t,i,n):Ji(e)?qn(e)||oc(t,e,i,n,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):pc(t,e,n,o))?(Jr(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Xr(t,e,n,o,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!nt(n))?Jr(t,ue(e),n,s,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Xr(t,e,n,o))};function pc(t,e,i,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&ts(e)&&H(i));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const r=t.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ts(e)&&nt(i)?!1:e in t}const es=t=>{const e=t.props["onUpdate:modelValue"]||!1;return j(e)?i=>Li(e,i):e},An=Symbol("_assign"),hc={deep:!0,created(t,{value:e,modifiers:{number:i}},n){const r=Zi(e);To(t,"change",()=>{const s=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>i?Ts(Ni(o)):Ni(o));t[An](t.multiple?r?new Set(s):s:s[0]),t._assigning=!0,zs(()=>{t._assigning=!1})}),t[An]=es(n)},mounted(t,{value:e}){is(t,e)},beforeUpdate(t,e,i){t[An]=es(i)},updated(t,{value:e}){t._assigning||is(t,e)}};function is(t,e){const i=t.multiple,n=j(e);if(!(i&&!n&&!Zi(e))){for(let r=0,s=t.options.length;rString(d)===String(a)):o.selected=aa(e,a)>-1}else o.selected=e.has(a);else if(nn(Ni(o),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!i&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ni(t){return"_value"in t?t._value:t.value}const gc=rt({patchProp:dc},Jl);let ns;function vc(){return ns||(ns=bl(gc))}const mc=(...t)=>{const e=vc().createApp(...t),{mount:i}=e;return e.mount=n=>{const r=yc(n);if(!r)return;const s=e._component;!H(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=i(r,!1,bc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e};function bc(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function yc(t){return nt(t)?document.querySelector(t):t}var rs;const _c=typeof window<"u";_c&&((rs=window==null?void 0:window.navigator)!=null&&rs.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function wc(t){return typeof t=="function"?t():tr(t)}var Co="usehead",ss="head:count",On="data-head-attrs",Lo="data-meta-body",xc=(t,e)=>{const i=n=>{if(n.props.renderPriority)return n.props.renderPriority;switch(n.tag){case"base":return-1;case"meta":return n.props.charset?-2:n.props["http-equiv"]==="content-security-policy"?0:10;default:return 10}};return i(t)-i(e)},Ec=t=>{if(!["meta","base","script","link"].includes(t.tag))return!1;const{props:e,tag:i}=t;if(i==="base")return"base";if(i==="link"&&e.rel==="canonical")return"canonical";if(e.charset)return"charset";const n=["key","id","name","property","http-equiv"];for(const r of n){let s;if(typeof e.getAttribute=="function"&&e.hasAttribute(r)?s=e.getAttribute(r):s=e[r],s!==void 0)return`${i}-${r}-${s}`}return!1};function Hn(t){const e=wc(t);return!t||!e?e:Array.isArray(e)?e.map(Hn):typeof e=="object"?Object.fromEntries(Object.entries(e).map(([i,n])=>i==="titleTemplate"?[i,tr(n)]:[i,Hn(n)])):e}function Ac(t){return Hn(t)}var Oc=(t,e,i)=>{const n=i.createElement(t);for(const r of Object.keys(e))if(r==="body"&&e.body===!0)n.setAttribute(Lo,"true");else{const s=e[r];if(r==="renderPriority"||r==="key"||s===!1)continue;r==="children"?n.textContent=s:n.setAttribute(r,s)}return n};function os(t,e){if(t instanceof HTMLElement&&e instanceof HTMLElement){const i=e.getAttribute("nonce");if(i&&!t.getAttribute("nonce")){const n=e.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=i,i===t.nonce&&t.isEqualNode(n)}}return t.isEqualNode(e)}var as=(t,e)=>{const i=t.getAttribute(On);if(i)for(const r of i.split(","))r in e||t.removeAttribute(r);const n=[];for(const r in e){const s=e[r];s!=null&&(s===!1?t.removeAttribute(r):t.setAttribute(r,s),n.push(r))}n.length?t.setAttribute(On,n.join(",")):t.removeAttribute(On)},Tc=(t=window.document,e,i)=>{var n,r;const s=t.head,o=t.body;let a=s.querySelector(`meta[name="${ss}"]`);const l=o.querySelectorAll(`[${Lo}]`),d=a?Number(a.getAttribute("content")):0,c=[],p=[];if(l)for(let h=0;h({element:Oc(h.tag,h.props,t),body:h.props.body??!1}));v=v.filter(h=>{for(let w=0;w{var w;return(w=h.parentNode)==null?void 0:w.removeChild(h)}),c.forEach(h=>{var w;return(w=h.parentNode)==null?void 0:w.removeChild(h)}),v.forEach(h=>{h.body===!0?o.insertAdjacentElement("beforeend",h.element):s.insertBefore(h.element,a)}),a.setAttribute("content",`${d-c.length+v.filter(h=>!h.body).length}`)},Cc=()=>{const t=Qe(Co);if(!t)throw new Error("You may forget to apply app.use(head)");return t},Lc=["title","meta","link","base","style","script","noscript","htmlAttrs","bodyAttrs"],Sc=(t,e)=>t==null?"":typeof t=="function"?t(e):t.replace("%s",e??""),kc=t=>{const e=[],i=Object.keys(t),n=r=>(r.hid&&(r.key=r.hid,delete r.hid),r.vmid&&(r.key=r.vmid,delete r.vmid),r);for(const r of i)if(t[r]!=null)switch(r){case"title":e.push({tag:r,props:{children:t[r]}});break;case"titleTemplate":break;case"base":e.push({tag:r,props:{key:"default",...t[r]}});break;default:if(Lc.includes(r)){const s=t[r];Array.isArray(s)?s.forEach(o=>{const a=n(o);e.push({tag:r,props:a})}):s&&e.push({tag:r,props:n(s)})}break}return e},Pc=t=>{let e=[];const i=new Set,n=[],r=[];t&&e.push(t);const s={install(o){o.config.globalProperties.$head=s,o.provide(Co,s)},hookBeforeDomUpdate:n,hookTagsResolved:r,get headTags(){const o=[],a={},l=e.map(Ac),d=l.map(p=>p.titleTemplate).reverse().find(p=>p!=null);l.forEach((p,v)=>{kc(p).forEach((w,C)=>{w._position=v*1e4+C,d&&w.tag==="title"&&(w.props.children=Sc(d,w.props.children));const k=Ec(w);k?a[k]=w:o.push(w)})}),o.push(...Object.values(a));const c=o.sort((p,v)=>p._position-v._position);if(s.hookTagsResolved)for(const p in s.hookTagsResolved)s.hookTagsResolved[p](c);return c},addHeadObjs(o){e.push(o)},removeHeadObjs(o){e=e.filter(a=>a!==o)},updateDOM(o=window.document){let a;const l={},d={},c={};for(const v of s.headTags.sort(xc)){if(v.tag==="title"){a=v.props.children;continue}if(v.tag==="htmlAttrs"){Object.assign(l,v.props);continue}if(v.tag==="bodyAttrs"){Object.assign(d,v.props);continue}c[v.tag]=c[v.tag]||[],c[v.tag].push(v)}if(s.hookBeforeDomUpdate){for(const v in s.hookBeforeDomUpdate)if(s.hookBeforeDomUpdate[v](c)===!1)return}a!==void 0&&(o.title=a),as(o.documentElement,l),as(o.body,d);const p=new Set([...Object.keys(c),...i]);for(const v of p)Tc(o,v,c[v]||[]);i.clear(),Object.keys(c).forEach(v=>i.add(v))}};return s},Ic=typeof window<"u",Dc=t=>{const e=Cc();e.addHeadObjs(t),Ic&&(Al(()=>{e.updateDOM()}),io(()=>{e.removeHeadObjs(t),e.updateDOM()}))};var jc=function(){function t(e,i){i===void 0&&(i=[]),this._eventType=e,this._eventFunctions=i}return t.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(i){typeof window<"u"&&window.addEventListener(e._eventType,i)})},t}(),$i=globalThis&&globalThis.__assign||function(){return $i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i"u")return!1;var e=Et(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function zc(t){var e=t.state;Object.keys(e.elements).forEach(function(i){var n=e.styles[i]||{},r=e.attributes[i]||{},s=e.elements[i];!Tt(s)||!Kt(s)||(Object.assign(s.style,n),Object.keys(r).forEach(function(o){var a=r[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function Yc(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach(function(n){var r=e.elements[n],s=e.attributes[n]||{},o=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:i[n]),a=o.reduce(function(l,d){return l[d]="",l},{});!Tt(r)||!Kt(r)||(Object.assign(r.style,a),Object.keys(s).forEach(function(l){r.removeAttribute(l)}))})}}const Gc={name:"applyStyles",enabled:!0,phase:"write",fn:zc,effect:Yc,requires:["computeStyles"]};function qt(t){return t.split("-")[0]}var Ee=Math.max,Wi=Math.min,Fe=Math.round;function Bn(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Mo(){return!/^((?!chrome|android).)*safari/i.test(Bn())}function Ne(t,e,i){e===void 0&&(e=!1),i===void 0&&(i=!1);var n=t.getBoundingClientRect(),r=1,s=1;e&&Tt(t)&&(r=t.offsetWidth>0&&Fe(n.width)/t.offsetWidth||1,s=t.offsetHeight>0&&Fe(n.height)/t.offsetHeight||1);var o=Oe(t)?Et(t):window,a=o.visualViewport,l=!Mo()&&i,d=(n.left+(l&&a?a.offsetLeft:0))/r,c=(n.top+(l&&a?a.offsetTop:0))/s,p=n.width/r,v=n.height/s;return{width:p,height:v,top:c,right:d+p,bottom:c+v,left:d,x:d,y:c}}function pr(t){var e=Ne(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function Ro(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&dr(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Qt(t){return Et(t).getComputedStyle(t)}function Xc(t){return["table","td","th"].indexOf(Kt(t))>=0}function he(t){return((Oe(t)?t.ownerDocument:t.document)||window.document).documentElement}function un(t){return Kt(t)==="html"?t:t.assignedSlot||t.parentNode||(dr(t)?t.host:null)||he(t)}function us(t){return!Tt(t)||Qt(t).position==="fixed"?null:t.offsetParent}function Jc(t){var e=/firefox/i.test(Bn()),i=/Trident/i.test(Bn());if(i&&Tt(t)){var n=Qt(t);if(n.position==="fixed")return null}var r=un(t);for(dr(r)&&(r=r.host);Tt(r)&&["html","body"].indexOf(Kt(r))<0;){var s=Qt(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function vi(t){for(var e=Et(t),i=us(t);i&&Xc(i)&&Qt(i).position==="static";)i=us(i);return i&&(Kt(i)==="html"||Kt(i)==="body"&&Qt(i).position==="static")?e:i||Jc(t)||e}function hr(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ei(t,e,i){return Ee(t,Wi(e,i))}function Zc(t,e,i){var n=ei(t,e,i);return n>i?i:n}function Ho(){return{top:0,right:0,bottom:0,left:0}}function Bo(t){return Object.assign({},Ho(),t)}function Fo(t,e){return e.reduce(function(i,n){return i[n]=t,i},{})}var Qc=function(e,i){return e=typeof e=="function"?e(Object.assign({},i.rects,{placement:i.placement})):e,Bo(typeof e!="number"?e:Fo(e,gi))};function tf(t){var e,i=t.state,n=t.name,r=t.options,s=i.elements.arrow,o=i.modifiersData.popperOffsets,a=qt(i.placement),l=hr(a),d=[vt,Lt].indexOf(a)>=0,c=d?"height":"width";if(!(!s||!o)){var p=Qc(r.padding,i),v=pr(s),h=l==="y"?gt:vt,w=l==="y"?Ct:Lt,C=i.rects.reference[c]+i.rects.reference[l]-o[l]-i.rects.popper[c],k=o[l]-i.rects.reference[l],S=vi(s),M=S?l==="y"?S.clientHeight||0:S.clientWidth||0:0,R=C/2-k/2,A=p[h],I=M-v[c]-p[w],F=M/2-v[c]/2+R,V=ei(A,F,I),J=l;i.modifiersData[n]=(e={},e[J]=V,e.centerOffset=V-F,e)}}function ef(t){var e=t.state,i=t.options,n=i.element,r=n===void 0?"[data-popper-arrow]":n;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||Ro(e.elements.popper,r)&&(e.elements.arrow=r))}const nf={name:"arrow",enabled:!0,phase:"main",fn:tf,effect:ef,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $e(t){return t.split("-")[1]}var rf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sf(t,e){var i=t.x,n=t.y,r=e.devicePixelRatio||1;return{x:Fe(i*r)/r||0,y:Fe(n*r)/r||0}}function ds(t){var e,i=t.popper,n=t.popperRect,r=t.placement,s=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,d=t.adaptive,c=t.roundOffsets,p=t.isFixed,v=o.x,h=v===void 0?0:v,w=o.y,C=w===void 0?0:w,k=typeof c=="function"?c({x:h,y:C}):{x:h,y:C};h=k.x,C=k.y;var S=o.hasOwnProperty("x"),M=o.hasOwnProperty("y"),R=vt,A=gt,I=window;if(d){var F=vi(i),V="clientHeight",J="clientWidth";if(F===Et(i)&&(F=he(i),Qt(F).position!=="static"&&a==="absolute"&&(V="scrollHeight",J="scrollWidth")),F=F,r===gt||(r===vt||r===Lt)&&s===fi){A=Ct;var tt=p&&F===I&&I.visualViewport?I.visualViewport.height:F[V];C-=tt-n.height,C*=l?1:-1}if(r===vt||(r===gt||r===Ct)&&s===fi){R=Lt;var G=p&&F===I&&I.visualViewport?I.visualViewport.width:F[J];h-=G-n.width,h*=l?1:-1}}var et=Object.assign({position:a},d&&rf),st=c===!0?sf({x:h,y:C},Et(i)):{x:h,y:C};if(h=st.x,C=st.y,l){var it;return Object.assign({},et,(it={},it[A]=M?"0":"",it[R]=S?"0":"",it.transform=(I.devicePixelRatio||1)<=1?"translate("+h+"px, "+C+"px)":"translate3d("+h+"px, "+C+"px, 0)",it))}return Object.assign({},et,(e={},e[A]=M?C+"px":"",e[R]=S?h+"px":"",e.transform="",e))}function of(t){var e=t.state,i=t.options,n=i.gpuAcceleration,r=n===void 0?!0:n,s=i.adaptive,o=s===void 0?!0:s,a=i.roundOffsets,l=a===void 0?!0:a,d={placement:qt(e.placement),variation:$e(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,ds(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,ds(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const af={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:of,data:{}};var xi={passive:!0};function lf(t){var e=t.state,i=t.instance,n=t.options,r=n.scroll,s=r===void 0?!0:r,o=n.resize,a=o===void 0?!0:o,l=Et(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach(function(c){c.addEventListener("scroll",i.update,xi)}),a&&l.addEventListener("resize",i.update,xi),function(){s&&d.forEach(function(c){c.removeEventListener("scroll",i.update,xi)}),a&&l.removeEventListener("resize",i.update,xi)}}const cf={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lf,data:{}};var ff={left:"right",right:"left",bottom:"top",top:"bottom"};function Di(t){return t.replace(/left|right|bottom|top/g,function(e){return ff[e]})}var uf={start:"end",end:"start"};function ps(t){return t.replace(/start|end/g,function(e){return uf[e]})}function gr(t){var e=Et(t),i=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:i,scrollTop:n}}function vr(t){return Ne(he(t)).left+gr(t).scrollLeft}function df(t,e){var i=Et(t),n=he(t),r=i.visualViewport,s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var d=Mo();(d||!d&&e==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+vr(t),y:l}}function pf(t){var e,i=he(t),n=gr(t),r=(e=t.ownerDocument)==null?void 0:e.body,s=Ee(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=Ee(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+vr(t),l=-n.scrollTop;return Qt(r||i).direction==="rtl"&&(a+=Ee(i.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function mr(t){var e=Qt(t),i=e.overflow,n=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}function No(t){return["html","body","#document"].indexOf(Kt(t))>=0?t.ownerDocument.body:Tt(t)&&mr(t)?t:No(un(t))}function ii(t,e){var i;e===void 0&&(e=[]);var n=No(t),r=n===((i=t.ownerDocument)==null?void 0:i.body),s=Et(n),o=r?[s].concat(s.visualViewport||[],mr(n)?n:[]):n,a=e.concat(o);return r?a:a.concat(ii(un(o)))}function Fn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function hf(t,e){var i=Ne(t,!1,e==="fixed");return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}function hs(t,e,i){return e===Do?Fn(df(t,i)):Oe(e)?hf(e,i):Fn(pf(he(t)))}function gf(t){var e=ii(un(t)),i=["absolute","fixed"].indexOf(Qt(t).position)>=0,n=i&&Tt(t)?vi(t):t;return Oe(n)?e.filter(function(r){return Oe(r)&&Ro(r,n)&&Kt(r)!=="body"}):[]}function vf(t,e,i,n){var r=e==="clippingParents"?gf(t):[].concat(e),s=[].concat(r,[i]),o=s[0],a=s.reduce(function(l,d){var c=hs(t,d,n);return l.top=Ee(c.top,l.top),l.right=Wi(c.right,l.right),l.bottom=Wi(c.bottom,l.bottom),l.left=Ee(c.left,l.left),l},hs(t,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function $o(t){var e=t.reference,i=t.element,n=t.placement,r=n?qt(n):null,s=n?$e(n):null,o=e.x+e.width/2-i.width/2,a=e.y+e.height/2-i.height/2,l;switch(r){case gt:l={x:o,y:e.y-i.height};break;case Ct:l={x:o,y:e.y+e.height};break;case Lt:l={x:e.x+e.width,y:a};break;case vt:l={x:e.x-i.width,y:a};break;default:l={x:e.x,y:e.y}}var d=r?hr(r):null;if(d!=null){var c=d==="y"?"height":"width";switch(s){case Be:l[d]=l[d]-(e[c]/2-i[c]/2);break;case fi:l[d]=l[d]+(e[c]/2-i[c]/2);break}}return l}function ui(t,e){e===void 0&&(e={});var i=e,n=i.placement,r=n===void 0?t.placement:n,s=i.strategy,o=s===void 0?t.strategy:s,a=i.boundary,l=a===void 0?Mc:a,d=i.rootBoundary,c=d===void 0?Do:d,p=i.elementContext,v=p===void 0?Ke:p,h=i.altBoundary,w=h===void 0?!1:h,C=i.padding,k=C===void 0?0:C,S=Bo(typeof k!="number"?k:Fo(k,gi)),M=v===Ke?Rc:Ke,R=t.rects.popper,A=t.elements[w?M:v],I=vf(Oe(A)?A:A.contextElement||he(t.elements.popper),l,c,o),F=Ne(t.elements.reference),V=$o({reference:F,element:R,strategy:"absolute",placement:r}),J=Fn(Object.assign({},R,V)),tt=v===Ke?J:F,G={top:I.top-tt.top+S.top,bottom:tt.bottom-I.bottom+S.bottom,left:I.left-tt.left+S.left,right:tt.right-I.right+S.right},et=t.modifiersData.offset;if(v===Ke&&et){var st=et[r];Object.keys(G).forEach(function(it){var St=[Lt,Ct].indexOf(it)>=0?1:-1,Rt=[gt,Ct].indexOf(it)>=0?"y":"x";G[it]+=st[Rt]*St})}return G}function mf(t,e){e===void 0&&(e={});var i=e,n=i.placement,r=i.boundary,s=i.rootBoundary,o=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,d=l===void 0?jo:l,c=$e(n),p=c?a?fs:fs.filter(function(w){return $e(w)===c}):gi,v=p.filter(function(w){return d.indexOf(w)>=0});v.length===0&&(v=p);var h=v.reduce(function(w,C){return w[C]=ui(t,{placement:C,boundary:r,rootBoundary:s,padding:o})[qt(C)],w},{});return Object.keys(h).sort(function(w,C){return h[w]-h[C]})}function bf(t){if(qt(t)===ur)return[];var e=Di(t);return[ps(t),e,ps(e)]}function yf(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var r=i.mainAxis,s=r===void 0?!0:r,o=i.altAxis,a=o===void 0?!0:o,l=i.fallbackPlacements,d=i.padding,c=i.boundary,p=i.rootBoundary,v=i.altBoundary,h=i.flipVariations,w=h===void 0?!0:h,C=i.allowedAutoPlacements,k=e.options.placement,S=qt(k),M=S===k,R=l||(M||!w?[Di(k)]:bf(k)),A=[k].concat(R).reduce(function(ee,Ht){return ee.concat(qt(Ht)===ur?mf(e,{placement:Ht,boundary:c,rootBoundary:p,padding:d,flipVariations:w,allowedAutoPlacements:C}):Ht)},[]),I=e.rects.reference,F=e.rects.popper,V=new Map,J=!0,tt=A[0],G=0;G=0,Rt=St?"width":"height",K=ui(e,{placement:et,boundary:c,rootBoundary:p,altBoundary:v,padding:d}),$=St?it?Lt:vt:it?Ct:gt;I[Rt]>F[Rt]&&($=Di($));var q=Di($),ut=[];if(s&&ut.push(K[st]<=0),a&&ut.push(K[$]<=0,K[q]<=0),ut.every(function(ee){return ee})){tt=et,J=!1;break}V.set(et,ut)}if(J)for(var zt=w?3:1,kt=function(Ht){var Pt=A.find(function(Yt){var It=V.get(Yt);if(It)return It.slice(0,Ht).every(function(Ce){return Ce})});if(Pt)return tt=Pt,"break"},ot=zt;ot>0;ot--){var ge=kt(ot);if(ge==="break")break}e.placement!==tt&&(e.modifiersData[n]._skip=!0,e.placement=tt,e.reset=!0)}}const _f={name:"flip",enabled:!0,phase:"main",fn:yf,requiresIfExists:["offset"],data:{_skip:!1}};function gs(t,e,i){return i===void 0&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function vs(t){return[gt,Lt,Ct,vt].some(function(e){return t[e]>=0})}function wf(t){var e=t.state,i=t.name,n=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,o=ui(e,{elementContext:"reference"}),a=ui(e,{altBoundary:!0}),l=gs(o,n),d=gs(a,r,s),c=vs(l),p=vs(d);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:c,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}const xf={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wf};function Ef(t,e,i){var n=qt(t),r=[vt,gt].indexOf(n)>=0?-1:1,s=typeof i=="function"?i(Object.assign({},e,{placement:t})):i,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[vt,Lt].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function Af(t){var e=t.state,i=t.options,n=t.name,r=i.offset,s=r===void 0?[0,0]:r,o=jo.reduce(function(c,p){return c[p]=Ef(p,e.rects,s),c},{}),a=o[e.placement],l=a.x,d=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[n]=o}const Of={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Af};function Tf(t){var e=t.state,i=t.name;e.modifiersData[i]=$o({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Cf={name:"popperOffsets",enabled:!0,phase:"read",fn:Tf,data:{}};function Lf(t){return t==="x"?"y":"x"}function Sf(t){var e=t.state,i=t.options,n=t.name,r=i.mainAxis,s=r===void 0?!0:r,o=i.altAxis,a=o===void 0?!1:o,l=i.boundary,d=i.rootBoundary,c=i.altBoundary,p=i.padding,v=i.tether,h=v===void 0?!0:v,w=i.tetherOffset,C=w===void 0?0:w,k=ui(e,{boundary:l,rootBoundary:d,padding:p,altBoundary:c}),S=qt(e.placement),M=$e(e.placement),R=!M,A=hr(S),I=Lf(A),F=e.modifiersData.popperOffsets,V=e.rects.reference,J=e.rects.popper,tt=typeof C=="function"?C(Object.assign({},e.rects,{placement:e.placement})):C,G=typeof tt=="number"?{mainAxis:tt,altAxis:tt}:Object.assign({mainAxis:0,altAxis:0},tt),et=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,st={x:0,y:0};if(F){if(s){var it,St=A==="y"?gt:vt,Rt=A==="y"?Ct:Lt,K=A==="y"?"height":"width",$=F[A],q=$+k[St],ut=$-k[Rt],zt=h?-J[K]/2:0,kt=M===Be?V[K]:J[K],ot=M===Be?-J[K]:-V[K],ge=e.elements.arrow,ee=h&&ge?pr(ge):{width:0,height:0},Ht=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Ho(),Pt=Ht[St],Yt=Ht[Rt],It=ei(0,V[K],ee[K]),Ce=R?V[K]/2-zt-It-Pt-G.mainAxis:kt-It-Pt-G.mainAxis,ie=R?-V[K]/2+zt+It+Yt+G.mainAxis:ot+It+Yt+G.mainAxis,ve=e.elements.arrow&&vi(e.elements.arrow),Ve=ve?A==="y"?ve.clientTop||0:ve.clientLeft||0:0,f=(it=et==null?void 0:et[A])!=null?it:0,u=$+Ce-f-Ve,g=$+ie-f,y=ei(h?Wi(q,u):q,$,h?Ee(ut,g):ut);F[A]=y,st[A]=y-$}if(a){var m,b=A==="x"?gt:vt,O=A==="x"?Ct:Lt,x=F[I],E=I==="y"?"height":"width",_=x+k[b],P=x-k[O],T=[gt,vt].indexOf(S)!==-1,L=(m=et==null?void 0:et[I])!=null?m:0,D=T?_:x-V[E]-J[E]-L+G.altAxis,N=T?x+V[E]+J[E]-L-G.altAxis:P,z=h&&T?Zc(D,x,N):ei(h?D:_,x,h?N:P);F[I]=z,st[I]=z-x}e.modifiersData[n]=st}}const kf={name:"preventOverflow",enabled:!0,phase:"main",fn:Sf,requiresIfExists:["offset"]};function Pf(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function If(t){return t===Et(t)||!Tt(t)?gr(t):Pf(t)}function Df(t){var e=t.getBoundingClientRect(),i=Fe(e.width)/t.offsetWidth||1,n=Fe(e.height)/t.offsetHeight||1;return i!==1||n!==1}function jf(t,e,i){i===void 0&&(i=!1);var n=Tt(e),r=Tt(e)&&Df(e),s=he(e),o=Ne(t,r,i),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!i)&&((Kt(e)!=="body"||mr(s))&&(a=If(e)),Tt(e)?(l=Ne(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=vr(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function Mf(t){var e=new Map,i=new Set,n=[];t.forEach(function(s){e.set(s.name,s)});function r(s){i.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!i.has(a)){var l=e.get(a);l&&r(l)}}),n.push(s)}return t.forEach(function(s){i.has(s.name)||r(s)}),n}function Rf(t){var e=Mf(t);return Kc.reduce(function(i,n){return i.concat(e.filter(function(r){return r.phase===n}))},[])}function Hf(t){var e;return function(){return e||(e=new Promise(function(i){Promise.resolve().then(function(){e=void 0,i(t())})})),e}}function Bf(t){var e=t.reduce(function(i,n){var r=i[n.name];return i[n.name]=r?Object.assign({},r,n,{options:Object.assign({},r.options,n.options),data:Object.assign({},r.data,n.data)}):n,i},{});return Object.keys(e).map(function(i){return e[i]})}var ms={placement:"bottom",modifiers:[],strategy:"absolute"};function bs(){for(var t=arguments.length,e=new Array(t),i=0;i{const i=t.__vccOpts||t;for(const[n,r]of e)i[n]=r;return i},Yf={class:"relative p-4 w-full max-w-2xl h-full md:h-auto"},Gf={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Xf={class:"modal-header"},Jf={class:"flex justify-between items-start p-4 rounded-t border-b dark:border-gray-600"},Zf={"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg","data-darkreader-inline-fill":"",style:{"--darkreader-inline-fill":"currentColor"}},Qf={class:"flex items-center p-6 space-x-2 rounded-b border-t border-gray-200 dark:border-gray-600"},tu={class:"max-w-md w-full space-y-8 p-10 bg-white shadow-lg rounded-xl z-10"},eu={class:"grid gap-8 grid-cols-1"},iu={class:"flex flex-col"},nu={class:"items-center header"},ru=["src"],su={class:"font-semibold text-lg mr-auto"},ou={class:"font-semibold text-lg mr-auto",style:{"text-align":"right"}},au={class:"mt-5"},lu={class:"mt-5"},cu={class:"relative"},fu=["value"],uu={class:"items-center mt-5 description"},du={class:"mt-10 flex flex-col"},pu=["disabled"],hu={__name:"App",setup(t){Dc({title:_s+" - Stremio Addon",link:[{rel:"icon",type:"image/svg+xml",href:"https://einthusan.tv/etc/favicon-16x16.png"}]});const e=sn({languages:["hindi","tamil","telugu","malayalam","kannada","bengali","marathi","punjabi"],install:null,Language:"",isDisabled:!0}),i=ka(),n={selectLang(){e.isDisabled=!1,this.generateInstallUrl()},generateInstallUrl(){const r=e.Language?"/"+e.Language:"",s=window.location.host+r+"/manifest.json";document.getElementById("install_button").href="stremio://"+s}};return eo(()=>{e.install=new Modal(i.value)}),(r,s)=>(_i(),wi("div",null,[B("div",{id:"installModal",ref_key:"installModal",ref:i,tabindex:"-1","aria-hidden":"true",class:"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 w-full md:inset-0 h-modal md:h-full justify-center items-center"},[B("div",Yf,[B("div",Gf,[B("div",Xf,[B("div",Jf,[s[7]||(s[7]=B("h3",{class:"text-xl font-semibold text-gray-900 dark:text-white"}," Install the addon ",-1)),B("button",{onClick:s[0]||(s[0]=o=>{e.install.hide()}),type:"button",class:"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white","data-modal-toggle":"defaultModal"},[(_i(),wi("svg",Zf,s[5]||(s[5]=[B("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"},null,-1)]))),s[6]||(s[6]=B("span",{class:"sr-only"},"Close modal",-1))])])]),s[9]||(s[9]=wn('

Hello guys, if you enjoy this addon and want it to keep working, and want new features to be added
Then please consider donating.

Buymeacoffee.com

Ko-fi.com

Buy Me a Coffee at ko-fi.com
',1)),B("div",Qf,[s[8]||(s[8]=B("a",{id:"install_button",href:"#"},[B("button",{type:"button",class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Install Addon")],-1)),B("button",{type:"button",onClick:s[1]||(s[1]=o=>{e.install.hide()}),class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"Cancel")])])])],512),B("div",{class:"bg-img relative min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8 bg-gray-500 bg-no-repeat bg-cover bg-center relative items-center",style:en(`background-image: url(${Kf});`)},[s[18]||(s[18]=B("div",{class:"absolute bg-black opacity-60 inset-0 z-0"},null,-1)),B("div",tu,[B("div",eu,[B("div",iu,[B("div",nu,[B("img",{class:"logo",src:Wf},null,8,ru),B("h1",su,Se(_s),1),B("h2",ou,"Version: "+Se(qf),1),B("p",au,Se(Uf),1)]),s[14]||(s[14]=wn('

Extra Features:

  • Show Recently Added Movies Catalog

Note:

  • To use multiple languages, simply re-add the addon with each desired language.
',3)),B("div",lu,[s[11]||(s[11]=B("label",{for:"Input",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-gray-300"},"Search Language",-1)),B("div",cu,[Va(B("select",{"onUpdate:modelValue":s[2]||(s[2]=o=>e.Language=o),onChange:s[3]||(s[3]=o=>n.selectLang()),id:"Input",class:"block p-4 pl-10 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[s[10]||(s[10]=B("option",{disabled:"",value:""},"Select Languages",-1)),(_i(!0),wi($t,null,il(e.languages,o=>(_i(),wi("option",{value:o},Se(o.charAt(0).toUpperCase()+o.slice(1)),9,fu))),256))],544),[[hc,e.Language]])])]),s[15]||(s[15]=B("div",{class:"flex items-center justify-center space-x-2 mt-10"},[B("span",{class:"h-px w-full bg-gray-200"})],-1)),B("div",uu,[s[12]||(s[12]=B("h2",{class:"font-semibold text-lg mr-auto"},"Selected Language:",-1)),s[13]||(s[13]=B("br",null,null,-1)),B("h3",null,Se(e.Language?e.Language.charAt(0).toUpperCase()+e.Language.slice(1):"None"),1)]),s[16]||(s[16]=B("div",{class:"flex items-center justify-center space-x-2 mt-10"},[B("span",{class:"h-px w-full bg-gray-200"})],-1)),B("div",du,[B("button",{disabled:e.isDisabled,onClick:s[4]||(s[4]=o=>{e.install.show(),n.generateInstallUrl()}),type:"button",class:"text-white bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 font-medium rounded-full text-sm px-5 py-2.5 text-center mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Install Addon",8,pu)]),s[17]||(s[17]=wn('

This addon was recreated by: asaddon

Orignally By: dexter21767
UI by: rab1t
Background by: Ahlen Ken A. Batalon.

',2))])])])],4)]))}},gu=zf(hu,[["__scopeId","data-v-1b7ab392"]]),Yo=mc(gu),vu=Pc();Yo.use(vu);Yo.mount("#app"); +**/let Rn;const Ur=typeof window<"u"&&window.trustedTypes;if(Ur)try{Rn=Ur.createPolicy("vue",{createHTML:t=>t})}catch{}const Oo=Rn?t=>Rn.createHTML(t):t=>t,Gl="http://www.w3.org/2000/svg",Xl="http://www.w3.org/1998/Math/MathML",Xt=typeof document<"u"?document:null,Wr=Xt&&Xt.createElement("template"),Jl={insert:(t,e,i)=>{e.insertBefore(t,i||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,i,n)=>{const r=e==="svg"?Xt.createElementNS(Gl,t):e==="mathml"?Xt.createElementNS(Xl,t):i?Xt.createElement(t,{is:i}):Xt.createElement(t);return t==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:t=>Xt.createTextNode(t),createComment:t=>Xt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Xt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,i,n,r,s){const o=i?i.previousSibling:e.lastChild;if(r&&(r===s||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),i),!(r===s||!(r=r.nextSibling)););else{Wr.innerHTML=Oo(n==="svg"?`${t}`:n==="mathml"?`${t}`:t);const a=Wr.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,i)}return[o?o.nextSibling:e.firstChild,i?i.previousSibling:e.lastChild]}},Zl=Symbol("_vtc");function Ql(t,e,i){const n=t[Zl];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):i?t.setAttribute("class",e):t.className=e}const Kr=Symbol("_vod"),tc=Symbol("_vsh"),ec=Symbol(""),ic=/(^|;)\s*display\s*:/;function nc(t,e,i){const n=t.style,r=nt(i);let s=!1;if(i&&!r){if(e)if(nt(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();i[a]==null&&Pi(n,a,"")}else for(const o in e)i[o]==null&&Pi(n,o,"");for(const o in i)o==="display"&&(s=!0),Pi(n,o,i[o])}else if(r){if(e!==i){const o=n[ec];o&&(i+=";"+o),n.cssText=i,s=ic.test(i)}}else e&&t.removeAttribute("style");Kr in t&&(t[Kr]=s?n.display:"",t[tc]&&(n.display="none"))}const zr=/\s*!important$/;function Pi(t,e,i){if(j(i))i.forEach(n=>Pi(t,e,n));else if(i==null&&(i=""),e.startsWith("--"))t.setProperty(e,i);else{const n=rc(t,e);zr.test(i)?t.setProperty(Te(n),i.replace(zr,""),"important"):t[n]=i}}const Yr=["Webkit","Moz","ms"],xn={};function rc(t,e){const i=xn[e];if(i)return i;let n=ue(e);if(n!=="filter"&&n in t)return xn[e]=n;n=As(n);for(let r=0;rEn||(lc.then(()=>En=0),En=Date.now());function fc(t,e){const i=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=i.attached)return;Wt(uc(n,i.value),e,5,[n])};return i.value=t,i.attached=cc(),i}function uc(t,e){if(j(e)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},e.map(n=>r=>!r._stopped&&n&&n(r))}else return e}const ts=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,dc=(t,e,i,n,r,s)=>{const o=r==="svg";e==="class"?Ql(t,n,o):e==="style"?nc(t,i,n):Ji(e)?qn(e)||oc(t,e,i,n,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):pc(t,e,n,o))?(Jr(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Xr(t,e,n,o,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!nt(n))?Jr(t,ue(e),n,s,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Xr(t,e,n,o))};function pc(t,e,i,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&ts(e)&&H(i));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const r=t.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ts(e)&&nt(i)?!1:e in t}const es=t=>{const e=t.props["onUpdate:modelValue"]||!1;return j(e)?i=>Li(e,i):e},An=Symbol("_assign"),hc={deep:!0,created(t,{value:e,modifiers:{number:i}},n){const r=Zi(e);To(t,"change",()=>{const s=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>i?Ts(Ni(o)):Ni(o));t[An](t.multiple?r?new Set(s):s:s[0]),t._assigning=!0,zs(()=>{t._assigning=!1})}),t[An]=es(n)},mounted(t,{value:e}){is(t,e)},beforeUpdate(t,e,i){t[An]=es(i)},updated(t,{value:e}){t._assigning||is(t,e)}};function is(t,e){const i=t.multiple,n=j(e);if(!(i&&!n&&!Zi(e))){for(let r=0,s=t.options.length;rString(d)===String(a)):o.selected=aa(e,a)>-1}else o.selected=e.has(a);else if(nn(Ni(o),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!i&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ni(t){return"_value"in t?t._value:t.value}const gc=rt({patchProp:dc},Jl);let ns;function vc(){return ns||(ns=bl(gc))}const mc=(...t)=>{const e=vc().createApp(...t),{mount:i}=e;return e.mount=n=>{const r=yc(n);if(!r)return;const s=e._component;!H(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=i(r,!1,bc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e};function bc(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function yc(t){return nt(t)?document.querySelector(t):t}var rs;const _c=typeof window<"u";_c&&((rs=window==null?void 0:window.navigator)!=null&&rs.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function wc(t){return typeof t=="function"?t():tr(t)}var Co="usehead",ss="head:count",On="data-head-attrs",Lo="data-meta-body",xc=(t,e)=>{const i=n=>{if(n.props.renderPriority)return n.props.renderPriority;switch(n.tag){case"base":return-1;case"meta":return n.props.charset?-2:n.props["http-equiv"]==="content-security-policy"?0:10;default:return 10}};return i(t)-i(e)},Ec=t=>{if(!["meta","base","script","link"].includes(t.tag))return!1;const{props:e,tag:i}=t;if(i==="base")return"base";if(i==="link"&&e.rel==="canonical")return"canonical";if(e.charset)return"charset";const n=["key","id","name","property","http-equiv"];for(const r of n){let s;if(typeof e.getAttribute=="function"&&e.hasAttribute(r)?s=e.getAttribute(r):s=e[r],s!==void 0)return`${i}-${r}-${s}`}return!1};function Hn(t){const e=wc(t);return!t||!e?e:Array.isArray(e)?e.map(Hn):typeof e=="object"?Object.fromEntries(Object.entries(e).map(([i,n])=>i==="titleTemplate"?[i,tr(n)]:[i,Hn(n)])):e}function Ac(t){return Hn(t)}var Oc=(t,e,i)=>{const n=i.createElement(t);for(const r of Object.keys(e))if(r==="body"&&e.body===!0)n.setAttribute(Lo,"true");else{const s=e[r];if(r==="renderPriority"||r==="key"||s===!1)continue;r==="children"?n.textContent=s:n.setAttribute(r,s)}return n};function os(t,e){if(t instanceof HTMLElement&&e instanceof HTMLElement){const i=e.getAttribute("nonce");if(i&&!t.getAttribute("nonce")){const n=e.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=i,i===t.nonce&&t.isEqualNode(n)}}return t.isEqualNode(e)}var as=(t,e)=>{const i=t.getAttribute(On);if(i)for(const r of i.split(","))r in e||t.removeAttribute(r);const n=[];for(const r in e){const s=e[r];s!=null&&(s===!1?t.removeAttribute(r):t.setAttribute(r,s),n.push(r))}n.length?t.setAttribute(On,n.join(",")):t.removeAttribute(On)},Tc=(t=window.document,e,i)=>{var n,r;const s=t.head,o=t.body;let a=s.querySelector(`meta[name="${ss}"]`);const l=o.querySelectorAll(`[${Lo}]`),d=a?Number(a.getAttribute("content")):0,c=[],p=[];if(l)for(let h=0;h({element:Oc(h.tag,h.props,t),body:h.props.body??!1}));v=v.filter(h=>{for(let w=0;w{var w;return(w=h.parentNode)==null?void 0:w.removeChild(h)}),c.forEach(h=>{var w;return(w=h.parentNode)==null?void 0:w.removeChild(h)}),v.forEach(h=>{h.body===!0?o.insertAdjacentElement("beforeend",h.element):s.insertBefore(h.element,a)}),a.setAttribute("content",`${d-c.length+v.filter(h=>!h.body).length}`)},Cc=()=>{const t=Qe(Co);if(!t)throw new Error("You may forget to apply app.use(head)");return t},Lc=["title","meta","link","base","style","script","noscript","htmlAttrs","bodyAttrs"],Sc=(t,e)=>t==null?"":typeof t=="function"?t(e):t.replace("%s",e??""),kc=t=>{const e=[],i=Object.keys(t),n=r=>(r.hid&&(r.key=r.hid,delete r.hid),r.vmid&&(r.key=r.vmid,delete r.vmid),r);for(const r of i)if(t[r]!=null)switch(r){case"title":e.push({tag:r,props:{children:t[r]}});break;case"titleTemplate":break;case"base":e.push({tag:r,props:{key:"default",...t[r]}});break;default:if(Lc.includes(r)){const s=t[r];Array.isArray(s)?s.forEach(o=>{const a=n(o);e.push({tag:r,props:a})}):s&&e.push({tag:r,props:n(s)})}break}return e},Pc=t=>{let e=[];const i=new Set,n=[],r=[];t&&e.push(t);const s={install(o){o.config.globalProperties.$head=s,o.provide(Co,s)},hookBeforeDomUpdate:n,hookTagsResolved:r,get headTags(){const o=[],a={},l=e.map(Ac),d=l.map(p=>p.titleTemplate).reverse().find(p=>p!=null);l.forEach((p,v)=>{kc(p).forEach((w,C)=>{w._position=v*1e4+C,d&&w.tag==="title"&&(w.props.children=Sc(d,w.props.children));const k=Ec(w);k?a[k]=w:o.push(w)})}),o.push(...Object.values(a));const c=o.sort((p,v)=>p._position-v._position);if(s.hookTagsResolved)for(const p in s.hookTagsResolved)s.hookTagsResolved[p](c);return c},addHeadObjs(o){e.push(o)},removeHeadObjs(o){e=e.filter(a=>a!==o)},updateDOM(o=window.document){let a;const l={},d={},c={};for(const v of s.headTags.sort(xc)){if(v.tag==="title"){a=v.props.children;continue}if(v.tag==="htmlAttrs"){Object.assign(l,v.props);continue}if(v.tag==="bodyAttrs"){Object.assign(d,v.props);continue}c[v.tag]=c[v.tag]||[],c[v.tag].push(v)}if(s.hookBeforeDomUpdate){for(const v in s.hookBeforeDomUpdate)if(s.hookBeforeDomUpdate[v](c)===!1)return}a!==void 0&&(o.title=a),as(o.documentElement,l),as(o.body,d);const p=new Set([...Object.keys(c),...i]);for(const v of p)Tc(o,v,c[v]||[]);i.clear(),Object.keys(c).forEach(v=>i.add(v))}};return s},Ic=typeof window<"u",Dc=t=>{const e=Cc();e.addHeadObjs(t),Ic&&(Al(()=>{e.updateDOM()}),io(()=>{e.removeHeadObjs(t),e.updateDOM()}))};var jc=function(){function t(e,i){i===void 0&&(i=[]),this._eventType=e,this._eventFunctions=i}return t.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(i){typeof window<"u"&&window.addEventListener(e._eventType,i)})},t}(),$i=globalThis&&globalThis.__assign||function(){return $i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i"u")return!1;var e=Et(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function zc(t){var e=t.state;Object.keys(e.elements).forEach(function(i){var n=e.styles[i]||{},r=e.attributes[i]||{},s=e.elements[i];!Tt(s)||!Kt(s)||(Object.assign(s.style,n),Object.keys(r).forEach(function(o){var a=r[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function Yc(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach(function(n){var r=e.elements[n],s=e.attributes[n]||{},o=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:i[n]),a=o.reduce(function(l,d){return l[d]="",l},{});!Tt(r)||!Kt(r)||(Object.assign(r.style,a),Object.keys(s).forEach(function(l){r.removeAttribute(l)}))})}}const Gc={name:"applyStyles",enabled:!0,phase:"write",fn:zc,effect:Yc,requires:["computeStyles"]};function qt(t){return t.split("-")[0]}var Ee=Math.max,Wi=Math.min,Fe=Math.round;function Bn(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Mo(){return!/^((?!chrome|android).)*safari/i.test(Bn())}function Ne(t,e,i){e===void 0&&(e=!1),i===void 0&&(i=!1);var n=t.getBoundingClientRect(),r=1,s=1;e&&Tt(t)&&(r=t.offsetWidth>0&&Fe(n.width)/t.offsetWidth||1,s=t.offsetHeight>0&&Fe(n.height)/t.offsetHeight||1);var o=Oe(t)?Et(t):window,a=o.visualViewport,l=!Mo()&&i,d=(n.left+(l&&a?a.offsetLeft:0))/r,c=(n.top+(l&&a?a.offsetTop:0))/s,p=n.width/r,v=n.height/s;return{width:p,height:v,top:c,right:d+p,bottom:c+v,left:d,x:d,y:c}}function pr(t){var e=Ne(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function Ro(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&dr(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Qt(t){return Et(t).getComputedStyle(t)}function Xc(t){return["table","td","th"].indexOf(Kt(t))>=0}function he(t){return((Oe(t)?t.ownerDocument:t.document)||window.document).documentElement}function un(t){return Kt(t)==="html"?t:t.assignedSlot||t.parentNode||(dr(t)?t.host:null)||he(t)}function us(t){return!Tt(t)||Qt(t).position==="fixed"?null:t.offsetParent}function Jc(t){var e=/firefox/i.test(Bn()),i=/Trident/i.test(Bn());if(i&&Tt(t)){var n=Qt(t);if(n.position==="fixed")return null}var r=un(t);for(dr(r)&&(r=r.host);Tt(r)&&["html","body"].indexOf(Kt(r))<0;){var s=Qt(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function vi(t){for(var e=Et(t),i=us(t);i&&Xc(i)&&Qt(i).position==="static";)i=us(i);return i&&(Kt(i)==="html"||Kt(i)==="body"&&Qt(i).position==="static")?e:i||Jc(t)||e}function hr(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ei(t,e,i){return Ee(t,Wi(e,i))}function Zc(t,e,i){var n=ei(t,e,i);return n>i?i:n}function Ho(){return{top:0,right:0,bottom:0,left:0}}function Bo(t){return Object.assign({},Ho(),t)}function Fo(t,e){return e.reduce(function(i,n){return i[n]=t,i},{})}var Qc=function(e,i){return e=typeof e=="function"?e(Object.assign({},i.rects,{placement:i.placement})):e,Bo(typeof e!="number"?e:Fo(e,gi))};function tf(t){var e,i=t.state,n=t.name,r=t.options,s=i.elements.arrow,o=i.modifiersData.popperOffsets,a=qt(i.placement),l=hr(a),d=[vt,Lt].indexOf(a)>=0,c=d?"height":"width";if(!(!s||!o)){var p=Qc(r.padding,i),v=pr(s),h=l==="y"?gt:vt,w=l==="y"?Ct:Lt,C=i.rects.reference[c]+i.rects.reference[l]-o[l]-i.rects.popper[c],k=o[l]-i.rects.reference[l],S=vi(s),M=S?l==="y"?S.clientHeight||0:S.clientWidth||0:0,R=C/2-k/2,A=p[h],I=M-v[c]-p[w],F=M/2-v[c]/2+R,V=ei(A,F,I),J=l;i.modifiersData[n]=(e={},e[J]=V,e.centerOffset=V-F,e)}}function ef(t){var e=t.state,i=t.options,n=i.element,r=n===void 0?"[data-popper-arrow]":n;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||Ro(e.elements.popper,r)&&(e.elements.arrow=r))}const nf={name:"arrow",enabled:!0,phase:"main",fn:tf,effect:ef,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $e(t){return t.split("-")[1]}var rf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sf(t,e){var i=t.x,n=t.y,r=e.devicePixelRatio||1;return{x:Fe(i*r)/r||0,y:Fe(n*r)/r||0}}function ds(t){var e,i=t.popper,n=t.popperRect,r=t.placement,s=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,d=t.adaptive,c=t.roundOffsets,p=t.isFixed,v=o.x,h=v===void 0?0:v,w=o.y,C=w===void 0?0:w,k=typeof c=="function"?c({x:h,y:C}):{x:h,y:C};h=k.x,C=k.y;var S=o.hasOwnProperty("x"),M=o.hasOwnProperty("y"),R=vt,A=gt,I=window;if(d){var F=vi(i),V="clientHeight",J="clientWidth";if(F===Et(i)&&(F=he(i),Qt(F).position!=="static"&&a==="absolute"&&(V="scrollHeight",J="scrollWidth")),F=F,r===gt||(r===vt||r===Lt)&&s===fi){A=Ct;var tt=p&&F===I&&I.visualViewport?I.visualViewport.height:F[V];C-=tt-n.height,C*=l?1:-1}if(r===vt||(r===gt||r===Ct)&&s===fi){R=Lt;var G=p&&F===I&&I.visualViewport?I.visualViewport.width:F[J];h-=G-n.width,h*=l?1:-1}}var et=Object.assign({position:a},d&&rf),st=c===!0?sf({x:h,y:C},Et(i)):{x:h,y:C};if(h=st.x,C=st.y,l){var it;return Object.assign({},et,(it={},it[A]=M?"0":"",it[R]=S?"0":"",it.transform=(I.devicePixelRatio||1)<=1?"translate("+h+"px, "+C+"px)":"translate3d("+h+"px, "+C+"px, 0)",it))}return Object.assign({},et,(e={},e[A]=M?C+"px":"",e[R]=S?h+"px":"",e.transform="",e))}function of(t){var e=t.state,i=t.options,n=i.gpuAcceleration,r=n===void 0?!0:n,s=i.adaptive,o=s===void 0?!0:s,a=i.roundOffsets,l=a===void 0?!0:a,d={placement:qt(e.placement),variation:$e(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,ds(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,ds(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const af={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:of,data:{}};var xi={passive:!0};function lf(t){var e=t.state,i=t.instance,n=t.options,r=n.scroll,s=r===void 0?!0:r,o=n.resize,a=o===void 0?!0:o,l=Et(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach(function(c){c.addEventListener("scroll",i.update,xi)}),a&&l.addEventListener("resize",i.update,xi),function(){s&&d.forEach(function(c){c.removeEventListener("scroll",i.update,xi)}),a&&l.removeEventListener("resize",i.update,xi)}}const cf={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lf,data:{}};var ff={left:"right",right:"left",bottom:"top",top:"bottom"};function Di(t){return t.replace(/left|right|bottom|top/g,function(e){return ff[e]})}var uf={start:"end",end:"start"};function ps(t){return t.replace(/start|end/g,function(e){return uf[e]})}function gr(t){var e=Et(t),i=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:i,scrollTop:n}}function vr(t){return Ne(he(t)).left+gr(t).scrollLeft}function df(t,e){var i=Et(t),n=he(t),r=i.visualViewport,s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var d=Mo();(d||!d&&e==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+vr(t),y:l}}function pf(t){var e,i=he(t),n=gr(t),r=(e=t.ownerDocument)==null?void 0:e.body,s=Ee(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=Ee(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+vr(t),l=-n.scrollTop;return Qt(r||i).direction==="rtl"&&(a+=Ee(i.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function mr(t){var e=Qt(t),i=e.overflow,n=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}function No(t){return["html","body","#document"].indexOf(Kt(t))>=0?t.ownerDocument.body:Tt(t)&&mr(t)?t:No(un(t))}function ii(t,e){var i;e===void 0&&(e=[]);var n=No(t),r=n===((i=t.ownerDocument)==null?void 0:i.body),s=Et(n),o=r?[s].concat(s.visualViewport||[],mr(n)?n:[]):n,a=e.concat(o);return r?a:a.concat(ii(un(o)))}function Fn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function hf(t,e){var i=Ne(t,!1,e==="fixed");return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}function hs(t,e,i){return e===Do?Fn(df(t,i)):Oe(e)?hf(e,i):Fn(pf(he(t)))}function gf(t){var e=ii(un(t)),i=["absolute","fixed"].indexOf(Qt(t).position)>=0,n=i&&Tt(t)?vi(t):t;return Oe(n)?e.filter(function(r){return Oe(r)&&Ro(r,n)&&Kt(r)!=="body"}):[]}function vf(t,e,i,n){var r=e==="clippingParents"?gf(t):[].concat(e),s=[].concat(r,[i]),o=s[0],a=s.reduce(function(l,d){var c=hs(t,d,n);return l.top=Ee(c.top,l.top),l.right=Wi(c.right,l.right),l.bottom=Wi(c.bottom,l.bottom),l.left=Ee(c.left,l.left),l},hs(t,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function $o(t){var e=t.reference,i=t.element,n=t.placement,r=n?qt(n):null,s=n?$e(n):null,o=e.x+e.width/2-i.width/2,a=e.y+e.height/2-i.height/2,l;switch(r){case gt:l={x:o,y:e.y-i.height};break;case Ct:l={x:o,y:e.y+e.height};break;case Lt:l={x:e.x+e.width,y:a};break;case vt:l={x:e.x-i.width,y:a};break;default:l={x:e.x,y:e.y}}var d=r?hr(r):null;if(d!=null){var c=d==="y"?"height":"width";switch(s){case Be:l[d]=l[d]-(e[c]/2-i[c]/2);break;case fi:l[d]=l[d]+(e[c]/2-i[c]/2);break}}return l}function ui(t,e){e===void 0&&(e={});var i=e,n=i.placement,r=n===void 0?t.placement:n,s=i.strategy,o=s===void 0?t.strategy:s,a=i.boundary,l=a===void 0?Mc:a,d=i.rootBoundary,c=d===void 0?Do:d,p=i.elementContext,v=p===void 0?Ke:p,h=i.altBoundary,w=h===void 0?!1:h,C=i.padding,k=C===void 0?0:C,S=Bo(typeof k!="number"?k:Fo(k,gi)),M=v===Ke?Rc:Ke,R=t.rects.popper,A=t.elements[w?M:v],I=vf(Oe(A)?A:A.contextElement||he(t.elements.popper),l,c,o),F=Ne(t.elements.reference),V=$o({reference:F,element:R,strategy:"absolute",placement:r}),J=Fn(Object.assign({},R,V)),tt=v===Ke?J:F,G={top:I.top-tt.top+S.top,bottom:tt.bottom-I.bottom+S.bottom,left:I.left-tt.left+S.left,right:tt.right-I.right+S.right},et=t.modifiersData.offset;if(v===Ke&&et){var st=et[r];Object.keys(G).forEach(function(it){var St=[Lt,Ct].indexOf(it)>=0?1:-1,Rt=[gt,Ct].indexOf(it)>=0?"y":"x";G[it]+=st[Rt]*St})}return G}function mf(t,e){e===void 0&&(e={});var i=e,n=i.placement,r=i.boundary,s=i.rootBoundary,o=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,d=l===void 0?jo:l,c=$e(n),p=c?a?fs:fs.filter(function(w){return $e(w)===c}):gi,v=p.filter(function(w){return d.indexOf(w)>=0});v.length===0&&(v=p);var h=v.reduce(function(w,C){return w[C]=ui(t,{placement:C,boundary:r,rootBoundary:s,padding:o})[qt(C)],w},{});return Object.keys(h).sort(function(w,C){return h[w]-h[C]})}function bf(t){if(qt(t)===ur)return[];var e=Di(t);return[ps(t),e,ps(e)]}function yf(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var r=i.mainAxis,s=r===void 0?!0:r,o=i.altAxis,a=o===void 0?!0:o,l=i.fallbackPlacements,d=i.padding,c=i.boundary,p=i.rootBoundary,v=i.altBoundary,h=i.flipVariations,w=h===void 0?!0:h,C=i.allowedAutoPlacements,k=e.options.placement,S=qt(k),M=S===k,R=l||(M||!w?[Di(k)]:bf(k)),A=[k].concat(R).reduce(function(ee,Ht){return ee.concat(qt(Ht)===ur?mf(e,{placement:Ht,boundary:c,rootBoundary:p,padding:d,flipVariations:w,allowedAutoPlacements:C}):Ht)},[]),I=e.rects.reference,F=e.rects.popper,V=new Map,J=!0,tt=A[0],G=0;G=0,Rt=St?"width":"height",K=ui(e,{placement:et,boundary:c,rootBoundary:p,altBoundary:v,padding:d}),$=St?it?Lt:vt:it?Ct:gt;I[Rt]>F[Rt]&&($=Di($));var q=Di($),ut=[];if(s&&ut.push(K[st]<=0),a&&ut.push(K[$]<=0,K[q]<=0),ut.every(function(ee){return ee})){tt=et,J=!1;break}V.set(et,ut)}if(J)for(var zt=w?3:1,kt=function(Ht){var Pt=A.find(function(Yt){var It=V.get(Yt);if(It)return It.slice(0,Ht).every(function(Ce){return Ce})});if(Pt)return tt=Pt,"break"},ot=zt;ot>0;ot--){var ge=kt(ot);if(ge==="break")break}e.placement!==tt&&(e.modifiersData[n]._skip=!0,e.placement=tt,e.reset=!0)}}const _f={name:"flip",enabled:!0,phase:"main",fn:yf,requiresIfExists:["offset"],data:{_skip:!1}};function gs(t,e,i){return i===void 0&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function vs(t){return[gt,Lt,Ct,vt].some(function(e){return t[e]>=0})}function wf(t){var e=t.state,i=t.name,n=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,o=ui(e,{elementContext:"reference"}),a=ui(e,{altBoundary:!0}),l=gs(o,n),d=gs(a,r,s),c=vs(l),p=vs(d);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:c,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}const xf={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wf};function Ef(t,e,i){var n=qt(t),r=[vt,gt].indexOf(n)>=0?-1:1,s=typeof i=="function"?i(Object.assign({},e,{placement:t})):i,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[vt,Lt].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function Af(t){var e=t.state,i=t.options,n=t.name,r=i.offset,s=r===void 0?[0,0]:r,o=jo.reduce(function(c,p){return c[p]=Ef(p,e.rects,s),c},{}),a=o[e.placement],l=a.x,d=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[n]=o}const Of={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Af};function Tf(t){var e=t.state,i=t.name;e.modifiersData[i]=$o({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Cf={name:"popperOffsets",enabled:!0,phase:"read",fn:Tf,data:{}};function Lf(t){return t==="x"?"y":"x"}function Sf(t){var e=t.state,i=t.options,n=t.name,r=i.mainAxis,s=r===void 0?!0:r,o=i.altAxis,a=o===void 0?!1:o,l=i.boundary,d=i.rootBoundary,c=i.altBoundary,p=i.padding,v=i.tether,h=v===void 0?!0:v,w=i.tetherOffset,C=w===void 0?0:w,k=ui(e,{boundary:l,rootBoundary:d,padding:p,altBoundary:c}),S=qt(e.placement),M=$e(e.placement),R=!M,A=hr(S),I=Lf(A),F=e.modifiersData.popperOffsets,V=e.rects.reference,J=e.rects.popper,tt=typeof C=="function"?C(Object.assign({},e.rects,{placement:e.placement})):C,G=typeof tt=="number"?{mainAxis:tt,altAxis:tt}:Object.assign({mainAxis:0,altAxis:0},tt),et=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,st={x:0,y:0};if(F){if(s){var it,St=A==="y"?gt:vt,Rt=A==="y"?Ct:Lt,K=A==="y"?"height":"width",$=F[A],q=$+k[St],ut=$-k[Rt],zt=h?-J[K]/2:0,kt=M===Be?V[K]:J[K],ot=M===Be?-J[K]:-V[K],ge=e.elements.arrow,ee=h&&ge?pr(ge):{width:0,height:0},Ht=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Ho(),Pt=Ht[St],Yt=Ht[Rt],It=ei(0,V[K],ee[K]),Ce=R?V[K]/2-zt-It-Pt-G.mainAxis:kt-It-Pt-G.mainAxis,ie=R?-V[K]/2+zt+It+Yt+G.mainAxis:ot+It+Yt+G.mainAxis,ve=e.elements.arrow&&vi(e.elements.arrow),Ve=ve?A==="y"?ve.clientTop||0:ve.clientLeft||0:0,f=(it=et==null?void 0:et[A])!=null?it:0,u=$+Ce-f-Ve,g=$+ie-f,y=ei(h?Wi(q,u):q,$,h?Ee(ut,g):ut);F[A]=y,st[A]=y-$}if(a){var m,b=A==="x"?gt:vt,O=A==="x"?Ct:Lt,x=F[I],E=I==="y"?"height":"width",_=x+k[b],P=x-k[O],T=[gt,vt].indexOf(S)!==-1,L=(m=et==null?void 0:et[I])!=null?m:0,D=T?_:x-V[E]-J[E]-L+G.altAxis,N=T?x+V[E]+J[E]-L-G.altAxis:P,z=h&&T?Zc(D,x,N):ei(h?D:_,x,h?N:P);F[I]=z,st[I]=z-x}e.modifiersData[n]=st}}const kf={name:"preventOverflow",enabled:!0,phase:"main",fn:Sf,requiresIfExists:["offset"]};function Pf(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function If(t){return t===Et(t)||!Tt(t)?gr(t):Pf(t)}function Df(t){var e=t.getBoundingClientRect(),i=Fe(e.width)/t.offsetWidth||1,n=Fe(e.height)/t.offsetHeight||1;return i!==1||n!==1}function jf(t,e,i){i===void 0&&(i=!1);var n=Tt(e),r=Tt(e)&&Df(e),s=he(e),o=Ne(t,r,i),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!i)&&((Kt(e)!=="body"||mr(s))&&(a=If(e)),Tt(e)?(l=Ne(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=vr(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function Mf(t){var e=new Map,i=new Set,n=[];t.forEach(function(s){e.set(s.name,s)});function r(s){i.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!i.has(a)){var l=e.get(a);l&&r(l)}}),n.push(s)}return t.forEach(function(s){i.has(s.name)||r(s)}),n}function Rf(t){var e=Mf(t);return Kc.reduce(function(i,n){return i.concat(e.filter(function(r){return r.phase===n}))},[])}function Hf(t){var e;return function(){return e||(e=new Promise(function(i){Promise.resolve().then(function(){e=void 0,i(t())})})),e}}function Bf(t){var e=t.reduce(function(i,n){var r=i[n.name];return i[n.name]=r?Object.assign({},r,n,{options:Object.assign({},r.options,n.options),data:Object.assign({},r.data,n.data)}):n,i},{});return Object.keys(e).map(function(i){return e[i]})}var ms={placement:"bottom",modifiers:[],strategy:"absolute"};function bs(){for(var t=arguments.length,e=new Array(t),i=0;i{const i=t.__vccOpts||t;for(const[n,r]of e)i[n]=r;return i},Yf={class:"relative p-4 w-full max-w-2xl h-full md:h-auto"},Gf={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Xf={class:"modal-header"},Jf={class:"flex justify-between items-start p-4 rounded-t border-b dark:border-gray-600"},Zf={"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg","data-darkreader-inline-fill":"",style:{"--darkreader-inline-fill":"currentColor"}},Qf={class:"flex items-center p-6 space-x-2 rounded-b border-t border-gray-200 dark:border-gray-600"},tu={class:"max-w-md w-full space-y-8 p-10 bg-white shadow-lg rounded-xl z-10"},eu={class:"grid gap-8 grid-cols-1"},iu={class:"flex flex-col"},nu={class:"items-center header"},ru=["src"],su={class:"font-semibold text-lg mr-auto"},ou={class:"font-semibold text-lg mr-auto",style:{"text-align":"right"}},au={class:"mt-5"},lu={class:"mt-5"},cu={class:"relative"},fu=["value"],uu={class:"items-center mt-5 description"},du={class:"mt-10 flex flex-col"},pu=["disabled"],hu={__name:"App",setup(t){Dc({title:_s+" - Stremio Addon",link:[{rel:"icon",type:"image/svg+xml",href:"https://einthusan.tv/etc/favicon-16x16.png"}]});const e=sn({languages:["hindi","tamil","telugu","malayalam","kannada","bengali","marathi","punjabi"],install:null,Language:"",isDisabled:!0}),i=ka(),n={selectLang(){e.isDisabled=!1,this.generateInstallUrl()},generateInstallUrl(){const r=e.Language?"/"+e.Language:"",s=window.location.host+r+"/manifest.json";document.getElementById("install_button").href="stremio://"+s}};return eo(()=>{e.install=new Modal(i.value)}),(r,s)=>(_i(),wi("div",null,[B("div",{id:"installModal",ref_key:"installModal",ref:i,tabindex:"-1","aria-hidden":"true",class:"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 w-full md:inset-0 h-modal md:h-full justify-center items-center"},[B("div",Yf,[B("div",Gf,[B("div",Xf,[B("div",Jf,[s[7]||(s[7]=B("h3",{class:"text-xl font-semibold text-gray-900 dark:text-white"}," Install the addon ",-1)),B("button",{onClick:s[0]||(s[0]=o=>{e.install.hide()}),type:"button",class:"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white","data-modal-toggle":"defaultModal"},[(_i(),wi("svg",Zf,s[5]||(s[5]=[B("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"},null,-1)]))),s[6]||(s[6]=B("span",{class:"sr-only"},"Close modal",-1))])])]),s[9]||(s[9]=wn('

Hello guys, if you enjoy this addon and want it to keep working, and want new features to be added
Then please consider donating.

Buymeacoffee.com

Ko-fi.com

Buy Me a Coffee at ko-fi.com
',1)),B("div",Qf,[s[8]||(s[8]=B("a",{id:"install_button",href:"#"},[B("button",{type:"button",class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Install Addon")],-1)),B("button",{type:"button",onClick:s[1]||(s[1]=o=>{e.install.hide()}),class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"Cancel")])])])],512),B("div",{class:"bg-img relative min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8 bg-gray-500 bg-no-repeat bg-cover bg-center relative items-center",style:en(`background-image: url(${Kf});`)},[s[18]||(s[18]=B("div",{class:"absolute bg-black opacity-60 inset-0 z-0"},null,-1)),B("div",tu,[B("div",eu,[B("div",iu,[B("div",nu,[B("img",{class:"logo",src:Wf},null,8,ru),B("h1",su,Se(_s),1),B("h2",ou,"Version: "+Se(qf),1),B("p",au,Se(Uf),1)]),s[14]||(s[14]=wn('

Extra Features:

  • Show Recently Added Movies Catalog

Note:

  • To use multiple languages, simply re-add the addon with each desired language.
',3)),B("div",lu,[s[11]||(s[11]=B("label",{for:"Input",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-gray-300"},"Search Language",-1)),B("div",cu,[Va(B("select",{"onUpdate:modelValue":s[2]||(s[2]=o=>e.Language=o),onChange:s[3]||(s[3]=o=>n.selectLang()),id:"Input",class:"block p-4 pl-10 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[s[10]||(s[10]=B("option",{disabled:"",value:""},"Select Languages",-1)),(_i(!0),wi($t,null,il(e.languages,o=>(_i(),wi("option",{value:o},Se(o.charAt(0).toUpperCase()+o.slice(1)),9,fu))),256))],544),[[hc,e.Language]])])]),s[15]||(s[15]=B("div",{class:"flex items-center justify-center space-x-2 mt-10"},[B("span",{class:"h-px w-full bg-gray-200"})],-1)),B("div",uu,[s[12]||(s[12]=B("h2",{class:"font-semibold text-lg mr-auto"},"Selected Language:",-1)),s[13]||(s[13]=B("br",null,null,-1)),B("h3",null,Se(e.Language?e.Language.charAt(0).toUpperCase()+e.Language.slice(1):"None"),1)]),s[16]||(s[16]=B("div",{class:"flex items-center justify-center space-x-2 mt-10"},[B("span",{class:"h-px w-full bg-gray-200"})],-1)),B("div",du,[B("button",{disabled:e.isDisabled,onClick:s[4]||(s[4]=o=>{e.install.show(),n.generateInstallUrl()}),type:"button",class:"text-white bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 font-medium rounded-full text-sm px-5 py-2.5 text-center mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Install Addon",8,pu)]),s[17]||(s[17]=wn('

This addon was recreated by: asaddon

Orignally By: dexter21767
UI by: rab1t
Background by: Ahlen Ken A. Batalon.

',2))])])])],4)]))}},gu=zf(hu,[["__scopeId","data-v-1b7ab392"]]),Yo=mc(gu),vu=Pc();Yo.use(vu);Yo.mount("#app"); diff --git a/vue/dist/index.html b/vue/dist/index.html index 262b9c1..f0e9bca 100644 --- a/vue/dist/index.html +++ b/vue/dist/index.html @@ -5,7 +5,7 @@ - +