cafe-video-player 2.1.2 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{VideoHighLighter-J244P4R6.mjs → VideoHighLighter-U4GGV66X.mjs} +2 -2
- package/{VideoHighLighter-J244P4R6.mjs.map → VideoHighLighter-U4GGV66X.mjs.map} +1 -1
- package/{VideoHighLighter-KS4OF7LU.js → VideoHighLighter-ZAC6DXOM.js} +2 -2
- package/{VideoHighLighter-KS4OF7LU.js.map → VideoHighLighter-ZAC6DXOM.js.map} +1 -1
- package/backwardForward-BVIUUMYX.js +2 -0
- package/{backwardForward-T5I2BG67.js.map → backwardForward-BVIUUMYX.js.map} +1 -1
- package/backwardForward-Y5UZHDBP.mjs +2 -0
- package/{backwardForward-ZA22U5BK.mjs.map → backwardForward-Y5UZHDBP.mjs.map} +1 -1
- package/chunk-5FTEBU6O.js +3 -0
- package/{chunk-CXFHM7DX.js.map → chunk-5FTEBU6O.js.map} +1 -1
- package/{chunk-TTR6HY3N.js → chunk-7GSH5XMZ.js} +2 -2
- package/{chunk-TTR6HY3N.js.map → chunk-7GSH5XMZ.js.map} +1 -1
- package/{chunk-4SCALKDT.mjs → chunk-A7MEJC4F.mjs} +2 -2
- package/{chunk-4SCALKDT.mjs.map → chunk-A7MEJC4F.mjs.map} +1 -1
- package/chunk-BOS4UPEA.js +2 -0
- package/{chunk-IQGFJNGO.js.map → chunk-BOS4UPEA.js.map} +1 -1
- package/chunk-C4TEAPRX.js +9 -0
- package/chunk-C4TEAPRX.js.map +1 -0
- package/chunk-D7CTAABP.js +2 -0
- package/{chunk-AZTVBGMR.js.map → chunk-D7CTAABP.js.map} +1 -1
- package/chunk-EDQKSY4F.js +3 -0
- package/{chunk-FSNZMZHV.js.map → chunk-EDQKSY4F.js.map} +1 -1
- package/chunk-HME64W2O.js +3 -0
- package/chunk-HME64W2O.js.map +1 -0
- package/chunk-IGINC4KI.js +2 -0
- package/chunk-IGINC4KI.js.map +1 -0
- package/chunk-J6UYAT2V.mjs +2 -0
- package/chunk-J6UYAT2V.mjs.map +1 -0
- package/chunk-KIC75NSX.mjs +2 -0
- package/{chunk-TRTBWCNM.mjs.map → chunk-KIC75NSX.mjs.map} +1 -1
- package/chunk-MW3CX523.mjs +9 -0
- package/chunk-MW3CX523.mjs.map +1 -0
- package/{chunk-YYDUT7ZK.mjs → chunk-MZP43FH7.mjs} +2 -2
- package/{chunk-YYDUT7ZK.mjs.map → chunk-MZP43FH7.mjs.map} +1 -1
- package/chunk-O6OWG7HM.mjs +2 -0
- package/{chunk-PMXQ6WK2.mjs.map → chunk-O6OWG7HM.mjs.map} +1 -1
- package/chunk-PJVN7RKN.mjs +2 -0
- package/{chunk-IROHCKSH.mjs.map → chunk-PJVN7RKN.mjs.map} +1 -1
- package/chunk-TDHILUXF.js +2 -0
- package/{chunk-SRJT46V7.js.map → chunk-TDHILUXF.js.map} +1 -1
- package/chunk-TM66GJCG.mjs +3 -0
- package/{chunk-XNVWDQSS.mjs.map → chunk-TM66GJCG.mjs.map} +1 -1
- package/chunk-VIQ5L73J.js +2 -0
- package/{chunk-IT4ECGGR.js.map → chunk-VIQ5L73J.js.map} +1 -1
- package/chunk-VIUNI5PQ.mjs +3 -0
- package/{chunk-OJ4PZQN5.mjs.map → chunk-VIUNI5PQ.mjs.map} +1 -1
- package/chunk-YZYTKWCY.mjs +3 -0
- package/chunk-YZYTKWCY.mjs.map +1 -0
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/nonStaticVideoTag-C2LVXINP.mjs +2 -0
- package/nonStaticVideoTag-C2LVXINP.mjs.map +1 -0
- package/nonStaticVideoTag-C6MCWMG2.js +2 -0
- package/nonStaticVideoTag-C6MCWMG2.js.map +1 -0
- package/{notActive-ZFPGLIIJ.mjs → notActive-FNSATJST.mjs} +2 -2
- package/{notActive-ZFPGLIIJ.mjs.map → notActive-FNSATJST.mjs.map} +1 -1
- package/{notActive-FQ2SLLCT.js → notActive-YTLKQJYE.js} +2 -2
- package/{notActive-FQ2SLLCT.js.map → notActive-YTLKQJYE.js.map} +1 -1
- package/package.json +1 -1
- package/staticPlayer-44ZMIIEA.mjs +2 -0
- package/{staticPlayer-QLINPHLK.mjs.map → staticPlayer-44ZMIIEA.mjs.map} +1 -1
- package/staticPlayer-7X27HEUG.js +2 -0
- package/{staticPlayer-G3WOD5RT.js.map → staticPlayer-7X27HEUG.js.map} +1 -1
- package/staticVideoTag-TO5HBYDE.mjs +2 -0
- package/{staticVideoTag-G5TJQQNF.mjs.map → staticVideoTag-TO5HBYDE.mjs.map} +1 -1
- package/staticVideoTag-YUBA5OAZ.js +2 -0
- package/{staticVideoTag-2HZWMOBA.js.map → staticVideoTag-YUBA5OAZ.js.map} +1 -1
- package/touchVolumeBrightness-27EBEX5W.mjs +3 -0
- package/{touchVolumeBrightness-DE5TFYAG.mjs.map → touchVolumeBrightness-27EBEX5W.mjs.map} +1 -1
- package/{touchVolumeBrightness-ZXFRYAIE.js → touchVolumeBrightness-KAAGMQWI.js} +3 -3
- package/{touchVolumeBrightness-ZXFRYAIE.js.map → touchVolumeBrightness-KAAGMQWI.js.map} +1 -1
- package/videoArea-IKP3GXLH.mjs +2 -0
- package/{videoArea-SDEAP3WB.mjs.map → videoArea-IKP3GXLH.mjs.map} +1 -1
- package/videoArea-W56PTQDS.js +2 -0
- package/{videoArea-WZH7URSO.js.map → videoArea-W56PTQDS.js.map} +1 -1
- package/videoPlayerStyles.css +39 -4
- package/vodPlayer-ANBY5ULF.mjs +2 -0
- package/{vodPlayer-3E5EY62P.mjs.map → vodPlayer-ANBY5ULF.mjs.map} +1 -1
- package/vodPlayer-QPIJN45L.js +2 -0
- package/{vodPlayer-X4YM6IG5.js.map → vodPlayer-QPIJN45L.js.map} +1 -1
- package/backwardForward-T5I2BG67.js +0 -2
- package/backwardForward-ZA22U5BK.mjs +0 -2
- package/chunk-AZTVBGMR.js +0 -2
- package/chunk-BC2TZBZ7.mjs +0 -2
- package/chunk-BC2TZBZ7.mjs.map +0 -1
- package/chunk-BZEHB5TW.js +0 -9
- package/chunk-BZEHB5TW.js.map +0 -1
- package/chunk-CXFHM7DX.js +0 -3
- package/chunk-ERJKVJY6.js +0 -2
- package/chunk-ERJKVJY6.js.map +0 -1
- package/chunk-FSNZMZHV.js +0 -3
- package/chunk-IDNCPTFE.mjs +0 -3
- package/chunk-IDNCPTFE.mjs.map +0 -1
- package/chunk-IQGFJNGO.js +0 -2
- package/chunk-IROHCKSH.mjs +0 -2
- package/chunk-IT4ECGGR.js +0 -2
- package/chunk-M2G4MENQ.js +0 -3
- package/chunk-M2G4MENQ.js.map +0 -1
- package/chunk-OJ4PZQN5.mjs +0 -3
- package/chunk-PMXQ6WK2.mjs +0 -2
- package/chunk-QVD3Z4ML.mjs +0 -9
- package/chunk-QVD3Z4ML.mjs.map +0 -1
- package/chunk-SRJT46V7.js +0 -2
- package/chunk-TRTBWCNM.mjs +0 -2
- package/chunk-XNVWDQSS.mjs +0 -3
- package/nonStaticVideoTag-JNQPPLGJ.js +0 -2
- package/nonStaticVideoTag-JNQPPLGJ.js.map +0 -1
- package/nonStaticVideoTag-YD6SV7LK.mjs +0 -2
- package/nonStaticVideoTag-YD6SV7LK.mjs.map +0 -1
- package/staticPlayer-G3WOD5RT.js +0 -2
- package/staticPlayer-QLINPHLK.mjs +0 -2
- package/staticVideoTag-2HZWMOBA.js +0 -2
- package/staticVideoTag-G5TJQQNF.mjs +0 -2
- package/touchVolumeBrightness-DE5TFYAG.mjs +0 -3
- package/videoArea-SDEAP3WB.mjs +0 -2
- package/videoArea-WZH7URSO.js +0 -2
- package/vodPlayer-3E5EY62P.mjs +0 -2
- package/vodPlayer-X4YM6IG5.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {d,b,c}from'./chunk-
|
|
2
|
-
//# sourceMappingURL=VideoHighLighter-
|
|
1
|
+
import {d,b,c}from'./chunk-O6OWG7HM.mjs';import'./chunk-PJVN7RKN.mjs';import {ha,fa,S}from'./chunk-YZYTKWCY.mjs';import {a}from'./chunk-TM66GJCG.mjs';import {e}from'./chunk-NXC6LNWJ.mjs';import {shallowEqual}from'react-redux';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {CircularProgressbarWithChildren,buildStyles}from'react-circular-progressbar';import s from'next/legacy/image';e();e();var g=()=>jsx("div",{role:"status",className:`pl-size-full pl-flex pl-items-center pl-justify-center pl-bg-gray-300 ${!fa("isTouchScreen")&&"pl-rounded-lg"} pl-animate-pulse dark:pl-bg-gray-700`,children:jsx("span",{className:"pl-sr-only",children:"Loading..."})}),x=g;var N=()=>{let{params:e}=ha(({videoData:{params:f}})=>({params:f}),shallowEqual);return d(),jsxs("div",{id:"video-area",className:`pl-relative pl-rounded-[12px] pl-w-full pl-h-full pl-aspect-video !pl-overflow-hidden ${fa("isTouchScreen")&&"pl-rounded-none"} ${fa("isFullScreen")&&"!pl-overflow-hidden pl-fixed pl-top-0 pl-right-0 pl-w-screen pl-h-screen pl-rounded-none"}`,children:[e.vhl_status&&e.vhl_status!=="skeleton"&&jsxs("div",{className:"pl-flex pl-flex-col pl-justify-between pl-gap-2 pl-size-full",children:[e.banner&&jsx(s,{src:e.banner,alt:"banner",layout:"fill",className:"pl-w-full pl-aspect-video"}),jsx("div",{}),e.vhl_status==="download_start"&&jsx(Fragment,{children:jsxs("div",{className:"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] tablet:!pl-max-w-[305px] desktop:!pl-max-w-[198px] pl-mx-auto pl-py-2 tablet:pl-py-[12.32px] desktop:pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2 tablet:pl-gap-[12.32px] desktop:pl-gap-2",children:[jsx("svg",{style:{height:0,position:"absolute"},children:jsx("defs",{children:jsxs("linearGradient",{id:"gradientColor",x1:"0",y1:"0",x2:"1",y2:"1",children:[jsx("stop",{offset:"0%",stopColor:"#FF649D"}),jsx("stop",{offset:"100%",stopColor:"#A50C4B"})]})})}),jsx(CircularProgressbarWithChildren,{value:e.vhl_progress,className:"pl-size-[50px]",styles:buildStyles({trailColor:"rgba(0, 0, 0, 0.1)",pathColor:"url(#gradientColor)"}),children:jsxs("p",{className:"pl-text-text-primary pl-text-[14px] pl-font-medium",children:[e.vhl_progress,"%"]})}),jsx("p",{className:"pl-text-text-primary pl-text-[10px] pl-font-normal",children:e.vhl_statusText})]})}),e.vhl_status==="download_error"&&jsxs("div",{className:"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] pl-mx-auto pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2",children:[jsx(s,{alt:"info-circle-icon",src:a.infoCircle,width:32,height:32}),jsx("p",{className:"pl-text-[10px] pl-font-normal pl-text-text-primary",children:e.vhl_statusText}),jsxs("button",{className:"pl-flex pl-items-center pl-gap-2",onClick:()=>e.vhl_onRetry(),children:[jsx(s,{alt:"rotate-red-icon",src:a.rotateRed,width:14,height:14}),jsx("span",{className:"pl-text-primary pl-text-[10px] pl-font-normal",children:"\u062A\u0644\u0627\u0634 \u062F\u0648\u0628\u0627\u0631\u0647"})]})]}),jsxs("div",{className:`pl-flex ${fa("isTouchScreenPortrait")?"pl-flex-col":`pl-flex-col-reverse pl-mb-3 ${fa("isFullScreen")&&"pl-mb-8"}`} pl-gap-[14.58px]`,children:[jsxs("div",{className:`pl-flex pl-items-center pl-justify-between ${fa("isFullScreen")?"pl-mx-8":"pl-mx-[14.58px]"}`,children:[jsx(b,{}),jsxs("div",{className:"pl-flex pl-items-center pl-gap-[14.58px]",children:[e.vhl_duration&&jsxs("div",{className:"pl-text-Common-white pl-text-[10.93px] pl-font-normal pl-relative",children:[jsx("span",{children:S(0)}),jsx("span",{children:"/"}),jsx("span",{children:S(e.vhl_duration)})]}),jsx(c,{})]})]}),jsx("div",{className:"pl-w-full pl-h-[3.64px] pl-bg-gray-highLight pl-animate-pulse"})]})]}),e.vhl_status==="skeleton"&&jsx(x,{})]})},V=N;export{V as default};//# sourceMappingURL=VideoHighLighter-U4GGV66X.mjs.map
|
|
2
|
+
//# sourceMappingURL=VideoHighLighter-U4GGV66X.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/videoPlayerLibrary/components/videoPlayer/videoHighLighter/VideoHighLighter.tsx","../src/videoPlayerLibrary/components/custom-components/skeleton/Skeleton.tsx"],"names":["init_esm_shims","Skeleton","jsx","conditions","Skeleton_default","VideoHighLighter","params","useAppSelector","shallowEqual","useFullScreen_default","jsxs","Image","Fragment","CircularProgressbarWithChildren","buildStyles","importImages_default","fullScreen_default","secondsToHMS","soundVolume_default","VideoHighLighter_default"],"mappings":"0YAAAA,CAAAA,EAAAA,CCAAA,CASM,EAAA,CANN,IAAMC,CAAW,CAAA,IAEbC,IAAC,KACC,CAAA,CAAA,IAAA,CAAK,SACL,SAAW,CAAA,CAAA,sEAAA,EAAyE,CAACC,EAAsC,CAAA,eAAA,CAAA,EAAK,eAAe,CAAA,qCAAA,CAAA,CAE/I,SAAAD,GAAC,CAAA,MAAA,CAAA,CAAK,UAAU,YAAa,CAAA,QAAA,CAAA,YAAA,CAAU,EACzC,CAIGE,CAAAA,CAAAA,CAAQH,CDNf,CAKA,IAAMI,EAAmB,IAAM,CAC7B,GAAM,CAAE,OAAAC,CAAO,CAAA,CAAIC,GAAe,CAAC,CAAE,UAAW,CAAE,MAAA,CAAAD,CAAO,CAAE,KAAO,CAAE,MAAA,CAAAA,CAAO,CAAIE,CAAAA,CAAAA,YAAY,EAC3F,OAAAC,CAAAA,GAGEC,IAAC,CAAA,KAAA,CAAA,CACC,GAAG,YACH,CAAA,SAAA,CAAW,yFACTP,EAAsC,CAAA,eAAA,CAAA,EAAK,iBAC7C,CAAIA,CAAAA,EAAAA,EAAAA,CAAAA,cAAqC,CAAK,EAAA,0FAA0F,GAEvI,QAAAG,CAAAA,CAAAA,CAAAA,C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AAAA,CAAC,OAAI,SAAU,CAAA,
|
|
1
|
+
{"version":3,"sources":["../src/videoPlayerLibrary/components/videoPlayer/videoHighLighter/VideoHighLighter.tsx","../src/videoPlayerLibrary/components/custom-components/skeleton/Skeleton.tsx"],"names":["init_esm_shims","Skeleton","jsx","conditions","Skeleton_default","VideoHighLighter","params","useAppSelector","shallowEqual","useFullScreen_default","jsxs","Image","Fragment","CircularProgressbarWithChildren","buildStyles","importImages_default","fullScreen_default","secondsToHMS","soundVolume_default","VideoHighLighter_default"],"mappings":"0YAAAA,CAAAA,EAAAA,CCAAA,CASM,EAAA,CANN,IAAMC,CAAW,CAAA,IAEbC,IAAC,KACC,CAAA,CAAA,IAAA,CAAK,SACL,SAAW,CAAA,CAAA,sEAAA,EAAyE,CAACC,EAAsC,CAAA,eAAA,CAAA,EAAK,eAAe,CAAA,qCAAA,CAAA,CAE/I,SAAAD,GAAC,CAAA,MAAA,CAAA,CAAK,UAAU,YAAa,CAAA,QAAA,CAAA,YAAA,CAAU,EACzC,CAIGE,CAAAA,CAAAA,CAAQH,CDNf,CAKA,IAAMI,EAAmB,IAAM,CAC7B,GAAM,CAAE,OAAAC,CAAO,CAAA,CAAIC,GAAe,CAAC,CAAE,UAAW,CAAE,MAAA,CAAAD,CAAO,CAAE,KAAO,CAAE,MAAA,CAAAA,CAAO,CAAIE,CAAAA,CAAAA,YAAY,EAC3F,OAAAC,CAAAA,GAGEC,IAAC,CAAA,KAAA,CAAA,CACC,GAAG,YACH,CAAA,SAAA,CAAW,yFACTP,EAAsC,CAAA,eAAA,CAAA,EAAK,iBAC7C,CAAIA,CAAAA,EAAAA,EAAAA,CAAAA,cAAqC,CAAK,EAAA,0FAA0F,GAEvI,QAAAG,CAAAA,CAAAA,CAAAA,CAAO,YAAcA,CAAO,CAAA,UAAA,GAAe,YAC1CI,IAAC,CAAA,KAAA,CAAA,CAAI,SAAU,CAAA,8DAAA,CACZ,UAAAJ,CAAO,CAAA,MAAA,EAAUJ,IAACS,CA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AAC,MAAK,CAAA,CAAA,QAAA,CAAA,GAAA,CAAC,CACPA,CAAAA,GAAAA,CAAC,QAAM,QAAAe,CAAAA,CAAAA,CAAaX,EAAO,YAAY,CAAA,CAAE,GAC3C,CAEFJ,CAAAA,GAAAA,CAACgB,CAAA,CAAA,EAAY,GACf,CACF,CAAA,CAAA,CAAA,CACAhB,IAAC,KAAI,CAAA,CAAA,SAAA,CAAU,gEAAgE,CACjF,CAAA,CAAA,CAAA,CAAA,CACF,EAEDI,CAAO,CAAA,UAAA,GAAe,YAAcJ,GAACE,CAAAA,CAAAA,CAAA,EAAS,CACjD,CAAA,CAAA,CAEJ,EAEOe,CAAQd,CAAAA","file":"VideoHighLighter-U4GGV66X.mjs","sourcesContent":["import { shallowEqual } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport Skeleton from \"../../custom-components/skeleton/Skeleton\";\r\nimport FullScreen from \"../../custom-components/fullScreen/fullScreen\";\r\nimport SoundVolume from \"../../custom-components/soundVolume/soundVolume\";\r\nimport { secondsToHMS } from \"../../../helpers/helpers\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { buildStyles, CircularProgressbarWithChildren } from \"react-circular-progressbar\";\r\nimport IMAGES from \"../../../images/importImages\";\r\nimport Image from \"next/legacy/image\";\r\nimport useFullScreen from \"../../../helpers/hooks/useFullScreen\";\r\n\r\nconst VideoHighLighter = () => {\r\n const { params } = useAppSelector(({ videoData: { params } }) => ({ params }), shallowEqual);\r\n useFullScreen();\r\n\r\n return (\r\n <div\r\n id=\"video-area\"\r\n className={`pl-relative pl-rounded-[12px] pl-w-full pl-h-full pl-aspect-video !pl-overflow-hidden ${\r\n conditions(ConditionName.isTouchScreen) && \"pl-rounded-none\"\r\n } ${conditions(ConditionName.isFullScreen) && \"!pl-overflow-hidden pl-fixed pl-top-0 pl-right-0 pl-w-screen pl-h-screen pl-rounded-none\"}`}\r\n >\r\n {params.vhl_status && params.vhl_status !== \"skeleton\" && (\r\n <div className=\"pl-flex pl-flex-col pl-justify-between pl-gap-2 pl-size-full\">\r\n {params.banner && <Image src={params.banner} alt=\"banner\" layout=\"fill\" className=\"pl-w-full pl-aspect-video\" />}\r\n <div />\r\n {params.vhl_status === \"download_start\" && (\r\n <>\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] tablet:!pl-max-w-[305px] desktop:!pl-max-w-[198px] pl-mx-auto pl-py-2 tablet:pl-py-[12.32px] desktop:pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2 tablet:pl-gap-[12.32px] desktop:pl-gap-2\">\r\n <svg style={{ height: 0, position: \"absolute\" }}>\r\n <defs>\r\n <linearGradient id=\"gradientColor\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\">\r\n <stop offset=\"0%\" stopColor=\"#FF649D\" />\r\n <stop offset=\"100%\" stopColor=\"#A50C4B\" />\r\n </linearGradient>\r\n </defs>\r\n </svg>\r\n <CircularProgressbarWithChildren\r\n value={params.vhl_progress!}\r\n className=\"pl-size-[50px]\"\r\n styles={buildStyles({\r\n trailColor: \"rgba(0, 0, 0, 0.1)\",\r\n pathColor: \"url(#gradientColor)\",\r\n })}\r\n >\r\n <p className=\"pl-text-text-primary pl-text-[14px] pl-font-medium\">{params.vhl_progress}%</p>\r\n </CircularProgressbarWithChildren>\r\n <p className=\"pl-text-text-primary pl-text-[10px] pl-font-normal\">{params.vhl_statusText}</p>\r\n </div>\r\n </>\r\n )}\r\n {params.vhl_status === \"download_error\" && (\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] pl-mx-auto pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2\">\r\n <Image alt=\"info-circle-icon\" src={IMAGES.infoCircle} width={32} height={32} />\r\n <p className=\"pl-text-[10px] pl-font-normal pl-text-text-primary\">{params.vhl_statusText}</p>\r\n <button className=\"pl-flex pl-items-center pl-gap-2\" onClick={() => params.vhl_onRetry!()}>\r\n <Image alt=\"rotate-red-icon\" src={IMAGES.rotateRed} width={14} height={14} />\r\n <span className=\"pl-text-primary pl-text-[10px] pl-font-normal\">تلاش دوباره</span>\r\n </button>\r\n </div>\r\n )}\r\n <div\r\n className={`pl-flex ${\r\n !conditions(ConditionName.isTouchScreenPortrait)\r\n ? `pl-flex-col-reverse pl-mb-3 ${conditions(ConditionName.isFullScreen) && \"pl-mb-8\"}`\r\n : \"pl-flex-col\"\r\n } pl-gap-[14.58px]`}\r\n >\r\n <div className={`pl-flex pl-items-center pl-justify-between ${conditions(ConditionName.isFullScreen) ? \"pl-mx-8\" : \"pl-mx-[14.58px]\"}`}>\r\n <FullScreen />\r\n <div className={`pl-flex pl-items-center pl-gap-[14.58px]`}>\r\n {params.vhl_duration && (\r\n <div className=\"pl-text-Common-white pl-text-[10.93px] pl-font-normal pl-relative\">\r\n <span>{secondsToHMS(0)}</span>\r\n <span>/</span>\r\n <span>{secondsToHMS(params.vhl_duration)}</span>\r\n </div>\r\n )}\r\n <SoundVolume />\r\n </div>\r\n </div>\r\n <div className=\"pl-w-full pl-h-[3.64px] pl-bg-gray-highLight pl-animate-pulse\" />\r\n </div>\r\n </div>\r\n )}\r\n {params.vhl_status === \"skeleton\" && <Skeleton />}\r\n </div>\r\n );\r\n};\r\n\r\nexport default VideoHighLighter;\r\n","import { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\n\r\nconst Skeleton = () => {\r\n return (\r\n <div\r\n role=\"status\"\r\n className={`pl-size-full pl-flex pl-items-center pl-justify-center pl-bg-gray-300 ${!conditions(ConditionName.isTouchScreen) && \"pl-rounded-lg\"} pl-animate-pulse dark:pl-bg-gray-700`}\r\n >\r\n <span className=\"pl-sr-only\">Loading...</span>\r\n </div>\r\n );\r\n};\r\n\r\nexport default Skeleton;\r\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
2
|
-
//# sourceMappingURL=VideoHighLighter-
|
|
1
|
+
'use strict';var chunkTDHILUXF_js=require('./chunk-TDHILUXF.js');require('./chunk-VIQ5L73J.js');var chunkHME64W2O_js=require('./chunk-HME64W2O.js'),chunk5FTEBU6O_js=require('./chunk-5FTEBU6O.js'),chunkWO4IQUGO_js=require('./chunk-WO4IQUGO.js'),reactRedux=require('react-redux'),jsxRuntime=require('react/jsx-runtime'),reactCircularProgressbar=require('react-circular-progressbar'),s=require('next/legacy/image');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var s__default=/*#__PURE__*/_interopDefault(s);chunkWO4IQUGO_js.e();chunkWO4IQUGO_js.e();var h=()=>jsxRuntime.jsx("div",{role:"status",className:`pl-size-full pl-flex pl-items-center pl-justify-center pl-bg-gray-300 ${!chunkHME64W2O_js.fa("isTouchScreen")&&"pl-rounded-lg"} pl-animate-pulse dark:pl-bg-gray-700`,children:jsxRuntime.jsx("span",{className:"pl-sr-only",children:"Loading..."})}),x=h;var w=()=>{let{params:e}=chunkHME64W2O_js.ha(({videoData:{params:f}})=>({params:f}),reactRedux.shallowEqual);return chunkTDHILUXF_js.d(),jsxRuntime.jsxs("div",{id:"video-area",className:`pl-relative pl-rounded-[12px] pl-w-full pl-h-full pl-aspect-video !pl-overflow-hidden ${chunkHME64W2O_js.fa("isTouchScreen")&&"pl-rounded-none"} ${chunkHME64W2O_js.fa("isFullScreen")&&"!pl-overflow-hidden pl-fixed pl-top-0 pl-right-0 pl-w-screen pl-h-screen pl-rounded-none"}`,children:[e.vhl_status&&e.vhl_status!=="skeleton"&&jsxRuntime.jsxs("div",{className:"pl-flex pl-flex-col pl-justify-between pl-gap-2 pl-size-full",children:[e.banner&&jsxRuntime.jsx(s__default.default,{src:e.banner,alt:"banner",layout:"fill",className:"pl-w-full pl-aspect-video"}),jsxRuntime.jsx("div",{}),e.vhl_status==="download_start"&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs("div",{className:"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] tablet:!pl-max-w-[305px] desktop:!pl-max-w-[198px] pl-mx-auto pl-py-2 tablet:pl-py-[12.32px] desktop:pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2 tablet:pl-gap-[12.32px] desktop:pl-gap-2",children:[jsxRuntime.jsx("svg",{style:{height:0,position:"absolute"},children:jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"gradientColor",x1:"0",y1:"0",x2:"1",y2:"1",children:[jsxRuntime.jsx("stop",{offset:"0%",stopColor:"#FF649D"}),jsxRuntime.jsx("stop",{offset:"100%",stopColor:"#A50C4B"})]})})}),jsxRuntime.jsx(reactCircularProgressbar.CircularProgressbarWithChildren,{value:e.vhl_progress,className:"pl-size-[50px]",styles:reactCircularProgressbar.buildStyles({trailColor:"rgba(0, 0, 0, 0.1)",pathColor:"url(#gradientColor)"}),children:jsxRuntime.jsxs("p",{className:"pl-text-text-primary pl-text-[14px] pl-font-medium",children:[e.vhl_progress,"%"]})}),jsxRuntime.jsx("p",{className:"pl-text-text-primary pl-text-[10px] pl-font-normal",children:e.vhl_statusText})]})}),e.vhl_status==="download_error"&&jsxRuntime.jsxs("div",{className:"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] pl-mx-auto pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2",children:[jsxRuntime.jsx(s__default.default,{alt:"info-circle-icon",src:chunk5FTEBU6O_js.a.infoCircle,width:32,height:32}),jsxRuntime.jsx("p",{className:"pl-text-[10px] pl-font-normal pl-text-text-primary",children:e.vhl_statusText}),jsxRuntime.jsxs("button",{className:"pl-flex pl-items-center pl-gap-2",onClick:()=>e.vhl_onRetry(),children:[jsxRuntime.jsx(s__default.default,{alt:"rotate-red-icon",src:chunk5FTEBU6O_js.a.rotateRed,width:14,height:14}),jsxRuntime.jsx("span",{className:"pl-text-primary pl-text-[10px] pl-font-normal",children:"\u062A\u0644\u0627\u0634 \u062F\u0648\u0628\u0627\u0631\u0647"})]})]}),jsxRuntime.jsxs("div",{className:`pl-flex ${chunkHME64W2O_js.fa("isTouchScreenPortrait")?"pl-flex-col":`pl-flex-col-reverse pl-mb-3 ${chunkHME64W2O_js.fa("isFullScreen")&&"pl-mb-8"}`} pl-gap-[14.58px]`,children:[jsxRuntime.jsxs("div",{className:`pl-flex pl-items-center pl-justify-between ${chunkHME64W2O_js.fa("isFullScreen")?"pl-mx-8":"pl-mx-[14.58px]"}`,children:[jsxRuntime.jsx(chunkTDHILUXF_js.b,{}),jsxRuntime.jsxs("div",{className:"pl-flex pl-items-center pl-gap-[14.58px]",children:[e.vhl_duration&&jsxRuntime.jsxs("div",{className:"pl-text-Common-white pl-text-[10.93px] pl-font-normal pl-relative",children:[jsxRuntime.jsx("span",{children:chunkHME64W2O_js.S(0)}),jsxRuntime.jsx("span",{children:"/"}),jsxRuntime.jsx("span",{children:chunkHME64W2O_js.S(e.vhl_duration)})]}),jsxRuntime.jsx(chunkTDHILUXF_js.c,{})]})]}),jsxRuntime.jsx("div",{className:"pl-w-full pl-h-[3.64px] pl-bg-gray-highLight pl-animate-pulse"})]})]}),e.vhl_status==="skeleton"&&jsxRuntime.jsx(x,{})]})},R=w;module.exports=R;//# sourceMappingURL=VideoHighLighter-ZAC6DXOM.js.map
|
|
2
|
+
//# sourceMappingURL=VideoHighLighter-ZAC6DXOM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/videoPlayerLibrary/components/videoPlayer/videoHighLighter/VideoHighLighter.tsx","../src/videoPlayerLibrary/components/custom-components/skeleton/Skeleton.tsx"],"names":["init_cjs_shims","Skeleton","jsx","conditions","Skeleton_default","VideoHighLighter","params","useAppSelector","shallowEqual","useFullScreen_default","jsxs","Image","Fragment","CircularProgressbarWithChildren","buildStyles","importImages_default","fullScreen_default","secondsToHMS","soundVolume_default","VideoHighLighter_default"],"mappings":"4gBAAAA,kBAAAA,EAAAA,CCAAA,kBASM,EAAA,CANN,IAAMC,CAAW,CAAA,IAEbC,eAAC,KACC,CAAA,CAAA,IAAA,CAAK,SACL,SAAW,CAAA,CAAA,sEAAA,EAAyE,CAACC,mBAAsC,CAAA,eAAA,CAAA,EAAK,eAAe,CAAA,qCAAA,CAAA,CAE/I,SAAAD,cAAC,CAAA,MAAA,CAAA,CAAK,UAAU,YAAa,CAAA,QAAA,CAAA,YAAA,CAAU,EACzC,CAIGE,CAAAA,CAAAA,CAAQH,CDNf,CAKA,IAAMI,EAAmB,IAAM,CAC7B,GAAM,CAAE,OAAAC,CAAO,CAAA,CAAIC,oBAAe,CAAC,CAAE,UAAW,CAAE,MAAA,CAAAD,CAAO,CAAE,KAAO,CAAE,MAAA,CAAAA,CAAO,CAAIE,CAAAA,CAAAA,uBAAY,EAC3F,OAAAC,kBAAAA,GAGEC,eAAC,CAAA,KAAA,CAAA,CACC,GAAG,YACH,CAAA,SAAA,CAAW,yFACTP,mBAAsC,CAAA,eAAA,CAAA,EAAK,iBAC7C,CAAIA,CAAAA,EAAAA,mBAAAA,CAAAA,cAAqC,CAAK,EAAA,0FAA0F,GAEvI,QAAAG,CAAAA,CAAAA,CAAAA,CAAO,YAAcA,CAAO,CAAA,UAAA,GAAe,YAC1CI,eAAC,CAAA,KAAA,CAAA,CAAI,SAAU,CAAA,8DAAA,CACZ,UAAAJ,CAAO,CAAA,MAAA,EAAUJ,eAACS,kBAAA,CAAA,CAAM,IAAKL,CAAO,CAAA,MAAA,CAAQ,GAAI,CAAA,QAAA,CAAS,OAAO,MAAO,CAAA,SAAA,CAAU,4BAA4B,CAC9GJ,CAAAA,cAAAA,CAAC,QAAI,CACJI,CAAAA,CAAAA,CAAO,aAAe,gBACrBJ,EAAAA,cAAAA,CAAAU,oBAAA,CACE,QAAA,CAAAF,gBAA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,CAAsD,SAAAI,CAAO,CAAA,cAAA,CAAe,EACzFI,eAAC,CAAA,QAAA,CAAA,CAAO,SAAU,CAAA,kCAAA,CAAmC,QAAS,IAAMJ,CAAAA,CAAO,aACzE,CAAA,QAAA,CAAA,CAAAJ,eAACS,kBAAA,CAAA,CAAM,IAAI,iBAAkB,CAAA,GAAA,CAAKI,mBAAO,SAAW,CAAA,KAAA,CAAO,GAAI,MAAQ,CAAA,EAAA,CAAI,EAC3Eb,cAAC,CAAA,MAAA,CAAA,CAAK,SAAU,CAAA,+CAAA,CAAgD,yEAAW,CAC7E,CAAA,CAAA,CAAA,CAAA,CACF,EAEFQ,eAAC,CAAA,KAAA,CAAA,CACC,UAAW,CACRP,QAAAA,EAAAA,mBAAAA,CAAAA,uBAA8C,CAE3C,CAAA,aAAA,CADA,+BAA+BA,mBAAqC,CAAA,cAAA,CAAA,EAAK,SAAS,CAExF,CAAA,CAAA,iBAAA,CAAA,CAEA,UAAAO,eAAC,CAAA,KAAA,CAAA,CAAI,SAAW,CAAA,CAAA,2CAAA,EAA8CP,kCAAqC,CAAI,CAAA,SAAA,CAAY,iBAAiB,CAClI,CAAA,CAAA,QAAA,CAAA,CAAAD,eAACc,kBAAA,CAAA,EAAW,EACZN,eAAC,CAAA,KAAA,CAAA,CAAI,UAAW,0CACb,CAAA,QAAA,CAAA,CAAAJ,EAAO,YACNI,EAAAA,eAAAA,CAAC,OAAI,SAAU,CAAA,
|
|
1
|
+
{"version":3,"sources":["../src/videoPlayerLibrary/components/videoPlayer/videoHighLighter/VideoHighLighter.tsx","../src/videoPlayerLibrary/components/custom-components/skeleton/Skeleton.tsx"],"names":["init_cjs_shims","Skeleton","jsx","conditions","Skeleton_default","VideoHighLighter","params","useAppSelector","shallowEqual","useFullScreen_default","jsxs","Image","Fragment","CircularProgressbarWithChildren","buildStyles","importImages_default","fullScreen_default","secondsToHMS","soundVolume_default","VideoHighLighter_default"],"mappings":"4gBAAAA,kBAAAA,EAAAA,CCAAA,kBAS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,cAACE,CAAAA,CAAAA,CAAA,EAAS,CACjD,CAAA,CAAA,CAEJ,EAEOe,CAAQd,CAAAA","file":"VideoHighLighter-ZAC6DXOM.js","sourcesContent":["import { shallowEqual } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport Skeleton from \"../../custom-components/skeleton/Skeleton\";\r\nimport FullScreen from \"../../custom-components/fullScreen/fullScreen\";\r\nimport SoundVolume from \"../../custom-components/soundVolume/soundVolume\";\r\nimport { secondsToHMS } from \"../../../helpers/helpers\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { buildStyles, CircularProgressbarWithChildren } from \"react-circular-progressbar\";\r\nimport IMAGES from \"../../../images/importImages\";\r\nimport Image from \"next/legacy/image\";\r\nimport useFullScreen from \"../../../helpers/hooks/useFullScreen\";\r\n\r\nconst VideoHighLighter = () => {\r\n const { params } = useAppSelector(({ videoData: { params } }) => ({ params }), shallowEqual);\r\n useFullScreen();\r\n\r\n return (\r\n <div\r\n id=\"video-area\"\r\n className={`pl-relative pl-rounded-[12px] pl-w-full pl-h-full pl-aspect-video !pl-overflow-hidden ${\r\n conditions(ConditionName.isTouchScreen) && \"pl-rounded-none\"\r\n } ${conditions(ConditionName.isFullScreen) && \"!pl-overflow-hidden pl-fixed pl-top-0 pl-right-0 pl-w-screen pl-h-screen pl-rounded-none\"}`}\r\n >\r\n {params.vhl_status && params.vhl_status !== \"skeleton\" && (\r\n <div className=\"pl-flex pl-flex-col pl-justify-between pl-gap-2 pl-size-full\">\r\n {params.banner && <Image src={params.banner} alt=\"banner\" layout=\"fill\" className=\"pl-w-full pl-aspect-video\" />}\r\n <div />\r\n {params.vhl_status === \"download_start\" && (\r\n <>\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] tablet:!pl-max-w-[305px] desktop:!pl-max-w-[198px] pl-mx-auto pl-py-2 tablet:pl-py-[12.32px] desktop:pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2 tablet:pl-gap-[12.32px] desktop:pl-gap-2\">\r\n <svg style={{ height: 0, position: \"absolute\" }}>\r\n <defs>\r\n <linearGradient id=\"gradientColor\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\">\r\n <stop offset=\"0%\" stopColor=\"#FF649D\" />\r\n <stop offset=\"100%\" stopColor=\"#A50C4B\" />\r\n </linearGradient>\r\n </defs>\r\n </svg>\r\n <CircularProgressbarWithChildren\r\n value={params.vhl_progress!}\r\n className=\"pl-size-[50px]\"\r\n styles={buildStyles({\r\n trailColor: \"rgba(0, 0, 0, 0.1)\",\r\n pathColor: \"url(#gradientColor)\",\r\n })}\r\n >\r\n <p className=\"pl-text-text-primary pl-text-[14px] pl-font-medium\">{params.vhl_progress}%</p>\r\n </CircularProgressbarWithChildren>\r\n <p className=\"pl-text-text-primary pl-text-[10px] pl-font-normal\">{params.vhl_statusText}</p>\r\n </div>\r\n </>\r\n )}\r\n {params.vhl_status === \"download_error\" && (\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] pl-mx-auto pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2\">\r\n <Image alt=\"info-circle-icon\" src={IMAGES.infoCircle} width={32} height={32} />\r\n <p className=\"pl-text-[10px] pl-font-normal pl-text-text-primary\">{params.vhl_statusText}</p>\r\n <button className=\"pl-flex pl-items-center pl-gap-2\" onClick={() => params.vhl_onRetry!()}>\r\n <Image alt=\"rotate-red-icon\" src={IMAGES.rotateRed} width={14} height={14} />\r\n <span className=\"pl-text-primary pl-text-[10px] pl-font-normal\">تلاش دوباره</span>\r\n </button>\r\n </div>\r\n )}\r\n <div\r\n className={`pl-flex ${\r\n !conditions(ConditionName.isTouchScreenPortrait)\r\n ? `pl-flex-col-reverse pl-mb-3 ${conditions(ConditionName.isFullScreen) && \"pl-mb-8\"}`\r\n : \"pl-flex-col\"\r\n } pl-gap-[14.58px]`}\r\n >\r\n <div className={`pl-flex pl-items-center pl-justify-between ${conditions(ConditionName.isFullScreen) ? \"pl-mx-8\" : \"pl-mx-[14.58px]\"}`}>\r\n <FullScreen />\r\n <div className={`pl-flex pl-items-center pl-gap-[14.58px]`}>\r\n {params.vhl_duration && (\r\n <div className=\"pl-text-Common-white pl-text-[10.93px] pl-font-normal pl-relative\">\r\n <span>{secondsToHMS(0)}</span>\r\n <span>/</span>\r\n <span>{secondsToHMS(params.vhl_duration)}</span>\r\n </div>\r\n )}\r\n <SoundVolume />\r\n </div>\r\n </div>\r\n <div className=\"pl-w-full pl-h-[3.64px] pl-bg-gray-highLight pl-animate-pulse\" />\r\n </div>\r\n </div>\r\n )}\r\n {params.vhl_status === \"skeleton\" && <Skeleton />}\r\n </div>\r\n );\r\n};\r\n\r\nexport default VideoHighLighter;\r\n","import { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\n\r\nconst Skeleton = () => {\r\n return (\r\n <div\r\n role=\"status\"\r\n className={`pl-size-full pl-flex pl-items-center pl-justify-center pl-bg-gray-300 ${!conditions(ConditionName.isTouchScreen) && \"pl-rounded-lg\"} pl-animate-pulse dark:pl-bg-gray-700`}\r\n >\r\n <span className=\"pl-sr-only\">Loading...</span>\r\n </div>\r\n );\r\n};\r\n\r\nexport default Skeleton;\r\n"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunk7GSH5XMZ_js=require('./chunk-7GSH5XMZ.js');require('./chunk-VIQ5L73J.js'),require('./chunk-HME64W2O.js'),require('./chunk-5FTEBU6O.js'),require('./chunk-WO4IQUGO.js');module.exports=chunk7GSH5XMZ_js.a;//# sourceMappingURL=backwardForward-BVIUUMYX.js.map
|
|
2
|
+
//# sourceMappingURL=backwardForward-BVIUUMYX.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"backwardForward-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"backwardForward-BVIUUMYX.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"backwardForward-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"backwardForward-Y5UZHDBP.mjs"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
'use strict';var chunkWO4IQUGO_js=require('./chunk-WO4IQUGO.js');var e=chunkWO4IQUGO_js.b((i1,y)=>{y.exports='data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M4.06294 2.125C2.99246 2.125 2.125 2.99246 2.125 4.06293V6.15561C2.125 6.50078 1.84518 6.78061 1.5 6.78061C1.15482 6.78061 0.875 6.50078 0.875 6.15561V4.06293C0.875 2.3021 2.30211 0.875 4.06294 0.875H6.1548C6.49997 0.875 6.7798 1.15482 6.7798 1.5C6.7798 1.84517 6.49997 2.125 6.1548 2.125H4.06294Z" fill="white"/>%0D%0A<path d="M2.125 11.8451C2.125 11.4998 1.84518 11.2201 1.5 11.2201C1.15482 11.2201 0.875 11.4998 0.875 11.8451V13.9377C0.875 15.6978 2.30223 17.1248 4.06294 17.1248H6.1548C6.49997 17.1248 6.7798 16.845 6.7798 16.4998C6.7798 16.1546 6.49997 15.8748 6.1548 15.8748H4.06294C2.99233 15.8748 2.125 15.0072 2.125 13.9377V11.8451Z" fill="white"/>%0D%0A<path d="M17.1249 11.8451C17.1249 11.4998 16.8451 11.2201 16.4999 11.2201C16.1547 11.2201 15.8749 11.4998 15.8749 11.8451V13.9377C15.8749 15.0072 15.0076 15.8748 13.937 15.8748H11.8451C11.4999 15.8748 11.2201 16.1546 11.2201 16.4998C11.2201 16.845 11.4999 17.1248 11.8451 17.1248H13.937C15.6976 17.1248 17.1249 15.6978 17.1249 13.9377V11.8451Z" fill="white"/>%0D%0A<path d="M11.8451 0.875C11.4999 0.875 11.2201 1.15482 11.2201 1.5C11.2201 1.84517 11.4999 2.125 11.8451 2.125H13.937C15.0075 2.125 15.8749 2.99246 15.8749 4.06293V6.15561C15.8749 6.50078 16.1547 6.78061 16.4999 6.78061C16.8451 6.78061 17.1249 6.50078 17.1249 6.15561V4.06293C17.1249 2.3021 15.6978 0.875 13.937 0.875H11.8451Z" fill="white"/>%0D%0A</svg>%0D%0A';});var i=chunkWO4IQUGO_js.b((t1,A)=>{A.exports='data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M7.15493 1.875C7.5001 1.875 7.77993 2.15482 7.77993 2.5V4.59273C7.77993 6.3536 6.35279 7.78073 4.59192 7.78073H2.5C2.15482 7.78073 1.875 7.50091 1.875 7.15573C1.875 6.81055 2.15482 6.53073 2.5 6.53073H4.59192C5.66243 6.53073 6.52992 5.66324 6.52992 4.59273V2.5C6.52992 2.15482 6.80974 1.875 7.15493 1.875Z" fill="white"/>%0D%0A<path d="M2.5 12.2201C2.15482 12.2201 1.875 12.4998 1.875 12.8451C1.875 13.1902 2.15482 13.4701 2.5 13.4701H4.59192C5.66256 13.4701 6.52992 14.3376 6.52992 15.4072V17.5C6.52992 17.8451 6.80974 18.125 7.15493 18.125C7.5001 18.125 7.77993 17.8451 7.77993 17.5V15.4072C7.77993 13.6471 6.35266 12.2201 4.59192 12.2201H2.5Z" fill="white"/>%0D%0A<path d="M13.4701 15.4072C13.4701 14.3376 14.3375 13.4701 15.4081 13.4701H17.5C17.8452 13.4701 18.125 13.1902 18.125 12.8451C18.125 12.4998 17.8452 12.2201 17.5 12.2201H15.4081C13.6474 12.2201 12.2201 13.6471 12.2201 15.4072V17.5C12.2201 17.8451 12.4999 18.125 12.8451 18.125C13.1903 18.125 13.4701 17.8451 13.4701 17.5V15.4072Z" fill="white"/>%0D%0A<path d="M13.4701 2.5C13.4701 2.15482 13.1903 1.875 12.8451 1.875C12.4999 1.875 12.2201 2.15482 12.2201 2.5V4.59273C12.2201 6.3536 13.6472 7.78073 15.4081 7.78073H17.5C17.8452 7.78073 18.125 7.50091 18.125 7.15573C18.125 6.81055 17.8452 6.53073 17.5 6.53073H15.4081C14.3376 6.53073 13.4701 5.66324 13.4701 4.59273V2.5Z" fill="white"/>%0D%0A</svg>%0D%0A';});var t=chunkWO4IQUGO_js.b((d1,b)=>{b.exports='data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M10.0001 6.69759C11.8242 6.69759 13.3024 8.17546 13.3024 9.99833C13.3024 11.8229 11.8242 13.3024 10.0001 13.3024C8.17595 13.3024 6.69849 11.8229 6.69849 9.99833C6.69849 8.17546 8.17595 6.69759 10.0001 6.69759ZM12.0524 9.99833C12.0524 8.86558 11.1341 7.94759 10.0001 7.94759C8.86645 7.94759 7.94849 8.86558 7.94849 9.99833C7.94849 11.1328 8.86645 12.0524 10.0001 12.0524C11.1341 12.0524 12.0524 11.1328 12.0524 9.99833Z" fill="white"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M16.484 9.71683C16.2659 9.84375 16.2668 10.1562 16.4832 10.2816C17.6156 10.9358 18.005 12.3844 17.3508 13.5172L16.7225 14.6061C16.3144 15.3142 15.5962 15.7308 14.8385 15.7862C14.382 15.8187 13.9116 15.7194 13.486 15.4737C13.2691 15.3483 12.9973 15.5046 12.9973 15.7552C12.9973 17.0638 11.9374 18.125 10.6284 18.125H9.37186C8.06323 18.125 7.00244 17.0638 7.00244 15.7552C7.00244 15.5062 6.73145 15.3483 6.51415 15.4737C5.70768 15.9392 4.7417 15.8772 4.01579 15.3939C3.7216 15.1986 3.46688 14.9332 3.27848 14.6061L2.64982 13.5172C1.99593 12.3844 2.3833 10.9358 3.51652 10.2816C3.7334 10.1562 3.73421 9.84375 3.51652 9.71683C2.3833 9.06417 1.99593 7.61556 2.64982 6.48112L3.27848 5.39388C3.63208 4.7819 4.2176 4.38639 4.8601 4.25618C5.40616 4.14551 5.99332 4.22526 6.51415 4.52637C6.73145 4.65169 7.00244 4.49544 7.00244 4.24479C7.00244 3.67513 7.20304 3.15267 7.5371 2.74414C7.97168 2.21354 8.63211 1.875 9.37186 1.875H10.6284C11.9365 1.875 12.9973 2.9362 12.9973 4.24479C12.9973 4.49544 13.2691 4.65169 13.486 4.52637C14.6192 3.87207 16.0682 4.26107 16.7225 5.39388L17.3508 6.48112C18.005 7.61556 17.6156 9.06417 16.484 9.71683ZM16.2684 7.10612L15.6401 6.01888C15.433 5.65918 15.0574 5.45898 14.6717 5.45736C14.4813 5.45736 14.2884 5.50618 14.1118 5.60873C13.6398 5.88216 13.1149 5.87891 12.6795 5.68359C12.1461 5.44271 11.7473 4.91211 11.7473 4.24479C11.7473 3.89323 11.5862 3.5791 11.3335 3.37402C11.141 3.21777 10.8957 3.125 10.6284 3.125H9.37186C8.75411 3.125 8.25245 3.6263 8.25245 4.24479C8.25245 5.45736 6.93978 6.21582 5.88915 5.60873C5.50505 5.38737 5.04402 5.41829 4.7002 5.65267C4.5651 5.74382 4.44791 5.86752 4.36084 6.01888L3.73258 7.10612C3.42334 7.64323 3.60645 8.32519 4.14152 8.63442C4.81738 9.02508 5.05867 9.79333 4.86417 10.4525C4.75675 10.8171 4.51586 11.1475 4.14152 11.3639C3.60645 11.6732 3.42334 12.3567 3.73258 12.8923L4.36084 13.9811C4.67008 14.5166 5.35327 14.7005 5.88915 14.3913C6.93896 13.7858 8.25245 14.5427 8.25245 15.7552C8.25245 16.0921 8.40136 16.3948 8.63695 16.5999C8.83353 16.7708 9.0907 16.875 9.37186 16.875H10.6284C11.2469 16.875 11.7473 16.3737 11.7473 15.7552C11.7473 14.5427 13.0608 13.7858 14.111 14.3913C14.6457 14.7005 15.3309 14.5166 15.6401 13.9811L16.2684 12.8923C16.5768 12.3584 16.3933 11.6732 15.8582 11.3639C14.8076 10.7568 14.8084 9.24317 15.8574 8.63442C16.1849 8.44567 16.3807 8.11686 16.4133 7.76856C16.434 7.54558 16.3884 7.31445 16.2684 7.10612Z" fill="white"/>%0D%0A</svg>%0D%0A';});var d=chunkWO4IQUGO_js.b((h1,_)=>{_.exports='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M29.2941 24.8995C25.8291 28.0378 21.4991 30.8612 16.7341 32.7812C12.679 34.3795 9.28233 32.3862 8.784 28.3895C8.17733 22.4978 8.19066 16.8578 8.784 11.5928C9.32733 7.43949 13.069 5.67616 16.7341 7.21949C21.4257 9.14116 25.6341 11.7495 29.2941 15.1012C32.4207 17.9328 32.4941 21.9578 29.2941 24.8995Z" fill="white"/>%0D%0A</svg>%0D%0A';});var h=chunkWO4IQUGO_js.b((o1,D)=>{D.exports='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M14.3157 5.83301H10.459C9.08065 5.83301 7.95898 6.95467 7.95898 8.33301V31.6663C7.95898 33.0447 9.08065 34.1663 10.459 34.1663H14.3157C15.694 34.1663 16.8156 33.0447 16.8156 31.6663V8.33301C16.8156 6.95467 15.694 5.83301 14.3157 5.83301Z" fill="white"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M29.5403 5.83301H25.6836C24.3053 5.83301 23.1836 6.95467 23.1836 8.33301V31.6663C23.1836 33.0447 24.3053 34.1663 25.6836 34.1663H29.5403C30.9186 34.1663 32.0403 33.0447 32.0403 31.6663V8.33301C32.0403 6.95467 30.9186 5.83301 29.5403 5.83301Z" fill="white"/>%0D%0A</svg>%0D%0A';});var o=chunkWO4IQUGO_js.b((w1,S)=>{S.exports='data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M18.1511 3.25249C18.3952 3.00841 18.3952 2.61268 18.1511 2.36861C17.907 2.12453 17.5112 2.12453 17.2672 2.36861L14.2262 5.40952C14.0283 3.16866 11.6166 1.62131 9.54924 2.91235L6.84432 4.60103L6.84221 4.60236C6.64165 4.72868 6.32985 4.81145 6.06138 4.81145C6.04641 4.81145 6.03144 4.81198 6.01652 4.81306C5.71369 4.83485 5.45764 4.84356 5.22361 4.85153L5.15659 4.85382C4.9115 4.86227 4.6711 4.87153 4.44536 4.90137C3.94649 4.96731 3.53274 5.13229 3.0643 5.52266L3.06365 5.52321C2.45655 6.03052 2.24905 6.87532 2.16054 7.59662C2.08026 8.25088 2.08264 8.96697 2.08463 9.56252C2.08493 9.65156 2.08522 9.73869 2.08522 9.82167C2.08522 9.89521 2.08502 9.97112 2.08482 10.0491L2.0848 10.0559C2.08322 10.6612 2.08132 11.3898 2.16381 12.055C2.25331 12.7766 2.46069 13.6196 3.06117 14.1266L3.06694 14.1313C3.53792 14.5195 3.95026 14.6844 4.44831 14.7504C4.57818 14.7677 4.71282 14.778 4.85041 14.7854L2.89042 16.7453C2.64634 16.9894 2.64634 17.3852 2.89042 17.6293C3.13449 17.8733 3.53022 17.8733 3.7743 17.6293L18.1511 3.25249ZM6.04781 13.588L13.0436 6.59211C13.0273 6.25485 13.0066 5.91337 12.9852 5.57462C12.8921 4.07001 11.3686 3.2499 10.2113 3.97259L7.50839 5.66004L7.50719 5.6608C7.08591 5.92575 6.54741 6.05697 6.0852 6.06133C5.7668 6.08381 5.49546 6.09302 5.26726 6.10077L5.19969 6.10307C4.94613 6.11182 4.76534 6.11995 4.60917 6.14059C4.34433 6.1756 4.15137 6.24397 3.86486 6.48267C3.65498 6.65832 3.4855 7.06215 3.40124 7.74887C3.33132 8.31865 3.33305 8.94726 3.33471 9.55006C3.33497 9.64131 3.33522 9.73201 3.33522 9.82167C3.33522 9.90083 3.33505 9.98066 3.33489 10.0609C3.3336 10.6758 3.33227 11.3203 3.40431 11.9011C3.48941 12.5873 3.65811 12.9926 3.8652 13.1694C4.15597 13.4084 4.34989 13.4765 4.61257 13.5113C4.76813 13.5319 4.94806 13.54 5.20093 13.5488L5.27172 13.5512C5.48967 13.5586 5.74714 13.5674 6.04781 13.588Z" fill="white"/>%0D%0A<path d="M13.7627 10.1837C14.1079 10.1893 14.3832 10.4736 14.3776 10.8187C14.3595 11.9365 14.3045 13.0422 14.2329 14.1523C14.1106 16.4389 11.6392 18.0434 9.55024 16.7399L9.54915 16.7393L8.6074 16.1564C8.31386 15.9748 8.22318 15.5895 8.40482 15.296C8.58649 15.0025 8.97165 14.9118 9.26524 15.0935L10.2092 15.6777L10.2112 15.679C11.3725 16.4042 12.9072 15.5676 12.9848 14.083L12.9852 14.0753C13.0562 12.9757 13.1101 11.8904 13.1277 10.7985C13.1333 10.4533 13.4176 10.1781 13.7627 10.1837Z" fill="white"/>%0D%0A</svg>%0D%0A';});var w=chunkWO4IQUGO_js.b((r1,F)=>{F.exports='data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M8.71583 4.81209L6.30094 6.3215C5.91566 6.56289 5.42454 6.6778 5.00792 6.68197C4.72386 6.70259 4.48196 6.71125 4.27925 6.71852C4.25907 6.71925 4.23929 6.71995 4.21989 6.72066C3.99401 6.72887 3.83552 6.73634 3.69914 6.75467C3.47224 6.78517 3.30698 6.84313 3.05441 7.05313C2.88376 7.1961 2.73461 7.53901 2.65989 8.15116C2.5981 8.65735 2.59959 9.21703 2.60103 9.75807C2.60125 9.83919 2.60146 9.91999 2.60146 10.0001C2.60146 10.078 2.60127 10.1566 2.60107 10.2357C2.59971 10.7787 2.5983 11.3413 2.6605 11.8495C2.73528 12.4606 2.88398 12.8037 3.05388 12.9473C3.30907 13.1573 3.47458 13.2149 3.70081 13.2453C3.83722 13.2636 3.99566 13.2711 4.22202 13.2794C4.24025 13.2801 4.25882 13.2808 4.27772 13.2815C4.48164 13.2889 4.72534 13.2978 5.01243 13.3189C5.43104 13.3232 5.91645 13.4385 6.30065 13.6793L8.71583 15.1889C9.71759 15.8147 11.0523 15.0978 11.121 13.7959L11.1217 13.7841C11.3047 11.2616 11.3047 8.73927 11.1217 6.21685L11.1212 6.20998C11.041 4.89564 9.71343 4.18879 8.71583 4.81209ZM12.3187 6.13309C12.1904 4.07277 9.98023 2.60703 8.07994 3.79443L5.66424 5.30434C5.4955 5.41012 5.22286 5.48209 4.98434 5.48209C4.96954 5.48209 4.95475 5.48264 4.94 5.48373C4.67076 5.50369 4.44346 5.51185 4.23502 5.51933C4.21528 5.52004 4.1957 5.52074 4.17628 5.52145C3.95861 5.52937 3.74267 5.53803 3.53929 5.56537C3.08683 5.62617 2.71131 5.77761 2.28638 6.1311L2.28536 6.13196C1.73225 6.59416 1.54728 7.36223 1.46873 8.00576C1.3971 8.59255 1.39921 9.23567 1.40095 9.76951C1.40122 9.84895 1.40146 9.92599 1.40146 10.0001C1.40146 10.0725 1.40123 10.1479 1.40099 10.2256C1.39933 10.761 1.39732 11.4064 1.46938 11.9953C1.54813 12.6387 1.73309 13.4064 2.28483 13.8685L2.28839 13.8715C2.7149 14.2232 3.08912 14.374 3.54118 14.4346C3.74422 14.4619 3.95995 14.4705 4.17769 14.4786C4.19577 14.4793 4.21398 14.48 4.23235 14.4806C4.44205 14.4883 4.6713 14.4967 4.94359 14.5171C4.95854 14.5183 4.97354 14.5189 4.98853 14.5189C5.22642 14.5189 5.49378 14.5897 5.66358 14.6961L8.07986 16.2065C9.97527 17.3908 12.2058 15.9317 12.319 13.8653C12.5058 11.2879 12.5057 8.71047 12.3187 6.13309Z" fill="white"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M14.1595 6.52555C14.4469 6.36049 14.8136 6.45962 14.9786 6.74696C16.1357 8.76113 16.1357 11.2393 14.9786 13.2534C14.8136 13.5408 14.4469 13.6399 14.1595 13.4749C13.8722 13.3098 13.773 12.943 13.9382 12.6557C14.8826 11.0117 14.8826 8.98873 13.9382 7.34469C13.773 7.05734 13.8722 6.69061 14.1595 6.52555Z" fill="white"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M16.1213 4.6224C16.3931 4.43283 16.7671 4.49948 16.9567 4.77127C19.1483 7.91345 19.1483 12.0886 16.9567 15.2309C16.7671 15.5026 16.3931 15.5693 16.1213 15.3798C15.8495 15.1902 15.7829 14.8162 15.9725 14.5444C17.8764 11.8146 17.8764 8.18749 15.9725 5.45776C15.7829 5.18598 15.8495 4.81197 16.1213 4.6224Z" fill="white"/>%0D%0A</svg>%0D%0A';});var r=chunkWO4IQUGO_js.b((n1,G)=>{G.exports='data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M10.8798 14.4785V9.46634C10.8798 9.0689 10.5572 8.74634 10.1598 8.74634C9.76233 8.74634 9.43977 9.0689 9.43977 9.46634V14.4785C9.43977 14.876 9.76233 15.1985 10.1598 15.1985C10.5572 15.1985 10.8798 14.876 10.8798 14.4785Z" fill="white"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M14.4967 13.7585H12.7168C12.3194 13.7585 11.9968 14.0811 11.9968 14.4785C11.9968 14.876 12.3194 15.1985 12.7168 15.1985H14.4967C15.6045 15.1985 16.506 14.2981 16.506 13.1912C16.506 12.0853 15.6045 11.1848 14.4967 11.1848H13.4368V10.1864H15.5412C15.9386 10.1864 16.2612 9.86378 16.2612 9.46634C16.2612 9.0689 15.9386 8.74634 15.5412 8.74634H12.7168C12.3194 8.74634 11.9968 9.0689 11.9968 9.46634V11.9048C11.9968 12.3022 12.3194 12.6248 12.7168 12.6248H14.4967C14.8106 12.6248 15.066 12.8792 15.066 13.1912C15.066 13.5041 14.8106 13.7585 14.4967 13.7585Z" fill="white"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M12.5458 3.36035C8.76911 3.36035 5.50799 5.85059 4.35311 9.27299L3.74543 9.08675C3.49007 9.00803 3.21167 9.07907 3.02351 9.26723C2.83535 9.45827 2.76719 9.73667 2.84783 9.99107L3.60911 12.3997C3.68111 12.6253 3.85871 12.8019 4.08527 12.8711C4.15439 12.8932 4.22543 12.9028 4.29551 12.9028C4.45583 12.9028 4.61423 12.85 4.74287 12.7472L6.72047 11.1805C6.92975 11.0144 7.03055 10.7447 6.98063 10.4826C6.93071 10.2205 6.73967 10.0064 6.48431 9.92771L5.73071 9.69635C6.70223 6.86051 9.40944 4.80035 12.5458 4.80035C16.5163 4.80035 19.7458 8.02979 19.7458 12.0004C19.7458 15.9709 16.5163 19.2003 12.5458 19.2003C10.1784 19.2003 7.96367 18.0359 6.61775 16.0851C6.39215 15.7578 5.94479 15.6743 5.61647 15.9008C5.28911 16.1264 5.20655 16.5757 5.43311 16.9021C7.04591 19.2436 9.70512 20.6404 12.5458 20.6404C17.3102 20.6404 21.1858 16.7648 21.1858 12.0004C21.1858 7.23587 17.3102 3.36035 12.5458 3.36035Z" fill="white"/>%0D%0A</svg>%0D%0A';});var n=chunkWO4IQUGO_js.b((f1,j)=>{j.exports='data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M12.5307 13.7585H10.7509C10.3534 13.7585 10.0309 14.0811 10.0309 14.4785C10.0309 14.876 10.3534 15.1985 10.7509 15.1985H12.5307C13.6376 15.1985 14.539 14.2981 14.539 13.1912C14.539 12.0853 13.6376 11.1848 12.5307 11.1848H11.4709V10.1864H13.5752C13.9726 10.1864 14.2952 9.86378 14.2952 9.46634C14.2952 9.0689 13.9726 8.74634 13.5752 8.74634H10.7509C10.3534 8.74634 10.0309 9.0689 10.0309 9.46634V11.9048C10.0309 12.3022 10.3534 12.6248 10.7509 12.6248H12.5307C12.8437 12.6248 13.099 12.8792 13.099 13.1912C13.099 13.5041 12.8437 13.7585 12.5307 13.7585Z" fill="white"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M7.47571 9.46719V14.4793C7.47571 14.8768 7.79827 15.1993 8.19571 15.1993C8.59315 15.1993 8.91571 14.8768 8.91571 14.4793V9.46719C8.91571 9.06975 8.59315 8.74719 8.19571 8.74719C7.79827 8.74719 7.47571 9.06975 7.47571 9.46719Z" fill="white"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M20.9776 9.26723C20.7895 9.07811 20.5111 9.00707 20.2557 9.08675L19.648 9.27299C18.4932 5.84963 15.232 3.36035 11.4544 3.36035C6.68998 3.36035 2.81445 7.23587 2.81445 12.0004C2.81445 16.7648 6.68998 20.6404 11.4544 20.6404C14.296 20.6404 16.9552 19.2426 18.5671 16.9021C18.7936 16.5738 18.7111 16.1264 18.3837 15.9008C18.0554 15.6743 17.608 15.7578 17.3824 16.0851C16.0375 18.0359 13.8228 19.2003 11.4544 19.2003C7.48389 19.2003 4.25445 15.97 4.25445 12.0004C4.25445 8.02979 7.48389 4.80035 11.4544 4.80035C14.5917 4.80035 17.2989 6.86051 18.2704 9.69635L17.5178 9.92675C17.2615 10.0064 17.0704 10.2186 17.0205 10.4826C16.9706 10.7447 17.0714 11.0125 17.2807 11.1796L19.2573 12.7472C19.386 12.849 19.5444 12.9028 19.7047 12.9028C19.7748 12.9028 19.8458 12.8922 19.9159 12.8711C20.1415 12.8029 20.3191 12.6263 20.3911 12.4007L21.1533 9.99203C21.234 9.73667 21.1658 9.45731 20.9776 9.26723Z" fill="white"/>%0D%0A</svg>%0D%0A';});var f=chunkWO4IQUGO_js.b((p1,E)=>{E.exports='data:image/svg+xml,<svg width="6" height="12" viewBox="0 0 6 12" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M5.68656 0.979821C5.86407 1.15733 5.88021 1.43511 5.73497 1.63085L5.68656 1.68693L1.37367 6.00004L5.68656 10.3132C5.86407 10.4907 5.88021 10.7684 5.73497 10.9642L5.68656 11.0203C5.50905 11.1978 5.23127 11.2139 5.03553 11.0687L4.97945 11.0203L0.312788 6.35359C0.135277 6.17608 0.11914 5.89831 0.264376 5.70257L0.312788 5.64649L4.97945 0.979821C5.17472 0.784558 5.4913 0.784558 5.68656 0.979821Z" fill="black" fill-opacity="0.5"/>%0D%0A</svg>%0D%0A';});var p=chunkWO4IQUGO_js.b((s1,I)=>{I.exports='data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M10.1305 8.72396C9.496 8.72396 8.93375 8.95288 8.53325 9.38254C8.13719 9.80737 7.94466 10.3789 7.94466 10.9892V12.773C7.94466 13.3826 8.13577 13.9545 8.53158 14.3799C8.93216 14.8104 9.49483 15.039 10.1305 15.039H12.884C13.5196 15.039 14.0824 14.8104 14.4831 14.38C14.8792 13.9547 15.0706 13.3829 15.0706 12.773V10.9892C15.0706 10.3795 14.8791 9.80796 14.4831 9.38271C14.0823 8.95254 13.5196 8.72396 12.884 8.72396H10.1305ZM9.19466 10.9892C9.19466 10.6386 9.30291 10.39 9.44758 10.235C9.58758 10.0847 9.80575 9.97396 10.1305 9.97396H12.884C13.2108 9.97396 13.4289 10.085 13.5684 10.2347C13.7126 10.3895 13.8206 10.638 13.8206 10.9892V12.773C13.8206 13.1247 13.7125 13.3734 13.5683 13.5282C13.4288 13.678 13.2108 13.789 12.884 13.789H10.1305C9.80374 13.789 9.58599 13.678 9.44674 13.5284C9.30274 13.3736 9.19466 13.1249 9.19466 12.773V10.9892Z" fill="white"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M6.55545 1.875C5.1759 1.875 4.00755 2.36764 3.18715 3.24781C2.37129 4.12309 1.94531 5.33172 1.94531 6.68865V13.3113C1.94531 14.6675 2.369 15.8763 3.18413 16.7519C4.00397 17.6326 5.17265 18.125 6.55545 18.125H13.5836C14.9667 18.125 16.1357 17.6327 16.9559 16.752C17.7714 15.8763 18.1953 14.6676 18.1953 13.3113V6.68865C18.1953 5.33241 17.7714 4.12367 16.956 3.24804C16.136 2.36737 14.9672 1.875 13.5843 1.875H6.55545ZM3.19531 6.68865C3.19531 5.59126 3.53718 4.70555 4.10153 4.1001C4.66133 3.49952 5.48555 3.125 6.55545 3.125H13.5843C14.6583 3.125 15.4825 3.49979 16.0412 4.09987C16.6047 4.70497 16.9453 5.59057 16.9453 6.68865V13.3113C16.9453 14.4094 16.6047 15.295 16.0412 15.9001C15.4823 16.5002 14.658 16.875 13.5836 16.875H6.55545C5.4815 16.875 4.65761 16.5002 4.09907 15.9002C3.53582 15.2951 3.19531 14.4095 3.19531 13.3113V6.68865Z" fill="white"/>%0D%0A</svg>%0D%0A';});var s=chunkWO4IQUGO_js.b((v1,O)=>{O.exports='data:image/svg+xml,<svg width="14" height="16" viewBox="0 0 14 16" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M6.99975 12.4695C6.62095 12.4687 6.25087 12.3556 5.93631 12.1445C5.62167 11.9335 5.37671 11.634 5.23231 11.2837C5.08797 10.9335 5.05065 10.5484 5.12509 10.1769C5.19954 9.80548 5.38239 9.46444 5.65063 9.19692C5.91879 8.9294 6.26031 8.7474 6.63191 8.67388C7.00351 8.60036 7.38855 8.63868 7.73839 8.78388C8.08831 8.92916 8.38719 9.17492 8.59751 9.48996C8.80775 9.80508 8.91991 10.1755 8.91975 10.5543C8.91847 11.0627 8.71559 11.5498 8.35567 11.9088C7.99575 12.2678 7.50815 12.4695 6.99975 12.4695ZM6.99975 9.83828C6.85847 9.83908 6.72063 9.88164 6.60343 9.9606C6.48631 10.0396 6.39519 10.1514 6.34151 10.2821C6.28775 10.4128 6.27391 10.5564 6.30167 10.6949C6.32943 10.8334 6.39759 10.9607 6.49743 11.0605C6.59735 11.1604 6.72455 11.2285 6.86311 11.2563C7.00159 11.284 7.14519 11.2702 7.27591 11.2165C7.40655 11.1628 7.51839 11.0716 7.59735 10.9545C7.67639 10.8374 7.71895 10.6996 7.71975 10.5583C7.71975 10.3673 7.64383 10.1842 7.50887 10.0492C7.37383 9.91412 7.19071 9.83828 6.99975 9.83828Z" fill="white"/>%0D%0A<path d="M10.56 6.56697C10.4009 6.56697 10.2483 6.50377 10.1358 6.39125C10.0232 6.27873 9.96004 6.12612 9.96004 5.96698V4.28699C9.94804 3.50988 9.63092 2.76865 9.07708 2.22337C8.52332 1.67808 7.77724 1.37249 7.00004 1.37258H6.96244C6.19148 1.3786 5.45372 1.6867 4.90742 2.23073C4.36116 2.77474 4.05001 3.51129 4.04082 4.28218V5.96218C4.04082 6.12131 3.97761 6.27393 3.86509 6.38645C3.75256 6.49897 3.59995 6.56217 3.44082 6.56217C3.28169 6.56217 3.12908 6.49897 3.01656 6.38645C2.90403 6.27393 2.84082 6.12131 2.84082 5.96218V4.27418C2.85189 3.18905 3.28844 2.15162 4.05652 1.38503C4.8246 0.618446 5.86292 0.183934 6.94804 0.174982C8.04956 0.169374 9.10988 0.59323 9.90404 1.35658C10.2962 1.73705 10.609 2.19153 10.8244 2.69371C11.0396 3.19589 11.1532 3.73581 11.1584 4.28218V5.96698C11.1584 6.12584 11.0954 6.27821 10.9832 6.39069C10.8711 6.50313 10.7189 6.56657 10.56 6.56697Z" fill="white"/>%0D%0A<path d="M9.1601 15.7892H4.84009C3.9404 15.8864 3.03035 15.7856 2.17371 15.494C1.55896 15.1986 1.06319 14.7025 0.768099 14.0876C0.475555 13.2312 0.374515 12.3209 0.472099 11.4212V9.71636C0.374659 8.81636 0.475691 7.90596 0.768099 7.04916C1.06391 6.435 1.55951 5.93942 2.17371 5.6436C3.03034 5.35189 3.9404 5.25113 4.84009 5.3484H9.1601C10.0598 5.25113 10.9699 5.35189 11.8265 5.6436C12.4407 5.93942 12.9363 6.435 13.2321 7.04916C13.5245 7.90596 13.6255 8.81636 13.5281 9.71636V11.4212C13.6256 12.3212 13.5246 13.2316 13.2321 14.0884C12.9369 14.7028 12.4415 15.1984 11.8273 15.494C10.9703 15.7856 10.0601 15.8864 9.1601 15.7892ZM4.84009 6.54836C4.11926 6.47548 3.39116 6.53564 2.6921 6.72596C2.32372 6.90356 2.02647 7.20084 1.84891 7.56916C1.65927 8.26812 1.59935 8.99588 1.6721 9.71636V11.4212C1.59943 12.142 1.65936 12.87 1.84891 13.5692C2.02679 13.9376 2.32431 14.2348 2.6929 14.4124C3.39183 14.602 4.11957 14.6619 4.84009 14.5892H9.1601C9.8809 14.6618 10.6089 14.6019 11.3081 14.4124C11.6763 14.2346 11.9735 13.9374 12.1513 13.5692C12.3408 12.87 12.4007 12.142 12.3281 11.4212V9.71636C12.4008 8.99588 12.3409 8.26812 12.1513 7.56916C11.9737 7.20084 11.6765 6.90356 11.3081 6.72596C10.6091 6.53564 9.88098 6.47548 9.1601 6.54836H4.84009Z" fill="white"/>%0D%0A</svg>%0D%0A';});var v=chunkWO4IQUGO_js.b((g1,U)=>{U.exports='data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M12.1596 17.8051H7.83958C6.93988 17.9023 6.02983 17.8016 5.17319 17.5099C4.55908 17.2136 4.06356 16.7178 3.76758 16.1035C3.47509 15.2471 3.37405 14.3369 3.47158 13.4371V11.7315C3.37414 10.8315 3.47518 9.92106 3.76758 9.06434C4.06382 8.44906 4.56027 7.95257 5.17558 7.65633C6.03234 7.36392 6.94276 7.26289 7.84277 7.36033H12.1596C13.0594 7.2628 13.9695 7.36384 14.826 7.65633C15.4404 7.95224 15.936 8.44818 16.2316 9.06274C16.5242 9.9189 16.6252 10.8288 16.5276 11.7283V13.4339C16.625 14.3339 16.524 15.2444 16.2316 16.1011C15.9358 16.7151 15.4406 17.2107 14.8268 17.5067C13.9701 17.7994 13.0598 17.9012 12.1596 17.8051ZM7.83958 8.56354C7.11896 8.49026 6.39102 8.55074 5.69238 8.74194C5.32406 8.91922 5.02681 9.21618 4.84919 9.58434C4.65888 10.2831 4.59867 11.011 4.67158 11.7315V13.4371C4.59856 14.1577 4.65878 14.8855 4.84919 15.5843C5.02698 15.9527 5.32414 16.2502 5.69238 16.4283C6.39131 16.6179 7.11905 16.6778 7.83958 16.6051H12.1596C12.8804 16.6781 13.6085 16.6179 14.3076 16.4275C14.6758 16.2501 14.973 15.9531 15.1508 15.5851C15.3402 14.8859 15.4002 14.1579 15.3276 13.4371V11.7315C15.4004 11.0113 15.3405 10.2838 15.1508 9.58514C14.9734 9.21658 14.6761 8.9193 14.3076 8.74194C13.6086 8.55074 12.8805 8.49026 12.1596 8.56354H7.83958Z" fill="white"/>%0D%0A<path d="M9.99926 14.4984C9.6211 14.4984 9.25142 14.3862 8.93702 14.1761C8.62254 13.966 8.3775 13.6674 8.23278 13.3181C8.08807 12.9686 8.0502 12.5842 8.12398 12.2133C8.19775 11.8425 8.3799 11.5017 8.64726 11.2344C8.9147 10.9669 9.25534 10.7849 9.62622 10.7111C9.9971 10.6373 10.3816 10.6752 10.7309 10.8199C11.0803 10.9646 11.3789 11.2097 11.589 11.5241C11.7991 11.8385 11.9113 12.2082 11.9113 12.5864C11.9106 13.0933 11.7089 13.5792 11.3505 13.9377C10.9921 14.2961 10.5061 14.4977 9.99926 14.4984ZM9.99926 11.8744C9.85846 11.8744 9.72078 11.9161 9.60366 11.9943C9.48662 12.0725 9.39534 12.1837 9.34142 12.3139C9.28758 12.444 9.27342 12.5871 9.30094 12.7253C9.32838 12.8633 9.39622 12.9902 9.49574 13.0898C9.59534 13.1893 9.72222 13.2572 9.8603 13.2846C9.99846 13.3121 10.1416 13.2981 10.2717 13.2441C10.4018 13.1902 10.513 13.099 10.5913 12.9819C10.6695 12.8648 10.7113 12.7272 10.7113 12.5864C10.711 12.3976 10.636 12.2166 10.5025 12.0831C10.369 11.9497 10.188 11.8745 9.99926 11.8744Z" fill="white"/>%0D%0A<path d="M6.45132 8.5646C6.29219 8.5646 6.13957 8.5014 6.02705 8.38884C5.91453 8.27632 5.85132 8.12371 5.85132 7.96457V6.27657C5.85917 5.2992 6.21165 4.35593 6.84665 3.61291C7.48167 2.86989 8.35848 2.37476 9.32272 2.21472C10.287 2.05468 11.2767 2.24001 12.1177 2.73806C12.9586 3.23611 13.597 4.01493 13.9202 4.93737C13.9487 5.01237 13.9619 5.09234 13.959 5.17255C13.9562 5.25276 13.9372 5.33157 13.9034 5.40433C13.8694 5.47708 13.8214 5.5423 13.7618 5.59612C13.7022 5.64994 13.6326 5.69127 13.5567 5.71766C13.481 5.74405 13.4006 5.75496 13.3206 5.74976C13.2405 5.74455 13.1622 5.72333 13.0905 5.68735C13.0187 5.65137 12.955 5.60136 12.9029 5.54028C12.8508 5.4792 12.8115 5.40831 12.7874 5.33177C12.5586 4.67467 12.1052 4.11948 11.507 3.76421C10.9088 3.40896 10.2042 3.27647 9.51784 3.39016C8.83144 3.50384 8.20728 3.85638 7.75552 4.38553C7.30377 4.91469 7.05353 5.58643 7.04893 6.28217V7.96617C7.04851 8.12461 6.98542 8.27645 6.87346 8.38856C6.76151 8.50068 6.60976 8.56396 6.45132 8.5646Z" fill="white"/>%0D%0A</svg>%0D%0A';});var g=chunkWO4IQUGO_js.b((a1,P)=>{P.exports='data:image/svg+xml,<svg width="23" height="24" viewBox="0 0 23 24" fill="white" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M20.0182 23.9979C21.4008 23.9432 22.6699 22.815 22.6699 21.295L22.6699 2.70464C22.6699 0.677986 20.4125 -0.651722 18.6399 0.330475L1.86725 9.62567C0.0436726 10.6363 0.0436726 13.3634 1.86725 14.374L18.6399 23.6692C19.0831 23.9147 19.5573 24.0162 20.0182 23.9979Z" fill="white"/>%0D%0A</svg>%0D%0A';});var a=chunkWO4IQUGO_js.b((u1,R)=>{R.exports='data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M8.1543 2.49976C8.1543 2.15458 8.43405 1.87476 8.7793 1.87476H12.285C12.6301 1.87476 12.91 2.15458 12.91 2.49976C12.91 2.84493 12.6301 3.12476 12.285 3.12476H8.7793C8.43405 3.12476 8.1543 2.84493 8.1543 2.49976Z" fill="black" fill-opacity="0.5"/>%0D%0A<path d="M3.52295 11.1133C3.52295 7.24291 6.66036 4.10457 10.5317 4.10457C14.4022 4.10457 17.5395 7.24296 17.5395 11.1133C17.5395 14.9833 14.4025 18.1234 10.5319 18.1236L7.2249 18.1253C6.87972 18.1254 6.59977 17.8457 6.5996 17.5005C6.59942 17.1553 6.87911 16.8754 7.22429 16.8753L10.5313 16.8736C13.7111 16.8736 16.2895 14.2937 16.2895 11.1133C16.2895 7.93311 13.7116 5.35457 10.5317 5.35457C7.35082 5.35457 4.77295 7.93316 4.77295 11.1133C4.77295 11.4584 4.49312 11.7383 4.14795 11.7383C3.80277 11.7383 3.52295 11.4584 3.52295 11.1133Z" fill="black" fill-opacity="0.5"/>%0D%0A<path d="M4.52962 15.3888C4.52962 15.0436 4.80944 14.7638 5.15462 14.7638H8.73116C9.07633 14.7638 9.35616 15.0436 9.35616 15.3888C9.35616 15.7339 9.07633 16.0138 8.73116 16.0138H5.15462C4.80944 16.0138 4.52962 15.7339 4.52962 15.3888Z" fill="black" fill-opacity="0.5"/>%0D%0A<path d="M3.08594 12.6528C2.74076 12.6528 2.46094 12.9326 2.46094 13.2778C2.46094 13.6229 2.74076 13.9028 3.08594 13.9028H6.66247C7.00765 13.9028 7.28747 13.6229 7.28747 13.2778C7.28747 12.9326 7.00765 12.6528 6.66247 12.6528H3.08594Z" fill="black" fill-opacity="0.5"/>%0D%0A<path d="M13.415 9.08101C13.6591 8.83693 13.6591 8.44126 13.415 8.19714C13.1709 7.95306 12.7752 7.95306 12.5311 8.19714L10.0805 10.6477C9.83644 10.8918 9.83644 11.2875 10.0805 11.5316C10.3246 11.7757 10.7204 11.7757 10.9644 11.5316L13.415 9.08101Z" fill="black" fill-opacity="0.5"/>%0D%0A</svg>%0D%0A';});var u=chunkWO4IQUGO_js.b((M1,z)=>{z.exports='data:image/svg+xml,<svg width="18" height="15" viewBox="0 0 18 15" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M10.5488 1.53559C8.20532 1.02852 5.66339 1.68608 3.84359 3.50588C1.15649 6.19298 1.00481 10.4572 3.39041 13.3215C3.55135 13.5148 3.8176 13.6347 4.13036 13.6347H13.8687C14.1816 13.6347 14.4476 13.5149 14.6085 13.3217C16.0815 11.5533 16.5884 9.25027 16.1258 7.11249C16.0528 6.77512 16.2671 6.44245 16.6045 6.36945C16.9418 6.29645 17.2745 6.51077 17.3475 6.84814C17.8886 9.34866 17.2968 12.0474 15.569 14.1217C15.1326 14.6455 14.489 14.8847 13.8687 14.8847H4.13036C3.50995 14.8847 2.86616 14.6453 2.42991 14.1215C-0.36559 10.765 -0.188583 5.77029 2.95971 2.622C5.09241 0.489299 8.07189 -0.279272 10.8132 0.31386C11.1505 0.386857 11.3648 0.719527 11.2918 1.0569C11.2188 1.39427 10.8862 1.60859 10.5488 1.53559Z" fill="white"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M14.9976 2.66523C15.2417 2.9093 15.2417 3.30503 14.9976 3.54911L10.7129 7.83399C10.8469 8.09798 10.9225 8.39667 10.9225 8.713C10.9225 9.78688 10.0519 10.6574 8.97805 10.6574C7.90417 10.6574 7.03362 9.78688 7.03362 8.713C7.03362 7.63912 7.90417 6.76856 8.97805 6.76856C9.27953 6.76856 9.56498 6.83718 9.81965 6.95963C9.82222 6.95697 9.82483 6.95432 9.82746 6.95168L14.1137 2.66525C14.3578 2.42116 14.7535 2.42115 14.9976 2.66523ZM9.67249 8.713C9.67249 9.09652 9.36158 9.40743 8.97805 9.40743C8.59453 9.40743 8.28362 9.09652 8.28362 8.713C8.28362 8.32947 8.59453 8.01856 8.97805 8.01856C9.36158 8.01856 9.67249 8.32947 9.67249 8.713Z" fill="white"/>%0D%0A</svg>%0D%0A';});var M=chunkWO4IQUGO_js.b((L1,J)=>{J.exports='data:image/svg+xml,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M4.89047 9.45584C4.81169 9.45584 4.73369 9.44032 4.66093 9.41008C4.58817 9.37992 4.52208 9.33568 4.46647 9.27984L0.966472 5.77984C0.85712 5.66672 0.796576 5.5152 0.797872 5.35784C0.79916 5.20056 0.862192 5.05 0.973384 4.93872C1.08458 4.82744 1.23503 4.76424 1.39235 4.7628C1.54967 4.76136 1.70126 4.82176 1.81447 4.93104L4.89047 8.00704L12.1705 0.72704C12.2259 0.66976 12.2921 0.62408 12.3653 0.592672C12.4385 0.561256 12.5172 0.544744 12.5969 0.544088C12.6766 0.543432 12.7556 0.558656 12.8293 0.588856C12.9031 0.619064 12.97 0.66364 13.0263 0.720008C13.0826 0.776368 13.1272 0.843376 13.1572 0.917128C13.1874 0.99088 13.2026 1.0699 13.2018 1.14957C13.2011 1.22923 13.1845 1.30796 13.153 1.38114C13.1216 1.45434 13.0758 1.52051 13.0185 1.57583L5.31043 9.27984C5.19914 9.3916 5.04819 9.4548 4.89047 9.45584Z" fill="black" fill-opacity="0.5"/>%0D%0A</svg>%0D%0A';});var L=chunkWO4IQUGO_js.b((H1,K)=>{K.exports='data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M2.11683 2.24781C2.93723 1.36764 4.10557 0.875 5.48513 0.875H12.5141C13.8968 0.875 15.0657 1.36737 15.8857 2.24804C16.7011 3.12367 17.125 4.33241 17.125 5.68865V12.3113C17.125 13.6676 16.7011 14.8763 15.8856 15.752C15.0654 16.6327 13.8964 17.125 12.5133 17.125H5.48513C4.10233 17.125 2.93365 16.6326 2.11381 15.7519C1.29868 14.8763 0.875 13.6675 0.875 12.3113V5.68865C0.875 4.33172 1.30098 3.12309 2.11683 2.24781ZM3.03121 3.1001C2.46687 3.70556 2.125 4.59126 2.125 5.68865V12.3113C2.125 13.4095 2.46551 14.2951 3.02876 14.9002C3.58729 15.5002 4.41117 15.875 5.48513 15.875H12.5133C13.5877 15.875 14.412 15.5002 14.9708 14.9001C15.5343 14.295 15.875 13.4094 15.875 12.3113V5.68865C15.875 4.59057 15.5343 3.70497 14.9709 3.09987C14.4122 2.49979 13.588 2.125 12.5141 2.125H5.48513C4.41523 2.125 3.59101 2.49952 3.03121 3.1001ZM7.45442 4.75486C7.79958 4.75486 8.07942 5.03467 8.07942 5.37986V6.42142C8.0795 6.42605 8.07958 6.43068 8.07958 6.43533C8.07958 6.43998 8.0795 6.44462 8.07942 6.44925V7.49042C8.07942 7.83558 7.79958 8.11542 7.45442 8.11542C7.10925 8.11542 6.82942 7.83558 6.82942 7.49042V7.06033H5.52238C5.1772 7.06033 4.89738 6.78052 4.89738 6.43533C4.89738 6.09016 5.1772 5.81033 5.52238 5.81033H6.82942V5.37986C6.82942 5.03467 7.10925 4.75486 7.45442 4.75486ZM8.87858 6.43533C8.87858 6.09016 9.15842 5.81033 9.50358 5.81033H12.476C12.8212 5.81033 13.101 6.09016 13.101 6.43533C13.101 6.78052 12.8212 7.06033 12.476 7.06033H9.50358C9.15842 7.06033 8.87858 6.78052 8.87858 6.43533ZM9.88683 9.88417C10.232 9.88417 10.5118 10.164 10.5118 10.5092V11.55C10.5119 11.5546 10.512 11.5592 10.512 11.5638C10.512 11.5685 10.5119 11.5732 10.5118 11.5777V12.6198C10.5118 12.9649 10.232 13.2448 9.88683 13.2448C9.54167 13.2448 9.26183 12.9649 9.26183 12.6198V12.1888H5.52238C5.1772 12.1888 4.89738 11.9091 4.89738 11.5638C4.89738 11.2187 5.1772 10.9388 5.52238 10.9388H9.26183V10.5092C9.26183 10.164 9.54167 9.88417 9.88683 9.88417ZM11.3102 11.5638C11.3102 11.2187 11.5901 10.9388 11.9353 10.9388H12.4752C12.8204 10.9388 13.1002 11.2187 13.1002 11.5638C13.1002 11.9091 12.8204 12.1888 12.4752 12.1888H11.9353C11.5901 12.1888 11.3102 11.9091 11.3102 11.5638Z" fill="black" fill-opacity="0.5"/>%0D%0A</svg>%0D%0A';});var H=chunkWO4IQUGO_js.b((Z1,N)=>{N.exports='data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M3.11683 3.24781C3.93723 2.36764 5.10557 1.875 6.48513 1.875H13.5141C14.8968 1.875 16.0657 2.36737 16.8857 3.24804C17.7011 4.12367 18.125 5.33241 18.125 6.68865V13.3113C18.125 14.6676 17.7011 15.8763 16.8856 16.752C16.0654 17.6327 14.8964 18.125 13.5133 18.125H6.48513C5.10233 18.125 3.93365 17.6326 3.11381 16.7519C2.29868 15.8763 1.875 14.6675 1.875 13.3113V6.68865C1.875 5.33172 2.30098 4.12309 3.11683 3.24781ZM4.03121 4.1001C3.46687 4.70556 3.125 5.59126 3.125 6.68865V13.3113C3.125 14.4095 3.46551 15.2951 4.02876 15.9002C4.58729 16.5002 5.41117 16.875 6.48513 16.875H13.5133C14.5877 16.875 15.412 16.5002 15.9708 15.9001C16.5343 15.295 16.875 14.4094 16.875 13.3113V6.68865C16.875 5.59057 16.5343 4.70497 15.9709 4.09987C15.4122 3.49979 14.588 3.125 13.5141 3.125H6.48513C5.41523 3.125 4.59101 3.49952 4.03121 4.1001ZM8.45442 5.75486C8.79958 5.75486 9.07942 6.03467 9.07942 6.37986V7.42142C9.0795 7.42605 9.07958 7.43068 9.07958 7.43533C9.07958 7.43998 9.0795 7.44462 9.07942 7.44925V8.49042C9.07942 8.83558 8.79958 9.11542 8.45442 9.11542C8.10925 9.11542 7.82942 8.83558 7.82942 8.49042V8.06033H6.52238C6.1772 8.06033 5.89738 7.78052 5.89738 7.43533C5.89738 7.09016 6.1772 6.81033 6.52238 6.81033H7.82942V6.37986C7.82942 6.03467 8.10925 5.75486 8.45442 5.75486ZM9.87858 7.43533C9.87858 7.09016 10.1584 6.81033 10.5036 6.81033H13.476C13.8212 6.81033 14.101 7.09016 14.101 7.43533C14.101 7.78052 13.8212 8.06033 13.476 8.06033H10.5036C10.1584 8.06033 9.87858 7.78052 9.87858 7.43533ZM10.8868 10.8842C11.232 10.8842 11.5118 11.164 11.5118 11.5092V12.55C11.5119 12.5546 11.512 12.5592 11.512 12.5638C11.512 12.5685 11.5119 12.5732 11.5118 12.5777V13.6198C11.5118 13.9649 11.232 14.2448 10.8868 14.2448C10.5417 14.2448 10.2618 13.9649 10.2618 13.6198V13.1888H6.52238C6.1772 13.1888 5.89738 12.9091 5.89738 12.5638C5.89738 12.2187 6.1772 11.9388 6.52238 11.9388H10.2618V11.5092C10.2618 11.164 10.5417 10.8842 10.8868 10.8842ZM12.3102 12.5638C12.3102 12.2187 12.5901 11.9388 12.9353 11.9388H13.4752C13.8204 11.9388 14.1002 12.2187 14.1002 12.5638C14.1002 12.9091 13.8204 13.1888 13.4752 13.1888H12.9353C12.5901 13.1888 12.3102 12.9091 12.3102 12.5638Z" fill="white"/>%0D%0A</svg>%0D%0A';});var Z=chunkWO4IQUGO_js.b((V1,Q)=>{Q.exports='data:image/svg+xml,<svg width="123" height="72" viewBox="0 0 123 72" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<g opacity="0.5">%0D%0A<g opacity="0.3" filter="url(%23filter0_f_113_8034)">%0D%0A<ellipse cx="59.429" cy="67.3152" rx="56.5" ry="2.5" fill="url(%23paint0_linear_113_8034)"/>%0D%0A</g>%0D%0A<path d="M31.1913 5.75171H89.5312C95.4885 5.75171 100.323 10.5866 100.323 16.5438V56.0536C100.323 62.0109 95.4885 66.8457 89.5312 66.8457H31.1913C25.234 66.8457 20.3992 62.0109 20.3992 56.0536V16.5438C20.3992 10.5866 25.234 5.75171 31.1913 5.75171Z" fill="%23E3E3E3"/>%0D%0A<path d="M113.586 42.8287L119.243 48.4856" stroke="%23C0BCBC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>%0D%0A<path d="M119.243 42.8286L113.586 48.4855" stroke="%23C0BCBC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>%0D%0A<path d="M4.75732 19.8287L10.4142 25.4856" stroke="%23C0BCBC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>%0D%0A<path d="M10.4142 19.8286L4.75732 25.4855" stroke="%23C0BCBC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>%0D%0A<path d="M100.327 22.8965V16.5438C100.327 10.5832 95.4952 5.75171 89.5345 5.75171H31.1913C25.2307 5.75171 20.3992 10.5866 20.3992 16.5438V22.8965H100.327Z" fill="%23AAAAAA"/>%0D%0A<path d="M32.7025 14.3256C32.7025 15.8434 31.4695 17.0764 29.9517 17.0764C28.4339 17.0764 27.1975 15.8434 27.1975 14.3256C27.1975 12.8078 28.4305 11.5748 29.9517 11.5748C31.4728 11.5748 32.7025 12.8078 32.7025 14.3256Z" fill="%23DADADA"/>%0D%0A<path d="M40.2545 14.3255C40.2545 15.8433 39.0215 17.0763 37.5037 17.0763C35.9859 17.0763 34.7495 15.8433 34.7495 14.3255C34.7495 12.8077 35.9792 11.5747 37.5037 11.5747C39.0282 11.5747 40.2545 12.8077 40.2545 14.3255Z" fill="%23DADADA"/>%0D%0A<path d="M47.8069 14.3255C47.8069 15.8433 46.5739 17.0763 45.0594 17.0763C43.5449 17.0763 42.3086 15.8433 42.3086 14.3255C42.3086 12.8077 43.5416 11.5747 45.0594 11.5747C46.5772 11.5747 47.8069 12.8077 47.8069 14.3255Z" fill="%23DADADA"/>%0D%0A<path d="M92.7577 14.3257C92.7577 16.0479 91.3639 17.4417 89.6417 17.4417H57.9622C56.2434 17.4417 54.8462 16.0446 54.8462 14.3257C54.8462 12.6035 56.2434 11.2097 57.9622 11.2097H89.6417C91.3639 11.2097 92.7577 12.6035 92.7577 14.3257Z" fill="white"/>%0D%0A<path d="M50.0952 51.0009V35.528C50.0952 31.7318 52.7857 30.1805 56.076 32.0736L57.5234 32.9112C60.8069 34.8076 66.1913 37.9169 69.4748 39.8133L70.9256 40.651C74.2159 42.5508 74.2159 45.6534 70.9256 47.5531L69.4748 48.3874C66.1913 50.2872 60.8103 53.3932 57.5234 55.2896L56.076 56.1238C52.7857 58.0203 50.0952 56.469 50.0952 52.6728V51.0009Z" fill="%23AAAAAA"/>%0D%0A</g>%0D%0A<circle cx="96.6863" cy="13.6848" r="12.5" fill="%23DC1964" stroke="%23C80250" stroke-width="2"/>%0D%0A<path d="M100.98 6.29301C101.37 5.90249 102.004 5.90249 102.394 6.29302L104.121 8.01955C104.511 8.41008 104.511 9.04324 104.121 9.43376L92.62 20.9345C92.2294 21.325 91.5963 21.325 91.2058 20.9345L89.4792 19.2079C89.0887 18.8174 89.0887 18.1842 89.4792 17.7937L100.98 6.29301Z" fill="white"/>%0D%0A<path d="M92.6199 6.29301C92.2294 5.90249 91.5962 5.90249 91.2057 6.29302L89.4792 8.01955C89.0886 8.41008 89.0886 9.04324 89.4792 9.43376L100.98 20.9345C101.37 21.325 102.004 21.325 102.394 20.9345L104.121 19.2079C104.511 18.8174 104.511 18.1842 104.121 17.7937L92.6199 6.29301Z" fill="white"/>%0D%0A<defs>%0D%0A<filter id="filter0_f_113_8034" x="0.928955" y="62.8152" width="117" height="9" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">%0D%0A<feFlood flood-opacity="0" result="BackgroundImageFix"/>%0D%0A<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>%0D%0A<feGaussianBlur stdDeviation="1" result="effect1_foregroundBlur_113_8034"/>%0D%0A</filter>%0D%0A<linearGradient id="paint0_linear_113_8034" x1="2.92896" y1="67.3152" x2="115.929" y2="67.3152" gradientUnits="userSpaceOnUse">%0D%0A<stop stop-opacity="0"/>%0D%0A<stop offset="0.342341"/>%0D%0A<stop offset="0.694197"/>%0D%0A<stop offset="1" stop-opacity="0"/>%0D%0A</linearGradient>%0D%0A</defs>%0D%0A</svg>%0D%0A';});var V=chunkWO4IQUGO_js.b((c1,T)=>{T.exports='data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M6.11357 10.3867C5.9869 10.3867 5.86023 10.34 5.76023 10.24C5.5669 10.0467 5.5669 9.72666 5.76023 9.53332L9.53357 5.75999C9.7269 5.56666 10.0469 5.56666 10.2402 5.75999C10.4336 5.95332 10.4336 6.27332 10.2402 6.46666L6.4669 10.24C6.37357 10.34 6.24023 10.3867 6.11357 10.3867Z" fill="white"/>%0D%0A<path d="M9.8869 10.3867C9.76023 10.3867 9.63357 10.34 9.53357 10.24L5.76023 6.46666C5.5669 6.27332 5.5669 5.95332 5.76023 5.75999C5.95357 5.56666 6.27357 5.56666 6.4669 5.75999L10.2402 9.53332C10.4336 9.72666 10.4336 10.0467 10.2402 10.24C10.1402 10.34 10.0136 10.3867 9.8869 10.3867Z" fill="white"/>%0D%0A<path d="M10.0002 15.1666H6.00016C2.38016 15.1666 0.833496 13.62 0.833496 9.99998V5.99998C0.833496 2.37998 2.38016 0.833313 6.00016 0.833313H10.0002C13.6202 0.833313 15.1668 2.37998 15.1668 5.99998V9.99998C15.1668 13.62 13.6202 15.1666 10.0002 15.1666ZM6.00016 1.83331C2.92683 1.83331 1.8335 2.92665 1.8335 5.99998V9.99998C1.8335 13.0733 2.92683 14.1666 6.00016 14.1666H10.0002C13.0735 14.1666 14.1668 13.0733 14.1668 9.99998V5.99998C14.1668 2.92665 13.0735 1.83331 10.0002 1.83331H6.00016Z" fill="white"/>%0D%0A</svg>%0D%0A';});var c=chunkWO4IQUGO_js.b((x1,W)=>{W.exports='data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M9.99935 15.8327C13.221 15.8327 15.8327 13.221 15.8327 9.99935C15.8327 6.77769 13.221 4.16602 9.99935 4.16602C6.77769 4.16602 4.16602 6.77769 4.16602 9.99935C4.16602 13.221 6.77769 15.8327 9.99935 15.8327Z" fill="%23FAD832"/>%0D%0A<path d="M10.0007 19.134C9.54232 19.134 9.16732 18.7923 9.16732 18.334V18.2673C9.16732 17.809 9.54232 17.434 10.0007 17.434C10.459 17.434 10.834 17.809 10.834 18.2673C10.834 18.7257 10.459 19.134 10.0007 19.134ZM15.9507 16.784C15.734 16.784 15.5257 16.7007 15.359 16.5423L15.2507 16.434C14.9256 16.109 14.9256 15.584 15.2507 15.259C15.5757 14.934 16.1006 14.934 16.4256 15.259L16.534 15.3673C16.859 15.6923 16.859 16.2173 16.534 16.5423C16.3757 16.7007 16.1673 16.784 15.9507 16.784ZM4.05065 16.784C3.83398 16.784 3.62565 16.7007 3.45898 16.5423C3.13398 16.2173 3.13398 15.6923 3.45898 15.3673L3.56732 15.259C3.89232 14.934 4.41732 14.934 4.74232 15.259C5.06732 15.584 5.06732 16.109 4.74232 16.434L4.63398 16.5423C4.47565 16.7007 4.25898 16.784 4.05065 16.784ZM18.334 10.834H18.2673C17.809 10.834 17.434 10.459 17.434 10.0007C17.434 9.54232 17.809 9.16732 18.2673 9.16732C18.7257 9.16732 19.134 9.54232 19.134 10.0007C19.134 10.459 18.7923 10.834 18.334 10.834ZM1.73398 10.834H1.66732C1.20898 10.834 0.833984 10.459 0.833984 10.0007C0.833984 9.54232 1.20898 9.16732 1.66732 9.16732C2.12565 9.16732 2.53398 9.54232 2.53398 10.0007C2.53398 10.459 2.19232 10.834 1.73398 10.834ZM15.8423 4.99232C15.6257 4.99232 15.4173 4.90898 15.2507 4.75065C14.9256 4.42565 14.9256 3.90065 15.2507 3.57565L15.359 3.46732C15.684 3.14232 16.209 3.14232 16.534 3.46732C16.859 3.79232 16.859 4.31732 16.534 4.64232L16.4256 4.75065C16.2673 4.90898 16.059 4.99232 15.8423 4.99232ZM4.15898 4.99232C3.94232 4.99232 3.73398 4.90898 3.56732 4.75065L3.45898 4.63398C3.13398 4.30898 3.13398 3.78398 3.45898 3.45898C3.78398 3.13398 4.30898 3.13398 4.63398 3.45898L4.74232 3.56732C5.06732 3.89232 5.06732 4.41732 4.74232 4.74232C4.58398 4.90898 4.36732 4.99232 4.15898 4.99232ZM10.0007 2.53398C9.54232 2.53398 9.16732 2.19232 9.16732 1.73398V1.66732C9.16732 1.20898 9.54232 0.833984 10.0007 0.833984C10.459 0.833984 10.834 1.20898 10.834 1.66732C10.834 2.12565 10.459 2.53398 10.0007 2.53398Z" fill="%23FAD832"/>%0D%0A</svg>%0D%0A';});var x=chunkWO4IQUGO_js.b((B1,X)=>{X.exports='data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M2.55523 3.58833C3.40887 2.6725 4.63057 2.15137 6.09459 2.15137H13.9045C15.3723 2.15137 16.5944 2.67232 17.4475 3.58848C18.2975 4.50129 18.75 5.77253 18.75 7.22209V12.7788C18.75 14.2284 18.2975 15.4997 17.4473 16.4125C16.5942 17.3287 15.3718 17.8496 13.9036 17.8496H6.09459C4.62678 17.8496 3.40487 17.3286 2.552 16.4124C1.70228 15.4996 1.25 14.2283 1.25 12.7788V7.22209C1.25 5.77206 1.70461 4.50091 2.55523 3.58833ZM15.3818 7.87013C14.2052 6.6935 12.297 6.6938 11.1198 7.86991C9.94317 9.04651 9.94325 10.9549 11.1193 12.1322C12.2966 13.3083 14.2052 13.309 15.3818 12.1324C15.6259 11.8883 15.6259 11.4926 15.3818 11.2485C15.1377 11.0044 14.742 11.0044 14.498 11.2485C13.8098 11.9367 12.6929 11.937 12.0035 11.2485C11.315 10.5592 11.3153 9.44243 12.0033 8.75426C12.6927 8.06547 13.8097 8.06578 14.498 8.75401C14.742 8.99809 15.1377 8.99809 15.3818 8.75401C15.6259 8.50993 15.6259 8.1142 15.3818 7.87013ZM6.20435 8.75418C6.82578 8.12609 7.81564 8.06998 8.50817 8.59601C8.783 8.80484 9.17508 8.75126 9.38392 8.47634C9.59267 8.20151 9.53917 7.80943 9.26425 7.60063C8.08371 6.70387 6.39041 6.79115 5.31802 7.87269C4.13522 9.04651 4.13905 10.9558 5.31813 12.1348C6.38998 13.2067 8.08122 13.2941 9.26117 12.4091C9.53733 12.202 9.59333 11.8103 9.38617 11.5342C9.17908 11.258 8.78733 11.202 8.51117 11.4091C7.81732 11.9295 6.82387 11.8728 6.20202 11.251C5.50798 10.5569 5.51106 9.44084 6.19987 8.75859L6.20435 8.75418Z" fill="white"/>%0D%0A</svg>%0D%0A';});var B=chunkWO4IQUGO_js.b((k1,Y)=>{Y.exports='data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M15.381 8.54529C15.1369 8.78953 14.7409 8.78953 14.4976 8.54529C13.8092 7.85699 12.6919 7.85699 12.0025 8.54529C11.3144 9.23362 11.3144 10.3511 12.0025 11.0403C12.6919 11.7286 13.8092 11.7278 14.4976 11.0403C14.7409 10.7961 15.1369 10.7961 15.381 11.0403C15.6252 11.2836 15.6252 11.6795 15.381 11.9236C14.2043 13.1003 12.2959 13.1003 11.1192 11.9245L11.513 11.5297L11.1184 11.9236C9.94278 10.7461 9.94278 8.83779 11.1184 7.66193L11.561 8.10362L11.1192 7.66112C12.2959 6.48528 14.2043 6.48528 15.381 7.66193C15.6252 7.90526 15.6252 8.30112 15.381 8.54529Z" fill="white"/>%0D%0A<path d="M9.38535 11.3253C9.59285 11.6019 9.53668 11.9936 9.26002 12.2003C8.08 13.0853 6.38933 12.9978 5.31755 11.9261C4.13753 10.7461 4.13428 8.83527 5.31917 7.66191C6.39218 6.58251 8.08366 6.49553 9.26368 7.39193C9.53835 7.60108 9.5916 7.99277 9.38327 8.26779C9.17418 8.54277 8.78268 8.5961 8.50768 8.38777C7.81511 7.86109 6.82512 7.9178 6.20337 8.54527L6.1993 8.55026C5.51001 9.23193 5.50757 10.3486 6.20092 11.0428C6.82348 11.6644 7.81673 11.7211 8.5101 11.2003C8.78677 10.9936 9.1786 11.0494 9.38535 11.3253Z" fill="white"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M6.09432 1.73438C4.57862 1.73438 3.29932 2.2752 2.40169 3.23772C1.50936 4.19521 1.04102 5.52023 1.04102 7.01356V12.5702C1.04102 14.0627 1.50692 15.3877 2.39844 16.346C3.29525 17.3085 4.57454 17.8494 6.09432 17.8494H13.9028C15.4225 17.8494 16.7026 17.3085 17.5994 16.346C18.4909 15.3877 18.9577 14.0627 18.9577 12.5702V7.01356C18.9577 5.52105 18.4909 4.19608 17.5994 3.23772C16.7026 2.2752 15.4234 1.73438 13.9036 1.73438H6.09432ZM2.29102 7.01356C2.29102 5.77938 2.67513 4.77774 3.31682 4.09023C3.9528 3.40689 4.88786 2.98438 6.09432 2.98438H13.9036C15.1145 2.98438 16.0492 3.4077 16.6843 4.08937C17.3243 4.77688 17.7077 5.77938 17.7077 7.01356V12.5702C17.7077 13.8044 17.3243 14.8069 16.6843 15.4935C16.0492 16.176 15.1137 16.5994 13.9028 16.5994H6.09432C4.88338 16.5994 3.94832 16.176 3.31356 15.4944C2.67432 14.8069 2.29102 13.8044 2.29102 12.5702V7.01356Z" fill="white"/>%0D%0A</svg>%0D%0A';});var k=chunkWO4IQUGO_js.b((m1,$)=>{$.exports='data:image/svg+xml,<svg width="18" height="17" viewBox="0 0 18 17" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path d="M14.382 7.54529C14.1378 7.78953 13.7419 7.78953 13.4986 7.54529C12.8102 6.85699 11.6928 6.85699 11.0035 7.54529C10.3154 8.23362 10.3154 9.35112 11.0035 10.0403C11.6928 10.7286 12.8102 10.7278 13.4986 10.0403C13.7419 9.79612 14.1378 9.79612 14.382 10.0403C14.6262 10.2836 14.6262 10.6795 14.382 10.9236C13.2053 12.1003 11.2969 12.1003 10.1202 10.9245L10.514 10.5297L10.1193 10.9236C8.94376 9.74612 8.94376 7.83779 10.1193 6.66193L10.562 7.10362L10.1202 6.66112C11.2969 5.48528 13.2053 5.48528 14.382 6.66193C14.6262 6.90526 14.6262 7.30112 14.382 7.54529Z" fill="black" fill-opacity="0.5"/>%0D%0A<path d="M8.38633 10.3253C8.59383 10.6019 8.53766 10.9936 8.26099 11.2003C7.08098 12.0853 5.3903 11.9978 4.31853 10.9261C3.13851 9.7461 3.13525 7.83527 4.32015 6.66191C5.39315 5.58251 7.08463 5.49553 8.26466 6.39193C8.53933 6.60108 8.59258 6.99277 8.38424 7.26779C8.17516 7.54277 7.78366 7.5961 7.50866 7.38777C6.81608 6.86109 5.82609 6.9178 5.20434 7.54527L5.20028 7.55026C4.51098 8.23193 4.50854 9.3486 5.2019 10.0428C5.82446 10.6644 6.81771 10.7211 7.51108 10.2003C7.78774 9.9936 8.17958 10.0494 8.38633 10.3253Z" fill="black" fill-opacity="0.5"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M5.09529 0.734375C3.57959 0.734375 2.30029 1.2752 1.40267 2.23772C0.510334 3.19521 0.0419922 4.52023 0.0419922 6.01356V11.5702C0.0419922 13.0627 0.507892 14.3877 1.39942 15.346C2.29623 16.3085 3.57552 16.8494 5.09529 16.8494H12.9037C14.4235 16.8494 15.7036 16.3085 16.6004 15.346C17.4919 14.3877 17.9587 13.0627 17.9587 11.5702V6.01356C17.9587 4.52105 17.4919 3.19608 16.6004 2.23772C15.7036 1.2752 14.4243 0.734375 12.9046 0.734375H5.09529ZM1.29199 6.01356C1.29199 4.77938 1.67611 3.77774 2.31779 3.09023C2.95378 2.40689 3.88883 1.98438 5.09529 1.98438H12.9046C14.1155 1.98438 15.0502 2.4077 15.6853 3.08937C16.3253 3.77688 16.7087 4.77938 16.7087 6.01356V11.5702C16.7087 12.8044 16.3253 13.8069 15.6853 14.4935C15.0502 15.176 14.1147 15.5994 12.9037 15.5994H5.09529C3.88436 15.5994 2.9493 15.176 2.31453 14.4944C1.67529 13.8069 1.29199 12.8044 1.29199 11.5702V6.01356Z" fill="black" fill-opacity="0.5"/>%0D%0A</svg>%0D%0A';});var m=chunkWO4IQUGO_js.b((q1,C1)=>{C1.exports='data:image/svg+xml,<svg width="25" height="26" viewBox="0 0 25 26" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M12.5 2.43953C6.66743 2.43953 1.94002 7.16694 1.94002 12.9995C1.94002 18.831 6.66751 23.5595 12.5 23.5595C18.3326 23.5595 23.06 18.831 23.06 12.9995C23.06 7.16694 18.3326 2.43953 12.5 2.43953ZM0.0200195 12.9995C0.0200195 6.10656 5.60705 0.519531 12.5 0.519531C19.3929 0.519531 24.98 6.10656 24.98 12.9995C24.98 19.8912 19.3931 25.4795 12.5 25.4795C5.60698 25.4795 0.0200195 19.8912 0.0200195 12.9995Z" fill="black" fill-opacity="0.9"/>%0D%0A<path d="M13.4975 8.43508C13.4975 7.8828 13.0498 7.43508 12.4975 7.43508C11.9453 7.43508 11.4975 7.8828 11.4975 8.43508V13.8035C11.4975 14.3559 11.9453 14.8035 12.4975 14.8035C13.0498 14.8035 13.4975 14.3559 13.4975 13.8035V8.43508Z" fill="black" fill-opacity="0.65"/>%0D%0A<path d="M13.5026 17.464C13.5026 16.9117 13.0549 16.464 12.5026 16.464C11.9503 16.464 11.5026 16.9117 11.5026 17.464V17.564C11.5026 18.1163 11.9503 18.564 12.5026 18.564C13.0549 18.564 13.5026 18.1163 13.5026 17.564V17.464Z" fill="black" fill-opacity="0.65"/>%0D%0A</svg>%0D%0A';});var q=chunkWO4IQUGO_js.b((y1,l1)=>{l1.exports='data:image/svg+xml,<svg width="15" height="14" viewBox="0 0 15 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M6.98673 3.45328C5.02945 3.45328 3.43985 5.04288 3.43985 7.00017C3.43985 8.96168 5.02914 10.547 6.98673 10.547C8.20053 10.547 9.27214 9.94073 9.91132 9.01421C10.0431 8.82331 10.3047 8.77531 10.4956 8.90703C10.6865 9.03879 10.7345 9.30037 10.6028 9.49127C9.81265 10.6364 8.48691 11.387 6.98673 11.387C4.56585 11.387 2.59985 9.4262 2.59985 7.00017C2.59985 4.57896 4.56553 2.61328 6.98673 2.61328C9.37249 2.61328 11.313 4.51392 11.378 6.88464C11.3843 7.11648 11.2016 7.30963 10.9697 7.31595C10.7378 7.32234 10.5447 7.1395 10.5383 6.90766C10.4857 4.99031 8.91615 3.45328 6.98673 3.45328Z" fill="%23B71C3C"/>%0D%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M12.1436 4.42717C12.3572 4.5175 12.4572 4.76393 12.3669 4.97757L11.4663 7.10758C11.3759 7.32122 11.1295 7.42118 10.9159 7.33085L8.79765 6.43524C8.58401 6.34491 8.48405 6.09851 8.57438 5.88487C8.66471 5.6712 8.91111 5.57123 9.12475 5.66156L10.8562 6.39363L11.5932 4.65045C11.6835 4.4368 11.93 4.33684 12.1436 4.42717Z" fill="%23B71C3C"/>%0D%0A</svg>%0D%0A';});chunkWO4IQUGO_js.e();var e1={fullScreen:e(),nonFullScreen:i(),settings:t(),bigPlay:d(),bigPause:h(),mute:o(),unMute:w(),backward15:r(),forward15:n(),chevronLeft:f(),pictureInPicture:p(),lock:s(),unlock:v(),arrowLeft:g(),speed:a(),speed1:u(),tick:M(),qualitySetting:L(),qualitySetting1:H(),notFound:Z(),closeSquare:V(),sun:c(),subtitleFill:x(),subtitleOutline:B(),subtitleOutlineGray:k(),infoCircle:m(),rotateRed:q()},b1=e1;
|
|
2
|
+
exports.a=b1;//# sourceMappingURL=chunk-5FTEBU6O.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-5FTEBU6O.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/videoPlayerLibrary/images/importImages.ts"],"names":["init_cjs_shims","IMAGES","importImages_default"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/videoPlayerLibrary/images/importImages.ts"],"names":["init_cjs_shims","IMAGES","importImages_default"],"mappings":"u+nDAAAA,kBAAA,EAAA,CAAA,IAAMC,EAAc,CAAA,CAChB,UAAY,CAAA,CAAA,EAAA,CACZ,aAAe,CAAA,CAAA,EAAA,CACf,QAAU,CAAA,CAAA,EAAA,CACV,OAAS,CAAA,CAAA,EAAA,CACT,QAAU,CAAA,CAAA,EAAA,CACV,IAAM,CAAA,CAAA,EAAA,CACN,MAAQ,CAAA,CAAA,EAAA,CACR,UAAY,CAAA,CAAA,EAAA,CACZ,SAAW,CAAA,CAAA,EAAA,CACX,WAAa,CAAA,CAAA,EAAA,CACb,gBAAkB,CAAA,CAAA,EAAA,CAClB,IAAM,CAAA,CAAA,EAAA,CACN,MAAQ,CAAA,CAAA,EAAA,CACR,UAAW,CACX,EAAA,CAAA,KAAA,CAAO,CACP,EAAA,CAAA,MAAA,CAAQ,CACR,EAAA,CAAA,IAAA,CAAM,CACN,EAAA,CAAA,cAAA,CAAgB,CAChB,EAAA,CAAA,eAAA,CAAiB,CACjB,EAAA,CAAA,QAAA,CAAU,CACV,EAAA,CAAA,WAAA,CAAa,CACb,EAAA,CAAA,GAAA,CAAK,CACL,EAAA,CAAA,YAAA,CAAc,CACd,EAAA,CAAA,eAAA,CAAiB,CACjB,EAAA,CAAA,mBAAA,CAAqB,CACrB,EAAA,CAAA,UAAA,CAAY,CACZ,EAAA,CAAA,SAAA,CAAW,CACf,EAAA,CAAA,CAEOC,EAAQD,CAAAA","file":"chunk-5FTEBU6O.js","sourcesContent":["const IMAGES: any = {\r\n fullScreen: require(\"./svg/FullScreen.svg\"),\r\n nonFullScreen: require(\"./svg/NonFullScreen.svg\"),\r\n settings: require(\"./svg/Settings.svg\"),\r\n bigPlay: require(\"./svg/BigPlay.svg\"),\r\n bigPause: require(\"./svg/BigPause.svg\"),\r\n mute: require(\"./svg/Mute.svg\"),\r\n unMute: require(\"./svg/UnMute.svg\"),\r\n backward15: require(\"./svg/Backward15.svg\"),\r\n forward15: require(\"./svg/Forward15.svg\"),\r\n chevronLeft: require(\"./svg/ChevronLeft.svg\"),\r\n pictureInPicture: require(\"./svg/PictureInPicture.svg\"),\r\n lock: require(\"./svg/Lock.svg\"),\r\n unlock: require(\"./svg/Unlock.svg\"),\r\n arrowLeft: require(\"./svg/ArrowLeft.svg\"),\r\n speed: require(\"./svg/Speed.svg\"),\r\n speed1: require(\"./svg/Speed1.svg\"),\r\n tick: require(\"./svg/Tick.svg\"),\r\n qualitySetting: require(\"./svg/QualitySetting.svg\"),\r\n qualitySetting1: require(\"./svg/QualitySetting1.svg\"),\r\n notFound: require(\"./svg/NotFound.svg\"),\r\n closeSquare: require(\"./svg/CloseSquare.svg\"),\r\n sun: require(\"./svg/Sun.svg\"),\r\n subtitleFill: require(\"./svg/SubtitleFill.svg\"),\r\n subtitleOutline: require(\"./svg/SubtitleOutline.svg\"),\r\n subtitleOutlineGray: require(\"./svg/SubtitleOutlineGray.svg\"),\r\n infoCircle: require(\"./svg/InfoCircle.svg\"),\r\n rotateRed: require(\"./svg/RotateRed.svg\"),\r\n};\r\n\r\nexport default IMAGES;\r\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
'use strict';var chunkVIQ5L73J_js=require('./chunk-VIQ5L73J.js'),chunkHME64W2O_js=require('./chunk-HME64W2O.js'),chunk5FTEBU6O_js=require('./chunk-5FTEBU6O.js'),chunkWO4IQUGO_js=require('./chunk-WO4IQUGO.js'),react=require('react'),reactRedux=require('react-redux'),useDoubleTap=require('use-double-tap'),u=require('next/legacy/image'),jsxRuntime=require('react/jsx-runtime');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var u__default=/*#__PURE__*/_interopDefault(u);chunkWO4IQUGO_js.e();var j=1e3,H=({type:r,isRightDoubleTouched:F,isLeftDoubleTouched:g,setIsRightDoubleTouched:d,setIsLeftDoubleTouched:s})=>{let[c,f]=react.useState(15),[x,m]=react.useState(false),i=react.useRef(c),M=chunkHME64W2O_js.ga(),{duration:q}=chunkHME64W2O_js.ha(({controller:{currentTime:a,duration:n}})=>({currentTime:a,duration:n}),reactRedux.shallowEqual),{videoElementSizeInfo:B}=chunkHME64W2O_js.ha(({videoData:{videoElementSizeInfo:a,params:n}})=>({videoElementSizeInfo:a,params:n}),reactRedux.shallowEqual),p=react.useRef(null);react.useEffect(()=>{i.current=c;},[c]);let N;N=useDoubleTap.useDoubleTap(a=>{["touchBackward","touchForward"].includes(r)&&(a.stopPropagation(),r==="touchBackward"&&s?s(true):r==="touchForward"&&d&&d(true),clearTimeout(p.current),p.current=setTimeout(()=>m(true),j));},200),react.useEffect(()=>{x&&(m(false),M(chunkHME64W2O_js.f(false)),F&&d?(d(false),chunkHME64W2O_js.ia().duration-chunkHME64W2O_js.ia().currentTime<=i.current?chunkVIQ5L73J_js.e(r,chunkHME64W2O_js.ia().duration):chunkVIQ5L73J_js.e(r,i.current),f(15)):g&&s&&(s(false),chunkHME64W2O_js.ia().currentTime<=i.current?chunkVIQ5L73J_js.e(r,0):chunkVIQ5L73J_js.e(r,i.current),f(15)));},[x]);let z=a=>{f(n=>n+15),chunkHME64W2O_js.fa("isTouchScreenLandscape")&&chunkHME64W2O_js.W(a,r),clearTimeout(p.current),p.current=setTimeout(()=>m(true),j);},w;return ["backward","forward"].includes(r)?w=jsxRuntime.jsx("div",{className:`${!chunkHME64W2O_js.fa("isTouchScreen")&&"hover:pl-scale-125"} pl-transition-transform pl-ease-in-out pl-cursor-pointer ${r==="backward"&&(chunkHME64W2O_js.ia().currentTime>=15?"pl-opacity-100":"pl-opacity-30 pl-cursor-default hover:pl-scale-100")} ${r==="forward"&&(q-chunkHME64W2O_js.ia().currentTime>=15?"pl-opacity-100":"pl-opacity-30 pl-cursor-default hover:pl-scale-100")}}`,onContextMenu:a=>a.preventDefault(),children:jsxRuntime.jsx(u__default.default,{alt:r==="backward"?"backward-icon":"forward-icon",src:r==="backward"?chunk5FTEBU6O_js.a.backward15:chunk5FTEBU6O_js.a.forward15,width:24,height:24,onClick:()=>chunkVIQ5L73J_js.e(r,c),onDoubleClick:a=>a.stopPropagation()})}):["touchBackward","touchForward"].includes(r)&&(w=jsxRuntime.jsx("div",{id:r,className:`pl-relative pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-overflow-hidden ${r==="touchBackward"?"pl-rounded-r-full":"pl-rounded-l-full"}`,style:{width:B.width,height:B.width},...N,children:(F||g)&&jsxRuntime.jsxs("div",{className:"pl-w-full pl-h-full pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-p-5 pl-bg-secondary-100/[0.3]",onTouchStart:z,children:[jsxRuntime.jsxs("div",{className:`${r==="touchBackward"?"pl-arrow-left":"pl-arrow-right pl-gap-2"} pl-flex pl-justify-center pl-items-center`,children:[jsxRuntime.jsx(u__default.default,{alt:"arrow-left-icon",src:chunk5FTEBU6O_js.a.arrowLeft,className:`${r==="touchForward"&&"pl-rotate-180"}`,width:24,height:24}),jsxRuntime.jsx(u__default.default,{alt:"arrow-left-icon",src:chunk5FTEBU6O_js.a.arrowLeft,className:`${r==="touchForward"&&"pl-rotate-180"}`,width:24,height:24}),jsxRuntime.jsx(u__default.default,{alt:"arrow-left-icon",src:chunk5FTEBU6O_js.a.arrowLeft,className:`${r==="touchForward"&&"pl-rotate-180"}`,width:24,height:24})]}),jsxRuntime.jsxs("p",{className:"pl-text-center pl-text-[14px] pl-font-normal pl-text-white",children:[c," \u062B\u0627\u0646\u06CC\u0647"]})]})})),jsxRuntime.jsx(jsxRuntime.Fragment,{children:w})},y=H;exports.a=y;//# sourceMappingURL=chunk-7GSH5XMZ.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-7GSH5XMZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/videoPlayerLibrary/components/custom-components/backwardForward/backwardForward.tsx"],"names":["init_cjs_shims","hideTime","BackwardForward","type","isRightDoubleTouched","isLeftDoubleTouched","setIsRightDoubleTouched","setIsLeftDoubleTouched","backwardForwardCount","setBackwardForwardCount","useState","hide","setHide","backwardForwardCountRef","useRef","dispatch","useAppDispatch","duration","useAppSelector","currentTime","shallowEqual","videoElementSizeInfo","params","timeoutRef","useEffect","doubleTouch","useDoubleTap","event","setActiveElements","mainPlayerVideoTag","handleBackwardForward","handleTouchStart","prev","conditions","handleRippleCircle","component","jsx","Image","importImages_default","jsxs","Fragment","backwardForward_default"],"mappings":"weAAAA,kBAAA,EAAA,KAcMC,CAAW,CAAA,GAAA,CAEXC,CAAkB,CAAA,CAAC,CACrB,IAAA,CAAAC,CACA,CAAA,oBAAA,CAAAC,CACA,CAAA,mBAAA,CAAAC,CACA,CAAA,uBAAA,CAAAC,CACA,CAAA,sBAAA,CAAAC,CACJ,CAA6B,GAAA,CACzB,GAAM,CAACC,CAAsBC,CAAAA,CAAuB,CAAIC,CAAAA,cAAAA,CAAiB,EAAE,CAAA,CACrE,CAACC,CAAAA,CAAMC,CAAO,CAAA,CAAIF,eAAkB,KAAK,CAAA,CACzCG,CAA0BC,CAAAA,YAAAA,CAAeN,CAAoB,CAAA,CAE7DO,EAAWC,mBAAe,EAAA,CAC1B,CAAE,QAAA,CAAAC,CAAS,CAAA,CAAIC,oBAAe,CAAC,CAAE,UAAY,CAAA,CAAE,WAAAC,CAAAA,CAAAA,CAAa,QAAAF,CAAAA,CAAS,CAAE,CAAA,IAAO,CAAE,WAAA,CAAAE,CAAa,CAAA,QAAA,CAAAF,CAAS,CAAIG,CAAAA,CAAAA,uBAAY,CACtH,CAAA,CAAE,oBAAAC,CAAAA,CAAqB,CAAIH,CAAAA,mBAAAA,CAC7B,CAAC,CAAE,SAAW,CAAA,CAAE,oBAAAG,CAAAA,CAAAA,CAAsB,OAAAC,CAAO,CAAE,CAAO,IAAA,CAAE,oBAAAD,CAAAA,CAAAA,CAAsB,MAAAC,CAAAA,CAAO,CACrFF,CAAAA,CAAAA,uBACJ,CAEMG,CAAAA,CAAAA,CAAaT,YAAY,CAAA,IAAI,EAEnCU,eAAU,CAAA,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C,kBAAA,CAAA,CACG,GAAI,CAAA,iBAAA,CACJ,GAAKC,CAAAA,kBAAAA,CAAO,SACZ,CAAA,SAAA,CAAW,GAAGnC,CAAS,GAAA,cAAA,EAAkB,eAAe,CAAA,CAAA,CACxD,KAAO,CAAA,EAAA,CACP,MAAQ,CAAA,EAAA,CACZ,CACJ,CAAA,CAAA,CAAA,CACAoC,eAAC,CAAA,GAAA,CAAA,CAAE,SAAU,CAAA,4DAAA,CAA8D,UAAA/B,CAAqB,CAAA,iCAAA,CAAA,CAAM,CAC1G,CAAA,CAAA,CAAA,CAER,CAID4B,CAAAA,CAAAA,cAAAA,CAAAI,mBAAA,CAAA,CAAG,QAAAL,CAAAA,CAAAA,CAAU,CACxB,CAAA,CAEOM,CAAQvC,CAAAA","file":"chunk-TTR6HY3N.js","sourcesContent":["import { useEffect, useRef, useState } from \"react\";\r\nimport { shallowEqual } from \"react-redux\";\r\nimport { useDoubleTap } from \"use-double-tap\";\r\nimport { useAppDispatch, useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport { IBackwardForwardProps } from \"../../../helpers/interfaces/interfaces\";\r\nimport { setActiveElements } from \"../../../helpers/redux/slices/controllerSlice\";\r\nimport { handleBackwardForward } from \"../../../helpers/redux/actions/controller.actions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { handleRippleCircle } from \"../../../helpers/helpers\";\r\nimport IMAGES from \"../../../images/importImages\";\r\nimport Image from \"next/legacy/image\";\r\nimport { mainPlayerVideoTag } from \"../../../helpers/constants\";\r\n\r\nconst hideTime = 1000;\r\n\r\nconst BackwardForward = ({\r\n type,\r\n isRightDoubleTouched,\r\n isLeftDoubleTouched,\r\n setIsRightDoubleTouched,\r\n setIsLeftDoubleTouched\r\n}: IBackwardForwardProps) => {\r\n const [backwardForwardCount, setBackwardForwardCount] = useState<number>(15);\r\n const [hide, setHide] = useState<boolean>(false);\r\n const backwardForwardCountRef = useRef<number>(backwardForwardCount);\r\n\r\n const dispatch = useAppDispatch();\r\n const { duration } = useAppSelector(({ controller: { currentTime, duration } }) => ({ currentTime, duration }), shallowEqual);\r\n const { videoElementSizeInfo } = useAppSelector(\r\n ({ videoData: { videoElementSizeInfo, params } }) => ({ videoElementSizeInfo, params }),\r\n shallowEqual\r\n );\r\n\r\n const timeoutRef = useRef<any>(null);\r\n\r\n useEffect(() => {\r\n backwardForwardCountRef.current = backwardForwardCount;\r\n }, [backwardForwardCount]);\r\n\r\n let doubleTouch: any = undefined;\r\n\r\n doubleTouch = useDoubleTap((event) => {\r\n if ([\"touchBackward\", \"touchForward\"].includes(type)) {\r\n event.stopPropagation();\r\n if (type === \"touchBackward\" && setIsLeftDoubleTouched) setIsLeftDoubleTouched(true);\r\n else if (type === \"touchForward\" && setIsRightDoubleTouched) setIsRightDoubleTouched(true);\r\n clearTimeout(timeoutRef.current);\r\n timeoutRef.current = setTimeout(() => setHide(true), hideTime);\r\n }\r\n }, 200);\r\n\r\n useEffect(() => {\r\n if (hide) {\r\n setHide(false);\r\n dispatch(setActiveElements(false));\r\n if (isRightDoubleTouched && setIsRightDoubleTouched) {\r\n setIsRightDoubleTouched(false);\r\n if (mainPlayerVideoTag().duration - mainPlayerVideoTag().currentTime <= backwardForwardCountRef.current) handleBackwardForward(type, mainPlayerVideoTag().duration);\r\n else handleBackwardForward(type, backwardForwardCountRef.current);\r\n setBackwardForwardCount(15);\r\n } else if (isLeftDoubleTouched && setIsLeftDoubleTouched) {\r\n setIsLeftDoubleTouched(false);\r\n if (mainPlayerVideoTag().currentTime <= backwardForwardCountRef.current) handleBackwardForward(type, 0);\r\n else handleBackwardForward(type, backwardForwardCountRef.current);\r\n setBackwardForwardCount(15);\r\n }\r\n }\r\n }, [hide]);\r\n\r\n const handleTouchStart = (event: any) => {\r\n setBackwardForwardCount((prev) => prev + 15);\r\n if (conditions(ConditionName.isTouchScreenLandscape)) handleRippleCircle(event, type);\r\n clearTimeout(timeoutRef.current);\r\n timeoutRef.current = setTimeout(() => setHide(true), hideTime);\r\n };\r\n\r\n let component;\r\n\r\n if ([\"backward\", \"forward\"].includes(type)) {\r\n component = (\r\n <div\r\n className={`${\r\n !conditions(ConditionName.isTouchScreen) && \"hover:pl-scale-125\"\r\n } pl-transition-transform pl-ease-in-out pl-cursor-pointer ${\r\n type === \"backward\" && (mainPlayerVideoTag().currentTime >= 15 ? \"pl-opacity-100\" : \"pl-opacity-30 pl-cursor-default hover:pl-scale-100\")\r\n } ${\r\n type === \"forward\" &&\r\n (duration - mainPlayerVideoTag().currentTime >= 15 ? \"pl-opacity-100\" : \"pl-opacity-30 pl-cursor-default hover:pl-scale-100\")\r\n }}`}\r\n onContextMenu={(event) => event.preventDefault()}\r\n >\r\n <Image\r\n alt={type === \"backward\" ? \"backward-icon\" : \"forward-icon\"}\r\n src={type === \"backward\" ? IMAGES.backward15 : IMAGES.forward15}\r\n width={24} \r\n height={24}\r\n onClick={() => handleBackwardForward(type, backwardForwardCount)}\r\n onDoubleClick={(event: any) => event.stopPropagation()}\r\n />\r\n </div>\r\n );\r\n } else if ([\"touchBackward\", \"touchForward\"].includes(type)) {\r\n component = (\r\n <div\r\n id={type}\r\n className={`pl-relative pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-overflow-hidden ${\r\n type === \"touchBackward\" ? \"pl-rounded-r-full\" : \"pl-rounded-l-full\"\r\n }`}\r\n style={{ width: videoElementSizeInfo.width, height: videoElementSizeInfo.width }}\r\n {...doubleTouch}\r\n >\r\n {(isRightDoubleTouched || isLeftDoubleTouched) && (\r\n <div\r\n className={`pl-w-full pl-h-full pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-p-5 pl-bg-secondary-100/[0.3]`}\r\n onTouchStart={handleTouchStart}\r\n >\r\n <div\r\n className={`${\r\n type === \"touchBackward\" ? \"pl-arrow-left\" : \"pl-arrow-right pl-gap-2\"\r\n } pl-flex pl-justify-center pl-items-center`}\r\n >\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n </div>\r\n <p className=\"pl-text-center pl-text-[14px] pl-font-normal pl-text-white\">{backwardForwardCount} ثانیه</p>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n\r\n return <>{component}</>;\r\n};\r\n\r\nexport default BackwardForward;\r\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/videoPlayerLibrary/components/custom-components/backwardForward/backwardForward.tsx"],"names":["init_cjs_shims","hideTime","BackwardForward","type","isRightDoubleTouched","isLeftDoubleTouched","setIsRightDoubleTouched","setIsLeftDoubleTouched","backwardForwardCount","setBackwardForwardCount","useState","hide","setHide","backwardForwardCountRef","useRef","dispatch","useAppDispatch","duration","useAppSelector","currentTime","shallowEqual","videoElementSizeInfo","params","timeoutRef","useEffect","doubleTouch","useDoubleTap","event","setActiveElements","mainPlayerVideoTag","handleBackwardForward","handleTouchStart","prev","conditions","handleRippleCircle","component","jsx","Image","importImages_default","jsxs","Fragment","backwardForward_default"],"mappings":"weAAAA,kBAAA,EAAA,KAcMC,CAAW,CAAA,GAAA,CAEXC,CAAkB,CAAA,CAAC,CACrB,IAAA,CAAAC,CACA,CAAA,oBAAA,CAAAC,CACA,CAAA,mBAAA,CAAAC,CACA,CAAA,uBAAA,CAAAC,CACA,CAAA,sBAAA,CAAAC,CACJ,CAA6B,GAAA,CACzB,GAAM,CAACC,CAAsBC,CAAAA,CAAuB,CAAIC,CAAAA,cAAAA,CAAiB,EAAE,C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r\nimport { shallowEqual } from \"react-redux\";\r\nimport { useDoubleTap } from \"use-double-tap\";\r\nimport { useAppDispatch, useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport { IBackwardForwardProps } from \"../../../helpers/interfaces/interfaces\";\r\nimport { setActiveElements } from \"../../../helpers/redux/slices/controllerSlice\";\r\nimport { handleBackwardForward } from \"../../../helpers/redux/actions/controller.actions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { handleRippleCircle } from \"../../../helpers/helpers\";\r\nimport IMAGES from \"../../../images/importImages\";\r\nimport Image from \"next/legacy/image\";\r\nimport { mainPlayerVideoTag } from \"../../../helpers/constants\";\r\n\r\nconst hideTime = 1000;\r\n\r\nconst BackwardForward = ({\r\n type,\r\n isRightDoubleTouched,\r\n isLeftDoubleTouched,\r\n setIsRightDoubleTouched,\r\n setIsLeftDoubleTouched\r\n}: IBackwardForwardProps) => {\r\n const [backwardForwardCount, setBackwardForwardCount] = useState<number>(15);\r\n const [hide, setHide] = useState<boolean>(false);\r\n const backwardForwardCountRef = useRef<number>(backwardForwardCount);\r\n\r\n const dispatch = useAppDispatch();\r\n const { duration } = useAppSelector(({ controller: { currentTime, duration } }) => ({ currentTime, duration }), shallowEqual);\r\n const { videoElementSizeInfo } = useAppSelector(\r\n ({ videoData: { videoElementSizeInfo, params } }) => ({ videoElementSizeInfo, params }),\r\n shallowEqual\r\n );\r\n\r\n const timeoutRef = useRef<any>(null);\r\n\r\n useEffect(() => {\r\n backwardForwardCountRef.current = backwardForwardCount;\r\n }, [backwardForwardCount]);\r\n\r\n let doubleTouch: any = undefined;\r\n\r\n doubleTouch = useDoubleTap((event) => {\r\n if ([\"touchBackward\", \"touchForward\"].includes(type)) {\r\n event.stopPropagation();\r\n if (type === \"touchBackward\" && setIsLeftDoubleTouched) setIsLeftDoubleTouched(true);\r\n else if (type === \"touchForward\" && setIsRightDoubleTouched) setIsRightDoubleTouched(true);\r\n clearTimeout(timeoutRef.current);\r\n timeoutRef.current = setTimeout(() => setHide(true), hideTime);\r\n }\r\n }, 200);\r\n\r\n useEffect(() => {\r\n if (hide) {\r\n setHide(false);\r\n dispatch(setActiveElements(false));\r\n if (isRightDoubleTouched && setIsRightDoubleTouched) {\r\n setIsRightDoubleTouched(false);\r\n if (mainPlayerVideoTag().duration - mainPlayerVideoTag().currentTime <= backwardForwardCountRef.current) handleBackwardForward(type, mainPlayerVideoTag().duration);\r\n else handleBackwardForward(type, backwardForwardCountRef.current);\r\n setBackwardForwardCount(15);\r\n } else if (isLeftDoubleTouched && setIsLeftDoubleTouched) {\r\n setIsLeftDoubleTouched(false);\r\n if (mainPlayerVideoTag().currentTime <= backwardForwardCountRef.current) handleBackwardForward(type, 0);\r\n else handleBackwardForward(type, backwardForwardCountRef.current);\r\n setBackwardForwardCount(15);\r\n }\r\n }\r\n }, [hide]);\r\n\r\n const handleTouchStart = (event: any) => {\r\n setBackwardForwardCount((prev) => prev + 15);\r\n if (conditions(ConditionName.isTouchScreenLandscape)) handleRippleCircle(event, type);\r\n clearTimeout(timeoutRef.current);\r\n timeoutRef.current = setTimeout(() => setHide(true), hideTime);\r\n };\r\n\r\n let component;\r\n\r\n if ([\"backward\", \"forward\"].includes(type)) {\r\n component = (\r\n <div\r\n className={`${\r\n !conditions(ConditionName.isTouchScreen) && \"hover:pl-scale-125\"\r\n } pl-transition-transform pl-ease-in-out pl-cursor-pointer ${\r\n type === \"backward\" && (mainPlayerVideoTag().currentTime >= 15 ? \"pl-opacity-100\" : \"pl-opacity-30 pl-cursor-default hover:pl-scale-100\")\r\n } ${\r\n type === \"forward\" &&\r\n (duration - mainPlayerVideoTag().currentTime >= 15 ? \"pl-opacity-100\" : \"pl-opacity-30 pl-cursor-default hover:pl-scale-100\")\r\n }}`}\r\n onContextMenu={(event) => event.preventDefault()}\r\n >\r\n <Image\r\n alt={type === \"backward\" ? \"backward-icon\" : \"forward-icon\"}\r\n src={type === \"backward\" ? IMAGES.backward15 : IMAGES.forward15}\r\n width={24} \r\n height={24}\r\n onClick={() => handleBackwardForward(type, backwardForwardCount)}\r\n onDoubleClick={(event: any) => event.stopPropagation()}\r\n />\r\n </div>\r\n );\r\n } else if ([\"touchBackward\", \"touchForward\"].includes(type)) {\r\n component = (\r\n <div\r\n id={type}\r\n className={`pl-relative pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-overflow-hidden ${\r\n type === \"touchBackward\" ? \"pl-rounded-r-full\" : \"pl-rounded-l-full\"\r\n }`}\r\n style={{ width: videoElementSizeInfo.width, height: videoElementSizeInfo.width }}\r\n {...doubleTouch}\r\n >\r\n {(isRightDoubleTouched || isLeftDoubleTouched) && (\r\n <div\r\n className={`pl-w-full pl-h-full pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-p-5 pl-bg-secondary-100/[0.3]`}\r\n onTouchStart={handleTouchStart}\r\n >\r\n <div\r\n className={`${\r\n type === \"touchBackward\" ? \"pl-arrow-left\" : \"pl-arrow-right pl-gap-2\"\r\n } pl-flex pl-justify-center pl-items-center`}\r\n >\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n </div>\r\n <p className=\"pl-text-center pl-text-[14px] pl-font-normal pl-text-white\">{backwardForwardCount} ثانیه</p>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n\r\n return <>{component}</>;\r\n};\r\n\r\nexport default BackwardForward;\r\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {e as e$1}from'./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import {e as e$1}from'./chunk-PJVN7RKN.mjs';import {ga,ha,f,ia,fa,W}from'./chunk-YZYTKWCY.mjs';import {a}from'./chunk-TM66GJCG.mjs';import {e}from'./chunk-NXC6LNWJ.mjs';import {useState,useRef,useEffect}from'react';import {shallowEqual}from'react-redux';import {useDoubleTap}from'use-double-tap';import u from'next/legacy/image';import {jsx,jsxs,Fragment}from'react/jsx-runtime';e();var j=1e3,H=({type:r,isRightDoubleTouched:F,isLeftDoubleTouched:g,setIsRightDoubleTouched:d,setIsLeftDoubleTouched:s})=>{let[c,f$1]=useState(15),[x,m]=useState(false),i=useRef(c),M=ga(),{duration:q}=ha(({controller:{currentTime:a,duration:n}})=>({currentTime:a,duration:n}),shallowEqual),{videoElementSizeInfo:B}=ha(({videoData:{videoElementSizeInfo:a,params:n}})=>({videoElementSizeInfo:a,params:n}),shallowEqual),p=useRef(null);useEffect(()=>{i.current=c;},[c]);let N;N=useDoubleTap(a=>{["touchBackward","touchForward"].includes(r)&&(a.stopPropagation(),r==="touchBackward"&&s?s(true):r==="touchForward"&&d&&d(true),clearTimeout(p.current),p.current=setTimeout(()=>m(true),j));},200),useEffect(()=>{x&&(m(false),M(f(false)),F&&d?(d(false),ia().duration-ia().currentTime<=i.current?e$1(r,ia().duration):e$1(r,i.current),f$1(15)):g&&s&&(s(false),ia().currentTime<=i.current?e$1(r,0):e$1(r,i.current),f$1(15)));},[x]);let z=a=>{f$1(n=>n+15),fa("isTouchScreenLandscape")&&W(a,r),clearTimeout(p.current),p.current=setTimeout(()=>m(true),j);},w;return ["backward","forward"].includes(r)?w=jsx("div",{className:`${!fa("isTouchScreen")&&"hover:pl-scale-125"} pl-transition-transform pl-ease-in-out pl-cursor-pointer ${r==="backward"&&(ia().currentTime>=15?"pl-opacity-100":"pl-opacity-30 pl-cursor-default hover:pl-scale-100")} ${r==="forward"&&(q-ia().currentTime>=15?"pl-opacity-100":"pl-opacity-30 pl-cursor-default hover:pl-scale-100")}}`,onContextMenu:a=>a.preventDefault(),children:jsx(u,{alt:r==="backward"?"backward-icon":"forward-icon",src:r==="backward"?a.backward15:a.forward15,width:24,height:24,onClick:()=>e$1(r,c),onDoubleClick:a=>a.stopPropagation()})}):["touchBackward","touchForward"].includes(r)&&(w=jsx("div",{id:r,className:`pl-relative pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-overflow-hidden ${r==="touchBackward"?"pl-rounded-r-full":"pl-rounded-l-full"}`,style:{width:B.width,height:B.width},...N,children:(F||g)&&jsxs("div",{className:"pl-w-full pl-h-full pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-p-5 pl-bg-secondary-100/[0.3]",onTouchStart:z,children:[jsxs("div",{className:`${r==="touchBackward"?"pl-arrow-left":"pl-arrow-right pl-gap-2"} pl-flex pl-justify-center pl-items-center`,children:[jsx(u,{alt:"arrow-left-icon",src:a.arrowLeft,className:`${r==="touchForward"&&"pl-rotate-180"}`,width:24,height:24}),jsx(u,{alt:"arrow-left-icon",src:a.arrowLeft,className:`${r==="touchForward"&&"pl-rotate-180"}`,width:24,height:24}),jsx(u,{alt:"arrow-left-icon",src:a.arrowLeft,className:`${r==="touchForward"&&"pl-rotate-180"}`,width:24,height:24})]}),jsxs("p",{className:"pl-text-center pl-text-[14px] pl-font-normal pl-text-white",children:[c," \u062B\u0627\u0646\u06CC\u0647"]})]})})),jsx(Fragment,{children:w})},rr=H;export{rr as a};//# sourceMappingURL=chunk-A7MEJC4F.mjs.map
|
|
2
|
+
//# sourceMappingURL=chunk-A7MEJC4F.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/videoPlayerLibrary/components/custom-components/backwardForward/backwardForward.tsx"],"names":["init_esm_shims","hideTime","BackwardForward","type","isRightDoubleTouched","isLeftDoubleTouched","setIsRightDoubleTouched","setIsLeftDoubleTouched","backwardForwardCount","setBackwardForwardCount","useState","hide","setHide","backwardForwardCountRef","useRef","dispatch","useAppDispatch","duration","useAppSelector","currentTime","shallowEqual","videoElementSizeInfo","params","timeoutRef","useEffect","doubleTouch","useDoubleTap","event","setActiveElements","mainPlayerVideoTag","handleBackwardForward","handleTouchStart","prev","conditions","handleRippleCircle","component","jsx","Image","importImages_default","jsxs","Fragment","backwardForward_default"],"mappings":"2XAAAA,CAAA,EAAA,KAcMC,CAAW,CAAA,GAAA,CAEXC,CAAkB,CAAA,CAAC,CACrB,IAAA,CAAAC,CACA,CAAA,oBAAA,CAAAC,CACA,CAAA,mBAAA,CAAAC,CACA,CAAA,uBAAA,CAAAC,CACA,CAAA,sBAAA,CAAAC,CACJ,CAA6B,GAAA,CACzB,GAAM,CAACC,CAAsBC,CAAAA,GAAuB,CAAIC,CAAAA,QAAAA,CAAiB,EAAE,CAAA,CACrE,CAACC,CAAAA,CAAMC,CAAO,CAAA,CAAIF,SAAkB,KAAK,CAAA,CACzCG,CAA0BC,CAAAA,MAAAA,CAAeN,CAAoB,CAAA,CAE7DO,EAAWC,EAAe,EAAA,CAC1B,CAAE,QAAA,CAAAC,CAAS,CAAA,CAAIC,GAAe,CAAC,CAAE,UAAY,CAAA,CAAE,WAAAC,CAAAA,CAAAA,CAAa,QAAAF,CAAAA,CAAS,CAAE,CAAA,IAAO,CAAE,WAAA,CAAAE,CAAa,CAAA,QAAA,CAAAF,CAAS,CAAIG,CAAAA,CAAAA,YAAY,CACtH,CAAA,CAAE,oBAAAC,CAAAA,CAAqB,CAAIH,CAAAA,EAAAA,CAC7B,CAAC,CAAE,SAAW,CAAA,CAAE,oBAAAG,CAAAA,CAAAA,CAAsB,OAAAC,CAAO,CAAE,CAAO,IAAA,CAAE,oBAAAD,CAAAA,CAAAA,CAAsB,MAAAC,CAAAA,CAAO,CACrFF,CAAAA,CAAAA,YACJ,CAEMG,CAAAA,CAAAA,CAAaT,MAAY,CAAA,IAAI,EAEnCU,SAAU,CAAA,IAAM,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AAA,CACJ,GAAKC,CAAAA,CAAAA,CAAO,SACZ,CAAA,SAAA,CAAW,GAAGnC,CAAS,GAAA,cAAA,EAAkB,eAAe,CAAA,CAAA,CACxD,KAAO,CAAA,EAAA,CACP,MAAQ,CAAA,EAAA,CACZ,CACJ,CAAA,CAAA,CAAA,CACAoC,IAAC,CAAA,GAAA,CAAA,CAAE,SAAU,CAAA,4DAAA,CAA8D,UAAA/B,CAAqB,CAAA,iCAAA,CAAA,CAAM,CAC1G,CAAA,CAAA,CAAA,CAER,CAID4B,CAAAA,CAAAA,GAAAA,CAAAI,QAAA,CAAA,CAAG,QAAAL,CAAAA,CAAAA,CAAU,CACxB,CAAA,CAEOM,EAAQvC,CAAAA","file":"chunk-4SCALKDT.mjs","sourcesContent":["import { useEffect, useRef, useState } from \"react\";\r\nimport { shallowEqual } from \"react-redux\";\r\nimport { useDoubleTap } from \"use-double-tap\";\r\nimport { useAppDispatch, useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport { IBackwardForwardProps } from \"../../../helpers/interfaces/interfaces\";\r\nimport { setActiveElements } from \"../../../helpers/redux/slices/controllerSlice\";\r\nimport { handleBackwardForward } from \"../../../helpers/redux/actions/controller.actions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { handleRippleCircle } from \"../../../helpers/helpers\";\r\nimport IMAGES from \"../../../images/importImages\";\r\nimport Image from \"next/legacy/image\";\r\nimport { mainPlayerVideoTag } from \"../../../helpers/constants\";\r\n\r\nconst hideTime = 1000;\r\n\r\nconst BackwardForward = ({\r\n type,\r\n isRightDoubleTouched,\r\n isLeftDoubleTouched,\r\n setIsRightDoubleTouched,\r\n setIsLeftDoubleTouched\r\n}: IBackwardForwardProps) => {\r\n const [backwardForwardCount, setBackwardForwardCount] = useState<number>(15);\r\n const [hide, setHide] = useState<boolean>(false);\r\n const backwardForwardCountRef = useRef<number>(backwardForwardCount);\r\n\r\n const dispatch = useAppDispatch();\r\n const { duration } = useAppSelector(({ controller: { currentTime, duration } }) => ({ currentTime, duration }), shallowEqual);\r\n const { videoElementSizeInfo } = useAppSelector(\r\n ({ videoData: { videoElementSizeInfo, params } }) => ({ videoElementSizeInfo, params }),\r\n shallowEqual\r\n );\r\n\r\n const timeoutRef = useRef<any>(null);\r\n\r\n useEffect(() => {\r\n backwardForwardCountRef.current = backwardForwardCount;\r\n }, [backwardForwardCount]);\r\n\r\n let doubleTouch: any = undefined;\r\n\r\n doubleTouch = useDoubleTap((event) => {\r\n if ([\"touchBackward\", \"touchForward\"].includes(type)) {\r\n event.stopPropagation();\r\n if (type === \"touchBackward\" && setIsLeftDoubleTouched) setIsLeftDoubleTouched(true);\r\n else if (type === \"touchForward\" && setIsRightDoubleTouched) setIsRightDoubleTouched(true);\r\n clearTimeout(timeoutRef.current);\r\n timeoutRef.current = setTimeout(() => setHide(true), hideTime);\r\n }\r\n }, 200);\r\n\r\n useEffect(() => {\r\n if (hide) {\r\n setHide(false);\r\n dispatch(setActiveElements(false));\r\n if (isRightDoubleTouched && setIsRightDoubleTouched) {\r\n setIsRightDoubleTouched(false);\r\n if (mainPlayerVideoTag().duration - mainPlayerVideoTag().currentTime <= backwardForwardCountRef.current) handleBackwardForward(type, mainPlayerVideoTag().duration);\r\n else handleBackwardForward(type, backwardForwardCountRef.current);\r\n setBackwardForwardCount(15);\r\n } else if (isLeftDoubleTouched && setIsLeftDoubleTouched) {\r\n setIsLeftDoubleTouched(false);\r\n if (mainPlayerVideoTag().currentTime <= backwardForwardCountRef.current) handleBackwardForward(type, 0);\r\n else handleBackwardForward(type, backwardForwardCountRef.current);\r\n setBackwardForwardCount(15);\r\n }\r\n }\r\n }, [hide]);\r\n\r\n const handleTouchStart = (event: any) => {\r\n setBackwardForwardCount((prev) => prev + 15);\r\n if (conditions(ConditionName.isTouchScreenLandscape)) handleRippleCircle(event, type);\r\n clearTimeout(timeoutRef.current);\r\n timeoutRef.current = setTimeout(() => setHide(true), hideTime);\r\n };\r\n\r\n let component;\r\n\r\n if ([\"backward\", \"forward\"].includes(type)) {\r\n component = (\r\n <div\r\n className={`${\r\n !conditions(ConditionName.isTouchScreen) && \"hover:pl-scale-125\"\r\n } pl-transition-transform pl-ease-in-out pl-cursor-pointer ${\r\n type === \"backward\" && (mainPlayerVideoTag().currentTime >= 15 ? \"pl-opacity-100\" : \"pl-opacity-30 pl-cursor-default hover:pl-scale-100\")\r\n } ${\r\n type === \"forward\" &&\r\n (duration - mainPlayerVideoTag().currentTime >= 15 ? \"pl-opacity-100\" : \"pl-opacity-30 pl-cursor-default hover:pl-scale-100\")\r\n }}`}\r\n onContextMenu={(event) => event.preventDefault()}\r\n >\r\n <Image\r\n alt={type === \"backward\" ? \"backward-icon\" : \"forward-icon\"}\r\n src={type === \"backward\" ? IMAGES.backward15 : IMAGES.forward15}\r\n width={24} \r\n height={24}\r\n onClick={() => handleBackwardForward(type, backwardForwardCount)}\r\n onDoubleClick={(event: any) => event.stopPropagation()}\r\n />\r\n </div>\r\n );\r\n } else if ([\"touchBackward\", \"touchForward\"].includes(type)) {\r\n component = (\r\n <div\r\n id={type}\r\n className={`pl-relative pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-overflow-hidden ${\r\n type === \"touchBackward\" ? \"pl-rounded-r-full\" : \"pl-rounded-l-full\"\r\n }`}\r\n style={{ width: videoElementSizeInfo.width, height: videoElementSizeInfo.width }}\r\n {...doubleTouch}\r\n >\r\n {(isRightDoubleTouched || isLeftDoubleTouched) && (\r\n <div\r\n className={`pl-w-full pl-h-full pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-p-5 pl-bg-secondary-100/[0.3]`}\r\n onTouchStart={handleTouchStart}\r\n >\r\n <div\r\n className={`${\r\n type === \"touchBackward\" ? \"pl-arrow-left\" : \"pl-arrow-right pl-gap-2\"\r\n } pl-flex pl-justify-center pl-items-center`}\r\n >\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n </div>\r\n <p className=\"pl-text-center pl-text-[14px] pl-font-normal pl-text-white\">{backwardForwardCount} ثانیه</p>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n\r\n return <>{component}</>;\r\n};\r\n\r\nexport default BackwardForward;\r\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/videoPlayerLibrary/components/custom-components/backwardForward/backwardForward.tsx"],"names":["init_esm_shims","hideTime","BackwardForward","type","isRightDoubleTouched","isLeftDoubleTouched","setIsRightDoubleTouched","setIsLeftDoubleTouched","backwardForwardCount","setBackwardForwardCount","useState","hide","setHide","backwardForwardCountRef","useRef","dispatch","useAppDispatch","duration","useAppSelector","currentTime","shallowEqual","videoElementSizeInfo","params","timeoutRef","useEffect","doubleTouch","useDoubleTap","event","setActiveElements","mainPlayerVideoTag","handleBackwardForward","handleTouchStart","prev","conditions","handleRippleCircle","component","jsx","Image","importImages_default","jsxs","Fragment","backwardForward_default"],"mappings":"2XAAAA,CAAA,EAAA,KAcMC,CAAW,CAAA,GAAA,CAEXC,CAAkB,CAAA,CAAC,CACrB,IAAA,CAAAC,CACA,CAAA,oBAAA,CAAAC,CACA,CAAA,mBAAA,CAAAC,CACA,CAAA,uBAAA,CAAAC,CACA,CAAA,sBAAA,CAAAC,CACJ,CAA6B,GAAA,CACzB,GAAM,CAACC,CAAsBC,CAAAA,GAAuB,CAAIC,CAAAA,QAAAA,CAAiB,EAAE,CAAA,CACrE,CAACC,CAAAA,CAAMC,CAAO,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d,QAAAQ,CAAAA,CAAAA,IAAAA,CAAC,KACG,CAAA,CAAA,SAAA,CAAW,CACPpC,EAAAA,CAAAA,GAAS,eAAkB,CAAA,eAAA,CAAkB,yBACjD,CAAA,0CAAA,CAAA,CAEA,QAAAiC,CAAAA,CAAAA,GAAAA,CAACC,CAAA,CAAA,CACG,IAAI,iBACJ,CAAA,GAAA,CAAKC,CAAO,CAAA,SAAA,CACZ,SAAW,CAAA,CAAA,EAAGnC,CAAS,GAAA,cAAA,EAAkB,eAAe,CAAA,CAAA,CACxD,KAAO,CAAA,EAAA,CACP,MAAQ,CAAA,EAAA,CACZ,EACAiC,GAACC,CAAAA,CAAAA,CAAA,CACG,GAAA,CAAI,iBACJ,CAAA,GAAA,CAAKC,EAAO,SACZ,CAAA,SAAA,CAAW,CAAGnC,EAAAA,CAAAA,GAAS,cAAkB,EAAA,eAAe,GACxD,KAAO,CAAA,EAAA,CACP,MAAQ,CAAA,EAAA,CACZ,CACAiC,CAAAA,GAAAA,CAACC,CAAA,CAAA,CACG,GAAI,CAAA,iBAAA,CACJ,GAAKC,CAAAA,CAAAA,CAAO,SACZ,CAAA,SAAA,CAAW,GAAGnC,CAAS,GAAA,cAAA,EAAkB,eAAe,CAAA,CAAA,CACxD,KAAO,CAAA,EAAA,CACP,MAAQ,CAAA,EAAA,CACZ,CACJ,CAAA,CAAA,CAAA,CACAoC,IAAC,CAAA,GAAA,CAAA,CAAE,SAAU,CAAA,4DAAA,CAA8D,UAAA/B,CAAqB,CAAA,iCAAA,CAAA,CAAM,CAC1G,CAAA,CAAA,CAAA,CAER,CAID4B,CAAAA,CAAAA,GAAAA,CAAAI,QAAA,CAAA,CAAG,QAAAL,CAAAA,CAAAA,CAAU,CACxB,CAAA,CAEOM,EAAQvC,CAAAA","file":"chunk-A7MEJC4F.mjs","sourcesContent":["import { useEffect, useRef, useState } from \"react\";\r\nimport { shallowEqual } from \"react-redux\";\r\nimport { useDoubleTap } from \"use-double-tap\";\r\nimport { useAppDispatch, useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport { IBackwardForwardProps } from \"../../../helpers/interfaces/interfaces\";\r\nimport { setActiveElements } from \"../../../helpers/redux/slices/controllerSlice\";\r\nimport { handleBackwardForward } from \"../../../helpers/redux/actions/controller.actions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { handleRippleCircle } from \"../../../helpers/helpers\";\r\nimport IMAGES from \"../../../images/importImages\";\r\nimport Image from \"next/legacy/image\";\r\nimport { mainPlayerVideoTag } from \"../../../helpers/constants\";\r\n\r\nconst hideTime = 1000;\r\n\r\nconst BackwardForward = ({\r\n type,\r\n isRightDoubleTouched,\r\n isLeftDoubleTouched,\r\n setIsRightDoubleTouched,\r\n setIsLeftDoubleTouched\r\n}: IBackwardForwardProps) => {\r\n const [backwardForwardCount, setBackwardForwardCount] = useState<number>(15);\r\n const [hide, setHide] = useState<boolean>(false);\r\n const backwardForwardCountRef = useRef<number>(backwardForwardCount);\r\n\r\n const dispatch = useAppDispatch();\r\n const { duration } = useAppSelector(({ controller: { currentTime, duration } }) => ({ currentTime, duration }), shallowEqual);\r\n const { videoElementSizeInfo } = useAppSelector(\r\n ({ videoData: { videoElementSizeInfo, params } }) => ({ videoElementSizeInfo, params }),\r\n shallowEqual\r\n );\r\n\r\n const timeoutRef = useRef<any>(null);\r\n\r\n useEffect(() => {\r\n backwardForwardCountRef.current = backwardForwardCount;\r\n }, [backwardForwardCount]);\r\n\r\n let doubleTouch: any = undefined;\r\n\r\n doubleTouch = useDoubleTap((event) => {\r\n if ([\"touchBackward\", \"touchForward\"].includes(type)) {\r\n event.stopPropagation();\r\n if (type === \"touchBackward\" && setIsLeftDoubleTouched) setIsLeftDoubleTouched(true);\r\n else if (type === \"touchForward\" && setIsRightDoubleTouched) setIsRightDoubleTouched(true);\r\n clearTimeout(timeoutRef.current);\r\n timeoutRef.current = setTimeout(() => setHide(true), hideTime);\r\n }\r\n }, 200);\r\n\r\n useEffect(() => {\r\n if (hide) {\r\n setHide(false);\r\n dispatch(setActiveElements(false));\r\n if (isRightDoubleTouched && setIsRightDoubleTouched) {\r\n setIsRightDoubleTouched(false);\r\n if (mainPlayerVideoTag().duration - mainPlayerVideoTag().currentTime <= backwardForwardCountRef.current) handleBackwardForward(type, mainPlayerVideoTag().duration);\r\n else handleBackwardForward(type, backwardForwardCountRef.current);\r\n setBackwardForwardCount(15);\r\n } else if (isLeftDoubleTouched && setIsLeftDoubleTouched) {\r\n setIsLeftDoubleTouched(false);\r\n if (mainPlayerVideoTag().currentTime <= backwardForwardCountRef.current) handleBackwardForward(type, 0);\r\n else handleBackwardForward(type, backwardForwardCountRef.current);\r\n setBackwardForwardCount(15);\r\n }\r\n }\r\n }, [hide]);\r\n\r\n const handleTouchStart = (event: any) => {\r\n setBackwardForwardCount((prev) => prev + 15);\r\n if (conditions(ConditionName.isTouchScreenLandscape)) handleRippleCircle(event, type);\r\n clearTimeout(timeoutRef.current);\r\n timeoutRef.current = setTimeout(() => setHide(true), hideTime);\r\n };\r\n\r\n let component;\r\n\r\n if ([\"backward\", \"forward\"].includes(type)) {\r\n component = (\r\n <div\r\n className={`${\r\n !conditions(ConditionName.isTouchScreen) && \"hover:pl-scale-125\"\r\n } pl-transition-transform pl-ease-in-out pl-cursor-pointer ${\r\n type === \"backward\" && (mainPlayerVideoTag().currentTime >= 15 ? \"pl-opacity-100\" : \"pl-opacity-30 pl-cursor-default hover:pl-scale-100\")\r\n } ${\r\n type === \"forward\" &&\r\n (duration - mainPlayerVideoTag().currentTime >= 15 ? \"pl-opacity-100\" : \"pl-opacity-30 pl-cursor-default hover:pl-scale-100\")\r\n }}`}\r\n onContextMenu={(event) => event.preventDefault()}\r\n >\r\n <Image\r\n alt={type === \"backward\" ? \"backward-icon\" : \"forward-icon\"}\r\n src={type === \"backward\" ? IMAGES.backward15 : IMAGES.forward15}\r\n width={24} \r\n height={24}\r\n onClick={() => handleBackwardForward(type, backwardForwardCount)}\r\n onDoubleClick={(event: any) => event.stopPropagation()}\r\n />\r\n </div>\r\n );\r\n } else if ([\"touchBackward\", \"touchForward\"].includes(type)) {\r\n component = (\r\n <div\r\n id={type}\r\n className={`pl-relative pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-overflow-hidden ${\r\n type === \"touchBackward\" ? \"pl-rounded-r-full\" : \"pl-rounded-l-full\"\r\n }`}\r\n style={{ width: videoElementSizeInfo.width, height: videoElementSizeInfo.width }}\r\n {...doubleTouch}\r\n >\r\n {(isRightDoubleTouched || isLeftDoubleTouched) && (\r\n <div\r\n className={`pl-w-full pl-h-full pl-flex pl-flex-col pl-justify-center pl-items-center pl-gap-2 pl-p-5 pl-bg-secondary-100/[0.3]`}\r\n onTouchStart={handleTouchStart}\r\n >\r\n <div\r\n className={`${\r\n type === \"touchBackward\" ? \"pl-arrow-left\" : \"pl-arrow-right pl-gap-2\"\r\n } pl-flex pl-justify-center pl-items-center`}\r\n >\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n <Image\r\n alt=\"arrow-left-icon\"\r\n src={IMAGES.arrowLeft}\r\n className={`${type === \"touchForward\" && \"pl-rotate-180\"}`}\r\n width={24}\r\n height={24}\r\n />\r\n </div>\r\n <p className=\"pl-text-center pl-text-[14px] pl-font-normal pl-text-white\">{backwardForwardCount} ثانیه</p>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n\r\n return <>{component}</>;\r\n};\r\n\r\nexport default BackwardForward;\r\n"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkHME64W2O_js=require('./chunk-HME64W2O.js'),chunkWO4IQUGO_js=require('./chunk-WO4IQUGO.js'),react=require('react'),reactRedux=require('react-redux');chunkWO4IQUGO_js.e();var y=()=>{let m=chunkHME64W2O_js.ga(),{params:e}=chunkHME64W2O_js.ha(({videoData:{params:t}})=>({params:t}),reactRedux.shallowEqual);react.useEffect(()=>{chunkHME64W2O_js.fa("hasCurrentTimeParams")&&(chunkHME64W2O_js.ia().currentTime=e.currentTime,m(chunkHME64W2O_js.c(e.currentTime)));},[e.currentTime]);},P=y;chunkWO4IQUGO_js.e();var h=()=>{let{details:m}=chunkHME64W2O_js.ha(({videoData:{details:e}})=>({details:e}),reactRedux.shallowEqual);react.useEffect(()=>{let e=chunkHME64W2O_js.ia().getElementsByTagName("track");for(let t=0;t<e.length;t++)e[t].addEventListener("cuechange",p=>{let n=p.target.track,s;n.activeCues&&(s=n.activeCues[0]),s&&(setTimeout(()=>{let o=document.getElementById("subtitle-id");o&&(o.style.display="block");},300),s.onexit=()=>{let o=document.getElementById("subtitle-id");o&&(o.style.display="none");});});},[m.subtitles]);},H=h;exports.a=P;exports.b=H;//# sourceMappingURL=chunk-BOS4UPEA.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-BOS4UPEA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/videoPlayerLibrary/helpers/hooks/useJumpToCurrentTime.tsx","../src/videoPlayerLibrary/helpers/hooks/useHideSubtitle.tsx"],"names":["init_cjs_shims","useJumpToCurrentTime","dispatch","useAppDispatch","params","useAppSelector","shallowEqual","useEffect","conditions","mainPlayerVideoTag","setCurrentTime","useJumpToCurrentTime_default","useHideSubtitle","details","tracks","i","event","track","activeCue","el","useHideSubtitle_default"],"mappings":"0KAAAA,kBAAAA,EAAAA,CAQA,IAAMC,CAAuB,CAAA,IAAM,CAC/B,IAAMC,CAAAA,CAAWC,qBACX,CAAA,CAAE,OAAAC,CAAO,CAAA,CAAIC,mBAAe,CAAA,CAAC,CAAE,SAAW,CAAA,CAAE,OAAAD,CAAO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AA,CAAAA,CAAG,MAAM,OAAU,CAAA,MAAA,EAC/B,GAER,CAAC,EAET,EAAG,CAACN,CAAAA,CAAQ,SAAU,CAAC,EAC3B,EAEOO,CAAQR,CAAAA","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/videoPlayerLibrary/helpers/hooks/useJumpToCurrentTime.tsx","../src/videoPlayerLibrary/helpers/hooks/useHideSubtitle.tsx"],"names":["init_cjs_shims","useJumpToCurrentTime","dispatch","useAppDispatch","params","useAppSelector","shallowEqual","useEffect","conditions","mainPlayerVideoTag","setCurrentTime","useJumpToCurrentTime_default","useHideSubtitle","details","tracks","i","event","track","activeCue","el","useHideSubtitle_default"],"mappings":"0KAAAA,kBAAAA,EAAAA,CAQA,IAAMC,CAAuB,CAAA,IAAM,CAC/B,IAAMC,CAAAA,CAAWC,qBACX,CAAA,CAAE,OAAAC,CAAO,CAAA,CAAIC,mBAAe,CAAA,CAAC,CAAE,SAAW,CAAA,CAAE,OAAAD,CAAO,CAAE,KAAO,CAAE,MAAA,CAAAA,CAAO,CAAA,CAAA,CAAIE,uBAAY,CAE3FC,CAAAA,eAAAA,CAAU,IAAM,CACRC,mBAAAA,CAAAA,sBAA6C,IAC/CC,mBAAmB,EAAA,CAAE,WAAcL,CAAAA,CAAAA,CAAO,YAC1CF,CAASQ,CAAAA,kBAAAA,CAAeN,EAAO,WAAY,CAAC,GAElD,CAAG,CAAA,CAACA,CAAO,CAAA,WAAW,CAAC,EAC3B,CAAA,CAEOO,EAAQV,ECpBfD,kBAAAA,EAAAA,KAKMY,CAAkB,CAAA,IAAM,CAE1B,GAAM,CAAE,OAAAC,CAAAA,CAAQ,EAAIR,mBAAe,CAAA,CAAC,CAAE,SAAW,CAAA,CAAE,QAAAQ,CAAQ,CAAE,CAAO,IAAA,CAAC,QAAAA,CAAO,CAAA,CAAA,CAAGP,uBAAY,CAE3FC,CAAAA,eAAAA,CAAU,IAAM,CACZ,IAAMO,CAASL,CAAAA,mBAAAA,GAAqB,oBAAqB,CAAA,OAAO,EAChE,IAASM,IAAAA,CAAAA,CAAI,EAAGA,CAAID,CAAAA,CAAAA,CAAO,MAAQC,CAAAA,CAAAA,EAAAA,CAC/BD,EAAOC,CAAC,CAAA,CAAE,iBAAiB,WAAcC,CAAAA,CAAAA,EAAU,CAC/C,IAAMC,CAAAA,CAASD,CAAM,CAAA,MAAA,CAAgB,MACjCE,CACAD,CAAAA,CAAAA,CAAM,aAAYC,CAAYD,CAAAA,CAAAA,CAAM,WAAW,CAAC,CAAA,CAAA,CAChDC,CACA,GAAA,UAAA,CAAW,IAAM,CACb,IAAMC,EAAK,QAAS,CAAA,cAAA,CAAe,aAAa,CAC5CA,CAAAA,CAAAA,GAAIA,CAAG,CAAA,KAAA,CAAM,QAAU,OAC/B,EAAA,CAAA,CAAG,GAAG,CAEND,CAAAA,CAAAA,CAAU,OAAS,IAAM,CACrB,IAAMC,CAAAA,CAAK,SAAS,cAAe,CAAA,aAAa,EAC5CA,CAAIA,GAAAA,CAAAA,CAAG,MAAM,OAAU,CAAA,MAAA,EAC/B,GAER,CAAC,EAET,EAAG,CAACN,CAAAA,CAAQ,SAAU,CAAC,EAC3B,EAEOO,CAAQR,CAAAA","file":"chunk-BOS4UPEA.js","sourcesContent":["import { useEffect } from \"react\";\r\nimport { conditions } from \"../conditions/conditions\";\r\nimport { ConditionName } from \"../interfaces/enums\";\r\nimport { mainPlayerVideoTag } from \"../constants\";\r\nimport { useAppDispatch, useAppSelector } from \"../redux/hooks\";\r\nimport { setCurrentTime } from \"../redux/slices/controllerSlice\";\r\nimport { shallowEqual } from \"react-redux\";\r\n\r\nconst useJumpToCurrentTime = () => {\r\n const dispatch = useAppDispatch();\r\n const { params } = useAppSelector(({ videoData: { params } }) => ({ params }), shallowEqual);\r\n\r\n useEffect(() => {\r\n if (conditions(ConditionName.hasCurrentTimeParams)) {\r\n mainPlayerVideoTag().currentTime = params.currentTime!;\r\n dispatch(setCurrentTime(params.currentTime!));\r\n }\r\n }, [params.currentTime]);\r\n}\r\n\r\nexport default useJumpToCurrentTime;","import { useEffect } from \"react\";\r\nimport { useAppSelector } from \"../redux/hooks\";\r\nimport { shallowEqual } from \"react-redux\";\r\nimport { mainPlayerVideoTag } from \"../constants\";\r\n\r\nconst useHideSubtitle = () => {\r\n\r\n const { details } = useAppSelector(({ videoData: { details } }) => ({details}),shallowEqual);\r\n\r\n useEffect(() => {\r\n const tracks = mainPlayerVideoTag().getElementsByTagName(\"track\");\r\n for (let i = 0; i < tracks.length; i++) {\r\n tracks[i].addEventListener(\"cuechange\", (event) => {\r\n const track = (event.target! as any).track;\r\n let activeCue: any;\r\n if (track.activeCues) activeCue = track.activeCues[0];\r\n if (activeCue) {\r\n setTimeout(() => {\r\n const el = document.getElementById(\"subtitle-id\");\r\n if (el) el.style.display = \"block\";\r\n }, 300);\r\n\r\n activeCue.onexit = () => {\r\n const el = document.getElementById(\"subtitle-id\");\r\n if (el) el.style.display = \"none\";\r\n };\r\n }\r\n });\r\n }\r\n }, [details.subtitles!]);\r\n}\r\n\r\nexport default useHideSubtitle;"]}
|