{"version":3,"file":"shared-lib.vb9T8UbT.mjs","names":["i","n","o","p","l","r","e","e","n","t","i","r","o","l","p","p","e","s","L","a","K","r","o","i"],"sources":["https:/framerusercontent.com/modules/ELcr35bPAEWAE7wTgvXd/c5aPMOud9GZyj9IP8gIP/BaseArrowsLoading.js","https:/ga.jspm.io/npm:react-intersection-observer@9.4.3/react-intersection-observer.modern.mjs","https:/framerusercontent.com/modules/94v7iKtULRYxVN28TmpL/irxbI08jN0gR474SVqb9/BaseArrows.js"],"sourcesContent":["import{jsx as t}from\"react/jsx-runtime\";/**\n * Arrow Dynamics - Base Arrows Loading\n * Responsible for displaying the loading component (loading UI is tried to made identical to the P5 draw but without interactivity)\n *\n * By @rohanchkrabrty & @hckmstrrahul\n *\n * @framerDisableUnlink\n */let e=({imageSrc:e})=>/*#__PURE__*/t(\"img\",{src:e,style:{width:\"100%\",height:\"100%\",objectFit:\"contain\"}}),l={NORMAL:\"normal\",ITALIC:\"italic\",BOLD:\"normal\",BOLDITALIC:\"italic\"},i={NORMAL:\"normal\",ITALIC:\"normal\",BOLD:\"bold\",BOLDITALIC:\"bold\"},n={LEFT:\"flex-start\",CENTER:\"center\",RIGHT:\"flex-end\"},r=({text:e,font:{fontColor:r,fontWeight:o,fontSize:a,textAlign:p,font:d}})=>/*#__PURE__*/t(\"span\",{style:{display:\"flex\",justifyContent:n[p],alignItems:\"center\",color:r,fontSize:`${a}px`,fontFamily:d,fontStyle:l[o],fontWeight:i[o]},children:e});export default function o(l){let{background:i,columns:n=0,rows:o=0,itemSize:a,rowSpacing:p,columnSpacing:d,padding:m,isText:s,imageSrc:c,canvasWidth:f,canvasHeight:x}=l;return /*#__PURE__*/t(\"div\",{style:{width:f,height:x,backgroundColor:i,display:\"grid\",gridTemplateColumns:`repeat(${n}, ${a}px)`,gridTemplateRows:`repeat(${o}, ${a}px)`,padding:`${m}px`,columnGap:`${d}px`,rowGap:`${p}px`},children:[...Array(n*o)].map(()=>s?/*#__PURE__*/t(r,{...l}):/*#__PURE__*/t(e,{...l}))});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BaseArrowsLoading\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BaseArrowsLoading.map","import*as e from\"react\";function _extends(){_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e};return _extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var i={};var n=Object.keys(e);var r,o;for(o=0;o<n.length;o++){r=n[o];t.indexOf(r)>=0||(i[r]=e[r])}return i}const t=new Map;const i=new WeakMap;let n=0;let r;function defaultFallbackInView(e){r=e}\n/**\n * Generate a unique ID for the root element\n * @param root\n */function getRootId(e){if(!e)return\"0\";if(i.has(e))return i.get(e);n+=1;i.set(e,n.toString());return i.get(e)}\n/**\n * Convert the options to a string Id, based on the values.\n * Ensures we can reuse the same observer when observing elements with the same options.\n * @param options\n */function optionsToId(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>`${t}_${\"root\"===t?getRootId(e.root):e[t]}`)).toString()}function createObserver(e){let i=optionsToId(e);let n=t.get(i);if(!n){const r=new Map;let o;const s=new IntersectionObserver((t=>{t.forEach((t=>{var i;const n=t.isIntersecting&&o.some((e=>t.intersectionRatio>=e));e.trackVisibility&&\"undefined\"===typeof t.isVisible&&(t.isVisible=n);null==(i=r.get(t.target))?void 0:i.forEach((e=>{e(n,t)}))}))}),e);o=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]);n={id:i,observer:s,elements:r};t.set(i,n)}return n}\n/**\n * @param element - DOM Element to observe\n * @param callback - Callback function to trigger when intersection status changes\n * @param options - Intersection Observer options\n * @param fallbackInView - Fallback inView value.\n * @return Function - Cleanup function that should be triggered to unregister the observer\n */function observe(e,i,n={},o=r){if(\"undefined\"===typeof window.IntersectionObserver&&void 0!==o){const t=e.getBoundingClientRect();i(o,{isIntersecting:o,target:e,intersectionRatio:\"number\"===typeof n.threshold?n.threshold:0,time:0,boundingClientRect:t,intersectionRect:t,rootBounds:t});return()=>{}}const{id:s,observer:l,elements:h}=createObserver(n);let a=h.get(e)||[];h.has(e)||h.set(e,a);a.push(i);l.observe(e);return function unobserve(){a.splice(a.indexOf(i),1);if(0===a.length){h.delete(e);l.unobserve(e)}if(0===h.size){l.disconnect();t.delete(s)}}}const o=[\"children\",\"as\",\"triggerOnce\",\"threshold\",\"root\",\"rootMargin\",\"onChange\",\"skip\",\"trackVisibility\",\"delay\",\"initialInView\",\"fallbackInView\"];function isPlainChildren(e){return\"function\"!==typeof e.children}class InView extends e.Component{constructor(e){super(e);this.node=null;this._unobserveCb=null;this.handleNode=e=>{if(this.node){this.unobserve();e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})}this.node=e||null;this.observeNode()};this.handleChange=(e,t)=>{e&&this.props.triggerOnce&&this.unobserve();isPlainChildren(this.props)||this.setState({inView:e,entry:t});this.props.onChange&&this.props.onChange(e,t)};this.state={inView:!!e.initialInView,entry:void 0}}componentDidUpdate(e){if(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay){this.unobserve();this.observeNode()}}componentWillUnmount(){this.unobserve();this.node=null}observeNode(){if(!this.node||this.props.skip)return;const{threshold:e,root:t,rootMargin:i,trackVisibility:n,delay:r,fallbackInView:o}=this.props;this._unobserveCb=observe(this.node,this.handleChange,{threshold:e,root:t,rootMargin:i,trackVisibility:n,delay:r},o)}unobserve(){if(this._unobserveCb){this._unobserveCb();this._unobserveCb=null}}render(){if(!isPlainChildren(this.props)){const{inView:e,entry:t}=this.state;return this.props.children({inView:e,entry:t,ref:this.handleNode})}const t=this.props,{children:i,as:n}=t,r=_objectWithoutPropertiesLoose(t,o);return e.createElement(n||\"div\",_extends({ref:this.handleNode},r),i)}}function useInView({threshold:t,delay:i,trackVisibility:n,rootMargin:r,root:o,triggerOnce:s,skip:l,initialInView:h,fallbackInView:a,onChange:c}={}){var d;const[u,p]=e.useState(null);const b=e.useRef();const[f,g]=e.useState({inView:!!h,entry:void 0});b.current=c;e.useEffect((()=>{if(l||!u)return;let e;e=observe(u,((t,i)=>{g({inView:t,entry:i});b.current&&b.current(t,i);if(i.isIntersecting&&s&&e){e();e=void 0}}),{root:o,rootMargin:r,threshold:t,trackVisibility:n,delay:i},a);return()=>{e&&e()}}),[Array.isArray(t)?t.toString():t,u,o,r,s,l,n,a,i]);const v=null==(d=f.entry)?void 0:d.target;const y=e.useRef();if(!u&&v&&!s&&!l&&y.current!==v){y.current=v;g({inView:!!h,entry:void 0})}const V=[p,f.inView,f.entry];V.ref=V[0];V.inView=V[1];V.entry=V[2];return V}export{InView,defaultFallbackInView,observe,useInView};\n\n//# sourceMappingURL=react-intersection-observer.modern.mjs.map","import{jsx as r}from\"react/jsx-runtime\";import{lazy as e,Suspense as o,useState as s}from\"react\";import i from\"https://framerusercontent.com/modules/ELcr35bPAEWAE7wTgvXd/c5aPMOud9GZyj9IP8gIP/BaseArrowsLoading.js\";import{useInView as a}from\"react-intersection-observer\";/**\n * Arrow Dynamics - Base Arrows Container\n * Responsible for lazy loading components and showing the gif, normal and pre rendered versions\n *\n * By @rohanchkrabrty & @hckmstrrahul\n *\n * @framerDisableUnlink\n */let t=/*#__PURE__*/e(()=>import(\"https://framerusercontent.com/modules/PVZa4jcMN0LYvU0ksvHQ/ZxrOnrNj2Vslk02f3IIQ/BaseArrowsNormal.js\")),n=[\"Amplifiers\",\"Convergers\",// \"Entropists\",\n\"Gravitators\",\"Resonators\",\"Polarizers\"],l=[\"Ferromancers\",\"Harmonizers\",\"Vermiformers\",\"Warriors\"];export function BaseArrows(e){let{background:m,columns:c,rows:f,itemSize:u,rowSpacing:d,columnSpacing:p,padding:h,isText:v,isImageDisk:w,imageDisk:x,imageUrl:j,customDraw:A,GridObject:b,isConfined:B,isPlaying:I,isInteracting:V,variant:g,shouldResetCanvas:k=!1}=e,[z,C]=s(!1),[L,M]=s(1e3),{ref:P,inView:y,entry:E}=a({fallbackInView:!0,initialInView:!0,threshold:0}),F=n.includes(g),G=l.includes(g),H=V&&(!B||B&&z),K=!I||!y||F&&!H;return /*#__PURE__*/r(\"div\",{ref:P,...!G&&I&&V&&B?{onMouseEnter:()=>C(!0),onMouseLeave:()=>{C(!1),k&&M(r=>r+1);}}:{},children:/*#__PURE__*/r(o,{fallback:/*#__PURE__*/r(i,{...e}),children:/*#__PURE__*/r(t,{resetCanvasKey:L,...e,shouldPause:K,shouldInteract:H})})});}\nexport const __FramerMetadata__ = {\"exports\":{\"BaseArrows\":{\"type\":\"reactComponent\",\"name\":\"BaseArrows\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"iOAOkiB,SAAwB,EAAE,EAAE,CAAC,GAAG,CAAC,WAAWuB,EAAE,QAAQf,EAAE,EAAE,KAAKc,EAAE,EAAE,SAAS,EAAE,WAAWP,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,CAACF,EAAE,OAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,gBAAgBU,EAAE,QAAQ,OAAO,oBAAoB,UAAUf,EAAE,IAAI,EAAE,KAAK,iBAAiB,UAAUc,EAAE,IAAI,EAAE,KAAK,QAAQ,GAAG,EAAE,IAAI,UAAU,GAAG,EAAE,IAAI,OAAO,GAAGP,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,MAAMP,EAAEc,GAAG,CAAC,QAAuB,EAAf,EAAiBD,EAAyB,EAAvB,CAAC,GAAGR,EAAE,GAA4B,CAAG,6BAA3/B,GAAG,CAAC,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