PageSourceSearch

https://www.cryptoslots.com/en/file/js/app_vendors_lazy_8dd8f986da672926.js?hash=baff2318453e24e7

js cryptoslots.com collected 2026-10-04 13:57:27 UTC 8,342 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcryptoslotsapp=self.webpackChunkcryptoslotsapp||[]).push([["867"],{16612(e,t,i){i.d(t,{F1f:()=>g,zs8:()=>y,k0O:()=>d,ieq:()=>l});let r=["fields","filter","search","sort","limit","offset","page","deep","backlink","alias","aggregate","groupBy","version","versionRaw"],s=e=>"string"==typeof e&&!!e,n=e=>Array.isArray(e)&&e.length>0,o=e=>"object"==typeof e&&!!e&&!n(e)&&Object.keys(e).length>0,a={fetch:globalThis.fetch,WebSocket:globalThis.WebSocket,URL:globalThis.URL,logger:globalThis.console},l=(e,t={})=>{let i=t.globals?{...a,...t.globals}:a;return{globals:i,url:new i.URL(e),with(e){return{...this,...e(this)}}}},c=(e,t)=>{if(0===e.length)throw Error(t)},h=(e,t)=>{var i;if(i=String(e),"directus_access.directus_activity.directus_collections.directus_comments.directus_fields.directus_files.directus_folders.directus_migrations.directus_permissions.directus_policies.directus_presets.directus_relations.directus_revisions.directus_roles.directus_sessions.directus_settings.directus_users.directus_dashboards.directus_panels.directus_notifications.directus_shares.directus_flows.directus_operations.directus_translations.directus_versions.directus_extensions.directus_deployments.directus_deployment_projects.directus_deployment_runs".split(".").includes(i))throw Error(t)},g=(e,t)=>()=>(c(String(e),"Collection cannot be empty"),h(e,"Cannot use readItems for core collections"),{path:`/items/${e}`,params:t??{},method:"GET"}),d=(e,t,i)=>()=>(c(String(e),"Collection cannot be empty"),h(e,"Cannot use readItem for core collections"),c(String(t),"Key cannot be empty"),{path:`/items/${e}/${t}`,params:i??{},method:"GET"});async function f(e){if(!("object"!=typeof e||!e)){if("object"==typeof e&&e&&"headers"in e&&"ok"in e&&"json"in e&&"function"==typeof e.json&&"text"in e&&"function"==typeof e.json){let t=e.headers.get("Content-Type")?.toLowerCase();if(t?.startsWith("application/json")||t?.startsWith("application/health+json")){let t=await e.json();if(!e.ok||"errors"in t)throw t;return"data"in t?t.data:t}if(t?.startsWith("text/html")||t?.startsWith("text/plain")){let t=await e.text();if(!e.ok)throw t;return t}return 204===e.status?null:e}if("errors"in e)throw e;return"data"in e?e.data:e}}let u=async(e,t,i=globalThis.fetch)=>(t.headers="object"!=typeof t.headers||Array.isArray(t.headers)?{}:t.headers,i(e,t).then(e=>f(e).catch(t=>{let i={message:"",errors:t&&"object"==typeof t&&"errors"in t?t.errors:t,response:e};return t&&"object"==typeof t&&"data"in t&&(i.data=t.data),Array.isArray(i.errors)&&i.errors[0]?.message&&(i.message=i.errors[0].message),Promise.reject(i)}))),m={},y=(e={})=>t=>{let i={...m,...e};return{async request(a){let l=a();if(l.headers||={},"Content-Type"in l.headers?"multipart/form-data"===l.headers["Content-Type"]&&delete l.headers["Content-Type"]:l.headers["Content-Type"]="application/json","getToken"in this&&!("Authorization"in l.headers)){let e=await this.getToken();e&&(l.headers.Authorization=`Bearer ${e}`)}let c=((e,t,i)=>{let a,l,c=new globalThis.URL("/"===e.pathname?t:(a=e.pathname,l=t,a.endsWith("/")&&(a=a.slice(0,-1)),l.startsWith("/")||(l="/"+l),a+l),e);if(i)for(let[e,t]of Object.entries((e=>{var t;let i,a={};for(let[l,c]of(e.fields&&(n(e.fields)&&(a.fields=(t=e.fields,i=(e,t=[])=>{if("object"==typeof e){let r=[];for(let s in e){let n=e[s]??[];if(Array.isArray(n))for(let e of n)r.push(i(e,[...t,s]));else if("object"==typeof n)for(let e of Object.keys(n))for(let o of n[e])r.push(i(o,[...t,`${s}:${e}`]))}return r.flatMap(e=>e)}return[...t,String(e)].join(".")},t.flatMap(e=>i(e))).join(",")),s(e.fields)&&(a.fields=e.fields)),o(e.filter)&&(a.filter=JSON.stringify(e.filter)),s(e.search)&&(a.search=e.search),e.sort&&(n(e.sort)&&(a.sort=e.sort.join(",")),s(e.sort)&&(a.sort=e.sort)),"limit"in e&&("number"==typeof e.limit&&e.limit>=-1&&(a.limit=String(e.limit)),s(e.limit)&&(a.limit=e.limit)),"offset"in e&&("number"==typeof e.offset&&e.offset>=0&&(a.offset=String(e.offset)),s(e.offset)&&(a.offset=e.offset)),"page"in e&&("number"==typeof e.page&&e.page>=1&&(a.page=String(e.page)),s(e.page)&&(a.page=e.page)),o(e.deep)&&(a.deep=JSON.stringify(e.deep)),o(e.alias)&&(a.alias=JSON.stringify(e.alias)),o(e.aggregate)&&(a.aggregate=JSON.stringify(e.aggregate)),e.groupBy&&(n(e.groupBy)&&(a.groupBy=e.groupBy.join(",")),s(e.groupBy)&&(a.groupBy=e.groupBy)),s(e.version)&&(a.version=e.version),e.ver
1sionRaw&&("boolean"==typeof e.versionRaw&&(a.versionRaw=String(e.versionRaw)),s(e.versionRaw)&&(a.versionRaw=e.versionRaw)),Object.entries(e))){let e;!r.includes(l)&&(e="string"==typeof c?c:JSON.stringify(c))&&(a[l]=e)}return a})(i)))if(t&&"object"==typeof t&&!Array.isArray(t))for(let[i,r]of Object.entries(t))c.searchParams.set(`${e}[${i}]`,String(r));else c.searchParams.set(e,t);return c})(t.url,l.path,l.params),h={method:l.method??"GET",headers:l.headers??{}};"credentials"in i&&(h.credentials=i.credentials),l.body&&(h.body=l.body),l.onRequest&&(h=await l.onRequest(h)),i.onRequest&&(h=await i.onRequest(h));let g=await u(c.toString(),h,t.globals.fetch);return"onResponse"in l&&(g=await l.onResponse(g,h)),"onResponse"in e&&(g=await e.onResponse(g,h)),g}}}},17439(e,t,i){i(80860);var r=class e{static items=[];static highlightOverlayElements=!1;static highlightedKey=null;static getItem(t){return e.items.find(e=>e.element===t)}static getItemByKey(t){return e.items.find(e=>e.key===t)}static getItemByEditConfig(t,i,r){return e.items.find(e=>{if(e.editConfig.collection!==t||String(e.editConfig.item)!==String(i))return!1;let s=e.editConfig.fields??[],n=r??[];return s.length===n.length&&s.every(e=>n.includes(e))})}static getHoveredItems(){return e.items.filter(e=>e.hover)}static addItem(t){e.items.push(t)}static enableItems(t){(t??e.items).forEach(e=>{e.disabled=!1,e.rectObserver.observe(),e.overlayElement.enable()})}static disableItems(t){let i=t??e.items.filter(e=>!e.disabled);return i.forEach(e=>{e.disabled=!0,e.hover=!1,e.rectObserver.unobserve(),e.overlayElement.disable()}),[...i]}static removeItems(t){let i=t??e.items;i.forEach(e=>{e.rectObserver.unobserve(),e.overlayElement.remove(),e.removeHoverListener()}),e.items=e.items.filter(e=>!i.includes(e))}static highlightItems(t){this.highlightOverlayElements!==t&&(this.highlightOverlayElements=t,e.items.forEach(e=>{e.overlayElement.toggleHighlight(t)}))}static highlightElement(t){let i;if(null!==this.highlightedKey&&e.getItemByKey(this.highlightedKey)?.overlayElement.toggleHighlightActive(!1),null===t){this.highlightedKey=null;return}(i="key"in t?e.getItemByKey(t.key):e.getItemByEditConfig(t.collection,t.item,t.fields))?(this.highlightedKey=i.key,i.overlayElement.toggleHighlightActive(!0)):this.highlightedKey=null}},s=class e{static SINGLETON;static ERROR_PARENT_NOT_FOUND="Error sending message to Directus in parent frame:";origin=null;confirmed=!1;aiEnabled=!1;constructor(){if(e.SINGLETON)return e.SINGLETON;e.SINGLETON=this,window?.addEventListener("message",this.receive.bind(this))}connect(e){return this.origin=e,this.send("connect")}send(t,i){try{if(!this.origin)throw Error();return window.parent.postMessage({action:t,data:i},this.origin),!0}catch(t){return console.error(e.ERROR_PARENT_NOT_FOUND,t),!1}}sameOrigin(e,t){try{return e===new URL(t).origin}catch{return!1}}receive(e){if(!this.origin||!this.sameOrigin(e.origin,this.origin))return;let{action:t,data:i}=e.data;"confirm"===t&&this.receiveConfirmAction(i),"showEditableElements"===t&&this.receiveShowEditableElements(i),"saved"===t&&this.receiveSaved(i),"highlightElement"===t&&this.receiveHighlightElement(i)}receiveConfirmAction(e){this.confirmed=!0,this.aiEnabled=!!e?.aiEnabled}isAiEnabled(){return this.aiEnabled}receiveConfirm(){let e=0;return new Promise(t=>{let i=()=>{if(e>=10)return t(!1);e++,this.confirmed?t(!0):setTimeout(i,100)};i()})}receiveShowEditableElements(e){r.highlightItems(!!e)}receiveSaved(e){let{key:t="",collection:i="",item:s=null,payload:n={}}=e,o=r.getItemByKey(t);o&&i&&"function"==typeof o.onSaved?o.onSaved({collection:i,item:s,payload:n}):window.location.reload()}receiveHighlightElement(e){if(!e||"object"!=typeof e)return void r.highlightElement(null);let{key:t,collection:i,item:s,fields:n}=e;null===t?r.highlightElement(null):i&&void 0!==s?r.highlightElement(n?{collection:i,item:s,fields:n}:{collection:i,item:s}):"string"==typeof t&&r.highlightElement({key:t})}}}}]);

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.