1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="54b8638d-c389-4f75-a59b-b7ee14273271",e._sentryDebugIdIdentifier="sentry-dbid-54b8638d-c389-4f75-a59b-b7ee14273271")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7206],{12424:(e,r,t)=>{"use strict";t.d(r,{A:()=>l});var n=t(74429),i=t(12074);let l=e=>{let{className:r,dotClassName:t}=e;return(0,n.jsx)("div",{className:r,children:(0,n.jsx)("div",{className:(0,i.QP)("h-1.5 w-1.5 rounded-full bg-red-600-50",t)})})}},35244:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/employer/my/profile/payment/pack/hire/purchase",function(){return t(71098)}])},36115:(e,r,t)=>{"use strict";t.d(r,{A:()=>p});var n=t(74429),i=t(69997),l=t(12074),s=t(92209),a=t(96496),o=t(84213),d=t(72598),c=t(97910),m=t(12054),x=t(3043);let p=e=>{let{children:r,noPadding:t,noContentPadding:p,noMobilePadding:u,useContainerMaxWidth:y}=e,{t:h}=(0,i.Bd)("my"),{isMobileAllowedPage:f}=(0,c.V)(),v=(0,s.j0)({filter:{isActive:!0}}),b=v.data?.features?.find(e=>e.feature?.type===a.y1v.enableIncentiveViral);return(0,n.jsxs)("div",{className:(0,l.QP)("m-auto box-border flex w-full flex-row px-12 max-xs:px-4 lg:h-full",(y||!f)&&"max-w-container",t&&"px-0 max-xs:px-0",u&&"max-xs:px-0"),children:[(0,n.jsxs)("div",{className:"hidden w-[214px] flex-col gap-12 border-r border-gray-50 px-6 py-8 lg:flex",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,n.jsx)(x.Label,{className:"text-gray-500",type:x.LabelType.Caption1,bold:x.FontWeight.Medium,children:h("common:nav.account_setting")}),(0,n.jsx)(o.A,{href:m.R.EmployerMyProfile,children:h("title.my_info")}),(0,n.jsx)(o.A,{href:m.R.EmployerMyPaymentHistory,children:h("common:nav.payment_history")}),(0,n.jsx)(o.A,{href:m.R.EmployerMyNotification,children:h("common:nav.notification")})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,n.jsx)(x.Label,{className:"text-gray-500",type:x.LabelType.Caption1,bold:x.FontWeight.Medium,children:h("common:nav.my_activity")}),(0,n.jsx)(o.A,{href:m.R.EmployerMyActivityReview,children:h("common:nav.review")}),(0,n.jsx)(o.A,{href:m.R.EmployerMyActivityLike,eventName:"click_employer_likes",eventData:{referrer:"Settings"},children:h("common:nav.like")}),(0,n.jsx)(o.A,{href:m.R.EmployerMyActivityBlockAccount,children:h("common:nav.block_account")}
1)]}),(0,n.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,n.jsx)(x.Label,{className:"text-gray-500",type:x.LabelType.Caption1,bold:x.FontWeight.Medium,children:h("my:title.event")}),b?(0,n.jsx)(o.A,{href:m.R.JobSeekerEventGift5000,children:h("my:title.receive_5_000_won_voucher")}):(0,n.jsx)(o.A,{href:m.R.EmployerBenefitSendTicket,children:h("common:nav.send_gift_tickets_for_free")})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,n.jsx)(x.Label,{className:"text-gray-500",type:x.LabelType.Caption1,bold:x.FontWeight.Medium,children:h("common:nav.cs_support")}),(0,n.jsx)(o.A,{href:m.R.HelpSuggestion,children:h("common:nav.send_suggestion")}),(0,n.jsx)(o.A,{href:d.w.employerFaqUrl,target:"_blank",children:h("common:nav.faq")}),(0,n.jsx)(o.A,{href:m.R.HelpCS,children:h("common:nav.cs")})]})]}),(0,n.jsx)("div",{className:(0,l.QP)("w-full flex-1 pb-14",t||p?"p-0":"max-lg:px-0 lg:pl-6"),children:r})]})}},71098:(e,r,t)=>{"use strict";t.r(r),t.d(r,{__N_SSG:()=>_,default:()=>A});var n=t(74429),i=t(69997),l=t(76115),s=t(71041),a=t(12074),o=t(36989),d=t(1533),c=t(96496),m=t(61687),x=t(67382),p=t(36115),u=t(58264),y=t(82254),h=t(24356),f=t(15772),v=t(96179),b=t(69367),g=t(87149);let j=()=>{let e=(0,l.useRouter)(),{t:r}=(0,i.Bd)("payment"),t=String(e.query.jobAdId||""),x=String(e.query.restoreJobAdId||""),p=String(e.query.seekingArea||""),h=String(e.query.detailType||""),f=String(e.query.orderId||""),b=e.query.params?JSON.parse(String(e.query.params)):void 0,[g,j]=(0,s.useState)(t||x||void 0),{data:_}=(0,d.$D8)(g??"",void 0,{query:{enabled:!!g}}),A=_?.jobAd?.status===c.fs9.pending,N=(0,o.i7)(v.b.context,e=>e?.unverifiedStoreCount??0),k=(0,o.i7)(v.b.context,e=>e?.rejectedStoreCount??0),w=(0,o.i7)(v.b.context,e=>e?.pendingStoreCount??0);return(0,n.jsxs)("div",{className:"flex flex-col pb-12",children:[A&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.A,{className:(0,a.QP)("fixed left-0 right-0 z-[34]",N>=1||k>=1||w>=1?"top-[136px] xs:top-[112px]":"top-16")}),(0,n.jsx)("div",{className:"min-h-12 shrink-0","aria-hidden":!0})]}),(0,n.jsx)(u.A,{className:"pl-6 max-sm:pl-4",title:r("title.hire_pack")}),(0,n.jsx)(y.A,{contentClassName:"px-0",jobAdId:t,restoreJobAdId:x,selectedSeekingArea:p?.split(" ")||void 0,discountType:h,previousPurchase:b,orderId:f,isShowTooltip:!0,hideEmployerCard:!0,onSelectedJobAdIdChange:j})]})};j.getLayout=e=>(0,n.jsx)(x.A,{bodyClassName:"mx-auto xs:max-w-container xs:px-12",mobileTitleKey:"payment:title.hire_pack",usePrevButton:!0,noPadding:!0,noContainer:!0,children:(0,n.jsx)(p.A,{noPadding:!0,children:(0,n.jsx)(g.M.Provider,{children:(0,n.jsx)(v.b.Provider,{children:(0,n.jsx)(f.E.Provider,{children:(0,n.jsx)(b.l.Provider,{children:(0,n.jsx)(h.s.Provider,{children:e})})})})})})});var _=!0;let A=j},84213:(e,r,t)=>{"use strict";t.d(r,{A:()=>m});var n=t(74429),i=t(36734),l=t.n(i),s=t(76115),a=t(12074),o=t(12424),d=t(48659),c=t(3043);let m=e=>{let{children:r,href:t,target:i,matchLink:m,eventName:x,eventData:p,useRedDot:u,...y}=e,h=(0,s.useRouter)().pathname.startsWith(m||String(t)),f=(0,d.H)();return(0,n.jsxs)(l(),{className:"trim-both body-1 flex",href:t,target:i,onClick:()=>{x&&f.trackEvent(x,p)},children:[(0,n.jsx)(c.Label,{className:(0,a.QP)(!h&&"text-gray-600"),bold:!!h||c.FontWeight.Medium,...y,children:r}),u?(0,n.jsx)(o.A,{className:"ml-[2px] mt-1"}):null]})}},92209:(e,r,t)=>{"use strict";t.d(r,{j0:()=>l});var n=t(38909),i=t(52194);function l(e,r){let t=((e,r)=>{let t,{query:n,request:l}=r??{};return{queryKey:n?.queryKey??["/v1/feature/provide",...(t=e)?[t]:[]],queryFn:r=>{let{signal:t}=r;return(0,i.T)({url:"/v1/feature/provide",method:"GET",params:e,signal:t},l)},...n}})(e,r),l=(0,n.I)(t);return l.queryKey=t.queryKey,l}}},e=>{e.O(0,[8370,2687,5389,2279,4067,9417,4506,6734,883,386,3244,6220,832,2045,3712,192,8e3,4064,7006,9479,1144,9584,6496,2121,2258,3390,7464,6031,7588,728,457,6534,2945,3188,4205,7382,762,6238,2254,636,6593,8792],()=>e(e.s=35244)),_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.