Files
doormilebuild/build/.next/static/chunks/0spp0f97.dr6e.js

183 lines
30 KiB
JavaScript

(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,16015,(e,t,n)=>{},98547,(e,t,n)=>{var i=e.i(47167);e.r(16015);var r=e.r(71645),o=r&&"object"==typeof r&&"default"in r?r:{default:r},s=void 0!==i.default&&i.default.env&&!0,a=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,i=void 0===n?"stylesheet":n,r=t.optimizeForSpeed,o=void 0===r?s:r;c(a(i),"`name` must be a string"),this._name=i,this._deletedRulePlaceholder="#"+i+"-deleted-rule____{}",c("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,n=e.prototype;return n.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},n.isOptimizeForSpeed=function(){return this._optimizeForSpeed},n.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},n.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},n.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},n.insertRule=function(e,t){if(c(a(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return s||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var i=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,i))}return this._rulesCount++},n.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var n="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(i){s||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var i=this._tags[e];c(i,"old rule at index `"+e+"` not found"),i.textContent=t}return e},n.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},n.flush=function(){this._injected=!1,this._rulesCount=0,"u">typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},n.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},n.makeStyleTag=function(e,t,n){t&&c(a(t),"makeStyleTag accepts only strings as second parameter");var i=document.createElement("style");this._nonce&&i.setAttribute("nonce",this._nonce),i.type="text/css",i.setAttribute("data-"+e,""),t&&i.appendChild(document.createTextNode(t));var r=document.head||document.getElementsByTagName("head")[0];return n?r.insertBefore(i,n):r.appendChild(i),i},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},u={};function m(e,t){if(!t)return"jsx-"+e;var n=String(t),i=e+n;return u[i]||(u[i]="jsx-"+d(e+"-"+n)),u[i]}function h(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var n=e+t;return u[n]||(u[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[n]}var p=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,i=void 0===n?null:n,r=t.optimizeForSpeed,o=void 0!==r&&r;this._sheet=i||new l({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),i&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),i=n.styleId,r=n.rules;if(i in this._instancesCounts){this._instancesCounts[i]+=1;return}var o=r.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[i]=o,this._instancesCounts[i]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var i=this._fromServer&&this._fromServer[n];i?(i.parentNode.removeChild(i),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],i=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:i}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,i=e.id;if(n){var r=m(i,n);return{styleId:r,rules:Array.isArray(t)?t.map(function(e){return h(r,e)}):[h(r,t)]}}return{styleId:m(i),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=r.createContext(null);function g(){return new p}function v(){return r.useContext(f)}f.displayName="StyleSheetContext";var y=o.default.useInsertionEffect||o.default.useLayoutEffect,x="u">typeof window?g():void 0;function b(e){var t=x||v();return t&&("u"<typeof window?t.add(e):y(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}b.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},n.StyleRegistry=function(e){var t=e.registry,n=e.children,i=r.useContext(f),s=r.useState(function(){return i||t||g()})[0];return o.default.createElement(f.Provider,{value:s},n)},n.createStyleRegistry=g,n.style=b,n.useStyleRegistry=v},37902,(e,t,n)=>{t.exports=e.r(98547).style},89937,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(74080);let r=[{heading:"Solutions for Every Industry",text:"Discover how Doormile's connected logistics platform serves diverse industries with tailored solutions."},{heading:"One Platform. All Verticals",text:"Doormile adapts to the unique challenges of your vertical—not the other way around."}];e.s(["default",0,function({slides:e=r}={}){(0,i.preload)("/images/home1-slide-1.webp",{as:"image"});let[o,s]=(0,n.useState)(0);(0,n.useEffect)(()=>{let e=setInterval(()=>{s(e=>+(0===e))},7e3);return()=>clearInterval(e)},[]);let a=e=>{s(e)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:`
.howits-hero-custom-bg.elementor-repeater-item-3264830,
.howits-hero-custom-bg.elementor-repeater-item-6867061 {
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)), url('/images/home1-slide-1.webp') !important;
background-position: center !important;
background-repeat: no-repeat !important;
background-size: cover !important;
}
.howits-hero-custom-bg.elementor-repeater-item-6867061 {
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)), url('/images/home1-slide-2.webp') !important;
background-position: center !important;
background-repeat: no-repeat !important;
background-size: cover !important;
}
/* Center alignments for standard content slider elements */
.elementor-element.elementor-element-6c7cbcb .slide-content {
display: flex !important;
flex-direction: column !important;
justify-content: center !important;
align-items: center !important;
text-align: center !important;
width: 100% !important;
height: 100% !important;
padding: 0 !important;
box-sizing: border-box !important;
}
.elementor-element.elementor-element-6c7cbcb .slide-content-inner {
display: flex !important;
flex-direction: column !important;
justify-content: center !important;
align-items: center !important;
text-align: center !important;
width: 100% !important;
max-width: 1000px !important;
margin: 0 auto !important;
/* Contain the slider theme's inherited 20px padding (content-box) so
width:100% + padding doesn't overflow the viewport and push the
heading off-center on mobile. */
box-sizing: border-box !important;
}
.elementor-element.elementor-element-6c7cbcb .content-slider-item-heading,
.elementor-element.elementor-element-6c7cbcb .content-slider-item-heading .heading-content {
text-align: center !important;
display: block !important;
width: 100% !important;
margin-left: auto !important;
margin-right: auto !important;
padding-left: 15px !important;
padding-right: 15px !important;
}
.elementor-element.elementor-element-6c7cbcb .content-slider-item-text {
display: flex !important;
justify-content: center !important;
width: 100% !important;
margin-top: 23px !important;
}
.elementor-element.elementor-element-6c7cbcb .text-content {
text-align: center !important;
max-width: 820px !important;
margin: 0 auto !important;
padding-left: 15px !important;
padding-right: 15px !important;
}
/* Larger, more readable hero subtitle on large/4K screens */
.elementor-element.elementor-element-6c7cbcb .content-slider-item-text p {
font-size: clamp(16px, 1.35vw, 23px) !important;
line-height: 1.65 !important;
}
@media (min-width: 1025px) {
/* Match Home's hero frame so the floating navbar sits with the same
breathing space. Home (.elementor-61) frames the hero card at 20px;
this page falls through to the shared kit's 32px base. */
.elementor-element.elementor-element-741f56c {
padding: 20px !important;
}
.elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item {
height: 800px !important;
min-height: 800px !important;
}
}
@media (max-width: 1024px) {
.elementor-element.elementor-element-741f56c {
width: 100% !important;
max-width: 100% !important;
margin-left: auto !important;
margin-right: auto !important;
--padding-top: 0px !important;
--padding-block-start: 0px !important;
padding: 0 10px 10px 10px !important;
overflow: hidden !important;
border-radius: 25px !important;
}
/* The stage-outer carries an inline height:800px; collapse it to the
slide height so there is no dead empty space below the hero card. */
.elementor-element.elementor-element-6c7cbcb .owl-stage-outer {
height: 620px !important;
}
.elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item {
width: 100% !important;
min-height: 620px !important;
height: 620px !important;
border-radius: 25px !important;
overflow: hidden !important;
}
.elementor-element.elementor-element-6c7cbcb .slide-content {
width: 100% !important;
min-height: 620px !important;
padding-left: 0 !important;
padding-right: 0 !important;
box-sizing: border-box !important;
}
}
@media (max-width: 767px) {
.elementor-element.elementor-element-741f56c {
width: 100% !important;
max-width: 100% !important;
--padding-top: 0px !important;
--padding-block-start: 0px !important;
padding: 0 10px 10px 10px !important;
border-radius: 22px !important;
}
.elementor-element.elementor-element-6c7cbcb .owl-stage-outer {
height: 560px !important;
}
.elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item {
min-height: 560px !important;
height: 560px !important;
border-radius: 22px !important;
}
.elementor-element.elementor-element-6c7cbcb .slide-content {
min-height: 560px !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
.elementor-element.elementor-element-6c7cbcb .content-slider-item-heading {
max-width: 100% !important;
font-size: clamp(38px, 11vw, 48px) !important;
line-height: 1.05 !important;
overflow-wrap: break-word !important;
padding-left: 15px !important;
padding-right: 15px !important;
}
/* Pin the slide counter ("01/02") cleanly bottom-RIGHT — matching the
Home and How-It-Works heroes. site.css parks it ~80px in from the
right (looks left/centred), and the wide dot navigation eats the
right side, so hide the dots on mobile and right-align the counter. */
.elementor .elementor-element.elementor-element-6c7cbcb .slider-footer {
text-align: right !important;
margin-bottom: 24px !important;
}
.elementor .elementor-element.elementor-element-6c7cbcb .slider-footer .slider-pagination {
justify-content: flex-end !important;
margin-left: 22px !important;
margin-right: 22px !important;
}
.elementor .elementor-element.elementor-element-6c7cbcb .owl-dots {
display: none !important;
}
/* Hide the prev/next arrows on mobile (they overlap the counter) —
slides still auto-rotate, matching the home hero. */
.elementor .elementor-element.elementor-element-6c7cbcb .owl-nav {
display: none !important;
}
}
`}}),(0,t.jsx)("div",{className:"elementor-element elementor-element-741f56c e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"741f56c","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-6c7cbcb elementor-widget elementor-widget-logico_content_slider","data-id":"6c7cbcb","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_content_slider.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-content-slider-widget",children:(0,t.jsx)("div",{className:"content-slider-wrapper",children:(0,t.jsx)("div",{className:"content-slider-container",children:(0,t.jsxs)("div",{className:"content-slider owl-carousel owl-theme nav-view-vertical nav-h-position-right nav-v-position-bottom owl-loaded owl-drag",children:[(0,t.jsx)("div",{className:"owl-stage-outer",style:{position:"relative",overflow:"hidden",height:"800px"},children:(0,t.jsxs)("div",{className:"owl-stage",style:{position:"relative",width:"100%",height:"100%"},children:[(0,t.jsx)("div",{className:`owl-item ${0===o?"active":""}`,style:{position:"relative",width:"100%",opacity:+(0===o),visibility:0===o?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:0===o?2:1},children:(0,t.jsx)("div",{className:"content-item slider-item elementor-repeater-item-3264830 slide-style-standard howits-hero-custom-bg",children:(0,t.jsx)("div",{className:"slide-content",children:(0,t.jsxs)("div",{className:"slide-content-inner",children:[(0,t.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",children:(0,t.jsx)("span",{className:"heading-content",children:e[0].heading})}),(0,t.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",children:(0,t.jsx)("div",{className:"text-content",children:(0,t.jsx)("p",{children:e[0].text})})})]})})})}),(0,t.jsx)("div",{className:`owl-item ${1===o?"active":""}`,style:{position:"absolute",top:0,left:0,width:"100%",opacity:+(1===o),visibility:1===o?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:1===o?2:1},children:(0,t.jsx)("div",{className:"content-item slider-item elementor-repeater-item-6867061 slide-style-standard howits-hero-custom-bg",children:(0,t.jsx)("div",{className:"slide-content",children:(0,t.jsxs)("div",{className:"slide-content-inner",children:[(0,t.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",children:(0,t.jsx)("span",{className:"heading-content",children:e[1].heading})}),(0,t.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",children:(0,t.jsx)("div",{className:"text-content",children:(0,t.jsx)("p",{children:e[1].text})})})]})})})})]})}),(0,t.jsxs)("div",{className:"owl-nav",children:[(0,t.jsx)("button",{type:"button",className:"owl-next",onClick:()=>s(e=>+(0===e)),"aria-label":"Next",style:{cursor:"pointer",border:"none",outline:"none"}}),(0,t.jsx)("button",{type:"button",className:"owl-prev",onClick:()=>s(e=>+(0===e)),"aria-label":"Previous",style:{cursor:"pointer",border:"none",outline:"none"}})]}),(0,t.jsx)("div",{className:"slider-footer slider-footer-position-after slider-footer-width-full slider-footer-view-inside",children:(0,t.jsx)("div",{className:"slider-footer-content",children:(0,t.jsxs)("div",{className:"slider-pagination",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"10px"},children:[(0,t.jsxs)("div",{className:"slider-progress-wrapper",style:{marginRight:"35px",display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[(0,t.jsxs)("div",{style:{fontSize:"16px",fontWeight:600,color:"#FFFFFF",marginBottom:"4px"},children:[(0,t.jsx)("span",{className:"slider-progress-current",children:0===o?"01":"02"})," / ",(0,t.jsx)("span",{className:"slider-progress-all",style:{opacity:.6},children:"02"})]}),(0,t.jsx)("div",{style:{width:"80px",height:"2px",background:"rgba(255, 255, 255, 0.2)",position:"relative",borderRadius:"1px",overflow:"hidden"},children:(0,t.jsx)("div",{style:{position:"absolute",left:0===o?"0":"50%",width:"50%",height:"100%",background:"#c01227",transition:"left 0.3s ease"}})})]}),(0,t.jsxs)("div",{className:"owl-dots owl-dots-6c7cbcb",style:{display:"none"},children:[(0,t.jsx)("button",{type:"button",role:"button",className:`owl-dot ${0===o?"active":""}`,onClick:()=>a(0),children:(0,t.jsx)("span",{})}),(0,t.jsx)("button",{type:"button",role:"button",className:`owl-dot ${1===o?"active":""}`,onClick:()=>a(1),children:(0,t.jsx)("span",{})})]})]})})})]})})})})})})})]})}])},91994,e=>{"use strict";e.i(86427);var t=e.i(83352),n=e.i(83411),i=e.i(87022);function r(e){return"number"==typeof e?e:parseFloat(e)}var o=e.i(71645),s=e.i(37806),a=e.i(35382),l=e.i(95420);e.s(["useSpring",0,function(e,c={}){return function(e,c={}){let{isStatic:d}=(0,o.useContext)(s.MotionConfigContext),u=()=>(0,n.isMotionValue)(e)?e.get():e;if(d)return(0,l.useTransform)(u);let m=(0,a.useMotionValue)(u());return(0,o.useInsertionEffect)(()=>(function(e,o,s={}){let a,l=e.get(),c=null,d=l,u="string"==typeof l?l.replace(/[\d.-]/g,""):void 0,m=()=>{c&&(c.stop(),c=null),e.animation=void 0},h=()=>{(()=>{let n=r(e.get()),i=r(d);if(n===i)return m();let o=c?c.getGeneratorVelocity():e.getVelocity();m(),c=new t.JSAnimation({keyframes:[n,i],velocity:o,type:"spring",restDelta:.001,restSpeed:.01,...s,onUpdate:a})})(),e.animation=c??void 0,e.events.animationStart?.notify(),c?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,t)=>{d=e,a=e=>{var n,i;return t((n=e,(i=u)?n+i:n))},i.frame.postRender(h)},m),(0,n.isMotionValue)(o)){let t=!0===s.skipInitialAnimation,n=o.on("change",n=>{var i,r,o,s;t?(t=!1,e.jump((i=n,(r=u)?i+r:i),!1)):e.set((o=n,(s=u)?o+s:o))}),i=e.on("destroy",n);return()=>{n(),i()}}return m})(m,e,c),[m,JSON.stringify(c)]),m}(e,{type:"spring",...c})}],91994)},72328,e=>{"use strict";var t=e.i(71164),n=e.i(38544),i=e.i(71645);e.s(["useReducedMotion",0,function(){t.hasReducedMotionListener.current||(0,n.initPrefersReducedMotion)();let[e]=(0,i.useState)(t.prefersReducedMotion.current);return e}])},49492,e=>{"use strict";class t{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return n(this.animations,"duration")}get iterationDuration(){return n(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function n(e,t){let n=0;for(let i=0;i<e.length;i++){let r=e[i][t];null!==r&&r>n&&(n=r)}return n}class i extends t{then(e,t){return this.finished.finally(e).then(()=>{})}}var r=e.i(33887),o=e.i(86427),s=e.i(28409),a=e.i(83411),l=e.i(15923),c=e.i(97307),d=e.i(21748),u=e.i(15932),m=e.i(83920),h=e.i(63074),p=e.i(65566),f=e.i(30151),g=e.i(93544);function v(e,t){var n;let i;return(0,g.isEasingArray)(e)?e[n=e.length,((t-0)%(i=n-0)+i)%i+0]:e}var y=e.i(49652);function x(e){return"object"==typeof e&&!Array.isArray(e)}function b(e,t,n,i){return null==e?[]:"string"==typeof e&&x(t)?(0,y.resolveElements)(e,n,i):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>null!=e):[e]}function w(e,t,n,i){return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):i.get(t)??e}var _=e.i(706);function S(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function j(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function A(e,t){return t[e]||(t[e]=[]),t[e]}let R=e=>"number"==typeof e,N=e=>e.every(R);var F=e.i(68705),k=e.i(72094),C=e.i(72323),z=e.i(89026),E=e.i(36331),I=e.i(75737),T=e.i(86783),M=e.i(30162),O=e.i(17218);class V extends O.VisualElement{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(t in e){let n=e[t];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return(0,M.createBox)()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}function P(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,z.isSVGElement)(e)&&!(0,E.isSVGSVGElement)(e)?new I.SVGVisualElement(t):new T.HTMLVisualElement(t);n.mount(e),k.visualElementStore.set(e,n)}function B(e){let t=new V({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),k.visualElementStore.set(e,t)}function H(e,t,n,i){let r=[];if((0,a.isMotionValue)(e)||"number"==typeof e||"string"==typeof e&&!x(t))r.push((0,F.animateSingleValue)(e,x(t)&&t.default||t,n&&n.default||n));else{if(null==e)return r;let o=b(e,t,i),s=o.length;(0,p.invariant)(!!s,"No valid elements provided.","no-valid-elements");for(let e=0;e<s;e++){let i=o[e],a=i instanceof Element?P:B;k.visualElementStore.has(i)||a(i);let l=k.visualElementStore.get(i),c={...n};"delay"in c&&"function"==typeof c.delay&&(c.delay=c.delay(e,s)),r.push(...(0,C.animateTarget)(l,{...t,transition:c},{}))}}return r}let G=function(e={}){let{scope:t,reduceMotion:n,skipAnimations:g}=e;return function(e,y,x){var R;let F,k=[],C={};if(void 0!==n&&(C.reduceMotion=n),void 0!==g&&(C.skipAnimations=g),Array.isArray(e)&&e.some(Array.isArray)){let n,{onComplete:i,...g}=y||{};"function"==typeof i&&(F=i),R={...C,...g},n=[],(function(e,{defaultTransition:t={},...n}={},i,o){let s=t.duration||.3,g=new Map,y=new Map,x={},R=new Map,F=0,k=0,C=0;for(let n=0;n<e.length;n++){let m=e[n];if("string"==typeof m){R.set(m,k);continue}if(!Array.isArray(m)){R.set(m.name,w(k,m.at,F,R));continue}let[g,S,I={}]=m;void 0!==I.at&&(k=w(k,I.at,F,R));let T=0,M=(e,n,i,a=0,m=0)=>{var g;let y=Array.isArray(g=e)?g:[g],{delay:x=0,times:b=(0,l.defaultOffset)(y),type:w=t.type||"keyframes",repeat:S,repeatType:j,repeatDelay:A=0,...R}=n,{ease:F=t.ease||"easeOut",duration:z}=n,E="function"==typeof x?x(a,m):x,I=y.length,M=(0,c.isGenerator)(w)?w:o?.[w||"keyframes"];if(I<=2&&M){let e=100;2===I&&N(y)&&(e=Math.abs(y[1]-y[0]));let n={...t,...R};void 0!==z&&(n.duration=(0,h.secondsToMilliseconds)(z));let i=(0,d.createGeneratorEasing)(n,e,M);F=i.ease,z=i.duration}z??(z=s);let O=k+E;1===b.length&&0===b[0]&&(b[1]=1);let V=b.length-y.length;if(V>0&&(0,u.fillOffset)(b,V),1===y.length&&y.unshift(null),S&&(0,p.warning)(S<20,`Sequence segments can't repeat ${S} times — ignoring repeat option. Use a value below 20 or apply repeat at the sequence level instead.`),S&&S<20){let e=z>0?A/z:0;z=z*(S+1)+A*S;let t=[...y],n=[...b],i=[...F=Array.isArray(F)?[...F]:[F]],r="reverse"===j||"mirror"===j,o=t,s=i;r&&(o=[...t].reverse(),"reverse"===j&&(s=[...i].reverse().map(e=>"function"==typeof e?(0,f.reverseEasing)(e):e)));for(let a=0;a<S;a++){let l=r&&a%2==0,c=l?o:t,d=l?s:i,u=(a+1)*(1+e);e>0&&(y.push(y[y.length-1]),b.push(u),F.push("linear")),y.push(...c);for(let e=0;e<c.length;e++)b.push(n[e]+u),F.push(0===e?"linear":v(d,e-1))}!function(e,t,n=0){let i=t+1+t*n;for(let t=0;t<e.length;t++)e[t]=e[t]/i}(b,S,e)}let P=O+z;!function(e,t,n,i,o,s){for(let t=0;t<e.length;t++){let n=e[t];n.at>o&&n.at<s&&((0,r.removeItem)(e,n),t--)}for(let r=0;r<t.length;r++)e.push({value:t[r],at:(0,_.mixNumber)(o,s,i[r]),easing:v(n,r)})}(i,y,F,b,O,P),T=Math.max(E+z,T),C=Math.max(P,C)};if((0,a.isMotionValue)(g))M(S,I,A("default",j(g,y)));else{let e=b(g,S,i,x),t=e.length;for(let n=0;n<t;n++){let i=j(e[n],y);for(let e in S){var z,E;M(S[e],(z=I,E=e,z&&z[E]?{...z,...z[E]}:{...z}),A(e,i),n,t)}}}F=k,k+=T}return y.forEach((e,i)=>{for(let r in e){let o=e[r];o.sort(S);let s=[],a=[],l=[];for(let e=0;e<o.length;e++){let{at:t,value:n,easing:i}=o[e];s.push(n),a.push((0,m.progress)(0,C,t)),l.push(i||"easeOut")}0!==a[0]&&(a.unshift(0),s.unshift(s[0]),l.unshift("easeInOut")),1!==a[a.length-1]&&(a.push(1),s.push(null)),g.has(i)||g.set(i,{keyframes:{},transition:{}});let c=g.get(i);c.keyframes[r]=s;let{type:d,...u}=t;c.transition[r]={...u,duration:C,ease:l,times:a,...n}}}),g})(e.map(e=>{if(Array.isArray(e)&&"function"==typeof e[0]){let t=e[0],n=(0,o.motionValue)(0);return(n.on("change",t),1===e.length)?[n,[0,1]]:2===e.length?[n,[0,1],e[1]]:[n,e[1],e[2]]}return e}),R,t,{spring:s.spring}).forEach(({keyframes:e,transition:t},i)=>{n.push(...H(i,e,t))}),k=n}else{let{onComplete:n,...i}=x||{};"function"==typeof n&&(F=n),k=H(e,y,{...C,...i},t)}let z=new i(k);return F&&z.finished.then(F),t&&(t.animations.push(z),z.finished.then(()=>{(0,r.removeItem)(t.animations,z)})),z}}();e.s(["animate",0,G],49492)},87652,e=>{"use strict";var t=e.i(71645),n=e.i(49652);let i={some:0,all:1};e.s(["useInView",0,function(e,{root:r,margin:o,amount:s,once:a=!1,initial:l=!1}={}){let[c,d]=(0,t.useState)(l);return(0,t.useEffect)(()=>{if(!e.current||a&&c)return;let t={root:r&&r.current||void 0,margin:o,amount:s};return function(e,t,{root:r,margin:o,amount:s="some"}={}){let a=(0,n.resolveElements)(e),l=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let n=l.get(e.target);if(!!n!==e.isIntersecting)if(e.isIntersecting){let n=t(e.target,e);"function"==typeof n?l.set(e.target,n):c.unobserve(e.target)}else"function"==typeof n&&(n(e),l.delete(e.target))})},{root:r,rootMargin:o,threshold:"number"==typeof s?s:i[s]});return a.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(d(!0),a?void 0:()=>d(!1)),t)},[r,e,o,a,s]),c}],87652)}]);