PageSourceSearch

https://zarina.ru/_next/static/chunks/5136.501667d968c5c2e1.js

js zarina.ru collected 2026-10-01 11:39:32 UTC 7,229 bytes, 6 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="17318047-6953-4fcd-9ea3-8bf309d5e354",e._sentryDebugIdIdentifier="sentry-dbid-17318047-6953-4fcd-9ea3-8bf309d5e354")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5136],{35136:(e,t,i)=>{i.r(t),i.d(t,{default:()=>v});var a=i(71983),n=i(45849),s=i(12115),l=i(91504),o=i(91421),r=i(62726);let d=(e=>class extends e{static shadowRootOptions={...e.shadowRootOptions};static getTemplateHTML=(t,i={})=>{let{src:a,...n}=t;return`
2        <script type="application/json" id="config">
3          ${JSON.stringify(i.config||{})}
4        </script>
5        ${e.getTemplateHTML(n)}
6      `};#e=null;#t=null;constructor(){super(),this.#i("config")}get config(){return this.#t}set config(e){this.#t=e}attributeChangedCallback(e,t,i){"src"!==e&&super.attributeChangedCallback(e,t,i),"src"===e&&t!=i&&this.load()}#a(){var e,t;null==(e=this.#e)||e.remove(),null==(t=this.nativeEl)||t.removeEventListener("webkitcurrentplaybacktargetiswirelesschanged",this.#n),this.api&&(this.api.detachMedia(),this.api.destroy(),this.api=null)}async load(){var e,t;let i=!this.api;
6if(this.#a(),this.src){if(i&&!this.#t&&(this.#t=JSON.parse((null==(e=this.shadowRoot.getElementById("config"))?void 0:e.textContent)||"{}")),r.Ay.isSupported()){switch(await Promise.resolve(),this.api=new r.Ay({liveDurationInfinity:!0,autoStartLoad:!1,...this.config}),this.api.loadSource(this.src),this.api.attachMedia(this.nativeEl),this.nativeEl.preload){case"none":{let e=()=>this.api.startLoad();this.nativeEl.addEventListener("play",e,{once:!0}),this.api.on(r.Ay.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",e)});break}case"metadata":{let e=this.api.config.maxBufferLength,t=this.api.config.maxBufferSize;this.api.config.maxBufferLength=1,this.api.config.maxBufferSize=1;let i=()=>{this.api.config.maxBufferLength=e,this.api.config.maxBufferSize=t};this.nativeEl.addEventListener("play",i,{once:!0}),this.api.on(r.Ay.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",i)}),this.api.startLoad();break}default:this.api.startLoad()}this.nativeEl.webkitCurrentPlaybackTargetIsWireless&&this.api.stopLoad(),this.nativeEl.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",this.#n),this.#e=document.createElement("source"),this.#e.setAttribute("type","application/x-mpegURL"),this.#e.setAttribute("src",this.src),this.nativeEl.disableRemotePlayback=!1,this.nativeEl.append(this.#e);let e=new WeakMap;this.api.on(r.Ay.Events.MANIFEST_PARSED,(t,i)=>{this.nativeEl.autoplay&&this.nativeEl.paused&&this.nativeEl.play().catch(e=>{console.warn("Autoplay failed:",e)}),n();let a=this.videoTracks.getTrackById("main");for(let[t,n]of(a||((a=this.addVideoTrack("main")).id="main",a.selected=!0),i.levels.entries())){let i=a.addRendition(n.url[0],n.width,n.height,n.videoCodec,n.bitrate);e.set(n,`${t}`),i.id=`${t}`}for(let[e,t]of i.audioTracks.entries()){let i=t.default?"main":"alternative",a=this.addAudioTrack(i,t.name,t.lang);a.id=`${e}`,t.default&&(a.enabled=!0)}}),this.audioTracks.addEventListener("change",()=>{var e;let t=+(null==(e=[...this.audioTracks].find(e=>e.enabled))?void 0:e.id),i=this.api.audioTracks.map(e=>e.id);t!=this.api.audioTrack&&i.includes(t)&&(this.api.audioTrack=t)}),this.api.on(r.Ay.Events.LEVELS_UPDATED,(t,i)=>{let a=this.videoTracks[this.videoTracks.selectedIndex??0];if(!a)return;let n=i.levels.map(t=>e.get(t));for(let e of this.videoRenditions)e.id&&!n.includes(e.id)&&a.removeRendition(e)});let i=null;this.api.on(r.Ay.Events.ERROR,(e,t)=>{t.type===r.Ay.ErrorTypes.NETWORK_ERROR&&t.details===r.Ay.ErrorDetails.FRAG_LOAD_ERROR&&(i=t.frag.level)}),this.api.on(r.Ay.Events.LEVEL_SWITCHED,(e,t)=>{let a=t.level;null!==i&&a<i&&(console.warn(`\u26A0\uFE0F hls.js downgraded quality from level ${i} to ${a} due to fragment load failure.`),this.videoRenditions.selectedIndex=a,i=null)});let a=e=>{let t=e.target.selectedIndex;t!=this.api.nextLevel&&(this.api.nextLevel=t)};null==(t=this.videoRenditions)||t.addEventListener("change",a);let n=()=>{for(let e of this.videoTracks)this.removeVideoTrack(e);for(let e of this.audioTracks)this.removeAudioTrack(e)};this.api.once(r.Ay.Events.DESTROYING,n);return}await Promise.resolve(),this.nativeEl.canPlayType("application/vnd.apple.mpegurl")&&(this.nativeEl.src=this.src)}}#n=()=>{var e,t,i;(null==(e=this.nativeEl)?void 0:e.webkitCurrentPlaybackTargetIsWireless)?null==(t=this.api)||t.stopLoad():null==(i=this.api)||i.startLoad()};#i(e){if(Object.prototype.hasOwnProperty.call(this,e)){let t=this[e];delete this[e],this[e]=t}}})((0,o.u6)(l.lB));globalThis.customElements&&!globalThis.customElements.get("hls-video")&&globalThis.customElements.define("hls-video",d);var u=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),c={className:"class",htmlFor:"for"};function h(e){return e.toLowerCase()}function p(e){return"boolean"==typeof e?e?"":void 0:"function"==typeof e?void 0:"object"!=typeof e||null===e?e:void 0}function f(e,t,i){var a,n;e[t]=i,null==i&&t in(null!=(n=null==(a=globalThis.HTMLElement)?void 0:a.prototype)?n:{})&&e.removeAttribute(t)}var v=function(e){let{react:t,tagName:i,elementClass:s,events:l,displayName:o,defaultProps:r,toAttributeName:d=h,toAttributeValue:v=p}=e,y=Number.parseInt(t.version)>=19,g=t.forwardRef((e,o)=>{var h,g,E,m,b;let T=t.useRef(null),L=t.useRef(new Map),w={},k={},R={},A={};for(let[t,i]of Object.entries(e)){if(u.has(t)){R[t]=i;continue}let e=d(null!=(E=c[t])?E:t);if(s.prototype&&t in s.prototype&&!(t in(null!=(m=null==(h=globalThis.HTMLElement)?void 0:h.prototype)?m:{}))&&!(null==(g=s.observedAttributes)?void 0:g.some(t=>t===e))){A[t]=i;continue}if(t.startsWith("on")){w[t]=i;continue}let a=v(i);e&&null!=a&&(k[e]=String(a),y||(R[e]=a)),e&&y&&(a!==p(i)?R[e]=a:R[e]=i)}if("undefined"!=typeof window){for(let e in w){let i=w[e],a=e.endsWith("Capture"),n=(null!=(b=null==l?void 0:l[e])?b:e.slice(2).toLowerCase()).slice(0,a?-7:void 0);t.useLayoutEffect(()=>{let e=null==T?void 0:T.current;if(e&&"function"==typeof i)return e.addEventListener(n,i,a),()=>{e.removeEventListener(n,i,a)}},[null==T?void 0:T.current,i])}t.useLayoutEffect(()=>{if(null===T.current)return;let e=new Map;for(let t in A)f(T.current,t,A[t]),L.current.delete(t),e.set(t,A[t]);for(let[e,t]of L.current)f(T.current,e,void 0);L.current=e})}if("undefined"==typeof window&&(null==s?void 0:s.getTemplateHTML)&&(null==s?void 0:s.shadowRootOptions)){let{mode:i,delegatesFocus:a}=s.shadowRootOptions;R.children=[t.createElement("template",{shadowrootmode:i,shadowrootdelegatesfocus:a,dangerouslySetInnerHTML:{__html:s.getTemplateHTML(k,e)},key:"ce-la-react-ssr-template-shadow-root"}),R.children]}return t.createElement(i,(0,n._)((0,a._)({},r,R),{ref:t.useCallback(e=>{T.current=e,"function"==typeof o?o(e):null!==o&&(o.current=e)},[o])}),R.children)});return g.displayName=null!=o?o:s.name,g}({react:s,tagName:"hls-video",elementClass:d,toAttributeName:e=>"muted"===e?"":"defaultMuted"===e?"muted":h(e)})}}]);

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.