PageSourceSearch

https://watch.ninoscorner.tv/js/custom-page.6a79c959.js

js ninoscorner.tv collected 2026-10-02 14:32:24 UTC 9,568 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkweb_tv_vue"]=self["webpackChunkweb_tv_vue"]||[]).push([[350],{52087:function(e,t,n){n.r(t),n.d(t,{default:function(){return A}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"frame-view"},[e.canLoad?t("iframe",{ref:"frame",attrs:{id:"view-frame",srcdoc:e.srcdoc}}):e._e(),e.loading?t("div",{staticClass:"spinner"},[t("md-progress-spinner",{attrs:{"md-mode":"indeterminate"}})],1):e._e()])},i=[],s=Object.prototype.toString,a=Array.isArray||function(e){return"[object Array]"===s.call(e)};function o(e){return"function"===typeof e}function c(e){return a(e)?"array":typeof e}function u(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function h(e,t){return null!=e&&"object"===typeof e&&t in e}function p(e,t){return null!=e&&"object"!==typeof e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var l=RegExp.prototype.test;function g(e,t){return l.call(e,t)}var f=/\S/;function d(e){return!g(f,e)}var v={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function m(e){return String(e).replace(/[&<>"'`=\/]/g,(function(e){return v[e]}))}var w=/\s*/,y=/\s+/,P=/\s*=/,b=/\s*\}/,C=/#|\^|\/|>|\{|&|=|!/;function H(e,t){if(!e)return[];var n,r,i,s=!1,o=[],c=[],h=[],p=!1,l=!1,g="",f=0;function v(){if(p&&!l)while(h.length)delete c[h.pop()];else h=[];p=!1,l=!1}function m(e){if("string"===typeof e&&(e=e.split(y,2)),!a(e)||2!==e.length)throw new Error("Invalid tags: "+e);n=new RegExp(u(e[0])+"\\s*"),r=new RegExp("\\s*"+u(e[1])),i=new RegExp("\\s*"+u("}"+e[1]))}m(t||U.tags);var H,R,T,_,L,j,S=new E(e);while(!S.eos()){if(H=S.pos,T=S.scanUntil(n),T)for(var I=0,$=T.length;I<$;++I)_=T.charAt(I),d(_)?(h.push(c.length),g+=_):(l=!0,s=!0,g+=" "),c.push(["text",_,H,H+1]),H+=1,"\n"===_&&(v(),g="",f=0,s=!1);if(!S.scan(n))break;if(p=!0,R=S.scan(C)||"name",S.scan(w),"="===R?(T=S.scanUntil(P),S.scan(P),S.scanUntil(r)):"{"===R?(T=S.scanUntil(i),S.scan(b),S.scanUntil(r),R="&"):T=S.scanUntil(r),!S.scan(r))throw new Error("Unclosed tag at "+S.pos);if(L=">"==R?[R,T,H,S.pos,g,f,s]:[R,T,H,S.pos],f++,c.push(L),"#"===R||"^"===R)o.push(L);else if("/"===R){if(j=o.pop(),!j)throw new Error('Unopened section "'+T+'" at '+H);if(j[1]!==T)throw new Error('Unclosed section "'+j[1]+'" at '+H)}else"name"===R||"{"===R||"&"===R?l=!0:"="===R&&m(T)}if(v(),j=o.pop(),j)throw new Error('Unclosed section "'+j[1]+'" at '+S.pos);return x(k(c))}function k(e){for(var t,n,r=[],i=0,s=e.length;i<s;++i)t=e[i],t&&("text"===t[0]&&n&&"text"===n[0]?(n[1]+=t[1],n[3]=t[3]):(r.push(t),n=t));return r}function x(e){for(var t,n,r=[],i=r,s=[],a=0,o=e.length;a<o;++a)switch(t=e[a],t[0]){case"#":case"^":i.push(t),s.push(t),i=t[4]=[];break;case"/":n=s.pop(),n[5]=t[2],i=s.length>0?s[s.length-1][4]:r;break;default:i.push(t)}return r}function E(e){this.string=e,this.tail=e,this.pos=0}function R(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function T(){this.templateCache={_cache:{},set:function(e,t){this._cache[e]=t},get:function(e){return this._cache[e]},clear:function(){this._cache={}}}}E.prototype.eos=function(){return""===this.tail},E.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},E.prototype.scanUntil=function(e){var t,n=this.tail.search(e);switch(n){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=t.length,t},R.prototype.push=function(e){return new R(e,this)},R.prototype.lookup=function(e){var t,n=this.cache;if(n.hasOwnProperty(e))t=n[e];else{var r,i,s,a=this,c=!1;while(a){if(e.indexOf(".")>0){r=a.view,i=e.split("."),s=0;while(null!=r&&s<i.length)s===i.length-1&&(c=h(r,i[s])||p(r,i[s])),r=r[i[s++]]}else r=a.view[e],c=h(a.view,e);if(c){t=r;break}a=a.parent}n[e]=t}return o(t)&&(t=t.call(this.view)),t},T.prototype.clearCache=function(){"undefined"!==typeof this.templateCache&&this.templateCache.clear()},T.prototype.parse=function(e,t){var n=this.templateCache,r=e+":"+(t||U.tags).join(":"),i="undefined"!==typeof n,s=i?n.get(r):void 0;return void 0==s&&(s=H(e,t),i&&n.set(r,s)),s},T.prototype.render=function(e,t,n,r){var i=this.getConfigTags(r),s=this.parse(e,i),a=t instanceof R?t:new R(t,void 0);return this.renderTokens(s,a,n,e,r)},T.prototype.renderTokens=function(e,t,n,r,i){for(var s,a,o,c="",u=0,h=e.length;u<h;++u)o=void 0,s=e[u],a=s[0],"#"===a?o=this.renderSection(s,t,n,r,i):"^"===a?o=this.renderInverted(s,t,n,r,i):">"===a?o=this.renderPartial(s,t,n,i):"&"===a?o=this.unescapedValue(s,t):"name"===a?o=this.escapedValue(s,t,i):"text"===a&&(o=this.rawValue(s)),void 0!==o&&(c+=o);return c},T.prototype.renderSection=function(e,t,n,r,i){var s=this,c="",u=t.lookup(e[1]);function h(e){return s.render(e,t,n,i)}if(u){if(a(u))for(var p=0,l=u.length;p<l;++p)c+=this.renderTokens(e[4],t.push(u[p]),n,r,i);else if("object"===typeof u||"string"===typeof u||"number"===typeof u)c+=this.renderTokens(e[4],t.push(u),n,r,i);
1else if(o(u)){if("string"!==typeof r)throw new Error("Cannot use higher-order sections without the original template");u=u.call(t.view,r.slice(e[3],e[5]),h),null!=u&&(c+=u)}else c+=this.renderTokens(e[4],t,n,r,i);return c}},T.prototype.renderInverted=function(e,t,n,r,i){var s=t.lookup(e[1]);if(!s||a(s)&&0===s.length)return this.renderTokens(e[4],t,n,r,i)},T.prototype.indentPartial=function(e,t,n){for(var r=t.replace(/[^ \t]/g,""),i=e.split("\n"),s=0;s<i.length;s++)i[s].length&&(s>0||!n)&&(i[s]=r+i[s]);return i.join("\n")},T.prototype.renderPartial=function(e,t,n,r){if(n){var i=this.getConfigTags(r),s=o(n)?n(e[1]):n[e[1]];if(null!=s){var a=e[6],c=e[5],u=e[4],h=s;0==c&&u&&(h=this.indentPartial(s,u,a));var p=this.parse(h,i);return this.renderTokens(p,t,n,h,r)}}},T.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return n},T.prototype.escapedValue=function(e,t,n){var r=this.getConfigEscape(n)||U.escape,i=t.lookup(e[1]);if(null!=i)return"number"===typeof i&&r===U.escape?String(i):r(i)},T.prototype.rawValue=function(e){return e[1]},T.prototype.getConfigTags=function(e){return a(e)?e:e&&"object"===typeof e?e.tags:void 0},T.prototype.getConfigEscape=function(e){return e&&"object"===typeof e&&!a(e)?e.escape:void 0};var U={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){_.templateCache=e},get templateCache(){return _.templateCache}},_=new T;U.clearCache=function(){return _.clearCache()},U.parse=function(e,t){return _.parse(e,t)},U.render=function(e,t,n,r){if("string"!==typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+c(e)+'" was given as the first argument for mustache#render(template, view, partials)');return _.render(e,t,n,r)},U.escape=m,U.Scanner=E,U.Context=R,U.Writer=T;var L=U;const j="<script>\n        var customPageZeroReset = true,\n        customPageHeightReset = false,\n        customPageHeightTimeout = undefined,\n        customPageBody = document.body,\n        customPageHtml = document.documentElement;\n\n        var reportHeight = function(event) {\n\n            clearTimeout(customPageHeightTimeout);\n            customPageHeightTimeout = setTimeout(function() {\n                var height = Math.max( customPageBody.scrollHeight, customPageBody.offsetHeight,\n                                    customPageHtml.clientHeight, customPageHtml.scrollHeight, customPageHtml.offsetHeight );\n\n                if(customPageHtml.clientHeight > 0 && !customPageZeroReset && !customPageHeightReset) {\n                        window.parent.postMessage({\n                            'height': 0\n                        }, \"{{{baseURL}}}\");\n                        customPageZeroReset = true;\n                        return;\n                } else if(!customPageHeightReset && customPageZeroReset) {\n                        window.parent.postMessage({\n                            'height': height\n                        }, \"{{{baseURL}}}\");\n                        customPageHeightReset = true;\n\n                } else {\n                    customPageHeightReset = false;\n                    customPageZeroReset = false;\n                }\n            },100);\n        }\n        window.addEventListener('resize', reportHeight, true);\n        window.addEventListener('load', reportHeight, true);\n    <\/script>";var S={name:"FrameView",props:{pageId:{type:String,default:""}},data:()=>({srcdoc:void 0,canLoad:!1,loading:!1,serial:0}),watch:{pageId(){this.updatePage()}},created(){this.updatePage(),n.g.addEventListener("message",this.onMessage,!1)},beforeDestroy(){n.g.removeEventListener("message",this.onMessage)},methods:{onMessage(e){e.origin===n.g.location.origin&&this.setHeight(e.data?.height)},setHeight(e){this.$refs?.frame&&e>=0&&this.$refs?.frame?.setAttribute("style",`height: ${e+25}px`)},async updatePage(){if(this.serial+=1,this.srcdoc=void 0,this.canLoad=!1,void 0===this.pageId||""===this.pageId)return void(this.loading=!1);this.loading=!0;const e=this.serial;try{const[t,r]=await Promise.all([this.$gideo.getPageContent(this.pageId),this.$appSettings]);if(this.serial===e){const e=L.render(t,{settings:r,baseURL:n.g.location.href},{scripts:j});this.srcdoc=e,this.canLoad=!0,this.loading=!1}}catch(t){this.$router.replace({name:"PageNotFound",params:[this.$route.path]})}}}},I=S,$=n(81656),V=(0,$.A)(I,r,i,!1,null,"a8c6a844",null),A=V.exports}}]);
2//# sourceMappingURL=custom-page.6a79c959.js.map

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