PageSourceSearch

https://movieloci.com/_next/static/chunks/8399.99cd105f4912c5ce.js

js movieloci.com collected 2026-10-02 05:12:55 UTC 7,763 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8399],{4209:()=>{},6288:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(5155),o=n(2115);function l(e){let{groups:t,activeLayer:n,onSwitch:l,onLockedClick:r}=e,[i,s]=(0,o.useState)(null),c=(0,o.useRef)(null);return(0,o.useEffect)(()=>{if(i)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){c.current&&(c.current.contains(e.target)||s(null))}},[i]),(0,a.jsx)("div",{ref:c,className:"flex max-w-full overflow-visible rounded-lg bg-white shadow-md [&>*:first-child>button]:rounded-l-lg [&>*:last-child>button]:rounded-r-lg [&>button:first-child]:rounded-l-lg [&>button:last-child]:rounded-r-lg",children:t.map(e=>{let t=e.items.find(e=>e.key===n),o=null!=t;if(e.inline||1===e.items.length){let t=e.items[0],o=t.key===n;return(0,a.jsxs)("button",{type:"button",onClick:()=>{t.locked?null==r||r(t.key):l(t.key)},title:t.locked?t.lockedHint:void 0,className:["whitespace-nowrap px-2 py-2 text-xs font-medium transition cursor-pointer sm:px-3 sm:py-2.5 sm:text-sm",o?"bg-accent text-white":t.locked?"text-gray-400 hover:bg-gray-50":"text-gray-600 hover:bg-gray-100"].join(" "),children:[e.title,t.locked&&(0,a.jsx)("span",{className:"ml-1 opacity-60",children:"\uD83D\uDD12"})]},e.id)}let c=e.items.every(e=>e.locked),u=i===e.id;return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>s(u?null:e.id),"aria-haspopup":"menu","aria-expanded":u,className:["flex items-center gap-1 whitespace-nowrap px-2 py-2 text-xs font-medium transition cursor-pointer sm:px-3 sm:py-2.5 sm:text-sm",o?"bg-accent text-white":c?"text-gray-400 hover:bg-gray-50":"text-gray-600 hover:bg-gray-100"].join(" "),children:[(0,a.jsx)("span",{children:e.title}),o&&t&&(0,a.jsxs)("span",{className:"hidden opacity-80 sm:inline",children:["\xb7 ",t.label]}),c&&(0,a.jsx)("span",{className:"opacity-60",children:"\uD83D\uDD12"}),(0,a.jsx)("span",{className:"text-[10px] opacity-70",children:"▾"})]}),u&&(0,a.jsx)("div",{role:"menu",className:"absolute left-0 top-full z-50 mt-1 w-44 overflow-hidden rounded-md border border-gray-200 bg-white text-gray-900 shadow-lg",children:e.items.map(e=>{let t=e.key===n;return(0,a.jsxs)("button",{type:"button",role:"menuitem",onClick:()=>{s(null),e.locked?null==r||r(e.key):l(e.key)},title:e.locked?e.lockedHint:void 0,className:["block w-full cursor-pointer px-3 py-2 text-left text-xs transition",t?"bg-accent/15 font-semibold text-accent-dark":e.locked?"text-gray-400 hover:bg-gray-50":"text-gray-700 hover:bg-accent/10"].join(" "),children:[e.label,e.locked&&(0,a.jsx)("span",{className:"ml-1 text-[10px] opacity-60",children:"\uD83D\uDD12"})]},e.key)})})]},e.id)})})}},9162:(e,t,n)=>{"use strict";n.d(t,{A3:()=>N,DY:()=>I,S4:()=>z,T3:()=>p,VX:()=>f,e0:()=>_,iD:()=>h,k2:()=>x,kS:()=>w,nb:()=>M,o3:()=>m,q:()=>E,tM:()=>d});var a,o,l,r,i,s,c,u=n(5704);let p={standard:{label:{cs:"Standardn\xed",fr:"Standard",en:"Standard"},tiles:["https://tile.openstreetmap.org/{z}/{x}/{y}.png"],attribution:"&copy; OpenStreetMap contributors",maxzoom:18},satellite:{label:{cs:"Leteck\xe1",fr:"A\xe9rienne",en:"Aerial"},tiles:["https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"],attribution:"&copy; Esri, Maxar, Earthstar Geographics",maxzoom:15}},d=[{key:"google",label:{cs:"Google Mapa",fr:"Google Maps",en:"Google Maps"},apiType:"roadmap",attribution:"&copy; Google",maxzoom:19}],m={cs:"Pro zobrazen\xed mapy Google se zaregistrujte a přihlaste.",fr:"Inscrivez-vous et connectez-vous pour afficher Google Maps.",en:"Register and sign in to view Google Maps.",it:"Registrati e accedi per visualizzare Google Maps."},y="AIzaSyAUkJcvys8Su5zj5Z9wZ_oP-GB6o7fsOrw",g={CS:"AIzaSyAUplCyHrdpmzy4BidGx0s1CIdzMchHgtk",EN:null!=(a=u.env.NEXT_PUBLIC_GOOGLE_MAP_TILES_KEY_EN)?a:"",FR:null!=(o=u.env.NEXT_PUBLIC_GOOGLE_MAP_TILES_KEY_FR)?o:"",IT:null!=(l=u.env.NEXT_PUBLIC_GOOGLE_MAP_TILES_KEY_IT)?l:""};function b(e){let t=(null!=e?e:"").toUpperCase();return"CS"===t||"EN"===t||"FR"===t||"IT"===t?t:"CS"}function h(e){return g[b(e)]||y}let f=[{key:"mapyBasic",label:{cs:"Standardn\xed",fr:"Standard",en:"Standard"},style:"basic",attribution:'&copy; <a href="https://mapy.com/" target="_blank" rel="noopener">Mapy.com</a>',maxzoom:18.5},{key:"mapyOutdoor",label:{cs:"Turistick\xe1",fr:"Plein air",en:"Outdoor"},style:"outdoor",attribution:'&copy; <a href="https://mapy.com/" target="_blank" rel="noopener">Mapy.com</a>',maxzoom:18.5},{key:"mapyAerial",label:{cs:"Leteck\xe1",fr:"A\xe9rienne",en:"Aerial"},style:"aerial",attribution:'&copy; <a href="https://mapy.com/" target="_blank" rel="noopener">Mapy.com</a>',maxzoom:19}],x={cs:"Pro zobrazen\xed Mapy.com se zaregistrujte a přihlaste.",fr:"Inscrivez-vous et connectez-vous pour afficher Mapy.com.",en:"Register and sign in to view Mapy.com.",it:"Registrati e accedi per visualizzare Mapy.com."},k="UYRxL8j3owI01Omj-a754A5S9HVJ9gtKBUGTzBcWN_I",v={CS:null!=(r=u.env.NEXT_PUBLIC_MAPY_API_KEY_CS)?r:"",EN:null!=(i=u.env.NEXT_PUBLIC_MAPY_API_KEY_EN)?i:"",FR:null!=(s=u.env.NEXT_PUBLIC_MAPY_API_KEY_FR)?s:"",IT:null!=(c=u.env.NEXT_PUBLIC_MAPY_API_KEY_IT)?c:""};function _(e){return v[b(e)]||k}function z(e){var t,n,a,o,l;let{locale:r,canUseGoogle:i,canUseMapy:s,googleLockedHint:c,mapyLockedHint:u,hideLocked:m=!1,titles:g={}}=e,b=e=>{var t;return null!=(t=e[r])?t:e.en},h=[];return h.push({id:"osm",title:null!=(t=g.osm)?t:"OpenStreetMaps",items:Object.entries(p).map(e=>{let[t,n]=e;return{key:t,label:b(n.label)}})}),k&&(s?h.push({id:"mapy",title:null!=(n=g.mapy)?n:"Mapy.com",items:f.map(e=>({key:e.key,label:b(e.label)}))}):m||h.push({id:"mapy",title:null!=(a=g.mapy)?a:"Mapy.com",items:f.map(e=>({key:e.key,label:b(e.label),locked:!0,lockedHint:u}))})),y&&(i?h.push({id:"google",title:null!=(o=g.google)?o:"Google Mapa",inline:!0,items:d.map(e=>({key:e.key,label:b(e.label)}))}):m||h.push({id:"google",title:null!=(l=g.google)?l:"Google Mapa",inline:!0,items:d.map(e=>({key:e.key,label:b(e.label),locked:!0,lockedHint:c}))})),h}function I(e,t){return"https://api.mapy.com/v1/maptiles/".concat(e,"/256/{z}/{x}/{y}?apikey=").concat(encodeURIComponent(_(t)))}function S(e,t){return"googleMapSession:".concat(e,":").concat(t)}async function E(e,t){let n=function(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t^e.charCodeAt(n);return Math.abs(t).toString(36)}(h(t)),a=function(e,t){try{let n=localStorage.getItem(S(e,t));if(!n)return null;let a=JSON.parse(n);if("string"!=typeof a.session||"string"!=typeof a.expiresAt||new Date(a.expiresAt).getTime()-36e5<Date.now())return null;return a}catch(e){return null}}(e,n);if(a)return a;try{let t=await fetch("/api/google-map-session?type=".concat(encodeURIComponent(e)),{cache:"no-store"});if(!t.ok)return null;let a=await t.json();if(!a.session)return null;try{localStorage.setItem(S(e,n),JSON.stringify(a))}catch(e){}return a}catch(e){return null}}function M(e,t,n){return"https://tile.googleapis.com/v1/2dtiles/{z}/{x}/{y}?session=".concat(encodeURIComponent(t),"&key=").concat(encodeURIComponent(h(n)))}function w(e,t,n){if(t)return{version:8,sources:{base:{type:"raster",tiles:[t],tileSize:256,attribution:null!=n?n:"&copy; Google"}},layers:[{id:"base",type:"raster",source:"base"}]};let a=p[e],o={base:{type:"raster",tiles:a.tiles,tileSize:256,attribution:a.attribution}},l=[{id:"base",type:"raster",source:"base"}];return a.overlay&&(o.overlay={type:"raster",tiles:a.overlay,tileSize:256},l.push({id:"overlay",type:"raster",source:"overlay",paint:{"raster-opacity":.8}})),{version:8,sources:o,layers:l}}function N(e){var t,n;let a=d.find(t=>t.key===e);if(a)return a.maxzoom;let o=f.find(t=>t.key===e);return o?o.maxzoom:null!=(n=null==(t=p[e])?void 0:t.maxzoom)?n:18}}}]);

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.