PageSourceSearch

https://class101.net/_next/static/chunks/pages/[lang]/business/categories/[categoryId]-116d99b7640d926d.js

js class101.net collected 2026-09-24 08:43:05 UTC 25,783 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5094],{26351:(e,n,t)=>{"use strict";t.d(n,{A:()=>s});var i=t(114612),r=t(141231),l=t(343549);function s(e,n){(0,l.A)(2,arguments);var t=(0,r.A)(e),s=(0,r.A)(n);return Math.round((t.getTime()-(0,i.A)(t)-(s.getTime()-(0,i.A)(s)))/864e5)}},32467:(e,n,t)=>{"use strict";t.d(n,{R:()=>I});var i=t(304930),r=t(665162),l=t(93140),s=t(940150),o=t(971188),a=t(937706),u=t(956598),c=t(570341),d=t(901477),h=t(226061),g=t(325205),p=t(582771),v=t(20523),f=t(426999),m=t(180404),y=t(579124),A=t(137902),b=t(75524),x=t(805242),C=t(230448),j=t(423237),B=t(686739),k=t(456392),z=t(78975);function T(){let e=(0,B._)(["\n    query GetBizCompanyBySlugOnBusinessCategoriesTabBar($slug: String!) {\n  getBizCompanyBySlug(bizCompanySlug: $slug) {\n    id\n    dynamicConfig {\n      key\n      value\n    }\n  }\n}\n    "]);return T=function(){return e},e}function w(){let e=(0,B._)(["\n    query BizPopularCategoriesOnBusinessCategoriesTabBar($planToken: String!) {\n  bizPopularCategories(depth: 1, planToken: $planToken) {\n    id\n    title\n    iconUrl\n    link\n  }\n}\n    "]);return w=function(){return e},e}function S(){let e=(0,B._)(["\n    query BizCategoriesV2ByDepthOnBusinessCategoriesTabBar($planToken: String!) {\n  bizCategoriesV2ByDepth(depth: 0, planToken: $planToken) {\n    id\n    title\n    iconUrl\n    link\n    productCount: bizProductCount(planToken: $planToken)\n    children {\n      id\n      title\n      iconUrl\n      link\n      productCount: bizProductCount(planToken: $planToken)\n    }\n  }\n  secondDepthCategories: bizCategoriesV2ByDepth(depth: 1, planToken: $planToken) {\n    id\n  }\n}\n    "]);return S=function(){return e},e}let M={},V=(0,k.J1)(T()),D=(0,k.J1)(w()),E=(0,k.J1)(S()),P=()=>(0,i.jsx)(v.a,{width:1,linearGradient:{colors:["plusColorMuted","transparent"],locations:[0,100],degree:180}}),I=(0,o.o)(()=>{let{getUrl:e}=(0,A.h)(),{localizeText:n}=(0,b.B)(),{value:t}=(0,x.Z)("b2b_challenge",!0),{theme:i}=(0,j.Am)(),{categoryId:l}=(0,C.g)(),{companySlug:s,planToken:o}=(0,y.F)(),a=(()=>{let e=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let n=e.current;if(null===n||"function"!=typeof n.addEventListener)return;let t=0,i=0,r=!1,l=!1,s=!1;function o(e){"mouse"===e.pointerType&&0===e.button&&(r=!0,l=!1,s=!1,t=e.clientX,i=n.scrollLeft)}function a(e){if(!r)return;if((1&e.buttons)==0){r=!1;return}let s=e.clientX-t;if(!l){if(n.scrollWidth<=n.clientWidth||5>Math.abs(s))return;l=!0,n.setPointerCapture(e.pointerId),n.style.cursor="grabbing",n.style.userSelect="none"}n.scrollLeft=i-s}function u(e){r&&(r=!1,l&&(l=!1,s="pointerup"===e.type,n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),n.style.cursor="",n.style.userSelect=""))}function c(e){s&&(s=!1,e.preventDefault(),e.stopPropagation())}function d(e){e.preventDefault()}return n.addEventListener("pointerdown",o),n.addEventListener("pointermove",a),n.addEventListener("pointerup",u),n.addEventListener("pointercancel",u),n.addEventListener("click",c,!0),n.addEventListener("dragstart",d),()=>{n.removeEventListener("pointerdown",o),n.removeEventListener("pointermove",a),n.removeEventListener("pointerup",u),n.removeEventListener("pointercancel",u),n.removeEventListener("click",c,!0),n.removeEventListener("dragstart",d)}},[]),e})(),u=(0,r.useMemo)(()=>["".concat(i.colors.background,"e6"),"".concat(i.colors.background,"cc")],[i.colors.background]),{getBizCompanyBySlugData:c}=function(e){let n={...M,...e},t=z.I(V,n);return r.useMemo(()=>{let{data:e,loading:n,error:i,called:r,refetch:l,fetchMore:s,...o}=t;return{getBizCompanyBySlugData:null==e?void 0:e.getBizCompanyBySlug,isGetBizCompanyBySlugLoading:n,getBizCompanyBySlugError:i,isGetBizCompanyBySlugCalled:r,refetchGetBizCompanyBySlug:l,fetchMoreGetBizCompanyBySlug:s,...o}},[t])}({variables:{slug:null!=s?s:""},skip:!s}),{bizPopularCategoriesData:d}=function(e){let n={...M,...e},t=z.I(D,n);return r.useMemo(()=>{let{data:e,loading:n,error:i,called:r,refetch:l,fetchMore:s,...o}=t;return{bizPopularCategoriesData:null==e?void 0:e.bizPopularCategories,isBizPopularCategoriesLoading:n,bizPopularCategoriesError:i,isBizPopularCategoriesCalled:r,refetchBizPopularCategories:l,fetchMoreBizPopularCategories:s,...o}},[t])}({variables:{planToken:null!=o?o:""},skip:!o}),{bizCategoriesV2ByDepthData:h,secondDepthCategoriesData:g}=function(e){let n={...M,...e},t=z.I(E,n);return r.useMemo(()=>{let{data:e,loading:n,error:i,called:r,refetch:l,fetchMore:s,...o}=t;
1return{bizCategoriesV2ByDepthData:null==e?void 0:e.bizCategoriesV2ByDepth,secondDepthCategoriesData:null==e?void 0:e.secondDepthCategories,isBizCategoriesV2ByDepthAndsecondDepthCategoriesLoading:n,bizCategoriesV2ByDepthAndsecondDepthCategoriesError:i,isBizCategoriesV2ByDepthAndsecondDepthCategoriesCalled:r,refetchBizCategoriesV2ByDepthAndsecondDepthCategories:l,fetchMoreBizCategoriesV2ByDepthAndsecondDepthCategories:s,...o}},[t])}({variables:{planToken:null!=o?o:""},skip:!o}),p=(0,r.useCallback)(n=>{var t;return null!=(t=n.link)?t:e("/[lang]/business/categories/[categoryId]",{categoryId:n.id})},[e]);return{tabItems:(0,r.useMemo)(()=>{var i;let r=(null!=d?d:[]).map(e=>{var n,t;return{id:e.id,title:null!=(n=e.title)?n:"",iconUrl:null!=(t=e.iconUrl)?t:null,isSelected:e.id===l,href:p(e)}}),o=(null!=(i=null==c?void 0:c.dynamicConfig)?i:[]).some(e=>"CHALLENGE_CENTER"===e.key&&"true"===e.value);return t&&o&&s?[{id:"challenge",title:n({defaultMessage:"투자력 UP 챌린지",id:"chPhZgf9/e2I"}),iconUrl:"https://cdn.class101.net/images/dfc2c96a-cf42-4d4e-8e10-ecce28305893",isSelected:!1,href:e("/[lang]/business/challenge/[companySlug]",{companySlug:s})},...r]:r},[d,null==c?void 0:c.dynamicConfig,t,s,n,e,l,p]),categoryGroups:(0,r.useMemo)(()=>{let e=new Set((null!=g?g:[]).map(e=>e.id));return(null!=h?h:[]).map(n=>{var t,i,r;let l=(null!=(t=n.children)?t:[]).filter(n=>e.has(n.id)).map(e=>{var n,t;return{id:e.id,title:null!=(n=e.title)?n:"",iconUrl:null!=(t=e.iconUrl)?t:null,href:p(e)}});return{id:n.id,title:null!=(i=n.title)?i:"",productCount:null!=(r=n.productCount)?r:0,items:l}}).filter(e=>e.items.length>0)},[h,g,p]),panelGradientColors:u,categoryScrollRef:a}},e=>{let{tabItems:n,categoryGroups:t,panelGradientColors:o,categoryScrollRef:y}=e;return(0,i.jsxs)(a.z,{alignVertical:"center",gap:20,children:[(0,i.jsxs)(a.z,{alignVertical:"center",gap:20,hidden:[!0,!0,!1],children:[(0,i.jsx)(l.c,{iconColor:"plusColorVibrant",openOnHover:!0,panelAnimated:!0,renderPanel:()=>(0,i.jsx)(v.a,{width:"100%",rounded:"md",backdropBlurRadius:75,linearGradient:{colors:o,locations:[50,100],degree:180},borderWidth:1,borderStyle:"solid",borderColor:"outline1",p:20,elevationLevel:3,children:(0,i.jsx)(a.z,{gap:20,children:t.map((e,n)=>(0,i.jsxs)(r.Fragment,{children:[n>0&&(0,i.jsx)(P,{}),(0,i.jsxs)(u.T,{gap:0,flex:1,children:[(0,i.jsxs)(a.z,{gap:6,alignVertical:"center",p:8,children:[(0,i.jsx)(c.n,{level:3,weight:"semiBold",color:"onView1",children:e.title}),(0,i.jsx)(c.n,{level:3,weight:"semiBold",color:"blueContrast",children:(0,i.jsx)(s.F,{value:e.productCount,format:"decimal"})})]}),e.items.map(e=>(0,i.jsx)(d.o,{href:e.href,overlayColor:"onView1",interactions:["hover","active"],rounded:"md",children:(0,i.jsxs)(a.z,{gap:12,alignVertical:"center",p:8,children:[(0,i.jsx)(v.a,{width:32,height:32,rounded:"md",overflow:"hidden",backgroundColor:"surface1",alignItems:"center",justifyContent:"center",children:e.iconUrl?(0,i.jsx)(f._,{src:e.iconUrl,width:20,height:20,alt:e.title,objectFit:"cover",sizes:20}):null}),(0,i.jsx)(h.f,{level:3,weight:"medium",color:"onView1",children:e.title})]})},e.id))]})]},e.id))})})}),(0,i.jsx)(u.T,{height:22,children:(0,i.jsx)(g.c,{direction:"vertical"})})]}),(0,i.jsx)(a.z,{flex:1,minWidth:0,overflow:"hidden",children:(0,i.jsx)(m.Z,{ref:y,horizontal:!0,flexDirection:"row",width:"100%",hideScroll:!0,alignItems:"center",gap:4,px:[20,20,0],children:n.map(e=>(0,i.jsxs)(u.T,{flexShrink:0,height:44,children:[(0,i.jsx)(d.o,{href:e.href,rounded:"md",overlayColor:"onView1",interactions:["hover","active"],children:(0,i.jsxs)(a.z,{alignVertical:"center",gap:8,height:38,px:6,py:8,children:[e.iconUrl?(0,i.jsx)(f._,{src:e.iconUrl,width:18,height:18,sizes:[18,36],alt:"","aria-hidden":!0}):null,(0,i.jsx)(c.n,{level:1,weight:"bold",color:e.isSelected?"onView1":"onView2",whiteSpace:"nowrap",children:e.title})]})}),(0,i.jsx)(p.$,{height:4}),(0,i.jsx)(v.a,{width:"100%",height:2,rounded:"sm",backgroundColor:e.isSelected?"onView1":"transparent"})]},e.id))})})]})})},57243:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var i=t(671813),r=t(194704),l=t(343549),s=t(821723);function o(e,n,t){(0,l.A)(2,arguments);
1var o=(0,r.A)(e,n)/i.s0;return(0,s.u)(null==t?void 0:t.roundingMethod)(o)}},93140:(e,n,t)=>{"use strict";t.d(n,{c:()=>y});var i=t(304930),r=t(869950),l=t(971188),s=t(901477),o=t(937706),a=t(570341),u=t(582771),c=t(20523),d=t(65955),h=t(178454),g=t(979481),p=t(665162),v=t(238653),f=t(72731);let m="category-dropdown-rolling-played",y=(0,l.o)(e=>{let{iconColor:n="onView1",panelTop:t=0,openOnHover:i=!1,panelAnimated:r=!1,renderPanel:l}=e,[s,o]=(0,p.useState)(!1),a=(0,p.useRef)(null),[u,c]=(0,p.useState)({left:0,width:0}),{trackEvent:d}=(0,f.j)(),{language:h}=(0,v.o)(),g=(0,p.useRef)("true"!==sessionStorage.getItem(m)).current,y=(0,p.useCallback)(()=>{d({name:"Navigation Item Clicked",properties:{itemLink:"/".concat(h,"/categories"),itemViewType:"button",navigationTitle:"category",sectionTitle:"Home Navigation Tab"}})},[h,d]),A=(0,p.useCallback)(()=>{o(!0),y()},[y]),b=(0,p.useCallback)(()=>{o(!1)},[]),x=(0,p.useCallback)(()=>{i&&(o(!0),y())},[i,y]),C=(0,p.useCallback)(()=>{i&&o(!1)},[i]),j=(0,p.useCallback)(()=>{sessionStorage.setItem(m,"true")},[]);return(0,p.useLayoutEffect)(()=>{if(!s||!r||!a.current)return;let e=a.current,n=e.closest('[data-testid="content-area"]'),t=null==n?void 0:n.firstElementChild;if(t){let n=e.getBoundingClientRect(),i=t.getBoundingClientRect();c({left:i.left-n.left,width:i.width})}},[s,r]),(0,p.useEffect)(()=>{if(!s)return;let e=e=>{var n;(null==(n=a.current)?void 0:n.contains(e.target))||b()};return document.addEventListener("pointerdown",e,!0),()=>document.removeEventListener("pointerdown",e,!0)},[s,b]),(0,p.useEffect)(()=>{if(!s)return;let e=e=>{"Escape"===e.key&&b()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[s,b]),{iconColor:n,isOpen:s,containerRef:a,shouldAnimate:g,panelTop:t,panelStyle:u,panelAnimated:r,openOnHover:i,handleToggle:A,handleClose:b,handleHoverIn:x,handleHoverOut:C,handleAnimationPlayed:j,renderPanel:l}},e=>{let{iconColor:n,isOpen:t,containerRef:l,shouldAnimate:p,panelTop:v,panelStyle:f,handleToggle:m,handleClose:y,handleHoverIn:A,handleHoverOut:b,handleAnimationPlayed:x,renderPanel:C}=e,j=(0,i.jsx)(c.a,{position:"absolute",top:v,left:f.left,width:f.width||void 0,zIndex:100,pt:8,children:C({onClose:y,shouldAnimate:p,onAnimationPlayed:x})});return(0,i.jsxs)(d.d,{ref:l,position:"relative",onHoverIn:A,onHoverOut:b,cursor:"default",children:[(0,i.jsx)(s.o,{onClick:m,overlayColor:"onView1",interactions:["hover","active"],rounded:"md",children:(0,i.jsxs)(o.z,{alignVertical:"center",gap:8,height:38,px:4,py:8,children:[(0,i.jsx)(h.S,{size:18,fill:n}),(0,i.jsxs)(o.z,{alignVertical:"center",gap:4,children:[(0,i.jsx)(a.n,{level:1,weight:"semiBold",color:"onView1",children:(0,i.jsx)(r.V,{defaultMessage:"카테고리",id:"VD3WD+daH4FE"})}),(0,i.jsx)(g.L,{size:16,fill:"onView1"})]})]})}),(0,i.jsx)(u.$,{height:6}),t?j:null]})})},98649:(e,n,t)=>{"use strict";t.d(n,{A:()=>s});var i=t(880400),r=t(716364),l=t(343549);function s(e,n){(0,l.A)(2,arguments);var t=(0,i.A)(n);return(0,r.A)(e,-t)}},127956:(e,n,t)=>{"use strict";t.d(n,{Y:()=>o});var i=t(304930),r=t(665162),l=t(414283),s=t(5310);let o=Object.assign((0,r.memo)(e=>{let{size:n=24,fill:t="onColor",linearGradient:r,testId:o="searchtext-thin",...a}=e;return(0,i.jsxs)(s.z,{viewBox:"0 0 24 24",size:n,fill:t,linearGradient:r,testId:o,...a,children:[(0,i.jsx)(l.B.Path,{d:"M13.8 4.85a.2.2 0 0 0 .2-.2v-1.3a.2.2 0 0 0-.2-.2H2.2a.2.2 0 0 0-.2.2v1.3c0 .11.09.2.2.2z"}),(0,i.jsx)(l.B.Path,{fillRule:"evenodd",d:"M7.15 13.949a6.799 6.799 0 1 1 12.17 4.169l3.78 3.78-1.202 1.203-3.78-3.781A6.799 6.799 0 0 1 7.15 13.949m6.799-5.1a5.099 5.099 0 1 0 0 10.198 5.099 5.099 0 0 0 0-10.197",clipRule:"evenodd"}),(0,i.jsx)(l.B.Path,{d:"M7 9.15a.2.2 0 0 1-.2.2H2.2a.2.2 0 0 1-.2-.2v-1.3c0-.11.09-.2.2-.2h4.6c.11 0 .2.09.2.2zm-2.2 4.7a.2.2 0 0 0 .2-.2v-1.3a.2.2 0 0 0-.2-.2H2.2a.2.2 0 0 0-.2.2v1.3c0 .11.09.2.2.2z"})]})}),{iconType:"Thin"});o.displayName="SearchTextThin"},128977:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var i=t(441967),r=t(906824),l=t(343549),s=t(880400),o=t(98649);function a(e,n){if((0,l.A)(2,arguments),!n||"object"!==(0,i.A)(n))return new Date(NaN);var t=n.years?(0,s.A)(n.years):0,a=n.months?(0,s.A)(n.months):0,u=n.weeks?(0,s.A)(n.weeks):0,c=n.days?(0,s.A)(n.days):0,d=n.hours?(0,s.A)(n.hours):0,h=n.minutes?(0,s.A)(n.minutes):0,g=n.seconds?(0,s.A)(n.seconds):0;return new Date((function(e,n){(0,l.A)(2,arguments);var t=(0,s.A)(n);return(0,r.A)(e,-t)})((0,o.A)(e,a+12*t),c+7*u).getTime()-1e3*(g+60*(h+60*d)))}},141231:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i=t(25595),r=t(343549);function l(e){(0,r.A)(1,arguments);var n=(0,i.A)(e);return n.setHours(0,0,0,0),n}},157234:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i=t(25595),r=t(343549);function l(e,n){(0,r.A)(2,arguments);var t=(0,i.A)(e),l=(0,i.A)(n),s=t.getTime()-l.getTime();return s<0?-1:s>0?1:s}},182144:(e,n,t)=>{"use strict";t.d(n,{_:()=>p});var i=t(304930),r=t(665162),l=t(202972),s=t(669374),o=t(94899),a=t(956598),u=t(901222),c=t(582771),d=t(607404),h=t(32467),g=t(176919);let p=(0,r.memo)(e=>{let{children:n,withCategoriesTabBar:t=!1,headerHidden:r}=e;return(0,i.jsxs)(l.s,{children:[(0,i.jsx)(s.Q,{children:(0,i.jsx)(o.t,{backgroundColor:"background",children:(0,i.jsxs)(a.T,{children:[(0,i.jsx)(g.T,{type:"sticky",isQuickReturn:!0,hidden:r,subTabBar:t?(0,i.jsx)(u.f,{padding:[!1,
1!1,!0],children:(0,i.jsx)(h.R,{})}):void 0}),n,(0,i.jsx)(c.$,{height:80,hidden:[!0,!0,!1]})]})})}),(0,i.jsx)(d.Q,{})]})})},210270:(e,n,t)=>{"use strict";t.d(n,{S:()=>o});var i=t(304930),r=t(665162),l=t(414283),s=t(5310);let o=Object.assign((0,r.memo)(e=>{let{size:n=24,fill:t="onColor",linearGradient:r,testId:o="home-fill",...a}=e;return(0,i.jsx)(s.z,{viewBox:"0 0 24 24",size:n,fill:t,linearGradient:r,testId:o,...a,children:(0,i.jsx)(l.B.Path,{d:"M21.65 21.85a.2.2 0 0 0 .2-.2V9.545a.2.2 0 0 0-.069-.15L12.131.982a.2.2 0 0 0-.263 0l-9.65 8.413a.2.2 0 0 0-.068.15V21.65c0 .11.09.2.2.2h8.35a.2.2 0 0 0 .2-.2v-6.8c0-.11.09-.2.2-.2h1.8c.11 0 .2.09.2.2v6.8c0 .11.09.2.2.2z"})})}),{iconType:"Fill"});o.displayName="HomeFill"},294981:(e,n,t)=>{"use strict";function i(e){return null!=e}t.d(n,{n:()=>i})},312092:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var i=t(25595),r=t(899647),l=t(157234),s=t(343549),o=t(556892),a=t(907372);function u(e,n){(0,s.A)(2,arguments);var t,u=(0,i.A)(e),c=(0,i.A)(n),d=(0,l.A)(u,c),h=Math.abs((0,r.A)(u,c));if(h<1)t=0;else{1===u.getMonth()&&u.getDate()>27&&u.setDate(30),u.setMonth(u.getMonth()-d*h);var g=(0,l.A)(u,c)===-d;(function(e){(0,s.A)(1,arguments);var n=(0,i.A)(e);return(0,o.A)(n).getTime()===(0,a.A)(n).getTime()})((0,i.A)(e))&&1===h&&1===(0,l.A)(e,c)&&(g=!1),t=d*(h-Number(g))}return 0===t?0:t}},390632:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/business/categories/[categoryId]",function(){return t(479717)}])},463713:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var i=t(671813),r=t(194704),l=t(343549),s=t(821723);function o(e,n,t){(0,l.A)(2,arguments);var o=(0,r.A)(e,n)/i.Cg;return(0,s.u)(null==t?void 0:t.roundingMethod)(o)}},479717:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var i=t(304930),r=t(692611),l=t.n(r),s=t(182144);let o=l()(()=>Promise.all([t.e(42687),t.e(34723),t.e(81401),t.e(65034),t.e(34726),t.e(38848),t.e(94606),t.e(65088),t.e(32630),t.e(89529),t.e(88414)]).then(t.bind(t,511705)).then(e=>e.BusinessCategoryProductListBody),{loadableGenerated:{webpack:()=>[511705]},ssr:!1}),a=e=>{let{match:{params:{categoryId:n}}}=e;return(0,i.jsx)(s._,{withCategoriesTabBar:!0,children:(0,i.jsx)(o,{categoryId:n})})}},538653:(e,n,t)=>{"use strict";t.d(n,{sK:()=>c});var i=t(686739),r=t(456392),l=t(78975),s=t(665162);function o(){let e=(0,i._)(['\n    query MyBizUserAndMyBusinessSubscriptionTicketOnBizPlanToken {\n  myBizUser {\n    id\n    userCompanyInfo @merge(typename: "UserCompanyInfo") {\n      state\n      isManager\n      company {\n        id\n        name\n        slug\n        planDuration {\n          startAt\n          endAt\n        }\n        plan {\n          id\n          subscriptionPlanToken\n        }\n      }\n    }\n    tickets {\n      id\n      expiredAt\n    }\n  }\n  myBusinessSubscriptionTicket {\n    subscriptionTicket @merge(typename: "SubscriptionTicket") {\n      subscriptionTicketToken\n      klassSubscriptionPlan {\n        planToken\n      }\n    }\n  }\n}\n    ']);return o=function(){return e},e}let a={},u=(0,r.J1)(o());function c(e){let n={...a,...e},t=l.I(u,n);return s.useMemo(()=>{let{data:e,loading:n,error:i,called:r,refetch:l,fetchMore:s,...o}=t;return{myBizUserData:null==e?void 0:e.myBizUser,myBusinessSubscriptionTicketData:null==e?void 0:e.myBusinessSubscriptionTicket,isMyBizUserAndmyBusinessSubscriptionTicketLoading:n,myBizUserAndmyBusinessSubscriptionTicketError:i,isMyBizUserAndmyBusinessSubscriptionTicketCalled:r,refetchMyBizUserAndmyBusinessSubscriptionTicket:l,fetchMoreMyBizUserAndmyBusinessSubscriptionTicket:s,...o}},[t])}},556892:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i=t(25595),r=t(343549);function l(e){(0,r.A)(1,arguments);var n=(0,i.A)(e);return n.setHours(23,59,59,999),n}},567833:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i=t(25595),r=t(343549);function l(e,n){(0,r.A)(2,arguments);var t=(0,i.A)(e),l=(0,i.A)(n);return t.getTime()<l.getTime()}},579124:(e,n,t)=>{"use strict";t.d(n,{F:()=>l});var i=t(604841),r=t(538653);let l=function(){var e,n,t,l,s,o,a,u,c,d,h,g,p;let{skip:v=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{isLoggedIn:f,isAuthenticationInProgress:m}=(0,i.h)(),{myBizUserData:y,myBusinessSubscriptionTicketData:A,isMyBizUserAndmyBusinessSubscriptionTicketLoading:b}
1=(0,r.sK)({skip:v||m||!f,fetchPolicy:"cache-first"}),x=!!(null==y||null==(e=y.userCompanyInfo)?void 0:e.isManager),C=null==y||null==(t=y.userCompanyInfo)||null==(n=t.company)?void 0:n.plan,j=null!=(g=null==C?void 0:C.subscriptionPlanToken)?g:void 0,B=null==A||null==(s=A.subscriptionTicket)||null==(l=s.klassSubscriptionPlan)?void 0:l.planToken;return{planToken:x?j:B,planId:null==C?void 0:C.id,companySlug:null==y||null==(a=y.userCompanyInfo)||null==(o=a.company)?void 0:o.slug,companyName:null!=(p=null==y||null==(c=y.userCompanyInfo)||null==(u=c.company)?void 0:u.name)?p:"",planDuration:null==y||null==(h=y.userCompanyInfo)||null==(d=h.company)?void 0:d.planDuration,isLoading:m||b}}},607404:(e,n,t)=>{"use strict";t.d(n,{Q:()=>k});var i=t(304930),r=t(869950),l=t(971188),s=t(582771),o=t(695478),a=t(94899),u=t(956598),c=t(325205),d=t(937706),h=t(901477),g=t(297636),p=t(570341),v=t(210270),f=t(388648),m=t(724546),y=t(127956),A=t(484112),b=t(681962),x=t(137902),C=t(780412);let j=["/[lang]/business/home","/[lang]/business/categories","/[lang]/business/my-classe
1s"],B=[24,22],k=(0,l.o)(()=>{let{getUrl:e}=(0,x.h)(),{pathname:n}=(0,C.z)(),t=j.map(t=>{let i=e(t);return{id:t,href:i,isActive:n.startsWith(i)}});return{tabs:t,isVisible:t.some(e=>e.isActive)}},e=>{let{tabs:n,isVisible:t}=e;return t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.$,{height:100,hidden:[!1,!1,!0]}),(0,i.jsx)(o.e,{id:"bottom-bar",order:1,position:"bottom",left:0,right:0,offset:12,safeAreaMode:"padding",zIndex:1,display:["flex","flex","none"],children:e=>{let{layoutStyle:t}=e;return(0,i.jsx)(a.t,{backgroundColor:"background",...t,children:(0,i.jsxs)(u.T,{width:"100%",children:[(0,i.jsx)(c.c,{direction:"horizontal"}),(0,i.jsx)(d.z,{width:"100%",maxWidth:[520,"none"],mx:"auto",alignVertical:"center",px:[8,0],gap:[4,8],children:n.map(e=>(0,i.jsx)(h.o,{flex:1,flexBasis:0,href:e.href,ariaCurrent:e.isActive?"page":void 0,children:(0,i.jsx)(a.t,{backgroundColor:"transparent",width:"100%",height:[56,54],children:(0,i.jsxs)(g.B,{direction:["vertical","horizontal"],width:"100%",height:"100%",alignHorizontal:"center",alignVertical:"center",gap:6,px:12,children:[function(e,n){let t=n?"onView1":"onView3";return"/[lang]/business/home"===e?n?(0,i.jsx)(v.S,{size:B,fill:t}):(0,i.jsx)(f.Y,{size:B,fill:t}):"/[lang]/business/categories"===e?n?(0,i.jsx)(m.S,{size:B,fill:t}):(0,i.jsx)(y.Y,{size:B,fill:t}):n?(0,i.jsx)(A.S,{size:B,fill:t}):(0,i.jsx)(b.Y,{size:B,fill:t})}(e.id,e.isActive),(0,i.jsx)(p.n,{level:[6,2],weight:"medium",color:e.isActive?"onView1":"onView3",children:function(e){return"/[lang]/business/home"===e?(0,i.jsx)(r.V,{defaultMessage:"비즈니스 수강 홈",id:"j42nGv+ShWng"}):"/[lang]/business/categories"===e?(0,i.jsx)(r.V,{defaultMessage:"카테고리",id:"VD3WD+daH4FE"}):(0,i.jsx)(r.V,{defaultMessage:"내 학습",id:"xTx83ZbzER7r"})}(e.id)})]})})},e.id))})]})})}})]}):null})},652974:(e,n,t)=>{"use strict";t.d(n,{A:()=>s});var i=t(25595),r=t(343549),l=t(157234);function s(e,n){(0,r.A)(2,arguments);var t=(0,i.A)(e),s=(0,i.A)(n),o=(0,l.A)(t,s),a=Math.abs(function(e,n){(0,r.A)(2,arguments);var t=(0,i.A)(e),l=(0,i.A)(n);return t.getFullYear()-l.getFullYear()}(t,s));t.setFullYear(1584),s.setFullYear(1584);var u=(0,l.A)(t,s)===-o,c=o*(a-Number(u));return 0===c?0:c}},669374:(e,n,t)=>{"use strict";t.d(n,{Q:()=>o});var i=t(304930),r=t(665162),l=t(79083),s=t(20523);let o=(0,t(301391)._)("SafeAreaView")()(e=>{let{mode:n="margin",edges:t=["top","left","right","bottom"],width:o="100%",height:a="100%",minInsets:u={bottom:0,left:0,right:0,top:0},children:c,testId:d="safe-area-view",...h}=e,{generateStyle:g}=(0,l.c)(),p=(0,r.useMemo)(()=>{let e=g({edges:t,minInsets:u});return{pt:e.top,pl:e.left,pr:e.right,pb:e.bottom}},[t,g,u]);return(0,i.jsx)(s.a,{width:o,height:a,"data-testid":d,..."margin"===n&&p,children:(0,i.jsx)(s.a,{width:"auto"===o?"auto":"100%",height:"auto"===a?"auto":"100%",..."padding"===n&&p,...h,children:c})})})},671813:(e,n,t)=>{"use strict";t.d(n,{Cg:()=>i,_m:()=>l,s0:()=>r});var i=6e4,r=36e5,l=1e3},684796:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i=t(141231),r=t(343549);function l(e,n){(0,r.A)(2,arguments);var t=(0,i.A)(e),l=(0,i.A)(n);return t.getTime()===l.getTime()}},724546:(e,n,t)=>{"use strict";t.d(n,{S:()=>o});var i=t(304930),r=t(665162),l=t(414283),s=t(5310);let o=Object.assign((0,r.memo)(e=>{let{size:n=24,fill:t="onColor",linearGradient:r,testId:o="searchtext-fill",...a}=e;return(0,i.jsxs)(s.z,{viewBox:"0 0 24 24",size:n,fill:t,linearGradient:r,testId:o,...a,children:[(0,i.jsx)(l.B.Path,{d:"M13.8 5.1a.2.2 0 0 0 .2-.2V3.1a.2.2 0 0 0-.2-.2H2.2a.2.2 0 0 0-.2.2v1.8c0 .11.09.2.2.2z"}),(0,i.jsx)(l.B.Path,{fillRule:"evenodd",d:"M6.9 13.949a7.049 7.049 0 1 1 12.75 4.146l3.627 3.627-1.555 1.555-3.628-3.627A7.049 7.049 0 0 1 6.9 13.95m7.049-4.85a4.849 4.849 0 1 0 0 9.698 4.849 4.849 0 0 0 0-9.697",clipRule:"evenodd"}),(0,i.jsx)(l.B.Path,{d:"M7 9.4a.2.2 0 0 1-.2.2H2.2a.2.2 0 0 1-.2-.2V7.6c0-.11.09-.2.2-.2h4.6c.11 0 .2.09.2.2zm-2.2 4.7a.2.2 0 0 0 .2-.2v-1.8a.2.2 0 0 0-.2-.2H2.2a.2.2 0 0 0-.2.2v1.8c0 .11.09.2.2.2z"})]})}),{iconType:"Fill"});o.displayName="SearchTextFill"},899647:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i=t(25595),r=t(343549);function l(e,n){(0,r.A)(2,arguments);var t=(0,i.A)(e),l=(0,i.A)(n);return 12*(t.getFullYear()-l.getFullYear())+(t.getMonth()-l.getMonth())}},907372:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i=t(25595),r=t(343549);function l(e){(0,r.A)(1,arguments);var n=(0,i.A)(e),t=n.getMonth();return n.setFullYear(n.getFullYear(),t+1,0),n.setHours(23,59,59,999),n}},947805:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var i=t(25595),r=t(26351),l=t(343549);function s(e,n){var t=e.getFullYear()-n.getFullYear()||e.getMonth()-n.getMonth()||e.getDate()-n.getDate()||e.getHours()-n.getHours()||e.getMinutes()-n.getMinutes()||e.getSeconds()-n.getSeconds()||e.getMilliseconds()-n.getMilliseconds();return t<0?-1:t>0?1:t}function o(e,n){(0,l.A)(2,arguments);var t=(0,i.A)(e),o=(0,i.A)(n),a=s(t,o),u=Math.abs((0,r.A)(t,o));t.setDate(t.getDate()-a*u);var c=Number(s(t,o)===-a),d=a*(u-c);return 0===d?0:d}},954003:(e,n,t)=>{"use strict";function i(e){let n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"!=typeof i&&(i={});let{leading:r=!1,trailing:l=!0,maxWait:s}=i,o=[,,];r&&(o[0]="leading"),l&&(o[1]="trailing");let a=null,u=function(e,n){let t,{signal:i,edges:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=null,s=null!=r&&r.includes("leading"),o=null==r||r.includes("trailing"),a=()=>{null!==l&&(e.apply(t,l),t=void 0,l=null)},u=null,c=()=>{null!=u&&clearTimeout(u),u=setTimeout(()=>{u=null,o&&a(),d()},n)},d=()=>{null!==u&&(clearTimeout(u),u=null),t=void 0,l=null},h=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];if(null==i?void 0:i.aborted)return;t=this,l=n;let o=null==u;c(),s&&o&&a()};return h.schedule=c,h.cancel=d,h.flush=()=>{a()},null==i||i.addEventListener("abort",d,{once:!0}),h}(function(){for(var t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=arguments[r];n=e.apply(this,i),a=null},t,{edges:o}),c=function(){for(var t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=arguments[r];return null!=s&&(null===a&&(a=Date.now()),Date.now()-a>=s)?(n=e.apply(this,i),a=Date.now(),u.cancel(),u.schedule(),n):(u.apply(this,i),n)};return c.cancel=u.cancel,c.flush=()=>(u.flush(),n),c}t.d(n,{s:()=>i})}},e=>{e.O(0,[72195,73676,16522,57208,30653,79612,43749,71693,46593,90636,38792],()=>e(e.s=390632)),_N_E=e.O()}]);
2//# sourceMappingURL=[categoryId]-116d99b7640d926d.js.map

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.