{"version":3,"file":"Widgetv2.ByrtTukL.mjs","names":[],"sources":["https:/framerusercontent.com/modules/huIMf1iseO7z9wzxbPAG/tkEg0okx16riqUvTa2zs/Widgetv2.js"],"sourcesContent":["// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function Widgetv2(props){const{clientId,bookingFormId,embed}=props;if(embed===\"giftCardStore\"){return /*#__PURE__*/_jsx(\"gift-card-store\",{clientId:clientId,children:/*#__PURE__*/_jsx(\"div\",{id:\"main-loader\",className:\"loader-wrapper\",children:/*#__PURE__*/_jsx(\"div\",{className:\"loader-icon large padded\"})})});}return /*#__PURE__*/_jsx(\"booking-form\",{clientId:clientId,formId:bookingFormId,children:/*#__PURE__*/_jsx(\"div\",{id:\"main-loader\",className:\"loader-wrapper\",children:/*#__PURE__*/_jsx(\"div\",{className:\"loader-icon large padded\"})})});}addPropertyControls(Widgetv2,{embed:{title:\"Typ\",type:ControlType.Enum,options:[\"bookingForm\",\"giftCardStore\"],optionTitles:[\"Bokningsformul\\xe4r\",\"Presentkortsbutik\"],defaultValue:\"bookingForm\"},clientId:{title:\"clientId\",type:ControlType.String,defaultValue:\"\"},bookingFormId:{title:\"clientId\",type:ControlType.String,defaultValue:\"\",hidden:props=>props.embed===\"giftCardStore\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Widgetv2\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Widgetv2.map"],"mappings":"4JAIG,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,WAAS,gBAAc,SAAO,EAA4P,OAAnP,IAAQ,gBAAqC,EAAK,kBAAkB,CAAU,WAAS,SAAsB,EAAK,MAAM,CAAC,GAAG,cAAc,UAAU,iBAAiB,SAAsB,EAAK,MAAM,CAAC,UAAU,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC,EAAuB,EAAK,eAAe,CAAU,WAAS,OAAO,EAAc,SAAsB,EAAK,MAAM,CAAC,GAAG,cAAc,UAAU,iBAAiB,SAAsB,EAAK,MAAM,CAAC,UAAU,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,iBAH5gB,IAAoD,EAGyd,EAAoB,EAAS,CAAC,MAAM,CAAC,MAAM,MAAM,KAAK,EAAY,KAAK,QAAQ,CAAC,cAAc,eAAe,EAAE,aAAa,CAAC,mBAAsB,mBAAmB,EAAE,aAAa,aAAa,EAAE,SAAS,CAAC,MAAM,WAAW,KAAK,EAAY,OAAO,aAAa,EAAE,EAAE,cAAc,CAAC,MAAM,WAAW,KAAK,EAAY,OAAO,aAAa,GAAG,OAAO,GAAO,EAAM,QAAQ,eAAe,CAAC,CAAC"}