{"version":3,"file":"ToC3MuwMP.CsFPXOSJ.mjs","names":["Component","SVG","getProps","Component","css","Icon"],"sources":["https:/framerusercontent.com/modules/xyoQvR1jRKsanwWk0k63/iKu3C3TH8BxWMQmJQCG5/Thenty_Override.js","https:/framerusercontent.com/modules/cZy3wdkVLakZG02Qglw9/AfVjvUy9U6wYs6Gjt5zA/JmEqYTRK2.js","https:/framerusercontent.com/modules/6AyYCS8Qe49lBD6Rooy7/gOoOhh7fPHwNlfBR7Y8D/ToC3MuwMP.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{fetchUserData}from\"https://framer.com/m/ThentyHelpers-I0Oh.js\";import{thentyAuth}from\"https://cdn.thenty.io/beta/thenty-sdk.min.js\";export const withLogout=Component=>props=>/*#__PURE__*/_jsx(Component,{...props,onClick:()=>{thentyAuth.logout();}});export const showWhenLoggedIn=Component=>props=>{const{loggedIn}=fetchUserData();return!loggedIn?null:/*#__PURE__*/_jsx(Component,{...props});};export const hideWhenLoggedIn=Component=>props=>{const{loggedIn}=fetchUserData();return loggedIn?null:/*#__PURE__*/_jsx(Component,{...props});};export const withFirstName=Component=>props=>{var _userData_name;const{loggedIn,userData}=fetchUserData();var _userData_name_split_;return!loggedIn||!userData?null:/*#__PURE__*/_jsx(Component,{...props,text:(_userData_name_split_=userData===null||userData===void 0?void 0:(_userData_name=userData.name)===null||_userData_name===void 0?void 0:_userData_name.split(\" \")[0])!==null&&_userData_name_split_!==void 0?_userData_name_split_:\"\"});};export const withFullName=Component=>props=>{const{loggedIn,userData}=fetchUserData();return!loggedIn||!userData?null:/*#__PURE__*/_jsx(Component,{...props,text:userData===null||userData===void 0?void 0:userData.name});};export const withEmail=Component=>props=>{const{loggedIn,userData}=fetchUserData();return!loggedIn||!userData?null:/*#__PURE__*/_jsx(Component,{...props,text:userData===null||userData===void 0?void 0:userData.email});};\nexport const __FramerMetadata__ = {\"exports\":{\"withEmail\":{\"type\":\"reactHoc\",\"name\":\"withEmail\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenLoggedIn\":{\"type\":\"reactHoc\",\"name\":\"showWhenLoggedIn\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hideWhenLoggedIn\":{\"type\":\"reactHoc\",\"name\":\"hideWhenLoggedIn\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFullName\":{\"type\":\"reactHoc\",\"name\":\"withFullName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFirstName\":{\"type\":\"reactHoc\",\"name\":\"withFirstName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLogout\":{\"type\":\"reactHoc\",\"name\":\"withLogout\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Thenty_Override.map","// Generated by Framer (5b26096)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.div,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"div\",{...rest,ref:ref});});const getProps=({color,height,id,width,...props})=>{return{...props,SbMlPbIAk:color??props.SbMlPbIAk??\"var(--token-da41b8e4-660e-426b-90de-714397e0e4bd, rgb(0, 0, 0))\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,SbMlPbIAk,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-3N3kD\",className),layoutId:layoutId,ref:ref,style:{\"--1t524gg\":SbMlPbIAk,...style}});});const css=['.framer-3N3kD { aspect-ratio: 1; background-color: var(--1t524gg); mask-image: url(\\'data:image/svg+xml,<svg aria-label=\"Figure.dance\" display=\"block\" role=\"presentation\" viewBox=\"0 0 86 86\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 5.134 86 C 7.124 86 8.668 84.451 8.668 82.551 L 8.668 65.792 L 18.467 55.354 C 18.659 55.162 18.936 55.162 19.1 55.383 L 28.514 67.946 L 36.464 83.823 C 38.703 88.267 44.911 85.095 42.785 80.843 L 26.411 48.015 C 24.918 45.086 24.172 41.083 23.815 37.08 C 23.731 35.78 24.562 35.146 25.721 35.729 L 32.184 39.014 L 38.177 50.995 C 40.275 55.219 46.709 52.346 44.419 47.846 L 37.906 34.841 C 37.549 34.151 37.052 33.625 36.334 33.269 L 27.027 28.604 C 24.268 27.197 21.424 26.671 18.8 26.009 C 15.792 25.291 13.084 24.353 11.291 21.729 L 7.039 15.572 L 7.039 3.449 C 7.039 1.572 5.439 0 3.506 0 C 1.572 0 0 1.572 0 3.449 L 0 16.702 C 0 17.477 0.164 18.026 0.605 18.693 L 8.057 29.379 C 8.719 30.346 9.131 31.007 9.273 32.636 C 9.578 36.526 10.404 43.707 11.981 48.982 L 2.318 62.343 C 1.849 63.061 1.685 63.723 1.685 64.412 L 1.685 82.551 C 1.685 84.456 3.206 86 5.134 86 Z M 21.26 21.95 C 25.455 21.95 28.825 18.551 28.825 14.328 C 28.825 10.104 25.455 6.734 21.26 6.734 C 17.064 6.734 13.61 10.132 13.61 14.328 C 13.61 18.523 17.008 21.95 21.26 21.95 Z\" fill=\"var(--1t524gg, var(--token-da41b8e4-660e-426b-90de-714397e0e4bd, rgb(0, 0, 0)))\" height=\"86px\" id=\"h1vFVCh2u\" transform=\"translate(21 0)\" width=\"44.90498040383433px\"/></svg>\\'); mask-position: center; mask-repeat: no-repeat; width: 86px; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 86\n * @framerIntrinsicHeight 86\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"SbMlPbIAk\":\"color\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Figure.dance\",\"color\":{\"type\":\"variable\",\"value\":\"1t524gg\"},\"set\":{\"localId\":\"vectorSet/etobEXiMc\",\"id\":\"etobEXiMc\",\"moduleId\":\"duewn9thpOtM6UBKFRpv\"}}\n */const Icon=withCSS(Component,css,\"framer-3N3kD\");export default Icon;addPropertyControls(Icon,{SbMlPbIAk:{defaultValue:'var(--token-da41b8e4-660e-426b-90de-714397e0e4bd, rgb(0, 0, 0)) /* {\"name\":\"100% Alpha - DY\"} */',hidden:false,title:\"Color\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerVariables\":\"{\\\"SbMlPbIAk\\\":\\\"color\\\"}\",\"framerImmutableVariables\":\"true\",\"framerVector\":\"{\\\"name\\\":\\\"Figure.dance\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1t524gg\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/etobEXiMc\\\",\\\"id\\\":\\\"etobEXiMc\\\",\\\"moduleId\\\":\\\"duewn9thpOtM6UBKFRpv\\\"}}\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"86\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"86\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (5b26096)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.div,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"div\",{...rest,ref:ref});});const getProps=({color,height,id,width,...props})=>{return{...props,SbMlPbIAk:color??props.SbMlPbIAk??\"var(--token-da41b8e4-660e-426b-90de-714397e0e4bd, rgb(0, 0, 0))\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,SbMlPbIAk,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-t3lru\",className),layoutId:layoutId,ref:ref,style:{\"--1t524gg\":SbMlPbIAk,...style}});});const css=['.framer-t3lru { aspect-ratio: 1; background-color: var(--1t524gg); mask-image: url(\\'data:image/svg+xml,<svg aria-label=\"Music.note\" display=\"block\" role=\"presentation\" viewBox=\"0 0 86 86\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 51.748 19.269 L 51.748 3.211 C 51.748 1.06 50.031 -0.361 47.907 0.08 L 26.16 4.824 C 23.602 5.362 22.223 6.776 22.223 9.03 L 22.326 56.903 C 22.526 59.157 21.416 60.674 19.43 61.074 L 12.528 62.522 C 4.006 64.281 0 68.555 0 75.023 C 0 81.491 4.951 86 12.018 86 C 18.313 86 27.608 81.422 27.608 68.997 L 27.608 29.674 C 27.608 27.247 28.111 26.675 30.331 26.171 L 49.555 21.965 C 50.899 21.662 51.741 20.655 51.741 19.269 Z\" fill=\"var(--1t524gg, var(--token-da41b8e4-660e-426b-90de-714397e0e4bd, rgb(0, 0, 0)))\" height=\"86px\" id=\"L_h92cCN7\" transform=\"translate(17.3 0.003)\" width=\"51.747554500371734px\"/></svg>\\'); mask-position: center; mask-repeat: no-repeat; width: 86px; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 86\n * @framerIntrinsicHeight 86\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"SbMlPbIAk\":\"color\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Music.note\",\"color\":{\"type\":\"variable\",\"value\":\"1t524gg\"},\"set\":{\"localId\":\"vectorSet/etobEXiMc\",\"id\":\"etobEXiMc\",\"moduleId\":\"duewn9thpOtM6UBKFRpv\"}}\n */const Icon=withCSS(Component,css,\"framer-t3lru\");export default Icon;addPropertyControls(Icon,{SbMlPbIAk:{defaultValue:'var(--token-da41b8e4-660e-426b-90de-714397e0e4bd, rgb(0, 0, 0)) /* {\"name\":\"100% Alpha - DY\"} */',hidden:false,title:\"Color\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"SbMlPbIAk\\\":\\\"color\\\"}\",\"framerIntrinsicHeight\":\"86\",\"framerIntrinsicWidth\":\"86\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerVector\":\"{\\\"name\\\":\\\"Music.note\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1t524gg\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/etobEXiMc\\\",\\\"id\\\":\\\"etobEXiMc\\\",\\\"moduleId\\\":\\\"duewn9thpOtM6UBKFRpv\\\"}}\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"ufAAghC,AAAhhC,GAA2C,IAAsE,IAAqE,CAA01B,EAAa,GAAW,GAAO,CAAC,GAAK,CAAC,WAAS,WAAS,CAAC,GAAe,CAAC,OAAO,IAAW,EAAS,KAAkB,EAAKG,EAAU,CAAC,GAAG,EAAM,KAAK,GAAmD,IAAK,EAAC,AAAE,yBCUvpC,AATxE,GAA2C,IAAsE,IAA4B,CAAoCF,EAAiB,EAAW,CAAC,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,EAAK,CAAC,EAAM,OAAO,EAAsB,EAAK,EAAO,IAAI,CAAC,GAAG,EAAc,WAAa,KAAI,EAAC,CAAc,EAAK,MAAM,CAAC,GAAG,EAAS,KAAI,EAAC,AAAE,EAAC,CAAOC,EAAS,CAAC,CAAC,QAAM,SAAO,KAAG,QAAM,GAAG,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