PageSourceSearch

https://cdn.skijan.com/en/_next/static/chunks/pages/mypage/video-skill-95095c7064aadca7.js

js skijan.com collected 2026-10-07 06:21:11 UTC 52,445 bytes, 54 lines download raw bytes

1!function(){try{var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new n.Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="308d2511-e214-4b6b-967f-bdb4fbfa3010",n._sentryDebugIdIdentifier="sentry-dbid-308d2511-e214-4b6b-967f-bdb4fbfa3010")}catch(n){}}();var _sentryModuleMetadataGlobal="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_sentryModuleMetadataGlobal._sentryModuleMetadata=_sentryModuleMetadataGlobal._sentryModuleMetadata||{},_sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack]=Object.assign({},_sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack],{"_sentryBundlerPluginAppKey:very-secret-key":!0}),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2258,3242],{77438:function(n,e,t){"use strict";t.d(e,{Z:function(){return B}});var r=t(45202),i=t(13034),s=t(32735),a=t(68163),o=t(53589),l=t(75246),c=t(98789),u=t(44305),d=t(40486),p=t(3450),m=t(30228),f=t(8310),x=t(92354);function g(n){return(0,x.Z)("MuiLinearProgress",n)}(0,f.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var h=t(74512);let b=["className","color","value","valueBuffer","variant"],v=n=>n,w,y,Z,j,k,C,I=(0,l.keyframes)(w||(w=v`
2  0% {
3    left: -35%;
4    right: 100%;
5  }
6
7  60% {
8    left: 100%;
9    right: -90%;
10  }
11
12  100% {
13    left: 100%;
14    right: -90%;
15  }
16`)),M=(0,l.keyframes)(y||(y=v`
17  0% {
18    left: -200%;
19    right: 100%;
20  }
21
22  60% {
23    left: 107%;
24    right: -8%;
25  }
26
27  100% {
28    left: 107%;
29    right: -8%;
30  }
31`)),P=(0,l.keyframes)(Z||(Z=v`
32  0% {
33    opacity: 1;
34    background-position: 0 -23px;
35  }
36
37  60% {
38    opacity: 0;
39    background-position: 0 -23px;
40  }
41
42  100% {
43    opacity: 1;
44    background-position: -200px -23px;
45  }
46`)),_=n=>{let{classes:e,variant:t,color:r}=n,i={root:["root",`color${(0,u.Z)(r)}`,t],dashed:["dashed",`dashedColor${(0,u.Z)(r)}`],bar1:["bar",`barColor${(0,u.Z)(r)}`,("indeterminate"===t||"query"===t)&&"bar1Indeterminate","determinate"===t&&"bar1Determinate","buffer"===t&&"bar1Buffer"],bar2:["bar","buffer"!==t&&`barColor${(0,u.Z)(r)}`,"buffer"===t&&`color${(0,u.Z)(r)}`,("indeterminate"===t||"query"===t)&&"bar2Indeterminate","buffer"===t&&"bar2Buffer"]};return(0,o.Z)(i,g,e)},E=(n,e)=>"inherit"===e?"currentColor":n.vars?n.vars.palette.LinearProgress[`${e}Bg`]:"light"===n.palette.mode?(0,c.$n)(n.palette[e].main,.62):(0,c._j)(n.palette[e].main,.5),S=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(n,e)=>{let{ownerState:t}=n;return[e.root,e[`color${(0,u.Z)(t.color)}`],e[t.variant]]}})(({ownerState:n,theme:e})=>(0,i.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:E(e,n.color)},"inherit"===n.color&&"buffer"!==n.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===n.variant&&{backgroundColor:"transparent"},"query"===n.variant&&{transform:"rotate(180deg)"})),R=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(n,e)=>{let{ownerState:t}=n;return[e.dashed,e[`dashedColor${(0,u.Z)(t.color)}`]]}})(({ownerState:n,theme:e})=>{let t=E(e,n.color);return(0,i.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===n.color&&{opacity:.3},{backgroundImage:`radial-gradient(${t} 0%, ${t} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,l.css)(j||(j=v`
47    animation: ${0} 3s infinite linear;
48  `),P)),A=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(n,e)=>{let{ownerState:t}=n;return[e.bar,e[`barColor${(0,u.Z)(t.color)}`],("indeterminate"===t.variant||"query"===t.variant)&&e.bar1Indeterminate,"determinate"===t.variant&&e.bar1Determinate,"buffer"===t.variant&&e.bar1Buffer]}})(({ownerState:n,theme:e})=>(0,i.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===n.color?"currentColor":(e.vars||e).palette[n.color].main},"determinate"===n.variant&&{transition:"transform .4s linear"},"buffer"===n.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:n})=>("indeterminate"===n.variant||"query"===n.variant)&&(0,l.css)(k||(k=v`
49      width: auto;
50      animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
51    `),I)),G=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(n,e)=>{let{ownerState:t}=n;return[e.bar,e[`barColor${(0,u.Z)(t.color)}`],("indeterminate"===t.variant||"query"===t.variant)&&e.bar2Indeterminate,"buffer"===t.variant&&e.bar2Buffer]}})(({ownerState:n,theme:e})=>(0,i.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==n.variant&&{backgroundColor:"inherit"===n.color?"currentColor":(e.vars||e).palette[n.color].main},"inherit"===n.color&&{opacity:.3},"buffer"===n.variant&&{backgroundColor:E(e,n.color),transition:"transform .4s linear"}),({ownerState:n})=>("indeterminate"===n.variant||"query"===n.variant)&&(0,l.css)(C||(C=v`
52      width: auto;
53      animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
54    `),M)),N=s.forwardRef(function(n,e){let t=(0,m.Z)({props:n,name:"MuiLinearProgress"}),{className:s,color:o="primary",value:l,valueBuffer:c,variant:u="indeterminate"}=t,p=(0,r.Z)(t,b),f=(0,i.Z)({},t,{color:o,variant:u}),x=_(f),g=(0,d.Z)(),v={},w={bar1:{},bar2:{}};if(("determinate"===u||"buffer"===u)&&void 0!==l){v["aria-valuenow"]=Math.round(l),v["aria-valuemin"]=0,v["aria-valuemax"]=100;let n=l-100;"rtl"===g.direction&&(n=-n),w.bar1.transform=`translateX(${n}%)`}if("buffer"===u&&void 0!==c){let n=(c||0)-100;"rtl"===g.direction&&(n=-n),w.bar2.transform=`translateX(${n}%)`}return(0,h.jsxs)(S,(0,i.Z)({className:(0,a.Z)(x.root,s),ownerState:f,role:"progressbar"},v,{ref:e},p,{children:["buffer"===u?(0,h.jsx)(R,{className:x.dashed,ownerState:f}):null,(0,h.jsx)(A,{className:x.bar1,ownerState:f,style:w.bar1}),"determinate"===u?null:(0,h.jsx)(G,{className:x.bar2,ownerState:f,style:w.bar2})]}))});var B=N},98494:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mypage/video-skill",function(){return t(37756)}])},63582:function(n,e){"use strict";e.Z={src:"https://cdn.skijan.com/en/_next/static/media/no-product.a4548848.png",height:1200,width:1200,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAABAklEQVR42mPonnqCAYg5/v9fxBVcfC+/adrzsNz25+JpTY8YgJiR4cndqSDMdv3G/Q3rtj353zf32f/a/rtls5c/YwBiFoaQ8hcgzM3A
54cNnw0aPHXafPPbl98sz9s3dvn1RkAAH/7PMgLM7AsE+MgSGdiYGBgdUr47xGTvM9PQaGSywMDO7XQZi3d+qBoE07buYdO34mbe36A4GJFZd4GEDg6r3/zDduvWQA4kOPn7z7//T5x/9Pn334//LZWXkGEPj5/z/T7bvvGID49KvXX/+/fvvz/6s33/4/f3pVlQEEJi16CsIGew8/WnXrzrNjN2+/PHzmwrMDKzc/Cmdg+M8IAJcukBaM7zoFAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},37756:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return e2},default:function(){return e5}});var r,i,s=t(12328),a=t(38839),o=t(62274),l=t(32735),c=t(84779),u=t(35837),d=t(21141),p=t(98674),m=t(46050),f=t(56101);let x={page:1,limit:12},g={data:{data:[],pagingMeta:{page:x.page,limit:x.limit,totalItem:0,totalPage:0,hasPreviousPage:!1,hasNextPage:!1}},review:{isShowModalReview:!1,id:0},reviewRequirement:[]},h=(0,l.createContext)({}),b=n=>{let{children:e,data:t}=n,{useStore:r,FastContext:i}=(0,f.Z)(Object.assign({},g,{data:t}));return(0,a.jsx)(h.Provider,{value:{useStore:r},children:(0,a.jsx)(i,{children:e})})};var v=t(78645),w=t(75246),y=t(40486),Z=t(44907),j=t(17241),k=t(63582);function C(){let n=(0,v.Z)(["\n        width: 100%;\n        padding: 23px 0 69px 0;\n      "]);return C=function(){return n},n}function I(){let n=(0,v.Z)(["\n          max-width: 100%;\n          margin-bottom: 24px;\n          width: 200px;\n          height: 200px;\n        "]);return I=function(){return n},n}function M(){let n=(0,v.Z)(["max-width: 100%; max-height: 100%;"]);return M=function(){return n},n}function P(){let n=(0,v.Z)(["\n          color: ",";\n          margin-bottom: 16px;\n        "]);return P=function(){return n},n}function _(){let n=(0,v.Z)(["\n          color: ",";\n          text-align: center;\n        "]);return _=function(){return n},n}let E=(0,l.memo)(function(){let{t:n}=(0,o.$G)(e1),e=(0,y.Z)();return(0,a.jsxs)(Z.Z,{css:(0,w.css)(C()),justifyContent:"center",alignItems:"center",direction:"column",children:[(0,a.jsx)("div",{css:(0,w.css)(I()),children:(0,a.jsx)("img",{src:k.Z.src,alt:"NoProductSkjian",css:(0,w.css)(M())})}),(0,a.jsx)(j.Z,{css:(0,w.css)(P(),e.palette.smoke.dark),variant:"subtitle1",children:n("2")}),(0,a.jsx)(j.Z,{variant:"subtitle1",css:(0,w.css)(_(),e.palette.jade.light),children:n("3")})]})});var S=t(17319),R=t(82527),A=t(89218),G=t.n(A),N=t(78258),B=t(78638),L=t(29735),T=t(72297),z=t(76284),H=t(2169),D=t(56940);let F=n=>{let{children:e,title:t,placement:r}=n;return(0,a.jsx)(H.Z,{title:t,placement:r||"bottom",slotProps:{popper:{sx:{["&.".concat(D.Z.popper,'[data-popper-placement*="bottom"] .').concat(D.Z.tooltip)]:{marginTop:"0px"},["&.".concat(D.Z.popper,'[data-popper-placement*="top"] .').concat(D.Z.tooltip)]:{marginBottom:"0px"},["&.".concat(D.Z.popper,'[data-popper-placement*="right"] .').concat(D.Z.tooltip)]:{marginLeft:"0px"},["&.".concat(D.Z.popper,'[data-popper-placement*="left"] .').concat(D.Z.tooltip)]:{marginRight:"0px"}}}},children:e})};var O=(0,l.memo)(F);function $(){let n=(0,v.Z)(["\n          text-decoration: none;\n        "]);return $=function(){return n},n}function U(){let n=(0,v.Z)(["\n              font-weight: normal;\n              cursor: pointer;\n              color: ",";\n              letter-spacing: 0.14px;\n              min-height: 50px;\n              text-align: left;\n              font-size: 16px;\n              line-height: 150%;\n            "]);return U=function(){return n},n}let q=n=>{let{data:e,linkTarget:t,cusCss:r}=n,i=(0,y.Z)();return(0,a.jsx)("div",{css:r,children:(0,a.jsx)(G(),{css:(0,w.css)($()),href:e.detailUrl,passHref:!0,target:t,children:(0,a.jsx)(O,{title:e.title,placement:"bottom-start",children:(0,a.jsx)(j.Z,{component:"span",variant:"subtitle1",className:"ggj-wt ggj-wt-l-2",css:(0,w.css)(U(),i.palette.text.primary),children:(0,z.By)(e.title||"")})})})})};var V=(0,l.memo)(q),Y=t(58451);let J="surface-component@SkjProductBox",K=[Y.nsTranGgjCountry,J];var W=t(21184);function X(){let n=(0,v.Z)(["\n      svg {\n        width: 14px;\n        height: 14px;\n      }\n      .wrapper-icon {\n        padding: 4px 8px;\n        display: flex;\n        align-items: center;\n        gap: 4px;\n        background: #F5F5F5 0% 0% no-repeat padding-box;\n        border-radius: 10px;\n      }\n      .wrapper-text {\n        font-weight: 600;\n        font-size: 12px;\n        text-align: center;\n        color: ",";\n      }\n      cursor: default;\n    "]);return X=function(){return n},n}function Q(){let n=(0,v.Z)(["\n          color: #F5F5F5;\n          path {\n            stroke: ",";\n          }\n        "]);return Q=function(){return n},n}let nn=()=>{let{t:n}=(0,o.$G)(J),e=(0,y.Z)();return(0,a.jsx)(Z.Z,{css:(0,w.css)(X(),e.palette.primary.main),children:(0,a.jsx)(O,{title:n("videoCall"),children:(0,a.jsxs)("div",{className:"wrapper-icon",children:[(0,a.jsx)(W.default,{css:(0,w.css)(Q(),e.palette.primary.main)}),(0,a.jsx)(j.Z,{className:"wrapper-text",children:n("videoCourse")})]})})})};var ne=(0,l.memo)(nn),nt=t(67995);function nr(){let n=(0,v.Z)(["\n        cursor: default;\n        svg {\n          color: white;\n          width: 14px;\n          height: 14px;\n        }\n      "]);return nr=function(){return n},n}function ni(){let n=(0,v.Z)(["\n          padding: 4px 8px;\n          display: flex;\n          align-items: center;\n          gap: 4px;
54\n          background: #F5F5F5 0% 0% no-repeat padding-box;\n          border-radius: 10px;\n          svg {\n            color: ",";\n          }\n        "]);return ni=function(){return n},n}function ns(){let n=(0,v.Z)(["\n            font-weight: 600;\n            font-size: 12px;\n            text-align: center;\n            color: ",";\n            line-height: 140%;\n          "]);return ns=function(){return n},n}let na=n=>{let{data:e}=n,{t}=(0,o.$G)(K),r=(0,y.Z)();if(!e.videoCount)return(0,a.jsx)(a.Fragment,{});let i=t("noOfLessons",{ns:J,no:e.videoCount});return(0,a.jsx)(O,{title:i,children:(0,a.jsx)("div",{css:(0,w.css)(nr()),children:(0,a.jsxs)("div",{className:"wrapper-icon",css:(0,w.css)(ni(),r.palette.jade.main),children:[(0,a.jsx)(nt.default,{}),(0,a.jsx)(j.Z,{css:(0,w.css)(ns(),r.palette.jade.main),children:i})]})})})};var no=(0,l.memo)(na),nl=t(48821),nc=t(94063),nu=t(391),nd=t(63324),np=t(36726);t(86546),t(62602),t(21033);var nm=t(97643),nf=t(14063),nx=t(25699),ng=t(72406),nh=t(50944),nb=t(40581),nv=t(18130);function nw(){let n=(0,v.Z)(["\n        width: 100%;\n        padding-bottom: 56.25%;\n        position: relative;\n      "]);return nw=function(){return n},n}function ny(){let n=(0,v.Z)(["\n            top: 0;\n            position: absolute;\n            width: 100%;\n            height: 100%;\n            "]);return ny=function(){return n},n}function nZ(){let n=(0,v.Z)(["\n              top: 0;\n              position: absolute;\n              width: 100%;\n              height: 100%;\n              border-radius: 10px;\n              object-fit: cover;\n            "]);return nZ=function(){return n},n}function nj(){let n=(0,v.Z)(["\n              background: #fff5;\n              &:hover {\n                background: #fff;\n              }\n            "]);return nj=function(){return n},n}function nk(){let n=(0,v.Z)(["\n    margin: 0 auto;\n    iframe {\n      width: 100%;\n      height: 100%;\n      display: flex;\n      align-items: center;\n      border: none;\n    }\n  "]);return nk=function(){return n},n}function nC(){let n=(0,v.Z)(["\n              height: 100%;\n              position: absolute;\n              background-color: ",";\n              object-fit: contain;\n              inset: 0;\n              object-position: center center;\n              border-radius: 10px;\n            "]);return nC=function(){return n},n}function nI(){let n=(0,v.Z)(["\n              display: flex;\n              justify-content: center;\n              align-items: center;\n            "]);return nI=function(){return n},n}function nM(){let n=(0,v.Z)(["\n      position: absolute;\n      display: none;\n      top: 50%;\n      transform:translateY(-50%);\n      z-index: 10;\n      background-color: ",";\n      color: ",";\n      box-shadow: 0 3px 6px #00000029;\n      width: ",";\n      height: ",";\n      border-radius: 50%;\n      svg {\n        width: 14px;\n        height: 14px;\n      }\n      transition: display 0.3s ease;\n      &:hover {\n        background-color: ",";\n      }\n      &:disabled,\n      &.swiper-button-disabled {\n        opacity: 0;\n        display: none !important;\n      }\n    "]);return nM=function(){return n},n}function nP(){let n=(0,v.Z)(["\n        display: block;\n        width: 100%;\n        padding-bottom: 56.25%;\n        position: relative;\n        :hover {\n          > .custom-button-next,\n          .custom-button-prev {\n            display: flex;\n          }\n        }\n      "]);return nP=function(){return n},n}function n_(){let n=(0,v.Z)(["\n          left: 4px;\n          ","\n        "]);return n_=function(){return n},n}function nE(){let n=(0,v.Z)(["\n          right: 4px;\n          ","\n        "]);return nE=function(){return n},n}function nS(){let n=(0,v.Z)(["\n          position: absolute;\n          width: 100%;\n          height: 100%;\n          display: flex;\n          justify-content: center;\n          align-items: center;\n        "]);return nS=function(){return n},n}function nR(){let n=(0,v.Z)(["\n            --swiper-navigation-color: #ffffff;\n            width: 100%;\n            height: 100%;\n\n            /* custome color of bullet pagination */\n            .swiper-pagination-bullet {\n              width: 6px;\n              height: 6px;\n              background-color: white;\n              box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;\n              opacity: 0.8 !important;\n            }\n            .swiper-pagination-bullet-active {\n              width: 8px;\n              height: 8px;\n              opacity: 1 !important;\n            }\n            .swiper-wrapper {\n              align-items: center;\n              .swiper-slide {\n                display: flex;\n                justify-content: center;\n                align-items: center;\n                &.ggjImg .swiper-media-container {\n                  display: inline;\n                  width: auto;\n                  height: auto;\n                  max-width: 100%;\n                  max-height: 100%;\n                }\n                &.youtube .swiper-media-container {\n                  width: 100%;\n                  height: 100%;\n                  display: flex;\n                  background-color: ",";\n                  align-items: center;\n                  border-radius: 10px;\n                }\n              }\n            }\n          "]);return nR=function(){return n},n}function nA(){let n=(0,v.Z)(["\n                  width: 100%;\n                  height: 100%;\n                "]);return nA=function(){return n},n}let nG=n=>{let e=n.filter(n=>n.type===nl.pC.Youtube)||[],t=n.filter(n=>n.type===nl.pC.Image)||[];return[...e,...t]},nN=n=>null!=n&&"IFRAME"===n.tagName;
54function nB(n){let{currentIndex:e,item:t,isActive:r,className:s}=n,[o,c]=(0,l.useState)(i.thumb),[u,d]=(0,l.useState)(!1),p=(0,l.useCallback)((n,e)=>{let t=n.target;nN(t)&&t.contentWindow&&t.contentWindow.postMessage(JSON.stringify({event:"command",func:e,args:[]}),"*")},[]),m=(0,l.useCallback)(()=>{o===i.thumb&&c(i.video)},[o]),f=(0,l.useCallback)(n=>{d(!0),p(n,"playVideo")},[p]),x=(0,l.useCallback)(n=>{d(!1),p(n,"pauseVideo")},[p]),g=n=>{u?p(n,"playVideo"):p(n,"pauseVideo")};return(0,l.useEffect)(()=>{o===i.video&&c(i.thumb)},[e]),(0,a.jsx)("div",{css:(0,w.css)(nw()),onMouseEnter:m,className:s,children:o===i.video&&r?(0,a.jsx)("iframe",{css:(0,w.css)(ny()),onMouseEnter:f,onMouseLeave:x,onLoad:g,src:"https://www.youtube.com/embed/".concat(t.thumbnailId,"?enablejsapi=1&mute=").concat(nh.n7?1:0),allowFullScreen:!0,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture;"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("img",{css:(0,w.css)(nZ()),src:t.thumbnailUrl,alt:"Image viewer"}),(0,a.jsx)(nm.Z,{size:"large",css:(0,w.css)(nj())})]})})}function nL(n){let{item:e,skillId:t,index:r,className:i}=n,s=(0,l.useMemo)(()=>{var n;return(null==e?void 0:null===(n=e.imageUrl)||void 0===n?void 0:n.startsWith("blob"))?e.imageUrl:e.type!==nl.pC.Image?"":(0,nv.A2)((0,nv.sI)(e.imageUrl?e.imageUrl:"/img/v3/skijan/skill/".concat(t,"?noDefaultImg=0&variant=light"),ng.gs.SKJ_AVT_SKILL))},[e.type,e.imageUrl,t]);return(0,a.jsx)(T.Z,{component:"img",image:s,alt:"".concat(e.imageName,"-").concat(r),className:i})}function nT(n){let{skillId:e,currentIndex:t,item:r,isActive:i=!1,index:s}=n,o=(0,y.Z)(),l=(0,w.css)(nk());return(0,a.jsx)(nc.Z,{css:l,className:"swiper-media-container",children:(0,a.jsx)(a.Fragment,{children:r.type===nl.pC.Image?(0,a.jsx)(nL,{item:r,skillId:e,index:s,css:(0,w.css)(nC(),o.palette.jade.dark)}):(0,a.jsx)(nB,{currentIndex:t,skillId:e,item:r,isActive:i,css:(0,w.css)(nI())})})})}(r=i||(i={}))[r.thumb=0]="thumb",r[r.video=1]="video";let nz=n=>{let{data:e}=n,t=(0,y.Z)(),{imageUrl:r,url:i}=e,s=(0,nb.Z)(),[o,c]=(0,l.useState)(0),u=(0,l.useMemo)(()=>{let n={type:nl.pC.Image,imageUrl:r,imageName:e.title};try{return i?nG([n,...JSON.parse(i)]):[n]}catch(e){return console.log(e),[n]}},[i,r]),d=(0,l.useMemo)(()=>(0,w.css)(nM(),t.palette.canvas.light,t.palette.smoke.dark,t.spacing(5),t.spacing(5),t.palette.canvas.dark),[t]);return(0,a.jsxs)("div",{className:"swiper-card-".concat(e.skillId,"-").concat(s),css:(0,w.css)(nP()),children:[(0,a.jsx)(nu.Z,{css:(0,w.css)(n_(),d),className:"custom-button-prev",children:(0,a.jsx)(nf.Z,{})}),(0,a.jsx)(nu.Z,{css:(0,w.css)(nE(),d),className:"custom-button-next",children:(0,a.jsx)(nx.Z,{})}),(0,a.jsx)("div",{css:(0,w.css)(nS()),children:(0,a.jsx)(nd.tq,{modules:[np.W_,np.tl],slidesPerView:1,pagination:{dynamicBullets:!0,dynamicMainBullets:4},onSlideChange:n=>{c(n.realIndex)},navigation:{prevEl:".swiper-card-".concat(e.skillId,"-").concat(s," .custom-button-prev"),nextEl:".swiper-card-".concat(e.skillId,"-").concat(s," .custom-button-next")},css:(0,w.css)(nR(),t.palette.smoke.light),children:null==u?void 0:u.map((n,t)=>(0,a.jsx)(nd.o5,{className:n.type,children:(0,a.jsx)(S.Z,{component:nT,componentProps:{skillId:e.skillId,currentIndex:o,item:n,index:t,isActive:o===t},css:(0,w.css)(nA()),minHeight:200})},"".concat(n.type,"-").concat(t)))})})]})};var nH=(0,l.memo)(nz),nD=t(92976),nF=t(3242),nO=t(45945),n$=t(15389);function nU(){let n=(0,v.Z)(["\n          cursor: pointer;\n        "]);return nU=function(){return n},n}function nq(){let n=(0,v.Z)(["\n        display: flex;\n        flex-direction: column;\n        align-items: self-end;\n        gap: 8px;\n        ","\n    "]);return nq=function(){return n},n}function nV(){let n=(0,v.Z)(["\n          color: #FAAF00;\n          font-size: 14px;\n          height: 14px;\n        "]);return nV=function(){return n},n}function nY(){let n=(0,v.Z)(["\n          font-size: 14px;\n          height: 14px;\n          color: #E0E0E0;\n        "]);return nY=function(){return n},n}function nJ(){let n=(0,v.Z)(["\n          gap: 4px;\n        "]);return nJ=function(){return n},n}function nK(){let n=(0,v.Z)(["\n          font-size: 14px;\n          width: max-content;\n        "]);return nK=function(){return n},n}let nW=n=>{let{yourRating:e,skillId:t}=n,{t:r}=(0,o.$G)(e1),i=(0,nO.G)(h);return(0,a.jsxs)("div",{onClick:()=>{e||i(n=>(0,n$.DE)(n,t))},css:(0,w.css)(nq(),!e&&(0,w.css)(nU())),children:[(0,a.jsx)(nD.Z,{icon:(0,a.jsx)(nF.default,{css:(0,w.css)(nV())}),emptyIcon:(0,a.jsx)(nF.default,{css:(0,w.css)(nY())}),readOnly:!0,precision:1,value:e||0,max:5,css:(0,w.css)(nJ())}),(0,a.jsx)(j.Z,{variant:"body2",css:(0,w.css)(nK()),children:r(e?"your-rating":"review-now")})]})};var nX=(0,l.memo)(nW),nQ=t(58544);function n0(){let n=(0,v.Z)(["\n    position: relative;\n  "]);return n0=function(){return n},n}function n1(){let n=(0,v.Z)(["\n          position: relative;\n          box-shadow: 0 0 0 3px #fff;\n          z-index: 1;\n          width: 38px;\n          height: 38px;\n        "]);return n1=function(){return n},n}function n3(){let n=(0,v.Z)(["\n        width: 100%;\n        display: flex;\n        align-items: center;\n        justify-content: space-between;\n    "]);return n3=function(){return n},n}function n6(){let n=(0,v.Z)(["\n        text-decoration: none;\n        width: 100%;\n      "]);return n6=function(){return n},n}function n4(){let n=(0,v.Z)(["\n            display: flex;\n            gap: 6px;\n            align-items: center;\n            "]);return n4=function(){return n},n}function n2(){let n=(0,v.Z)(["\n          position: relative;\n          @media only screen and (max-width: ","px) {\n            display: none;\n          }\n          .user-avatar {\n            width: 38px;\n            height: 38px;\n          }\n        "]);return n2=function(){return n},n}function n5(){let n=(0,v.Z)(["\n          display: flex;\n          flex: 1;\n          flex-direction: row;\n          justify-content: space-between;\n          align-items: center;\n        "]);return n5=function(){return n},n}function n8(){let n=(0,v.Z)(["\n                    line-height: ",";\n                    letter-spacing: 0.11px;\n                    cursor: pointer;\n                    font-size: 14px;\n                    color: #222222;\n                "]);return n8=function(){return n},n}function n7(){let n=(0,v.Z)(["\n              display: flex;\n              align-items: center;\n              gap: 8px;\n            "]);return n7=function(){return n},n}function n9(){let n=(0,v.Z)(["\n                                  cursor: default;\n                                  font-style: normal;\n                                  font-weight: 400;\n                                  font-size: 12px;\n                                  line-height: 18px;\n                                  color: rgba(34, 34, 34, 0.8);\n                              "]);return n9=function(){return n},n}function en(){let n=(0,v.Z)(["\n                              box-shadow: 0 0 2px rgb(0 0 0 / 20%);\n                              border-radius: 3px;
54\n                              width: 20px;\n                              height: 16px;\n                  "]);return en=function(){return n},n}let ee=(0,l.memo)(function(n){var e;let{data:t,children:r}=n;return(0,a.jsxs)("div",{css:(0,w.css)(n0()),children:[(0,a.jsx)(O,{title:null!==(e=t.sellerInfo.nickName)&&void 0!==e?e:"-",children:(0,a.jsx)(nQ.Z,{className:"user-avatar",alt:"user-avatar-".concat(t.sellerInfo.id),src:(0,nv.A2)("/img/v3/skijan/users/avatar/".concat(t.sellerInfo.id,"?noDefaultImg=0&size=").concat(ng.gs.SKJ_AVT_USER)),css:(0,w.css)(n1())})}),r]})}),et=n=>{var e;let{data:t,linkTarget:r}=n,i=(0,y.Z)(),{t:s}=(0,o.$G)(),{nickName:l,isoName:c}=t.sellerInfo;return(0,a.jsx)("div",{css:(0,w.css)(n3()),children:(0,a.jsx)(G(),{href:"/users/".concat(t.sellerInfo.id),css:(0,w.css)(n6()),passHref:!0,target:r,children:(0,a.jsxs)("div",{css:(0,w.css)(n4()),children:[(0,a.jsx)("div",{css:(0,w.css)(n2(),i.breakpoints.values.md),children:(0,a.jsx)(ee,{data:t})}),(0,a.jsxs)("div",{css:(0,w.css)(n5()),children:[(0,a.jsx)(O,{title:null!==(e=t.sellerInfo.nickName)&&void 0!==e?e:"-",children:(0,a.jsx)(j.Z,{variant:"subtitle2",component:"span",className:"ggj-wt",css:(0,w.css)(n8(),i.spacing(4)),children:l||"-"})}),c&&(0,a.jsxs)("div",{css:(0,w.css)(n7()),children:[(0,a.jsx)(O,{title:s(c.toUpperCase(),{ns:Y.nsTranGgjCountry}),children:(0,a.jsx)(j.Z,{css:(0,w.css)(n9()),children:t.sellerInfo.isoName})}),(0,a.jsx)(Y.default,{countryIsoName:c,ratio:"4x3",cssString:(0,w.css)(en())})]})]})]})})})};var er=(0,l.memo)(et),ei=t(77438),es=t(31242);function ea(){let n=(0,v.Z)(["\n      width: 100%;\n      height: 4px;\n      border-radius: 3px;\n      & .MuiLinearProgress-bar {\n        background-color: ",";\n      }\n      & .MuiLinearProgress-root {\n        background-color: ",";\n      }\n    "]);return ea=function(){return n},n}function eo(){let n=(0,v.Z)(["\n      display: flex;\n      flex-direction: column;\n      align-items: flex-start;\n      justify-content: center;\n      gap: 8px;\n      width: 100%;\n      max-width: 137px;\n      @media only screen and (min-width: ","px) {\n        margin-top: 8px;\n      }\n    "]);return eo=function(){return n},n}function el(){let n=(0,v.Z)(["\n          font-size: 14px;\n          font-weight: ",";\n        "]);return el=function(){return n},n}let ec=n=>{let{progress:e=0,isComplete:t}=n,{t:r}=(0,o.$G)(es.ol),i=(0,y.Z)(),s={COMPLETED_BG:"#19DA3D",NOT_STARTED_BG:i.palette.primary.light,IN_PROGRESS_BG:i.palette.primary.main},{progressText:c,progressColor:u}=(0,l.useMemo)(()=>t?{progressText:r("progress-completed"),progressColor:s.COMPLETED_BG}:e?{progressText:r("progress-in-progress",{progress:e}),progressColor:s.IN_PROGRESS_BG}:{progressText:r("progress-start-course"),progressColor:s.IN_PROGRESS_BG},[t,e,i.palette.primary]),d=(0,l.useMemo)(()=>(0,w.css)(ea(),u,t?s.COMPLETED_BG:s.NOT_STARTED_BG),[t,u]);return(0,a.jsxs)(nc.Z,{css:(0,w.css)(eo(),i.breakpoints.values.md),children:[(0,a.jsx)(ei.Z,{variant:"determinate",value:e,css:d}),(0,a.jsx)(j.Z,{css:(0,w.css)(el(),t?"600":"normal"),color:u,children:c})]})};var eu=(0,l.memo)(ec);function ed(){let n=(0,v.Z)(["\n        margin-top: 12px;\n        @media only screen and (min-width: ","px) {\n          padding: 16px 16px 12px 16px;\n          margin: 0;\n        }\n      "]);return ed=function(){return n},n}function ep(){let n=(0,v.Z)(["\n            @media only screen and (max-width: ","px) {\n              display: flex;\n              align-items: center;\n            }\n          "]);return ep=function(){return n},n}function em(){let n=(0,v.Z)(["\n          margin-top: 8px;\n          justify-content: end;\n          display: none;\n          ","\n        "]);return em=function(){return n},n}function ef(){let n=(0,v.Z)(["\n              @media only screen and (max-width: ","px) {\n                display: flex;\n                flex-direction: row-reverse;\n              }\n            "]);return ef=function(){return n},n}function ex(){let n=(0,v.Z)(["\n            gap: 8px;\n            flex-direction: row;\n            flex-wrap: wrap-reverse;\n            justify-content: start;\n            ","\n          "]);return ex=function(){return n},n}function eg(){let n=(0,v.Z)(["\n          @media only screen and (max-width: ","px) {\n            border-bottom: 1px solid ",";\n            box-shadow: none;\n            border-radius: 0;\n          }\n        "]);return eg=function(){return n},n}function eh(){let n=(0,v.Z)(["\n        width: 100%;\n        border-radius: 18px;\n        border-bottom: none;\n        box-shadow:\n          0px 1px 3px rgba(83, 86, 96, 0.1),\n          0px 1px 2px rgba(39, 40, 43, 0.06);\n        ","\n      "]);return eh=function(){return n},n}function eb(){let n=(0,v.Z)(["\n            @media (min-width: 340px) and (max-width: ","px) {\n              img, iframe {\n                border-radius: 10px;\n              }\n              display: flex;\n              &:last-child {\n                padding-bottom: 0;\n              }\n            }\n            }\n          "]);return eb=function(){return n},n}function ev(){let n=(0,v.Z)(["\n          position: relative;\n          padding: 0;\n          @media only screen and (min-width: ","px) {\n            padding: 0;\n          }\n\n          :last-child {\n            padding-bottom: 0;\n          }\n\n          img,\n          iframe {\n            border-radius: unset;\n          }\n\n          ","\n        "]);return ev=function(){return n},n}function ew(){let n=(0,v.Z)(["\n              @media (min-width: 340px) and (max-width: ","px) {\n                width: 45%;\n              }\n            "]);return ew=function(){return n},n}function ey(){let n=(0,v.Z)(["\n            position: relative;\n            ","\n          "]);return ey=function(){return n},n}function eZ(){let n=(0,v.Z)(["\n                height: 100%;\n                cursor: pointer;\n                padding-bottom: 56.25%;\n                position: relative;\n                border-radius: 10px;\n              "]);return eZ=function(){return n},n}function ej(){let n=(0,v.Z)(["\n                    @media only screen and (max-width: ","px) {\n                      max-height: 100px;\n                      max-width: ","px;\n                      aspect-ratio: 16 / 9;\n                    }\n                  "]);return ej=function(){return n},n}function ek(){let n=(0,v.Z)(["\n                  height: 100%;\n                  position: absolute;\n                  background-color: ",";\n                  object-fit: contain;\n                  inset: 0;\n                  object-position: center center;\n                  border-radius: 10px;\n                  ","\n                "]);return ek=function(){return n},n}function eC(){let n=(0,v.Z)(["\n                @media only screen and (max-width: ","px) {\n                  display: none;\n                }\n              "]);return eC=function(){return n},n}function eI(){let n=(0,v.Z)(["\n              position: absolute;\n              bottom: 8px;\n              right: 8px;\n              z-index: 1;\n              display: flex;\n              gap: 8px;\n              flex-direction: row;\n              flex-wrap: wrap-reverse;\n              justify-content: start;\n              ","\n            "]);return eI=function(){return n},n}function eM(){let n=(0,v.Z)(["\n            padding: 16px;\n            @media only screen and (min-width: ","px) {\n              padding: 16px 16px 0 16px;\n            }\n            @media only screen and (max-width: ","px) {\n              display: none;\n              padding-left: 16px;\n              padding: 0 0 0 12px;\n            }\n            display: flex;\n            flex-direction: column;\n            gap: 8px;\n          "]);return eM=function(){return n},n}function eP(){let n=(0,v.Z)(["\n              display: flex;\n              align-items: center;\n              justify-content: space-between;\n              gap: 24px;\n            "]);return eP=function(){return n},n}function e_(){let n=(0,v.Z)(["\n            @media only screen and (max-width: ","px) {\n              padding-left: 10px;\n              flex: 1\n            }\n          "]);return e_=function(){return n},n}function eE(){let n=(0,v.Z)(["\n          ","\n          "]);return eE=function(){return n},n}function eS(){let n=(0,v.Z)(["\n                @media only screen and (min-width: ","px) {\n                  padding: 24px 16px 0 16px;\n                }\n                @media only screen and (max-width: ","px) {\n                  padding: 0;\n                }\n              "]);return eS=function(){return n},n}function eR(){let n=(0,v.Z)(["\n              padding: 16px;\n              ","\n            "]);return eR=function(){return n},n}function eA(){let n=(0,v.Z)(["\n            @media only screen and (min-width: ","px) {\n              display: none;\n            }\n            display: flex;\n            flex-direction: column;\n            gap: 8px;\n            margin: 12px 0 12px 0;\n          "]);return eA=function(){return n},n}function eG(){let n=(0,v.Z)(["\n              gap: 24px;\n              display: flex;\n              align-items: center;\n              justify-content: space-between;\n            "]);return eG=function(){return n},n}let eN=(0,l.memo)(function(n){let{data:e,linkTarget:t,isResponsive:r}=n,i=(0,y.Z)();return(0,a.jsxs)("div",{css:(0,w.css)(ed(),i.breakpoints.values.md),children:[(0,a.jsx)(er,{data:e,linkTarget:t}),(0,a.jsx)("div",{css:(0,w.css)(em(),Boolean(r)&&(0,w.css)(ep(),i.breakpoints.values.md)),children:(0,a.jsxs)("div",{css:(0,w.css)(ex(),Boolean(r)&&(0,w.css)(ef(),i.breakpoints.values.md)),children:[(0,a.jsx)(ne,{}),(0,a.jsx)(no,{data:e})]})})]})}),eB=n=>{let{data:e,linkTarget:t,isShowSlider:r=!1,isResponsive:i=!0}=n,s=(0,y.Z)(),o=(0,N.Z)(n=>n.breakpoints.up("lg")),c=(0,l.useMemo)(()=>{var n;return(null==e?void 0:null===(n=e.imageUrl)||void 0===n?void 0:n.startsWith("blob"))?e.imageUrl:(0,nv.A2)((0,nv.sI)(e.imageUrl?e.imageUrl:"/img/v3/skijan/skill/".concat(e.skillId,"?noDefaultImg=0&variant=light"),ng.gs.SKJ_AVT_SKILL))},[e.imageUrl,e.skillId]);return(0,a.jsxs)(B.Z,{className:"skjProductBox",css:(0,w.css)(eh(),i&&(0,w.css)(eg(),s.breakpoints.values.md,s.palette.divider)),children:[(0,a.jsxs)(L.Z,{css:(0,w.css)(ev(),s.breakpoints.values.md,Boolean(i)&&(0,w.css)(eb(),s.breakpoints.values.md)),children:[(0,a.jsxs)(G(),{href:e.detailUrl,passHref:!0,target:t,css:(0,w.css)(ey(),Boolean(i)&&(0,w.css)(ew(),s.breakpoints.values.md)),children:[r&&o&&e.url?(0,a.jsx)(nH,{data:e}):(0,a.jsx)("div",{className:"skjProductBoxInfoImg",css:(0,w.css)(eZ()),children:(0,a.jsx)(T.Z,{component:"img",image:c,alt:"".concat(e.title),css:(0,w.css)(ek(),s.palette.jade.dark,Boolean(i)&&(0,w.css)(ej(),s.breakpoints.values.md,1600/9))})}),(0,a.jsxs)("div",{css:(0,w.css)(eI(),Boolean(i)&&(0,w.css)(eC(),s.breakpoints.values.md)),children:[(0,a.jsx)(ne,{}),(0,a.jsx)(no,{data:e})]})]}),(0,a.jsx)("div",{css:(0,w.css)(eM(),s.breakpoints.values.md,s.breakpoints.values.md),children:(0,a.jsxs)("div",{css:(0,w.css)(eP()),children:[(0,a.jsx)(eu,{progress:e.progress,isComplete:e.isComplete}),(0,a.jsx)(nX,{yourRating:e.yourRating,skillId:e.skillId})]})}),(0,a.jsxs)("div",{css:(0,w.css)(eE(),Boolean(i)&&(0,w.css)(e_(),s.breakpoints.values.md)),children:[(0,a.jsx)(V,{cusCss:(0,w.css)(eR(),Boolean(i)&&(0,w.css)(eS(),s.breakpoints.values.md,s.breakpoints.values.md)),data:e,linkTarget:t}),(0,a.jsx)(eN,{data:e,linkTarget:t,isResponsive:i})]})]}),!!i&&(0,a.jsx)("div",{css:(0,w.css)(eA(),s.breakpoints.values.md),children:(0,a.jsxs)("div",{css:(0,w.css)(eG()),children:[(0,a.jsx)(eu,{progress:e.progress,isComplete:e.isComplete}),(0,a.jsx)(nX,{yourRating:e.yourRating,skillId:e.skillId})]})})]})};var eL=(0,l.memo)(eB);function eT(){let n=(0,v.Z)(["\n        display: grid;\n        gap: ","px;\n        @media only screen and (min-width: ","px) {\n          grid-template-columns: repeat(auto-fill, minmax(","px, 1fr));\n        }\n      "]);return eT=function(){return n},n}[...R.lH];let ez=n=>{let{list:e}=n,t=(0,y.Z)();return(0,a.jsx)("div",{id:"SkjBoughtCourseProductBoxWrapper",css:(0,w.css)(eT(),16,t.breakpoints.values.md,245),children:e.map(n=>(0,a.jsx)(S.Z,{minHeight:360,component:eL,componentProps:{data:n,isShowSlider:!0}},n.skillId))})};var eH=(0,l.memo)(ez),eD=t(83394);function eF(){let n=(0,v.Z)(["\n        .MuiPagination-ul {\n          gap: 8px;\n        }\n      "]);return eF=function(){return n},n}let eO=n=>{let{totalPages:e,currentPage:t,onPageChange:r,className:i}=n;return e<=1?null:(0,a.jsx)(nc.Z,{display:"flex",justifyContent:"center",mt:4,className:i,css:(0,w.css)(eF()),children:(0,a.jsx)(eD.Z,{count:e||1,page:t||1,onChange:r,color:"primary",size:"medium"})})};var e$=(0,l.memo)(eO),eU=t(83333),eq=t(42148),eV=t(35216),eY=t(95796),eJ=t(64354);function eK(){let n=(0,v.Z)(["\n      padding-top: 32px;\n      min-height: calc(\n        100vh -\n        ","px -\n        ","px\n      );\n      @media only screen and (min-width: ","px) {\n        padding: 40px 0;\n      }\n      @media only screen and (min-width: ","px) {\n        min-height: calc(\n          100vh -\n          ","px -\n          ","px -\n          ","px\n        );\n      }\n      display: flex;\n      flex-direction: column;\n      justify-content: space-between;\n    "]);return eK=function(){return n},n}function eW(){let n=(0,v.Z)(["\n        @media only screen and (max-width: ","px) {\n          .MuiTabs-root {\n            display: none;\n          }\n        }\n      "]);return eW=function(){return n},n}let eX={HEADER_HEIGHT:72,TAB_HEIGHT:48,FOOTER_HEIGHT:40},eQ=(0,l.memo)(function(n){let{products:e,pagination:t,onPageChange:r}=n,i=(0,y.Z)();return(0,a.jsx)("div",{css:(0,w.css)(eK(),eX.HEADER_HEIGHT,eX.FOOTER_HEIGHT,i.breakpoints.values.lg,i.breakpoints.values.md,eX.TAB_HEIGHT,eX.HEADER_HEIGHT,eX.FOOTER_HEIGHT),children:(null==e?void 0:e.length)>0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eH,{list:e}),(0,a.jsx)(e$,{totalPages:t.totalPage||1,currentPage:t.page||1,onPageChange:r})]}):(0,a.jsx)(E,{})})}),e0=(0,l.memo)(function(){let{t:n}=(0,o.$G)(e1),e=(0,y.Z)(),{useStore:t}=(0,l.useContext)(h),[r,,i]=t(n=>n.data),s=(0,l.useCallback)(async(n,e)=>{try{(0,eU.zy)();let{data:n,error:t}=await (0,n$.V3)(e,x.limit);if(t){(0,eq.HY)({type:"error"});return}(0,eJ.x)({el:document.querySelector(".MuiTabs-root"),duration:300}),(0,eY.sL)(i,{data:n})}catch(n){(0,eq.HY)({type:"error"})}finally{(0,eU.gF)()}},[]),c=[{title:n("1"),tabContent:(0,a.jsx)(eQ,{products:r.data,pagination:r.pagingMeta,onPageChange:s})}];return(0,a.jsx)(nc.Z,{children:(0,a.jsx)(eV.Z,{css:(0,w.css)(eW(),e.breakpoints.values.md),data:c})})}),e1="mypage@course",e3=(0,l.memo)(function(){let{t:n}=(0,o.$G)(m.o),{useStore:e}=(0,l.useContext)(h),[t,,r]=e(n=>n.review.isShowModalReview),[i]=e(n=>n.review.id),[s]=e(n=>n.reviewRequirement),c=async e=>{try{(0,eU.zy)();let{data:t,error:s}=await (0,n$.bK)(i,e);if(s){(0,eq.HY)({message:n("error-submit-review"),type:"error"});return}(0,eq.HY)({message:n("success-submit-review"),type:"success"}),(0,eY.un)(r,{skillId:i,rating:t.avgReviewStars}),u()}catch(n){(0,eq.HY)({type:"error"})}finally{(0,eU.gF)()}},u=()=>{(0,eY.pP)(r,{isShowModalReview:!1})};
54return(0,a.jsx)(m.Z,{reviewRequirementList:s,isShowModalReview:t,handleSubmitReview:c,handleCloseReview:u})}),e6=n=>{let{data:e}=n,{t}=(0,o.$G)(e1),{updateLayoutSetting:r}=(0,c.l5)(),i=(0,u.useRouter)(),s=(0,l.useMemo)(()=>({title:t("meta-title"),description:t("meta-description"),keywords:t("meta-kw")}),[]);return(0,p.Z)(()=>{r({title:t("1"),isShowTitleOnHeaderMobile:!0,onBack:()=>i.push("/mypage")})},[]),(0,a.jsxs)(b,{data:e,children:[(0,a.jsx)(d.Z,{data:s}),(0,a.jsx)(e0,{}),(0,a.jsx)(e3,{})]})};var e4=e6,e2=!0,e5=e4;e4.Layout=s.FP},15389:function(n,e,t){"use strict";t.d(e,{DE:function(){return d},Ev:function(){return u},V3:function(){return l},bK:function(){return c}});var r=t(87127),i=t(83333),s=t(42148),a=t(95796),o=t(55463);let l=async(n,e,t)=>{let{data:i}=await r.ZP.get("/api/skijan/v1/mypage/course",{headers:t&&(0,r.CH)({req:t}),params:{page:n,limit:e}});return i},c=async(n,e)=>{let{data:t}=await r.ZP.post("/api/skijan/v1/mypage/course/review/".concat(n),e);return t},u=async n=>{let{data:e}=await r.ZP.get("/api/skijan/v1/mypage/transaction/review-requirements",{params:{tt:n}});return e},d=async(n,e)=>{let{setSelector:t,getState:r}=n;try{let{reviewRequirement:n}=r();if(!n||(null==n?void 0:n.length)===0){(0,i.zy)();let{data:n,error:e}=await u(o.fr.COURSE);if(e){(0,s.HY)({type:"error"});return}let r=n.map(n=>({...n,rating:0}));(0,a.SR)(t,{list:r})}(0,a.m_)(t,{id:e}),(0,a.pP)(t,{isShowModalReview:!0})}catch(n){(0,s.HY)({type:"error"})}finally{(0,i.gF)()}}},95796:function(n,e,t){"use strict";t.d(e,{SR:function(){return a},m_:function(){return s},pP:function(){return i},sL:function(){return r},un:function(){return o}});let r=(n,e)=>{n(n=>{n.data=e.data})},i=(n,e)=>{n(n=>{n.review.isShowModalReview=e.isShowModalReview})},s=(n,e)=>{n(n=>{n.review.id=e.id})},a=(n,e)=>{n(n=>{n.reviewRequirement=e.list})},o=(n,e)=>{n(n=>{let t=n.data.data.findIndex(n=>n.skillId===e.skillId);-1!==t&&(n.data.data[t].yourRating=e.rating)})}},3242:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return s}});var r=t(38839),i=t(70804);function s(n){return(0,r.jsxs)(i.Z,{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...n,children:[(0,r.jsx)("g",{clipPath:"url(#clip0_309_663)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.9999 0.316406C7.77312 0.316406 7.55107 0.381284 7.35998 0.503381C7.17131 0.623918 7.02058 0.795253 6.92506 0.997602L5.11071 4.66056C5.10714 4.66776 5.10372 4.67503 5.10047 4.68238C5.09966 4.6842 5.09838 4.68578 5.09676 4.68696C5.09515 4.68814 5.09327 4.68888 5.09128 4.6891C5.08432 4.68986 5.07737 4.69077 5.07044 4.69179L1.07549 5.28363C0.85469 5.30511 0.64413 5.38797 0.46777 5.52305C0.285287 5.66283 0.147251 5.85253 0.070382 6.06915C-0.00648674 6.28578 -0.0188903 6.52006 0.0346744 6.7436C0.0880316 6.96626 0.204567 7.16877 0.370243 7.32677L3.29456 10.1483L3.30122 10.1546C3.30539 10.1585 3.30854 10.1634 3.31034 10.1688C3.31215 10.1742 3.31257 10.18 3.31156 10.1856L3.31092 10.1894L2.61408 14.2675C2.57579 14.4886 2.60003 14.7169 2.68439 14.9247C2.76886 15.1329 2.91007 15.3131 3.09193 15.445C3.2738 15.5768 3.48903 15.655 3.71312 15.6705C3.93676 15.6861 4.16028 15.6386 4.35834 15.5337L4.35954 15.533L7.95895 13.6307C7.97185 13.6251 7.9858 13.6222 7.99992 13.6222C8.01403 13.6222 8.02798 13.6251 8.04089 13.6307L11.6402 15.533C11.8384 15.6383 12.0629 15.6862 12.2866 15.6705C12.5108 15.655 12.726 15.5768 12.9079 15.445C13.0897 15.3131 13.231 15.1329 13.3154 14.9247C13.3998 14.7169 13.4241 14.4897 13.386 14.2688L13.3857 14.2675L12.6889 10.1894L12.6882 10.1856C12.6872 10.18 12.6877 10.1742 12.6895 10.1688C12.6912 10.1634 12.6944 10.1585 12.6985 10.1546L12.7053 10.1483L15.6296 7.32673C15.7952 7.16873 15.9118 6.96625 15.9652 6.7436C16.0186 6.52006 16.0063 6.28578 15.9294 6.06915C15.8526 5.85253 15.7145 5.66283 15.532 5.52305C15.3557 5.38797 15.1452 5.30511 14.9244 5.28363L10.9294 4.69179C10.9224 4.69077 10.9155 4.68986 10.9085 4.6891C10.9065 4.68888 10.9046 4.68814 10.903 4.68696C10.9014 4.68578 10.9001 4.6842 10.8993 4.68238C10.8961 4.67503 10.8927 4.66776 10.8891 4.66056L9.07473 0.997586C8.97921 0.795244 8.82848 0.623915 8.63983 0.503381C8.44872 0.381284 8.22667 0.316406 7.9999 0.316406Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{children:(0,r.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]})}},46050:function(n,e,t){"use strict";t.d(e,{Z:function(){return $},o:function(){return H}});
54var r=t(78645),i=t(38839),s=t(40486),a=t(44907),o=t(17241),l=t(69428),c=t(53371),u=t(75246),d=t(65834),p=t(64902),m=t(32735),f=t(92976),x=t(28587),g=t(62274),h=t(89579),b=t(391),v=t(63637),w=t(35375),y=t(76284),Z=t(18130);function j(){let n=(0,r.Z)(["\n        align-items: center;\n      "]);return j=function(){return n},n}function k(){let n=(0,r.Z)(["\n          width: ",";\n          height: ",";\n          border-radius: 50%;\n          border: "," solid ",";\n          background-color: ",";\n          flex: none;\n          object-fit: cover;\n          z-index: 1;\n        "]);return k=function(){return n},n}function C(){let n=(0,r.Z)(["\n          position: relative;\n          background-color: ",";\n          border-radius: 40px 40px 0 0;\n          width: 100%;\n          text-align: center;\n          margin-top: -",";\n          padding-top: 55px;\n          @media only screen and (min-width: ","px) {\n            border-radius: 10px 10px 0 0;\n          }\n        "]);return C=function(){return n},n}function I(){let n=(0,r.Z)(["\n            word-break: break-all;\n            max-width: 80%;\n            margin: auto;\n            white-space: nowrap;\n            text-overflow: ellipsis;\n            overflow: hidden;\n          "]);return I=function(){return n},n}function M(){let n=(0,r.Z)(["\n            position: absolute;\n            right: ",";\n            top: ",";\n            z-index: 2;\n          "]);return M=function(){return n},n}let P=(0,m.memo)(function(n){let{onClose:e}=n,t=(0,s.Z)(),{t:r}=(0,g.$G)(H),{useStore:l}=(0,m.useContext)(v.I),[c]=l(n=>n.auth.userId),[d]=l(n=>n.auth.userName),p=(0,m.useMemo)(()=>(0,y.SK)(d),[d]);return(0,i.jsxs)(a.Z,{css:(0,u.css)(j()),children:[(0,i.jsx)("img",{alt:"SkjianAvatarUsers",src:(0,Z.A2)("/img/v3/skijan/users/avatar/".concat(c,"?noDefaultImg=0")),css:(0,u.css)(k(),t.spacing(8),t.spacing(8),t.spacing(2),t.palette.common.white,t.palette.common.white)}),(0,i.jsxs)(a.Z,{direction:"column",css:(0,u.css)(C(),t.palette.common.white,t.spacing(6),t.breakpoints.values.md),children:[(0,i.jsx)(o.Z,{variant:"caption",children:r("title-review")}),(0,i.jsx)(o.Z,{variant:"subtitle2",className:"ggj-wt",css:(0,u.css)(I()),title:p,children:p}),(0,i.jsx)(b.Z,{onClick:e,css:(0,u.css)(M(),t.spacing(3),t.spacing(3)),size:"medium",children:(0,i.jsx)(w.Z,{})})]})]})});function _(){let n=(0,r.Z)(["\n          align-items: center;\n        "]);return _=function(){return n},n}function E(){let n=(0,r.Z)(["\n            border-radius: ",";\n            background-color: ",";\n            padding: 10px 28px 3px;\n          "]);return E=function(){return n},n}function S(){let n=(0,r.Z)(["\n                  color: ",";\n                "]);return S=function(){return n},n}function R(){let n=(0,r.Z)(["\n                  outline: none;\n                "]);return R=function(){return n},n}function A(){let n=(0,r.Z)(["\n                border: ",";\n                background: ",";\n                border-radius: 10px;\n                resize: none;\n                min-height: 200px;\n                line-height: 24px;\n                width: 100%;\n                margin: "," 0;\n                padding: 16px;\n                :focus,\n                :active {\n                  border: ",";\n                }\n                ","\n              "]);return A=function(){return n},n}function G(){let n=(0,r.Z)(["\n          width: 100%;\n          height: calc(100% - 60px);\n          margin: 60px auto 0;\n          justify-content: flex-end;\n          @media only screen and (min-width: ","px) {\n            justify-content: flex-start;\n            max-width: 500px;\n            margin: 10vh auto;\n            height: 80vh;\n          }\n        "]);return G=function(){return n},n}function N(){let n=(0,r.Z)(["\n              background-color: ",";\n              height: min-content;\n              max-height: calc(100% - 142px);\n              overflow-y: auto;\n              @media only screen and (min-width: ","px) {\n                border-radius: 0 0 10px 10px;\n              }\n            "]);return N=function(){return n},n}function B(){let n=(0,r.Z)(["\n                padding: "," ",";\n              "]);return B=function(){return n},n}function L(){let n=(0,r.Z)(["\n                position: sticky;\n                bottom: 0;\n                background-color: ",";\n                flex-direction: column-reverse;\n                column-gap: ",";\n                row-gap: ",";\n                padding: "," ",";\n                @media only screen and (min-width: ","px) {\n                  flex-direction: row;\n                }\n              "]);return L=function(){return n},n}function T(){let n=(0,r.Z)(["\n                  flex: 1;\n                "]);return T=function(){return n},n}function z(){let n=(0,r.Z)(["\n                  flex: 1;\n                "]);return z=function(){return n},n}let H="mypage-component@review-course",D=(0,m.memo)(n=>{let{name:e,rate:t,onChange:r}=n,l=(0,s.Z)();
54return(0,i.jsxs)(a.Z,{css:(0,u.css)(_()),spacing:2,mt:3,children:[(0,i.jsx)(o.Z,{variant:"subtitle2",children:e}),(0,i.jsx)("div",{css:(0,u.css)(E(),l.spacing(4),l.palette.smoke.light),children:(0,i.jsx)(f.Z,{emptyIcon:(0,i.jsx)(x.Z,{css:(0,u.css)(S(),l.palette.common.white)}),value:t||0,onChange:(n,e)=>{r(e||0)}})})]})});D.displayName="ReviewRating";let F=n=>{let{name:e,placeholder:t,register:r}=n,o=(0,s.Z)(),{control:c,formState:{errors:p}}=(0,d.Gc)();return(0,i.jsx)(d.Qr,{name:e,control:c,rules:{maxLength:1e3},render:n=>{let{field:s}=n;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.u,{...s,...r,css:(0,u.css)(A(),p[e]?"1px solid red":" 1px solid ".concat(o.palette.smoke.light),o.palette.canvas.main,o.spacing(3),p[e]?"1px solid red":" 1px solid ".concat(o.palette.smoke.light),p[e]&&(0,u.css)(R())),"aria-label":"maximum height",placeholder:t,maxLength:1e3}),(0,i.jsx)(a.Z,{direction:"row",justifyContent:"flex-end",alignItems:"center",children:(0,i.jsx)(h.Z,{name:e,max:1e3,isError:Boolean(p[e])})})]})}})},O=n=>{let{t:e}=(0,g.$G)(H),{reviewRequirementList:t,isShowModalReview:r,handleSubmitReview:o,handleCloseReview:l}=n,f=(0,s.Z)(),[x,h]=(0,m.useState)([]),b=(n,e)=>{h(t=>{let r=[...t];return r[e]={...t[e],rating:n},r})},v=(0,d.cI)({mode:"onTouched",criteriaMode:"firstError",reValidateMode:"onChange",defaultValues:{comment:""}});(0,m.useEffect)(()=>{h([...t])},[t,r]),(0,m.useEffect)(()=>{r||v.resetField("comment")},[r]);let w=async n=>{let e=x.map(n=>({reviewRequirementId:n.id,rate:n.rating})),t={rates:[...e],comment:(null==n?void 0:n.comment)||""};await o(t)};return(0,i.jsx)(c.Z,{open:r,onClose:l,children:(0,i.jsxs)(a.Z,{css:(0,u.css)(G(),f.breakpoints.values.md),children:[(0,i.jsx)(P,{onClose:l}),(0,i.jsx)(d.RV,{...v,children:(0,i.jsxs)("form",{css:(0,u.css)(N(),f.palette.common.white,f.breakpoints.values.md),onSubmit:v.handleSubmit(w),children:[(0,i.jsxs)(a.Z,{css:(0,u.css)(B(),f.spacing(3),f.spacing(5)),children:[x.map((n,t)=>(0,i.jsx)(D,{name:e("review-".concat(n.id||1)),rate:n.rating,onChange:n=>b(n,t)},t)),(0,i.jsx)(F,{register:v.register("comment",{required:" "}),name:"comment",placeholder:e("content-review")})]}),(0,i.jsxs)(a.Z,{css:(0,u.css)(L(),f.palette.common.white,f.spacing(4),f.spacing(3),f.spacing(3),f.spacing(5),f.breakpoints.values.md),children:[(0,i.jsx)(p.JJ,{css:(0,u.css)(T()),onClick:l,children:e("cancle-review")}),(0,i.jsx)(p.yn,{disabled:x.some(n=>!n.rating),css:(0,u.css)(z()),type:"submit",children:e("submit-review")})," "]})]})})]})})};var $=(0,m.memo)(O)}},function(n){n.O(0,[3394,9774,2888,179],function(){return n(n.s=98494)}),_N_E=n.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.