PageSourceSearch

https://www.jivochat.co.id/_next/static/chunks/pages/admin/media-library-0c66377ea533c365.js

js jivochat.co.id collected 2026-10-04 11:56:26 UTC 6,478 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[70514],{14204:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={default:function(){return s},noSSR:function(){return d}};for(var l in r)Object.defineProperty(t,l,{enumerable:!0,get:r[l]});let i=a(48729);a(96677),a(39033);let n=i._(a(82715));function o(e){return{default:e?.default||e}}function d(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let a=n.default,r={loading:({error:e,isLoading:t,pastDelay:a})=>null};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let l=(r={...r,...t}).loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?a({...r,loader:()=>null!=l?l().then(o):Promise.resolve(o(()=>null))}):(delete r.webpack,delete r.modules,d(a,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},22648:(e,t,a)=>{e.exports=a(14204)},33225:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=a(48729)._(a(39033)).default.createContext(null)},45173:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/media-library",function(){return a(87435)}])},49013:e=>{e.exports={screenMobileMax:"760px",screenTabletMax:"1225px",screenDesktopMin:"1226px",mediaMobile:'"max-width: 760px"',mediaMobileAndTablet:'"max-width: 1225px"',mediaTablet:'"min-width: 761px) and (max-width: 1225px"',mediaTabletAndDesktop:'"min-width: 761px"',mediaDesktop:'"min-width: 1226px"',mediaNarrowDesktop:'"(min-width: 1226px) and (max-width: 1388px)"',pageContainer:"mediaLibrary_pageContainer__FGOPE",pageHeader:"mediaLibrary_pageHeader__h6Ci6",mediaLibraryWrapper:"mediaLibrary_mediaLibraryWrapper__ARWdl",loading:"mediaLibrary_loading__D8yQf",spinner:"mediaLibrary_spinner__9wiW5",spin:"mediaLibrary_spin__g5Mk6"}},75677:(e,t,a)=>{e.exports=a(31505)},82715:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let r=a(48729)._(a(39033)),l=a(33225),i=[],n=[],o=!1;function d(e){let t=e(),a={loading:!0,loaded:null,error:null};return a.promise=t.then(e=>(a.loading=!1,a.loaded=e,e)).catch(e=>{throw a.loading=!1,a.error=e,e}),a}class s{constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}}function u(e){return function(e,t){let a=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),i=null;function d(){if(!i){let t=new s(e,a);i={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return i.promise()}if(!o){let e=a.webpack&&1?a.webpack():a.modules;e&&n.push(t=>{for(let a of e)if(t.includes(a))return d()})}function u(e,t){let n;d(),(n=r.default.useContext(l.LoadableContext))&&Array.isArray(a.modules)&&a.modules.forEach(e=>{n(e)});let o=r.default.useSyncExternalStore(i.subscribe,i.getCurrentValue,i.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:i.retry}),[]),r.default.useMemo(()=>{var t;return o.loading||o.error?r.default.createElement(a.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:i.retry}):o.loaded?r.default.createElement((t=o.loaded)&&t.default?t.default:t,e):null},[e,o])}return u.preload=()=>d(),u.displayName="LoadableComponent",r.default.forwardRef(u)}(d,e)}function p(e,t){let a=[];for(;e.length;){let r=e.pop();a.push(r(t))}return Promise.all(a).then(()=>
1{if(e.length)return p(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{p(i).then(e,t)}),u.preloadReady=(e=[])=>new Promise(t=>{let a=()=>(o=!0,t());p(n,e).then(a,a)}),window.__NEXT_PRELOADREADY=u.preloadReady;let c=u},87435:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>m,default:()=>_});var r=a(96677),l=a(39033),i=a(22648),n=a.n(i),o=a(75677),d=a.n(o),s=a(63526),u=a(49013),p=a.n(u);let c=n()(()=>Promise.all([a.e(60982),a.e(18511),a.e(84931)]).then(a.bind(a,23521)),{loadableGenerated:{webpack:()=>[23521]},ssr:!1,loading:()=>(0,r.jsxs)("div",{className:p().loading,children:[(0,r.jsx)("div",{className:p().spinner}),(0,r.jsx)("p",{children:"Loading Media Library..."})]})});var m=!0;let _=()=>{let e=(0,s.useRouter)(),[t,a]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{a("true"===new URLSearchParams(window.location.search).get("widget"))},[e]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(d(),{children:[(0,r.jsx)("title",{children:"Media Library - Admin"}),(0,r.jsx)("meta",{name:"description",content:"Manage your S3 media files"}),(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow, noarchive, nosnippet"}),(0,r.jsx)("meta",{name:"googlebot",content:"noindex, nofollow, noarchive, nosnippet"})]}),(0,r.jsx)("div",{className:p().pageContainer,children:(0,r.jsx)("div",{className:p().mediaLibraryWrapper,children:(0,r.jsx)(c,{onFileSelect:e=>{console.log("Selected file:",e),t?window.parent.postMessage({type:"MEDIA_LIBRARY_FILE_SELECTED",fileUrl:e},window.location.origin):navigator.clipboard&&navigator.clipboard.writeText(e).then(()=>{alert("File URL copied to clipboard!")})},allowMultipleSelection:!t,allowedFileTypes:["image/*","video/mp4","video/webm",".pdf",".doc",".docx"],isModal:!1,isWidget:t})})})]})}}},e=>{e.O(0,[90636,46593,38792],()=>e(e.s=45173)),_N_E=e.O()}]);

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.