PageSourceSearch

https://coralworld.co/_next/static/chunks/app/not-found-c79e0058008cb3ae.js

js coralworld.co collected 2026-10-08 03:18:15 UTC 13,235 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4345],{2204:(e,t,o)=>{"use strict";o.d(t,{J:()=>s});var a=o(37454),n=o.n(a),r=o(31806),c=o(31146),i=o(21043);let s={home:"/",signIn:{index:"/sign-in",from:e=>"/sign-in?from=".concat((0,i.G4)(e))},signOut:{index:"/api/sign-out"},business:"https://business.coralworld.co",privacyNoticeForDecommission:"https://coralworld.co/assets/decommission/privacy_notice_decommission_kx.pdf",lineQR:"/line-qr",downloadApp:{index:"/download-app",reward:"/download-app?type=reward"},aboutUs:"/about-us",helpCenter:"https://support.coralworld.co/hc/th",iam:e=>{let t=c.A.ID_CORALWORLD.replace("/auth",""),o="".concat(t,"/").concat(e.lang,"/auth"),a=new URLSearchParams({client_id:c.A.CLIENT_ID,redirect_uri:"".concat(c.A.APP_URL,"/callback"),code_challenge:e.codeChallenge,state:e.state,...e.from&&{from:(0,i.ez)(e.from)}});return"".concat(o,"?").concat(a.toString())},forgotPassword:"/forgot-password",searchNft:"/search/corals",searchCreator:"/search/creators",searchCollection:"/search/collections",mailToCoral:"mailto:[email protected]",collection:{of:e=>"/collections/".concat(e),ofInWallet:(e,t)=>"/collections/".concat(e,"?view=wallet").concat(t?"&partner_id=".concat(t):"")},me:{index:"/me",consents:{index:"/me/consents",of:e=>"/me/consents/".concat(e)}},nft:{external:e=>"/nft/_external/".concat(e)},cookiesPolicy:"/cookies-policy",downloadQrApp:"https://qrco.de/coralcollect",pack:{index:"/packs",of:e=>"/packs/".concat(e),passcode:(e,t)=>t?"/packs/".concat(e,"/passcode?from=").concat(t):"/packs/".concat(e,"/passcode"),result:(e,t,o)=>o?"/packs/".concat(e,"/result?collectible=").concat(t,"&from=").concat(o):"/packs/".concat(e,"/result?collectible=").concat(t)},collectibles:{index:"/collectibles",of:e=>"/collectibles/".concat(e)},wallet:{index:"/wallet",view:e=>"/wallet?view=".concat(e)},passport:{index:"/passports",view:(e,t)=>"/passports?view=".concat(e).concat(t?"&status=".concat(t):""),of:(e,t)=>{let o="";return(null==t?void 0:t.tab)&&(null==t?void 0:t.slotId)?o+="?tab=".concat(t.tab,"&slot=").concat(t.slotId):(null==t?void 0:t.tab)?o+="?tab=".concat(t.tab):(null==t?void 0:t.slotId)&&(o+="?slot=".concat(t.slotId)),"/passports/".concat(e).concat(o)},pending:(e,t,o)=>"/passports/".concat(e,"?pending=").concat(t).concat(o?"&tab=".concat(o):""),reward:e=>"/passports/".concat(e,"/reward")},activity:{of:function(e){let{hideNavbar:t,hideFooter:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a="";return t&&(a+="?navbar=hide"),o&&(a+="".concat(a?"&":"?","footer=hide")),"/activities/".concat(e).concat(a)}},reward:{of:(e,t)=>"/rewards/".concat(e).concat(t?"?redemption=".concat(t):"")},kyc:"/kyc",notification:{index:"/notifications",view:e=>"/notifications/".concat(e)},otp:{view:(e,t)=>"/otp?redirect_to=".concat(e,"&type=").concat(t)},api:{qrCode:{redeem:e=>"/api/qr-code?redeem=".concat(e),payment:(e,t)=>"/api/qr-code?payment=".concat(e).concat(t?"&save=".concat(t):"")}},proxyImage:{of:e=>"/api/proxy-image?url=".concat(e,"&hash=").concat(n().hash(e+c.A.NEXT_PREVIEW_KEY))},article:{of:e=>"/articles/".concat(e)},checkout:{index:"/checkout",cart:"/cart",orders:"/orders",result:e=>"/checkout/result?orderId=".concat(e)},dealing:{of:e=>{let t="";switch(e.view&&(t+="?view=".concat(e.view)),e.type){case r.U.SALE:return"/sales/".concat(e.slug).concat(t);case r.U.DONATION:return"/donations/".concat(e.slug).concat(t);default:return"/revents/".concat(e.slug).concat(t)}}},dynamic:{index:"".concat(c.A.APP_URL,"/dynamic"),redirectTo:e=>"".concat(c.A.APP_URL,"/dynamic?redirect_to=").concat(e)},map:{index:"/map",branch:e=>"/map?branch=".concat(e)}}},11710:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var a=o(41423);let n=()=>{let e=(0,a.useRef)(null),[t,o]=(0,a.useState)(null),[n,r]=(0,a.useState)({width:0,height:0});(0,a.useEffect)(()=>{if(!t)return;let e=new ResizeObserver(e=>{e[0]&&r({width:e[0].contentRect.width,height:e[0].contentRect.height})});return e.observe(t),()=>e.disconnect()},[t]),e.current&&e.current!==t&&o(e.current);let c=(0,a.useCallback)(t=>{t?(o(t),e.current=t,r({width:t.clientWidth,height:t.clientHeight})):e.current&&(o(null),e.current=null,r({width:0,height:0}))},[]);return(0,a.useMemo)(()=>({size:n,ref:c,refObject:e}),[n,c])}},17006:(e,t,o)=>{"use strict";o.d(t,{qQ:()=>s,uU:()=>l,x6:()=>d});var a=o(42413),n=o.n(a),r=o(45613),c=o(95488),i=o(56066);let s=async e=>{var t;let o=await e.json(),a=n()(e,"error.error")||n()(e,"error.reason","")||n()(o,"error");return{message:n()(e,"error.message","")||n()(e,"message","")||n()(o,"message"),trace:null!=(t=e.headers.get("x-trace-id")||e.headers.get("x-cloud-trace-context"))?t:"",code:a}},l=async(e,t)=>{let{code:o,message:a,trace:n}=await s(t);return i.v.error("".concat(e," ").concat(o,":").concat(a,":").concat(n)),r.sO.SomethingWrong(
1o,n)},d=(e,t)=>{if(t instanceof c.e)return t;let o=n()(t,"cause.code",""),a=n()(t,"cause.message")||n()(t,"message","");return i.v.error("".concat(e," ").concat(o,":").concat(a)),r.sO.SomethingWrong(a)}},20876:(e,t,o)=>{"use strict";o.d(t,{default:()=>r});var a=o(29652),n=o(94087);function r(e){let{locale:t,...o}=e;if(!t)throw Error(void 0);return(0,n.jsx)(a.Dk,{locale:t,...o})}},21043:(e,t,o)=>{"use strict";o.d(t,{$w:()=>p,G4:()=>_,OV:()=>d,bj:()=>u,ez:()=>f,nB:()=>m,ws:()=>i,zK:()=>l});var a=o(16924),n=o(45613),r=o(84050),c=o(58736).Buffer;let i=e=>!!e&&((null==e?void 0:e.startsWith("video"))||n.Yq.some(t=>e.endsWith(t))),s=(0,a.i)("LKO2:N%2Tw=w]~RBVZRi};RPxuwH"),l=e=>{if(!e)return s;try{return(0,a.i)(e)}catch(e){return s}},d=(e,t,o)=>{let a=2*(t/n.Fq*360*Math.cos(e*Math.PI/180));if((null==o?void 0:o.width)&&(null==o?void 0:o.height)){let{width:t,height:n}=o;return Math.max(1,Math.min(18,Math.floor(Math.log2(.85*Math.min(t,n)*360/(256*a*Math.cos(e*Math.PI/180))))))}for(let[e,t]of Object.entries(n.Xp))if(a>=Number(e))return t;return 18},h=e=>{let t=Math.sin(e/2);return t*t},u=(e,t)=>{let o=e.lat*Math.PI/180,a=t.lat*Math.PI/180,n=e.lng*Math.PI/180,r=t.lng*Math.PI/180,c=h(a-o)+Math.cos(o)*Math.cos(a)*h(r-n);return 0xc2a532*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))},m=async e=>(0,r.Ri)(e),p=e=>{let{lat:t,lng:o,northEast:a,southWest:n}=e;return t>=n.lat&&t<=a.lat&&o>=n.lng&&o<=a.lng},_=e=>c.from(e,"utf-8").toString("base64"),f=e=>(e=>{if(!/^[A-Za-z0-9+/]*={0,2}$/.test(e)||e.length%4!=0)return!1;try{if(c.from(e,"base64").toString("base64")!==e)return!1;let t=c.from(e,"base64").toString("utf-8");if(t.includes("�"))return!1;for(let e=0;e<t.length;e+=1){let o=t.charCodeAt(e);if(o<32&&9!==o&&10!==o&&13!==o)return!1}return!0}catch(e){return!1}})(e)?e:_(e)},21056:(e,t,o)=>{"use strict";o.d(t,{default:()=>u});var a=o(94087),n=o(26313),r=o(41423),c=o(9833),i=o(11710);let s=[c.Ug,c.$U,c.gx,c.$F,c.gi,c.Nj],l=[{width:129,height:69},{width:98,height:49},{width:137,height:92},{width:73,height:50},{width:62,height:57},{width:148,height:74}],d=["#001438","#002255","#003372","#00448F","#0055AC","#0066C9","#0077E6","#0088FF","#001F5C","#002B80","#0037A3"],h=(0,r.memo)(e=>{let{opacity:t,className:o}=e,{ref:c,size:h}=(0,i.A)(),[u,m]=(0,r.useState)(1),[p,_]=(0,r.useState)(5),[f,v]=(0,r.useState)([]);return(0,r.useEffect)(()=>{let e=h.width*h.height/18e4;_(Math.max(5,Math.min(25,Math.floor(2*e)))),m(Math.max(.5,Math.min(1.3,Math.sqrt(e))))},[h.width,h.height]),(0,r.useEffect)(()=>{0!==h.width&&0!==h.height&&v(Array(p).fill({}).map(()=>({x:100*Math.random(),y:100*Math.random(),speed:.5+2*Math.random(),direction:Math.random()*Math.PI*2,fishType:Math.floor(Math.random()*s.length),color:d[Math.floor(Math.random()*d.length)]||"#001438",swimScale:1})))},[p,h]),(0,r.useEffect)(()=>{let e,t=()=>{v(e=>e.map(e=>{let t=l[e.fishType]||{width:0,height:0},o=t.width*u/h.width*100,a=t.height*u/h.height*100,n=e.x+Math.cos(e.direction)*e.speed*.04,r=e.y+Math.sin(e.direction)*e.speed*.04,c=e.direction;(n<=0||n>=100-o)&&(c=Math.PI-c),(r<=0||r>=100-a)&&(c=-c);let i=1+.1*Math.sin(Date.now()/200);return{...e,x:Math.max(0,Math.min(100-o,n)),y:Math.max(0,Math.min(100-a,r)),direction:c+(.2*Math.random()-.1),swimScale:i}})),e=requestAnimationFrame(t)};return e=requestAnimationFrame(t),()=>cancelAnimationFrame(e)},[u,h.height,h.width]),(0,a.jsx)("div",{ref:c,className:(0,n.e)("w-full h-full relative overflow-hidden",o),children:f.map((e,o)=>{let n=s[e.fishType],r=0>Math.cos(e.direction);return n?(0,a.jsx)("div",{className:"absolute",style:{left:"".concat(e.x,"%"),top:"".concat(e.y,"%"),transform:"scaleX(".concat(r?-1:1,") scale(").concat(u,") scaleX(").concat(e.swimScale,")"),transition:"transform 0.05s linear, opacity 0.05s linear"},children:(0,a.jsx)(n,{fill:e.color,opacity:t})},"fish-".concat(o)):null})})});h.displayName="Tank";let u=h},31806:(e,t,o)=>{"use strict";o.d(t,{U:()=>a});var a=function(e){return e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.DONATION=1]="DONATION",e[e.SALE=2]="SALE",e}({})},41870:(e,t,o)=>{Promise.resolve().then(o.bind(o,43916)),Promise.resolve().then(o.bind(o,78146)),Promise.resolve().then(o.bind(o,96722)),Promise.resolve().then(o.bind(o,77756)),Promise.resolve().then(o.bind(o,88944)),Promise.resolve().then(o.bind(o,92214)),Promise.resolve().then(o.bind(o,12387)),Promise.resolve().then(o.bind(o,84044)),Promise.resolve().then(o.bind(o,47592)),Promise.resolve().then(o.bind(o,43912)),Promise.resolve().then(o.bind(o,73e3)),Promise.resolve().then(o.bind(o,50624)),Promise.resolve().then(o.bind(o,63900)),Promise.resolve().then(o.bind(o,29248)),Promise.resolve().then(o.bind(o,66883)),Promise.resolve().then(o.bind(o,31204)),Promise.resolve().then(o.bind(o,41994)),Promise.resolve().then(o.bind(o,58219)),Promise.resolve().then(o.bind(o,78182)),Promise.resolve().then(o.bind(o,72637)),Promise.resolve().then(o.bind(o,45934)),Promise.resolve().then(o.bind(o,5843)),Promise.resolve().then(o.bind(o,34102)),Promise.resolve().then(o.bind(o,36536)),Promise.resolve().then(o.bind(o,42799)),Promise.resolve().then(o.bind(o,92962)),Promise.resolve().then(o.bind(o,11076)),Promise.resolve().then(o.bind(o,20876)),Promise.resolve().then(o.t.bind(o,59112,23)),Promise.resolve().then(o.t.bind(o,88302,23)),Promise.resolve().then(o.t.bind(o,80734,23)),Promise.resolve().then(o.t.bind(o,42403,23)),Promise.resolve().then(o.bind(o,98488)),Promise.resolve().then(o.bind(o,97387)),Promise.resolve().then(o.bind(o,21056))},42403:e=>{e.exports={style:{fontFamily:"'kurious', 'kurious Fallback'"},className:"__className_75f8af",variable:"__variable_75f8af"}},51225:(e,t,o)=>{"use strict";o.d(t,{A:()=>m}),o(49371);var a=o(49875),n=o.n(a),r=o(79761),c=o.n(r),i=o(3985),s=o.n(i),l=o(5819),d=o.n(l),h=o(34390),u=o.n(h);n().extend(u()),n().extend(d()),n().extend(c()),n().extend(s()),n().tz.setDefault("Asia/Bangkok");let m=n()},56066:(e,t,o)=>{"use strict";o.d(t,{v:()=>c});var a=o(1079),n=o.n(a),r=o(55036);let c=n()({level:r.env.NEXT_PUBLIC_LOG_LEVEL||"info",formatters:{level:e=>({level:e.toUpperCase()})}})},65401:(e,t,o)=>{"use strict";o.d(t,{p:()=>i});var a=o(45613),n=o(89313),r=o(21043),c=o(55036);let i=async e=>{let t={};
1if(e)for(let[o,a]of Object.entries(e))t[o]=a;Object.entries(await (0,n.SD)()).forEach(e=>{let[o,a]=e;t[o]=a});let o=await (0,r.nB)(a.Hk.ACCESS_TOKEN);o&&!t.Authorization&&(t.Authorization="Bearer ".concat(o));let i=await (0,r.nB)(a.Hk.HID);i&&!t.Hid&&(t["x-hid"]=i);let s=c.env.CF_ACCESS_CLIENT_ID,l=c.env.CF_ACCESS_CLIENT_SECRET;return s&&l&&(t["CF-Access-Client-Id"]=s,t["CF-Access-Client-Secret"]=l),t}},80734:e=>{e.exports={style:{fontFamily:"'Noto Sans', 'Noto Sans Fallback'",fontStyle:"normal"},className:"__className_29eb11"}},84050:(e,t,o)=>{"use strict";o.d(t,{PA:()=>r,Ri:()=>n,TV:()=>c});var a=o(10303);let n=e=>(0,a.getCookie)(e),r=e=>(0,a.hasCookie)(e),c=(e,t,o)=>(0,a.setCookie)(e,t,{expires:o,secure:!0,sameSite:"lax"})},89313:(e,t,o)=>{"use strict";o.d(t,{Mv:()=>r,OE:()=>c,RP:()=>i,SD:()=>s});var a=o(45613),n=o(21043);let r={CORAL_APP_INFO:"coral_app_info",CORAL_MAP_INFO:"coral_map_info",POLLING_RATE_CONFIG:"polling_rate_config",COLLECT_PASSPORT_EANBLED:"collect_passport-enabled",COLLECT_ENABLE:"collect_redeem_enabled",IAM_BYPASS_CONSENT_DOB_ENABLED:"iam_bypass_consent_dob-enabled",NEARBY_EVENT_ENABLED:"nearby_event-enabled",COLLECT_PASSPORT_AUTO_FOCUS_SLOT:"collect_passport_auto_focus_slot",IAM_DEVICES_TOKEN_CAPTCHA_ENABLED:"iam_devices_token_captcha-enabled",DONATION_WHITELIST:"donation_whitelist"},c={appstore_download_url:"https://apps.apple.com/app/id6445855415",playstore_download_url:"https://play.google.com/store/apps/details?id=co.coralworld.collect",deeplink_url:"collectd://coralworld.co",firebase_dynamic_link:"https://coralworld.page.link/download"},i={tile_server_url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",user_agent_package_name:"co.coralworld.collect",initial_location:{latitude:13.74071930060223,longtitude:100.52460055222707,zoom_level:5},osm_licence_attribute:{title:"OpenStreetMap",link:"https://www.openstreetmap.org/copyright"}},s=async()=>{let e={platform:"web",language:await (0,n.nB)(a.Hk.USER_LOCALE)||"th"},t=await (0,n.nB)(a.Hk.FLIPT_SECRET_KEY),o=await (0,n.nB)(a.Hk.USER_ID);return o&&(e.user_id=o),t&&(e.tk=t.toString()),e}}},e=>{e.O(0,[5171,3651,3230,7089,1076,2962,2906,7791,9112,3900,4982,7454,6001,1894,2165,7271,702,6789,6689,4410,4163,178,8813,9833,5918,7489,7101,7358],()=>e(e.s=41870)),_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.