PageSourceSearch

https://www.ttbbank.com/_next/static/chunks/pages/deeplink-manager-build-1789371932-26cff826caef122f.js

js ttbbank.com collected 2026-09-24 09:12:13 UTC 5,473 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81905],{85465:function(t,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/deeplink-manager",function(){return i(72945)}])},72945:function(t,e,i){"use strict";i.r(e),i.d(e,{__N_SSP:function(){return p},default:function(){return u}});var n=i(85893),a=i(9008),o=i.n(a),r=i(11163),s=i(67294),l=i(64225),d=i(57027),c=i(242),p=!0;function u(t){let e;let i=(0,r.useRouter)(),a=(0,l.ZP)(),p=i.query,u=t.destination,m=t.flow_name,g=t.page_path;return(0,s.useEffect)(()=>{d.Z.setup({iOS:{appName:"ttb-touch",appId:"884079963",fallbackWebUrl:"https://itunes.apple.com/th/app/tmb-touch/id884079963?l=th&mt=8"},android:{appId:"com.TMBTOUCH.PRODUCTION",fallbackWebUrl:"https://play.google.com/store/apps/details?id=com.TMBTOUCH.PRODUCTION"},harmony:{appId:"C101091859",fallbackWebUrl:"https://appgallery.cloud.huawei.com/ag/n/app/C101091859"},nonMobileFallbackUrl:window.location.protocol+"//"+window.location.host+"/page/detail/not-supported-ttbtouch",delay:3500,delta:500});let t=t=>{window.location.href=t},i=(0,c.ij)(),n=(0,c.Rg)(i),o=(0,c.bh)();e="military"===p.reference?"military":"private"===p.reference?"private":"no",d.Z.open(u);let r=setTimeout(()=>{"btn"===p.src?a.push({event:"click_to_touch",event_action:"register-product",event_label:"redirect-from-btn",payroll:e,page_refer:g,platform:o,destination:m}):"qr"===p.src&&a.push({event:"click_to_touch",event_action:"register-product",event_label:"redirect-from-qr",payroll:e,page_refer:g,platform:o,destination:m}),t(n)},5500);$(document).on("hide",()=>{clearTimeout(r),"btn"===p.src?a.push({event:"click_to_touch",event_action:"register-product",event_label:"redirect-from-btn",payroll:e,page_refer:g,platform:"touch",destination:m}):"qr"===p.src&&a.push({event:"click_to_touch",event_action:"register-product",event_label:"redirect-from-qr",payroll:e,page_refer:g,platform:"touch",destination:m})})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:"DownloadMobileApp"}),(0,n.jsx)("script",{src:"/global/assets/js/vendor/jquery-3.5.1.min.js"}),(0,n.jsx)("script",{src:"/global/assets/js/vendor/jquery-visibility.js"})]}),(0,n.jsxs)("div",{className:"mx-auto",style:{position:"static",height:"100vh"},children:[(0,n.jsx)("div",{className:"mx-auto mb-md-4",style:{position:"absolute",top:"20%",width:"100%",textAlign:"center"},children:(0,n.jsx)("img",{src:"/global/assets/img/media-img/logo-default.png",width:299,height:150,loading:"lazy",style:{height:"auto",width:75},alt:"ttb-logo",className:"navbar-brand "})}),(0,n.jsxs)("div",{className:"mx-auto mt-md-4",style:{position:"relative",top:"33%",width:"100%",textAlign:"center",color:"#002d63"},children:[(0,n.jsx)("div",{className:"spinner-border",role:"status",children:(0,n.jsx)("span",{className:"sr-only",children:"Loading..."})}),(0,n.jsx)("p",{className:"mx-auto mt-3",children:"Please Wait..."})]})]})]})}},57027:function(t,e,i){"use strict";class n{}n.defaults={iOS:{},android:{},harmony:{},androidDisabled:!1,harmonyDisabled:!1,fallback:!0,fallbackToWeb:!1,delay:1e3,delta:500},n.getStoreURLiOS=()=>{let t=n.settings.iOS.appName,e=n.settings.iOS.appId;return e&&t?"itms-apps://itunes.apple.com/app/"+t+"/id"+e+"?mt=8":null},n.getStoreURLAndroid=()=>{if(n.settings.android.customStoreUrl)return n.settings.android.customStoreUrl;let t=n.settings.android.appId;return t?"market://details?id="+t:null},n.getStoreURLHarmony=()=>{if(n.settings.harmony){let t=n.settings.harmony.appId;return t?"appmarket://details?id"+t:null}return null},n.getStoreLink=()=>{if("ios"===n.settings.platform)return n.settings.iOS.storeUrl||n.getStoreURLiOS();if("android"===n.settings.platform)return n.settings.android.storeUrl||n.getStoreURLAndroid();if("harmony"===n.settings.platform){var t;return(null===(t=n.settings.harmony)||void 0===t?void 0:t.storeUrl)||n.getStoreURLHarmony()}},n.getWebLink=()=>{if("ios"===n.settings.platform)return n.settings.iOS.fallbackWebUrl||location.href;if("android"===n.settings.platform)return n.settings.android.fallbackWebUrl||location.href;if("harmony"===n.settings.platform){var t;return(null===(t=n.settings.harmony)||void 0===t?void 0:t.fallbackWebUrl)||location.href}},n.isAndroid=()=>navigator.userAgent.match("Android"),n.isIOS=()=>navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")||navigator.userAgent.match("iPod")||navigator.userAgent.match(/Macintosh/i)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1,n.isHarmony=()=>navigator.userAgent.match(/Huawei/i),n.isMobile=()=>n.isAndroid()||n.isIOS()||n.isHarmony(),n.openFallback=t=>()=>{let e=n.settings.fallbackToWeb?n.getWebLink():n.getStoreLink(),i=n.settings.delay+n.settings.delta;"string"==typeof e&&Date.now()-t<i&&(window.location.href=e)},n.setup=t=>{n.settings={...n.defaults,...t},n.isAndroid()&&(n.settings.platform="android"),n.isIOS()&&(n.settings.platform="ios"),n.isHarmony()&&(n.settings.platform="harmony")},n.open=t=>{if(!n.isMobile()){n.settings.nonMobileFallbackUrl&&(window.location.href=n.settings.nonMobileFallbackUrl);return}if(!(n.isAndroid()&&n.settings.androidDisabled||n.isHarmony()&&n.settings.harmonyDisabled))return(n.settings.fallback||n.settings.fallbackToWeb)&&(n.timeout=setTimeout(n.openFallback(Date.now()),n.settings.delay)),$(document).on("hide",()=>{clearTimeout(n.timeout)}),setTimeout(()=>{window.location.href=t},200),!0},e.Z=n}},function(t){t.O(0,[92888,49774,40179],function(){return t(t.s=85465)}),_N_E=t.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.