diff --git a/docs/main.js b/docs/main.js index 44d47bd..7ebf1d0 100644 --- a/docs/main.js +++ b/docs/main.js @@ -1 +1 @@ -!function(){var e,t,n,r={23509:function(e,t,n){"use strict";var r=n(67294),i=n(20745),a=n(79655),o=n(29439),s=n(85893),c=r.createContext({locale:"en-us",setLocale:function(){},headHeight:0,setHeadHeight:function(){},menuWidth:0,setMenuWidth:function(){},scrollTop:0,setScrollTop:function(){},scrollContentRef:r.createRef(),setScrollContentRef:function(){}}),l=r.createRef(),u=function(e){var t=localStorage.getItem("language")||"en-us",n=(0,r.useState)(t),i=(0,o.Z)(n,2),a=i[0],u=i[1],d=(0,r.useState)(0),m=(0,o.Z)(d,2),f=m[0],g=m[1],p=(0,r.useState)(0),h=(0,o.Z)(p,2),v=h[0],x=h[1],y=(0,r.useState)(0),A=(0,o.Z)(y,2),w=A[0],j=A[1],b=(0,r.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;j(e),l.current&&l.current.scrollTop!==e&&(l.current.scrollTop=e)}),[]);return(0,s.jsx)(c.Provider,{value:{locale:a,headHeight:f,menuWidth:v,scrollTop:w,setLocale:function(e){var t=/^zh\b/.test(e.toLocaleLowerCase())?"zh-cn":"en-us";u(t),localStorage.setItem("language",t)},setHeadHeight:g,setMenuWidth:x,setScrollTop:b,scrollContentRef:l,setScrollContentRef:function(e){e&&(l=e)}},children:e.children})},d=function(){return(0,r.useContext)(c)},m=n(89250),f=n(49089);var g={init:function(){f.ZP.initialize("G-N0W492NWD6")},sendEvent:function(e){f.ZP.event(e)},sendPageview:function(e){f.ZP.send({hitType:"pageview",page:e})}};var p=n(86896),h=n(52758),v=n(13242),x=n(812),y=n(73218),A=function(e){var t=(0,r.useRef)({screenLeft:window.screenLeft,screenTop:window.screenTop}),n=(0,r.useRef)(0),i=function r(){if(t.current){var i=t.current,a=i.screenLeft,o=i.screenTop;if(a!==window.screenLeft||o!==window.screenTop){var s={screenLeft:window.screenLeft,screenTop:window.screenTop};t.current=s,e(s)}}n.current=window.requestAnimationFrame(r)};return(0,r.useEffect)((function(){return n.current=window.requestAnimationFrame(i),function(){n.current&&window.cancelAnimationFrame(n.current)}}),[]),t.current},w=window.location.host.includes("localhost")||window.location.host.includes("127.0.0.1"),j=function(e,t,n,i,a){var s=(0,r.useRef)(Math.random().toString(36).substring(2)),c=(0,r.useState)(null),l=(0,o.Z)(c,2),u=l[0],d=l[1],m=(0,r.useRef)(""),f=(0,r.useRef)(!1),g=(0,r.useRef)(0),p=(0,r.useRef)(0),h=function(){var e=0,t=0;if(null!=a&&a.current){var n=a.current.getBoundingClientRect(),r=n.top,i=n.left,o=n.width,c=n.height;e=i+window.screenLeft+o/2,t=r+window.screenTop+c/2}else e=window.innerWidth/2+window.screenLeft,t=window.innerHeight/2+window.screenTop;return{pageId:s.current,x:e,y:t}},v=(0,r.useCallback)((function(){var e=h(),t=window.localStorage.getItem(n);if(t){var r=JSON.parse(t);if(r&&r.length>0){var i=JSON.parse(t).filter((function(e){return e.pageId!==s.current}));i.unshift(e),window.localStorage.setItem(n,JSON.stringify(i))}else window.localStorage.setItem(n,JSON.stringify([e]))}else window.localStorage.setItem(n,JSON.stringify([e]))}),[]),x=(0,r.useCallback)((function(){var e=window.localStorage.getItem(n);if(e){var t=JSON.parse(e);if(t&&t.length>0){var r=JSON.parse(e).filter((function(e){return e.pageId===m.current}));window.localStorage.setItem(n,JSON.stringify(r))}}}),[]),y=(0,r.useCallback)((function(){if(e&&f.current){var n=document.getElementById(e);if(n){var r,i=h();null===(r=n.contentWindow)||void 0===r||r.postMessage(JSON.stringify(i),t)}}}),[]),j=(0,r.useCallback)((function(){if(e&&f.current){var n=document.getElementById(e);if(n){var r;g.current=0;var a={pageId:s.current,keepAlive:!0,timestamp:(new Date).getTime()};null===(r=n.contentWindow)||void 0===r||r.postMessage(JSON.stringify(a),t),p.current||(p.current=window.setTimeout((function(){p.current=0,window.localStorage.removeItem(i),m.current="",d(null)}),1500))}}}),[]),b=function(e){if(e){var t=JSON.parse(e);if(t&&t.length>0){for(var n=!1,r=0,i=t.length;r28?{eyeballLeft:9*(e-l)/d,eyeballTop:9*(n-u)/d}:{eyeballLeft:0,eyeballTop:0}}return null}),[i]);return(0,s.jsx)("div",{className:M,ref:t,children:o&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:k,children:0===o.eyeballLeft&&0===o.eyeballTop?(0,s.jsx)("div",{className:N}):(0,s.jsx)("div",{className:E,style:{transform:"translate(".concat(o.eyeballLeft,"px, ").concat(o.eyeballTop,"px)")}})}),(0,s.jsx)("div",{className:k,children:0===o.eyeballLeft&&0===o.eyeballTop?(0,s.jsx)("div",{className:N}):(0,s.jsx)("div",{className:E,style:{transform:"translate(".concat(o.eyeballLeft,"px, ").concat(o.eyeballTop,"px)")}})})]})})},S=n.p+"images/235f02ed.jpeg",P=n(4942);function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t=2&&t[1])return[t[1]]}return["html"]}),[n]);return(0,r.useEffect)((function(){h()}),[c]),(0,r.useEffect)((function(){return window.addEventListener("resize",h),function(){window.removeEventListener("resize",h)}}),[]),(0,s.jsxs)("div",{className:ce,ref:f,children:[(0,s.jsxs)("div",{className:le,children:[(0,s.jsx)("div",{className:ue,children:(0,s.jsx)(oe.Z,{type:"primary",onClick:function(){l(!c)},style:{marginBottom:16},children:c?(0,s.jsx)(re.Z,{}):(0,s.jsx)(ie.Z,{})})}),(0,s.jsx)(se.Z,{defaultOpenKeys:x,selectedKeys:v,mode:"inline",theme:"dark",inlineCollapsed:c,items:g,onClick:function(e){var n=e.keyPath.reduce((function(e,t){return e="/".concat(t).concat(e)}),"");t(n)}})]}),(0,s.jsx)("div",{className:me,children:!c&&(0,s.jsx)("span",{children:e.formatMessage({id:"common.keepUpdating"})})})]})},pe="Home_container__RMLhs",he="Home_container_body__-OVNZ",ve="Home_container_content__q7A-W",xe=function(){(function(){var e=(0,m.TH)();r.useEffect((function(){g.init()}),[]),r.useEffect((function(){var t=e.pathname+e.search;g.sendPageview(t)}),[e])})();var e=d(),t=e.setScrollTop,n=e.setScrollContentRef,i=(0,m.V$)(cb),a=(0,m.TH)(),o=(0,m.s0)(),c=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=a.pathname;e&&"/"!==e||o("/html/visualDesign")}),[a]),(0,r.useEffect)((function(){n(c)}),[]),(0,s.jsxs)("div",{className:pe,children:[(0,s.jsx)(W,{}),(0,s.jsxs)("div",{className:he,children:[(0,s.jsx)(ge,{}),(0,s.jsx)("div",{className:ve,onScroll:function(){var e;t(null===(e=c.current)||void 0===e?void 0:e.scrollTop)},ref:c,children:i})]})]})},ye=n(94184),Ae=n.n(ye),we={container:"GridContent_container__NO4Vk","gt2000-10":"GridContent_gt2000-10__RE2uy",content:"GridContent_content__69gKN","gt2000-9":"GridContent_gt2000-9__VwNg6","gt2000-8":"GridContent_gt2000-8__aZHuR","gt2000-7":"GridContent_gt2000-7__4aOmt","gt2000-6":"GridContent_gt2000-6__MehF3","gt2000-5":"GridContent_gt2000-5__omS8h","gt2000-4":"GridContent_gt2000-4__0cmEO","gt2000-3":"GridContent_gt2000-3__80YFg","gt2000-2":"GridContent_gt2000-2__hUksd","gt2000-1":"GridContent_gt2000-1__JdP9G","eq1700_2000-10":"GridContent_eq1700_2000-10__v-j8J","eq1700_2000-9":"GridContent_eq1700_2000-9__bxTIf","eq1700_2000-8":"GridContent_eq1700_2000-8__1e7ek","eq1700_2000-7":"GridContent_eq1700_2000-7__1mKDg","eq1700_2000-6":"GridContent_eq1700_2000-6__8I1De","eq1700_2000-5":"GridContent_eq1700_2000-5__aZuE+","eq1700_2000-4":"GridContent_eq1700_2000-4__2XNj+","eq1700_2000-3":"GridContent_eq1700_2000-3__Xd2vl","eq1700_2000-2":"GridContent_eq1700_2000-2__eoPvO","eq1700_2000-1":"GridContent_eq1700_2000-1__RvrMQ","eq1400_1700-10":"GridContent_eq1400_1700-10__XQV+M","eq1400_1700-9":"GridContent_eq1400_1700-9__uLvev","eq1400_1700-8":"GridContent_eq1400_1700-8__Rw4q0","eq1400_1700-7":"GridContent_eq1400_1700-7__EoYy7","eq1400_1700-6":"GridContent_eq1400_1700-6__Avlp5","eq1400_1700-5":"GridContent_eq1400_1700-5__yFmoN","eq1400_1700-4":"GridContent_eq1400_1700-4__jEXj+","eq1400_1700-3":"GridContent_eq1400_1700-3__r3QBa","eq1400_1700-2":"GridContent_eq1400_1700-2__ayZbL","eq1400_1700-1":"GridContent_eq1400_1700-1__26hdp","eq1200_1400-10":"GridContent_eq1200_1400-10__OBpag","eq1200_1400-9":"GridContent_eq1200_1400-9__9dEMp","eq1200_1400-8":"GridContent_eq1200_1400-8__d5kk8","eq1200_1400-7":"GridContent_eq1200_1400-7__qwN-x","eq1200_1400-6":"GridContent_eq1200_1400-6__ol1NV","eq1200_1400-5":"GridContent_eq1200_1400-5__B5RI8","eq1200_1400-4":"GridContent_eq1200_1400-4__+SHwZ","eq1200_1400-3":"GridContent_eq1200_1400-3__pjJ9a","eq1200_1400-2":"GridContent_eq1200_1400-2__xdmba","eq1200_1400-1":"GridContent_eq1200_1400-1__6n2l7","eq500_1200-10":"GridContent_eq500_1200-10__EhvGm","eq500_1200-9":"GridContent_eq500_1200-9__Yvosl","eq500_1200-8":"GridContent_eq500_1200-8__Hs4PY","eq500_1200-7":"GridContent_eq500_1200-7__p1yUT","eq500_1200-6":"GridContent_eq500_1200-6__N0+SP","eq500_1200-5":"GridContent_eq500_1200-5__73c-5","eq500_1200-4":"GridContent_eq500_1200-4__SwI71","eq500_1200-3":"GridContent_eq500_1200-3__+b39n","eq500_1200-2":"GridContent_eq500_1200-2__RowGZ","eq500_1200-1":"GridContent_eq500_1200-1__dK0BP","lt500-10":"GridContent_lt500-10__KVc6r","lt500-9":"GridContent_lt500-9__EdDXq","lt500-8":"GridContent_lt500-8__wqwWv","lt500-7":"GridContent_lt500-7__GiMWq","lt500-6":"GridContent_lt500-6__sHgte","lt500-5":"GridContent_lt500-5__WBqou","lt500-4":"GridContent_lt500-4__ucReZ","lt500-3":"GridContent_lt500-3__Ax3Zt","lt500-2":"GridContent_lt500-2__+Pq9U","lt500-1":"GridContent_lt500-1__T7m7X"},je=function(e){var t,n=e.differentScreenCols,i=e.rowSpace,a=void 0===i?0:i,o=e.colSpace,c=void 0===o?0:o,l=e.className,u=void 0===l?"":l,d=e.children,m=n.map((function(e,t){return e?parseInt(e.toString()).toString():t<=4?"1":""}));return(0,s.jsx)("div",{className:Ae()((t={},(0,P.Z)(t,we.container,!0),(0,P.Z)(t,we["gt2000-".concat(m[0])],!0),(0,P.Z)(t,we["eq1700_2000-".concat(m[1])],!0),(0,P.Z)(t,we["eq1400_1700-".concat(m[2])],!0),(0,P.Z)(t,we["eq1200_1400-".concat(m[3])],!0),(0,P.Z)(t,we["eq500_1200-".concat(m[4])],!0),(0,P.Z)(t,we["lt500-".concat(m[5])],!!m[5]),t)),children:(0,s.jsx)("div",{className:"".concat(we.content," ").concat(u),style:{width:"calc(100% + ".concat(c,"px)"),marginLeft:"".concat(-c/2,"px"),marginRight:"".concat(-c/2,"px")},children:"[object Array]"===Object.prototype.toString.call(d)?d.map((function(e){return r.cloneElement(e,{rowSpace:a,colSpace:c})})):d||null})})};je.GridBox=function(e){var t=e.key,n=e.className,r=e.rowSpace,i=void 0===r?0:r,a=e.colSpace,o=void 0===a?0:a,c=e.children;return(0,s.jsx)("div",{style:{boxSizing:"border-box",width:"100%",padding:"".concat(i/2,"px ").concat(o/2,"px")},className:n,children:c},t)};var be=je,_e="GlassMimicry1_container__3KhAO",De="GlassMimicry1_card__WwxgS",Me="GlassMimicry1_circle__DoolB",ke="GlassMimicry1_rect__Or-6t",Ne=function(){return(0,s.jsxs)("div",{className:_e,children:[(0,s.jsxs)("div",{className:De,children:[(0,s.jsx)("h1",{children:"TiKi Platinum"}),(0,s.jsx)("h2",{children:"6228 8076 2232 8768"}),(0,s.jsx)("h3",{children:"van conf banck"}),(0,s.jsx)("h4",{children:"03 / 29"})]}),(0,s.jsx)("div",{className:Me}),(0,s.jsx)("div",{className:ke})]})},Ee="GlassMimicry2_container__S445M",Ce="GlassMimicry2_card__3l4Ng",Se="GlassMimicry2_circle__VaL67",Pe="GlassMimicry2_rect__qdTWE",Be=function(){return(0,s.jsxs)("div",{className:Ee,children:[(0,s.jsxs)("div",{className:Ce,children:[(0,s.jsx)("h1",{children:"TiKi Platinum"}),(0,s.jsx)("h2",{children:"6228 8076 2232 8768"}),(0,s.jsx)("h3",{children:"van conf banck"}),(0,s.jsx)("h4",{children:"09 / 24"})]}),(0,s.jsx)("div",{className:Se}),(0,s.jsx)("div",{className:Pe})]})},Ie="MixBlendMode_container__Fh1Tw",Te="MixBlendMode_content__0uwYQ",Re=function(){return(0,s.jsx)("div",{className:Ie,children:(0,s.jsx)("div",{className:Te})})},Fe=function(e,t){var n=e.finalText,i=void 0===n?"":n,a=e.textList,c=void 0===a?[]:a,l=e.switchingInterval,u=void 0===l?60:l,d=e.duration,m=void 0===d?1500:d,f=e.className,g=void 0===f?"":f,p=(0,r.useRef)(c.length>0?0:-1),h=(0,r.useState)(-1===p.current?i:c[p.current]||""),v=(0,o.Z)(h,2),x=v[0],y=v[1],A=(0,r.useRef)(0),w=(0,r.useRef)(0),j=(0,r.useRef)(0),b=(0,r.useCallback)((function(){var e=(new Date).getTime();if(e-w.current>=m)y(i),p.current=-1,j.current=e;else if(e-j.current>=u){var t=-1===p.current?0:p.current+1;t>=c.length&&(t=0),y(c[t]),p.current=t,j.current=e}A.current=requestAnimationFrame(b)}),[m]),_=(0,r.useCallback)((function(){var e=(new Date).getTime();w.current=e,j.current=e,A.current=requestAnimationFrame(b)}),[]),D=function(){A.current&&cancelAnimationFrame(A.current),p.current=0,y(c[0]),_()};return(0,r.useImperativeHandle)(t,(function(){return{restart:D}})),(0,r.useEffect)((function(){return _(),function(){A.current&&cancelAnimationFrame(A.current)}}),[]),(0,s.jsx)("span",{className:g,children:x&&x.split("").map((function(e,t){return(0,s.jsx)("span",{children:e},t)}))})},Oe=r.forwardRef(Fe),Ze="SwitchingText_container__9ICqS",Ge="SwitchingText_content__6PttP",Qe="SwitchingText_btn__9UW9Y",Le=function(){var e=(0,r.useRef)(null);return(0,s.jsxs)("div",{className:Ze,children:[(0,s.jsx)(Oe,{className:Ge,finalText:"Hello World",textList:["Tikiw Plati","Wkslc Wbxsw","Xsodu Qwoev","Dewcz Gewoe","Rsero Bokrs","Ckoex Jwclb","Tikiw Plati","Wkslc Wbxsw","Xsodu Qwoeb","Dewcz Gewoe","Rsero Bokrs","Ckoex Jwclb","Haiiw Pavis","Hwlle Ykels","Helic Wexiw","Heiik Mkdie","Helju Qvold","Helim Xkvlc","Hellw Gewie","Hellv Rkels","Hello Bokis","Hello Ceoix","Hello Wwclb","Hello Wzrlm","Hello Woaic","Hello Woxlm","Hello Woriw","Hello Woriv","Hello Worlc","Hello Worle"],duration:1900,ref:e}),(0,s.jsx)(oe.Z,{type:"primary",className:Qe,onClick:function(){var t;null===(t=e.current)||void 0===t||t.restart()},children:"Once Again"})]})},ze=n(13614),He=n.n(ze),Ve="Typed1_container__2a+Le",Ue="Typed1_btn__5+jTK",We=function(){var e=(0,r.useRef)(null),t=(0,r.useRef)(null);return(0,r.useEffect)((function(){return e.current&&(t.current=new(He())(e.current,{strings:["Legends never die"],typeSpeed:60,showCursor:!1})),function(){var e;null===(e=t.current)||void 0===e||e.destroy()}}),[]),(0,s.jsxs)("div",{className:Ve,children:[(0,s.jsx)("p",{ref:e}),(0,s.jsx)(oe.Z,{type:"primary",className:Ue,onClick:function(){var e,n;null===(e=t.current)||void 0===e||e.reset(),null===(n=t.current)||void 0===n||n.start()},children:"Once Again"})]})},Ye="Typed2_container__XvJpL",Je="Typed2_btn__lqx2D",qe=function(){var e=(0,r.useRef)(null),t=(0,r.useRef)(null);return(0,r.useEffect)((function(){return e.current&&(t.current=new(He())(e.current,{strings:["Legan","Legends naver","Legends never die"],typeSpeed:60,showCursor:!1,backSpeed:60,backDelay:0})),function(){var e;null===(e=t.current)||void 0===e||e.destroy()}}),[]),(0,s.jsxs)("div",{className:Ye,children:[(0,s.jsx)("p",{ref:e}),(0,s.jsx)(oe.Z,{type:"primary",className:Je,onClick:function(){var e,n;null===(e=t.current)||void 0===e||e.reset(),null===(n=t.current)||void 0===n||n.start()},children:"Once Again"})]})},Ke=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:400,r=document.createElement("span");r.style.visibility="hidden",r.style.padding="0",r.style.whiteSpace="nowrap",r.style.overflow="visible",r.style.fontSize=t>12?t+"px":"12px",r.style.fontWeight=n.toString(),r.innerText=e,document.body.appendChild(r);var i=r.offsetWidth;return document.body.removeChild(r),i},Xe=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:400,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a="",o="",s="";if(!e||t12?n+"px":"12px",l.style.fontWeight=r.toString(),document.body.appendChild(l);for(var u=0,d=c.length;ut){a=i?o+"...":o;break}}return document.body.removeChild(l),a};function $e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function et(e){for(var t=1;t=100){n.current=0,t(0);var o=document.getElementById("circle");o&&(o.style.strokeDashoffset="".concat(r.toString()))}else n.current=Number((n.current+.1).toFixed(2)),t(Number((n.current+.1).toFixed(2))),r=Math.floor(r-r*n.current/100),a&&(a.style.strokeDashoffset="".concat(r.toString()));i.current=window.requestAnimationFrame(e)};return(0,r.useEffect)((function(){return a(),function(){i.current&&cancelAnimationFrame(i.current)}}),[]),(0,s.jsx)("div",{className:Gt,children:(0,s.jsx)("div",{className:Qt,children:(0,s.jsxs)("div",{className:Lt,children:[(0,s.jsx)("div",{className:zt}),(0,s.jsxs)("svg",{children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("radialGradient",{id:"gradient",cx:"50%",cy:"50%",r:"60%",fx:"50%",fy:"50%",children:[(0,s.jsx)("stop",{offset:"30%",stopColor:"#3cba92"}),(0,s.jsx)("stop",{offset:"100%",stopColor:"#c1dfc4"})]})}),(0,s.jsx)("circle",{stroke:"url(#gradient)",id:"circle"})]}),(0,s.jsx)("div",{className:Ht,children:"".concat(Math.floor(n.current),"%")})]})})})},Ut={container:"AudioLoading_container__LkPXP",content:"AudioLoading_content__Agk5G",span0:"AudioLoading_span0__e1joN",loading:"AudioLoading_loading__Nvgnt",span1:"AudioLoading_span1__KLPUt",span2:"AudioLoading_span2__gOuZh",span3:"AudioLoading_span3__HO3on",span4:"AudioLoading_span4__rFl95",span5:"AudioLoading_span5__Y6BnT",span6:"AudioLoading_span6__jIPUG",span7:"AudioLoading_span7__LmzsW",span8:"AudioLoading_span8__gZg1m",span9:"AudioLoading_span9__BzF4d",span10:"AudioLoading_span10__-p-zh",span11:"AudioLoading_span11__Zse6t",span12:"AudioLoading_span12__Rxrq8",span13:"AudioLoading_span13__21nbh",span14:"AudioLoading_span14__KHro-"},Wt=new Array(15).fill(0),Yt=function(){return(0,s.jsx)("div",{className:Ut.container,children:(0,s.jsx)("div",{className:Ut.content,children:Wt.map((function(e,t){return(0,s.jsx)("span",{className:Ut["span".concat(t)]},t)}))})})},Jt={container:"SudokuImageAnimation_container__66i30",content:"SudokuImageAnimation_content__bY8Mn",item:"SudokuImageAnimation_item__XGZRs",item8:"SudokuImageAnimation_item8__WsYmu",item7:"SudokuImageAnimation_item7__QNe8D",item6:"SudokuImageAnimation_item6__YU2jR",item5:"SudokuImageAnimation_item5__wz8hO",item4:"SudokuImageAnimation_item4__uHQZd",item3:"SudokuImageAnimation_item3__HiACA",item2:"SudokuImageAnimation_item2__yf6pT",item1:"SudokuImageAnimation_item1__W23ZS",item0:"SudokuImageAnimation_item0__rk5Me"},qt=new Array(9).fill(0),Kt=function(){return(0,s.jsx)("div",{className:Jt.container,children:(0,s.jsx)("div",{className:Jt.content,children:qt.map((function(e,t){return(0,s.jsx)("div",{className:Jt["item".concat(t)]},t)}))})})},Xt="TextWrap_container__vVl1N",$t="TextWrap_topText__eHwkJ",en="TextWrap_poly__EwnPy",tn="TextWrap_leftFloat__Uo9rJ",nn="TextWrap_rightFloat__ezXwd",rn=function(){var e=(0,p.Z)().formatMessage({id:"page.htmlVision.visualDesign.quantumEntanglementTip"});return(0,s.jsxs)("div",{className:Xt,children:[(0,s.jsx)("div",{className:$t,children:e.repeat(40)}),(0,s.jsx)("div",{className:"".concat(en," ").concat(tn)}),(0,s.jsx)("div",{className:"".concat(en," ").concat(nn)}),(0,s.jsx)("span",{children:e.repeat(180)})]})},an="WaterDropLogin_container__d6dk7",on="WaterDropLogin_content__jiIiV",sn="WaterDropLogin_drop__Nq7iB",cn="WaterDropLogin_contentBox__nL6ua",ln="WaterDropLogin_inputBox__2oxY0",un="WaterDropLogin_btns__Sil7M",dn="WaterDropLogin_signup__h0wNv",mn=function(){return(0,s.jsx)("div",{className:an,children:(0,s.jsxs)("div",{className:on,children:[(0,s.jsx)("div",{className:sn,children:(0,s.jsxs)("div",{className:cn,children:[(0,s.jsx)("h2",{children:"Sign in"}),(0,s.jsxs)("form",{children:[(0,s.jsx)("div",{className:ln,children:(0,s.jsx)("input",{type:"text",placeholder:"Username"})}),(0,s.jsx)("div",{className:ln,children:(0,s.jsx)("input",{type:"password",placeholder:"Password"})}),(0,s.jsx)("div",{className:ln,children:(0,s.jsx)("input",{type:"submit",value:"Login"})})]})]})}),(0,s.jsxs)("div",{className:un,children:[(0,s.jsx)("span",{children:"Forget"}),(0,s.jsx)("span",{children:"Password"})]}),(0,s.jsx)("div",{className:"".concat(un," ").concat(dn),children:"Signup"})]})})},fn="TextShadow_container__3+vOx",gn="TextShadow_content__ngpOP",pn=function(){var e=(0,p.Z)().formatMessage({id:"page.htmlVision.visualDesign.textShadow"});return(0,s.jsx)("div",{className:fn,children:(0,s.jsx)("div",{className:gn,"data-text":e,children:e})})},hn="HorseRacelamp_container__bVbh9",vn="HorseRacelamp_scroll__kRja6",xn=new Array(4).fill(0),yn=function(){var e=function(){return(0,s.jsx)("span",{children:"Police line do not cross - Police line do not cross - Police line do not cross - Police line do not cross - Police line do not cross - Police line do not cross"})};return(0,s.jsx)("div",{className:hn,children:xn.map((function(t,n){return(0,s.jsxs)("div",{className:vn,children:[e(),e()]},n)}))})},An="HarmonyLogo_container__uTwnw",wn="HarmonyLogo_content__Azar3",jn="HarmonyLogo_top__zSfqW",bn="HarmonyLogo_line__6yj7q",_n="HarmonyLogo_bottom__4ZSOr",Dn=function(){return(0,s.jsxs)("div",{className:An,children:[(0,s.jsxs)("div",{className:wn,children:[(0,s.jsx)("div",{className:jn,children:(0,s.jsx)("div",{className:bn})}),(0,s.jsx)("div",{className:_n})]}),(0,s.jsx)("svg",{children:(0,s.jsxs)("filter",{id:"fractal",filterUnits:"objectBoundingBox",x:"0%",y:"0%",width:"100%",height:"100%",children:[(0,s.jsx)("feTurbulence",{id:"turbulence",type:"fractalNoise",baseFrequency:"0.005 0.005",numOctaves:"10",children:(0,s.jsx)("animate",{attributeName:"baseFrequency",dur:"30s",values:"0.005 0.005;0.05 0.3;0.005 0.005",repeatCount:"indefinite"})}),(0,s.jsx)("feDisplacementMap",{in:"SourceGraphic",scale:"15"})]})})]})},Mn="Preserve3D_container__EZ7l0",kn="Preserve3D_content__yxNQy",Nn="Preserve3D_cubeInner__oYaXM",En="Preserve3D_top__6op2D",Cn="Preserve3D_bottom__Rmjl+",Sn="Preserve3D_front__+CRYT",Pn="Preserve3D_back__-ZjU+",Bn="Preserve3D_left__YYWAD",In="Preserve3D_right__R5Aqm",Tn="Preserve3D_cubeOuter__pwwjS",Rn=function(){return(0,s.jsx)("div",{className:Mn,children:(0,s.jsxs)("div",{className:kn,children:[(0,s.jsxs)("div",{className:Nn,children:[(0,s.jsx)("div",{className:En}),(0,s.jsx)("div",{className:Cn}),(0,s.jsx)("div",{className:Sn}),(0,s.jsx)("div",{className:Pn}),(0,s.jsx)("div",{className:Bn}),(0,s.jsx)("div",{className:In})]}),(0,s.jsxs)("div",{className:Tn,children:[(0,s.jsx)("div",{className:En}),(0,s.jsx)("div",{className:Cn}),(0,s.jsx)("div",{className:Sn}),(0,s.jsx)("div",{className:Pn}),(0,s.jsx)("div",{className:Bn}),(0,s.jsx)("div",{className:In})]})]})})},Fn="RotateAndBgFixed_container__Kc-WW",On="RotateAndBgFixed_box__DkROP",Zn="RotateAndBgFixed_a__Yi0br",Gn="RotateAndBgFixed_b__Vv6J0",Qn="RotateAndBgFixed_c__xgerx",Ln="RotateAndBgFixed_d__d9aYT",zn="RotateAndBgFixed_e__V1OJc",Hn=function(){return(0,s.jsx)("div",{className:Fn,children:(0,s.jsxs)("div",{className:On,children:[(0,s.jsx)("div",{className:Zn,children:(0,s.jsx)("img",{src:kt,alt:""})}),(0,s.jsx)("div",{className:Gn,children:(0,s.jsx)("img",{src:Nt,alt:""})}),(0,s.jsx)("div",{className:Qn,children:(0,s.jsx)("img",{src:Et,alt:""})}),(0,s.jsx)("div",{className:Ln,children:(0,s.jsx)("img",{src:Ct,alt:""})}),(0,s.jsx)("div",{className:zn,children:(0,s.jsx)("img",{src:St,alt:""})})]})})},Vn="HexagonalMesh_container__mdJJ9",Un="HexagonalMesh_item__hVzAo",Wn=new Array(300).fill(0),Yn=function(){return(0,s.jsx)("div",{className:Vn,children:Wn.map((function(e,t){return(0,s.jsx)("div",{className:Un},t)}))})},Jn="HexagonalRadar_container__hFck5",qn="HexagonalRadar_content__sj-0h",Kn="HexagonalRadar_item__IF+DR",Xn="HexagonalRadar_maskBox__SqK8S",$n=new Array(5).fill(0),er=function(){return(0,s.jsxs)("div",{className:Jn,children:[(0,s.jsx)("div",{className:qn,children:$n.map((function(e,t){return(0,s.jsx)("div",{className:Kn},t)}))}),(0,s.jsx)("div",{className:Xn})]})},tr=n.p+"images/d2fa7cd8.png",nr="HoverEnlargement_container__t9rVI",rr=function(){return(0,s.jsx)("div",{className:nr,children:(0,s.jsx)("img",{src:tr,alt:""})})},ir=n(78343),ar=n(79501);function or(e){return e.toString().padStart(2,"0")}var sr,cr=function(e){if(e){var t=e.slice(0,19).replace(/-/g,"/");return e.endsWith("+0000 UTC")?(0,ar.Z)((0,ir.Z)(new Date(t),8),"YYYY/MM/DD HH:mm:ss"):t}return""},lr="ActivityCountDown_container__z9J8Y",ur="ActivityCountDown_num__F1ysh",dr="ActivityCountDown_unit__X1r8-",mr=function(e){var t=e.countParams,n=e.overCallback,i=e.style,a=void 0===i?{}:i,c=t.day,l=void 0===c?59:c,u=t.hour,d=void 0===u?59:u,m=t.minute,f=void 0===m?59:m,g=t.seconds,p=void 0===g?59:g,h=(0,r.useState)({d:l,h:d,m:f,s:p}),v=(0,o.Z)(h,2),x=v[0],y=v[1],A=(0,r.useRef)(x),w=(0,r.useRef)(!0),j=(0,r.useRef)(0),b=function(){if(!w.current){var e=A.current,t=e.d,r=e.h,i=e.m,a=e.s,o=0===r&&0===i&&0===a,s=0===i&&0===a,c=0===a;if(0===t&&0===r&&0===i&&0===a)w.current=!0,n&&n();else if(o){var l={d:t-1,h:23,m:59,s:59};A.current=l,y(l)}else if(s){var u={d:t,h:r-1,m:59,s:59};A.current=u,y(u)}else if(c){var d={d:t,h:r,m:i-1,s:59};A.current=d,y(d)}else{var m={d:t,h:r,m:i,s:a-1};A.current=m,y(m)}}};return(0,r.useEffect)((function(){var e=t.day,r=void 0===e?59:e,i=t.hour,a=void 0===i?59:i,o=t.minute,s=void 0===o?59:o,c=t.seconds,l={d:r,h:a,m:s,s:void 0===c?59:c};A.current=l,y(l),0===l.d&&0===l.h&&0===l.m&&0===l.s?w.current||(w.current=!0,n&&n(),j.current&&(window.clearInterval(j.current),j.current=0)):w.current&&(w.current=!1,j.current=window.setInterval(b,1e3))}),[t]),(0,r.useEffect)((function(){return function(){j.current&&window.clearInterval(j.current)}}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:lr,style:a,children:[(0,s.jsx)("div",{className:ur,children:or(x.d)}),(0,s.jsx)("div",{className:dr,children:"天"}),(0,s.jsx)("div",{className:ur,children:or(x.h)}),(0,s.jsx)("div",{className:dr,children:"时"}),(0,s.jsx)("div",{className:ur,children:or(x.m)}),(0,s.jsx)("div",{className:dr,children:"分"}),(0,s.jsx)("div",{className:ur,children:or(x.s)}),(0,s.jsx)("div",{className:dr,children:"秒"})]})})},fr="ActivityCountDown_container__Nw3or",gr="ActivityCountDown_title__5HUMy",pr=function(){var e=function(e){var t=e.type,n=void 0===t?"ms":t,r=e.startTime,i=void 0===r?"":r,a=e.serverTime,o=void 0===a?0:a,s="s"===n?1e3*Number(o):o;if(!i)return{day:0,hour:0,minute:0,seconds:0,timeRemaining:0};var c="string"==typeof i?cr(i):i,l=new Date(c).getTime()-s;return{day:Math.floor(l/1e3/60/60/24),hour:Math.floor(l/1e3/60/60%24),minute:Math.floor(l/1e3/60%60),seconds:Math.floor(l/1e3%60),timeRemaining:l}}({type:"ms",startTime:(0,ir.Z)(new Date,2).getTime(),serverTime:(new Date).getTime()}),t=(0,r.useState)(!1),n=(0,o.Z)(t,2),i=n[0],a=n[1];return(0,s.jsxs)("div",{className:fr,children:[(0,s.jsx)("div",{className:gr,children:i?"活动正在进行中":"距离活动开始剩余:"}),!i&&(0,s.jsx)(mr,{countParams:e,overCallback:function(){a(!0)},style:{marginTop:"16px"}})]})},hr=n.p+"images/c6bccf3b.png",vr=n.p+"images/71329ec9.jpg",xr="GlassDesign1_container__jIg8H",yr="GlassDesign1_glass__x+jsp",Ar=function(){return(0,s.jsxs)("div",{className:xr,children:[(0,s.jsx)("img",{src:hr,alt:""}),(0,s.jsx)("div",{className:yr}),(0,s.jsx)("svg",{style:{display:"none"},children:(0,s.jsx)("defs",{children:(0,s.jsxs)("filter",{id:"glassFilter1",children:[(0,s.jsx)("feImage",{result:"pict1",xlinkHref:vr,x:"0",y:"0",width:"517",height:"517"}),(0,s.jsx)("feDisplacementMap",{scale:"30",xChannelSelector:"R",yChannelSelector:"R",in2:"pict1",in:"SourceGraphic"})]})})})]})},wr=n.p+"images/3ef61d0d.jpg",jr="GlassDesign2_container__BLEzA",br="GlassDesign2_glass__UZeM9",_r=function(){return(0,s.jsxs)("div",{className:jr,children:[(0,s.jsx)("img",{src:hr,alt:""}),(0,s.jsx)("div",{className:br}),(0,s.jsx)("svg",{style:{display:"none"},children:(0,s.jsx)("defs",{children:(0,s.jsxs)("filter",{id:"glassFilter2",children:[(0,s.jsx)("feImage",{result:"pict1",xlinkHref:wr,x:"0",y:"0",width:"523",height:"330"}),(0,s.jsx)("feDisplacementMap",{scale:"30",xChannelSelector:"R",yChannelSelector:"R",in2:"pict1",in:"SourceGraphic"})]})})})]})},Dr="Ribbon_container__ZOkiq",Mr="Ribbon_ribbon__wI2K8",kr=function(){return(0,s.jsxs)("div",{className:Dr,children:[(0,s.jsx)("div",{className:Mr,style:{"--fontSize":"34px",fontWeight:600},children:"Visualization Collection"}),(0,s.jsxs)("div",{className:Mr,style:{"--fontSize":"28px","--background":"#8A9B0F",fontWeight:500},children:["Visualization Collection ",(0,s.jsx)("br",{})," Visualization Collection"]}),(0,s.jsxs)("div",{className:Mr,style:{"--background":"#45ADA8"},children:["Visualization Collection",(0,s.jsx)("br",{})," Visualization Collection",(0,s.jsx)("br",{})," Visualization Collection"]})]})},Nr="VisualDesign_container__oN2JR",Er="VisualDesign_box__-TYNG",Cr=be.GridBox,Sr=[{element:(0,s.jsx)(Ne,{})},{element:(0,s.jsx)(Be,{})},{element:(0,s.jsx)(Re,{})},{element:(0,s.jsx)(Le,{})},{element:(0,s.jsx)(We,{})},{element:(0,s.jsx)(qe,{})},{element:(0,s.jsx)(rt,{})},{element:(0,s.jsx)(rn,{})},{element:(0,s.jsx)(ut,{})},{element:(0,s.jsx)(ft,{})},{element:(0,s.jsx)(ht,{})},{element:(0,s.jsx)(Mt,{})},{element:(0,s.jsx)(Rt,{})},{element:(0,s.jsx)(Zt,{})},{element:(0,s.jsx)(Vt,{})},{element:(0,s.jsx)(Yt,{})},{element:(0,s.jsx)(ct,{})},{element:(0,s.jsx)(Kt,{})},{element:(0,s.jsx)(mn,{})},{element:(0,s.jsx)(pn,{})},{element:(0,s.jsx)(yn,{})},{element:(0,s.jsx)(Dn,{})},{element:(0,s.jsx)(Rn,{})},{element:(0,s.jsx)(Hn,{})},{element:(0,s.jsx)(Yn,{})},{element:(0,s.jsx)(er,{})},{element:(0,s.jsx)(rr,{})},{element:(0,s.jsx)(pr,{})},{element:(0,s.jsx)(Ar,{})},{element:(0,s.jsx)(_r,{})},{element:(0,s.jsx)(kr,{})}],Pr=function(){var e=d().setScrollTop;return(0,r.useEffect)((function(){e(0)}),[]),(0,s.jsx)("div",{className:Nr,children:(0,s.jsx)(be,{differentScreenCols:[2,2,2,1,1],rowSpace:4,colSpace:4,children:Sr.map((function(e,t){return(0,s.jsx)(Cr,{children:(0,s.jsx)("div",{className:Er,children:e.element})},t)}))})})},Br=[],Ir=function(e){e.data,(0,p.Z)();return null},Tr="ModuleTitle_container__7ZCMv",Rr=function(e){var t=(0,p.Z)(),n=e.intlTitle,r=e.style,i=void 0===r?{}:r;return(0,s.jsx)("div",{className:Tr,style:i,children:t.formatMessage({id:n})})},Fr=n.p+"images/6765fa3b.png",Or="MagnifyingGlass_container__z7+HK",Zr="MagnifyingGlass_content__csBAU",Gr="MagnifyingGlass_smallBox__1rC23",Qr="MagnifyingGlass_mask__kbQ6H",Lr="MagnifyingGlass_floatBox__Msmv9",zr="MagnifyingGlass_bigBox__dtenq",Hr=function(){var e=d(),t=e.scrollTop,n=e.headHeight,i=(0,r.useRef)(null),a=(0,r.useRef)(null),c=(0,r.useRef)(null),l=(0,r.useState)(!1),u=(0,o.Z)(l,2),m=u[0],f=u[1];return(0,s.jsx)("div",{className:Or,children:(0,s.jsxs)("div",{className:Zr,children:[(0,s.jsxs)("div",{className:Gr,ref:i,children:[(0,s.jsx)(Rr,{intlTitle:"page.htmlVision.interactiveDesign.magnifyingGlass",style:{top:"-80px",left:"114%"}}),(0,s.jsx)("div",{className:Qr,onMouseOver:function(){f(!0)},onMouseMove:function(e){var r=Y.findDOMNode(i.current),o=Y.findDOMNode(a.current),s=r.offsetWidth,l=r.offsetHeight,u=o.offsetWidth,d=o.offsetHeight,m=e.clientX-r.offsetLeft-u/2,f=0;m<0?m=0:m>s-u&&(m=s-u),(f=tl-d&&(f=l-d),o.style.left=m+"px",o.style.top=f+"px";var g=m/(s-u),p=f/(l-d),h=Y.findDOMNode(c.current),v=h.children[0];v.style.left=-g*(v.offsetWidth-h.offsetWidth)+"px",v.style.top=-p*(v.offsetHeight-h.offsetHeight)+"px"},onMouseLeave:function(){f(!1)}}),(0,s.jsx)("div",{className:Lr,style:{visibility:m?"visible":"hidden"},ref:a}),(0,s.jsx)("img",{src:Fr})]}),(0,s.jsx)("div",{className:zr,ref:c,children:(0,s.jsx)("img",{src:Fr,style:{visibility:m?"visible":"hidden"}})})]})})},Vr="CropImage_container__agQZ5",Ur="CropImage_leftBox__rxH+K",Wr="CropImage_img1__vvyEU",Yr="CropImage_img2__CuOAQ",Jr="CropImage_cropBox__A4fdb",qr="CropImage_dot__TnuYQ",Kr="CropImage_leftUp__RO+TV",Xr="CropImage_up__fR18N",$r="CropImage_rightUp__5Btk7",ei="CropImage_right__nbAwk",ti="CropImage_rightDown__8vsgu",ni="CropImage_down__0RD60",ri="CropImage_leftDown__Ssc21",ii="CropImage_left__qEy8B",ai="CropImage_rightBox__tH7SB";!function(e){e[e.leftUp=0]="leftUp",e[e.up=1]="up",e[e.rightUp=2]="rightUp",e[e.right=3]="right",e[e.rightDown=4]="rightDown",e[e.down=5]="down",e[e.leftDown=6]="leftDown",e[e.left=7]="left"}(sr||(sr={}));var oi=function(){var e=d().scrollTop,t=(0,r.useRef)(0),n=(0,r.useRef)(0),i=(0,r.useRef)(!1),a=(0,r.useRef)(),o=(0,r.useRef)(!1),c=(0,r.useRef)(null),l=(0,r.useRef)(null),u=(0,r.useRef)(null),m=(0,r.useRef)(null),f=(0,r.useRef)(null),g=(0,r.useRef)(0),p=(0,r.useRef)(0),h=(0,r.useRef)(0),v=(0,r.useRef)(0),x=function(e){for(var t=e.offsetLeft,n=e.offsetTop,r=e.offsetParent;null!=r;)t+=r.offsetLeft,n+=r.offsetTop,r=r.offsetParent;return{left:t,top:n}},y=function(e){var n=e.clientX,r=Y.findDOMNode(l.current),i=x(r).left,a=i+t.current-4;n>a?n=a:ns&&(n=s);var c=a.offsetHeight;a.style.height=c+o-n+"px",a.style.top=a.offsetTop+n-o+"px"},w=function(e){var t=e.clientX,n=Y.findDOMNode(l.current),r=x(n).left,i=Y.findDOMNode(m.current),a=x(i).left,o=a+i.offsetWidth-4;to&&(t=o);var s=i.offsetWidth;i.style.width=s+a-t+"px",i.style.left=i.offsetLeft+t-a+"px"},j=function(t){var r=t.clientY+e,i=Y.findDOMNode(l.current),a=x(i).top,o=a+n.current-4;ro&&(r=o);var s=Y.findDOMNode(m.current),c=s.offsetHeight-2,u=r-c-x(s).top;s.style.height=c+u+"px"},b=function(){var e=Y.findDOMNode(m.current),t=e.offsetWidth,n=e.offsetHeight,r=e.offsetLeft,i=e.offsetTop,a=r+t,o=i+n;Y.findDOMNode(u.current).style.clip="rect(".concat(i,"px,").concat(a,"px,").concat(o,"px,").concat(r,"px)")},_=function(){var e=Y.findDOMNode(m.current),t=e.offsetWidth,n=e.offsetHeight,r=e.offsetLeft,i=e.offsetTop,a=r+t,o=i+n,s=Y.findDOMNode(f.current);s.style.top="".concat(-i,"px"),s.style.left="".concat(-r,"px"),s.style.clip="rect(".concat(i,"px,").concat(a,"px,").concat(o,"px,").concat(r,"px)")},D=function(e,t){e.stopPropagation(),i.current=!0,a.current=t},M=function(){i.current=!1,o.current=!1};return(0,r.useEffect)((function(){var e=Y.findDOMNode(l.current),r=e.offsetWidth,i=e.offsetHeight;t.current=r,n.current=i}),[]),(0,s.jsxs)("div",{className:Vr,onMouseMove:function(e){if(o.current){var r=Y.findDOMNode(m.current),s=r.offsetWidth,c=r.offsetHeight,l=e.clientX-g.current,u=e.clientY-p.current,d=v.current+u,f=h.current+l;d<0?r.style.top="0px":d>n.current-c-2?r.style.top="".concat(n.current-c-2,"px"):r.style.top="".concat(d,"px"),f<0?r.style.left="0px":f>t.current-s-2?r.style.left="".concat(t.current-s-2,"px"):r.style.left="".concat(f,"px"),b(),_()}if(i.current){switch(a.current){case sr.right:y(e);break;case sr.up:A(e);break;case sr.left:w(e);break;case sr.down:j(e);break;case sr.leftUp:w(e),A(e);break;case sr.leftDown:w(e),j(e);break;case sr.rightUp:y(e),A(e);break;case sr.rightDown:y(e),j(e)}b(),_()}},onMouseUp:M,onMouseLeave:M,ref:c,children:[(0,s.jsx)(Rr,{intlTitle:"page.htmlVision.interactiveDesign.dragAndDropClipBox"}),(0,s.jsxs)("div",{className:Ur,ref:l,children:[(0,s.jsx)("img",{src:it,className:Wr}),(0,s.jsx)("img",{src:it,className:Yr,ref:u}),(0,s.jsxs)("div",{className:Jr,onMouseDown:function(e){g.current=e.clientX,p.current=e.clientY;var t=Y.findDOMNode(m.current);v.current=t.offsetTop,h.current=t.offsetLeft,o.current=!0},ref:m,children:[(0,s.jsx)("div",{className:"".concat(qr," ").concat(Kr),onMouseDown:function(e){return D(e,sr.leftUp)}}),(0,s.jsx)("div",{className:"".concat(qr," ").concat(Xr),onMouseDown:function(e){return D(e,sr.up)}}),(0,s.jsx)("div",{className:"".concat(qr," ").concat($r),onMouseDown:function(e){return D(e,sr.rightUp)}}),(0,s.jsx)("div",{className:"".concat(qr," ").concat(ei),onMouseDown:function(e){return D(e,sr.right)}}),(0,s.jsx)("div",{className:"".concat(qr," ").concat(ti),onMouseDown:function(e){return D(e,sr.rightDown)}}),(0,s.jsx)("div",{className:"".concat(qr," ").concat(ni),onMouseDown:function(e){return D(e,sr.down)}}),(0,s.jsx)("div",{className:"".concat(qr," ").concat(ri),onMouseDown:function(e){return D(e,sr.leftDown)}}),(0,s.jsx)("div",{className:"".concat(qr," ").concat(ii),onMouseDown:function(e){return D(e,sr.left)}})]})]}),(0,s.jsx)("div",{className:ai,children:(0,s.jsx)("img",{src:it,ref:f})})]})},si=n.p+"images/e55cd06c.jpg",ci=n.p+"images/f44f33e9.jpg",li=n.p+"images/ccd69096.jpg",ui=n.p+"images/dbd623e3.jpg",di=n.p+"images/d327c52a.jpg",mi=n.p+"images/f160c0ae.jpg",fi={container:"DragShopping_container__IbTIV",content:"DragShopping_content__VVnMY",bookBox:"DragShopping_bookBox__SDdDi",shoppingBox:"DragShopping_shoppingBox__3DBFv",tableHead:"DragShopping_tableHead__lYIfd",tableCell:"DragShopping_tableCell__6tWCA",tableRow:"DragShopping_tableRow__6Qo3x",total:"DragShopping_total__+sd3-",tip:"DragShopping_tip__vp+8T"};function gi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pi(e){for(var t=1;t=0;c--){var l=vi[c];if(l.id===t){r=l.price,s=l;break}}s&&o.unshift(pi(pi({},s),{},{num:1}))}a(o),d(!1),h(g+r)},children:[(0,s.jsxs)("div",{className:fi.tableHead,children:[(0,s.jsx)("div",{className:fi.tableCell,children:e.formatMessage({id:"page.htmlVision.interactiveDesign.title"})}),(0,s.jsx)("div",{className:fi.tableCell,children:e.formatMessage({id:"page.htmlVision.interactiveDesign.price"})}),(0,s.jsx)("div",{className:fi.tableCell,children:e.formatMessage({id:"page.htmlVision.interactiveDesign.count"})})]}),i.map((function(e){var t=e.id,n=e.num,r=e.name,i=e.price;return(0,s.jsxs)("div",{className:fi.tableRow,children:[(0,s.jsx)("div",{className:fi.tableCell,children:r}),(0,s.jsx)("div",{className:fi.tableCell,children:"¥".concat(i)}),(0,s.jsx)("div",{className:fi.tableCell,children:n})]},t)})),i.length>0&&(0,s.jsx)("div",{className:fi.total,children:(0,s.jsxs)("span",{className:fi.totalMoney,children:[e.formatMessage({id:"page.htmlVision.interactiveDesign.total"}),":¥",(0,s.jsx)("span",{children:g})]})}),(0,s.jsx)("div",{className:fi.tip,children:u?e.formatMessage({id:"page.htmlVision.interactiveDesign.addingToCart"}):e.formatMessage({id:"page.htmlVision.interactiveDesign.dragToThisToBuy"})})]})]})]})},yi=n.p+"images/70af4d01.jpg",Ai="MouseHover_container__QIdL2",wi="MouseHover_content__L5hzm",ji="MouseHover_title__617kC",bi="MouseHover_bottom__jjGyr",_i="MouseHover_right__Aviwn",Di="MouseHover_cursor__IcpdN",Mi=[{name:"两个跨域页面进行跳转传参的终极方案",href:"https://juejin.cn/post/7134967869326458916"},{name:"面试秘籍之手写系列",href:"https://juejin.cn/post/7134975263707758606"},{name:"一款将打包后的Chrome插件自动化加载到浏览器的webpack插件",href:"https://juejin.cn/post/7134991167095062565"},{name:"全网最全AutoIt3基础教程及实战案例",href:"https://juejin.cn/post/7134952028870017060"}],ki=function(){var e=(0,p.Z)(),t=d().scrollTop,n=(0,r.useRef)(null),i=(0,r.useRef)(null),a=(0,r.useState)(!1),c=(0,o.Z)(a,2),l=c[0],u=c[1],m=(0,r.useState)("default"),f=(0,o.Z)(m,2),g=f[0],h=f[1],v=(0,r.useRef)({mouseX:null,mouseY:null}),x=(0,r.useRef)(0),y=function(){h("big")},A=function(){h("default")};return(0,r.useEffect)((function(){return x.current=window.requestAnimationFrame((function e(){var t=v.current,n=t.mouseX,r=t.mouseY;if(null!==n&&null!==r){var a=10;"big"===g&&(a=40);var o=Y.findDOMNode(i.current),s=o.style.left?parseFloat(o.style.left):null,c=o.style.top?parseFloat(o.style.top):null;if(null!==s&&null!==c){var l=n-(s+a),u=r-(c+a),d=Math.hypot(l,u);if(d>0)if(d<=.1)o.style.left="".concat(s,"px"),o.style.top="".concat(c,"px");else{var m=.12*l,f=.12*u;o.style.left="".concat(s+m,"px"),o.style.top="".concat(c+f,"px")}}}x.current=window.requestAnimationFrame(e)})),function(){x.current&&window.cancelAnimationFrame(x.current)}}),[g]),(0,s.jsxs)("div",{className:Ai,onMouseEnter:function(e){var r=e.clientX,a=e.clientY;u(!0);var o=Y.findDOMNode(n.current),s=o.offsetLeft,c=void 0===s?0:s,l=o.offsetTop,d=void 0===l?0:l;v.current={mouseX:r-c,mouseY:a-(d-t)};var m=Y.findDOMNode(i.current);m.style.left="".concat((v.current.mouseX||0)-10,"px"),m.style.top="".concat((v.current.mouseY||0)-10,"px")},onMouseMove:function(e){var r=e.clientX,i=e.clientY,a=Y.findDOMNode(n.current),o=a.offsetLeft,s=void 0===o?0:o,c=a.offsetTop,l=void 0===c?0:c;v.current={mouseX:r-s,mouseY:i-(l-t)}},onMouseLeave:function(e){var r=e.clientX,i=e.clientY;u(!1);var a=Y.findDOMNode(n.current),o=a.offsetLeft,s=void 0===o?0:o,c=a.offsetTop,l=void 0===c?0:c;v.current={mouseX:r-s,mouseY:i-(l-t)}},ref:n,children:[(0,s.jsxs)("div",{className:wi,children:[(0,s.jsx)("p",{className:ji,onMouseEnter:y,onMouseLeave:A,children:e.formatMessage({id:"page.htmlVision.interactiveDesign.personalArticle"})}),(0,s.jsxs)("div",{className:bi,children:[(0,s.jsx)("img",{src:yi,alt:"",onMouseEnter:y,onMouseLeave:A}),(0,s.jsx)("div",{className:_i,children:Mi.map((function(e,t){return(0,s.jsx)("a",{href:e.href,target:"_blank",onMouseEnter:y,onMouseLeave:A,children:e.name},t)}))})]})]}),(0,s.jsx)("div",{className:Di,style:{visibility:l?"visible":"hidden",width:"".concat("big"===g?80:20,"px"),height:"".concat("big"===g?80:20,"px")},ref:i})]})},Ni="SlideButtonTab_container__eT4SM",Ei="SlideButtonTab_content__6sIYs",Ci="SlideButtonTab_btn__tD8IC",Si="SlideButtonTab_actived__RWXqG",Pi=new Array(4).fill(0),Bi=function(){var e=(0,r.useRef)(null),t=(0,r.useState)(0),n=(0,o.Z)(t,2),i=n[0],a=n[1],c=(0,r.useRef)(0);return(0,r.useEffect)((function(){if(e.current){var t=(e.current.getBoundingClientRect().width-32-8*(2*Pi.length-2))/Pi.length;e.current.style.setProperty("--btnWidth","".concat(t,"px")),c.current=t}}),[]),(0,s.jsxs)("div",{className:Ni,children:[(0,s.jsx)(Rr,{intlTitle:"page.htmlVision.interactiveDesign.swipeTab"}),(0,s.jsx)("div",{className:Ei,ref:e,children:Pi.map((function(t,n){return(0,s.jsxs)("div",{className:"".concat(Ci," ").concat(i===n?Si:""),onClick:function(){return function(t){if(e.current&&i!==t){var n="".concat(16+c.current*t+8*t*2,"px");e.current.style.setProperty("--groove-left",n);var r="0deg";r=t=ta.length-1||i.current)){if(i.current=!0,t.current){var e=t.current.children[n.current+1];e.style.animation="flip-to-left 2s ease-in-out forwards",setTimeout((function(){e.style.zIndex="5"}),1e3)}setTimeout((function(){n.current=n.current+1,a()}),2e3)}},children:e.formatMessage({id:"page.htmlVision.interactiveDesign.nextPage"})})]})]})},ia="switch_container__i9Gh6",aa="switch_box__M6wl2",oa="switch_icon__AQIrn";function sa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ca(e){for(var t=1;t-e&&n2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=e,o=t;return 0!==n&&(a=e*Math.cos(n)+t*Math.sin(n)+r,o=-e*Math.sin(n)+t*Math.cos(n)+i),{transitionX:a,transitionY:o}}(t,r,Pa,Ba,Ia),s=a.transitionX,l=a.transitionY,u=Y.findDOMNode(o.current);if(!u)return;u.offsetWidth<350?Ea=500:u.offsetWidth<400&&(Ea=550),u.style.left="".concat(s,"px"),u.style.top="".concat(-l,"px");var d=1.5;t>=Ca?("CCW"===Sa?(Pa=0,Ba=0,Ia=0):(Pa=120,Ba=17,Ia=49),n||(Ta=!0,Ra=!0)):t<=-Ca&&(Sa="CCW"===Sa?"CW":"CCW",n||(Ta=!0,Ra=!0)),Math.abs(t)>16&&(d=1.5*Math.pow(Math.cos(t/Ca),2));var m=function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=r,s=i;return(o=r>=e?r-a:r<=-e?r+a:"CCW"===n?i>0?r-a:r+a:i<0?r-a:r+a)>e?o=e:o<-e&&(o=-e),(s=Za(e,t,o))>0&&(r>=e?"CCW"!==n&&(s=-s):r<=-e?"CCW"===n&&(s=-s):i<0&&(s=-s)),{nextX:o,nextY:s}}(Ca,40,Sa,t,r,d),f=m.nextX,g=m.nextY;t=f,r=g;var p=null;c&&c.current&&(p=Y.findDOMNode(c.current));var h=!0;p&&Object.keys(Oa).forEach((function(e,t){var n=p.childNodes[t];if(n){var r=Oa[e],i=r.top,a=r.left,o=r.vx,s=r.vy,c=r.g,l=r.opacity,u=r.isMoving;if(u||Ta){var d=Fa[e],m=i+s,f=a+o,g=o;g=Math.abs(o)>.1?o>0?o-.1:o+.1:0;var v=m-d.top,x=Ea-d.top,y=x/2*.45,A=l;v/x>.55&&(v=y-(m-.55*x)),(A=(v/y).toFixed(2))>1&&(A=1);var w=s+c,j=u;0===m?(m=d.top,f=d.left,g=d.vx,j=!0):m>=Ea?(m=0,f=0,A=0,g=0,w=0,j=!1):(h=!1,Ta&&(j=!0)),n.style.top="".concat(m,"px"),n.style.left="".concat(f,"px"),n.style.opacity=A,Object.assign(r,{top:m,left:f,vx:g,vy:w,isMoving:j})}}})),Ta&&(Ta=!1),h&&(Ra=!1)}e=window.requestAnimationFrame(i)})),function(){e&&window.cancelAnimationFrame(e)}}),[]),(0,s.jsx)("div",{className:ba,children:(0,s.jsxs)("div",{className:_a,ref:o,children:[(0,s.jsx)("img",{src:ga,alt:"",className:Da}),(0,s.jsxs)("div",{className:Ma,onClick:function(){a||Ra||(Ta=!0,Ra=!0)},ref:c,children:[(0,s.jsx)("img",{src:ha,alt:"",className:ka}),(0,s.jsx)("img",{src:va,alt:"",className:ka}),(0,s.jsx)("img",{src:xa,alt:"",className:ka}),(0,s.jsx)("img",{src:ya,alt:"",className:ka}),(0,s.jsx)("img",{src:Aa,alt:"",className:ka}),(0,s.jsx)("img",{src:wa,alt:"",className:ka}),(0,s.jsx)("img",{src:ja,alt:"",className:ka}),(0,s.jsx)("img",{src:pa,alt:"",className:Na})]})]})})},Qa="PeopleAnimation_container__P9IRI",La=function(){return(0,s.jsx)("div",{className:Qa,children:(0,s.jsx)(Ga,{})})},za={container:"TweakCube_container__chHsQ",content:"TweakCube_content__rXgCM",cube:"TweakCube_cube__c9JMo",changeColor:"TweakCube_changeColor__SsQtL",column0:"TweakCube_column0__0ANAL",span0:"TweakCube_span0__kaIxY",span1:"TweakCube_span1__RA+mL",span2:"TweakCube_span2__BzTLy",column1:"TweakCube_column1__9Hhyi",column2:"TweakCube_column2__EbxfC"},Ha=new Array(3).fill(0),Va=function(){return(0,s.jsxs)("div",{className:za.container,children:[(0,s.jsx)(Rr,{intlTitle:"page.htmlVision.interactiveDesign.pseudo3DRubikCube"}),(0,s.jsx)("div",{className:za.content,children:Ha.map((function(e,t){return(0,s.jsx)("div",{className:za.cube,children:Ha.map((function(e,t){return(0,s.jsx)("div",{className:za["column".concat(t)],children:Ha.map((function(e,t){return(0,s.jsx)("span",{className:za["span".concat(t)]},t)}))},t)}))},t)}))})]})},Ua="Preserve3dBox_container__S8Nkn",Wa="Preserve3dBox_content__OkpkD",Ya="Preserve3dBox_box__xhigG",Ja="Preserve3dBox_side1__OlfJ5",qa="Preserve3dBox_side2__N20GX",Ka="Preserve3dBox_side3__t1Hxo",Xa="Preserve3dBox_side4__7YzMw",$a="Preserve3dBox_side5__38WMJ",eo="Preserve3dBox_side6__pWRYS",to="Preserve3dBox_light__8ms1v",no=function(){var e=(0,r.useRef)(null),t=(0,r.useRef)(null),n=(0,r.useRef)(null),i=function(){if(n.current=null,t.current){var e=t.current.children;Array.prototype.forEach.call(e,(function(e){Array.prototype.includes.call(e.classList,to)&&e.classList.remove(to)})),document.styleSheets[0].insertRule("@keyframes preserve3dRotate {\n 100% {\n transform: rotate3d(1, 1, 1, 360deg);\n }\n }"),t.current.style.animation="preserve3dRotate 10s linear infinite"}},a=function(e){null==e||e.classList.add(to)};return(0,s.jsxs)("div",{className:Ua,onMouseDown:function(e){var r=e.clientX,i=e.clientY,a=window.getComputedStyle(Y.findDOMNode(t.current)).transform;if(a&&"none"!==a){var o=a.match(/matrix(3d)?((.+))/);if(o&&o.length>=3){var s=o[2].split(", ")||[],c=180*Math.acos(Number(s[5]))/Math.PI,l=180*Math.acos(Number(s[10]))/Math.PI;n.current={x:r,y:i,rotateX:c,rotateY:l}}}},onMouseMove:function(e){if(t.current&&n.current){var r=e.clientX,i=e.clientY,a=n.current,o=a.x,s=a.y,c=a.rotateX,l=a.rotateY,u=2*(s-i),d=(r-o)/2;t.current&&(t.current.style.animation="none"),t.current.style.transform="rotateX(".concat(c+u,"deg) rotateY(").concat(l+d,"deg)")}},onMouseUp:i,onMouseLeave:i,ref:e,children:[(0,s.jsx)(Rr,{intlTitle:"page.htmlVision.interactiveDesign.3DRubikCube"}),(0,s.jsx)("div",{className:Wa,children:(0,s.jsxs)("div",{className:Ya,ref:t,children:[(0,s.jsx)("div",{className:Ja,onClick:function(e){t.current&&(t.current.style.transform="rotateX(360deg) rotateY(360deg)",t.current.style.animation="none",a(e.target))}}),(0,s.jsx)("div",{className:qa,onClick:function(e){t.current&&(t.current.style.transform="rotateX(0deg) rotateY(180deg)",t.current.style.animation="none",a(e.target))}}),(0,s.jsx)("div",{className:Ka,onClick:function(e){t.current&&(t.current.style.transform="rotateX(270deg) rotateY(0deg)",t.current.style.animation="none",a(e.target))}}),(0,s.jsx)("div",{className:Xa,onClick:function(e){t.current&&(t.current.style.transform="rotateX(90deg) rotateY(180deg)",t.current.style.animation="none",a(e.target))}}),(0,s.jsx)("div",{className:$a,onClick:function(e){t.current&&(t.current.style.transform="rotateX(0deg) rotateY(90deg)",t.current.style.animation="none",a(e.target))}}),(0,s.jsx)("div",{className:eo,onClick:function(e){t.current&&(t.current.style.transform="rotateX(0deg) rotateY(270deg)",t.current.style.animation="none",a(e.target))}})]})})]})},ro="OrientationSenseCard_container__wM4Og",io="OrientationSenseCard_content__nHHlN",ao="OrientationSenseCard_card__kb1rR",oo=[Ri,Fi,Zi,Gi,Qi],so=function(){return(0,s.jsxs)("div",{className:ro,children:[(0,s.jsx)(Rr,{intlTitle:"page.htmlVision.interactiveDesign.automaticIdentificationOfMouseDirection"}),(0,s.jsx)("div",{className:io,children:oo.map((function(e,t){return(0,s.jsx)("div",{className:ao,children:(0,s.jsx)("img",{src:e,alt:""})},t)}))})]})},co="HexagonalMesh1_container__4Mauo",lo="HexagonalMesh1_item__uupv2",uo=new Array(800).fill(0),mo=function(){var e=(0,r.useRef)(null),t=function(){if(e.current){var t=e.current.getBoundingClientRect(),n=t.width/2,r=t.height/2;e.current.style.setProperty("--xPos","".concat(n,"px")),e.current.style.setProperty("--yPos","".concat(r,"px"))}};return(0,r.useEffect)((function(){t()}),[]),(0,s.jsx)("div",{className:co,onMouseMove:function(t){if(e.current){var n=e.current.getBoundingClientRect(),r=n.left,i=n.top,a=t.pageX-r,o=t.pageY-i;window.requestAnimationFrame((function(){e.current&&(e.current.style.setProperty("--xPos","".concat(a,"px")),e.current.style.setProperty("--yPos","".concat(o,"px")))}))}},onMouseLeave:t,ref:e,children:uo.map((function(e,t){return(0,s.jsx)("div",{className:lo},t)}))})},fo="HexagonalMesh2_container__7Eq5-",go="HexagonalMesh2_item__RBkZx",po=new Array(800).fill(0),ho=function(){var e=(0,r.useRef)(null),t=function(){if(e.current){var t=e.current.getBoundingClientRect(),n=t.width/2,r=t.height/2;e.current.style.setProperty("--xPos","".concat(n,"px")),e.current.style.setProperty("--yPos","".concat(r,"px"))}};return(0,r.useEffect)((function(){t()}),[]),(0,s.jsx)("div",{className:fo,onMouseMove:function(t){if(e.current){var n=e.current.getBoundingClientRect(),r=n.left,i=n.top,a=t.pageX-r,o=t.pageY-i;window.requestAnimationFrame((function(){e.current&&(e.current.style.setProperty("--xPos","".concat(a,"px")),e.current.style.setProperty("--yPos","".concat(o,"px")))}))}},onMouseLeave:t,ref:e,children:po.map((function(e,t){return(0,s.jsx)("div",{className:go},t)}))})},vo="HexagonalMesh3_container__7cOnb",xo="HexagonalMesh3_item__JnppT",yo=new Array(800).fill(0),Ao=function(){var e=(0,r.useRef)(null);return(0,s.jsx)("div",{className:vo,ref:e,children:yo.map((function(e,t){return(0,s.jsx)("div",{className:xo},t)}))})},wo=n(34262),jo=n(39464),bo=n(12304),_o=n(24406),Do=n(4333),Mo=n(83428),ko=n(78874),No=n(59401),Eo=n(73566),Co=n(98059),So=n(48107),Po=n(5698),Bo=n(97998),Io=n(75013),To=n(14294),Ro=n(18152),Fo=n(36108),Oo=n(98522),Zo=n(77093),Go=n(55017),Qo=n(67753),Lo=n(26223),zo=n(98261),Ho=n(93017),Vo=n(77125),Uo=n(79728),Wo=n(93366),Yo=n(98587),Jo=n(2905),qo=n(11013),Ko=n(44251),Xo=n(94506),$o=n(49434),es=n(38419),ts=n(1627),ns=n(20720),rs=n(6355),is=n(892),as=n(49688),os=n(78823),ss=n(80856),cs=n(26589),ls=n(7364),us=n(14283),ds=n(54618),ms=n(3248),fs=n(18401),gs=n(5405),ps=n(82272),hs=n(59512),vs=n(62965),xs=n(88630),ys=n(25449),As=n(57551),ws=n(89317),js=n(72285),bs=n(68479),_s=n(71938),Ds=n(2825),Ms=n(43926),ks=n(85369),Ns=n(53318),Es=n(85008),Cs=n(45452),Ss=n(4334),Ps=n(72850),Bs=n(19671),Is=n(97254),Ts=n(70913),Rs=n(56022),Fs=n(16640),Os=n(23375),Zs=n(12854),Gs=n(88485),Qs=n(33040),Ls=n(63392),zs=n(73888),Hs=n(48965),Vs=n(4711),Us=n(56931),Ws=n(24616),Ys=n(51984),Js="IconScroll_container__pHJbN",qs="IconScroll_row__ueyux",Ks=new Array(40).fill(0),Xs=function(){var e=function(){return(0,s.jsxs)("div",{children:[(0,s.jsx)(wo.Z,{}),(0,s.jsx)(jo.Z,{}),(0,s.jsx)(bo.Z,{}),(0,s.jsx)(_o.Z,{}),(0,s.jsx)(Do.Z,{}),(0,s.jsx)(Mo.Z,{}),(0,s.jsx)(ko.Z,{}),(0,s.jsx)(No.Z,{}),(0,s.jsx)(Eo.Z,{}),(0,s.jsx)(Co.Z,{}),(0,s.jsx)(So.Z,{}),(0,s.jsx)(Po.Z,{}),(0,s.jsx)(Bo.Z,{}),(0,s.jsx)(Io.Z,{}),(0,s.jsx)(To.Z,{}),(0,s.jsx)(Ro.Z,{}),(0,s.jsx)(Fo.Z,{}),(0,s.jsx)(Oo.Z,{}),(0,s.jsx)(Zo.Z,{}),(0,s.jsx)(Go.Z,{}),(0,s.jsx)(Qo.Z,{}),(0,s.jsx)(Lo.Z,{}),(0,s.jsx)(zo.Z,{}),(0,s.jsx)(Ho.Z,{}),(0,s.jsx)(Vo.Z,{}),(0,s.jsx)(Uo.Z,{}),(0,s.jsx)(Wo.Z,{}),(0,s.jsx)(Yo.Z,{}),(0,s.jsx)(Jo.Z,{}),(0,s.jsx)(qo.Z,{}),(0,s.jsx)(Ko.Z,{}),(0,s.jsx)(Xo.Z,{}),(0,s.jsx)($o.Z,{}),(0,s.jsx)(es.Z,{}),(0,s.jsx)(ts.Z,{}),(0,s.jsx)(ns.Z,{}),(0,s.jsx)(rs.Z,{}),(0,s.jsx)(is.Z,{}),(0,s.jsx)(as.Z,{}),(0,s.jsx)(os.Z,{}),(0,s.jsx)(ss.Z,{}),(0,s.jsx)(cs.Z,{}),(0,s.jsx)(ls.Z,{}),(0,s.jsx)(us.Z,{}),(0,s.jsx)(ds.Z,{}),(0,s.jsx)(ms.Z,{}),(0,s.jsx)(fs.Z,{}),(0,s.jsx)(gs.Z,{}),(0,s.jsx)(ps.Z,{}),(0,s.jsx)(hs.Z,{}),(0,s.jsx)(vs.Z,{}),(0,s.jsx)(xs.Z,{}),(0,s.jsx)(ys.Z,{}),(0,s.jsx)(As.Z,{}),(0,s.jsx)(ws.Z,{}),(0,s.jsx)(js.Z,{}),(0,s.jsx)(bs.Z,{}),(0,s.jsx)(_s.Z,{}),(0,s.jsx)(Ds.Z,{}),(0,s.jsx)(J.Z,{}),(0,s.jsx)(Ms.Z,{}),(0,s.jsx)(ks.Z,{}),(0,s.jsx)(Ns.Z,{}),(0,s.jsx)(Es.Z,{}),(0,s.jsx)(Cs.Z,{}),(0,s.jsx)(Ss.Z,{}),(0,s.jsx)(Ps.Z,{}),(0,s.jsx)(Bs.Z,{}),(0,s.jsx)(Is.Z,{}),(0,s.jsx)(x.Z,{}),(0,s.jsx)(Ts.Z,{}),(0,s.jsx)(Rs.Z,{}),(0,s.jsx)(Fs.Z,{}),(0,s.jsx)(Os.Z,{}),(0,s.jsx)(Zs.Z,{}),(0,s.jsx)(Gs.Z,{}),(0,s.jsx)(Qs.Z,{}),(0,s.jsx)(Ls.Z,{}),(0,s.jsx)(zs.Z,{}),(0,s.jsx)(Hs.Z,{}),(0,s.jsx)(Vs.Z,{}),(0,s.jsx)(Us.Z,{}),(0,s.jsx)(Ws.Z,{}),(0,s.jsx)(Ys.Z,{})]})};return(0,s.jsx)("div",{className:Js,children:Ks.map((function(t,n){return(0,s.jsxs)("div",{className:qs,children:[e(),e()]},n)}))})},$s=n(67724),ec=n(8812),tc="WipeSwitchover_container__zA+wD",nc="WipeSwitchover_mask1__efwWk",rc="WipeSwitchover_mask2__bTFbb",ic="WipeSwitchover_mask3__Gaobg",ac="WipeSwitchover_mask4__ZERnA",oc="WipeSwitchover_mask5__MkpDg",sc="WipeSwitchover_page1__ex092",cc="WipeSwitchover_page2__S7sFb",lc="WipeSwitchover_page3__JtV7t",uc="WipeSwitchover_page4__9G6Y9",dc="WipeSwitchover_page5__uBeX2",mc="WipeSwitchover_prevBtn__6vW6Q",fc="WipeSwitchover_icon__Z3ryB",gc="WipeSwitchover_nextBtn__sVZkG",pc=.006,hc=[8,8,8,7,30],vc=[.72,.7,1,1,.32],xc=function(){var e=(0,r.useRef)(null),t=(0,r.useRef)(null),n=(0,r.useRef)(null),i=(0,r.useState)(hc.length-1),a=(0,o.Z)(i,2),c=a[0],l=a[1],u=(0,r.useRef)(hc.length-1),d=(0,r.useRef)(!1),m=(0,r.useRef)(0),f=function e(t,n){if(t){d.current=!0;var r=t.style.strokeDashoffset,i=0;if(r)if("0"===r)i=Number((hc[u.current]*pc).toFixed(2));else if(r.includes("px")){var a=Number(r.substring(0,r.length-2));if(n=hc[u.current])return d.current=!1,u.current=n,void l(n);i=Number((hc[u.current]*pc+a).toFixed(2))}else if(n>u.current){if(a>=2*hc[n])return t.style.strokeDashoffset="0px",d.current=!1,u.current=n,void l(n);i=Number((hc[n]*pc+a).toFixed(2))}}else{var o=Number(r);if(n=hc[u.current])return d.current=!1,u.current=n,void l(n);i=Number((hc[u.current]*pc+o).toFixed(2))}else if(n>u.current){if(o>=2*hc[n])return t.style.strokeDashoffset="0px",d.current=!1,u.current=n,void l(n);i=Number((hc[n]*pc+o).toFixed(2))}}else i=Number((hc[u.current]*pc).toFixed(2));t.style.strokeDashoffset="".concat(i,"px"),m.current=window.requestAnimationFrame((function(){return e(t,n)}))}},g=function(){if(e.current&&n.current){var r=e.current.clientWidth,i=Math.ceil(600+.1*(r-1140));Array.prototype.forEach.call(n.current.children,(function(e,t){var n=window.getComputedStyle(e.children[0],null).getPropertyValue("transform");if(n&&n.startsWith("matrix")){var i=n.split(", ");i[0]="".concat(i[0].substring(0,7)).concat(Math.ceil(vc[t]*r)),n=i.join(", ")}e.children[0].style.transform=n})),t.current&&(e.current.style.height="".concat(i,"px"),Array.prototype.forEach.call(t.current.children,(function(e){if("g"===e.tagName){e.style.height="".concat(i,"px"),e.children[0].style.height="".concat(i,"px"),e.children[0].style.transform="".concat(i,"px");var t=Math.floor(r/2-240-40),n=Math.floor((i-340)/2);e.children[1].style.transform="translate(".concat(t,"px, ").concat(n,"px)")}})))}};return(0,r.useEffect)((function(){return g(),function(){m.current&&cancelAnimationFrame(m.current)}}),[]),(0,r.useEffect)((function(){return window.addEventListener("resize",g),function(){window.removeEventListener("resize",g)}}),[]),(0,s.jsxs)("div",{className:tc,ref:e,children:[(0,s.jsx)(Rr,{intlTitle:"page.htmlVision.interactiveDesign.wipeTheEffect"}),(0,s.jsxs)("svg",{ref:t,children:[(0,s.jsxs)("defs",{ref:n,children:[(0,s.jsx)("mask",{id:"mask1",className:nc,children:(0,s.jsx)("path",{d:"M0.712-0.263\r c0,0-0.009,0.466-0.001,0.593c0.002,0.033,0.013,0.098-0.149,0.098c-0.157,0-0.16-0.049-0.161-0.08\r C0.398,0.245,0.395,0.04,0.399-0.063c0.001-0.035,0.009-0.105-0.162-0.102C0.088-0.163,0.091-0.093,0.09-0.059\r C0.09,0.04,0.08,0.238,0.09,0.337C0.093,0.368,0.107,0.42-0.058,0.42c-0.162,0-0.136-0.05-0.139-0.079\r C-0.21,0.234-0.207,0.033-0.2-0.069c0.002-0.035,0.015-0.103-0.16-0.102C-0.521-0.171-0.511-0.1-0.509-0.066\r C-0.502,0.046-0.51,0.379-0.51,0.379"})}),(0,s.jsx)("mask",{id:"mask2",className:rc,children:(0,s.jsx)("path",{d:"M-0.305,0.045\r c0,0,1.262-0.007,1.36-0.007c0.231,0,0.229,0.224-0.001,0.224c-0.14,0.001-0.929-0.002-1.042,0c-0.174,0.003-0.17,0.224-0.021,0.23\r c0.288,0.011,0.87-0.005,1.055-0.011C1.223,0.475,1.228,0.71,1.071,0.71C0.779,0.723,0.09,0.705-0.038,0.712\r s-0.148,0.223,0.031,0.234s0.233,0.011,0.233,0.011"})}),(0,s.jsx)("mask",{id:"mask3",className:ic,children:(0,s.jsx)("path",{d:"M1.15844,0.36167L1.08063,0.40111C0.95906,0.528330.94358,0.771430.87938,0.95278C0.81605,1.131660.65918,1.069850.71313,0.88778C0.75751,0.737960.89903,0.356360.93094,0.16944C0.95119,0.050820.84113,-0.056650.77563,0.12056C0.70882,0.301290.46792,1.203240.32092,0.97256C0.23658,0.840220.60869,0.261270.58134,0.05953C0.56686,-0.047280.49508,-0.06670.43749,0.0378C0.32377,0.244160.27639,0.451050.17792,0.71504C0.07944,0.979030.00295,0.842150.01094,0.75333C0.03758,0.457110.31406,0.1150.23375,-0.01111C0.15331,-0.137420.09392,0.21887-0.0325,0.23722"})}),(0,s.jsx)("mask",{id:"mask4",className:ac,children:(0,s.jsx)("path",{d:"M0.559-0.226L0.535-0.16\r c-0.196,0.171,0.09,0.27-0.022,0.436C0.49,0.31,0.384,0.312,0.344,0.202c-0.035-0.097-0.033-0.195,0.014-0.26\r c0.105-0.143,0.209-0.079,0.264,0.003c0.061,0.09,0.066,0.192,0.047,0.265c-0.093,0.35-0.537,0.162-0.49-0.159\r c0.019-0.129,0.095-0.202,0.196-0.228c0.13-0.034,0.289-0.028,0.373,0.063c0.083,0.09,0.094,0.349-0.014,0.466\r C0.64,0.452,0.178,0.502,0.077,0.256C-0.05-0.055,0.18-0.217,0.373-0.227c0.224-0.012,0.463-0.017,0.535,0.128\r C0.993,0.072,0.978,0.29,0.813,0.427"})}),(0,s.jsx)("mask",{id:"mask5",className:oc,children:(0,s.jsx)("path",{d:"M1.854-1.746L1.537-1.042\r c0.01,0.123-1.79,0.327-2.269,0.467C-1.433-0.37-1.427,0.309-0.835,0.209c0.464-0.078,3.077-0.572,3.921-0.742\r C3.714-0.66,3.81-0.043,3.364,0.102C2.423,0.406-0.153,0.795-1.188,1.026c-0.494,0.11-0.409,0.646,0.107,0.629\r c0.76-0.025,3.983-0.752,4.594-0.793c0.399-0.045,0.967,0.403-0.091,0.66C3.028,1.685,1,2.067,0.612,2.239\r C0.225,2.411,0.27,2.982,1.007,2.833l2.979-0.615"})})]}),(0,s.jsxs)("g",{className:sc,mask:"url(#mask1)",children:[(0,s.jsx)("rect",{fill:"#e3e4e5"}),(0,s.jsx)("image",{xlinkHref:Ii}),(0,s.jsx)("text",{fill:"#757576",children:"Book5"})]}),(0,s.jsxs)("g",{className:cc,mask:"url(#mask2)",children:[(0,s.jsx)("rect",{fill:"#7e7f83"}),(0,s.jsx)("image",{xlinkHref:Ti}),(0,s.jsx)("text",{fill:"#dedede",children:"Book4"})]}),(0,s.jsxs)("g",{className:lc,mask:"url(#mask3)",children:[(0,s.jsx)("rect",{fill:"#f8d3cc"}),(0,s.jsx)("image",{xlinkHref:Ri}),(0,s.jsx)("text",{fill:"#b0304e",children:"Book3"})]}),(0,s.jsxs)("g",{className:uc,mask:"url(#mask4)",children:[(0,s.jsx)("rect",{fill:"#d2e4ce"}),(0,s.jsx)("image",{xlinkHref:Fi}),(0,s.jsx)("text",{fill:"#04756e",children:"Book2"})]}),(0,s.jsxs)("g",{className:dc,mask:"url(#mask5)",children:[(0,s.jsx)("rect",{fill:"#cad9e5"}),(0,s.jsx)("image",{xlinkHref:Oi}),(0,s.jsx)("text",{fill:"#142864",children:"Book1"})]})]}),(0,s.jsx)("div",{className:mc,style:c>=hc.length-1?{pointerEvents:"none"}:{},onClick:function(){if(!d.current&&n.current){var e=c+1,t=n.current.children[e].children[0];f(t,e)}},children:(0,s.jsx)("div",{className:fc,children:(0,s.jsx)($s.Z,{})})}),(0,s.jsx)("div",{className:gc,style:c<=0?{pointerEvents:"none"}:{},onClick:function(){if(!d.current&&n.current){var e=c-1,t=n.current.children[c].children[0];f(t,e)}},children:(0,s.jsx)("div",{className:fc,children:(0,s.jsx)(ec.Z,{})})})]})},yc="AutoCompletePunctuation_container__EjYmN",Ac="AutoCompletePunctuation_content__PIXsh",wc={"'":"'",'"':'"',"(":")","(":")","【":"】","[":"]","《":"》","「":"」","『":"』","{":"}","“":"”","‘":"’"},jc=function(){var e=(0,r.useRef)(null),t=(0,r.useRef)(null),n=(0,r.useCallback)((function(e){var t=wc[e.data];if(t&&("insertText"===e.inputType||"compositionend"===e.type))if(["TEXTAREA","INPUT"].includes(e.target.tagName))e.target.setRangeText(t);else{var n=document.createTextNode(t),r=document.getSelection();if(r){var i=r.getRangeAt(0);i.insertNode(n),i.setEndBefore(n),i.commonAncestorContainer.normalize()}}}),[]);return(0,r.useEffect)((function(){return e.current&&(e.current.addEventListener("input",n),e.current.addEventListener("compositionend",n)),t.current&&(t.current.addEventListener("input",n),t.current.addEventListener("compositionend",n)),function(){e.current&&(e.current.removeEventListener("input",n),e.current.removeEventListener("compositionend",n)),t.current&&(t.current.removeEventListener("input",n),t.current.removeEventListener("compositionend",n))}}),[]),(0,s.jsxs)("div",{className:yc,children:[(0,s.jsx)(Rr,{intlTitle:"page.htmlVision.interactiveDesign.autoCompletePunctuation"}),(0,s.jsxs)("div",{className:Ac,children:[(0,s.jsx)("textarea",{rows:5,placeholder:"maxLength is 100",maxLength:100,ref:e}),(0,s.jsx)("div",{contentEditable:"true",ref:t})]})]})},bc="StackedImages_container__Hnz74",_c="StackedImages_content__bZLt4",Dc=[kt,Ct,St,Pt],Mc=function(){return(0,s.jsxs)("div",{className:bc,children:[(0,s.jsx)(Rr,{intlTitle:"page.htmlVision.interactiveDesign.stackedImages"}),(0,s.jsx)("div",{className:_c,children:Dc.map((function(e,t){return(0,s.jsx)("img",{src:e,alt:""},t)}))})]})},kc="InteractiveDesign_container__oK3No",Nc="InteractiveDesign_box__+Trza",Ec=[{element:(0,s.jsx)(Hr,{})},{element:(0,s.jsx)(oi,{})},{element:(0,s.jsx)(xi,{})},{element:(0,s.jsx)(Ir,{data:Br[0]})},{element:(0,s.jsx)(ki,{})},{element:(0,s.jsx)(Bi,{})},{element:(0,s.jsx)(ra,{})},{element:(0,s.jsx)(fa,{})},{element:(0,s.jsx)(La,{})},{element:(0,s.jsx)(Va,{})},{element:(0,s.jsx)(no,{})},{element:(0,s.jsx)(so,{})},{element:(0,s.jsx)(mo,{})},{element:(0,s.jsx)(ho,{})},{element:(0,s.jsx)(Ao,{})},{element:(0,s.jsx)(Xs,{})},{element:(0,s.jsx)(Ir,{data:Br[1]})},{element:(0,s.jsx)(xc,{})},{element:(0,s.jsx)(jc,{})},{element:(0,s.jsx)(Mc,{})}],Cc=function(){var e=d().setScrollTop;return(0,r.useEffect)((function(){e(0)}),[]),(0,s.jsx)("div",{className:kc,children:Ec.map((function(e,t){return(0,s.jsx)("div",{className:Nc,children:e.element},t)}))})},Sc={container:"BackgroundEffect_container__u+IDp",box:"BackgroundEffect_box__k+mFh",bg1:"BackgroundEffect_bg1__klRoc",bg2:"BackgroundEffect_bg2__kPZ6M",bg3:"BackgroundEffect_bg3__82UV-",bg4:"BackgroundEffect_bg4__z430k",bg5:"BackgroundEffect_bg5__YkL6Y",bg6:"BackgroundEffect_bg6__zUQqR",bg7:"BackgroundEffect_bg7__thgM1",bg8:"BackgroundEffect_bg8__YdGMF",bg9:"BackgroundEffect_bg9__19R3E",bg10:"BackgroundEffect_bg10__htocf",bg11:"BackgroundEffect_bg11__CcLwl",bg12:"BackgroundEffect_bg12__eJxJM",bg13:"BackgroundEffect_bg13__mpoDJ",bg14:"BackgroundEffect_bg14__xnExu",bg15:"BackgroundEffect_bg15__F3Wrj",bg16:"BackgroundEffect_bg16__OBNeN",bg17:"BackgroundEffect_bg17__pb8bY",bg18:"BackgroundEffect_bg18__UKapy",bg19:"BackgroundEffect_bg19__obRK1",bg20:"BackgroundEffect_bg20__mnQic",bg21:"BackgroundEffect_bg21__qF-7f",bg22:"BackgroundEffect_bg22__Fcy+J",bg23:"BackgroundEffect_bg23__HJ4I5",bg24:"BackgroundEffect_bg24__qQdYv",bg25:"BackgroundEffect_bg25__h4HDo",bg26:"BackgroundEffect_bg26__PsQZC",bg27:"BackgroundEffect_bg27__U89Ls",bg28:"BackgroundEffect_bg28__2fShs",bg29:"BackgroundEffect_bg29__hiev7"},Pc=be.GridBox,Bc=new Array(29).fill("1"),Ic=function(){var e=d().setScrollTop;return(0,r.useEffect)((function(){e(0)}),[]),(0,s.jsx)("div",{className:Sc.container,children:(0,s.jsx)(be,{differentScreenCols:[4,3,3,2,2],rowSpace:8,colSpace:8,children:Bc.map((function(e,t){return(0,s.jsx)(Pc,{children:(0,s.jsx)("div",{className:Sc.box,children:(0,s.jsx)("div",{className:Sc["bg".concat(t+1)]})})},t)}))})})},Tc="LineCombination_container__toPmq",Rc="LineCombination_blackBox__P5fH8",Fc="LineCombination_blackBoxPoint__87aDR",Oc="LineCombination_whiteBox__-MGXi",Zc="LineCombination_whiteBoxPoint__Tz8Uh",Gc="LineCombination_name__E7QvH",Qc="LineCombination_value__5BYd0",Lc=0,zc=0,Hc=function(){var e=(0,r.useRef)(null),t=function t(){if(e.current){var n=Y.findDOMNode(e.current);if(n){var r=n.children.length,i=n.children[zc],a=null==i?void 0:i.children[0],o=i.clientWidth,s=i.clientHeight,c=a.style;if(zc%2==0){var l=8;c.left&&(l=parseFloat(c.left));var u=l+4;if(u>=o-8-8)if(a.style.visibility="hidden",zc>=r-1){var d;zc=0;var m=null===(d=n.children[zc])||void 0===d?void 0:d.firstChild;m.style.left="".concat(8,"px"),m.style.visibility="visible"}else{var f;zc+=1;var g=null===(f=n.children[zc])||void 0===f?void 0:f.firstChild;g.style.left="-1px",g.style.visibility="visible"}else a.style.left="".concat(u,"px"),"visible"!==a.style.visibility&&(a.style.visibility="visible")}else{var p=-1,h=8;if(c.left&&(p=parseFloat(c.left)),c.bottom&&(h=parseFloat(c.bottom)),p>=o){var v=h-4;if(v<=8){var x;a.style.visibility="hidden",zc+=1;var y=null===(x=n.children[zc])||void 0===x?void 0:x.firstChild;y.style.left="".concat(8,"px"),y.style.visibility="visible"}else a.style.bottom="".concat(v,"px")}else if(p<=-1){var A=h+4;A>s-8-8&&(A=s,a.style.width="".concat(8,"px"),a.style.height="1px",a.style.left="".concat(8,"px")),a.style.bottom="".concat(A,"px")}else{var w=p+4;w>o-8-8&&(w=o,a.style.width="1px",a.style.height="".concat(8,"px"),a.style.bottom="".concat(s-8-8)),a.style.left="".concat(w,"px")}}Lc=requestAnimationFrame(t)}}};return(0,r.useEffect)((function(){return e.current&&(Lc=requestAnimationFrame(t)),function(){Lc&&cancelAnimationFrame(Lc)}}),[]),(0,s.jsxs)("div",{className:Tc,ref:e,children:[(0,s.jsx)("div",{className:Rc,children:(0,s.jsx)("div",{className:Fc})}),(0,s.jsxs)("div",{className:Oc,children:[(0,s.jsx)("div",{className:Zc}),(0,s.jsx)("p",{className:Gc,children:"Price"}),(0,s.jsx)("p",{className:Qc,children:"$656"})]}),(0,s.jsx)("div",{className:Rc,children:(0,s.jsx)("div",{className:Fc})}),(0,s.jsxs)("div",{className:Oc,children:[(0,s.jsx)("div",{className:Zc}),(0,s.jsx)("p",{className:Gc,children:"Quantity"}),(0,s.jsx)("p",{className:Qc,children:"84351"})]}),(0,s.jsx)("div",{className:Rc,children:(0,s.jsx)("div",{className:Fc})}),(0,s.jsxs)("div",{className:Oc,children:[(0,s.jsx)("div",{className:Zc}),(0,s.jsx)("p",{className:Gc,children:"Number of partners"}),(0,s.jsx)("p",{className:Qc,children:"64"})]}),(0,s.jsx)("div",{className:Rc,children:(0,s.jsx)("div",{className:Fc})}),(0,s.jsxs)("div",{className:Oc,children:[(0,s.jsx)("div",{className:Zc}),(0,s.jsx)("p",{className:Gc,children:"Date of establishment"}),(0,s.jsx)("p",{className:Qc,children:"2008-10-01"})]}),(0,s.jsx)("div",{className:Rc,children:(0,s.jsx)("div",{className:Fc})}),(0,s.jsxs)("div",{className:Oc,children:[(0,s.jsx)("div",{className:Zc}),(0,s.jsx)("p",{className:Gc,children:"Transaction Analyzed"}),(0,s.jsx)("p",{className:Qc,children:"70Bn"})]}),(0,s.jsx)("div",{className:Rc,children:(0,s.jsx)("div",{className:Fc})})]})},Vc=n(93433),Uc=n(15861),Wc=n(64687),Yc=n.n(Wc),Jc=n(76755),qc=n(21734),Kc=n(32823),Xc=n(98879),$c=n(2161),el=n(1635),tl=n(63754),nl=n(57119),rl=n(57254),il=n(58491),al=n(68628),ol=n(31290),sl=n(35688),cl=n(17582),ll=n(72504),ul=n(16130),dl=n(92977),ml=n(62298),fl=n(6311),gl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===e)return"0 Bytes";var n=1024,r=t<0?0:t,i=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],a=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,a)).toFixed(r))+" "+i[a]},pl=function(e){if(!e&&0!==e||isNaN(e)||!isFinite(e))return"未知";var t=Math.floor(e/3600).toString().padStart(2,"00"),n=Math.floor(e%3600/60).toString().padStart(2,"00"),r=Math.floor(e%3600%60).toString().padStart(2,"00");return"".concat(t,":").concat(n,":").concat(r)},hl=function(e,t){if(e){var n=e.type.split("/");if("image"===n[0]){var r=n[1].toUpperCase(),i=new FileReader;i.onload=function(n){var i=n.target.result,a=vl(i);a&&(r=a);var o=new Blob([i]);xl(o,(function(n){if(n){var i=new Image;i.onload=function(){var a=i.width,s=i.height,c=Al(n,a,s);if(c){var l={name:e.name,fileType:r,size:e.size,width:a,height:s,imgUrl:n,imageData:c,blob:o};t(l)}else t(null)},i.onerror=function(){t(null)},i.src=n}else t(null)}))},i.readAsArrayBuffer(e)}else t(null)}else t(null)},vl=function(e){var t="";if(e){var n=new DataView(e).getUint32(0,!1);switch(Number(n).toString(16).toUpperCase()){case"FFD8FFDB":t="JPG";break;case"FFD8FFE0":case"FFD8FFE1":case"FFD8FFE2":case"FFD8FFE3":t="JPEG";break;case"89504E47":t="PNG";break;case"47494638":t="GIF";break;case"52494646":t="WEBP"}}return t},xl=function(e,t){if(e){var n=new FileReader;n.readAsDataURL(e),n.onload=function(e){e.target?t(e.target.result):t(null)}}else t(null)},yl=function(e){if(!e)return null;var t=e.width,n=e.height,r=document.createElement("canvas"),i=r.getContext("2d");return r.width=t,r.height=n,i.putImageData(e,0,0,0,0,t,n),r.toDataURL("image/png")},Al=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e&&t&&n){var r=new Image;r.src=e;var i=document.createElement("canvas"),a=i.getContext("2d");i.width=t,i.height=n,a.drawImage(r,0,0,t,n);var o=a.getImageData(0,0,t,n);return o}return null},wl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e&&t&&n){var r=document.createElement("canvas"),i=r.getContext("2d");r.width=t,r.height=n,i.drawImage(e,0,0,t,n);var a=i.getImageData(0,0,t,n);return a}return null},jl=function(e,t){if(e){var n=document.createElement("a");n.style.visibility="hidden",document.body.appendChild(n),n.download=t;var r=window.URL.createObjectURL(e);n.href=r,n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(r)}},bl=function(e,t){if(e&&0!==e.length){var n=new Blob(e,{type:"video/webm"}),r="video.webm";if(t){var i=t.split(".");r="".concat(i[0],".webm")}jl(n,r)}},_l=function(e){var t=document.getElementById("attach_image");if(t){var n=t.height/t.width;0===e?(t.style.width="".concat(t.clientWidth-50,"px"),t.style.height="".concat(t.clientHeight-50*n,"px")):(t.style.width="".concat(t.clientWidth+50,"px"),t.style.height="".concat(t.clientHeight+50*n,"px"))}},Dl=function(){var e=document.getElementById("attach_image");if(e){var t=!1,n=null,r=null;e.onmousewheel=function(e){e.stopPropagation(),e.preventDefault();var t=e.wheelDelta||e.detail;_l(t>0?1:0)},e.onmousedown=function(e){e.stopPropagation(),e.preventDefault(),t=!0,n=e.clientX,r=e.clientY},e.onmouseup=function(e){e.stopPropagation(),e.preventDefault(),t=!1},e.onmousemove=function(i){if(i.stopPropagation(),i.preventDefault(),t){var a=i.clientX,o=i.clientY,s=a-n,c=o-r,l=document.getElementById("attach_imgDiv");if(l){var u=parseFloat(e.style.left)+s,d=parseFloat(e.style.top)+c,m=-.75*parseFloat(e.style.width),f=parseFloat(l.style.width)-.25*parseFloat(e.style.width),g=-.75*parseFloat(e.style.height),p=parseFloat(l.style.height)-.25*parseFloat(e.style.height);uf&&(u=f),dp&&(d=p),e.style.left="".concat(u,"px"),e.style.top="".concat(d,"px"),n=a,r=o}}}}},Ml="FileView_container__SyQN4",kl="FileView_tableLy__kaeXq",Nl="FileView_viewContainer__n0Kg6",El="FileView_progress__GtmqC",Cl="FileView_imgDiv__ErTpj",Sl="FileView_downLoadTip__FIvRY",Pl="FileView_emptyTip__OW2E4",Bl="FileView_arrowIcon__2JeuW",Il="FileView_leftArrow__IeXsk",Tl="FileView_rightArrow__HPiMt",Rl="FileView_imgInfo__Z2qPj",Fl="FileView_imgOperate__h-UFp",Ol="FileView_iconDiv__GUb18",Zl="FileView_left__Erhr-",Gl="FileView_xiangXia__cm3bW",Ql="FileView_xiangShang__2ATuW",Ll="FileView_fileContainer__rbVnb",zl="FileView_draggerBox__GNF2g",Hl="FileView_draggerTextBoxHover__6Z8I-",Vl="FileView_draggerTextBox__2soxW",Ul="FileView_firstLine__5trSy",Wl="FileView_linkBtn__n-sJb",Yl="FileView_secondLine__9YFcw",Jl="FileView_moreOperate__e+uIL",ql="FileView_poperSpan__8roYR";function Kl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xl(e){for(var t=1;t1?Xl(Xl({},t),{},{imgSrc:"data:image/jpg;base64,".concat(r[1])}):Xl(Xl({},t),{},{imgSrc:"data:image/jpg;base64,".concat(e.value)})}b.current=t,j(t)},G=function(e){if(e){var t=e.substring(e.lastIndexOf(".")+1);if(t)return t.toLowerCase()}return""},Q=function(){var e=(0,Uc.Z)(Yc().mark((function e(t){return Yc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,r.useEffect)((function(){f.current=nu,m(nu),k(!1),x(!1),P.current=[],S([]),Z(null),t&&Q(t)}),[t]),(0,r.useEffect)((function(){!O.current&&T&&Dl()}),[T]);var L=function(e){var t=document.getElementsByClassName("ant-upload-drag");t&&t.length>0&&t[0].classList.remove(Hl)},z=function(e){var t="";return t="left"===e?P.current[0].fileId:P.current[P.current.length-1].fileId,F.current&&t===F.current.fileId?"#d8d8d8":"#666666"},H=function(e,t){if(e){var n=G(e.fileName);if(["jpg","jpeg","png","gif"].includes(n)){if(t){var r=new FileReader;r.readAsArrayBuffer(t),r.onload=function(r){var i,a=window.btoa(new Uint8Array(null===(i=r.target)||void 0===i?void 0:i.result).reduce((function(e,t){return e+String.fromCharCode(t)}),"")),o=Xl({},e);o.fileId=e.fileId,o.fileName=e.fileName,o.fileType=n,o.value=a,o.size=gl(t.size),o.upTime=(0,ar.Z)(e.createTime,"yyyy-MM-dd HH:mm:ss"),o.userNmae="".concat(e.uploadUserName,"/").concat(e.uploadUser);var s=[].concat((0,Vc.Z)(P.current),[o]);P.current=s,S(s),Z(o)}}}else{var i=Xl({},e);i.fileId=e.fileId,i.fileName=e.fileName,i.fileType=n,i.value="",i.size=gl(t.size),i.upTime=(0,ar.Z)(e.createTime,"yyyy-MM-dd HH:mm:ss"),i.userNmae="".concat(e.uploadUserName,"/").concat(e.uploadUser);var a=[].concat((0,Vc.Z)(P.current),[i]);P.current=a,S(a),Z(i)}}},V=function(){var e=(0,Uc.Z)(Yc().mark((function e(t){var n,r;return Yc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.event&&t.event.preventDefault(),!i){e.next=3;break}return e.abrupt("return");case 3:if(!f.current.isProgress){e.next=6;break}return Kc.ZP.warning("有文件正在上传,请稍侯"),e.abrupt("return");case 6:(n=Xl(Xl({},nu),{},{isProgress:!0})).progressTimer=window.setInterval((function(){if(f.current.percent<90){var e=Xl(Xl({},f.current),{},{percent:f.current.percent+Math.floor(20*Math.random())});f.current=e,m(e)}}),800),f.current=n,m(n);try{setTimeout((function(){f.current.progressTimer&&window.clearInterval(f.current.progressTimer);var e=Xl({},nu);f.current=e,m(e);var n={code:200,data:{fileId:Number(Math.random().toString().substring(3,8)+Date.now()).toString(36),fileName:t.file.name,createTime:(new Date).getTime(),uploadUserName:"userName",uploadUser:"000001"},msg:""};n&&200===n.code?H(n.data,t.file.originFileObj):Kc.ZP.error("上传".concat(t.file.name,"失败"))}),2e3)}catch(e){f.current.progressTimer&&window.clearInterval(f.current.progressTimer),r=Xl({},nu),f.current=r,m(r),Kc.ZP.error("上传".concat(t.file.name,"失败"))}case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),U=function(){var e=(0,Uc.Z)(Yc().mark((function e(t){var n;return Yc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t||T){e.next=4;break}return Kc.ZP.warning("无文件可进行删除"),e.abrupt("return");case 4:if(!i){e.next=7;break}return Kc.ZP.warning("目前状态不允许删除"),e.abrupt("return");case 7:v.Z.confirm({title:"删除文件提示",content:"确认删除【".concat(n.fileName,"】文件?"),icon:(0,s.jsx)(nl.Z,{}),centered:!0,onOk:function(){var e=(0,Uc.Z)(Yc().mark((function e(){return Yc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Kc.ZP.warning("删除中..."),setTimeout((function(){var e={code:200,data:{},msg:""};if(e&&200===e.code){Kc.ZP.success("删除文件成功");var t=P.current.filter((function(e){return e.fileId!==n.fileId}));P.current=t,S(t),O.current=F.current,t.length>0?Z(t[0]):Z(null)}else Kc.ZP.error(e.msg)}),2e3);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),W=function(){var e=(0,Uc.Z)(Yc().mark((function e(){return Yc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(T){e.next=2;break}return e.abrupt("return");case 2:Kc.ZP.warning("下载中..."),setTimeout((function(){Kc.ZP.success("下载成功")}),2e3);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Y=function(e){var t=document.getElementById("attach_image");switch(e){case 0:t&&b.current&&(t.style.width="700px",t.style.height="".concat(700*b.current.imgScale,"px"),t.style.top="0px",t.style.left="0px");break;case 1:t&&b.current&&(t.style.width="".concat(t.clientWidth+50,"px"),t.style.height="".concat(t.clientHeight+50*b.current.imgScale,"px"));break;case 2:t&&b.current&&(t.style.width="".concat(t.clientWidth-50,"px"),t.style.height="".concat(t.clientHeight-50*b.current.imgScale,"px"));break;case 3:t&&b.current&&(t.style.width="".concat(b.current.imgOrigin.width,"px"),t.style.height="".concat(b.current.imgOrigin.height,"px"),t.style.top="0px",t.style.left="0px");break;case 4:if(t&&b.current){var n=Xl(Xl({},b.current),{},{imgRotate:b.current.imgRotate+1});b.current=n,j(n),t.style.webkitTransform="rotate(".concat(-90*b.current.imgRotate,"deg)")}break;case 5:U();break;case 6:W();break;case 7:for(var r=0,i=P.current.length;r0){Z(P.current[o-1]);break}}}};return(0,s.jsx)("div",{className:Ml,style:c,children:(0,s.jsx)("div",{className:kl,children:(0,s.jsxs)("div",{style:{width:"860px"},children:[(0,s.jsx)("div",{style:{width:"100%",height:"87vh",minHeight:"700px",backgroundImage:"linear-gradient(135deg, #224141, #162a2a)"},children:(0,s.jsxs)("div",{className:Nl,children:[d.isProgress&&(0,s.jsxs)("div",{className:El,children:[(0,s.jsx)(Xc.Z,{style:{width:"400px"},percent:d.percent,showInfo:!1}),(0,s.jsxs)("span",{style:{marginTop:"16px"},children:["上传中,请稍候...",d.percent>100?100:d.percent,"%"]})]}),(0,s.jsxs)("div",{id:"attach_imgDiv",className:Cl,children:[T&&(0,s.jsxs)("div",{children:[["jpg","jpeg","png","gif"].includes((null==T?void 0:T.fileType)||"")&&(0,s.jsx)("img",{id:"attach_image",src:null==w?void 0:w.imgSrc,style:{position:"absolute",top:0,left:0},onLoad:function(){var e=document.getElementById("attach_image");if(e){var t=Xl(Xl({},b.current),{},{imgScale:e.clientHeight/e.clientWidth,imgOrigin:{width:e.clientWidth,height:e.clientHeight}});b.current=t,j(t),e.style.width="700px",e.style.height="".concat(700*t.imgScale,"px")}},alt:""}),["pdf","doc","cocx","xls","xlsx","rar","zip","7z","wim","tar"].includes((null==T?void 0:T.fileType)||"")&&(0,s.jsxs)("div",{className:Sl,children:["如果想要浏览该文件,您可以",(0,s.jsx)(oe.Z,{type:"link",onClick:function(){return Y(6)},children:"点击下载"})]})]}),!T&&!d.isProgress&&(0,s.jsxs)("div",{className:Pl,children:[(0,s.jsx)("div",{style:{width:"100%",color:"#333333"},children:"请上传文件"}),(0,s.jsxs)("div",{style:{width:"100%",color:"#ababab",marginTop:"10px",lineHeight:"20px"},children:["不超过30M,",(0,s.jsx)("br",{}),"支持jpg,jpeg,png,gif格式的文件"]})]}),T&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"".concat(Bl," ").concat(Il),style:{backgroundColor:z("left")},onClick:function(){return Y(8)},children:(0,s.jsx)($s.Z,{})}),(0,s.jsx)("span",{className:"".concat(Bl," ").concat(Tl),style:{backgroundColor:z("right")},onClick:function(){return Y(7)},children:(0,s.jsx)(ec.Z,{})})]})]}),h&&(0,s.jsx)("div",{className:Rl,children:(0,s.jsxs)($c.Z,{children:[(0,s.jsx)(el.Z,{span:24,children:(0,s.jsxs)("span",{style:{fontSize:"14px"},children:["文件名:",null==T?void 0:T.fileName]})}),(0,s.jsx)(el.Z,{span:16,children:(0,s.jsxs)("span",{style:{fontSize:"14px"},children:["上传者:",null==T?void 0:T.userName]})}),(0,s.jsx)(el.Z,{span:8,children:(0,s.jsxs)("span",{style:{fontSize:"14px"},children:["上传时间:",null==T?void 0:T.upTime]})})]})}),T&&(0,s.jsxs)("div",{className:Fl,children:[(0,s.jsxs)("div",{className:Zl,children:[(0,s.jsx)(Jc.Z,{placeholder:"请选择",style:{width:"300px"},size:"small",value:T.fileId,loading:M,onChange:function(e){for(var t=null,n=0,r=P.current.length;n31457280?(Kc.ZP.warning("单个文件大小不能超过30M"),!1):void 0:(Kc.ZP.warning("请上传符合格式要求的文件"),!1)},customRequest:function(){},onDrop:function(e){return e.preventDefault()},onChange:V,children:(0,s.jsxs)("div",{className:Vl,onDragOver:function(e){var t=document.getElementsByClassName("ant-upload-drag");t&&t.length>0&&t[0].classList.add(Hl)},onDragLeave:L,onDrop:L,children:[(0,s.jsxs)("div",{className:Ul,children:[(0,s.jsx)(ml.Z,{}),(0,s.jsx)("span",{children:"将文件拖拽到此处,或"}),(0,s.jsx)("span",{className:i?"":Wl,children:"点击上传"})]}),(0,s.jsx)("div",{className:Yl,children:"系统支持的格式为jpg,jpeg,png,gif,pdf,doc,docx,xls,xlsx,rar,zip,7z,wim,tar的文件"})]})})})]})})})},au="ComplexLayout_container__xqRV5",ou="ComplexLayout_box__Hjeq7",su=[{element:(0,s.jsx)(Hc,{})},{element:(0,s.jsx)(iu,{})}],cu=function(){var e=d().setScrollTop;return(0,r.useEffect)((function(){e(0)}),[]),(0,s.jsx)("div",{className:au,children:su.map((function(e,t){return(0,s.jsx)("div",{className:ou,children:e.element},t)}))})},lu=n(82029),uu="Page1_container__8IHn6",du="Page1_content__zgPdQ",mu="Page1_top__Tik59",fu="Page1_title__qIkYy",gu="Page1_author__EVTso",pu="Page1_appoint__gEum0",hu="Page1_articleContent__STpiB",vu="Page1_subTitle__g0Ill",xu="Page1_codeBox__hf4Aw",yu="Page1_strong__Um16S",Au=function(e){var t=(0,p.Z)();e.showPageIndex;return(0,s.jsx)("div",{className:uu,children:(0,s.jsxs)("div",{className:du,children:[(0,s.jsxs)("div",{className:mu,children:[(0,s.jsx)("div",{className:fu,children:t.formatMessage({id:"page.htmlVision.applicationPageFrame.title"})}),(0,s.jsx)("div",{className:gu,children:"".concat(t.formatMessage({id:"page.htmlVision.applicationPageFrame.author"}),": River")})]}),(0,s.jsxs)("div",{className:pu,children:[(0,s.jsx)("div",{children:"".concat(t.formatMessage({id:"page.htmlVision.applicationPageFrame.appoint"}),":")}),(0,s.jsx)("div",{children:t.formatMessage({id:"page.htmlVision.applicationPageFrame.appointText1"})}),(0,s.jsx)("div",{children:t.formatMessage({id:"page.htmlVision.applicationPageFrame.appointText2"})})]}),(0,s.jsxs)("div",{className:hu,children:[(0,s.jsx)("div",{className:vu,children:t.formatMessage({id:"page.htmlVision.applicationPageFrame.subTitle1"})}),(0,s.jsx)("div",{children:"".concat(t.formatMessage({id:"page.htmlVision.applicationPageFrame.des1"}),":")}),(0,s.jsxs)("div",{className:xu,children:[(0,s.jsx)("div",{children:"// ".concat(t.formatMessage({id:"page.htmlVision.applicationPageFrame.codeBox1.text"}))}),(0,s.jsx)("div",{children:''})]}),(0,s.jsxs)("div",{className:xu,children:[(0,s.jsx)("div",{children:"// ".concat(t.formatMessage({id:"page.htmlVision.applicationPageFrame.codeBox2.text"}))}),(0,s.jsx)("div",{children:"