mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-15 00:46:22 +00:00
1 line
40 KiB
Plaintext
1 line
40 KiB
Plaintext
|
{"version":3,"sources":["home.js"],"names":["const","lsKeys","token","chunkSize","parallelUploads","fileLength","uploadAge","page","localStorage","private","enableUserAccounts","maxSize","temporaryUploadAges","fileIdentifierLength","album","maxSizeBytes","urlMaxSize","urlMaxSizeBytes","tabs","activeTab","albumSelect","previewTemplate","dropzone","clipboardJS","lazyLoad","imageExtensions","checkIfPublic","onFailure","axios","get","then","response","data","parseInt","preparePage","catch","prepareUpload","verifyToken","button","document","querySelector","href","classList","remove","innerText","reloadOnError","post","success","swal","title","text","description","icon","removeItem","location","reload","addEventListener","value","prepareShareX","fetchAlbums","prepareUploadConfig","innerHTML","getPrettyBytes","add","prepareDropzone","event","uploadUrls","currentTarget","tabsContainer","querySelectorAll","loop","i","id","dataset","tabContent","setActiveTab","push","tab","content","length","index","let","headers","Array","isArray","albums","option","createElement","name","appendChild","previewNode","parentNode","removeChild","tabDiv","div","className","previewsContainer","Dropzone","body","url","paramName","clickable","maxFilesize","uploadMultiple","createImageThumbnails","autoProcessQueue","chunking","Boolean","parallelChunkUploads","chunksUploaded","file","done","previewElement","setAttribute","files","uuid","upload","original","type","albumid","filelength","age","error","toString","updateTemplate","on","xhr","chunked","setRequestHeader","progress","test","size","updateTemplateIcon","contains","urls","split","filter","trim","join","map","firstChild","posted","result","removeAttribute","run","templateElement","iconClass","iconElement","a","clipboard","clipboardText","parentElement","exec","includes","toLowerCase","img","src","onerror","update","expirydate","expiryDate","getPrettyDate","Date","createAlbum","buttons","cancel","confirm","closeModal","download","checked","public","selected","console","fallback","numConfig","min","max","fileLengthDiv","element","stored","default","helpText","range","force","disabled","isNaN","Object","keys","forEach","key","uploadAgeDiv","parseFloat","getPrettyUploadAge","form","preventDefault","siBytes","checkValidity","prefKeys","elements","numKeys","parsed","Math","hours","minutes","days","window","items","clipboardData","originalEvent","item","kind","blob","getAsFile","File","match","addFile","onload","undefined","uploadButton","statusText","520","521","522","523","524","525","526","527","530","status","ClipboardJS","LazyLoad","elements_selector"],"mappings":"AAEAA,IAAMC,OAAS,CACbC,MAAO,QACPC,UAAW,YACXC,gBAAiB,kBACjBC,WAAY,aACZC,UAAW,aAGPC,KAAO,CAEXL,MAAOM,aAAaP,OAAOC,OAG3BO,QAAS,KACTC,mBAAoB,KACpBC,QAAS,KACTR,UAAW,KACXS,oBAAqB,KACrBC,qBAAsB,KAGtBC,MAAO,KAEPV,gBAAiB,KACjBC,WAAY,KACZC,UAAW,KAEXS,aAAc,KACdC,WAAY,KACZC,gBAAiB,KAEjBC,KAAM,GACNC,UAAW,KACXC,YAAa,KACbC,gBAAiB,KAEjBC,SAAU,KACVC,YAAa,KACbC,SAAU,KAEVC,gBAAiB,CAAC,QAAS,OAAQ,QAAS,OAAQ,OAAQ,OAAQ,QAGtEC,cAAkB,SAAGC,GACnB,OAAOC,MAAMC,IAAI,aACdC,MAAI,SAACC,GAQJ,OAPAxB,KAAKE,QAAUsB,EAASC,KAAKvB,QAC7BF,KAAKG,mBAAqBqB,EAASC,KAAKtB,mBACxCH,KAAKI,QAAUsB,SAASF,EAASC,KAAKrB,SACtCJ,KAAKQ,aAA8B,IAAfR,KAAKI,QACzBJ,KAAKJ,UAAY8B,SAASF,EAASC,KAAK7B,WACxCI,KAAKK,oBAAsBmB,EAASC,KAAKpB,oBACzCL,KAAKM,qBAAuBkB,EAASC,KAAKnB,qBACnCN,KAAK2B,YAAYP,MAEzBQ,MAAMR,IAGXO,YAAgB,SAAGP,GACjB,IAAIpB,KAAKE,QAaP,OAAOF,KAAK6B,cAAcT,GAZ1B,GAAIpB,KAAKL,MACP,OAAOK,KAAK8B,YAAY9B,KAAKL,MAAOyB,GAAW,GAE/C3B,IAAMsC,EAASC,SAASC,cAAc,kBACtCF,EAAOG,KAAO,OACdH,EAAOI,UAAUC,OAAO,cACpBpC,KAAKG,mBACP4B,EAAOM,UAAY,kDAEnBN,EAA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