"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[47420],{50656:function(e,n,t){t.d(n,{N:function(){return v}});var r=t(12139),i=t(61656),o=t(83216),a=t(71961),s=t(35147),u=t(21818),c=t(51659),l=t(94397),d=t(19495),f=["coajutoa.com","furgoomi.com","kabortot.com"],v=function(){var e=(0,r.useState)(0),n=e[0],t=e[1],v=(0,r.useState)(!1),p=v[0],b=v[1],h=(0,d.bp)().state,m=h.oaid,w=h.userData,g=h.passParamToParams,y=h.userAgentData,E=w.subId,k=y.data.platformVersion,I=(0,l.k)(k);(0,r.useEffect)((function(){b(function(){var e=navigator.userAgent;return/iPhone|iPad|iPod|Macintosh|Mac OS X/i.test(e)}())}),[]),(0,r.useEffect)((function(){var e=setInterval((function(){t(0)}),1e4);return function(){return clearInterval(e)}}),[]);return{initBack:function(e){var r;if(h.back.isEnabled)if(n>12&&p)(0,a.yN)("initBack: Too much pushStateToHistory");else{var l,d,v,b,w=null!==(l=h.back.historyTimeAmount)&&void 0!==l?l:3,y=null===(r=h.back.zones)||void 0===r?void 0:r.find((function(e){return e.type===u.w.back}));if(y)v=(0,c.k6)(u.w.back),d=y;else d=null===(b=h.back.zones)||void 0===b?void 0:b.find((function(n){return n.type===e})),v=(0,c.k6)(e);if(d)if(d.isEnabled){var k=function(n,t){var r=n.zonesDetails.find((function(e){return"url"===e.format&&"current"===e.tab}));if(null===r||void 0===r?void 0:r.url)return(0,a.PN)("Back inited on zoneType: ".concat(e," url: ").concat(null===r||void 0===r?void 0:r.url)),["url",null===r||void 0===r?void 0:r.url];var i=n.zonesDetails.find((function(e){return"onclick"===e.format&&"current"===e.tab})),o=(null===i||void 0===i?void 0:i.id)||t;return o=(0,c.pR)(o),(0,a.PN)("Back inited on zoneType: ".concat(e," zone: ").concat(o)),["z",o]}(d,v),S=function(e){var n,t=e.urlOrZoneArr,r=e.oaid,u=e.osVersion,c=e.subId,l=e.passParamToParams,d=(0,s.S)({oaid:r,osVersion:u,subId:c,passParamToParams:l});d.set(t[0],"".concat(t[1]));var v=null!==(n=(0,i.r)())&&void 0!==n?n:f,p=(0,o.k)(v);return(0,a.cM)("[useBack] set domain to: ",p),d.set("domain",p),d.toString()}({urlOrZoneArr:k,oaid:m,osVersion:I,subId:E,passParamToParams:g});!function(e,n,t){try{for(var r=0;rr&&H(!0)}(),function(){var e=window.navigator.userAgent;new _.Z(e,le).isInApp&&(F(!0),Z(!0))}()}),[]),(0,s.useEffect)((function(){L&&fe()}),[K]),(0,s.useEffect)((function(){L&&he()}),[x]),!T||w.n.wvar===r.DISABLED)return null;var me=function(){he(),D(!0)};return(0,a.tZ)("div",{onClick:me,onKeyDown:me,"aria-label":"in-app-overlay",role:"button",tabIndex:0,style:{position:"fixed",top:0,left:0,right:0,bottom:0,width:"100vw",height:"100vh",zIndex:99969}})}},48137:function(e,n,t){t.d(n,{Z:function(){return h}});var r=t(98788),i=t(90581),o=t(27805),a=t(47842),s=t(70865),u=t(96670),c=t(66383),l=t(50930),d=t(22970),f=t(53444);function v(e){if(f.n.debug){var n=document.getElementById("logger");if(n||((n=document.createElement("div")).id="logger",n.style.position="fixed",n.style.bottom="0",n.style.left="0",n.style.width="100%",n.style.backgroundColor="white",n.style.borderTop="1px solid #ccc",n.style.padding="10px",n.style.boxShadow="0 -2px 5px rgba(0,0,0,0.1)",n.style.zIndex="1000",n.style.overflowY="auto",n.style.maxHeight="30%",n.style.color="black",document.body.appendChild(n)),!Array.from(n.children).map((function(e){return e.textContent})).includes(e)){var t=document.createElement("div");t.textContent=e,n.appendChild(t)}}}var p=t(71961),b={messenger:/\bFB[\w_]+\/(Messenger|MESSENGER)/,facebook:/\bFB[\w_]+\//,twitter:/\bTwitter/i,line:/\bLine\//i,wechat:/\bMicroMessenger\//i,puffin:/\bPuffin/i,miui:/\bMiuiBrowser\//i,instagram:/\bInstagram/i,chrome:/\bCrMo\b|CriOS|Android.*Chrome\/[.0-9]* (Mobile)?/,safari:/Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari/,ie:/IEMobile|MSIEMobile/,firefox:/fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS/},h=function(){function e(n,t){(0,i.Z)(this,e),this.ua=n,this.useBrowsersForIntent=t,this.useFullListOfBrowsers="1"===f.n.use_full_list_or_browsers,this.useFullListOfBrowsers&&this.loadFullBrowserList(),v("[InApp] use_full_list_or_browsers: ".concat(this.useFullListOfBrowsers)),v("[InApp] this.ua: ".concat(this.ua)),null===document||void 0===document||document.addEventListener("click",(function e(n){var t=n.target;if(t){var r=t.closest("#logger");r&&(r.remove(),document.removeEventListener("click",e))}}))}return e.prototype.loadFullBrowserList=function(){var e=this;return(0,r.Z)((function(){var n;return(0,d.__generator)(this,(function(r){switch(r.label){case 0:return[4,t.e(90448).then(t.bind(t,90448))];case 1:return n=r.sent().BROWSERS_FULL,e.listOfWebviewBrowsers=Object.keys(n).filter((function(e){return e.startsWith("wv_")})).reduce((function(e,t){return(0,u.Z)((0,s.Z)({},e),(0,a.Z)({},t,n[t]))}),{}),[2]}}))}))()},(0,o.Z)(e,[{key:"browser",get:function(){var e,n=this;return e=this.useFullListOfBrowsers&&this.listOfWebviewBrowsers?Object.entries(this.listOfWebviewBrowsers).find((function(e){return(0,c.Z)(e,2)[1].some((function(e){return e.test(n.ua)}))})):Object.entries(b).find((function(e){return(0,c.Z)(e,2)[1].test(n.ua)})),(0,p.cM)("[InApp] browserKey: ",e?e[0]:"other"),v("[InApp] browserKey: ".concat(e?e[0]:"other")),e?e[0]:"other"}},{key:"isInApp",get:function(){var e,n,t,r,i,o,a=["WebView","(iPhone|iPod|iPad)(?!.*Safari/)","Android.*(wv)"],s=null!==(i=null===(e=this.useBrowsersForIntent)||void 0===e||null===(n=e.android)||void 0===n?void 0:n.isEnabled)&&void 0!==i&&i,u=null!==(o=null===(t=this.useBrowsersForIntent)||void 0===t||null===(r=t.browsers)||void 0===r?void 0:r.isEnabled)&&void 0!==o&&o,d=!!(this.useBrowsersForIntent&&s&&u)&&(new RegExp(this.useBrowsersForIntent.android.type,"i").test(this.ua)&&new RegExp(this.useBrowsersForIntent.browsers.type,"i").test(this.ua));this.useBrowsersForIntent&&Object.entries(this.useBrowsersForIntent).forEach((function(e){var n=(0,c.Z)(e,2)[1];n.isEnabled&&a.push(n.type)})),this.useFullListOfBrowsers&&this.listOfWebviewBrowsers&&Object.entries(this.listOfWebviewBrowsers).forEach((function(e){var n,t=(0,c.Z)(e,2)[1];(n=a).push.apply(n,(0,l.Z)(t.map((function(e){return e.toString()}))))}));var f=new RegExp("(".concat(a.join("|"),")"),"ig"),b=Boolean(this.ua.match(f))||d;if(v("[InApp] isInApp: ".concat(b)),(0,p.cM)("[InApp] isInApp",b),!b&&this.useFullListOfBrowsers){var h,m="".concat("https://goaglaiba.com/land_debug","?project=landings&user_agent=").concat(null!==(h=encodeURIComponent(this.ua))&&void 0!==h?h:"null_value");fetch(m)}return b}}]),e}()},80652:function(e,n,t){var r,i;t.d(n,{N:function(){return r},P:function(){return i}}),function(e){e.MiuiBrowser="(MiuiBrowser)/(\\d+)\\.(\\d+)\\.(\\d+)",e.Puffin="Puffin/[\\d\\.]",e.Android="Android",e.Browsers="(Version/.+Chrome/\\d+\\.\\d+\\.\\d+\\.\\d+|; wv.+Chrome/\\d+\\.\\d+\\.\\d+\\.\\d+|SamsungBrowser|Opera|OPR/)"}(r||(r={})),function(e){e.chrome_mobile_webview="chrome_mobile_webview",e.facebook_messenger="facebook_messenger",e.facebook="facebook",e.pinterest="pinterest",e.instagram="instagram",e.flipboard="flipboard",e.flipboard_briefing="flipboard_briefing",e.onefootball="onefootball",e.twitterandroid="twitterandroid",e.twitteriphone="twitteriphone",e.twitteripad="twitteripad",e.mail_ru_chromium_browser="mail_ru_chromium_browser",e.mobile_safari_ui_wkwebview="mobile_safari_ui_wkwebview",e.qq_browser_mobile="qq_browser_mobile"}(i||(i={}))},28939:function(e,n,t){t.d(n,{K:function(){return i}});var r=t(12139),i=function(){var e=(0,r.useState)(!0),n=e[0],t=e[1];return(0,r.useEffect)((function(){t(!document.hidden);var e=function(){t(!document.hidden)};return document.addEventListener("visibilitychange",e),function(){document.removeEventListener("visibilitychange",e)}}),[]),n}},70922:function(e,n,t){function r(e){return Math.floor(Math.random()*e.length)}function i(){return Math.random().toString(36).substring(2,9)}t.d(n,{H:function(){return i},X:function(){return r}})},22485:function(e,n,t){t.d(n,{AE:function(){return a},d3:function(){return s},q5:function(){return o}});var r=t(70922),i=t(71961),o=function(e,n){var t="".concat(n,".").concat(e);return/^[^.]+\.[^.]+\.[^.]+$/.test(e)&&(t=e.replace(/^[^.]+(?=\.[^.]+\.[^.]+$)/,n)),(0,i.cM)("[updateSubdomainInHostname] hostname:",e,", newSubdomain:",n,", updatedHostname:",t),t},a=function(e){var n=new URL(e),t=+n.host.split(".")[0];return Number.isNaN(t)?t=1:t+=1,n.host=o(n.host,t.toString()),n.toString()},s=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="";do{var t=(0,r.X)(e.split(""));n=e.charAt(t)}while(window.location.hostname.includes(n));return n}},46889:function(e,n,t){t.d(n,{u:function(){return l}});var r=t(42838),i=t(12139),o=t(29754),a=t(50930),s=i.useLayoutEffect;function u(e){var n,t=(0,i.useRef)((function(){throw new Error("Cannot call an event handler while rendering.")}));return s((function(){t.current=e}),[e]),(0,i.useCallback)((function(){for(var e=arguments.length,r=new Array(e),i=0;i2&&void 0!==arguments[2]?arguments[2]:"local",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=a.initializeWithValue,l=void 0===s||s,d=(0,i.useCallback)((function(e){return a.serializer?a.serializer(e):JSON.stringify(e)}),[a]),f=(0,i.useCallback)((function(e){if(a.deserializer)return a.deserializer(e);if("undefined"!==e){var t,i=(0,r.Z)(n,Function)?n():n;try{t=JSON.parse(e)}catch(o){return console.error("Error parsing JSON:",o),i}return t}}),[a,n]),v=(0,i.useCallback)((function(){var i=(0,r.Z)(n,Function)?n():n;try{var a=o.H.get(e,t);return a?f(a):i}catch(s){return console.warn("Error reading ".concat(t,"Storage key \u201c").concat(e,"\u201d:"),s),i}}),[n,e,f,t]),p=(0,i.useState)((function(){return l?v():(0,r.Z)(n,Function)?n():n})),b=p[0],h=p[1],m=u((function(n){try{var i=(0,r.Z)(n,Function)?n(v()):n;o.H.set(e,d(i),t),h(i),window.dispatchEvent(new CustomEvent("storage-service",{detail:{key:e,storageType:t}}))}catch(a){console.error("Error setting ".concat(t,"Storage key \u201c").concat(e,"\u201d:"),a)}}));(0,i.useEffect)((function(){h(v())}),[e,t]);var w=(0,i.useCallback)((function(n){n.key===e&&(n.storageArea===window.localStorage&&"local"===t||n.storageArea===window.sessionStorage&&"session"===t)&&h(v())}),[e,v]);return c("storage",w),[b,m]}},27805:function(e,n,t){function r(e,n){for(var t=0;t