PageSourceSearch

https://usbair.com/_next/static/chunks/pages/domestic-destination/[city]-4cd16bec310b53c7.js

js usbair.com collected 2026-10-02 03:27:45 UTC 13,603 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6892],{81681:function(e,i,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/domestic-destination/[city]",function(){return l(8726)}])},62678:function(e,i,l){"use strict";var t=l(85893);l(67294);var n=l(37897),d=l(8193),o=l(63750);i.Z=function(e){var i=e.visible,l=e.onClose,s=e.selectedImage,r=e.index,c=e.setIndex,a=e.left,u=e.right,v=e.imageLength;if(i)return(0,t.jsxs)("div",{className:"fixed inset-0 mx-auto my-16 overflow-visible z-[99999999999]",style:{width:"calc(100vw - 30%)",height:"calc(100vw - 30%)"},children:[(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)("button",{onClick:l,children:(0,t.jsx)(d.oHP,{className:"text-white bg-primary rounded-lg mb-2 h-[50px] w-[50px]"})})}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(o.URD,{onClick:function(){0!==r&&c(r-1)},className:"text-black h-[30px] w-[30px] ".concat(a&&"invisible")}),(0,t.jsx)(n.Z,{imgSrc:s}),(0,t.jsx)(o.ZC5,{onClick:function(){r!==v-1&&c(r+1)},className:"text-black h-[30px] w-[30px] ".concat(u&&"invisible")})]})]})}},11361:function(e,i,l){"use strict";l.d(i,{UQ:function(){return s},Hk:function(){return c},ZP:function(){return a}});var t=l(91309),n=l(85893),d=l(67294),o=l(76779),s=function(e){var i=e.defaultKey,l=e.children,s=(0,t._)((0,d.useState)(null!=i?i:""),2),r=s[0],c=s[1];return(0,n.jsx)(o.SY.Provider,{value:{selectedPanel:r,setSelectedPanel:c},children:(0,n.jsx)("div",{className:"space-y-2 py-4",children:l})})},r=l(63750),c=function(e){var i,l,t,s,c=e.headerTitle,a=e.id,u=e.style,v=e.children,x=(0,d.useContext)(o.SY),h=x.selectedPanel,m=x.setSelectedPanel;return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"group px-6 py-2 w-full text-left font-medium border flex justify-between  ".concat(null!==(i=null==u?void 0:u.parent)&&void 0!==i?i:"shadow-md"," ").concat(h===a?"bg-gradient-to-b from-white border-b-0 rounded-t":"bg-gradient-to-b from-white rounded"," ").concat(null!==(l=null==u?void 0:u.parent)&&void 0!==l?l:"shadow-md"),onClick:function(){m(h!==a?a:"")},children:[(0,n.jsx)("div",{className:"font-marcellus font-normal text-cardTitle",children:c}),(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"w-6 h-6 rounded flex justify-center items-center cursor-pointer  ".concat("text-black"),children:(0,n.jsx)(r.IAR,{className:"".concat(h===a?"rotate-270":"-rotate-90")})})})]}),(0,n.jsx)("div",{className:"bg-[#EFF0F6] shadow-md transition-[max-height] duration-500 ease-in-out overflow-hidden    \n            ".concat(null!==(t=null==u?void 0:u.child)&&void 0!==t?t:""," \n            ").concat(h===a?"max-h-[7500px] lg:max-h-[4100px] border border-t-0":"max-h-0"),children:(0,n.jsx)("div",{className:"pt-3 font-roboto font-normal ".concat(null!==(s=null==u?void 0:u.child)&&void 0!==s?s:"p-4"),children:v})})]})},a=s},8726:function(e,i,l){"use strict";l.r(i),l.d(i,{default:function(){return C}});var t=l(91309),n=l(85893),d=l(11163),o=l(67294),s=l(76779),r=l(79538),c=l(11361),a=function(e){var i=e.title,l=e.FAQs;return(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("h2",{className:"font-marcellus text-pHeader font-footerDescriptionBottomPartWeight border-b-2",children:i}),(0,n.jsx)("div",{children:(0,n.jsx)(c.ZP,{defaultKey:"first",children:(null==l?void 0:l.length)>0&&l.map(function(e,i){var l,t;return(0,n.jsx)(c.Hk,{id:null==e?void 0:e.id,headerTitle:null==e?void 0:e.question,children:null!==(l=null==e?void 0:e.answer)&&void 0!==l?l:""},null!==(t=null==e?void 0:e.id)&&void 0!==t?t:i)})})})]})},u=function(){var e=(0,o.useContext)(s.Z3).domesticCity,i=null==e?void 0:e.faq;return(0,n.jsx)("div",{children:(null==i?void 0:i.length)>0&&(0,n.jsx)("section",{className:"space-y-8 my-12",children:i.map(function(e){return(0,n.jsx)("div",{className:"bg-white rounded-md p-8 shadow-md px-8",children:(0,n.jsx)(a,{title:e.title,FAQs:e.FAQs},e.id)},null==e?void 0:e.id)})})})},v=l(62678),x=function(){var e,i,l,d,c,a,u,x,h=(0,o.useContext)(s.Z3).domesticCity,m=(0,t._)((0,o.useState)(!1),2),f=m[0],g=m[1],p=(0,t._)((0,o.useState)(null),2),j=p[0],b=p[1],y=(0,t._)((0,o.useState)(0),2),_=y[0],N=y[1],w=(0,t._)((0,o.useState)(!1),2),S=w[0],C=w[1],T=(0,t._)((0,o.useState)(!1),2),k=T[0],E=T[1],P=null==h?void 0:null===(e=h.city_details)||void 0===e?void 0:e.images.length;return(0,o.useEffect)(function(){var e,i=null==h?void 0:null===(e=h.city_details)||void 0===e?void 0:e.images.find(function(e){return e.id===_+1});b(null==i?void 0:i.imgSrc)},[null==h?void 0:null===(i=h.city_details)||void 0===i?void 0:i.images,_]),(0,o.useEffect)(function(){0===_?C(!0):C(!1)},[_]),(0,o.useEffect)(function(){var e;_===(null==h?void 0:null===(e=h.city_details)||void 0===e?void 0:e.images.length)-1?E(!0):E(!1)},[null==h?void 0:null===(l=h.city_details)||void 0===l?void 0:l.images.length,_]),(0,n.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 mt-12  rounded-l-md overflow-hidden",children:[(0,n.jsxs)("div",{className:"w-full px-4 py-8 bg-white",children:[(0,n.jsx)("h2",{className:"text-[#333333] font-marcellus text-xl",children:null==h?void 0:null===(d=h.city_details)||void 0===d?void 0:d.title}),(0,n.jsx)("div",{className:"space-y-4 py-2",children:null==h?void 0:null===(a=h.city_details)||void 0===a?void 0:null===(c=a.descriptions)||void 0===c?void 0:c.map(function(e){return(0,n.jsx)("p",{className:"text-[#666666] text-cardBtnText font-normal font-roboto ",children:e.text},e.id)})})]}),(0,n.jsxs)("div",{className:"grid grid-cols-6 gap-2 bg-white py-0 md:py-16 lg:py-4",children:[(0,n.jsx)("div",{className:"col-span-5 rounded-r-md overflow-hidden ",children:null==h?void 0:null===(u=h.city_details)||void 0===u?void 0:u.images.slice(0,1).map(function(e,i){return(0,n.jsx)("div",{onClick:function(e){N(i),g(!0)},children:(0,n.jsx)(r.mo,{imgSrc:e.imgSrc,height:"h-[379px] "})},e.id)})}),(0,n.jsx)("div",{className:"col-span-1 space-y-2 ",children:null==h?void 0:null===(x=h.city_details)||void 0===x?void 0:x.images.slice(1,4).map(function(e,i){return(0,n.jsx)("div",{onClick:function(e){N(i+1),g(!0)},children:(0,n.jsx)(r.mo,{imgSrc:e.imgSrc,height:"h-[121px]"},e.id)},e.id)})})]}),(0,n.jsx)(v.Z,{visible:f,onClose:function(){g(!1)},selectedImage:j,index:_,left:S,right:k,setIndex:N,imageLength:P})]})},h=function(){return(0,n.jsxs)("div",{children:[(0,n.jsxs)("section",{children:[(0,n.jsx)(x,{}),(0,n.jsx)(g,{})]}),(0,n.jsx)(u,{})]})},m=function(){var e,i,l,t=(0,o.useContext)(s.Z3).domesticCity;return(0,n.jsxs)("div",{children:[(0,n.jsx)(r.mr,{webHeaderTitle:"".concat(null!==(l=null==t?void 0:t.city_name)&&void 0!==l?l:"Explore Bangladesh"," | US-Bangla Airlines"),imgSrc:null==t?void 0:null===(e=t.page_header)||void 0===e?void 0:e.imgSrc,headerTitle:"".concat(null==t?void 0:t.city_name," "),headerDescription:"".concat(null==t?void 0:null===(i=t.page_header)||void 0===i?void 0:i.description)}),(0,n.jsx)(h,{})]})},f=l(8193),g=function(){var e,i,l,d,c,a,u,x,h,m,g=(0,o.useContext)(s.Z3).domesticCity,p=null==g?void 0:null===(e=g.explore_city)||void 0===e?void 0:e.options,b=(0,t._)((0,o.useState)("Tourist attractions"),2),y=b[0],_=b[1],N=(0,t._)((0,o.useState)(!1),2),S=N[0],C=N[1],T=(0,t._)((0,o.useState)(0),2),k=T[0],E=T[1],P=(0,t._)((0,o.useState)(1),2),Z=P[0],F=P[1],I=(0,t._)((0,o.useState)(0),2),A=I[0],D=I[1],B=(0,t._)((0,o.useState)(!1),2),H=B[0],q=B[1],Q=(0,t._)((0,o.useState)(!1),2),z=Q[0],L=Q[1],R=null==g?void 0:null===(i=g.explore_city)||void 0===i?void 0:i.images.length;return(0,o.useEffect)(function(){var e=null==g?void 0:null===(i=g.explore_city)||void 0===i?void 0:i.images.find(function(e){return e.id===A+1}
1);if(E(null==e?void 0:e.imgSrc),A===(null==g?void 0:null===(l=g.explore_city)||void 0===l?void 0:l.images.length)-1){var i,l,t,n,d=null==g?void 0:null===(n=g.explore_city)||void 0===n?void 0:n.images.find(function(e){return 1===e.id});F(null==d?void 0:d.imgSrc);return}var o=null==g?void 0:null===(t=g.explore_city)||void 0===t?void 0:t.images.find(function(e){return e.id===A+2});F(null==o?void 0:o.imgSrc)},[null==g?void 0:null===(l=g.explore_city)||void 0===l?void 0:l.images,A]),(0,o.useEffect)(function(){0===A?q(!0):q(!1)},[A]),(0,o.useEffect)(function(){var e;A===(null==g?void 0:null===(e=g.explore_city)||void 0===e?void 0:e.images.length)-1?L(!0):L(!1)},[null==g?void 0:null===(d=g.explore_city)||void 0===d?void 0:d.images.length,A]),(0,o.useEffect)(function(){var e;A===(null==g?void 0:null===(e=g.explore_city)||void 0===e?void 0:e.images.length)&&D(0)},[null==g?void 0:null===(c=g.explore_city)||void 0===c?void 0:c.images.length,A]),(0,n.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-7  space-y-3 py-4 bg-white my-2 rounded-md",children:[(0,n.jsx)(s.gJ.Provider,{value:{activeTab:y,setActiveTab:_,tabItems:p},children:(0,n.jsxs)("div",{className:"py-8 space-y-8 col-span-4",children:[(0,n.jsxs)("div",{className:"px-8",children:[(0,n.jsx)("h3",{className:"text-2xl text-[#333333] font-marcellus",children:null==g?void 0:null===(a=g.explore_city)||void 0===a?void 0:a.title}),(0,n.jsx)("p",{className:"text-sm text-[#666666] font-roboto py-2",children:null==g?void 0:null===(u=g.explore_city)||void 0===u?void 0:u.description})]}),(0,n.jsx)(j,{}),(0,n.jsx)(w,{selectedTab:y})]})}),(0,n.jsx)("div",{className:"col-span-3",children:(0,n.jsxs)("div",{className:"lg:mt-56 mt-12 grid grid-cols-7 gap-3",children:[(0,n.jsxs)("div",{className:"relative flex items-center col-span-6",children:[(0,n.jsxs)("div",{onClick:function(e){D(A),C(!0)},className:"w-full overflow-hidden rounded-lg",children:[" ",null==g?void 0:null===(x=g.explore_city)||void 0===x?void 0:x.images.slice(0,1).map(function(e,i){return(0,n.jsx)(r.mo,{imgSrc:k,height:"h-[383px]"},i)})]}),(0,n.jsx)("div",{className:"absolute bg-white z-[99999] -right-6 rounded-full h-8 w-8 p-2 cursor-pointer ".concat((null==g?void 0:null===(h=g.explore_city)||void 0===h?void 0:h.images.length)===1&&"invisible"),onClick:function(){D(A+1)},children:(0,n.jsx)(f.Td4,{})})]}),(0,n.jsx)("div",{className:"relative col-span-1 overflow-hidden rounded-l-lg",children:(0,n.jsx)("div",{className:"w-full",children:null==g?void 0:null===(m=g.explore_city)||void 0===m?void 0:m.images.slice(1,2).map(function(e,i){return(0,n.jsx)(r.mo,{imgSrc:Z,height:"h-[383px]"},i)})})})]})}),(0,n.jsx)(v.Z,{visible:S,onClose:function(){C(!1)},selectedImage:k,left:H,right:z,index:A,setIndex:D,imageLength:R})]})},p=function(){var e=(0,o.useContext)(s.gJ),i=e.activeTab,l=e.setActiveTab,t=e.tabItems;return(0,n.jsx)("div",{className:"border-b-2 border-b-[#D6D6D6] bg-white rounded-t grid grid-cols-2 sm:grid-cols-2 md:grid-cols-5 divide-x divide-y lg:divide-x-0 lg:divide-y-0",children:null==t?void 0:t.map(function(e){return(0,n.jsx)("div",{className:"flex items-center justify-center space-x-2 group text-white hover:bg-[#333333] hover:rounded-t-md hover:cursor-pointer py-2 px-2 md:py-2 first:rounded-tl lg:py-3  [&:nth-child(3)]:!border-l-0 [&:nth-child(2)]:!border-t-0 [&:nth-child(5)]:!border-l-0 [&:nth-child(4)]:!border-b sm:[&:nth-child(3)]:!border-t-0 sm:[&:nth-child(3)]:!border-b-0 sm:[&:nth-child(2)]:!border-t-0 sm:[&:nth-child(5)]:!border-t-0 md:[&:nth-child(2)]:!border-t-0 md:[&:nth-child(2)]:!border-l-0 md:[&:nth-child(4)]:!border-t-0 md:[&:nth-child(4)]:!border-l-0 md:[&:nth-child(4)]:!border-b-0 md:[&:nth-child(5)]:!border-l-0  md:[&:nth-child(5)]:!border-t-0  ".concat(i===e.label&&"bg-[#333333] rounded-t-md"),onClick:function(){return l(e.label)},children:(0,n.jsx)("h5",{className:"text-white text-center text-sm font-normal group-hover:text-white ".concat(i===e.label||"text-black"),children:e.label})},e.id)})})},j=function(){return(0,n.jsx)("section",{children:(0,n.jsx)(p,{})})},b=l(81872),y=function(e){var i=e.title,l=e.details;return(0,n.jsxs)("div",{className:" basis-1/2 md:basis-1/2 lg:basis-4/5 space-y-3 rounded-md  my-auto ",children:[(0,n.jsx)("div",{className:" text-cardTitleV2 font-normal font-marcellus text-[#333333]",children:(0,n.jsx)("h3",{children:i})}),(0,n.jsx)("div",{children:(null==l?void 0:l.length)>0&&l.map(function(e){return(0,n.jsxs)("div",{className:"flex items-center space-x-3 py-2 gap-3 text-sm text-cardBtnText font-roboto text-[#4F4F4F]",children:[(null==e?void 0:e.type)==="list"&&(0,n.jsx)(b.sez,{}),null==e?void 0:e.text]},null==e?void 0:e.id)})})]})},_=function(e){var i=e.title,l=e.details;return(0,n.jsx)("div",{className:"flex items-center flex-col lg:flex-row",children:(0,n.jsx)(y,{title:i,details:l})})},N=function(e){var i,l=e.selectedTab,t=(0,o.useContext)(s.Z3).domesticCity,d=null==t?void 0:null===(i=t.explore_city)||void 0===i?void 0:i.options.filter(function(e){return e.label===l});return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("section",{children:(null==d?void 0:d.length)>0&&d.map(function(e){var i;return(0,n.jsx)(_,{title:null==e?void 0:e.title,details:(null==e?void 0:null===(i=e.descriptions)||void 0===i?void 0:i.length)>0?null==e?void 0:e.descriptions:[]},null==e?void 0:e.id)})})})},w=function(e){var i=e.selectedTab;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(N,{selectedTab:i})," "]})},S=l(87648),C=function(){var e=(0,t._)((0,o.useState)(null!==S.sm&&void 0!==S.sm?S.sm:[]),2),i=e[0],l=e[1],r=(0,d.useRouter)(),c=r.query.city;return(0,o.useEffect)(function(){var e=S.sm.find(function(e){return e.city_value===c});(null==e?void 0:e.city_value)&&(null==e?void 0:e.city_details)&&
1(null==e?void 0:e.explore_city)&&(null==e?void 0:e.faq)?l(e):r.push("/domestic-destination")},[c,r]),(0,n.jsx)(s.Z3.Provider,{value:{city:c,domesticCity:i},children:(0,n.jsx)(m,{})})}}},function(e){e.O(0,[994,7796,9538,2131,7648,9774,2888,179],function(){return e(e.s=81681)}),_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.