(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,693263,e=>{"use strict";var r=e.i(843476),i=e.i(647163);e.s(["default",0,function({children:e,className:t,...n}){return(0,r.jsx)("div",{className:(0,i.cn)("max-w-7xl mx-auto px-8 w-full",t),...n,children:e})}])},387952,e=>{"use strict";var r=e.i(843476),i=e.i(657688),t=e.i(456904),n=e.i(271645),s=e.i(167881),l=e.i(263488),a=e.i(363178),o=e.i(473665),c=e.i(984828),d=e.i(693263),h=e.i(948148),f=e.i(463415);e.s(["default",0,function(){let{theme:e}=(0,a.useTheme)(),x=(0,h.useTranslations)(),[m,u]=(0,n.useState)("/images/logo.svg");return(0,n.useEffect)(()=>{u("dark"===e?"/images/logo.svg":"/images/logodark.svg")},[e]),(0,r.jsxs)("div",{className:"pt-16 px-4 sm:px-6 lg:px-8",children:[(0,r.jsxs)("div",{className:"max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 lg:gap-10",children:[(0,r.jsxs)("div",{className:"md:col-span-2 lg:col-span-1 lg:mr-auto",children:[(0,r.jsx)(i.default,{src:m,alt:"Cofinex",height:28,width:172}),(0,r.jsxs)("div",{className:"grid lg:grid-cols-4 grid-cols-8 gap-3 sm:gap-5 lg:max-w-48 my-6 sm:my-10",children:[(0,r.jsxs)(t.Link,{href:"https://twitter.com/CofinexExchange",target:"_blank",children:[(0,r.jsx)(i.default,{src:"/images/social/x.svg",alt:"",height:32,width:32})," "]}),(0,r.jsxs)(t.Link,{href:"https://t.me/cofinexexchange",target:"_blank",children:[(0,r.jsx)(i.default,{src:"/images/social/tg.svg",alt:"",height:32,width:32})," "]}),(0,r.jsxs)(t.Link,{href:"https://discord.com/invite/cofinex",target:"_blank",children:[(0,r.jsx)(i.default,{src:"/images/social/discord.svg",alt:"",height:32,width:32})," "]}),(0,r.jsxs)(t.Link,{href:"https://www.youtube.com/watch?v=_qJUX17YLxY",target:"_blank",children:[(0,r.jsx)(i.default,{src:"/images/social/youtube.svg",alt:"",height:32,width:32})," "]}),(0,r.jsxs)(t.Link,{href:"https://www.instagram.com/cofinexexchange/",target:"_blank",children:[(0,r.jsx)(i.default,{src:"/images/social/inst.svg",alt:"",height:32,width:32})," "]}),(0,r.jsxs)(t.Link,{href:"https://www.facebook.com/cofinexexchange/",target:"_blank",children:[(0,r.jsx)(i.default,{src:"/images/social/faceebook.svg",alt:"",height:32,width:32})," "]}),(0,r.jsxs)(t.Link,{href:"https://www.linkedin.com/company/cofinex-exchange",target:"_blank",children:[(0,r.jsx)(i.default,{src:"/images/social/in.svg",alt:"",height:32,width:32})," "]}),(0,r.jsxs)(t.Link,{href:"https://medium.com/@cofinex",target:"_blank",children:[(0,r.jsx)(i.default,{src:"/images/social/medium.svg",alt:"",height:32,width:32})," "]})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 max-w-36",children:[(0,r.jsxs)(t.Link,{href:"https://play.google.com/store/apps/details?id=io.cofinex.cofinex_mobile_app&pcampaignid=web_share",children:[" ",(0,r.jsx)(i.default,{src:"light"===e?"/images/google_play_dark.webp":"/images/google_play_light.webp",alt:"Play Store",height:134,width:410})]}),(0,r.jsxs)(f.DropdownMenu,{children:[(0,r.jsx)(f.DropdownMenuTrigger,{asChild:!0,children:(0,r.jsxs)(s.Button,{variant:"white",className:"py-5",children:[(0,r.jsx)(c.FaQrcode,{className:"mr-2 h-4 w-4"}),x("navigation.download_app")]})}),(0,r.jsx)(f.DropdownMenuContent,{align:"start",className:"w-64 p-6 bg-background",children:(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,r.jsx)("div",{className:"bg-white p-4 rounded-lg border",children:(0,r.jsx)(i.default,{src:"/images/qr-code.webp",alt:"Download App QR Code",width:200,height:200,className:"rounded"})}),(0,r.jsxs)("div",{className:"text-center space-y-2 w-full",children:[(0,r.jsx)("p",{className:"text-sm font-medium text-foreground",children:x("navigation.scan_to_download_app")}),(0,r.jsx)("p",{className:"text-xs text-gray1",children:x("navigation.ios_android")}),(0,r.jsxs)(s.Button,{onClick:()=>{let e=document.createElement("a");e.href="/images/qr-code.webp",document.body.appendChild(e),e.click(),document.body.removeChild(e)},className:"w-full mt-2",variant:"outline",children:[(0,r.jsx)(o.MdOutlineFileDownload,{className:"mr-2 h-4 w-4"}),x("footer.download_qr_code")]})]})]})})]})]}),(0,r.jsxs)("div",{className:"mt-6 sm:mt-10",children:[(0,r.jsx)("strong",{children:x("footer.business_inquiries")}),(0,r.jsx)("div",{className:"",children:(0,r.jsxs)(t.Link,{href:"mailto:support@cofinex.io",className:"text-gray1 text-xs flex gap-1 items-center",children:[(0,r.jsx)(l.Mail,{size:14}),"support@cofinex.io"]})})]})]}),(0,r.jsxs)("div",{className:"md:col-span-2 lg:col-span-3 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-6 lg:gap-8",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-base sm:text-lg font-bold mb-3 sm:mb-4",children:x("footer.company")}),(0,r.jsxs)("ul",{className:"text-sm text-gray1 gap-2 sm:gap-3 flex flex-col",children:[(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://cms.cofinex.io/wp/about-us/",children:x("footer.about_cofinex")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/our-team",children:x("footer.our_team")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://cms.cofinex.io/wp/contact-us/",children:x("footer.contact_us")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://global.cofinex.io/career.html",children:x("footer.careers")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.communities")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.media_kit")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/blog",children:x("navigation.cofinex_blog")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.cofinex_token")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/announcements",children:x("footer.announcement")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.protection_fund")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.proof_of_reserves")})})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-base sm:text-lg font-bold mb-3 sm:mb-4",children:x("footer.products")}),(0,r.jsxs)("ul",{className:"text-sm text-gray1 gap-2 sm:gap-3 flex flex-col",children:[(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/market/spot/BTC-USDT/",children:x("navigation.trade")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.futures")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.copy_trading")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/staking",children:x("navigation.earn")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.launchpad")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.copay_card")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://scanner.cofinex.io/",children:x("footer.cofinex_chain")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://global.cofinex.io/metaverse.html",children:x("footer.metaverse")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/academy",children:x("navigation.cofinex_academy")})})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-base sm:text-lg font-bold mb-3 sm:mb-4",children:x("footer.services")}),(0,r.jsxs)("ul",{className:"text-sm text-gray1 gap-2 sm:gap-3 flex flex-col",children:[(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/market",children:x("footer.buy_crypto")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://forms.gle/HtTRKcNubVyAGZ5P6",target:"_blank",children:x("footer.list_your_token")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#https://cms.cofinex.io/wp/referral/",children:x("footer.referral_program")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.vip_program")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.institutional_services")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://images.cofinex.io/docs/CNX_whitepaper_en_v1.1.1.pdf",target:"_blank",children:x("footer.whitepaper")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.affiliate_program")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://global.cofinex.io/mission.html",children:x("footer.mission")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://calendly.com/cofinex",children:x("footer.contact_global_ceo")})})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-base sm:text-lg font-bold mb-3 sm:mb-4",children:x("footer.support")}),(0,r.jsxs)("ul",{className:"text-sm text-gray1 gap-2 sm:gap-3 flex flex-col",children:[(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.submit_feedback")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://cms.cofinex.io/wp/help/",children:x("footer.help_center")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.rewards_center")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.download_data")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.trading_fee")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/broker-program",children:x("footer.broker_program")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://apidocs.cofinex.io/",children:x("footer.api_docs")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/fundraising",children:x("footer.fund_raising")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"https://cms.cofinex.io/wp/verify/",children:x("footer.authenticity_check")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"#",children:x("footer.sitemap")})})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-base sm:text-lg font-bold mb-3 sm:mb-4",children:x("footer.legal_disclosures")}),(0,r.jsxs)("ul",{className:"text-sm text-gray1 gap-2 sm:gap-3 flex flex-col",children:[(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/user-agreement",children:x("footer.user_agreement")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/privacy-policy",children:x("footer.privacy_policy")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/fiat-rules",children:x("footer.fiat_rules")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/aml-cft",children:x("footer.aml_cft")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/terms-conditions",children:x("footer.terms_conditions")})}),(0,r.jsx)("li",{children:(0,r.jsxs)(t.Link,{href:"/risk-compliance-disclosure",children:[x("footer.risk_compliance_disclosure")," "]})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/law-enforcement-request-guidelines",children:x("footer.law_enforcement_request_guidelines")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/restricted-jurisdiction-policy",children:x("footer.restricted_jurisdiction_policy")})}),(0,r.jsx)("li",{children:(0,r.jsx)(t.Link,{href:"/us-person-definiton",children:x("footer.us_person_definition")})})]})]})]})]}),(0,r.jsx)("hr",{className:"my-5"}),(0,r.jsxs)(d.default,{children:[(0,r.jsxs)("div",{className:" pb-1 flex-col flex gap-1 justify-between flex-wrap",children:[(0,r.jsx)("p",{children:x("footer.made_with_love_in_india")}),(0,r.jsx)("p",{className:"text-[10px] text-center",children:x("footer.cofinex_india_legal")}),(0,r.jsxs)("p",{className:"text-[10px] text-center",children:[x("footer.tradingview_part_1")," ",(0,r.jsx)(t.Link,{href:"https://www.tradingview.com/symbols/BTCUSD/",target:"_blank",rel:"noopener noreferrer",children:x("footer.track_bitcoin_price")}),x("footer.tradingview_part_2")]})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-1 text-[10px] dark:text-gray1 italic pb-3",children:[(0,r.jsx)("p",{className:"text-center",children:x("footer.minos_legal")}),(0,r.jsxs)("p",{className:" text-center",children:[" ",x("footer.disclaimer")]})]})]})]})}])},671428,e=>{"use strict";var r=e.i(843476),i=e.i(647163);function t({className:e,...t}){return(0,r.jsx)("div",{"data-slot":"skeleton",className:(0,i.cn)("bg-foreground/10 animate-pulse rounded-md",e),...t})}e.s(["Skeleton",()=>t])},347966,e=>{"use strict";var r=e.i(271645);e.s(["useImageError",0,()=>{let[e,i]=(0,r.useState)(new Set),t=(0,r.useCallback)(e=>{i(r=>{let i=new Set(r);return i.add(e.toLowerCase()),i})},[]),n=(0,r.useCallback)((r,i="https://images.cofinex.io/crypto/ico/btc.webp")=>{let t=r.toLowerCase();return e.has(t)?i:`https://images.cofinex.io/crypto/ico/${t}.webp`},[e]);return{imageErrors:e,handleImageError:t,getImageSrc:n,resetErrors:(0,r.useCallback)(()=>{i(new Set)},[])}}])},858874,e=>{"use strict";var r=e.i(843476),i=e.i(271645),t=e.i(657688),n=e.i(647163),s=e.i(347966);let l=i.default.memo(({currency:e,width:l=20,height:a=20,className:o,fallbackSrc:c="https://images.cofinex.io/crypto/ico/btc.webp",alt:d,fill:h=!1,onError:f})=>{let x=e.toLowerCase(),{handleImageError:m,imageErrors:u}=(0,s.useImageError)(),p=(0,i.useCallback)(()=>{u.has(x)||(m(x),f?.(e))},[x,u,m,e,f]),g=u.has(x)?c:`https://images.cofinex.io/crypto/ico/${x}.webp`;return h?(0,r.jsx)("div",{className:(0,n.cn)("relative",o),children:(0,r.jsx)(t.default,{src:g,alt:d||e,fill:!0,onError:p,className:(0,n.cn)("rounded-full p-0.5",o)})}):(0,r.jsx)(t.default,{src:g,alt:d||e,width:l,height:a,onError:p,className:o})},(e,r)=>e.currency===r.currency&&e.className===r.className);l.displayName="CryptoImage",e.s(["CryptoImage",0,l])},871689,e=>{"use strict";let r=(0,e.i(475254).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>r],871689)},232189,(e,r,i)=>{"use strict";r.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},865156,(e,r,i)=>{"use strict";var t=e.r(232189);function n(){}function s(){}s.resetWarningCache=n,r.exports=function(){function e(e,r,i,n,s,l){if(l!==t){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function r(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:s,resetWarningCache:n};return i.PropTypes=i,i}},745009,(e,r,i)=>{r.exports=e.r(865156)()},824068,e=>{"use strict";var r=e.i(271645);e.s(["getPriceDirection",0,(e,r,i=0)=>{if(null==r)return"neutral";let t=e-r;return Math.abs(t)<=i?"neutral":t>0?"up":"down"},"getPriceDirectionColors",0,(e,r="text")=>({up:"text"===r?"text-green":"bg-green/10",down:"text"===r?"text-red":"bg-red/10",neutral:"text"===r?"text-foreground":"bg-transparent"})[e],"usePriceDirectionTracker",0,()=>{let e=(0,r.useRef)({}),i=(0,r.useCallback)((r,i)=>{let t=e.current[r];return(e.current[r]=i,void 0===t)?"neutral":i>t?"up":i{let n=i(r,t);return{price:t,priceDirection:n,previousPrice:e.current[r]}},[]),n=(0,r.useCallback)(r=>{delete e.current[r]},[]);return{getPriceDirection:i,updatePrice:t,clearSymbol:n,clearAll:(0,r.useCallback)(()=>{e.current={}},[]),previousPrices:(0,r.useMemo)(()=>e.current,[])}}])},994376,e=>{"use strict";let r=(0,e.i(475254).default)("move-right",[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]]);e.s(["MoveRight",()=>r],994376)},245423,e=>{"use strict";let r=(0,e.i(475254).default)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);e.s(["Bell",()=>r],245423)},922998,(e,r,i)=>{Object.defineProperty(i,"__esModule",{value:!0});var t=e.r(271645),n=t&&"object"==typeof t&&"default"in t?t:{default:t};!function(e){if(!e||"undefined"==typeof window)return;let r=document.createElement("style");r.setAttribute("type","text/css"),r.innerHTML=e,document.head.appendChild(r)}('.rfm-marquee-container {\n overflow-x: hidden;\n display: flex;\n flex-direction: row;\n position: relative;\n width: var(--width);\n transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n pointer-events: none;\n touch-action: none;\n}\n.rfm-overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n left: 0;\n top: 0;\n}\n\n.rfm-marquee {\n flex: 0 0 auto;\n min-width: var(--min-width);\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}\n\n.rfm-initial-child-container {\n flex: 0 0 auto;\n display: flex;\n min-width: auto;\n flex-direction: row;\n align-items: center;\n}\n\n.rfm-child {\n transform: var(--transform);\n}'),i.default=t.forwardRef(function({style:e={},className:r="",autoFill:i=!1,play:s=!0,pauseOnHover:l=!1,pauseOnClick:a=!1,direction:o="left",speed:c=50,delay:d=0,loop:h=0,gradient:f=!1,gradientColor:x="white",gradientWidth:m=200,onFinish:u,onCycleComplete:p,onMount:g,children:j},v){let[k,b]=t.useState(0),[w,y]=t.useState(0),[_,L]=t.useState(1),[N,C]=t.useState(!1),E=t.useRef(null),T=v||E,M=t.useRef(null),S=t.useCallback(()=>{if(M.current&&T.current){let e=T.current.getBoundingClientRect(),r=M.current.getBoundingClientRect(),t=e.width,n=r.width;("up"===o||"down"===o)&&(t=e.height,n=r.height),i&&t&&n?L(n{if(N&&(S(),M.current&&T.current)){let e=new ResizeObserver(()=>S());return e.observe(T.current),e.observe(M.current),()=>{e&&e.disconnect()}}},[S,T,N]),t.useEffect(()=>{S()},[S,j]),t.useEffect(()=>{C(!0)},[]),t.useEffect(()=>{"function"==typeof g&&g()},[]);let R=t.useMemo(()=>i?w*_/c:wObject.assign(Object.assign({},e),{"--pause-on-hover":!s||l?"paused":"running","--pause-on-click":!s||l&&!a||a?"paused":"running","--width":"up"===o||"down"===o?"100vh":"100%","--transform":"up"===o?"rotate(-90deg)":"down"===o?"rotate(90deg)":"none"}),[e,s,l,a,o]),P=t.useMemo(()=>({"--gradient-color":x,"--gradient-width":"number"==typeof m?`${m}px`:m}),[x,m]),q=t.useMemo(()=>({"--play":s?"running":"paused","--direction":"left"===o?"normal":"reverse","--duration":`${R}s`,"--delay":`${d}s`,"--iteration-count":h?`${h}`:"infinite","--min-width":i?"auto":"100%"}),[s,o,R,d,h,i]),A=t.useMemo(()=>({"--transform":"up"===o?"rotate(90deg)":"down"===o?"rotate(-90deg)":"none"}),[o]),D=t.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,r)=>n.default.createElement(t.Fragment,{key:r},t.Children.map(j,e=>n.default.createElement("div",{style:A,className:"rfm-child"},e)))),[A,j]);return N?n.default.createElement("div",{ref:T,style:O,className:"rfm-marquee-container "+r},f&&n.default.createElement("div",{style:P,className:"rfm-overlay"}),n.default.createElement("div",{className:"rfm-marquee",style:q,onAnimationIteration:p,onAnimationEnd:u},n.default.createElement("div",{className:"rfm-initial-child-container",ref:M},t.Children.map(j,e=>n.default.createElement("div",{style:A,className:"rfm-child"},e))),D(_-1)),n.default.createElement("div",{className:"rfm-marquee",style:q},D(_))):null})}]);