shell bypass 403
UnknownSec Shell
:
/
home
/
innovagencyco
/
public_html
/
statxpress
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/ [
drwxr-xr-x
]
upload
mass deface
mass delete
console
info server
name :
ai-layout.min.js
/*! elementor - v3.26.0 - 22-12-2024 */ /*! For license information please see ai-layout.min.js.LICENSE.txt */ (()=>{var t={18791:(t,n,o)=>{"use strict";var a=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;_interopRequireWildcard(o(41594));var i=_interopRequireWildcard(o(75206)),c=o(7470);function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=a(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var i={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(i,d,f):i[d]=t[d]}return i.default=t,o&&o.set(t,i),i}n.default={render:function render(t,n){var o;try{var a=(0,c.createRoot)(n);a.render(t),o=function unmountFunction(){a.unmount()}}catch(a){i.render(t,n),o=function unmountFunction(){i.unmountComponentAtNode(n)}}return{unmount:o}}}},47389:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(39805)),c=a(o(40989)),d=a(o(15118)),f=a(o(29402)),m=a(o(87861)),h=a(o(85707)),g=o(12470),y=o(36833),v=o(91258);function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}n.default=function(t){function AiLayoutBehavior(){var t;(0,i.default)(this,AiLayoutBehavior);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return t=function _callSuper(t,n,o){return n=(0,f.default)(n),(0,d.default)(t,_isNativeReflectConstruct()?Reflect.construct(n,o||[],(0,f.default)(t).constructor):n.apply(t,o))}(this,AiLayoutBehavior,[].concat(o)),(0,h.default)(t,"previewContainer",null),t}return(0,m.default)(AiLayoutBehavior,t),(0,c.default)(AiLayoutBehavior,[{key:"ui",value:function ui(){return{aiButton:".e-ai-layout-button",addTemplateButton:".elementor-add-template-button"}}},{key:"events",value:function events(){return{"click @ui.aiButton":"onAiButtonClick"}}},{key:"onAiButtonClick",value:function onAiButtonClick(t){t.stopPropagation(),window.elementorAiCurrentContext=this.getOption("context"),(0,y.renderLayoutApp)({parentContainer:elementor.getPreviewContainer(),mode:v.MODE_LAYOUT,at:this.view.getOption("at"),onInsert:this.onInsert.bind(this),onRenderApp:function onRenderApp(t){t.previewContainer.init()},onGenerate:function onGenerate(t){t.previewContainer.reset()}})}},{key:"hideDropArea",value:function hideDropArea(){this.view.onCloseButtonClick()}},{key:"onInsert",value:function onInsert(t){this.hideDropArea(),(0,y.importToEditor)({parentContainer:elementor.getPreviewContainer(),at:this.view.getOption("at"),template:t,historyTitle:(0,g.__)("AI Layout","elementor")})}},{key:"onRender",value:function onRender(){var t=jQuery("<button>",{type:"button",class:"e-ai-layout-button elementor-add-section-area-button e-button-primary",title:(0,g.__)("Build with AI","elementor"),"aria-label":(0,g.__)("Build with AI","elementor")});t.html('\n\t\t\t<div class="e-ai-layout-button--sparkle"></div>\n\t\t\t<div class="e-ai-layout-button--sparkle"></div>\n\t\t\t<div class="e-ai-layout-button--sparkle"></div>\n\t\t\t<div class="e-ai-layout-button--sparkle"></div>\n\t\t\t<div class="e-ai-layout-button--sparkle"></div>\n\t\t\t<div class="e-ai-layout-button--sparkle"></div>\n\t\t\t<div class="e-ai-layout-button--sparkle"></div>\n\t\t\t<i class="eicon-ai" aria-hidden="true"></i>\n\t\t'),this.ui.addTemplateButton.after(t)}}])}(Marionette.Behavior)},95034:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.uploadImage=n.toggleFavoriteHistoryItem=n.setStatusFeedback=n.setGetStarted=n.getUserInformation=n.getTextToImageGeneration=n.getRemoteFrontendConfig=n.getRemoteConfig=n.getProductImageUnification=n.getLayoutPromptEnhanced=n.getImageToImageUpscale=n.getImageToImageReplaceBackground=n.getImageToImageRemoveText=n.getImageToImageRemoveBackground=n.getImageToImageOutPainting=n.getImageToImageMaskGeneration=n.getImageToImageMaskCleanup=n.getImageToImageGeneration=n.getImagePromptEnhanced=n.getHistory=n.getFeaturedImage=n.getExcerpt=n.getEditText=n.getCustomCode=n.getCustomCSS=n.getCompletionText=n.generateLayout=n.deleteHistoryItem=void 0;var i=a(o(85707));function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,i.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}var c=function request(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3?arguments[3]:void 0;return Object.keys(n).length&&(window.elementorAiCurrentContext?n.context=window.elementorAiCurrentContext:n.context=window.elementorWpAiCurrentContext),new Promise((function(i,c){var d=elementorCommon.ajax.addRequest(t,{success:i,error:c,data:n,unique_id:n.unique_id},o);a&&d.jqXhr&&a.addEventListener("abort",d.jqXhr.abort)}))};n.getUserInformation=function getUserInformation(t){return c("ai_get_user_information",void 0,t)},n.getRemoteConfig=function getRemoteConfig(){return c("ai_get_remote_config")},n.getRemoteFrontendConfig=function getRemoteFrontendConfig(t,n){return c("ai_get_remote_frontend_config",{payload:t},n)},n.getCompletionText=function getCompletionText(t){return c("ai_get_completion_text",{payload:t})},n.getExcerpt=function getExcerpt(t){return c("ai_get_excerpt",{payload:t})},n.getFeaturedImage=function getFeaturedImage(t){return c("ai_get_featured_image",{payload:t})},n.getEditText=function getEditText(t){return c("ai_get_edit_text",{payload:t})},n.getCustomCode=function getCustomCode(t){return c("ai_get_custom_code",{payload:t})},n.getCustomCSS=function getCustomCSS(t){return c("ai_get_custom_css",{payload:t})},n.setGetStarted=function setGetStarted(){return c("ai_set_get_started")},n.setStatusFeedback=function setStatusFeedback(t){return c("ai_set_status_feedback",{response_id:t})},n.getTextToImageGeneration=function getTextToImageGeneration(t){return c("ai_get_text_to_image",{payload:t})},n.getImageToImageGeneration=function getImageToImageGeneration(t){return c("ai_get_image_to_image",{payload:t})},n.getImageToImageMaskCleanup=function getImageToImageMaskCleanup(t){return c("ai_get_image_to_image_mask_cleanup",{payload:t})},n.getImageToImageMaskGeneration=function getImageToImageMaskGeneration(t){return c("ai_get_image_to_image_mask",{payload:t})},n.getImageToImageOutPainting=function getImageToImageOutPainting(t){return c("ai_get_image_to_image_outpainting",{payload:t})},n.getImageToImageUpscale=function getImageToImageUpscale(t){return c("ai_get_image_to_image_upscale",{payload:t})},n.getImageToImageRemoveBackground=function getImageToImageRemoveBackground(t){return c("ai_get_image_to_image_remove_background",{payload:t})},n.getImageToImageReplaceBackground=function getImageToImageReplaceBackground(t){return c("ai_get_image_to_image_replace_background",{payload:t})},n.getImageToImageRemoveText=function getImageToImageRemoveText(t){return c("ai_get_image_to_image_remove_text",{image:t})},n.getImagePromptEnhanced=function getImagePromptEnhanced(t){return c("ai_get_image_prompt_enhancer",{prompt:t})},n.getProductImageUnification=function getProductImageUnification(t,n){return c("ai_get_product_image_unification",{payload:t},n)},n.uploadImage=function uploadImage(t){return c("ai_upload_image",_objectSpread(_objectSpread({},t),{},{editor_post_id:t.image.editor_post_id,unique_id:t.image.unique_id}))},n.generateLayout=function generateLayout(t,n){return c("ai_generate_layout",t,!0,n)},n.getLayoutPromptEnhanced=function getLayoutPromptEnhanced(t,n){return c("ai_get_layout_prompt_enhancer",{prompt:t,enhance_type:n})},n.getHistory=function getHistory(t,n,o){return c("ai_get_history",{type:t,page:n,limit:o})},n.deleteHistoryItem=function deleteHistoryItem(t){return c("ai_delete_history_item",{id:t})},n.toggleFavoriteHistoryItem=function toggleFavoriteHistoryItem(t){return c("ai_toggle_favorite_history_item",{id:t})}},86353:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.AlertDialog=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(18821)),f=o(86956),m=o(12470),h=a(o(62688));function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}(n.AlertDialog=function AlertDialog(t){var n=(0,c.useState)(!0),o=(0,d.default)(n,2),a=o[0],i=o[1];return a?c.default.createElement(f.Dialog,{open:!0,maxWidth:"lg"},c.default.createElement(f.DialogContent,{sx:{padding:0}},c.default.createElement(f.Typography,{sx:{textAlign:"center",padding:3}},t.message),c.default.createElement(f.Stack,{alignItems:"center",spacing:2,marginBottom:2},c.default.createElement(f.Button,{variant:"contained",type:"button",color:"primary",onClick:function onClick(){var n;i(!1),null===(n=t.onClose)||void 0===n||n.call(t)}},(0,m.__)("Close","elementor"))))):null}).propTypes={message:h.default.string.isRequired,onClose:h.default.func}},99476:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(41594)),c=a(o(78304)),d=o(86956),f=o(12470),m=a(o(62688)),h=o(44048),g=(0,d.styled)((function ElementorLogo(t){return i.default.createElement(d.SvgIcon,(0,c.default)({viewBox:"0 0 32 32"},t),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.69648 24.8891C0.938383 22.2579 0 19.1645 0 16C0 11.7566 1.68571 7.68687 4.68629 4.68629C7.68687 1.68571 11.7566 0 16 0C19.1645 0 22.2579 0.938383 24.8891 2.69648C27.5203 4.45459 29.5711 6.95344 30.7821 9.87706C31.9931 12.8007 32.3099 16.0177 31.6926 19.1214C31.0752 22.2251 29.5514 25.0761 27.3137 27.3137C25.0761 29.5514 22.2251 31.0752 19.1214 31.6926C16.0177 32.3099 12.8007 31.9931 9.87706 30.7821C6.95344 29.5711 4.45459 27.5203 2.69648 24.8891ZM12.0006 9.33281H9.33437V22.6665H12.0006V9.33281ZM22.6657 9.33281H14.6669V11.9991H22.6657V9.33281ZM22.6657 14.6654H14.6669V17.3316H22.6657V14.6654ZM22.6657 20.0003H14.6669V22.6665H22.6657V20.0003Z"}))}))((function(t){var n=t.theme;return{width:n.spacing(3),height:n.spacing(3),"& path":{fill:n.palette.text.primary}}})),y=function DialogHeader(t){return i.default.createElement(d.AppBar,{sx:{fontWeight:"normal"},color:"transparent",position:"relative"},i.default.createElement(d.Toolbar,{variant:"dense"},i.default.createElement(g,{sx:{mr:1}}),i.default.createElement(d.Typography,{component:"span",variant:"subtitle2",sx:{fontWeight:"bold",textTransform:"uppercase"}},(0,f.__)("AI","elementor")),i.default.createElement(d.Chip,{label:(0,f.__)("Beta","elementor"),color:"default",size:"small",sx:{ml:1}}),i.default.createElement(d.Stack,{direction:"row",spacing:1,alignItems:"center",sx:{ml:"auto"}},t.children,i.default.createElement(d.IconButton,{size:"small","aria-label":"close",onClick:t.onClose,sx:{"&.MuiButtonBase-root":{mr:-1}}},i.default.createElement(h.XIcon,null)))))};y.propTypes={onClose:m.default.func.isRequired,children:m.default.oneOfType([m.default.arrayOf(m.default.node),m.default.node])};n.default=y},73319:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(41594)),c=a(o(78304)),d=a(o(85707)),f=a(o(40453)),m=o(86956),h=a(o(62688)),g=["sx","BoxProps"];function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,d.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}var y=function Loader(t){var n=t.sx,o=void 0===n?{}:n,a=t.BoxProps,d=void 0===a?{}:a,h=(0,f.default)(t,g);return i.default.createElement(m.Box,(0,c.default)({width:"100%",display:"flex",alignItems:"center"},d,{sx:_objectSpread({px:1.5,minHeight:function minHeight(t){return t.spacing(5)}},d.sx||{})}),i.default.createElement(m.LinearProgress,(0,c.default)({color:"secondary"},h,{sx:_objectSpread({width:"100%"},o)})))};y.propTypes={sx:h.default.object,BoxProps:h.default.object};n.default=y},48968:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(78304)),f=a(o(85707)),m=a(o(18821)),h=o(86956),g=a(o(62688)),y=a(o(38230)),v=a(o(99476));function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,f.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}var _=function DraggablePaper(t){var n=(0,c.useState)({x:0,y:0}),o=(0,m.default)(n,2),a=o[0],i=o[1],f=(0,c.useRef)(null),g=(0,c.useRef)(null),v=function handlePositionBoundaries(){clearTimeout(g.current),g.current=setTimeout((function(){var t,n=null===(t=f.current)||void 0===t?void 0:t.getBoundingClientRect().top;n<0&&i((function(t){return _objectSpread(_objectSpread({},t),{},{y:t.y-n})}))}),50)};return(0,c.useEffect)((function(){var t=new ResizeObserver(v);return t.observe(f.current),function(){t.disconnect()}}),[]),c.default.createElement(y.default,{position:a,onDrag:function onDrag(t,n){var o=n.x,a=n.y;return i({x:o,y:a})},handle:".MuiAppBar-root",cancel:'[class*="MuiDialogContent-root"]',bounds:"parent"},c.default.createElement(h.Paper,(0,d.default)({},t,{ref:f})))},b=function PromptDialog(t){return c.default.createElement(h.Dialog,(0,d.default)({scroll:"paper",open:!0,fullWidth:!0,hideBackdrop:!0,PaperComponent:_,disableScrollLock:!0,sx:{"& .MuiDialog-container":{alignItems:"flex-start",mt:"18vh"}},PaperProps:{sx:{m:0,maxHeight:"76vh"}}},t),t.children)};b.propTypes={onClose:g.default.func.isRequired,children:g.default.node,maxWidth:g.default.oneOf(["xs","sm","md","lg","xl",!1])},b.Header=v.default,b.Content=h.DialogContent;n.default=b},43091:(t,n,o)=>{"use strict";var a=o(12470).sprintf,i=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=i(o(41594)),d=i(o(78304)),f=i(o(40453)),m=o(86956),h=o(12470),g=i(o(62688)),y=["error","onRetry","actionPosition"],v=function PromptErrorMessage(t){var n=t.error,o=t.onRetry,i=void 0===o?function(){}:o,g=t.actionPosition,v=void 0===g?"default":g,_=(0,f.default)(t,y);function getQuotaReachedTrailMessage(t){return t?{text:c.default.createElement(m.AlertTitle,null,a((0,h.__)("You've used all AI credits for %s.","elementor"),t.toLowerCase())),description:(0,h.__)("Upgrade now to keep using this feature. You still have credits for other AI features (Text, Code, Images, Containers, etc.)","elementor"),buttonText:(0,h.__)("Upgrade now","elementor"),buttonAction:function buttonAction(){return window.open("https://go.elementor.com/ai-popup-purchase-limit-reached/","_blank")}}:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("It's time to upgrade.","elementor")),description:(0,h.__)("Enjoy the free trial? Upgrade now for unlimited access to built-in image, text and custom code generators.","elementor"),buttonText:(0,h.__)("Upgrade","elementor"),buttonAction:function buttonAction(){return window.open("https://go.elementor.com/ai-popup-purchase-limit-reached/","_blank")}}}var b=function getErrorMessage(){var t,o=n.message||n,a=null===(t=n.extra_data)||void 0===t?void 0:t.featureName,d={default:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("There was a glitch.","elementor")),description:(0,h.__)("Wait a moment and give it another go, or try tweaking the prompt.","elementor"),buttonText:(0,h.__)("Try again","elementor"),buttonAction:i},service_outage_internal:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("There was a glitch.","elementor")),description:(0,h.__)("Wait a moment and give it another go.","elementor"),buttonText:(0,h.__)("Try again","elementor"),buttonAction:i},invalid_connect_data:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("There was a glitch.","elementor")),description:c.default.createElement(c.default.Fragment,null,(0,h.__)("Try exiting Elementor and sign in again.","elementor")," ",c.default.createElement("a",{href:"https://elementor.com/help/disconnecting-reconnecting-your-elementor-account/",target:"_blank",rel:"noreferrer"},(0,h.__)("Show me how","elementor"))),buttonText:(0,h.__)("Reconnect","elementor"),buttonAction:function buttonAction(){return window.open(window.ElementorAiConfig.connect_url)}},not_connected:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("You aren't connected to Elementor AI.","elementor")),description:(0,h.__)("Elementor AI is just a few clicks away. Connect your account to instantly create texts and custom code.","elementor"),buttonText:(0,h.__)("Connect","elementor"),buttonAction:function buttonAction(){return window.open(window.ElementorAiConfig.connect_url)}},quota_reached_trail:getQuotaReachedTrailMessage(a),quota_reached_subscription:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("Looks like you're out of credits.","elementor")),description:(0,h.__)("Ready to take it to the next level?","elementor"),buttonText:(0,h.__)("Upgrade now","elementor"),buttonAction:function buttonAction(){return window.open("https://go.elementor.com/ai-popup-purchase-limit-reached/","_blank")}},rate_limit_network:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("Whoa! Slow down there.","elementor")),description:(0,h.__)("We can’t process that many requests so fast. Try again in 15 minutes.","elementor")},invalid_prompts:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("We were unable to generate that prompt.","elementor")),description:(0,h.__)("Seems like the prompt contains words that could generate harmful content. Write a different prompt to continue.","elementor")},service_unavailable:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("There was a glitch.","elementor")),description:(0,h.__)("Wait a moment and give it another go, or try tweaking the prompt.","elementor"),buttonText:(0,h.__)("Try again","elementor"),buttonAction:i},request_timeout_error:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("There was a glitch.","elementor")),description:(0,h.__)("Wait a moment and give it another go, or try tweaking the prompt.","elementor"),buttonText:(0,h.__)("Try again","elementor"),buttonAction:i},invalid_token:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("Try again","elementor")),description:(0,h.__)("Try exiting Elementor and sign in again.","elementor"),buttonText:(0,h.__)("Reconnect","elementor"),buttonAction:i},file_too_large:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("The file is too large.","elementor")),description:(0,h.__)("Please upload a file that is less than 4MB.","elementor")},image_resolution_maximum_exceeded:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("The image resolution exceeds the maximum allowed size.","elementor")),description:(0,h.__)("Please upload a file with dimensions less than 2048x2048 pixels.","elementor")},external_service_unavailable:{text:c.default.createElement(m.AlertTitle,null,(0,h.__)("Temporary external service issue","elementor")),description:(0,h.__)("It seems that one of our partner services is temporarily unavailable. Please try again in a few minutes.","elementor"),buttonText:(0,h.__)("Try Again","elementor"),buttonAction:i}};return d[o]||d.default}(),w=(null==b?void 0:b.buttonText)&&c.default.createElement(m.Button,{color:"inherit",size:"small",variant:"outlined",onClick:b.buttonAction},b.buttonText);return c.default.createElement(m.Alert,(0,d.default)({severity:b.severity||"error",action:"default"===v&&w},_),b.text,b.description,"bottom"===v&&c.default.createElement(m.Box,{sx:{mt:1}},w))};v.propTypes={error:g.default.oneOfType([g.default.object,g.default.string]),onRetry:g.default.func,actionPosition:g.default.oneOf(["default","bottom"])};n.default=v},53497:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(41594)),c=o(86956),d=o(12470),f=a(o(62688)),m=function PromptLibraryLink(t){return i.default.createElement(c.Typography,{variant:"body2",color:"text.secondary"},(0,d.__)("For more suggestions, explore our")," ",i.default.createElement(c.Link,{href:t.libraryLink,className:"elementor-clickable",target:"_blank"},(0,d.__)("prompt library")))};m.propTypes={libraryLink:f.default.string};n.default=m},35121:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(18821)),f=o(86956),m=o(12470),h=a(o(62688)),g=o(44048);function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}var y=(0,f.styled)(f.Paper)((function(t){var n=t.theme;return{position:"relative",'[data-popper-placement="top"] &':{marginBottom:n.spacing(2.5)},'[data-popper-placement="bottom"] &':{marginTop:n.spacing(2.5)},padding:n.spacing(3),boxShadow:n.shadows[4],zIndex:"9999"}})),v=(0,f.styled)(f.Box)((function(t){var n=t.theme;return{width:n.spacing(5),height:n.spacing(2.5),position:"absolute",overflow:"hidden",left:"50% !important",transform:"translateX(-50%) rotate(var(--rotate, 0deg)) !important",'[data-popper-placement="top"] &':{top:"100%"},'[data-popper-placement="bottom"] &':{"--rotate":"180deg",top:"calc(".concat(n.spacing(2.5)," * -1)")},"&::after":{backgroundColor:n.palette.background.paper,content:'""',display:"block",position:"absolute",width:n.spacing(2.5),height:n.spacing(2.5),top:0,left:"50%",transform:"translateX(-50%) translateY(-50%) rotate(45deg)",boxShadow:"1px 1px 5px 0px rgba(0, 0, 0, 0.2)",backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05))"}}})),_=[(0,m.__)("Get spot-on suggestions from AI Copilot and AI Context with appropriate designs, layouts, and content for your business.","elementor"),(0,m.__)("Generate professional texts about any topic, in any tone.","elementor"),(0,m.__)("Effortlessly create or enhance stunning images and bring your ideas to life.","elementor"),(0,m.__)("Unleash infinite possibilities with the custom code generator.","elementor"),(0,m.__)("Access 30-days of AI History with the AI Starter plan and 90-days with the Power plan.","elementor")],b=(0,f.styled)(f.Chip)((function(){return{"& .MuiChip-label":{lineHeight:1.5},"& .MuiSvgIcon-root.MuiChip-icon":{fontSize:"1.25rem"}}})),w=function UpgradeChip(t){var n=t.hasSubscription,o=void 0!==n&&n,a=t.usagePercentage,i=void 0===a?0:a,h=(0,c.useState)(!1),w=(0,d.default)(h,2),C=w[0],P=w[1],S=(0,c.useRef)(null),E=(0,c.useRef)(null),T="https://go.elementor.com/ai-popup-purchase-dropdown/";o&&(T=i>=100?"https://go.elementor.com/ai-popup-upgrade-limit-reached/":"https://go.elementor.com/ai-popup-upgrade-limit-reached-80-percent/");var k=o?(0,m.__)("Upgrade Elementor AI","elementor"):(0,m.__)("Get Elementor AI","elementor");return c.default.createElement(f.Box,{component:"span","aria-owns":C?"e-ai-upgrade-popover":void 0,"aria-haspopup":"true",onMouseEnter:function showPopover(){return P(!0)},onMouseLeave:function hidePopover(){return P(!1)},ref:S,display:"flex",alignItems:"center"},c.default.createElement(b,{color:"promotion",label:(0,m.__)("Upgrade","elementor"),icon:c.default.createElement(g.AIIcon,null),size:"small"}),c.default.createElement(f.Popper,{open:C,anchorEl:S.current,sx:{zIndex:"170001",maxWidth:300},modifiers:[{name:"arrow",enabled:!0,options:{element:E.current}}]},c.default.createElement(y,null,c.default.createElement(v,{ref:E}),c.default.createElement(f.Typography,{variant:"h5",color:"text.primary"},(0,m.__)("Unlimited access to Elementor AI","elementor")),c.default.createElement(f.List,{sx:{mb:1}},_.map((function(t,n){return c.default.createElement(f.ListItem,{key:n,disableGutters:!0,sx:{alignItems:"flex-start"}},c.default.createElement(f.ListItemIcon,null,c.default.createElement(g.CheckedCircleIcon,null)),c.default.createElement(f.ListItemText,{sx:{m:0}},c.default.createElement(f.Typography,{variant:"body2"},t)))}))),c.default.createElement(f.Button,{variant:"contained",color:"promotion",size:"small",href:T,target:"_blank",startIcon:c.default.createElement(g.AIIcon,null),sx:{"&:hover":{color:"promotion.contrastText"}}},k))))};n.default=w;w.propTypes={hasSubscription:h.default.bool,usagePercentage:h.default.number}},90291:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.VoicePromotionAlert=void 0;var i=a(o(85707)),c=a(o(41594)),d=o(86956),f=a(o(50923)),m=a(o(80366)),h=a(o(62688)),g=o(12470);function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,i.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}var y=n.VoicePromotionAlert=function VoicePromotionAlert(t){var n=(0,m.default)(t.introductionKey),o=n.isViewed,a=n.markAsViewed;return o?null:c.default.createElement(d.Box,{sx:_objectSpread({mt:2},t.sx),alignItems:"top"},c.default.createElement(d.Alert,{severity:"info",variant:"standard",icon:c.default.createElement(f.default,{sx:{alignSelf:"flex-start"}}),onClose:a},(0,g.__)("Get improved results from AI by adding personal context.","elementor"),c.default.createElement(d.Link,{onClick:function onClick(){return $e.route("panel/global/menu")},className:"elementor-clickable",style:{textDecoration:"none"},color:"info.main",href:"#"},(0,g.__)("Let’s do it","elementor"))))};y.propTypes={sx:h.default.object,introductionKey:h.default.string};n.default=y},4508:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(41594)),c=a(o(78304)),d=a(o(85707)),f=a(o(40453)),m=o(86956),h=a(o(62688)),g=a(o(99476)),y=["sx"];function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,d.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}var v=function WizardDialog(t){return i.default.createElement(m.Dialog,{open:!0,onClose:t.onClose,fullWidth:!0,hideBackdrop:!0,maxWidth:"lg",PaperProps:{sx:{height:"88vh"}},sx:{zIndex:9999}},t.children)};v.propTypes={onClose:h.default.func.isRequired,children:h.default.node.isRequired};var _=function WizardDialogContent(t){var n=t.sx,o=void 0===n?{}:n,a=(0,f.default)(t,y);return i.default.createElement(m.DialogContent,(0,c.default)({},a,{sx:_objectSpread({display:"flex",flexDirection:"column",justifyContent:"center"},o)}))};_.propTypes={sx:h.default.object},v.Header=g.default,v.Content=_;n.default=v},40128:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.RequestIdsProvider=void 0,n.generateIds=function generateIds(t){var n;t.id=h().toString(),null!==(n=t.elements)&&void 0!==n&&n.length&&t.elements.map((function(t){return generateIds(t)}));return t},n.useRequestIds=n.getUniqueId=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(18821)),f=a(o(62688));function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}var m=(0,c.createContext)({}),h=(n.useRequestIds=function useRequestIds(){var t=(0,c.useContext)(m);if(!t)throw new Error("useRequestIds must be used within a RequestIdsProvider");return t},n.getUniqueId=function getUniqueId(t){return t+"-"+Math.random().toString(16).substr(2,7)});window.EDITOR_SESSION_ID=window.EDITOR_SESSION_ID||h("editor-session"),(n.RequestIdsProvider=function RequestIdsProvider(t){var n=(0,c.useRef)(window.EDITOR_SESSION_ID),o=(0,c.useRef)(""),a=(0,c.useRef)(""),i=(0,c.useRef)(""),f=(0,c.useRef)("");o.current=h("session");var g=(0,c.useState)(0),y=(0,d.default)(g,2),v=y[0],_=y[1];return c.default.createElement(m.Provider,{value:{editorSessionId:n,sessionId:o,generateId:a,batchId:i,requestId:f,setGenerate:function setGenerate(){return a.current=h("generate"),a},setBatch:function setBatch(){return i.current=h("batch"),i},setRequest:function setRequest(){return f.current=h("request"),f},usagePercentage:v,updateUsagePercentage:function updateUsagePercentage(t){_(t)}}},t.children)}).propTypes={children:f.default.node.isRequired};n.default=m},80366:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=function useIntroduction(t){var n,o,a,d=window.elementor?null===(n=window.elementor.config)||void 0===n?void 0:n.user:null===(o=window.elementorAdmin)||void 0===o||null===(o=o.config)||void 0===o?void 0:o.user,f=(0,c.useState)(!(null==d||null===(a=d.introduction)||void 0===a||!a[t])),m=(0,i.default)(f,2),h=m[0],g=m[1];return{isViewed:h,markAsViewed:function markAsViewed(){return t?new Promise((function(n,o){h&&o(),g(!0),elementorCommon.ajax.addRequest("introduction_viewed",{data:{introductionKey:t},error:function error(){g(!1),o()},success:function success(){g(!0),null!=d&&d.introduction&&(d.introduction[t]=!0),n()}})})):Promise.reject()}}};var i=a(o(18821)),c=o(41594)},34161:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(95034),c=a(o(48812)),d=o(91258),f=new Map([["media",i.getImagePromptEnhanced],["layout",i.getLayoutPromptEnhanced]]);n.default=function usePromptEnhancer(t,n){var o=(0,d.useConfig)().mode,a=(0,c.default)((function(){return function getResult(t,n,o){if(!f.has(n))throw new Error("Invalid prompt type: ".concat(n));return f.get(n)(t,o)}(t,n,o)}),t),i=a.data,m=a.isLoading;return{enhance:a.send,isEnhancing:m,enhancedPrompt:null==i?void 0:i.result}}},48812:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(61790)),c=a(o(85707)),d=a(o(58155)),f=a(o(18821)),m=a(o(40453)),h=o(41594),g=o(95034),y=o(40128),v=["text","response_id","usage","images"];function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,c.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}var _=function normalizeResponse(t){var n=t.text,o=t.response_id,a=t.usage,i=t.images,c=(0,m.default)(t,v),d=a?a.quota-a.usedQuota:0,f={result:n||i,responseId:o,credits:Math.max(d,0),usagePercentage:null==a?void 0:a.usagePercentage};return c.base_template_id&&(f.baseTemplateId=c.base_template_id),f.type=c.template_type,f};n.default=function usePrompt(t,n){var o=(0,h.useState)(!1),a=(0,f.default)(o,2),c=a[0],m=a[1],v=(0,h.useState)(""),b=(0,f.default)(v,2),w=b[0],C=b[1],P=(0,h.useState)(n),S=(0,f.default)(P,2),E=S[0],T=S[1],k=(0,y.useRequestIds)(),A=k.updateUsagePercentage,D=k.usagePercentage,q=(0,h.useRef)(function(){var t=(0,d.default)(i.default.mark((function _callee(t){return i.default.wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",t);case 1:case"end":return n.stop()}}),_callee)})));return function(n){return t.apply(this,arguments)}}());(0,h.useEffect)((function(){var t=null==E?void 0:E.usagePercentage;t&&t!==D&&A(t)}),[E,D,A]);var W=(0,y.useRequestIds)(),N=W.setRequest,U=W.editorSessionId,H=W.sessionId,F=W.generateId,V=W.batchId;q.current=(0,h.useCallback)(function(){var n=(0,d.default)(i.default.mark((function _callee2(n){return i.default.wrap((function _callee2$(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",new Promise((function(o,a){C(""),m(!0);var i=N(),c={editorSessionId:U.current,sessionId:H.current,generateId:F.current,batchId:V.current,requestId:i.current};n=_objectSpread(_objectSpread({},n),{},{requestIds:c}),t(n).then((function(t){var n=_(t);T(n),o(n)})).catch((function(t){var n=(null==t?void 0:t.responseText)||t;C(n),a(n)})).finally((function(){return m(!1)}))})));case 1:case"end":return o.stop()}}),_callee2)})));return function(t){return n.apply(this,arguments)}}(),[V,U,t,F,H,N]);return{isLoading:c,error:w,data:E,setResult:function setResult(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=_objectSpread({},E);o.result=t,n&&(o.responseId=n),T(o)},reset:function reset(){T((function(t){return{credits:t.credits,result:"",responseId:""}})),C(""),m(!1)},send:q.current,sendUsageData:function sendUsageData(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E;return t.responseId&&(0,g.setStatusFeedback)(t.responseId)}}}},77043:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.useTimeout=void 0;var i=a(o(18821)),c=o(41594);n.useTimeout=function useTimeout(t){var n=(0,c.useState)(!1),o=(0,i.default)(n,2),a=o[0],d=o[1],f=(0,c.useRef)(null);return(0,c.useEffect)((function(){return f.current=setTimeout((function(){d(!0)}),t),function(){clearTimeout(f.current)}}),[t]),[a,function turnOffTimeout(){clearTimeout(f.current),d(!1)}]}},24954:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(61790)),c=a(o(85707)),d=a(o(58155)),f=a(o(18821)),m=o(41594),h=o(95034),g=a(o(62688));function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,c.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}var y=function useUserInfo(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=(0,m.useState)(!1),o=(0,f.default)(n,2),a=o[0],c=o[1],g=(0,m.useState)(!1),y=(0,f.default)(g,2),v=y[0],_=y[1],b=(0,m.useState)({is_connected:!1,is_get_started:!1,connect_url:"",usage:{hasAiSubscription:!1,quota:0,usedQuota:0}}),w=(0,f.default)(b,2),C=w[0],P=w[1],S=C.usage.quota-C.usage.usedQuota,E=C.usage.quota?C.usage.usedQuota/C.usage.quota*100:0,T=function(){var n=(0,d.default)(i.default.mark((function _callee(){var n;return i.default.wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return _(!0),o.next=3,(0,h.getUserInformation)(t);case 3:n=o.sent,P((function(t){return _objectSpread(_objectSpread({},t),n)})),c(!0),_(!1);case 7:case"end":return o.stop()}}),_callee)})));return function fetchData(){return n.apply(this,arguments)}}();return a||v||T(),{isLoading:v,isLoaded:a,isConnected:C.is_connected,isGetStarted:C.is_get_started,connectUrl:C.connect_url,builderUrl:C.usage.builderUrl,hasSubscription:C.usage.hasAiSubscription,credits:S<0?0:S,usagePercentage:Math.round(E),fetchData:T}};y.propTypes={immediately:g.default.bool};n.default=y},31593:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({viewBox:"0 0 24 24"},t,{ref:n}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.53033 7.46967C9.82322 7.76256 9.82322 8.23744 9.53033 8.53033L6.81066 11.25H19C19.4142 11.25 19.75 11.5858 19.75 12C19.75 12.4142 19.4142 12.75 19 12.75H6.81066L9.53033 15.4697C9.82322 15.7626 9.82322 16.2374 9.53033 16.5303C9.23744 16.8232 8.76256 16.8232 8.46967 16.5303L4.46967 12.5303C4.17678 12.2374 4.17678 11.7626 4.46967 11.4697L8.46967 7.46967C8.76256 7.17678 9.23744 7.17678 9.53033 7.46967Z"}))}));n.default=f},50923:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({},t,{ref:n}),c.default.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.default.createElement("g",{clipPath:"url(#clip0_10743_8902)"},c.default.createElement("path",{d:"M2.75 10.0833H3.66667M11 2.75V3.66667M18.3333 10.0833H19.25M5.13333 5.13333L5.775 5.775M16.8667 5.13333L16.225 5.775",stroke:"#2563EB",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.default.createElement("path",{d:"M9.16675 16.041C8.70841 15.1243 6.91205 13.2842 6.62523 12.366C6.3384 11.4477 6.34775 10.4626 6.65195 9.54997C6.95615 8.63738 7.53978 7.84362 8.32016 7.28116C9.10054 6.71869 10.0381 6.41602 11.0001 6.41602C11.962 6.41602 12.8996 6.71869 13.68 7.28116C14.4604 7.84362 15.044 8.63738 15.3482 9.54997C15.6524 10.4626 15.6618 11.4477 15.3749 12.366C15.0881 13.2842 13.2917 15.1243 12.8334 16.041C12.8334 16.041 12.7597 17.3762 12.8334 17.8743C12.8334 18.3606 12.6403 18.8269 12.2964 19.1707C11.9526 19.5145 11.4863 19.7077 11.0001 19.7077C10.5139 19.7077 10.0475 19.5145 9.70372 19.1707C9.3599 18.8269 9.16675 18.3606 9.16675 17.8743C9.2405 17.3762 9.16675 16.041 9.16675 16.041Z",stroke:"#2563EB",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.default.createElement("path",{d:"M10.0833 16.5H11.9166",stroke:"#2563EB",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),c.default.createElement("defs",null,c.default.createElement("clipPath",{id:"clip0_10743_8902"},c.default.createElement("rect",{width:"22",height:"22",fill:"white"})))))}));n.default=f},65141:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({viewBox:"0 0 24 24"},t,{ref:n}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6667 0.208496C17.0534 0.208496 17.4244 0.362142 17.6979 0.635632C17.9714 0.909123 18.125 1.28006 18.125 1.66683V11.6668C18.125 12.0536 17.9714 12.4245 17.6979 12.698C17.4244 12.9715 17.0534 13.1252 16.6667 13.1252H14.7917V16.6668C14.7917 17.0536 14.638 17.4245 14.3645 17.698C14.091 17.9715 13.7201 18.1252 13.3333 18.1252H3.33333C2.94656 18.1252 2.57563 17.9715 2.30214 17.698C2.02865 17.4245 1.875 17.0536 1.875 16.6668V6.66683C1.875 6.28005 2.02865 5.90912 2.30214 5.63563C2.57563 5.36214 2.94656 5.2085 3.33333 5.2085H5.20833V1.66683C5.20833 1.28005 5.36198 0.909122 5.63547 0.635632C5.90896 0.362142 6.27989 0.208496 6.66667 0.208496H16.6667ZM6.66667 1.4585C6.61141 1.4585 6.55842 1.48045 6.51935 1.51952C6.48028 1.55859 6.45833 1.61158 6.45833 1.66683V3.54183H8.54167V1.4585H6.66667ZM3.125 9.79183V16.6668C3.125 16.7221 3.14695 16.7751 3.18602 16.8141C3.22509 16.8532 3.27808 16.8752 3.33333 16.8752H13.3333C13.3886 16.8752 13.4416 16.8532 13.4806 16.8141C13.5197 16.7751 13.5417 16.7221 13.5417 16.6668V13.1252H6.66667C6.27989 13.1252 5.90896 12.9715 5.63547 12.698C5.36198 12.4245 5.20833 12.0536 5.20833 11.6668V9.79183H3.125ZM5.20833 8.54183H3.125V6.66683C3.125 6.61158 3.14695 6.55859 3.18602 6.51952C3.22509 6.48045 3.27808 6.4585 3.33333 6.4585H5.20833V8.54183ZM6.45833 11.6668C6.45833 11.7221 6.48028 11.7751 6.51935 11.8141C6.55842 11.8532 6.61141 11.8752 6.66667 11.8752H16.6667C16.7219 11.8752 16.7749 11.8532 16.814 11.8141C16.853 11.7751 16.875 11.7221 16.875 11.6668V4.79183H6.45833V11.6668ZM9.79167 1.4585V3.54183H16.875V1.66683C16.875 1.61157 16.853 1.55858 16.814 1.51952C16.7749 1.48045 16.7219 1.4585 16.6667 1.4585H9.79167Z"}))}));n.default=f},51066:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({viewBox:"0 0 24 24"},t,{ref:n}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9697 4.96967C14.6408 4.29858 15.5509 3.92157 16.5 3.92157C17.4491 3.92157 18.3592 4.29858 19.0303 4.96967C19.7014 5.64075 20.0784 6.55094 20.0784 7.5C20.0784 8.44905 19.7014 9.35924 19.0303 10.0303L8.53033 20.5303C8.38968 20.671 8.19891 20.75 8 20.75H4C3.58579 20.75 3.25 20.4142 3.25 20V16C3.25 15.8011 3.32902 15.6103 3.46967 15.4697L13.9697 4.96967ZM16.5 5.42157C15.9488 5.42157 15.4201 5.64055 15.0303 6.03033L4.75 16.3107V19.25H7.68934L17.9697 8.96967C18.3595 8.57989 18.5784 8.05123 18.5784 7.5C18.5784 6.94876 18.3595 6.42011 17.9697 6.03033C17.5799 5.64055 17.0512 5.42157 16.5 5.42157Z"}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9697 5.96967C13.2626 5.67677 13.7374 5.67677 14.0303 5.96967L18.0303 9.96967C18.3232 10.2626 18.3232 10.7374 18.0303 11.0303C17.7374 11.3232 17.2626 11.3232 16.9697 11.0303L12.9697 7.03033C12.6768 6.73743 12.6768 6.26256 12.9697 5.96967Z"}))}));n.default=f},53952:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({viewBox:"0 0 24 24"},t,{ref:n}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 3.25H8C8.41421 3.25 8.75 3.58579 8.75 4C8.75 4.41421 8.41421 4.75 8 4.75H5.81066L10.5303 9.46967C10.8232 9.76256 10.8232 10.2374 10.5303 10.5303C10.2374 10.8232 9.76256 10.8232 9.46967 10.5303L4.75 5.81066V8C4.75 8.41421 4.41421 8.75 4 8.75C3.58579 8.75 3.25 8.41421 3.25 8V4C3.25 3.58579 3.58579 3.25 4 3.25ZM13.4697 13.4697C13.7626 13.1768 14.2374 13.1768 14.5303 13.4697L19.25 18.1893V16C19.25 15.5858 19.5858 15.25 20 15.25C20.4142 15.25 20.75 15.5858 20.75 16V20C20.75 20.4142 20.4142 20.75 20 20.75H16C15.5858 20.75 15.25 20.4142 15.25 20C15.25 19.5858 15.5858 19.25 16 19.25H18.1893L13.4697 14.5303C13.1768 14.2374 13.1768 13.7626 13.4697 13.4697Z"}))}));n.default=f},21995:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({viewBox:"0 0 24 24"},t,{ref:n}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.8125 11.9996C7.29473 11.9996 6.875 12.4473 6.875 12.9996V18.9996C6.875 19.5519 7.29473 19.9996 7.8125 19.9996H17.1875C17.7053 19.9996 18.125 19.5519 18.125 18.9996V12.9996C18.125 12.4473 17.7053 11.9996 17.1875 11.9996H7.8125ZM5 12.9996C5 11.3428 6.2592 9.99963 7.8125 9.99963H17.1875C18.7408 9.99963 20 11.3428 20 12.9996V18.9996C20 20.6565 18.7408 21.9996 17.1875 21.9996H7.8125C6.2592 21.9996 5 20.6565 5 18.9996V12.9996Z"}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 3.90527C11.7044 3.90527 10.9413 4.22134 10.3787 4.78395C9.81607 5.34656 9.5 6.10962 9.5 6.90527V10.9053C9.5 11.4576 9.05228 11.9053 8.5 11.9053C7.94772 11.9053 7.5 11.4576 7.5 10.9053V6.90527C7.5 5.57919 8.02678 4.30742 8.96447 3.36974C9.90215 2.43206 11.1739 1.90527 12.5 1.90527C13.8261 1.90527 15.0979 2.43206 16.0355 3.36974C16.9732 4.30742 17.5 5.57919 17.5 6.90527V10.9053C17.5 11.4576 17.0523 11.9053 16.5 11.9053C15.9477 11.9053 15.5 11.4576 15.5 10.9053V6.90527C15.5 6.10962 15.1839 5.34656 14.6213 4.78395C14.0587 4.22134 13.2956 3.90527 12.5 3.90527Z"}),c.default.createElement("path",{d:"M6 12H19V20H6V12Z"}))}));n.default=f},33724:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({viewBox:"0 0 24 24"},t,{ref:n}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.46967 3.46967C3.76256 3.17678 4.23744 3.17678 4.53033 3.46967L9.25 8.18934V6C9.25 5.58579 9.58579 5.25 10 5.25C10.4142 5.25 10.75 5.58579 10.75 6V10C10.75 10.4142 10.4142 10.75 10 10.75H6C5.58579 10.75 5.25 10.4142 5.25 10C5.25 9.58579 5.58579 9.25 6 9.25H8.18934L3.46967 4.53033C3.17678 4.23744 3.17678 3.76256 3.46967 3.46967ZM14 13.25H18C18.4142 13.25 18.75 13.5858 18.75 14C18.75 14.4142 18.4142 14.75 18 14.75H15.8107L20.5303 19.4697C20.8232 19.7626 20.8232 20.2374 20.5303 20.5303C20.2374 20.8232 19.7626 20.8232 19.4697 20.5303L14.75 15.8107V18C14.75 18.4142 14.4142 18.75 14 18.75C13.5858 18.75 13.25 18.4142 13.25 18V14C13.25 13.5858 13.5858 13.25 14 13.25Z"}))}));n.default=f},96793:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({viewBox:"0 0 24 24"},t,{ref:n}),c.default.createElement("path",{d:"M12 2.69231C6.8595 2.69231 2.69231 6.8595 2.69231 12C2.69231 17.1405 6.8595 21.3077 12 21.3077C17.1405 21.3077 21.3077 17.1405 21.3077 12C21.3077 6.8595 17.1405 2.69231 12 2.69231ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM12 7.76923C12.4673 7.76923 12.8462 8.14807 12.8462 8.61538V11.1538H15.3846C15.8519 11.1538 16.2308 11.5327 16.2308 12C16.2308 12.4673 15.8519 12.8462 15.3846 12.8462H12.8462V15.3846C12.8462 15.8519 12.4673 16.2308 12 16.2308C11.5327 16.2308 11.1538 15.8519 11.1538 15.3846V12.8462H8.61538C8.14807 12.8462 7.76923 12.4673 7.76923 12C7.76923 11.5327 8.14807 11.1538 8.61538 11.1538H11.1538V8.61538C11.1538 8.14807 11.5327 7.76923 12 7.76923Z"}))}));n.default=f},33057:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({viewBox:"0 0 24 24"},t,{ref:n}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.55012 4.45178C9.23098 3.48072 11.1845 3.08925 13.1097 3.33767C15.035 3.58609 16.8251 4.46061 18.2045 5.82653C19.5838 7.19245 20.4757 8.97399 20.743 10.8967C20.8 11.307 20.5136 11.6858 20.1033 11.7428C19.6931 11.7998 19.3142 11.5135 19.2572 11.1032C19.0353 9.50635 18.2945 8.02677 17.149 6.89236C16.0035 5.75795 14.5167 5.03165 12.9178 4.82534C11.3189 4.61902 9.69644 4.94414 8.30047 5.75061C7.24361 6.36117 6.36093 7.22198 5.72541 8.24995H8.00009C8.41431 8.24995 8.75009 8.58574 8.75009 8.99995C8.75009 9.41417 8.41431 9.74995 8.00009 9.74995H4.51686C4.5055 9.75021 4.49412 9.75021 4.48272 9.74995H4.00009C3.58588 9.74995 3.25009 9.41417 3.25009 8.99995V4.99995C3.25009 4.58574 3.58588 4.24995 4.00009 4.24995C4.41431 4.24995 4.75009 4.58574 4.75009 4.99995V7.00691C5.48358 5.96916 6.43655 5.0951 7.55012 4.45178Z"}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.89686 12.2571C4.30713 12.2001 4.68594 12.4864 4.74295 12.8967C4.96487 14.4936 5.70565 15.9731 6.85119 17.1075C7.99673 18.242 9.48347 18.9683 11.0824 19.1746C12.6813 19.3809 14.3037 19.0558 15.6997 18.2493C16.7566 17.6387 17.6393 16.7779 18.2748 15.75H16.0001C15.5859 15.75 15.2501 15.4142 15.2501 15C15.2501 14.5857 15.5859 14.25 16.0001 14.25H19.4833C19.4947 14.2497 19.5061 14.2497 19.5175 14.25H20.0001C20.4143 14.25 20.7501 14.5857 20.7501 15V19C20.7501 19.4142 20.4143 19.75 20.0001 19.75C19.5859 19.75 19.2501 19.4142 19.2501 19V16.993C18.5166 18.0307 17.5636 18.9048 16.4501 19.5481C14.7692 20.5192 12.8157 20.9107 10.8904 20.6622C8.9652 20.4138 7.17504 19.5393 5.79572 18.1734C4.4164 16.8074 3.52443 15.0259 3.25723 13.1032C3.20022 12.6929 3.48658 12.3141 3.89686 12.2571Z"}))}));n.default=f},53532:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({viewBox:"0 0 24 24"},t,{ref:n}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2.25C9.41421 2.25 9.75 2.58579 9.75 3C9.75 3.33152 9.8817 3.64946 10.1161 3.88388C10.3505 4.1183 10.6685 4.25 11 4.25C11.4142 4.25 11.75 4.58579 11.75 5C11.75 5.41421 11.4142 5.75 11 5.75C10.6685 5.75 10.3505 5.8817 10.1161 6.11612C9.8817 6.35054 9.75 6.66848 9.75 7C9.75 7.41421 9.41421 7.75 9 7.75C8.58579 7.75 8.25 7.41421 8.25 7C8.25 6.66848 8.1183 6.35054 7.88388 6.11612C7.64946 5.8817 7.33152 5.75 7 5.75C6.58579 5.75 6.25 5.41421 6.25 5C6.25 4.58579 6.58579 4.25 7 4.25C7.33152 4.25 7.64946 4.1183 7.88388 3.88388C8.1183 3.64946 8.25 3.33152 8.25 3C8.25 2.58579 8.58579 2.25 9 2.25ZM9 4.88746C8.98182 4.90673 8.96333 4.92576 8.94454 4.94454C8.92576 4.96333 8.90673 4.98182 8.88746 5C8.90673 5.01818 8.92576 5.03667 8.94454 5.05546C8.96333 5.07424 8.98182 5.09327 9 5.11254C9.01818 5.09327 9.03667 5.07424 9.05546 5.05546C9.07424 5.03667 9.09327 5.01818 9.11254 5C9.09327 4.98182 9.07424 4.96333 9.05546 4.94454C9.03667 4.92576 9.01818 4.90673 9 4.88746Z"}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5303 2.46967C18.2374 2.17678 17.7626 2.17678 17.4697 2.46967L2.46967 17.4697C2.17678 17.7626 2.17678 18.2374 2.46967 18.5303L5.46967 21.5303C5.76256 21.8232 6.23744 21.8232 6.53033 21.5303L21.5303 6.53033C21.8232 6.23744 21.8232 5.76256 21.5303 5.46967L18.5303 2.46967ZM18 7.93934L19.9393 6L18 4.06066L16.0607 6L18 7.93934ZM15 7.06066L16.9393 9L6 19.9393L4.06066 18L15 7.06066Z"}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.75 13C19.75 12.5858 19.4142 12.25 19 12.25C18.5858 12.25 18.25 12.5858 18.25 13C18.25 13.3315 18.1183 13.6495 17.8839 13.8839C17.6495 14.1183 17.3315 14.25 17 14.25C16.5858 14.25 16.25 14.5858 16.25 15C16.25 15.4142 16.5858 15.75 17 15.75C17.3315 15.75 17.6495 15.8817 17.8839 16.1161C18.1183 16.3505 18.25 16.6685 18.25 17C18.25 17.4142 18.5858 17.75 19 17.75C19.4142 17.75 19.75 17.4142 19.75 17C19.75 16.6685 19.8817 16.3505 20.1161 16.1161C20.3505 15.8817 20.6685 15.75 21 15.75C21.4142 15.75 21.75 15.4142 21.75 15C21.75 14.5858 21.4142 14.25 21 14.25C20.6685 14.25 20.3505 14.1183 20.1161 13.8839C19.8817 13.6495 19.75 13.3315 19.75 13ZM18.9445 14.9445C18.9633 14.9258 18.9818 14.9067 19 14.8875C19.0182 14.9067 19.0367 14.9258 19.0555 14.9445C19.0742 14.9633 19.0933 14.9818 19.1125 15C19.0933 15.0182 19.0742 15.0367 19.0555 15.0555C19.0367 15.0742 19.0182 15.0933 19 15.1125C18.9818 15.0933 18.9633 15.0742 18.9445 15.0555C18.9258 15.0367 18.9067 15.0182 18.8875 15C18.9067 14.9818 18.9258 14.9633 18.9445 14.9445Z"}))}));n.default=f},68627:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({viewBox:"0 0 24 24"},t,{ref:n}),c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16707 3.95837C4.11182 3.95837 4.05883 3.98032 4.01976 4.01939C3.98069 4.05846 3.95874 4.11145 3.95874 4.16671V6.04171H6.04207V3.95837H4.16707ZM4.16707 2.70837C3.7803 2.70837 3.40937 2.86202 3.13588 3.13551C2.86239 3.409 2.70874 3.77993 2.70874 4.16671V15.8334C2.70874 16.2201 2.86239 16.5911 3.13588 16.8646C3.40937 17.1381 3.7803 17.2917 4.16707 17.2917H15.8337C16.2205 17.2917 16.5914 17.1381 16.8649 16.8646C17.1384 16.5911 17.2921 16.2201 17.2921 15.8334V4.16671C17.2921 3.77993 17.1384 3.409 16.8649 3.13551C16.5914 2.86202 16.2205 2.70837 15.8337 2.70837H4.16707ZM7.29207 3.95837V6.04171H16.0421V4.16671C16.0421 4.11145 16.0201 4.05846 15.9811 4.01939C15.942 3.98032 15.889 3.95837 15.8337 3.95837H7.29207ZM16.0421 7.29171H3.95874V15.8334C3.95874 15.8886 3.98069 15.9416 4.01976 15.9807C4.05883 16.0198 4.11182 16.0417 4.16707 16.0417H15.8337C15.889 16.0417 15.942 16.0198 15.9811 15.9807C16.0201 15.9416 16.0421 15.8886 16.0421 15.8334V7.29171Z"}))}));n.default=f},65815:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(78304)),c=a(o(41594)),d=o(86956),f=c.default.forwardRef((function(t,n){return c.default.createElement(d.SvgIcon,(0,i.default)({viewBox:"0 0 24 24"},t,{ref:n}),c.default.createElement("path",{d:"M12 2.69231C6.8595 2.69231 2.69231 6.8595 2.69231 12C2.69231 17.1405 6.8595 21.3077 12 21.3077C17.1405 21.3077 21.3077 17.1405 21.3077 12C21.3077 6.8595 17.1405 2.69231 12 2.69231ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM9.14527 9.14527C9.47571 8.81483 10.0115 8.81483 10.3419 9.14527L12 10.8034L13.6581 9.14527C13.9885 8.81483 14.5243 8.81483 14.8547 9.14527C15.1852 9.47571 15.1852 10.0115 14.8547 10.3419L13.1966 12L14.8547 13.6581C15.1852 13.9885 15.1852 14.5243 14.8547 14.8547C14.5243 15.1852 13.9885 15.1852 13.6581 14.8547L12 13.1966L10.3419 14.8547C10.0115 15.1852 9.47571 15.1852 9.14527 14.8547C8.81483 14.5243 8.81483 13.9885 9.14527 13.6581L10.8034 12L9.14527 10.3419C8.81483 10.0115 8.81483 9.47571 9.14527 9.14527Z"}))}));n.default=f},92263:(t,n,o)=>{"use strict";var a,i=o(36833),c=i.renderLayoutApp,d=i.importToEditor,f=o(91258).MODE_VARIATION,m=o(12470).__,h=o(4353),g=h.ATTACHMENT_TYPE_JSON,y=h.ELEMENTOR_LIBRARY_SOURCE;a=Marionette.Behavior.extend({ui:{applyButton:".elementor-template-library-template-apply-ai",generateVariation:".elementor-template-library-template-generate-variation"},events:{"click @ui.applyButton":"onApplyButtonClick","click @ui.generateVariation":"onGenerateVariationClick"},onGenerateVariationClick:function onGenerateVariationClick(){var t,n={model:this.view.model},o=$e.components.get("library"),a=null===(t=o.manager.modalConfig)||void 0===t||null===(t=t.importOptions)||void 0===t?void 0:t.at;o.downloadTemplate(n,(function(t){var o=n.model,i={type:g,previewHTML:'<img src="'.concat(o.get("thumbnail"),'" />'),content:t.content[0],label:"".concat(o.get("template_id")," - ").concat(o.get("title")),source:y};c({parentContainer:elementor.getPreviewContainer(),mode:f,at:a,attachments:[i],onInsert:function onInsert(t){d({parentContainer:elementor.getPreviewContainer(),at:a,template:t,historyTitle:m("AI Variation from library","elementor")})}}),$e.run("library/close")}))},onApplyButtonClick:function onApplyButtonClick(){var t={model:this.view.model};this.ui.applyButton.addClass("elementor-disabled"),"remote"!==t.model.get("source")||elementor.config.library_connect.is_connected?$e.run("library/generate-ai-variation",t):$e.route("library/connect",t)}}),t.exports=a},47407:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(41594)),c=o(86956),d=a(o(62688)),f=function LayoutAppWrapper(t){return i.default.createElement(c.DirectionProvider,{rtl:t.isRTL},i.default.createElement(c.ThemeProvider,{colorScheme:t.colorScheme},t.children))};f.propTypes={children:d.default.node,isRTL:d.default.bool,colorScheme:d.default.oneOf(["auto","light","dark"])};n.default=f},93569:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(41594)),c=a(o(62688)),d=a(o(94459)),f=o(38298),m=o(91258),h=o(35589),g=o(40128),y=function LayoutApp(t){return i.default.createElement(h.RemoteConfigProvider,{onError:t.onClose},i.default.createElement(g.RequestIdsProvider,null,i.default.createElement(m.ConfigProvider,{mode:t.mode,attachmentsTypes:t.attachmentsTypes,onClose:t.onClose,onConnect:t.onConnect,onData:t.onData,onInsert:t.onInsert,onSelect:t.onSelect,onGenerate:t.onGenerate,currentContext:t.currentContext,hasPro:t.hasPro},i.default.createElement(d.default,{attachments:t.attachments}))))};y.propTypes={mode:c.default.oneOf(m.LAYOUT_APP_MODES).isRequired,attachmentsTypes:f.AttachmentsTypesPropType,attachments:c.default.arrayOf(f.AttachmentPropType),onClose:c.default.func.isRequired,onConnect:c.default.func.isRequired,onData:c.default.func.isRequired,onInsert:c.default.func.isRequired,onSelect:c.default.func.isRequired,onGenerate:c.default.func.isRequired,currentContext:c.default.object,hasPro:c.default.bool};n.default=y},94459:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(18821)),f=a(o(8299)),m=a(o(51550)),h=a(o(62805)),g=a(o(73319)),y=a(o(35121)),v=a(o(24954)),_=a(o(4508)),b=a(o(75690)),w=a(o(62688)),C=o(38298),P=o(91258),S=o(40128);function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}var E=function LayoutContent(t){var n=(0,v.default)(),o=n.isLoading,a=n.isConnected,i=n.isGetStarted,w=n.connectUrl,C=n.fetchData,E=n.hasSubscription,T=n.usagePercentage,k=(0,P.useConfig)(),A=k.onClose,D=k.onConnect,q=(0,S.useRequestIds)(),W=q.updateUsagePercentage,N=q.usagePercentage,U=(0,c.useState)(!1),H=(0,d.default)(U,2),F=H[0],V=H[1];if((0,c.useEffect)((function(){F||o||!T&&0!==T||(W(T),V(!0))}),[o,T,F,W]),o||!F)return c.default.createElement(b.default,{onClose:A},c.default.createElement(b.default.Header,{onClose:A}),c.default.createElement(b.default.Content,{dividers:!0},c.default.createElement(g.default,{BoxProps:{sx:{px:3}}})));if(!a)return c.default.createElement(_.default,{onClose:A},c.default.createElement(b.default,{onClose:A}),c.default.createElement(_.default.Content,{dividers:!0},c.default.createElement(f.default,{connectUrl:w,onSuccess:function onSuccess(t){D(t),C()}})));if(!i)return c.default.createElement(_.default,{onClose:A},c.default.createElement(b.default,{onClose:A}),c.default.createElement(_.default.Content,{dividers:!0},c.default.createElement(h.default,{onSuccess:C})));var G=!E||80<=N;return c.default.createElement(m.default,{attachments:t.attachments,DialogHeaderProps:{children:G&&c.default.createElement(y.default,{hasSubscription:E,usagePercentage:N})}})};E.propTypes={attachments:w.default.arrayOf(C.AttachmentPropType)};n.default=E},8299:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=o(86956),f=o(12470),m=a(o(62688)),h=o(44048);function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}var g=function Connect(t){var n=t.connectUrl,o=t.onSuccess,a=(0,c.useRef)();return(0,c.useEffect)((function(){jQuery.fn.elementorConnect&&jQuery(a.current).elementorConnect({success:function success(t,n){return o(n)},error:function error(){throw new Error("Elementor AI: Failed to connect.")}})}),[]),c.default.createElement(d.Stack,{alignItems:"center",gap:2},c.default.createElement(h.AIIcon,{sx:{color:"text.primary",fontSize:"60px",mb:1}}),c.default.createElement(d.Typography,{variant:"h4",sx:{color:"text.primary"}},(0,f.__)("Step into the future with Elementor AI","elementor")),c.default.createElement(d.Typography,{variant:"body2"},(0,f.__)("Create smarter with AI text and code generators built right into the editor.","elementor")),c.default.createElement(d.Typography,{variant:"caption",sx:{maxWidth:520,textAlign:"center"}},(0,f.__)('By clicking "Connect", I approve the ',"elementor"),c.default.createElement(d.Link,{href:"https://go.elementor.com/ai-terms/",target:"_blank",color:"info.main"},(0,f.__)("Terms of Service","elementor"))," & ",c.default.createElement(d.Link,{href:"https://go.elementor.com/ai-privacy-policy/",target:"_blank",color:"info.main"},(0,f.__)("Privacy Policy","elementor")),(0,f.__)(" of the Elementor AI service.","elementor")),c.default.createElement(d.Button,{ref:a,href:n,variant:"contained",sx:{mt:1,"&:hover":{color:"primary.contrastText"}}},(0,f.__)("Connect","elementor")))};g.propTypes={connectUrl:m.default.string.isRequired,onSuccess:m.default.func.isRequired};n.default=g},4353:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.USER_VARIATION_SOURCE=n.USER_URL_SOURCE=n.MENU_TYPE_LIBRARY=n.ELEMENTOR_LIBRARY_SOURCE=n.ATTACHMENT_TYPE_URL=n.ATTACHMENT_TYPE_JSON=void 0;var i=a(o(41594)),c=a(o(78304)),d=o(60992),f=a(o(25553)),m=a(o(45286)),h=a(o(68627)),g=a(o(65141)),y=o(12470),v=a(o(62688)),_=o(38298),b=o(86956),w=n.ATTACHMENT_TYPE_JSON="json",C=n.ATTACHMENT_TYPE_URL="url",P=n.MENU_TYPE_LIBRARY="library",S=(n.USER_VARIATION_SOURCE="user-variation",n.ELEMENTOR_LIBRARY_SOURCE="elementor-library",n.USER_URL_SOURCE="user-url",function Attachments(t){return t.attachments.length?i.default.createElement(b.Stack,{direction:"row",spacing:1},t.attachments.map((function(n,o){switch(n.type){case w:return i.default.createElement(f.default,(0,c.default)({key:o},t));case C:return i.default.createElement(m.default,(0,c.default)({key:o},t));default:return null}}))):i.default.createElement(d.Menu,{disabled:t.disabled,onAttach:t.onAttach,items:[{title:(0,y.__)("Reference a website","elementor"),icon:h.default,type:C},{title:(0,y.__)("Create variations from Template Library","elementor"),icon:g.default,type:P}]})});S.propTypes={attachments:v.default.arrayOf(_.AttachmentPropType).isRequired,onAttach:v.default.func.isRequired,onDetach:v.default.func,disabled:v.default.bool};n.default=S},89958:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.AttachDialog=void 0;var i=a(o(41594)),c=o(43220),d=a(o(62688)),f=o(66942),m=o(4353),h=n.AttachDialog=function AttachDialog(t){var n=t.type,o=t.url;switch(n){case m.ATTACHMENT_TYPE_URL:return i.default.createElement(c.UrlDialog,{url:o,onAttach:t.onAttach,onClose:t.onClose});case m.MENU_TYPE_LIBRARY:return i.default.createElement(f.LibraryDialog,{onAttach:t.onAttach,onClose:t.onClose})}return null};h.propTypes={type:d.default.string,onAttach:d.default.func,onClose:d.default.func,url:d.default.string};n.default=h},66942:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.LibraryDialog=void 0;var i=a(o(62688)),c=o(41594),d=o(4353);(n.LibraryDialog=function LibraryDialog(t){var n=(0,c.useRef)(!1);return(0,c.useEffect)((function(){var o=function onLibraryHide(){n.current||t.onClose()};return $e.components.get("library").layout.getModal().on("hide",o),function(){$e.components.get("library").layout.getModal().off("hide",o)}}),[t]),(0,c.useEffect)((function(){var o=function onMessage(o){var a=o.data,i=a.type,c=a.json,f=a.html,m=a.label,h=a.source;switch(i){case"library/attach:start":n.current=!0;break;case"library/attach":t.onAttach([{type:d.ATTACHMENT_TYPE_JSON,previewHTML:f,content:c,label:m,source:h}]),n.current=!1,t.onClose()}};return window.addEventListener("message",o),function(){window.removeEventListener("message",o)}})),$e.run("library/open",{toDefault:!0,mode:"ai-attachment"}),n.current=!1,null}).propTypes={onAttach:i.default.func.isRequired,onClose:i.default.func.isRequired}},60992:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.Menu=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(18821)),f=o(86956),m=a(o(65815)),h=a(o(96793)),g=a(o(62688)),y=o(89958),v=a(o(80366));function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}(n.Menu=function Menu(t){var n=(0,c.useState)(!1),o=(0,d.default)(n,2),a=o[0],i=o[1],g=(0,c.useState)(null),_=(0,d.default)(g,2),b=_[0],w=_[1],C=(0,f.useTheme)().direction,P=(0,c.useRef)(null),S=(0,v.default)("e-ai-attachment-badge"),E=S.isViewed,T=S.markAsViewed;return c.default.createElement(c.default.Fragment,null,c.default.createElement(f.IconButton,{size:"small",ref:P,disabled:t.disabled,onClick:function onClick(){i(!0),E||T()},color:"secondary"},a?c.default.createElement(m.default,{fontSize:"small"}):E?c.default.createElement(h.default,{fontSize:"small"}):c.default.createElement(f.Badge,{color:"primary",badgeContent:" ",variant:"dot"},c.default.createElement(h.default,{fontSize:"small"}))),c.default.createElement(f.Popover,{open:a,anchorEl:P.current,onClose:function onClose(){return i(!1)},anchorOrigin:{vertical:"bottom",horizontal:"rtl"===C?"right":"left"},transformOrigin:{vertical:"top",horizontal:"rtl"===C?"right":"left"}},c.default.createElement(f.Stack,{sx:{width:440}},t.items.map((function(t){var n=t.icon;return c.default.createElement(f.MenuItem,{key:t.type,onClick:function onClick(){w(t.type),i(!1)}},c.default.createElement(f.ListItemIcon,null,c.default.createElement(n,null)),t.title)})))),c.default.createElement(y.AttachDialog,{type:b,onAttach:t.onAttach,onClose:function onClose(){i(!1),w(null)}}))}).propTypes={items:g.default.arrayOf(g.default.shape({title:g.default.string.isRequired,type:g.default.string.isRequired,icon:g.default.elementType})).isRequired,onAttach:g.default.func.isRequired,disabled:g.default.bool}},54403:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.PromptPowerNotice=void 0;var i=a(o(41594)),c=o(86956),d=o(12470),f=a(o(80366));n.PromptPowerNotice=function PromptPowerNotice(){var t=(0,f.default)("e-ai-builder-attachments-power"),n=t.isViewed,o=t.markAsViewed;return n?null:i.default.createElement(c.Box,{sx:{pt:2,px:2,pb:0}},i.default.createElement(c.Alert,{severity:"info",onClose:function onClose(){return o()}},i.default.createElement(c.Typography,{variant:"body2",display:"inline-block",sx:{paddingInlineEnd:1}},(0,d.__)("You’ve got the power.","elementor")),i.default.createElement(c.Typography,{variant:"body2",display:"inline-block"},(0,d.__)("Craft your prompt to affect content, images and/or colors - whichever you decide.","elementor"))))}},25553:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.ThumbnailJson=void 0;var i=a(o(41594)),c=o(71338),d=a(o(62688)),f=o(86956),m=o(38298),h=n.ThumbnailJson=function ThumbnailJson(t){var n,o=null===(n=t.attachments)||void 0===n?void 0:n.find((function(t){return"json"===t.type}));return o?o.previewHTML?i.default.createElement(c.Thumbnail,{html:o.previewHTML,disabled:t.disabled}):i.default.createElement(f.Skeleton,{animation:"wave",variant:"rounded",width:60,height:60}):null};h.propTypes={attachments:d.default.arrayOf(m.AttachmentPropType).isRequired,disabled:d.default.bool};n.default=h},45286:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.ThumbnailUrl=void 0;var i=a(o(41594)),c=o(71338),d=o(12470),f=a(o(62688)),m=o(86956),h=o(44048),g=o(38298),y=n.ThumbnailUrl=function ThumbnailUrl(t){var n,o=null===(n=t.attachments)||void 0===n?void 0:n.find((function(t){return"url"===t.type}));return o?i.default.createElement(m.Box,{sx:{position:"relative","&:hover::before":{content:'""',position:"absolute",userSelect:"none",inset:0,backgroundColor:"rgba(0,0,0,0.6)",borderRadius:1,zIndex:1},"&:hover .remove-attachment":{display:"flex"}}},i.default.createElement(m.IconButton,{className:"remove-attachment",size:"small","aria-label":(0,d.__)("Remove","elementor"),disabled:t.disabled,onClick:function onClick(n){n.stopPropagation(),t.onDetach()},sx:{display:"none",position:"absolute",insetInlineEnd:4,insetBlockStart:4,backgroundColor:"secondary.main",zIndex:1,borderRadius:1,p:"3px","&:hover":{backgroundColor:"secondary.dark"}}},i.default.createElement(h.TrashIcon,{sx:{fontSize:"1.125rem",color:"common.white"}})),i.default.createElement(c.Thumbnail,{disabled:t.disabled,html:o.previewHTML})):null};y.propTypes={attachments:f.default.arrayOf(g.AttachmentPropType).isRequired,disabled:f.default.bool,onDetach:f.default.func};n.default=y},71338:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.Thumbnail=n.THUMBNAIL_SIZE=void 0;var i,c=a(o(41594)),d=a(o(98832)),f=o(86956),m=o(12470),h=a(o(62688)),g=a(o(79626)),y=n.THUMBNAIL_SIZE=64,v=g.default.body(i||(i=(0,d.default)(["\n\thtml, body {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\toverflow: hidden;\n\t}\n\n\tbody > * {\n\t\twidth: 100% !important;\n\t}\n\n\tbody > img {\n\t\theight: 100%;\n\t\tobject-fit: cover;\n\t}\n\n\tbody:has(> img) {\n\t\theight: ","px\n\t}\n"])),y);(n.Thumbnail=function Thumbnail(t){var n,o,a=null===(n=t.html.match('data-width="(?<width>\\d+)"'))||void 0===n||null===(n=n.groups)||void 0===n?void 0:n.width,i=null===(o=t.html.match('data-height="(?<height>\\d+)"'))||void 0===o||null===(o=o.groups)||void 0===o?void 0:o.height,d=a?parseInt(a):y,h=i?parseInt(i):y,g=Math.min(h,d),_=y/g,b=h>d?(y-y*(h/d))/2:0,w=d>h?(y-y*(d/h))/2:0;return c.default.createElement(f.Box,{dir:"ltr",sx:{position:"relative",cursor:"default",overflow:"hidden",border:"1px solid",borderColor:"grey.300",borderRadius:1,boxSizing:"border-box",width:y,height:y,opacity:t.disabled?.5:1}},c.default.createElement("iframe",{title:(0,m.__)("Preview","elementor"),sandbox:"",srcDoc:"<style>"+v.componentStyle.rules.join("")+"</style>"+t.html,style:{border:"none",overflow:"hidden",width:d,height:h,transform:"scale(".concat(_,")"),transformOrigin:"".concat(w,"px ").concat(b,"px")}}))}).propTypes={html:h.default.string.isRequired,disabled:h.default.bool}},43220:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.UrlDialog=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(18821)),f=o(86956),m=a(o(62688)),h=o(12470),g=o(86353),y=o(77043),v=o(4353),_=o(35589),b=a(o(24954)),w=o(40128);function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}(n.UrlDialog=function UrlDialog(t){var n=(0,y.useTimeout)(1e4),o=(0,d.default)(n,2),a=o[0],i=o[1],m=(0,b.default)(),C=m.isLoading,P=m.usagePercentage,S=(0,w.useRequestIds)().updateUsagePercentage,E=(0,c.useState)(!1),T=(0,d.default)(E,2),k=T[0],A=T[1],D=(0,_.useRemoteConfig)().remoteConfig[_.CONFIG_KEYS.WEB_BASED_BUILDER_URL],q=(D?new URL(D):{}).origin,W=(0,c.useRef)(!1);return(0,c.useEffect)((function(){k||C||!P&&0!==P||(S(P),A(!0))}),[C,P,k,S]),(0,c.useEffect)((function(){if(!W.current)try{window.$e.run("ai-integration/open-choose-element",{url:t.url}),W.current=!0}catch(t){console.error(t)}}),[W.current]),(0,c.useEffect)((function(){var n=function onMessage(n){if(n.origin===q){var o=n.data,a=o.type,c=o.html,d=o.url;switch(a){case"element-selector/close":W.current=!1,t.onClose();break;case"element-selector/loaded":i(),W.current=!0;break;case"element-selector/attach":t.onAttach([{type:"url",previewHTML:c,content:c,label:d?new URL(d).href:"",source:v.USER_URL_SOURCE}])}}};return window.addEventListener("message",n),function(){window.removeEventListener("message",n)}}),[q,t,i]),c.default.createElement(c.default.Fragment,null,!W.current&&!a&&c.default.createElement(f.Dialog,{open:!0,maxWidth:"lg"},c.default.createElement(f.Typography,{sx:{textAlign:"center",padding:3}},(0,h.__)("Loading...","elementor"))),a&&c.default.createElement(g.AlertDialog,{message:(0,h.__)("The app is not responding. Please try again later. (#408)","elementor"),onClose:t.onClose}))}).propTypes={onAttach:m.default.func.isRequired,onClose:m.default.func.isRequired,url:m.default.string}},75690:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(78304)),f=a(o(85707)),m=a(o(18821)),h=a(o(40453)),g=o(86956),y=o(12470),v=a(o(62688)),_=a(o(48968)),b=o(44048),w=["sx","PaperProps"];function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,f.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}var C=(0,g.styled)(_.default)((function(){return{"& .MuiDialog-container":{marginTop:0,alignItems:"flex-end",paddingBottom:"16vh"},"& .MuiPaper-root":{margin:0,maxHeight:"80vh"}}})),P=function DialogHeader(t){var n=t.onClose,o=t.children;return c.default.createElement(g.AppBar,{sx:{fontWeight:"normal"},color:"transparent",position:"relative"},c.default.createElement(g.Toolbar,{variant:"dense"},c.default.createElement(b.AIIcon,{sx:{mr:1}}),c.default.createElement(g.Typography,{component:"span",variant:"subtitle2",sx:{fontWeight:"bold",textTransform:"uppercase"}},(0,y.__)("AI","elementor")),c.default.createElement(g.Chip,{label:(0,y.__)("Beta","elementor"),color:"default",size:"small",sx:{ml:1}}),c.default.createElement(g.Stack,{direction:"row",spacing:1,alignItems:"center",sx:{ml:"auto"}},o,c.default.createElement(g.IconButton,{size:"small","aria-label":"close",onClick:n,sx:{"&.MuiButtonBase-root":{mr:-1}}},c.default.createElement(b.XIcon,null)))))};P.propTypes={children:v.default.node,onClose:v.default.func.isRequired};var S=(0,g.styled)(_.default.Content)((function(){return{"&.MuiDialogContent-root":{padding:0}}})),E=function LayoutDialog(t){var n=t.sx,o=void 0===n?{}:n,a=t.PaperProps,i=void 0===a?{}:a,f=(0,h.default)(t,w),g=(0,c.useState)({pointerEvents:"none"}),y=(0,m.default)(g,2),v=y[0],_=y[1],b=(0,c.useRef)(null);return c.default.createElement(C,(0,d.default)({maxWidth:"md",PaperProps:_objectSpread({sx:{pointerEvents:"auto"},onMouseEnter:function onMouseEnter(){clearTimeout(b.current),_({pointerEvents:"all"})},onMouseLeave:function onMouseLeave(){clearTimeout(b.current),b.current=setTimeout((function(){_({pointerEvents:"none"})}),200)}},i)},f,{sx:_objectSpread(_objectSpread({},v),o)}))};E.propTypes={sx:v.default.object,PaperProps:v.default.object},E.Header=P,E.Content=S;n.default=E},45395:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.ProTemplateIndicator=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(18821)),f=o(12470),m=o(86956),h=a(o(21995));function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}var g=(0,m.styled)(m.Paper)((function(t){var n=t.theme;return{position:"relative",padding:n.spacing(3),boxShadow:n.shadows[4],zIndex:"9999"}})),y=(0,m.styled)(m.Box)((function(t){var n=t.theme;return{position:"absolute",width:n.spacing(5),height:n.spacing(5),overflow:"hidden",left:"100% !important",transform:"translateX(-50%) translateY(-50%) rotate(var(--rotate, 0deg)) !important","&::after":{backgroundColor:n.palette.background.paper,content:'""',display:"block",position:"absolute",width:n.spacing(2.5),height:n.spacing(2.5),top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%) rotate(45deg)",boxShadow:"5px -5px 5px 0px rgba(0, 0, 0, 0.2)",backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05))"}}}));n.ProTemplateIndicator=function ProTemplateIndicator(){var t=(0,f.__)("Go Pro","elementor"),n=(0,c.useState)(!1),o=(0,d.default)(n,2),a=o[0],i=o[1],v=(0,c.useRef)(null),_=(0,c.useRef)(null);return c.default.createElement(m.Box,{flexDirection:"row-reverse",component:"span",display:"flex",onMouseLeave:function hidePopover(){return i(!1)},alignItems:"center"},c.default.createElement(m.IconButton,{ref:v,onMouseEnter:function showPopover(){return i(!0)},onClick:function onClick(t){return t.stopPropagation()},"aria-owns":a?"e-pro-upgrade-popover":void 0,"aria-haspopup":"true",sx:{m:1,"&:hover":{backgroundColor:"action.selected"}}},c.default.createElement(h.default,{sx:{color:"text.primary"}})),c.default.createElement(m.Popper,{open:a,popperOptions:{placement:"left-start",modifiers:[{name:"arrow",enabled:!0,options:{element:_.current,padding:5}},{name:"offset",options:{offset:[0,10]}}]},anchorEl:v.current,sx:{zIndex:"9999",maxWidth:300}},c.default.createElement(g,null,c.default.createElement(y,{ref:_}),c.default.createElement(m.Stack,{alignItems:"start",spacing:2},c.default.createElement(m.Chip,{color:"promotion",variant:"outlined",size:"small",label:(0,f.__)("Pro","elementor"),icon:c.default.createElement(h.default,null)}),c.default.createElement(m.Typography,{variant:"body2"},(0,f.__)("This result includes an Elementor Pro widget that's not available with your current plan. Upgrade to use all the widgets in this result.","elementor")),c.default.createElement(m.Button,{variant:"contained",color:"promotion",size:"small",href:"https://go.elementor.com/go-pro-ai/",target:"_blank",sx:{alignSelf:"flex-end"}},t)))))}},4974:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(18821)),f=a(o(40453)),m=a(o(78304)),h=a(o(85707)),g=o(86956),y=a(o(62688)),v=o(12470),_=a(o(53497)),b=o(91258),w=["onSubmit"];function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,h.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}var C=(0,c.forwardRef)((function(t,n){return c.default.createElement(g.TextField,(0,m.default)({autoFocus:!0,multiline:!0,size:"small",maxRows:3,color:"secondary",variant:"standard"},t,{inputRef:n,InputProps:_objectSpread(_objectSpread({},t.InputProps),{},{type:"search",sx:{pt:0}})}))}));C.propTypes={InputProps:y.default.object};var P=function PaperComponent(t){var n=(0,b.useConfig)().mode,o=b.MODE_VARIATION===n?"https://go.elementor.com/ai-prompt-library-variations/":"https://go.elementor.com/ai-prompt-library-containers/";return c.default.createElement(g.Paper,(0,m.default)({},t,{elevation:8,sx:{borderRadius:2}}),c.default.createElement(g.Typography,{component:g.Box,color:function color(t){return t.palette.text.tertiary},variant:"caption",paddingX:2,paddingY:1},(0,v.__)("Suggested Prompts","elementor")),c.default.createElement(g.Divider,null),t.children,c.default.createElement(g.Stack,{sx:{m:2}},c.default.createElement(_.default,{libraryLink:o})))};P.propTypes={children:y.default.node};var S=function PromptAutocomplete(t){var n=t.onSubmit,o=(0,f.default)(t,w),a=(0,c.useState)(!1),i=(0,d.default)(a,2),h=i[0],y=i[1],v=(0,g.useTheme)(),_=parseInt(v.spacing(4));return c.default.createElement(g.Autocomplete,(0,m.default)({PaperComponent:P,ListboxProps:{sx:{maxHeight:5*_}},renderOption:function renderOption(t,n){return c.default.createElement(g.Typography,(0,m.default)({},t,{title:n.text,noWrap:!0,variant:"body2",component:g.Box,sx:{"&.MuiAutocomplete-option":{display:"block",minHeight:_}}}),n.text)},freeSolo:!0,fullWidth:!0,disableClearable:!0,open:h,onClose:function onClose(t){var n;return y("A"===(null===(n=t.relatedTarget)||void 0===n?void 0:n.tagName))},onKeyDown:function onKeyDown(t){"Enter"!==t.key||t.shiftKey||h?"/"===t.key&&""===t.target.value&&(t.preventDefault(),y(!0)):n(t)}},o))};S.propTypes={onSubmit:y.default.func.isRequired},S.TextInput=C;n.default=S},85076:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(18821)),f=a(o(78304)),m=a(o(40453)),h=o(86956),g=o(12470),y=a(o(62688)),v=a(o(4974)),_=a(o(48584)),b=a(o(63223)),w=a(o(31593)),C=a(o(51066)),P=a(o(34161)),S=a(o(4353)),E=o(91258),T=o(38298),k=["tooltip"];function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}var A=Object.freeze([{text:(0,g.__)("Hero section on [topic] with heading, text, buttons on the right, and an image on the left","elementor.com")},{text:(0,g.__)("About Us section on [topic] with heading, text, and big image below","elementor.com")},{text:(0,g.__)("Team section with four image boxes showcasing team members","elementor.com")},{text:(0,g.__)("FAQ section with a toggle widget showcasing FAQs about [topic]","elementor.com")},{text:(0,g.__)("Gallery section with a carousel displaying three images at once","elementor.com")},{text:(0,g.__)("Contact section with a form for [topic]","elementor.com")},{text:(0,g.__)("Client section featuring companies' logos","elementor.com")},{text:(0,g.__)("Testimonial section with testimonials, each featuring a star rating and an image","elementor.com")},{text:(0,g.__)("Service section about [topic], showcasing four services with buttons","elementor.com")},{text:(0,g.__)("Stats section with counters displaying data about [topic]","elementor.com")},{text:(0,g.__)("Quote section with colored background, featuring a centered quote","elementor.com")},{text:(0,g.__)("Pricing section for [topic] with a pricing list","elementor.com")},{text:(0,g.__)("Subscribe section featuring a simple email form, inviting users to stay informed on [topic]","elementor.com")}]),D=function IconButtonWithTooltip(t){var n=t.tooltip,o=(0,m.default)(t,k);return c.default.createElement(h.Tooltip,{title:n},c.default.createElement(h.Box,{component:"span",sx:{cursor:o.disabled?"default":"pointer"}},c.default.createElement(h.IconButton,o)))};D.propTypes={tooltip:y.default.string,disabled:y.default.bool};var q=function BackButton(t){return c.default.createElement(D,(0,f.default)({size:"small",color:"secondary",tooltip:(0,g.__)("Back to results","elementor")},t),c.default.createElement(w.default,null))},W=function EditButton(t){return c.default.createElement(D,(0,f.default)({size:"small",color:"primary",tooltip:(0,g.__)("Edit prompt","elementor")},t),c.default.createElement(C.default,null))},N=function GenerateButton(t){return c.default.createElement(b.default,(0,f.default)({size:"small",fullWidth:!1},t),(0,g.__)("Generate","elementor"))},U=(0,c.forwardRef)((function(t,n){var o,a=t.attachments,i=t.isActive,m=t.isLoading,y=t.showActions,b=void 0!==y&&y,w=t.onAttach,C=t.onDetach,T=t.onSubmit,k=t.onBack,D=t.onEdit,U=t.shouldResetPrompt,H=void 0!==U&&U,F=(0,c.useState)(""),V=(0,d.default)(F,2),G=V[0],Y=V[1];(0,c.useEffect)((function(){H&&Y("")}),[H]);var K=(0,P.default)(G,"layout"),Z=K.isEnhancing,Q=K.enhance,J=(0,c.useRef)(""),ee=(0,E.useConfig)().attachmentsTypes,te=m||Z||!i,ne=""===G&&!a.length,de=te||ne,fe=ee[(null===(o=a[0])||void 0===o?void 0:o.type)||""],pe=(null==fe?void 0:fe.promptSuggestions)||A,me=(null==fe?void 0:fe.promptPlaceholder)||(0,g.__)("Press '/' for suggested prompts or describe the layout you want to create","elementor");return c.default.createElement(h.Stack,{component:"form",onSubmit:function onSubmit(t){return T(t,G)},direction:"row",sx:{p:3},alignItems:"start",gap:1},c.default.createElement(h.Stack,{direction:"row",alignItems:"start",flexGrow:1,spacing:2},b&&(i?c.default.createElement(q,{disabled:m||Z,onClick:function handleBack(){Y(J.current),k()}}):c.default.createElement(W,{disabled:m,onClick:function handleEdit(){J.current=G,D()}})),c.default.createElement(S.default,{attachments:a,onAttach:w,onDetach:C,disabled:te}),c.default.createElement(v.default,{value:G,disabled:te,onSubmit:function onSubmit(t){return T(t,G)},options:pe,onChange:function onChange(t,n){return Y(n.text+" ")},renderInput:function renderInput(t){return c.default.createElement(v.default.TextInput,(0,f.default)({},t,{ref:n,onChange:function onChange(t){return Y(t.target.value)},placeholder:me}))}})),c.default.createElement(_.default,{size:"small",disabled:de||""===G,isLoading:Z,onClick:function onClick(){return Q().then((function(t){var n=t.result;return Y(n)}))}}),c.default.createElement(N,{disabled:de}))}));U.propTypes={isActive:y.default.bool,onAttach:y.default.func,onDetach:y.default.func,isLoading:y.default.bool,showActions:y.default.bool,onSubmit:y.default.func.isRequired,onBack:y.default.func.isRequired,onEdit:y.default.func.isRequired,attachments:y.default.arrayOf(T.AttachmentPropType),shouldResetPrompt:y.default.bool};n.default=U},25893:(t,n,o)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(86956),i=(0,a.styled)(a.Box,{shouldForwardProp:function shouldForwardProp(t){return"outlineOffset"!==t}})((function(t){var n=t.theme,o=t.selected,a=t.height,i=t.disabled,c=t.outlineOffset,d=void 0===c?"0px":c,f=o?n.palette.text.primary:n.palette.text.disabled,m="2px solid ".concat(f);return{height:a,cursor:i?"default":"pointer",overflow:"hidden",boxSizing:"border-box",backgroundPosition:"top center",backgroundSize:"100% auto",backgroundRepeat:"no-repeat",backgroundColor:n.palette.common.white,borderRadius:.5*n.shape.borderRadius,outlineOffset:d,outline:m,opacity:i?"0.4":"1",transition:"all 50ms linear","&:hover":i?{}:{outlineColor:n.palette.text.primary}}}));n.default=i},93264:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=ScreenshotUnavailable;var i=a(o(41594)),c=a(o(78304)),d=a(o(85707)),f=a(o(62688)),m=o(12470),h=a(o(25893));function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,d.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}function ScreenshotUnavailable(t){return i.default.createElement(h.default,(0,c.default)({},t,{sx:_objectSpread(_objectSpread({},t.sx||{}),{},{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"background.paper",color:"text.tertiary",fontStyle:"italic",fontSize:"12px",paddingInline:12,textAlign:"center",lineHeight:1.5})}),(0,m.__)("Preview unavailable","elementor"))}ScreenshotUnavailable.propTypes={sx:f.default.object}},79919:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(41594)),c=a(o(85707)),d=o(86956),f=a(o(62688)),m=a(o(25893)),h=a(o(93264)),g=a(o(51563));function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,c.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}var y="138px",v=function Screenshot(t){var n=t.url,o=t.type,a=t.isLoading,c=void 0!==a&&a,f=t.isSelected,v=void 0!==f&&f,_=t.isPlaceholder,b=t.disabled,w=t.onClick,C=t.sx,P=void 0===C?{}:C,S=t.outlineOffset;return _?i.default.createElement(d.Box,{sx:_objectSpread({height:y},P)}):c?i.default.createElement(d.Skeleton,{width:"100%",animation:"wave",variant:"rounded",height:y,sx:P}):n?i.default.createElement(m.default,{selected:v,disabled:b,sx:_objectSpread({backgroundImage:"url('".concat(n,"')")},P),onClick:w,height:y,outlineOffset:S},i.default.createElement(g.default,{type:o})):i.default.createElement(h.default,{selected:v,disabled:b,sx:P,onClick:w,height:y,outlineOffset:S})};v.propTypes={isSelected:f.default.bool,isLoading:f.default.bool,isPlaceholder:f.default.bool,disabled:f.default.bool,onClick:f.default.func.isRequired,url:f.default.string,type:f.default.string,sx:f.default.object,outlineOffset:f.default.string};n.default=v},51563:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(41594)),c=a(o(62688)),d=o(91258),f=o(45395),m=function TemplateBadge(t){var n=(0,d.useConfig)().hasPro;return"Pro"!==t.type||n?null:i.default.createElement(f.ProTemplateIndicator,null)};n.default=m;m.propTypes={type:c.default.string}},64162:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(41594)),c=a(o(78304)),d=a(o(40453)),f=o(86956),m=o(12470),h=a(o(62688)),g=["onClose","onCancel","title","text"],y=function UnsavedChangesAlert(t){var n=t.onClose,o=t.onCancel,a=t.title,h=t.text,y=(0,d.default)(t,g);return i.default.createElement(f.Dialog,(0,c.default)({"aria-labelledby":"unsaved-changes-alert-title","aria-describedby":"unsaved-changes-alert-description"},y),i.default.createElement(f.DialogTitle,{id:"unsaved-changes-alert-title"},a),i.default.createElement(f.DialogContent,null,i.default.createElement(f.DialogContentText,{id:"unsaved-changes-alert-description"},h)),i.default.createElement(f.DialogActions,null,i.default.createElement(f.Button,{onClick:o,color:"secondary"},(0,m.__)("Cancel","elementor")),i.default.createElement(f.Button,{onClick:n,color:"error",variant:"contained"},(0,m.__)("Yes, leave","elementor"))))};y.propTypes={title:h.default.string,text:h.default.string,onCancel:h.default.func,onClose:h.default.func};n.default=y},91258:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.useConfig=n.default=n.MODE_VARIATION=n.MODE_LAYOUT=n.LAYOUT_APP_MODES=n.ConfigProvider=void 0;var i=a(o(41594)),c=a(o(62688)),d=n.MODE_LAYOUT="layout",f=n.MODE_VARIATION="variation",m=n.LAYOUT_APP_MODES=[d,f],h=i.default.createContext({});n.useConfig=function useConfig(){return i.default.useContext(h)};(n.ConfigProvider=function ConfigProvider(t){return i.default.createElement(h.Provider,{value:{mode:t.mode,attachmentsTypes:t.attachmentsTypes,onClose:t.onClose,onConnect:t.onConnect,onData:t.onData,onInsert:t.onInsert,onSelect:t.onSelect,onGenerate:t.onGenerate,currentContext:t.currentContext,hasPro:t.hasPro}},t.children)}).propTypes={mode:c.default.oneOf(m).isRequired,children:c.default.node.isRequired,attachmentsTypes:c.default.object.isRequired,onClose:c.default.func.isRequired,onConnect:c.default.func.isRequired,onData:c.default.func.isRequired,onInsert:c.default.func.isRequired,onSelect:c.default.func.isRequired,onGenerate:c.default.func.isRequired,currentContext:c.default.object,hasPro:c.default.bool};n.default=h},35589:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.useRemoteConfig=n.RemoteConfigProvider=n.CONFIG_KEYS=void 0;var c=a(o(61790)),d=a(o(58155)),f=a(o(18821)),m=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),h=a(o(62688)),g=o(95034);function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}var y=m.default.createContext({});n.useRemoteConfig=function useRemoteConfig(){return m.default.useContext(y)},n.CONFIG_KEYS={WEB_BASED_BUILDER_URL:"webBasedBuilderUrl",AUTH_TOKEN:"jwt"};(n.RemoteConfigProvider=function RemoteConfigProvider(t){var n=(0,m.useState)(!1),o=(0,f.default)(n,2),a=o[0],i=o[1],h=(0,m.useState)(!1),v=(0,f.default)(h,2),_=v[0],b=v[1],w=(0,m.useState)(!1),C=(0,f.default)(w,2),P=C[0],S=C[1],E=(0,m.useState)({}),T=(0,f.default)(E,2),k=T[0],A=T[1],D=function(){var t=(0,d.default)(c.default.mark((function _callee(){var t;return c.default.wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:return i(!0),S(!1),n.prev=2,n.next=5,(0,g.getRemoteConfig)().finally((function(){b(!0),i(!1)}));case 5:if((t=n.sent).config){n.next=8;break}throw new Error("Invalid remote config");case 8:A(t.config),n.next=16;break;case 11:n.prev=11,n.t0=n.catch(2),S(!0),b(!0),i(!1);case 16:case"end":return n.stop()}}),_callee,null,[[2,11]])})));return function fetchData(){return t.apply(this,arguments)}}();return(0,m.useEffect)((function(){return window.addEventListener("elementor/connect/success",D),function(){window.removeEventListener("elementor/connect/success",D)}}),[]),_||a||D(),m.default.createElement(y.Provider,{value:{isLoading:a,isLoaded:_,isError:P,remoteConfig:k}},t.children)}).propTypes={children:h.default.node.isRequired,onError:h.default.func.isRequired}},3468:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(95034),c=a(o(48812));n.default=function useLayoutPrompt(t,n){return(0,c.default)((function(n,o){return n.variationType=t,(0,i.generateLayout)(n,o)}),n)}},69371:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(61790)),c=a(o(58155)),d=a(o(18821)),f=o(41594),m=a(o(3468));n.default=function useScreenshot(t,n){var o=(0,f.useState)(""),a=(0,d.default)(o,2),h=a[0],g=a[1],y=(0,f.useState)(!1),v=(0,d.default)(y,2),_=v[0],b=v[1],w=(0,m.default)(t,null);return{generate:function generate(t,o){return b(!0),g(""),w.send(t,o).then(function(){var t=(0,c.default)(i.default.mark((function _callee(t){var o;return i.default.wrap((function _callee$(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,n(t.result);case 2:return(o=a.sent).sendUsageData=function(){return w.sendUsageData(t)},o.baseTemplateId=t.baseTemplateId,o.type=t.type,a.abrupt("return",o);case 7:case"end":return a.stop()}}),_callee)})));return function(n){return t.apply(this,arguments)}}()).catch((function(t){throw g(t.extra_data?t:t.message||t),t})).finally((function(){return b(!1)}))},error:h,isLoading:_}}},85614:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(61790)),c=a(o(10906)),d=a(o(58155)),f=a(o(18821)),m=o(41594),h=a(o(69371)),g=o(91258),y=o(40128),v={isPending:!0};n.default=function useScreenshots(t){var n=t.onData,o=(0,m.useState)([]),a=(0,f.default)(o,2),_=a[0],b=a[1],w=(0,g.useConfig)().currentContext,C=(0,y.useRequestIds)(),P=C.editorSessionId,S=C.sessionId,E=C.setRequest,T=C.setBatch,k=C.setGenerate,A=(0,m.useRef)(""),D=T(),q=[(0,h.default)(0,n),(0,h.default)(1,n),(0,h.default)(2,n)],W=q.length,N=q.every((function(t){return null==t?void 0:t.error}))?q[0].error:"",U=q.some((function(t){return null==t?void 0:t.isLoading})),H=(0,m.useRef)(null),F=function(){var t=(0,d.default)(i.default.mark((function _callee(t,n){var o,a,d,f;return i.default.wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:return H.current=new AbortController,o=function onGenerate(t){return b((function(n){var o=(0,c.default)(n),a=o.indexOf(v);return o[a]=t,o})),!0},a=function onError(){return b((function(t){var n=(0,c.default)(t),o=n.lastIndexOf(v);return n[o]={isError:!0},n})),!1},d=q.map((function(i){var c=i.generate,d=_.map((function(t){return t.baseTemplateId||""}));return c({prompt:t,prevGeneratedIds:d,currentContext:w,ids:{editorSessionId:P.current,sessionId:S.current,generateId:A.current,batchId:D.current,requestId:E().current},attachments:n.map((function(t){return{type:t.type,content:t.content,label:t.label,source:t.source}}))},H.current.signal).then(o).catch(a)})),i.next=6,Promise.all(d);case 6:f=i.sent,f.every((function(t){return!1===t}))&&b((function(t){var n=(0,c.default)(t);return n.splice(-1*W),n}));case 9:case"end":return i.stop()}}),_callee)})));return function createScreenshots(n,o){return t.apply(this,arguments)}}();return{generate:function generate(t,n){var o=Array(W).fill(v);A.current=k().current,b(o),F(t,n)},regenerate:function regenerate(t,n){var o=Array(W).fill(v);b((function(t){return[].concat((0,c.default)(t),(0,c.default)(o))})),F(t,n)},screenshots:_,isLoading:U,error:N,abort:function abort(){var t;return null===(t=H.current)||void 0===t?void 0:t.abort()}}}},68022:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.SCREENSHOTS_PER_PAGE=n.MAX_PAGES=void 0;var i=a(o(18821)),c=o(41594),d=n.SCREENSHOTS_PER_PAGE=3;n.MAX_PAGES=5,n.default=function useSlider(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.slidesCount,o=void 0===n?0:n,a=t.slidesPerPage,f=void 0===a?d:a,m=t.gapPercentage,h=void 0===m?2:m,g=(0,c.useState)(1),y=(0,i.default)(g,2),v=y[0],_=y[1],b=(100-h*(f-1))/f,w=(b+h)*f*(v-1)*-1,C=Math.ceil(o/f);return(0,c.useEffect)((function(){v>1&&v>C&&_(C)}),[C]),{currentPage:v,setCurrentPage:_,pagesCount:C,slidesPerPage:f,gapPercentage:h,offsetXPercentage:w,slideWidthPercentage:b}}},51550:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=_interopRequireWildcard(o(41594)),d=a(o(10906)),f=a(o(40453)),m=a(o(18821)),h=a(o(78304)),g=a(o(62688)),y=o(12470),v=o(86956),_=a(o(43091)),b=a(o(64162)),w=a(o(75690)),C=a(o(85076)),P=a(o(33057)),S=a(o(79919)),E=a(o(85614)),T=_interopRequireWildcard(o(68022)),k=a(o(33724)),A=a(o(53952)),D=o(91258),q=o(38298),W=o(54403),N=o(4353),U=a(o(89958)),H=a(o(94760)),F=o(90291),V=["children"];function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}var G=(0,v.withDirection)(k.default),Y=(0,v.withDirection)(A.default),K=function RegenerateButton(t){return c.default.createElement(v.Button,(0,h.default)({size:"small",color:"secondary",startIcon:c.default.createElement(P.default,null)},t),(0,y.__)("Regenerate","elementor"))},Z=function UseLayoutButton(t){return c.default.createElement(v.Button,(0,h.default)({size:"small",variant:"contained"},t),(0,y.__)("Use Layout","elementor"))};Z.propTypes={sx:g.default.object};var Q=function isRegenerateButtonDisabled(t,n,o){return!(!n&&!o)||t.length>=T.SCREENSHOTS_PER_PAGE*T.MAX_PAGES},J=function FormLayout(t){var n,o,a=t.DialogHeaderProps,i=void 0===a?{}:a,g=t.DialogContentProps,P=void 0===g?{}:g,k=t.attachments,A=(0,D.useConfig)(),q=A.attachmentsTypes,J=A.onData,ee=A.onInsert,te=A.onSelect,ne=A.onClose,de=A.onGenerate,fe=(0,E.default)({onData:J}),pe=fe.screenshots,me=fe.generate,ge=fe.regenerate,ye=fe.isLoading,ve=fe.error,be=fe.abort,xe=(0,T.default)({slidesCount:pe.length}),Oe=xe.currentPage,Ee=xe.setCurrentPage,Te=xe.pagesCount,je=xe.gapPercentage,Re=xe.slidesPerPage,ke=xe.offsetXPercentage,Ae=xe.slideWidthPercentage,Me=(0,c.useState)(-1),De=(0,m.default)(Me,2),Le=De[0],We=De[1],Be=(0,c.useState)(!1),$e=(0,m.default)(Be,2),ze=$e[0],Ke=$e[1],Qe=(0,c.useState)(!0),et=(0,m.default)(Qe,2),tt=et[0],rt=et[1],st=(0,c.useState)([]),dt=(0,m.default)(st,2),ht=dt[0],gt=dt[1],vt=(0,c.useState)(!1),_t=(0,m.default)(vt,2),bt=_t[0],wt=_t[1],Ct=(0,c.useState)(!1),xt=(0,m.default)(Ct,2),Pt=xt[0],St=xt[1],Ot=(0,c.useRef)((function(){})),Et=(0,c.useRef)(null),Tt=null===(n=pe[Le])||void 0===n?void 0:n.template,jt=P.children,Rt=(0,f.default)(P,V),It=!(!ve||0!==pe.length),kt=tt||It,At=function abortAndClose(){be(),ne()},Mt=function onCloseIntent(){if(""!==Et.current.value.trim()||pe.length>0)return Ke(!0);At()},Dt=function handleScreenshotClick(t,n){return function(){kt||(We(t),te(n))}},Lt=function onAttach(t){t.forEach((function(t){if(!q[t.type])throw new Error("Invalid attachment type: ".concat(t.type));var n=q[t.type];!t.previewHTML&&n.previewGenerator&&n.previewGenerator(t.content).then((function(n){t.previewHTML=n,gt((function(n){return n.map((function(n){return n.content===t.content?t:n}))}))}))})),gt(t),wt(!1),rt(!0)};return(0,c.useEffect)((function(){var t;(null===(t=pe[0])||void 0===t?void 0:t.template)&&(te(pe[0].template),We(0))}),[null===(o=pe[0])||void 0===o?void 0:o.template]),(0,c.useEffect)((function(){null!=k&&k.length&&Lt(k)}),[]),c.default.createElement(w.default,{onClose:Mt},c.default.createElement(w.default.Header,(0,h.default)({onClose:Mt},i),i.children,c.default.createElement(v.Tooltip,{title:Pt?(0,y.__)("Expand","elementor"):(0,y.__)("Minimize","elementor")},c.default.createElement(v.IconButton,{size:"small","aria-label":"minimize",onClick:function onClick(){return St((function(t){return!t}))}},Pt?c.default.createElement(Y,null):c.default.createElement(G,null)))),c.default.createElement(w.default.Content,(0,h.default)({dividers:!0},Rt),c.default.createElement(v.Collapse,{in:!Pt},jt&&c.default.createElement(v.Box,{sx:{pt:2,px:2,pb:0}},jt),ht.length>0&&c.default.createElement(W.PromptPowerNotice,null),ve&&c.default.createElement(v.Box,{sx:{pt:2,px:2,pb:0}},c.default.createElement(_.default,{error:ve,onRetry:Ot.current})),ze&&c.default.createElement(b.default,{open:ze,title:(0,y.__)("Leave Elementor AI?","elementor"),text:(0,y.__)("Your progress will be deleted, and can't be recovered.","elementor"),onClose:At,onCancel:function onCancel(){return Ke(!1)}}),bt&&c.default.createElement(U.default,{type:N.ATTACHMENT_TYPE_URL,url:Et.current.value,onAttach:Lt,onClose:function onClose(){wt(!1)}}),c.default.createElement(C.default,{shouldResetPrompt:bt,ref:Et,isActive:kt,isLoading:ye,showActions:pe.length>0||ye,attachmentsTypes:q,attachments:ht,onAttach:Lt,onDetach:function onDetach(t){gt((function(n){var o=(0,d.default)(n);return o.splice(t,1),o})),rt(!0)},onSubmit:function handleGenerate(t,n){t.preventDefault(),""===n.trim()&&0===ht.length||((0,H.default)(n)?wt(!0):(de(),Ot.current=function(){We(-1),me(n,ht)},Ot.current(),rt(!1),Ee(1)))},onBack:function onBack(){return rt(!1)},onEdit:function onEdit(){return rt(!0)}}),(pe.length>0||ye)&&c.default.createElement(c.default.Fragment,null,c.default.createElement(v.Divider,null),c.default.createElement(v.Box,{sx:{p:1.5}},c.default.createElement(v.Box,{sx:{overflow:"hidden",p:.5}},c.default.createElement(v.Box,{sx:{display:"flex",transition:"all 0.4s ease",gap:"".concat(je,"%"),transform:"translateX(".concat(ke,"%)")}},pe.map((function(t,n){var o=t.screenshot,a=t.type,i=t.template,d=t.isError,f=t.isPending;return c.default.createElement(S.default,{key:n,url:o,type:a,disabled:kt,isPlaceholder:d,isLoading:f,isSelected:Le===n,onClick:Dt(n,i),outlineOffset:"2px",sx:{flex:"0 0 ".concat(Ae,"%")}})})))),c.default.createElement(F.VoicePromotionAlert,{introductionKey:"ai-context-layout-promotion"})),pe.length>0&&c.default.createElement(v.Box,{sx:{pt:0,px:2,pb:2},display:"grid",gridTemplateColumns:"repeat(3, 1fr)",justifyItems:"center"},c.default.createElement(K,{onClick:function handleRegenerate(){Ot.current=function(){ge(Et.current.value,ht),Ee(Te+1)},Ot.current()},disabled:Q(pe,ye,kt),sx:{justifySelf:"start"}}),pe.length>Re&&c.default.createElement(v.Pagination,{page:Oe,count:Te,disabled:kt,onChange:function onChange(t,n){return Ee(n)}}),c.default.createElement(Z,{onClick:function applyTemplate(){ee(Tt),pe[Le].sendUsageData(),At()},disabled:kt||-1===Le,sx:{justifySelf:"end",gridColumn:3}}))))))};J.propTypes={DialogHeaderProps:g.default.object,DialogContentProps:g.default.object,attachments:g.default.arrayOf(q.AttachmentPropType)};n.default=J},48584:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(41594)),c=a(o(78304)),d=a(o(40453)),f=o(86956),m=o(12470),h=a(o(62688)),g=a(o(53532)),y=["isLoading"],v=(0,f.withDirection)(g.default),_=function EnhanceButton(t){var n=t.isLoading,o=(0,d.default)(t,y);return i.default.createElement(f.Tooltip,{title:(0,m.__)("Enhance prompt","elementor")},i.default.createElement(f.Box,{component:"span",sx:{cursor:o.disabled?"default":"pointer"}},i.default.createElement(f.IconButton,(0,c.default)({size:"small",color:"secondary"},o),n?i.default.createElement(f.CircularProgress,{color:"secondary",size:20}):i.default.createElement(v,{fontSize:"small"}))))};_.propTypes={disabled:h.default.bool,isLoading:h.default.bool};n.default=_},63223:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(o(41594)),c=a(o(78304)),d=o(86956),f=o(12470),m=a(o(62688)),h=function GenerateSubmit(t){return i.default.createElement(d.Button,(0,c.default)({fullWidth:!0,size:"medium",type:"submit",variant:"contained"},t),t.children||(0,f.__)("Generate","elementor"))};h.propTypes={children:m.default.node};n.default=h},62805:(t,n,o)=>{"use strict";var a=o(96784),i=o(10564);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in t)if("default"!==d&&{}.hasOwnProperty.call(t,d)){var f=c?Object.getOwnPropertyDescriptor(t,d):null;f&&(f.get||f.set)?Object.defineProperty(a,d,f):a[d]=t[d]}return a.default=t,o&&o.set(t,a),a}(o(41594)),d=a(o(61790)),f=a(o(58155)),m=a(o(18821)),h=o(86956),g=o(12470),y=a(o(62688)),v=o(95034),_=o(44048);function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}var b=function GetStarted(t){var n=t.onSuccess,o=(0,c.useState)(!1),a=(0,m.default)(o,2),i=a[0],y=a[1],b=function(){var t=(0,f.default)(d.default.mark((function _callee(){return d.default.wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,v.setGetStarted)();case 2:n();case 3:case"end":return t.stop()}}),_callee)})));return function onGetStartedClick(){return t.apply(this,arguments)}}();return c.default.createElement(h.Stack,{alignItems:"center",gap:1.5},c.default.createElement(_.AIIcon,{sx:{color:"text.primary",fontSize:"60px",mb:1}}),c.default.createElement(h.Typography,{variant:"h4",sx:{color:"text.primary"}},(0,g.__)("Step into the future with Elementor AI","elementor")),c.default.createElement(h.Typography,{variant:"body2"},(0,g.__)("Create smarter with AI text and code generators built right into the editor.","elementor")),c.default.createElement(h.Stack,{direction:"row",gap:1.5,alignItems:"flex-start"},c.default.createElement(h.Checkbox,{id:"e-ai-terms-approval",color:"secondary",checked:i,onClick:function onClick(){return y((function(t){return!t}))}}),c.default.createElement(h.Stack,null,c.default.createElement(h.Typography,{variant:"caption",sx:{maxWidth:520},component:"label",htmlFor:"e-ai-terms-approval"},(0,g.__)("I approve the ","elementor"),c.default.createElement(h.Link,{href:"https://go.elementor.com/ai-terms/",target:"_blank",color:"info.main"},(0,g.__)("Terms of Service","elementor"))," & ",c.default.createElement(h.Link,{href:"https://go.elementor.com/ai-privacy-policy/",target:"_blank",color:"info.main"},(0,g.__)("Privacy Policy","elementor")),(0,g.__)(" of the Elementor AI service.","elementor"),c.default.createElement("br",null),(0,g.__)("This includes consenting to the collection and use of data to improve user experience.","elementor")))),c.default.createElement(h.Button,{disabled:!i,variant:"contained",onClick:b,sx:{mt:1,"&:hover":{color:"primary.contrastText"}}},(0,g.__)("Get Started","elementor")))};b.propTypes={onSuccess:y.default.func.isRequired};n.default=b},38298:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.AttachmentsTypesPropType=n.AttachmentPropType=void 0;var i=a(o(62688));n.AttachmentPropType=i.default.shape({type:i.default.string,previewHTML:i.default.string,content:i.default.string,label:i.default.string,source:i.default.string}),n.AttachmentsTypesPropType=i.default.shape({type:i.default.shape({promptPlaceholder:i.default.string,promptSuggestions:i.default.arrayOf(i.default.shape({text:i.default.string.isRequired})),previewGenerator:i.default.func})})},36833:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.renderLayoutApp=n.openPanel=n.onConnect=n.importToEditor=n.getUiConfig=n.closePanel=n.WEB_BASED_PROMPTS=n.VARIATIONS_PROMPTS=void 0;var i=a(o(41594)),c=a(o(61790)),d=a(o(58155)),f=a(o(18791)),m=o(74561),h=a(o(93569)),g=o(47547),y=o(40327),v=o(12470),_=a(o(47407)),b=o(40128),w=n.closePanel=function closePanel(){$e.run("panel/close"),$e.components.get("panel").blockUserInteractions()},C=n.openPanel=function openPanel(){$e.run("panel/open"),$e.components.get("panel").unblockUserInteractions()},P=n.onConnect=function onConnect(t){elementorCommon.config.library_connect.is_connected=!0,elementorCommon.config.library_connect.current_access_level=t.kits_access_level||t.access_level||0,elementorCommon.config.library_connect.current_access_tier=t.access_tier},S=n.getUiConfig=function getUiConfig(){var t,n;return{colorScheme:(null===(t=elementor)||void 0===t||null===(n=t.getPreferences)||void 0===n?void 0:n.call(t,"ui_theme"))||"auto",isRTL:elementorCommon.config.isRTL}},E=n.VARIATIONS_PROMPTS=[{text:(0,v.__)("Minimalist design with bold typography about","elementor")},{text:(0,v.__)("Elegant style with serif fonts discussing","elementor")},{text:(0,v.__)("Retro vibe with muted colors and classic fonts about","elementor")},{text:(0,v.__)("Futuristic design with neon accents about","elementor")},{text:(0,v.__)("Professional look with clean lines for","elementor")},{text:(0,v.__)("Earthy tones and organic shapes featuring","elementor")},{text:(0,v.__)("Luxurious theme with rich colors discussing","elementor")},{text:(0,v.__)("Tech-inspired style with modern fonts about","elementor")},{text:(0,v.__)("Warm hues with comforting visuals about","elementor")}],T=n.WEB_BASED_PROMPTS=[{text:(0,v.__)("Change the content to be about [topic]","elementor")},{text:(0,v.__)("Generate lorem ipsum placeholder text for all paragraphs","elementor")},{text:(0,v.__)("Revise the content to focus on [topic] and then translate it into Spanish","elementor")},{text:(0,v.__)("Shift the focus of the content to [topic] in order to showcase our company's mission and values","elementor")},{text:(0,v.__)("Alter the content to provide helpful tips related to [topic]","elementor")},{text:(0,v.__)("Adjust the content to include FAQs and answers for common inquiries about [topic]","elementor")}],k=(0,v.__)("Press '/' for suggestions or describe the changes you want to apply (optional)...","elementor");n.renderLayoutApp=function renderLayoutApp(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{parentContainer:null,mode:"",at:null,onClose:null,onGenerate:null,onInsert:null,onRenderApp:null,onSelect:null,attachments:[]};w();var o=(0,m.createPreviewContainer)(n.parentContainer,{at:n.at}),a=S(),y=a.colorScheme,v=a.isRTL,b=document.createElement("div");document.body.append(b);var A,D=window.elementorFrontend.elements.$window[0].getComputedStyle(window.elementorFrontend.elements.$body[0]),q=f.default.render(i.default.createElement(_.default,{isRTL:v,colorScheme:y},i.default.createElement(h.default,{mode:n.mode,currentContext:{body:{backgroundColor:D.backgroundColor,backgroundImage:D.backgroundImage}},attachmentsTypes:{json:{promptSuggestions:E,promptPlaceholder:k,previewGenerator:(A=(0,d.default)(c.default.mark((function _callee(t){var n;return c.default.wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,g.takeScreenshot)(t);case 2:return n=o.sent,o.abrupt("return",'<img src="'.concat(n,'" />'));case 4:case"end":return o.stop()}}),_callee)}))),function previewGenerator(t){return A.apply(this,arguments)})},url:{promptPlaceholder:k,promptSuggestions:T}},attachments:n.attachments||[],onClose:function onClose(){var t;o.destroy(),null===(t=n.onClose)||void 0===t||t.call(n),W(),b.remove(),C()},onConnect:P,onGenerate:function onGenerate(){var t;null===(t=n.onGenerate)||void 0===t||t.call(n,{previewContainer:o})},onData:function(){var t=(0,d.default)(c.default.mark((function _callee2(t){var n;return c.default.wrap((function _callee2$(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,g.takeScreenshot)(t);case 2:return n=o.sent,o.abrupt("return",{screenshot:n,template:t});case 4:case"end":return o.stop()}}),_callee2)})));return function(n){return t.apply(this,arguments)}}(),onSelect:function onSelect(t){var a;null===(a=n.onSelect)||void 0===a||a.call(n),o.setContent(t)},onInsert:n.onInsert,hasPro:elementor.helpers.hasPro()})),b),W=q.unmount;null===(t=n.onRenderApp)||void 0===t||t.call(n,{previewContainer:o})},n.importToEditor=function importToEditor(t){var n=t.parentContainer,o=t.at,a=t.template,i=t.historyTitle,c=t.replace,d=void 0!==c&&c,f=(0,y.startHistoryLog)({type:"import",title:i});d&&$e.run("document/elements/delete",{container:n.children.at(o)}),$e.run("document/elements/create",{container:n,model:(0,b.generateIds)(a),options:{at:o,edit:!0}}),f()}},40327:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.startHistoryLog=function startHistoryLog(t){var n=t.type,o=t.title,a=$e.internal("document/history/start-log",{type:n,title:o});return function(){return $e.internal("document/history/end-log",{id:a})}},n.toggleHistory=function toggleHistory(t){elementor.documents.getCurrent().history.setActive(t)}},74561:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.createPreviewContainer=function createPreviewContainer(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=new Map,a=function createIdleContainer(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=createContainer(t,{elType:"container"},n);return o.view.$el.addClass(h),o}(t,n);function getAllContainers(){return[].concat((0,c.default)(o.values()),[a])}return{init:function init(){showContainer(a)},reset:function reset(){deleteContainers((0,c.default)(o.values())),o.clear(),showContainer(a)},setContent:function setContent(a){if(a){if(function hideContainers(t){t.forEach((function(t){t.view.$el.addClass(m)}))}(getAllContainers()),!o.has(a)){var i=createContainer(t,a,n);o.set(a,i)}showContainer(o.get(a))}},destroy:function destroy(){deleteContainers(getAllContainers()),o.clear()}}};var i=a(o(85707)),c=a(o(10906)),d=o(40327);function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){(0,i.default)(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}var f="e-ai-preview-container",m=f+"--hidden",h=f+"--idle";function createContainer(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,d.toggleHistory)(!1);var a=$e.run("document/elements/create",{container:t,model:_objectSpread(_objectSpread({},n),{},{id:"".concat(f,"-").concat(elementorCommon.helpers.getUniqueId().toString())}),options:_objectSpread(_objectSpread({},o),{},{edit:!1})});return(0,d.toggleHistory)(!0),a.view.$el.addClass(m),a}function showContainer(t){t.view.$el.removeClass(m),setTimeout((function(){t.view.$el[0].scrollIntoView({behavior:"smooth",block:"start"})}))}function deleteContainers(t){(0,d.toggleHistory)(!1),$e.run("document/elements/delete",{containers:t}),(0,d.toggleHistory)(!0)}},47547:(t,n,o)=>{"use strict";var a=o(96784);Object.defineProperty(n,"__esModule",{value:!0}),n.takeScreenshot=void 0;var i=a(o(61790)),c=a(o(10906)),d=a(o(58155)),f=o(45549),m=o(40327),h=o(40128);n.takeScreenshot=function(){var t=(0,d.default)(i.default.mark((function _callee(t){var n,o,a;return i.default.wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(t){i.next=2;break}return i.abrupt("return","");case 2:return(0,m.toggleHistory)(!1),n=createHiddenWrapper(),wrapContainer(o=createContainer(t),n),elementor.getPreviewView().$childViewContainer[0].appendChild(n),i.next=9,waitForContainer(o.id);case 9:if(!t.elements.length){i.next=12;break}return i.next=12,Promise.all(t.elements.map((function(t){return waitForContainer(t.id)})));case 12:return i.prev=12,i.next=15,function toWebp(t){return _toWebp.apply(this,arguments)}(o.view.$el[0],{quality:.01,imagePlaceholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="});case 15:a=i.sent,i.next=21;break;case 18:i.prev=18,i.t0=i.catch(12),a="";case 21:return deleteContainer(o),n.remove(),(0,m.toggleHistory)(!0),i.abrupt("return",a);case 25:case"end":return i.stop()}}),_callee,null,[[12,18]])})));return function takeScreenshot(n){return t.apply(this,arguments)}}();function _toWebp(){return _toWebp=(0,d.default)(i.default.mark((function _callee3(t){var n,o,a,c=arguments;return i.default.wrap((function _callee3$(i){for(;;)switch(i.prev=i.next){case 0:return o=c.length>1&&void 0!==c[1]?c[1]:{},i.next=3,(0,f.toCanvas)(t,o);case 3:return a=i.sent,i.abrupt("return",a.toDataURL("image/webp",null!==(n=o.quality)&&void 0!==n?n:1));case 5:case"end":return i.stop()}}),_callee3)}))),_toWebp.apply(this,arguments)}function createHiddenWrapper(){var t=document.createElement("div");return t.style.position="fixed",t.style.opacity="0",t.style.inset="0",t}function createContainer(t){var n=(0,h.generateIds)(t);return n.id="e-ai-screenshot-container-".concat(n.id),$e.run("document/elements/create",{container:elementor.getPreviewContainer(),model:n,options:{edit:!1}})}function deleteContainer(t){return $e.run("document/elements/delete",{container:t})}function waitForContainer(t){var n=function sleep(t){return new Promise((function(n){return setTimeout(n,t)}))}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3),o=new Promise((function(n){elementorFrontend.hooks.addAction("frontend/element_ready/global",function(){var o=(0,d.default)(i.default.mark((function _callee2(o){var a;return i.default.wrap((function _callee2$(i){for(;;)switch(i.prev=i.next){case 0:if(o.data("id")!==t){i.next=5;break}return a=(0,c.default)(o[0].querySelectorAll("img")),i.next=4,Promise.all(a.map(waitForImage));case 4:n();case 5:case"end":return i.stop()}}),_callee2)})));return function(t){return o.apply(this,arguments)}}())}));return Promise.any([n,o])}function waitForImage(t){return t.complete?Promise.resolve():new Promise((function(n){t.addEventListener("load",n),t.addEventListener("error",(function(){t.remove(),n()}))}))}function wrapContainer(t,n){var o=t.view.$el[0];o.parentNode.insertBefore(n,o),n.appendChild(o)}},68017:(t,n,o)=>{"use strict";function r(t){var n,o,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(o=r(t[n]))&&(a&&(a+=" "),a+=o);else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}function clsx(){for(var t,n,o=0,a="";o<arguments.length;)(t=arguments[o++])&&(n=r(t))&&(a&&(a+=" "),a+=n);return a}o.r(n),o.d(n,{clsx:()=>clsx,default:()=>a});const a=clsx},45549:(t,n,o)=>{"use strict";o.r(n),o.d(n,{getFontEmbedCSS:()=>getFontEmbedCSS,toBlob:()=>toBlob,toCanvas:()=>toCanvas,toJpeg:()=>toJpeg,toPixelData:()=>toPixelData,toPng:()=>toPng,toSvg:()=>toSvg});const a=(()=>{let t=0;return()=>(t+=1,`u${`0000${(Math.random()*36**4|0).toString(36)}`.slice(-4)}${t}`)})();function toArray(t){const n=[];for(let o=0,a=t.length;o<a;o++)n.push(t[o]);return n}function px(t,n){const o=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(n);return o?parseFloat(o.replace("px","")):0}function getImageSize(t,n={}){return{width:n.width||function getNodeWidth(t){const n=px(t,"border-left-width"),o=px(t,"border-right-width");return t.clientWidth+n+o}(t),height:n.height||function getNodeHeight(t){const n=px(t,"border-top-width"),o=px(t,"border-bottom-width");return t.clientHeight+n+o}(t)}}const i=16384;function createImage(t){return new Promise(((n,o)=>{const a=new Image;a.decode=()=>n(a),a.onload=()=>n(a),a.onerror=o,a.crossOrigin="anonymous",a.decoding="async",a.src=t}))}async function nodeToDataURL(t,n,o){const a="http://www.w3.org/2000/svg",i=document.createElementNS(a,"svg"),c=document.createElementNS(a,"foreignObject");return i.setAttribute("width",`${n}`),i.setAttribute("height",`${o}`),i.setAttribute("viewBox",`0 0 ${n} ${o}`),c.setAttribute("width","100%"),c.setAttribute("height","100%"),c.setAttribute("x","0"),c.setAttribute("y","0"),c.setAttribute("externalResourcesRequired","true"),i.appendChild(c),c.appendChild(t),async function svgToDataURL(t){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(t))).then(encodeURIComponent).then((t=>`data:image/svg+xml;charset=utf-8,${t}`))}(i)}const isInstanceOfElement=(t,n)=>{if(t instanceof n)return!0;const o=Object.getPrototypeOf(t);return null!==o&&(o.constructor.name===n.name||isInstanceOfElement(o,n))};function getPseudoElementStyle(t,n,o){const a=`.${t}:${n}`,i=o.cssText?function formatCSSText(t){const n=t.getPropertyValue("content");return`${t.cssText} content: '${n.replace(/'|"/g,"")}';`}(o):function formatCSSProperties(t){return toArray(t).map((n=>`${n}: ${t.getPropertyValue(n)}${t.getPropertyPriority(n)?" !important":""};`)).join(" ")}(o);return document.createTextNode(`${a}{${i}}`)}function clonePseudoElement(t,n,o){const i=window.getComputedStyle(t,o),c=i.getPropertyValue("content");if(""===c||"none"===c)return;const d=a();try{n.className=`${n.className} ${d}`}catch(t){return}const f=document.createElement("style");f.appendChild(getPseudoElementStyle(d,o,i)),n.appendChild(f)}const c="application/font-woff",d="image/jpeg",f={woff:c,woff2:c,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:d,jpeg:d,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function getMimeType(t){const n=function getExtension(t){const n=/\.([^./]*?)$/g.exec(t);return n?n[1]:""}(t).toLowerCase();return f[n]||""}function isDataUrl(t){return-1!==t.search(/^(data:)/)}function makeDataUrl(t,n){return`data:${n};base64,${t}`}async function fetchAsDataURL(t,n,o){const a=await fetch(t,n);if(404===a.status)throw new Error(`Resource "${a.url}" not found`);const i=await a.blob();return new Promise(((t,n)=>{const c=new FileReader;c.onerror=n,c.onloadend=()=>{try{t(o({res:a,result:c.result}))}catch(t){n(t)}},c.readAsDataURL(i)}))}const m={};async function resourceToDataURL(t,n,o){const a=function getCacheKey(t,n,o){let a=t.replace(/\?.*/,"");return o&&(a=t),/ttf|otf|eot|woff2?/i.test(a)&&(a=a.replace(/.*\//,"")),n?`[${n}]${a}`:a}(t,n,o.includeQueryParams);if(null!=m[a])return m[a];let i;o.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime());try{const a=await fetchAsDataURL(t,o.fetchRequestInit,(({res:t,result:o})=>(n||(n=t.headers.get("Content-Type")||""),function getContentFromDataUrl(t){return t.split(/,/)[1]}(o))));i=makeDataUrl(a,n)}catch(n){i=o.imagePlaceholder||"";let a=`Failed to fetch resource: ${t}`;n&&(a="string"==typeof n?n:n.message),a&&console.warn(a)}return m[a]=i,i}async function cloneSingleNode(t,n){return isInstanceOfElement(t,HTMLCanvasElement)?async function cloneCanvasElement(t){const n=t.toDataURL();return"data:,"===n?t.cloneNode(!1):createImage(n)}(t):isInstanceOfElement(t,HTMLVideoElement)?async function cloneVideoElement(t,n){if(t.currentSrc){const n=document.createElement("canvas"),o=n.getContext("2d");return n.width=t.clientWidth,n.height=t.clientHeight,null==o||o.drawImage(t,0,0,n.width,n.height),createImage(n.toDataURL())}const o=t.poster,a=getMimeType(o);return createImage(await resourceToDataURL(o,a,n))}(t,n):isInstanceOfElement(t,HTMLIFrameElement)?async function cloneIFrameElement(t){var n;try{if(null===(n=null==t?void 0:t.contentDocument)||void 0===n?void 0:n.body)return await cloneNode(t.contentDocument.body,{},!0)}catch(t){}return t.cloneNode(!1)}(t):t.cloneNode(!1)}const isSlotElement=t=>null!=t.tagName&&"SLOT"===t.tagName.toUpperCase();function decorate(t,n){return isInstanceOfElement(n,Element)&&(!function cloneCSSStyle(t,n){const o=n.style;if(!o)return;const a=window.getComputedStyle(t);a.cssText?(o.cssText=a.cssText,o.transformOrigin=a.transformOrigin):toArray(a).forEach((i=>{let c=a.getPropertyValue(i);if("font-size"===i&&c.endsWith("px")){const t=Math.floor(parseFloat(c.substring(0,c.length-2)))-.1;c=`${t}px`}isInstanceOfElement(t,HTMLIFrameElement)&&"display"===i&&"inline"===c&&(c="block"),"d"===i&&n.getAttribute("d")&&(c=`path(${n.getAttribute("d")})`),o.setProperty(i,c,a.getPropertyPriority(i))}))}(t,n),function clonePseudoElements(t,n){clonePseudoElement(t,n,":before"),clonePseudoElement(t,n,":after")}(t,n),function cloneInputValue(t,n){isInstanceOfElement(t,HTMLTextAreaElement)&&(n.innerHTML=t.value),isInstanceOfElement(t,HTMLInputElement)&&n.setAttribute("value",t.value)}(t,n),function cloneSelectValue(t,n){if(isInstanceOfElement(t,HTMLSelectElement)){const o=n,a=Array.from(o.children).find((n=>t.value===n.getAttribute("value")));a&&a.setAttribute("selected","")}}(t,n)),n}async function cloneNode(t,n,o){return o||!n.filter||n.filter(t)?Promise.resolve(t).then((t=>cloneSingleNode(t,n))).then((o=>async function cloneChildren(t,n,o){var a,i;let c=[];return c=isSlotElement(t)&&t.assignedNodes?toArray(t.assignedNodes()):isInstanceOfElement(t,HTMLIFrameElement)&&(null===(a=t.contentDocument)||void 0===a?void 0:a.body)?toArray(t.contentDocument.body.childNodes):toArray((null!==(i=t.shadowRoot)&&void 0!==i?i:t).childNodes),0===c.length||isInstanceOfElement(t,HTMLVideoElement)||await c.reduce(((t,a)=>t.then((()=>cloneNode(a,o))).then((t=>{t&&n.appendChild(t)}))),Promise.resolve()),n}(t,o,n))).then((n=>decorate(t,n))).then((t=>async function ensureSVGSymbols(t,n){const o=t.querySelectorAll?t.querySelectorAll("use"):[];if(0===o.length)return t;const a={};for(let i=0;i<o.length;i++){const c=o[i].getAttribute("xlink:href");if(c){const o=t.querySelector(c),i=document.querySelector(c);o||!i||a[c]||(a[c]=await cloneNode(i,n,!0))}}const i=Object.values(a);if(i.length){const n="http://www.w3.org/1999/xhtml",o=document.createElementNS(n,"svg");o.setAttribute("xmlns",n),o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.overflow="hidden",o.style.display="none";const a=document.createElementNS(n,"defs");o.appendChild(a);for(let t=0;t<i.length;t++)a.appendChild(i[t]);t.appendChild(o)}return t}(t,n))):null}const h=/url\((['"]?)([^'"]+?)\1\)/g,g=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,y=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;async function embed_resources_embed(t,n,o,a,i){try{const c=o?function resolveUrl(t,n){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const o=document.implementation.createHTMLDocument(),a=o.createElement("base"),i=o.createElement("a");return o.head.appendChild(a),o.body.appendChild(i),n&&(a.href=n),i.href=t,i.href}(n,o):n,d=getMimeType(n);let f;if(i){f=makeDataUrl(await i(c),d)}else f=await resourceToDataURL(c,d,a);return t.replace(function toRegex(t){const n=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}(n),`$1${f}$3`)}catch(t){}return t}function shouldEmbed(t){return-1!==t.search(h)}async function embedResources(t,n,o){if(!shouldEmbed(t))return t;const a=function filterPreferredFontFormat(t,{preferredFontFormat:n}){return n?t.replace(y,(t=>{for(;;){const[o,,a]=g.exec(t)||[];if(!a)return"";if(a===n)return`src: ${o};`}})):t}(t,o),i=function parseURLs(t){const n=[];return t.replace(h,((t,o,a)=>(n.push(a),t))),n.filter((t=>!isDataUrl(t)))}(a);return i.reduce(((t,a)=>t.then((t=>embed_resources_embed(t,a,n,o)))),Promise.resolve(a))}async function embedProp(t,n,o){var a;const i=null===(a=n.style)||void 0===a?void 0:a.getPropertyValue(t);if(i){const a=await embedResources(i,null,o);return n.style.setProperty(t,a,n.style.getPropertyPriority(t)),!0}return!1}async function embedImages(t,n){isInstanceOfElement(t,Element)&&(await async function embedBackground(t,n){await embedProp("background",t,n)||await embedProp("background-image",t,n),await embedProp("mask",t,n)||await embedProp("mask-image",t,n)}(t,n),await async function embedImageNode(t,n){const o=isInstanceOfElement(t,HTMLImageElement);if((!o||isDataUrl(t.src))&&(!isInstanceOfElement(t,SVGImageElement)||isDataUrl(t.href.baseVal)))return;const a=o?t.src:t.href.baseVal,i=await resourceToDataURL(a,getMimeType(a),n);await new Promise(((n,a)=>{t.onload=n,t.onerror=a;const c=t;c.decode&&(c.decode=n),"lazy"===c.loading&&(c.loading="eager"),o?(t.srcset="",t.src=i):t.href.baseVal=i}))}(t,n),await async function embedChildren(t,n){const o=toArray(t.childNodes).map((t=>embedImages(t,n)));await Promise.all(o).then((()=>t))}(t,n))}const v={};async function fetchCSS(t){let n=v[t];if(null!=n)return n;const o=await fetch(t);return n={url:t,cssText:await o.text()},v[t]=n,n}async function embedFonts(t,n){let o=t.cssText;const a=/url\(["']?([^"')]+)["']?\)/g,i=(o.match(/url\([^)]+\)/g)||[]).map((async i=>{let c=i.replace(a,"$1");return c.startsWith("https://")||(c=new URL(c,t.url).href),fetchAsDataURL(c,n.fetchRequestInit,(({result:t})=>(o=o.replace(i,`url(${t})`),[i,t])))}));return Promise.all(i).then((()=>o))}function parseCSS(t){if(null==t)return[];const n=[];let o=t.replace(/(\/\*[\s\S]*?\*\/)/gi,"");const a=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const t=a.exec(o);if(null===t)break;n.push(t[0])}o=o.replace(a,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,c=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let t=i.exec(o);if(null===t){if(t=c.exec(o),null===t)break;i.lastIndex=c.lastIndex}else c.lastIndex=i.lastIndex;n.push(t[0])}return n}async function parseWebFontRules(t,n){if(null==t.ownerDocument)throw new Error("Provided element is not within a Document");const o=toArray(t.ownerDocument.styleSheets),a=await async function getCSSRules(t,n){const o=[],a=[];return t.forEach((o=>{if("cssRules"in o)try{toArray(o.cssRules||[]).forEach(((t,i)=>{if(t.type===CSSRule.IMPORT_RULE){let c=i+1;const d=fetchCSS(t.href).then((t=>embedFonts(t,n))).then((t=>parseCSS(t).forEach((t=>{try{o.insertRule(t,t.startsWith("@import")?c+=1:o.cssRules.length)}catch(n){console.error("Error inserting rule from remote css",{rule:t,error:n})}})))).catch((t=>{console.error("Error loading remote css",t.toString())}));a.push(d)}}))}catch(i){const c=t.find((t=>null==t.href))||document.styleSheets[0];null!=o.href&&a.push(fetchCSS(o.href).then((t=>embedFonts(t,n))).then((t=>parseCSS(t).forEach((t=>{c.insertRule(t,o.cssRules.length)})))).catch((t=>{console.error("Error loading remote stylesheet",t)}))),console.error("Error inlining remote css file",i)}})),Promise.all(a).then((()=>(t.forEach((t=>{if("cssRules"in t)try{toArray(t.cssRules||[]).forEach((t=>{o.push(t)}))}catch(n){console.error(`Error while reading CSS rules from ${t.href}`,n)}})),o)))}(o,n);return function getWebFontRules(t){return t.filter((t=>t.type===CSSRule.FONT_FACE_RULE)).filter((t=>shouldEmbed(t.style.getPropertyValue("src"))))}(a)}async function getWebFontCSS(t,n){const o=await parseWebFontRules(t,n);return(await Promise.all(o.map((t=>{const o=t.parentStyleSheet?t.parentStyleSheet.href:null;return embedResources(t.cssText,o,n)})))).join("\n")}async function toSvg(t,n={}){const{width:o,height:a}=getImageSize(t,n),i=await cloneNode(t,n,!0);await async function embedWebFonts(t,n){const o=null!=n.fontEmbedCSS?n.fontEmbedCSS:n.skipFonts?null:await getWebFontCSS(t,n);if(o){const n=document.createElement("style"),a=document.createTextNode(o);n.appendChild(a),t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}}(i,n),await embedImages(i,n),function applyStyle(t,n){const{style:o}=t;n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.width&&(o.width=`${n.width}px`),n.height&&(o.height=`${n.height}px`);const a=n.style;return null!=a&&Object.keys(a).forEach((t=>{o[t]=a[t]})),t}(i,n);return await nodeToDataURL(i,o,a)}async function toCanvas(t,n={}){const{width:o,height:a}=getImageSize(t,n),c=await toSvg(t,n),d=await createImage(c),f=document.createElement("canvas"),m=f.getContext("2d"),h=n.pixelRatio||function getPixelRatio(){let t,n;try{n=process}catch(t){}const o=n&&n.env?n.env.devicePixelRatio:null;return o&&(t=parseInt(o,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}(),g=n.canvasWidth||o,y=n.canvasHeight||a;return f.width=g*h,f.height=y*h,n.skipAutoScale||function checkCanvasDimensions(t){(t.width>i||t.height>i)&&(t.width>i&&t.height>i?t.width>t.height?(t.height*=i/t.width,t.width=i):(t.width*=i/t.height,t.height=i):t.width>i?(t.height*=i/t.width,t.width=i):(t.width*=i/t.height,t.height=i))}(f),f.style.width=`${g}`,f.style.height=`${y}`,n.backgroundColor&&(m.fillStyle=n.backgroundColor,m.fillRect(0,0,f.width,f.height)),m.drawImage(d,0,0,f.width,f.height),f}async function toPixelData(t,n={}){const{width:o,height:a}=getImageSize(t,n);return(await toCanvas(t,n)).getContext("2d").getImageData(0,0,o,a).data}async function toPng(t,n={}){return(await toCanvas(t,n)).toDataURL()}async function toJpeg(t,n={}){return(await toCanvas(t,n)).toDataURL("image/jpeg",n.quality||1)}async function toBlob(t,n={}){const o=await toCanvas(t,n),a=await function canvasToBlob(t,n={}){return t.toBlob?new Promise((o=>{t.toBlob(o,n.type?n.type:"image/png",n.quality?n.quality:1)})):new Promise((o=>{const a=window.atob(t.toDataURL(n.type?n.type:void 0,n.quality?n.quality:void 0).split(",")[1]),i=a.length,c=new Uint8Array(i);for(let t=0;t<i;t+=1)c[t]=a.charCodeAt(t);o(new Blob([c],{type:n.type?n.type:"image/png"}))}))}(o);return a}async function getFontEmbedCSS(t,n={}){return getWebFontCSS(t,n)}},40362:(t,n,o)=>{"use strict";var a=o(56441);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,t.exports=function(){function shim(t,n,o,i,c,d){if(d!==a){var f=new 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 f.name="Invariant Violation",f}}function getShim(){return shim}shim.isRequired=shim;var t={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return t.PropTypes=t,t}},62688:(t,n,o)=>{t.exports=o(40362)()},56441:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7470:(t,n,o)=>{"use strict";var a=o(75206);n.createRoot=a.createRoot,n.hydrateRoot=a.hydrateRoot},9111:(t,n,o)=>{"use strict";function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"DraggableCore",{enumerable:!0,get:function get(){return g.default}}),n.default=void 0;var a=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!==_typeof(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var d=i?Object.getOwnPropertyDescriptor(t,c):null;d&&(d.get||d.set)?Object.defineProperty(a,c,d):a[c]=t[c]}a.default=t,o&&o.set(t,a);return a}(o(41594)),i=_interopRequireDefault(o(62688)),c=_interopRequireDefault(o(75206)),d=_interopRequireDefault(o(68017)),f=o(32837),m=o(10402),h=o(26732),g=_interopRequireDefault(o(11060)),y=_interopRequireDefault(o(57988)),v=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}function _extends(){return _extends=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(t[a]=o[a])}return t},_extends.apply(this,arguments)}function _objectWithoutProperties(t,n){if(null==t)return{};var o,a,i=function _objectWithoutPropertiesLoose(t,n){if(null==t)return{};var o,a,i={},c=Object.keys(t);for(a=0;a<c.length;a++)o=c[a],n.indexOf(o)>=0||(i[o]=t[o]);return i}(t,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);for(a=0;a<c.length;a++)o=c[a],n.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){_defineProperty(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}function _slicedToArray(t,n){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,n){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==o)return;var a,i,c=[],d=!0,f=!1;try{for(o=o.call(t);!(d=(a=o.next()).done)&&(c.push(a.value),!n||c.length!==n);d=!0);}catch(t){f=!0,i=t}finally{try{d||null==o.return||o.return()}finally{if(f)throw i}}return c}(t,n)||function _unsupportedIterableToArray(t,n){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _arrayLikeToArray(t,n)}(t,n)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,a=new Array(n);o<n;o++)a[o]=t[o];return a}function _defineProperties(t,n){for(var o=0;o<n.length;o++){var a=n[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function _setPrototypeOf(t,n){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,n){return t.__proto__=n,t},_setPrototypeOf(t,n)}function _createSuper(t){var n=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var o,a=_getPrototypeOf(t);if(n){var i=_getPrototypeOf(this).constructor;o=Reflect.construct(a,arguments,i)}else o=a.apply(this,arguments);return function _possibleConstructorReturn(t,n){if(n&&("object"===_typeof(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}(this,o)}}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _defineProperty(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}var _=function(t){!function _inherits(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&_setPrototypeOf(t,n)}(Draggable,t);var n=_createSuper(Draggable);function Draggable(t){var o;return function _classCallCheck(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,Draggable),_defineProperty(_assertThisInitialized(o=n.call(this,t)),"onDragStart",(function(t,n){if((0,y.default)("Draggable: onDragStart: %j",n),!1===o.props.onStart(t,(0,m.createDraggableData)(_assertThisInitialized(o),n)))return!1;o.setState({dragging:!0,dragged:!0})})),_defineProperty(_assertThisInitialized(o),"onDrag",(function(t,n){if(!o.state.dragging)return!1;(0,y.default)("Draggable: onDrag: %j",n);var a=(0,m.createDraggableData)(_assertThisInitialized(o),n),i={x:a.x,y:a.y};if(o.props.bounds){var c=i.x,d=i.y;i.x+=o.state.slackX,i.y+=o.state.slackY;var f=_slicedToArray((0,m.getBoundPosition)(_assertThisInitialized(o),i.x,i.y),2),h=f[0],g=f[1];i.x=h,i.y=g,i.slackX=o.state.slackX+(c-i.x),i.slackY=o.state.slackY+(d-i.y),a.x=i.x,a.y=i.y,a.deltaX=i.x-o.state.x,a.deltaY=i.y-o.state.y}if(!1===o.props.onDrag(t,a))return!1;o.setState(i)})),_defineProperty(_assertThisInitialized(o),"onDragStop",(function(t,n){if(!o.state.dragging)return!1;if(!1===o.props.onStop(t,(0,m.createDraggableData)(_assertThisInitialized(o),n)))return!1;(0,y.default)("Draggable: onDragStop: %j",n);var a={dragging:!1,slackX:0,slackY:0};if(Boolean(o.props.position)){var i=o.props.position,c=i.x,d=i.y;a.x=c,a.y=d}o.setState(a)})),o.state={dragging:!1,dragged:!1,x:t.position?t.position.x:t.defaultPosition.x,y:t.position?t.position.y:t.defaultPosition.y,prevPropsPosition:_objectSpread({},t.position),slackX:0,slackY:0,isElementSVG:!1},!t.position||t.onDrag||t.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),o}return function _createClass(t,n,o){return n&&_defineProperties(t.prototype,n),o&&_defineProperties(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(Draggable,[{key:"componentDidMount",value:function componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function findDOMNode(){var t,n,o;return null!==(t=null===(n=this.props)||void 0===n||null===(o=n.nodeRef)||void 0===o?void 0:o.current)&&void 0!==t?t:c.default.findDOMNode(this)}},{key:"render",value:function render(){var t,n=this.props,o=(n.axis,n.bounds,n.children),i=n.defaultPosition,c=n.defaultClassName,h=n.defaultClassNameDragging,y=n.defaultClassNameDragged,_=n.position,b=n.positionOffset,w=(n.scale,_objectWithoutProperties(n,v)),C={},P=null,S=!Boolean(_)||this.state.dragging,E=_||i,T={x:(0,m.canDragX)(this)&&S?this.state.x:E.x,y:(0,m.canDragY)(this)&&S?this.state.y:E.y};this.state.isElementSVG?P=(0,f.createSVGTransform)(T,b):C=(0,f.createCSSTransform)(T,b);var k=(0,d.default)(o.props.className||"",c,(_defineProperty(t={},h,this.state.dragging),_defineProperty(t,y,this.state.dragged),t));return a.createElement(g.default,_extends({},w,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),a.cloneElement(a.Children.only(o),{className:k,style:_objectSpread(_objectSpread({},o.props.style),C),transform:P}))}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(t,n){var o=t.position,a=n.prevPropsPosition;return!o||a&&o.x===a.x&&o.y===a.y?null:((0,y.default)("Draggable: getDerivedStateFromProps %j",{position:o,prevPropsPosition:a}),{x:o.x,y:o.y,prevPropsPosition:_objectSpread({},o)})}}]),Draggable}(a.Component);n.default=_,_defineProperty(_,"displayName","Draggable"),_defineProperty(_,"propTypes",_objectSpread(_objectSpread({},g.default.propTypes),{},{axis:i.default.oneOf(["both","x","y","none"]),bounds:i.default.oneOfType([i.default.shape({left:i.default.number,right:i.default.number,top:i.default.number,bottom:i.default.number}),i.default.string,i.default.oneOf([!1])]),defaultClassName:i.default.string,defaultClassNameDragging:i.default.string,defaultClassNameDragged:i.default.string,defaultPosition:i.default.shape({x:i.default.number,y:i.default.number}),positionOffset:i.default.shape({x:i.default.oneOfType([i.default.number,i.default.string]),y:i.default.oneOfType([i.default.number,i.default.string])}),position:i.default.shape({x:i.default.number,y:i.default.number}),className:h.dontSetMe,style:h.dontSetMe,transform:h.dontSetMe})),_defineProperty(_,"defaultProps",_objectSpread(_objectSpread({},g.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},11060:(t,n,o)=>{"use strict";function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!==_typeof(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var d=i?Object.getOwnPropertyDescriptor(t,c):null;d&&(d.get||d.set)?Object.defineProperty(a,c,d):a[c]=t[c]}a.default=t,o&&o.set(t,a);return a}(o(41594)),i=_interopRequireDefault(o(62688)),c=_interopRequireDefault(o(75206)),d=o(32837),f=o(10402),m=o(26732),h=_interopRequireDefault(o(57988));function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}function _slicedToArray(t,n){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,n){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==o)return;var a,i,c=[],d=!0,f=!1;try{for(o=o.call(t);!(d=(a=o.next()).done)&&(c.push(a.value),!n||c.length!==n);d=!0);}catch(t){f=!0,i=t}finally{try{d||null==o.return||o.return()}finally{if(f)throw i}}return c}(t,n)||function _unsupportedIterableToArray(t,n){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _arrayLikeToArray(t,n)}(t,n)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,a=new Array(n);o<n;o++)a[o]=t[o];return a}function _defineProperties(t,n){for(var o=0;o<n.length;o++){var a=n[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function _setPrototypeOf(t,n){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,n){return t.__proto__=n,t},_setPrototypeOf(t,n)}function _createSuper(t){var n=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var o,a=_getPrototypeOf(t);if(n){var i=_getPrototypeOf(this).constructor;o=Reflect.construct(a,arguments,i)}else o=a.apply(this,arguments);return function _possibleConstructorReturn(t,n){if(n&&("object"===_typeof(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}(this,o)}}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _defineProperty(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}var g={start:"touchstart",move:"touchmove",stop:"touchend"},y={start:"mousedown",move:"mousemove",stop:"mouseup"},v=y,_=function(t){!function _inherits(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&_setPrototypeOf(t,n)}(DraggableCore,t);var n=_createSuper(DraggableCore);function DraggableCore(){var t;!function _classCallCheck(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,DraggableCore);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return _defineProperty(_assertThisInitialized(t=n.call.apply(n,[this].concat(a))),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),_defineProperty(_assertThisInitialized(t),"mounted",!1),_defineProperty(_assertThisInitialized(t),"handleDragStart",(function(n){if(t.props.onMouseDown(n),!t.props.allowAnyClick&&"number"==typeof n.button&&0!==n.button)return!1;var o=t.findDOMNode();if(!o||!o.ownerDocument||!o.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var a=o.ownerDocument;if(!(t.props.disabled||!(n.target instanceof a.defaultView.Node)||t.props.handle&&!(0,d.matchesSelectorAndParentsTo)(n.target,t.props.handle,o)||t.props.cancel&&(0,d.matchesSelectorAndParentsTo)(n.target,t.props.cancel,o))){"touchstart"===n.type&&n.preventDefault();var i=(0,d.getTouchIdentifier)(n);t.setState({touchIdentifier:i});var c=(0,f.getControlPosition)(n,i,_assertThisInitialized(t));if(null!=c){var m=c.x,g=c.y,y=(0,f.createCoreData)(_assertThisInitialized(t),m,g);(0,h.default)("DraggableCore: handleDragStart: %j",y),(0,h.default)("calling",t.props.onStart),!1!==t.props.onStart(n,y)&&!1!==t.mounted&&(t.props.enableUserSelectHack&&(0,d.addUserSelectStyles)(a),t.setState({dragging:!0,lastX:m,lastY:g}),(0,d.addEvent)(a,v.move,t.handleDrag),(0,d.addEvent)(a,v.stop,t.handleDragStop))}}})),_defineProperty(_assertThisInitialized(t),"handleDrag",(function(n){var o=(0,f.getControlPosition)(n,t.state.touchIdentifier,_assertThisInitialized(t));if(null!=o){var a=o.x,i=o.y;if(Array.isArray(t.props.grid)){var c=a-t.state.lastX,d=i-t.state.lastY,m=_slicedToArray((0,f.snapToGrid)(t.props.grid,c,d),2);if(c=m[0],d=m[1],!c&&!d)return;a=t.state.lastX+c,i=t.state.lastY+d}var g=(0,f.createCoreData)(_assertThisInitialized(t),a,i);if((0,h.default)("DraggableCore: handleDrag: %j",g),!1!==t.props.onDrag(n,g)&&!1!==t.mounted)t.setState({lastX:a,lastY:i});else try{t.handleDragStop(new MouseEvent("mouseup"))}catch(n){var y=document.createEvent("MouseEvents");y.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),t.handleDragStop(y)}}})),_defineProperty(_assertThisInitialized(t),"handleDragStop",(function(n){if(t.state.dragging){var o=(0,f.getControlPosition)(n,t.state.touchIdentifier,_assertThisInitialized(t));if(null!=o){var a=o.x,i=o.y;if(Array.isArray(t.props.grid)){var c=a-t.state.lastX||0,m=i-t.state.lastY||0,g=_slicedToArray((0,f.snapToGrid)(t.props.grid,c,m),2);c=g[0],m=g[1],a=t.state.lastX+c,i=t.state.lastY+m}var y=(0,f.createCoreData)(_assertThisInitialized(t),a,i);if(!1===t.props.onStop(n,y)||!1===t.mounted)return!1;var _=t.findDOMNode();_&&t.props.enableUserSelectHack&&(0,d.removeUserSelectStyles)(_.ownerDocument),(0,h.default)("DraggableCore: handleDragStop: %j",y),t.setState({dragging:!1,lastX:NaN,lastY:NaN}),_&&((0,h.default)("DraggableCore: Removing handlers"),(0,d.removeEvent)(_.ownerDocument,v.move,t.handleDrag),(0,d.removeEvent)(_.ownerDocument,v.stop,t.handleDragStop))}}})),_defineProperty(_assertThisInitialized(t),"onMouseDown",(function(n){return v=y,t.handleDragStart(n)})),_defineProperty(_assertThisInitialized(t),"onMouseUp",(function(n){return v=y,t.handleDragStop(n)})),_defineProperty(_assertThisInitialized(t),"onTouchStart",(function(n){return v=g,t.handleDragStart(n)})),_defineProperty(_assertThisInitialized(t),"onTouchEnd",(function(n){return v=g,t.handleDragStop(n)})),t}return function _createClass(t,n,o){return n&&_defineProperties(t.prototype,n),o&&_defineProperties(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(DraggableCore,[{key:"componentDidMount",value:function componentDidMount(){this.mounted=!0;var t=this.findDOMNode();t&&(0,d.addEvent)(t,g.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.mounted=!1;var t=this.findDOMNode();if(t){var n=t.ownerDocument;(0,d.removeEvent)(n,y.move,this.handleDrag),(0,d.removeEvent)(n,g.move,this.handleDrag),(0,d.removeEvent)(n,y.stop,this.handleDragStop),(0,d.removeEvent)(n,g.stop,this.handleDragStop),(0,d.removeEvent)(t,g.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,d.removeUserSelectStyles)(n)}}},{key:"findDOMNode",value:function findDOMNode(){var t,n,o;return null!==(t=this.props)&&void 0!==t&&t.nodeRef?null===(n=this.props)||void 0===n||null===(o=n.nodeRef)||void 0===o?void 0:o.current:c.default.findDOMNode(this)}},{key:"render",value:function render(){return a.cloneElement(a.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),DraggableCore}(a.Component);n.default=_,_defineProperty(_,"displayName","DraggableCore"),_defineProperty(_,"propTypes",{allowAnyClick:i.default.bool,disabled:i.default.bool,enableUserSelectHack:i.default.bool,offsetParent:function offsetParent(t,n){if(t[n]&&1!==t[n].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:i.default.arrayOf(i.default.number),handle:i.default.string,cancel:i.default.string,nodeRef:i.default.object,onStart:i.default.func,onDrag:i.default.func,onStop:i.default.func,onMouseDown:i.default.func,scale:i.default.number,className:m.dontSetMe,style:m.dontSetMe,transform:m.dontSetMe}),_defineProperty(_,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function onStart(){},onDrag:function onDrag(){},onStop:function onStop(){},onMouseDown:function onMouseDown(){},scale:1})},38230:(t,n,o)=>{"use strict";var a=o(9111),i=a.default,c=a.DraggableCore;t.exports=i,t.exports.default=i,t.exports.DraggableCore=c},32837:(t,n,o)=>{"use strict";function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.addClassName=addClassName,n.addEvent=function addEvent(t,n,o,a){if(!t)return;var i=_objectSpread({capture:!0},a);t.addEventListener?t.addEventListener(n,o,i):t.attachEvent?t.attachEvent("on"+n,o):t["on"+n]=o},n.addUserSelectStyles=function addUserSelectStyles(t){if(!t)return;var n=t.getElementById("react-draggable-style-el");n||((n=t.createElement("style")).type="text/css",n.id="react-draggable-style-el",n.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",n.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",t.getElementsByTagName("head")[0].appendChild(n));t.body&&addClassName(t.body,"react-draggable-transparent-selection")},n.createCSSTransform=function createCSSTransform(t,n){var o=getTranslation(t,n,"px");return _defineProperty({},(0,i.browserPrefixToKey)("transform",i.default),o)},n.createSVGTransform=function createSVGTransform(t,n){return getTranslation(t,n,"")},n.getTouch=function getTouch(t,n){return t.targetTouches&&(0,a.findInArray)(t.targetTouches,(function(t){return n===t.identifier}))||t.changedTouches&&(0,a.findInArray)(t.changedTouches,(function(t){return n===t.identifier}))},n.getTouchIdentifier=function getTouchIdentifier(t){if(t.targetTouches&&t.targetTouches[0])return t.targetTouches[0].identifier;if(t.changedTouches&&t.changedTouches[0])return t.changedTouches[0].identifier},n.getTranslation=getTranslation,n.innerHeight=function innerHeight(t){var n=t.clientHeight,o=t.ownerDocument.defaultView.getComputedStyle(t);return n-=(0,a.int)(o.paddingTop),n-=(0,a.int)(o.paddingBottom)},n.innerWidth=function innerWidth(t){var n=t.clientWidth,o=t.ownerDocument.defaultView.getComputedStyle(t);return n-=(0,a.int)(o.paddingLeft),n-=(0,a.int)(o.paddingRight)},n.matchesSelector=matchesSelector,n.matchesSelectorAndParentsTo=function matchesSelectorAndParentsTo(t,n,o){var a=t;do{if(matchesSelector(a,n))return!0;if(a===o)return!1;a=a.parentNode}while(a);return!1},n.offsetXYFromParent=function offsetXYFromParent(t,n,o){var a=n===n.ownerDocument.body?{left:0,top:0}:n.getBoundingClientRect(),i=(t.clientX+n.scrollLeft-a.left)/o,c=(t.clientY+n.scrollTop-a.top)/o;return{x:i,y:c}},n.outerHeight=function outerHeight(t){var n=t.clientHeight,o=t.ownerDocument.defaultView.getComputedStyle(t);return n+=(0,a.int)(o.borderTopWidth),n+=(0,a.int)(o.borderBottomWidth)},n.outerWidth=function outerWidth(t){var n=t.clientWidth,o=t.ownerDocument.defaultView.getComputedStyle(t);return n+=(0,a.int)(o.borderLeftWidth),n+=(0,a.int)(o.borderRightWidth)},n.removeClassName=removeClassName,n.removeEvent=function removeEvent(t,n,o,a){if(!t)return;var i=_objectSpread({capture:!0},a);t.removeEventListener?t.removeEventListener(n,o,i):t.detachEvent?t.detachEvent("on"+n,o):t["on"+n]=null},n.removeUserSelectStyles=function removeUserSelectStyles(t){if(!t)return;try{if(t.body&&removeClassName(t.body,"react-draggable-transparent-selection"),t.selection)t.selection.empty();else{var n=(t.defaultView||window).getSelection();n&&"Caret"!==n.type&&n.removeAllRanges()}}catch(t){}};var a=o(26732),i=function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!==_typeof(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(n);if(o&&o.has(t))return o.get(t);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var d=i?Object.getOwnPropertyDescriptor(t,c):null;d&&(d.get||d.set)?Object.defineProperty(a,c,d):a[c]=t[c]}a.default=t,o&&o.set(t,a);return a}(o(47350));function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:n})(t)}function ownKeys(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(o),!0).forEach((function(n){_defineProperty(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}function _defineProperty(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}var c="";function matchesSelector(t,n){return c||(c=(0,a.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(n){return(0,a.isFunction)(t[n])}))),!!(0,a.isFunction)(t[c])&&t[c](n)}function getTranslation(t,n,o){var a=t.x,i=t.y,c="translate(".concat(a).concat(o,",").concat(i).concat(o,")");if(n){var d="".concat("string"==typeof n.x?n.x:n.x+o),f="".concat("string"==typeof n.y?n.y:n.y+o);c="translate(".concat(d,", ").concat(f,")")+c}return c}function addClassName(t,n){t.classList?t.classList.add(n):t.className.match(new RegExp("(?:^|\\s)".concat(n,"(?!\\S)")))||(t.className+=" ".concat(n))}function removeClassName(t,n){t.classList?t.classList.remove(n):t.className=t.className.replace(new RegExp("(?:^|\\s)".concat(n,"(?!\\S)"),"g"),"")}},47350:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.browserPrefixToKey=browserPrefixToKey,n.browserPrefixToStyle=function browserPrefixToStyle(t,n){return n?"-".concat(n.toLowerCase(),"-").concat(t):t},n.default=void 0,n.getPrefix=getPrefix;var o=["Moz","Webkit","O","ms"];function getPrefix(){var t,n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";var i=null===(t=window.document)||void 0===t||null===(n=t.documentElement)||void 0===n?void 0:n.style;if(!i)return"";if(a in i)return"";for(var c=0;c<o.length;c++)if(browserPrefixToKey(a,o[c])in i)return o[c];return""}function browserPrefixToKey(t,n){return n?"".concat(n).concat(function kebabToTitleCase(t){for(var n="",o=!0,a=0;a<t.length;a++)o?(n+=t[a].toUpperCase(),o=!1):"-"===t[a]?o=!0:n+=t[a];return n}(t)):t}var a=getPrefix();n.default=a},57988:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function log(){0}},10402:(t,n,o)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.canDragX=function canDragX(t){return"both"===t.props.axis||"x"===t.props.axis},n.canDragY=function canDragY(t){return"both"===t.props.axis||"y"===t.props.axis},n.createCoreData=function createCoreData(t,n,o){var i=t.state,c=!(0,a.isNum)(i.lastX),d=findDOMNode(t);return c?{node:d,deltaX:0,deltaY:0,lastX:n,lastY:o,x:n,y:o}:{node:d,deltaX:n-i.lastX,deltaY:o-i.lastY,lastX:i.lastX,lastY:i.lastY,x:n,y:o}},n.createDraggableData=function createDraggableData(t,n){var o=t.props.scale;return{node:n.node,x:t.state.x+n.deltaX/o,y:t.state.y+n.deltaY/o,deltaX:n.deltaX/o,deltaY:n.deltaY/o,lastX:t.state.x,lastY:t.state.y}},n.getBoundPosition=function getBoundPosition(t,n,o){if(!t.props.bounds)return[n,o];var c=t.props.bounds;c="string"==typeof c?c:function cloneBounds(t){return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}(c);var d=findDOMNode(t);if("string"==typeof c){var f,m=d.ownerDocument,h=m.defaultView;if(!((f="parent"===c?d.parentNode:m.querySelector(c))instanceof h.HTMLElement))throw new Error('Bounds selector "'+c+'" could not find an element.');var g=f,y=h.getComputedStyle(d),v=h.getComputedStyle(g);c={left:-d.offsetLeft+(0,a.int)(v.paddingLeft)+(0,a.int)(y.marginLeft),top:-d.offsetTop+(0,a.int)(v.paddingTop)+(0,a.int)(y.marginTop),right:(0,i.innerWidth)(g)-(0,i.outerWidth)(d)-d.offsetLeft+(0,a.int)(v.paddingRight)-(0,a.int)(y.marginRight),bottom:(0,i.innerHeight)(g)-(0,i.outerHeight)(d)-d.offsetTop+(0,a.int)(v.paddingBottom)-(0,a.int)(y.marginBottom)}}(0,a.isNum)(c.right)&&(n=Math.min(n,c.right));(0,a.isNum)(c.bottom)&&(o=Math.min(o,c.bottom));(0,a.isNum)(c.left)&&(n=Math.max(n,c.left));(0,a.isNum)(c.top)&&(o=Math.max(o,c.top));return[n,o]},n.getControlPosition=function getControlPosition(t,n,o){var a="number"==typeof n?(0,i.getTouch)(t,n):null;if("number"==typeof n&&!a)return null;var c=findDOMNode(o),d=o.props.offsetParent||c.offsetParent||c.ownerDocument.body;return(0,i.offsetXYFromParent)(a||t,d,o.props.scale)},n.snapToGrid=function snapToGrid(t,n,o){var a=Math.round(n/t[0])*t[0],i=Math.round(o/t[1])*t[1];return[a,i]};var a=o(26732),i=o(32837);function findDOMNode(t){var n=t.findDOMNode();if(!n)throw new Error("<DraggableCore>: Unmounted during event!");return n}},26732:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.dontSetMe=function dontSetMe(t,n,o){if(t[n])return new Error("Invalid prop ".concat(n," passed to ").concat(o," - do not set this, set it on the child."))},n.findInArray=function findInArray(t,n){for(var o=0,a=t.length;o<a;o++)if(n.apply(n,[t[o],o,t]))return t[o]},n.int=function int(t){return parseInt(t,10)},n.isFunction=function isFunction(t){return"function"==typeof t||"[object Function]"===Object.prototype.toString.call(t)},n.isNum=function isNum(t){return"number"==typeof t&&!isNaN(t)}},45317:t=>{t.exports=function shallowEqual(t,n,o,a){var i=o?o.call(a,t,n):void 0;if(void 0!==i)return!!i;if(t===n)return!0;if("object"!=typeof t||!t||"object"!=typeof n||!n)return!1;var c=Object.keys(t),d=Object.keys(n);if(c.length!==d.length)return!1;for(var f=Object.prototype.hasOwnProperty.bind(n),m=0;m<c.length;m++){var h=c[m];if(!f(h))return!1;var g=t[h],y=n[h];if(!1===(i=o?o.call(a,g,y,h):void 0)||void 0===i&&g!==y)return!1}return!0}},79626:(t,n,o)=>{"use strict";o.r(n),o.d(n,{ServerStyleSheet:()=>jt,StyleSheetConsumer:()=>_t,StyleSheetContext:()=>vt,StyleSheetManager:()=>Ye,ThemeConsumer:()=>St,ThemeContext:()=>Pt,ThemeProvider:()=>ot,__PRIVATE__:()=>Rt,createGlobalStyle:()=>ft,css:()=>lt,default:()=>Et,isStyledComponent:()=>se,keyframes:()=>mt,styled:()=>Et,useTheme:()=>nt,version:()=>F,withTheme:()=>yt});var __assign=function(){return __assign=Object.assign||function __assign(t){for(var n,o=1,a=arguments.length;o<a;o++)for(var i in n=arguments[o])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},__assign.apply(this,arguments)};Object.create;function __spreadArray(t,n,o){if(o||2===arguments.length)for(var a,i=0,c=n.length;i<c;i++)!a&&i in n||(a||(a=Array.prototype.slice.call(n,0,i)),a[i]=n[i]);return t.concat(a||Array.prototype.slice.call(n))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var a=o(41594),i=o.n(a),c=o(45317),d=o.n(c),f="-ms-",m="-moz-",h="-webkit-",g="comm",y="rule",v="decl",_="@import",b="@keyframes",w="@layer",C=Math.abs,P=String.fromCharCode,S=Object.assign;function trim(t){return t.trim()}function match(t,n){return(t=n.exec(t))?t[0]:t}function replace(t,n,o){return t.replace(n,o)}function indexof(t,n,o){return t.indexOf(n,o)}function Utility_charat(t,n){return 0|t.charCodeAt(n)}function Utility_substr(t,n,o){return t.slice(n,o)}function Utility_strlen(t){return t.length}function Utility_sizeof(t){return t.length}function Utility_append(t,n){return n.push(t),t}function filter(t,n){return t.filter((function(t){return!match(t,n)}))}var E=1,T=1,k=0,A=0,D=0,q="";function node(t,n,o,a,i,c,d,f){return{value:t,root:n,parent:o,type:a,props:i,children:c,line:E,column:T,length:d,return:"",siblings:f}}function copy(t,n){return S(node("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},n)}function lift(t){for(;t.root;)t=copy(t.root,{children:[t]});Utility_append(t,t.siblings)}function prev(){return D=A>0?Utility_charat(q,--A):0,T--,10===D&&(T=1,E--),D}function next(){return D=A<k?Utility_charat(q,A++):0,T++,10===D&&(T=1,E++),D}function peek(){return Utility_charat(q,A)}function caret(){return A}function slice(t,n){return Utility_substr(q,t,n)}function token(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function alloc(t){return E=T=1,k=Utility_strlen(q=t),A=0,[]}function dealloc(t){return q="",t}function delimit(t){return trim(slice(A-1,delimiter(91===t?t+2:40===t?t+1:t)))}function whitespace(t){for(;(D=peek())&&D<33;)next();return token(t)>2||token(D)>3?"":" "}function escaping(t,n){for(;--n&&next()&&!(D<48||D>102||D>57&&D<65||D>70&&D<97););return slice(t,caret()+(n<6&&32==peek()&&32==next()))}function delimiter(t){for(;next();)switch(D){case t:return A;case 34:case 39:34!==t&&39!==t&&delimiter(D);break;case 40:41===t&&delimiter(t);break;case 92:next()}return A}function commenter(t,n){for(;next()&&t+D!==57&&(t+D!==84||47!==peek()););return"/*"+slice(n,A-1)+"*"+P(47===t?t:next())}function identifier(t){for(;!token(peek());)next();return slice(t,A)}function serialize(t,n){for(var o="",a=0;a<t.length;a++)o+=n(t[a],a,t,n)||"";return o}function stringify(t,n,o,a){switch(t.type){case w:if(t.children.length)break;case _:case v:return t.return=t.return||t.value;case g:return"";case b:return t.return=t.value+"{"+serialize(t.children,a)+"}";case y:if(!Utility_strlen(t.value=t.props.join(",")))return""}return Utility_strlen(o=serialize(t.children,a))?t.return=t.value+"{"+o+"}":""}function prefix(t,n,o){switch(function hash(t,n){return 45^Utility_charat(t,0)?(((n<<2^Utility_charat(t,0))<<2^Utility_charat(t,1))<<2^Utility_charat(t,2))<<2^Utility_charat(t,3):0}(t,n)){case 5103:return h+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return h+t+t;case 4789:return m+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return h+t+m+t+f+t+t;case 5936:switch(Utility_charat(t,n+11)){case 114:return h+t+f+replace(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return h+t+f+replace(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return h+t+f+replace(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return h+t+f+t+t;case 6165:return h+t+f+"flex-"+t+t;case 5187:return h+t+replace(t,/(\w+).+(:[^]+)/,h+"box-$1$2"+f+"flex-$1$2")+t;case 5443:return h+t+f+"flex-item-"+replace(t,/flex-|-self/g,"")+(match(t,/flex-|baseline/)?"":f+"grid-row-"+replace(t,/flex-|-self/g,""))+t;case 4675:return h+t+f+"flex-line-pack"+replace(t,/align-content|flex-|-self/g,"")+t;case 5548:return h+t+f+replace(t,"shrink","negative")+t;case 5292:return h+t+f+replace(t,"basis","preferred-size")+t;case 6060:return h+"box-"+replace(t,"-grow","")+h+t+f+replace(t,"grow","positive")+t;case 4554:return h+replace(t,/([^-])(transform)/g,"$1"+h+"$2")+t;case 6187:return replace(replace(replace(t,/(zoom-|grab)/,h+"$1"),/(image-set)/,h+"$1"),t,"")+t;case 5495:case 3959:return replace(t,/(image-set\([^]*)/,h+"$1$`$1");case 4968:return replace(replace(t,/(.+:)(flex-)?(.*)/,h+"box-pack:$3"+f+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+h+t+t;case 4200:if(!match(t,/flex-|baseline/))return f+"grid-column-align"+Utility_substr(t,n)+t;break;case 2592:case 3360:return f+replace(t,"template-","")+t;case 4384:case 3616:return o&&o.some((function(t,o){return n=o,match(t.props,/grid-\w+-end/)}))?~indexof(t+(o=o[n].value),"span",0)?t:f+replace(t,"-start","")+t+f+"grid-row-span:"+(~indexof(o,"span",0)?match(o,/\d+/):+match(o,/\d+/)-+match(t,/\d+/))+";":f+replace(t,"-start","")+t;case 4896:case 4128:return o&&o.some((function(t){return match(t.props,/grid-\w+-start/)}))?t:f+replace(replace(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return replace(t,/(.+)-inline(.+)/,h+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Utility_strlen(t)-1-n>6)switch(Utility_charat(t,n+1)){case 109:if(45!==Utility_charat(t,n+4))break;case 102:return replace(t,/(.+:)(.+)-([^]+)/,"$1"+h+"$2-$3$1"+m+(108==Utility_charat(t,n+3)?"$3":"$2-$3"))+t;case 115:return~indexof(t,"stretch",0)?prefix(replace(t,"stretch","fill-available"),n,o)+t:t}break;case 5152:case 5920:return replace(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(n,o,a,i,c,d,m){return f+o+":"+a+m+(i?f+o+"-span:"+(c?d:+d-+a)+m:"")+t}));case 4949:if(121===Utility_charat(t,n+6))return replace(t,":",":"+h)+t;break;case 6444:switch(Utility_charat(t,45===Utility_charat(t,14)?18:11)){case 120:return replace(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+h+(45===Utility_charat(t,14)?"inline-":"")+"box$3$1"+h+"$2$3$1"+f+"$2box$3")+t;case 100:return replace(t,":",":"+f)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return replace(t,"scroll-","scroll-snap-")+t}return t}function prefixer(t,n,o,a){if(t.length>-1&&!t.return)switch(t.type){case v:return void(t.return=prefix(t.value,t.length,o));case b:return serialize([copy(t,{value:replace(t.value,"@","@"+h)})],a);case y:if(t.length)return function Utility_combine(t,n){return t.map(n).join("")}(o=t.props,(function(n){switch(match(n,a=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":lift(copy(t,{props:[replace(n,/:(read-\w+)/,":"+m+"$1")]})),lift(copy(t,{props:[n]})),S(t,{props:filter(o,a)});break;case"::placeholder":lift(copy(t,{props:[replace(n,/:(plac\w+)/,":"+h+"input-$1")]})),lift(copy(t,{props:[replace(n,/:(plac\w+)/,":"+m+"$1")]})),lift(copy(t,{props:[replace(n,/:(plac\w+)/,f+"input-$1")]})),lift(copy(t,{props:[n]})),S(t,{props:filter(o,a)})}return""}))}}function compile(t){return dealloc(parse("",null,null,null,[""],t=alloc(t),0,[0],t))}function parse(t,n,o,a,i,c,d,f,m){for(var h=0,g=0,y=d,v=0,_=0,b=0,w=1,S=1,E=1,T=0,k="",A=i,D=c,q=a,W=k;S;)switch(b=T,T=next()){case 40:if(108!=b&&58==Utility_charat(W,y-1)){-1!=indexof(W+=replace(delimit(T),"&","&\f"),"&\f",C(h?f[h-1]:0))&&(E=-1);break}case 34:case 39:case 91:W+=delimit(T);break;case 9:case 10:case 13:case 32:W+=whitespace(b);break;case 92:W+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:Utility_append(comment(commenter(next(),caret()),n,o,m),m);break;default:W+="/"}break;case 123*w:f[h++]=Utility_strlen(W)*E;case 125*w:case 59:case 0:switch(T){case 0:case 125:S=0;case 59+g:-1==E&&(W=replace(W,/\f/g,"")),_>0&&Utility_strlen(W)-y&&Utility_append(_>32?declaration(W+";",a,o,y-1,m):declaration(replace(W," ","")+";",a,o,y-2,m),m);break;case 59:W+=";";default:if(Utility_append(q=ruleset(W,n,o,h,g,i,f,k,A=[],D=[],y,c),c),123===T)if(0===g)parse(W,n,q,q,A,c,y,f,D);else switch(99===v&&110===Utility_charat(W,3)?100:v){case 100:case 108:case 109:case 115:parse(t,q,q,a&&Utility_append(ruleset(t,q,q,0,0,i,f,k,i,A=[],y,D),D),i,D,y,f,a?A:D);break;default:parse(W,q,q,q,[""],D,0,f,D)}}h=g=_=0,w=E=1,k=W="",y=d;break;case 58:y=1+Utility_strlen(W),_=b;default:if(w<1)if(123==T)--w;else if(125==T&&0==w++&&125==prev())continue;switch(W+=P(T),T*w){case 38:E=g>0?1:(W+="\f",-1);break;case 44:f[h++]=(Utility_strlen(W)-1)*E,E=1;break;case 64:45===peek()&&(W+=delimit(next())),v=peek(),g=y=Utility_strlen(k=W+=identifier(caret())),T++;break;case 45:45===b&&2==Utility_strlen(W)&&(w=0)}}return c}function ruleset(t,n,o,a,i,c,d,f,m,h,g,v){for(var _=i-1,b=0===i?c:[""],w=Utility_sizeof(b),P=0,S=0,E=0;P<a;++P)for(var T=0,k=Utility_substr(t,_+1,_=C(S=d[P])),A=t;T<w;++T)(A=trim(S>0?b[T]+" "+k:replace(k,/&\f/g,b[T])))&&(m[E++]=A);return node(t,n,o,0===i?y:f,m,h,g,v)}function comment(t,n,o,a){return node(t,n,o,g,P(function Tokenizer_char(){return D}()),Utility_substr(t,2,-2),0,a)}function declaration(t,n,o,a,i){return node(t,n,o,v,Utility_substr(t,0,a),Utility_substr(t,a+1,-1),a,i)}var W={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},N="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",U="active",H="data-styled-version",F="6.1.13",V="/*!sc*/\n",G="undefined"!=typeof window&&"HTMLElement"in window,Y=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&("false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),K={},Z=(new Set,Object.freeze([])),Q=Object.freeze({});function I(t,n,o){return void 0===o&&(o=Q),t.theme!==o.theme&&t.theme||n||o.theme}var J=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ee=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,te=/(^-|-$)/g;function R(t){return t.replace(ee,"-").replace(te,"")}var ne=/(a)(d)/gi,de=52,j=function(t){return String.fromCharCode(t+(t>25?39:97))};function x(t){var n,o="";for(n=Math.abs(t);n>de;n=n/de|0)o=j(n%de)+o;return(j(n%de)+o).replace(ne,"$1-$2")}var fe,pe=5381,M=function(t,n){for(var o=n.length;o;)t=33*t^n.charCodeAt(--o);return t},z=function(t){return M(pe,t)};function $(t){return x(z(t)>>>0)}function B(t){return t.displayName||t.name||"Component"}function L(t){return"string"==typeof t&&!0}var me="function"==typeof Symbol&&Symbol.for,ge=me?Symbol.for("react.memo"):60115,ye=me?Symbol.for("react.forward_ref"):60112,ve={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},be={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},xe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Oe=((fe={})[ye]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fe[ge]=xe,fe);function X(t){return("type"in(n=t)&&n.type.$$typeof)===ge?xe:"$$typeof"in t?Oe[t.$$typeof]:ve;var n}var Ee=Object.defineProperty,Te=Object.getOwnPropertyNames,je=Object.getOwnPropertySymbols,Re=Object.getOwnPropertyDescriptor,ke=Object.getPrototypeOf,Ae=Object.prototype;function oe(t,n,o){if("string"!=typeof n){if(Ae){var a=ke(n);a&&a!==Ae&&oe(t,a,o)}var i=Te(n);je&&(i=i.concat(je(n)));for(var c=X(t),d=X(n),f=0;f<i.length;++f){var m=i[f];if(!(m in be||o&&o[m]||d&&m in d||c&&m in c)){var h=Re(n,m);try{Ee(t,m,h)}catch(t){}}}}return t}function re(t){return"function"==typeof t}function se(t){return"object"==typeof t&&"styledComponentId"in t}function ie(t,n){return t&&n?"".concat(t," ").concat(n):t||n||""}function ae(t,n){if(0===t.length)return"";for(var o=t[0],a=1;a<t.length;a++)o+=n?n+t[a]:t[a];return o}function ce(t){return null!==t&&"object"==typeof t&&t.constructor.name===Object.name&&!("props"in t&&t.$$typeof)}function le(t,n,o){if(void 0===o&&(o=!1),!o&&!ce(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(var a=0;a<n.length;a++)t[a]=le(t[a],n[a]);else if(ce(n))for(var a in n)t[a]=le(t[a],n[a]);return t}function ue(t,n){Object.defineProperty(t,"toString",{value:n})}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var Me=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,o=0;o<t;o++)n+=this.groupSizes[o];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var o=this.groupSizes,a=o.length,i=a;t>=i;)if((i<<=1)<0)throw he(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(o),this.length=i;for(var c=a;c<i;c++)this.groupSizes[c]=0}for(var d=this.indexOfGroup(t+1),f=(c=0,n.length);c<f;c++)this.tag.insertRule(d,n[c])&&(this.groupSizes[t]++,d++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],o=this.indexOfGroup(t),a=o+n;this.groupSizes[t]=0;for(var i=o;i<a;i++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||0===this.groupSizes[t])return n;for(var o=this.groupSizes[t],a=this.indexOfGroup(t),i=a+o,c=a;c<i;c++)n+="".concat(this.tag.getRule(c)).concat(V);return n},e}(),De=new Map,Le=new Map,We=1,Se=function(t){if(De.has(t))return De.get(t);for(;Le.has(We);)We++;var n=We++;return De.set(t,n),Le.set(n,t),n},we=function(t,n){We=n+1,De.set(t,n),Le.set(n,t)},Be="style[".concat(N,"][").concat(H,'="').concat(F,'"]'),$e=new RegExp("^".concat(N,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(t,n,o){for(var a,i=o.split(","),c=0,d=i.length;c<d;c++)(a=i[c])&&t.registerName(n,a)},Pe=function(t,n){for(var o,a=(null!==(o=n.textContent)&&void 0!==o?o:"").split(V),i=[],c=0,d=a.length;c<d;c++){var f=a[c].trim();if(f){var m=f.match($e);if(m){var h=0|parseInt(m[1],10),g=m[2];0!==h&&(we(g,h),Ne(t,g,m[3]),t.getTag().insertRules(h,i)),i.length=0}else i.push(f)}}},_e=function(t){for(var n=document.querySelectorAll(Be),o=0,a=n.length;o<a;o++){var i=n[o];i&&i.getAttribute(N)!==U&&(Pe(t,i),i.parentNode&&i.parentNode.removeChild(i))}};function Ce(){return o.nc}var Ie=function(t){var n=document.head,o=t||n,a=document.createElement("style"),i=function(t){var n=Array.from(t.querySelectorAll("style[".concat(N,"]")));return n[n.length-1]}(o),c=void 0!==i?i.nextSibling:null;a.setAttribute(N,U),a.setAttribute(H,F);var d=Ce();return d&&a.setAttribute("nonce",d),o.insertBefore(a,c),a},ze=function(){function e(t){this.element=Ie(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var n=document.styleSheets,o=0,a=n.length;o<a;o++){var i=n[o];if(i.ownerNode===t)return i}throw he(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch(t){return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e}(),Ke=function(){function e(t){this.element=Ie(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var o=document.createTextNode(n);return this.element.insertBefore(o,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),Qe=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),et=G,tt={isServer:!G,useCSSOMInjection:!Y},rt=function(){function e(t,n,o){void 0===t&&(t=Q),void 0===n&&(n={});var a=this;this.options=__assign(__assign({},tt),t),this.gs=n,this.names=new Map(o),this.server=!!t.isServer,!this.server&&G&&et&&(et=!1,_e(this)),ue(this,(function(){return function(t){for(var n=t.getTag(),o=n.length,a="",r=function(o){var i=function(t){return Le.get(t)}(o);if(void 0===i)return"continue";var c=t.names.get(i),d=n.getGroup(o);if(void 0===c||!c.size||0===d.length)return"continue";var f="".concat(N,".g").concat(o,'[id="').concat(i,'"]'),m="";void 0!==c&&c.forEach((function(t){t.length>0&&(m+="".concat(t,","))})),a+="".concat(d).concat(f,'{content:"').concat(m,'"}').concat(V)},i=0;i<o;i++)r(i);return a}(a)}))}return e.registerId=function(t){return Se(t)},e.prototype.rehydrate=function(){!this.server&&G&&_e(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(__assign(__assign({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(t){var n=t.useCSSOMInjection,o=t.target;return t.isServer?new Qe(o):n?new ze(o):new Ke(o)}(this.options),new Me(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(Se(t),this.names.has(t))this.names.get(t).add(n);else{var o=new Set;o.add(n),this.names.set(t,o)}},e.prototype.insertRules=function(t,n,o){this.registerName(t,n),this.getTag().insertRules(Se(t),o)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Se(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),st=/&/g,dt=/^\s*\/\/.*$/gm;function Ve(t,n){return t.map((function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map((function(t){return"".concat(n," ").concat(t)}))),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=Ve(t.children,n)),t}))}function Fe(t){var n,o,a,i=void 0===t?Q:t,c=i.options,d=void 0===c?Q:c,f=i.plugins,m=void 0===f?Z:f,l=function(t,a,i){return i.startsWith(o)&&i.endsWith(o)&&i.replaceAll(o,"").length>0?".".concat(n):t},h=m.slice();h.push((function(t){t.type===y&&t.value.includes("&")&&(t.props[0]=t.props[0].replace(st,o).replace(a,l))})),d.prefix&&h.push(prefixer),h.push(stringify);var p=function(t,i,c,f){void 0===i&&(i=""),void 0===c&&(c=""),void 0===f&&(f="&"),n=f,o=i,a=new RegExp("\\".concat(o,"\\b"),"g");var m=t.replace(dt,""),g=compile(c||i?"".concat(c," ").concat(i," { ").concat(m," }"):m);d.namespace&&(g=Ve(g,d.namespace));var y=[];return serialize(g,function middleware(t){var n=Utility_sizeof(t);return function(o,a,i,c){for(var d="",f=0;f<n;f++)d+=t[f](o,a,i,c)||"";return d}}(h.concat(function rulesheet(t){return function(n){n.root||(n=n.return)&&t(n)}}((function(t){return y.push(t)}))))),y};return p.hash=m.length?m.reduce((function(t,n){return n.name||he(15),M(t,n.name)}),pe).toString():"",p}var ht=new rt,gt=Fe(),vt=i().createContext({shouldForwardProp:void 0,styleSheet:ht,stylis:gt}),_t=vt.Consumer,bt=i().createContext(void 0);function Ge(){return(0,a.useContext)(vt)}function Ye(t){var n=(0,a.useState)(t.stylisPlugins),o=n[0],c=n[1],f=Ge().styleSheet,m=(0,a.useMemo)((function(){var n=f;return t.sheet?n=t.sheet:t.target&&(n=n.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(n=n.reconstructWithOptions({useCSSOMInjection:!1})),n}),[t.disableCSSOMInjection,t.sheet,t.target,f]),h=(0,a.useMemo)((function(){return Fe({options:{namespace:t.namespace,prefix:t.enableVendorPrefixes},plugins:o})}),[t.enableVendorPrefixes,t.namespace,o]);(0,a.useEffect)((function(){d()(o,t.stylisPlugins)||c(t.stylisPlugins)}),[t.stylisPlugins]);var g=(0,a.useMemo)((function(){return{shouldForwardProp:t.shouldForwardProp,styleSheet:m,stylis:h}}),[t.shouldForwardProp,m,h]);return i().createElement(vt.Provider,{value:g},i().createElement(bt.Provider,{value:h},t.children))}var wt=function(){function e(t,n){var o=this;this.inject=function(t,n){void 0===n&&(n=gt);var a=o.name+n.hash;t.hasNameForId(o.id,a)||t.insertRules(o.id,a,n(o.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,ue(this,(function(){throw he(12,String(o.name))}))}return e.prototype.getName=function(t){return void 0===t&&(t=gt),this.name+t.hash},e}(),qe=function(t){return t>="A"&&t<="Z"};function He(t){for(var n="",o=0;o<t.length;o++){var a=t[o];if(1===o&&"-"===a&&"-"===t[0])return t;qe(a)?n+="-"+a.toLowerCase():n+=a}return n.startsWith("ms-")?"-"+n:n}var Ue=function(t){return null==t||!1===t||""===t},Je=function(t){var n,o,a=[];for(var i in t){var c=t[i];t.hasOwnProperty(i)&&!Ue(c)&&(Array.isArray(c)&&c.isCss||re(c)?a.push("".concat(He(i),":"),c,";"):ce(c)?a.push.apply(a,__spreadArray(__spreadArray(["".concat(i," {")],Je(c),!1),["}"],!1)):a.push("".concat(He(i),": ").concat((n=i,null==(o=c)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in W||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")))}return a};function Xe(t,n,o,a){return Ue(t)?[]:se(t)?[".".concat(t.styledComponentId)]:re(t)?!re(i=t)||i.prototype&&i.prototype.isReactComponent||!n?[t]:Xe(t(n),n,o,a):t instanceof wt?o?(t.inject(o,a),[t.getName(a)]):[t]:ce(t)?Je(t):Array.isArray(t)?Array.prototype.concat.apply(Z,t.map((function(t){return Xe(t,n,o,a)}))):[t.toString()];var i}function Ze(t){for(var n=0;n<t.length;n+=1){var o=t[n];if(re(o)&&!se(o))return!1}return!0}var Ct=z(F),xt=function(){function e(t,n,o){this.rules=t,this.staticRulesId="",this.isStatic=(void 0===o||o.isStatic)&&Ze(t),this.componentId=n,this.baseHash=M(Ct,n),this.baseStyle=o,rt.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,o){var a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,o):"";if(this.isStatic&&!o.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))a=ie(a,this.staticRulesId);else{var i=ae(Xe(this.rules,t,n,o)),c=x(M(this.baseHash,i)>>>0);if(!n.hasNameForId(this.componentId,c)){var d=o(i,".".concat(c),void 0,this.componentId);n.insertRules(this.componentId,c,d)}a=ie(a,c),this.staticRulesId=c}else{for(var f=M(this.baseHash,o.hash),m="",h=0;h<this.rules.length;h++){var g=this.rules[h];if("string"==typeof g)m+=g;else if(g){var y=ae(Xe(g,t,n,o));f=M(f,y+h),m+=y}}if(m){var v=x(f>>>0);n.hasNameForId(this.componentId,v)||n.insertRules(this.componentId,v,o(m,".".concat(v),void 0,this.componentId)),a=ie(a,v)}}return a},e}(),Pt=i().createContext(void 0),St=Pt.Consumer;function nt(){var t=(0,a.useContext)(Pt);if(!t)throw he(18);return t}function ot(t){var n=i().useContext(Pt),o=(0,a.useMemo)((function(){return function(t,n){if(!t)throw he(14);if(re(t))return t(n);if(Array.isArray(t)||"object"!=typeof t)throw he(8);return n?__assign(__assign({},n),t):t}(t.theme,n)}),[t.theme,n]);return t.children?i().createElement(Pt.Provider,{value:o},t.children):null}var Ot={};new Set;function it(t,n,o){var c=se(t),d=t,f=!L(t),m=n.attrs,h=void 0===m?Z:m,g=n.componentId,y=void 0===g?function(t,n){var o="string"!=typeof t?"sc":R(t);Ot[o]=(Ot[o]||0)+1;var a="".concat(o,"-").concat($(F+o+Ot[o]));return n?"".concat(n,"-").concat(a):a}(n.displayName,n.parentComponentId):g,v=n.displayName,_=void 0===v?function(t){return L(t)?"styled.".concat(t):"Styled(".concat(B(t),")")}(t):v,b=n.displayName&&n.componentId?"".concat(R(n.displayName),"-").concat(n.componentId):n.componentId||y,w=c&&d.attrs?d.attrs.concat(h).filter(Boolean):h,C=n.shouldForwardProp;if(c&&d.shouldForwardProp){var P=d.shouldForwardProp;if(n.shouldForwardProp){var S=n.shouldForwardProp;C=function(t,n){return P(t,n)&&S(t,n)}}else C=P}var E=new xt(o,b,c?d.componentStyle:void 0);function O(t,n){return function(t,n,o){var c=t.attrs,d=t.componentStyle,f=t.defaultProps,m=t.foldedComponentIds,h=t.styledComponentId,g=t.target,y=i().useContext(Pt),v=Ge(),_=t.shouldForwardProp||v.shouldForwardProp,b=I(n,y,f)||Q,w=function(t,n,o){for(var a,i=__assign(__assign({},n),{className:void 0,theme:o}),c=0;c<t.length;c+=1){var d=re(a=t[c])?a(i):a;for(var f in d)i[f]="className"===f?ie(i[f],d[f]):"style"===f?__assign(__assign({},i[f]),d[f]):d[f]}return n.className&&(i.className=ie(i.className,n.className)),i}(c,n,b),C=w.as||g,P={};for(var S in w)void 0===w[S]||"$"===S[0]||"as"===S||"theme"===S&&w.theme===b||("forwardedAs"===S?P.as=w.forwardedAs:_&&!_(S,C)||(P[S]=w[S]));var E=function(t,n){var o=Ge();return t.generateAndInjectStyles(n,o.styleSheet,o.stylis)}(d,w),T=ie(m,h);return E&&(T+=" "+E),w.className&&(T+=" "+w.className),P[L(C)&&!J.has(C)?"class":"className"]=T,P.ref=o,(0,a.createElement)(C,P)}(T,t,n)}O.displayName=_;var T=i().forwardRef(O);return T.attrs=w,T.componentStyle=E,T.displayName=_,T.shouldForwardProp=C,T.foldedComponentIds=c?ie(d.foldedComponentIds,d.styledComponentId):"",T.styledComponentId=b,T.target=c?d.target:t,Object.defineProperty(T,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=c?function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];for(var a=0,i=n;a<i.length;a++)le(t,i[a],!0);return t}({},d.defaultProps,t):t}}),ue(T,(function(){return".".concat(T.styledComponentId)})),f&&oe(T,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),T}function at(t,n){for(var o=[t[0]],a=0,i=n.length;a<i;a+=1)o.push(n[a],t[a+1]);return o}var ct=function(t){return Object.assign(t,{isCss:!0})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(Z,__spreadArray([t],n,!0))));var a=t;return 0===n.length&&1===a.length&&"string"==typeof a[0]?Xe(a):ct(Xe(at(a,n)))}function ut(t,n,o){if(void 0===o&&(o=Q),!n)throw he(1,n);var s=function(a){for(var i=[],c=1;c<arguments.length;c++)i[c-1]=arguments[c];return t(n,o,lt.apply(void 0,__spreadArray([a],i,!1)))};return s.attrs=function(a){return ut(t,n,__assign(__assign({},o),{attrs:Array.prototype.concat(o.attrs,a).filter(Boolean)}))},s.withConfig=function(a){return ut(t,n,__assign(__assign({},o),a))},s}var pt=function(t){return ut(it,t)},Et=pt;J.forEach((function(t){Et[t]=pt(t)}));var Tt=function(){function e(t,n){this.rules=t,this.componentId=n,this.isStatic=Ze(t),rt.registerId(this.componentId+1)}return e.prototype.createStyles=function(t,n,o,a){var i=a(ae(Xe(this.rules,n,o,a)),""),c=this.componentId+t;o.insertRules(c,c,i)},e.prototype.removeStyles=function(t,n){n.clearRules(this.componentId+t)},e.prototype.renderStyles=function(t,n,o,a){t>2&&rt.registerId(this.componentId+t),this.removeStyles(t,o),this.createStyles(t,n,o,a)},e}();function ft(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var a=lt.apply(void 0,__spreadArray([t],n,!1)),c="sc-global-".concat($(JSON.stringify(a))),d=new Tt(a,c),l=function(t){var n=Ge(),o=i().useContext(Pt),a=i().useRef(n.styleSheet.allocateGSInstance(c)).current;return n.styleSheet.server&&u(a,t,n.styleSheet,o,n.stylis),i().useLayoutEffect((function(){if(!n.styleSheet.server)return u(a,t,n.styleSheet,o,n.stylis),function(){return d.removeStyles(a,n.styleSheet)}}),[a,t,n.styleSheet,o,n.stylis]),null};function u(t,n,o,a,i){if(d.isStatic)d.renderStyles(t,K,o,i);else{var c=__assign(__assign({},n),{theme:I(n,a,l.defaultProps)});d.renderStyles(t,c,o,i)}}return i().memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var a=ae(lt.apply(void 0,__spreadArray([t],n,!1))),i=$(a);return new wt(i,a)}function yt(t){var n=i().forwardRef((function(n,o){var a=I(n,i().useContext(Pt),t.defaultProps);return i().createElement(t,__assign({},n,{theme:a,ref:o}))}));return n.displayName="WithTheme(".concat(B(t),")"),oe(n,t)}var jt=function(){function e(){var t=this;this._emitSheetCSS=function(){var n=t.instance.toString();if(!n)return"";var o=Ce(),a=ae([o&&'nonce="'.concat(o,'"'),"".concat(N,'="true"'),"".concat(H,'="').concat(F,'"')].filter(Boolean)," ");return"<style ".concat(a,">").concat(n,"</style>")},this.getStyleTags=function(){if(t.sealed)throw he(2);return t._emitSheetCSS()},this.getStyleElement=function(){var n;if(t.sealed)throw he(2);var o=t.instance.toString();if(!o)return[];var a=((n={})[N]="",n[H]=F,n.dangerouslySetInnerHTML={__html:o},n),c=Ce();return c&&(a.nonce=c),[i().createElement("style",__assign({},a,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new rt({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(t){if(this.sealed)throw he(2);return i().createElement(Ye,{sheet:this.instance},t)},e.prototype.interleaveWithNodeStream=function(t){throw he(3)},e}(),Rt={StyleSheet:rt,mainSheet:ht};"__sc-".concat(N,"__")},21806:(t,n,o)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function isFQDN(t,n){(0,a.default)(t),(n=(0,i.default)(n,c)).allow_trailing_dot&&"."===t[t.length-1]&&(t=t.substring(0,t.length-1));!0===n.allow_wildcard&&0===t.indexOf("*.")&&(t=t.substring(2));var o=t.split("."),d=o[o.length-1];if(n.require_tld){if(o.length<2)return!1;if(!n.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(d))return!1;if(/\s/.test(d))return!1}if(!n.allow_numeric_tld&&/^\d+$/.test(d))return!1;return o.every((function(t){return!(t.length>63&&!n.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(t)&&(!/[\uff01-\uff5e]/.test(t)&&(!/^-|-$/.test(t)&&!(!n.allow_underscores&&/_/.test(t)))))}))};var a=_interopRequireDefault(o(93443)),i=_interopRequireDefault(o(41398));function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var c={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=n.default,t.exports.default=n.default},14744:(t,n,o)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function isIP(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,a.default)(t),!(n=String(n)))return isIP(t,4)||isIP(t,6);if("4"===n)return d.test(t);if("6"===n)return m.test(t);return!1};var a=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}(o(93443));var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",c="(".concat(i,"[.]){3}").concat(i),d=new RegExp("^".concat(c,"$")),f="(?:[0-9a-fA-F]{1,4})",m=new RegExp("^("+"(?:".concat(f,":){7}(?:").concat(f,"|:)|")+"(?:".concat(f,":){6}(?:").concat(c,"|:").concat(f,"|:)|")+"(?:".concat(f,":){5}(?::").concat(c,"|(:").concat(f,"){1,2}|:)|")+"(?:".concat(f,":){4}(?:(:").concat(f,"){0,1}:").concat(c,"|(:").concat(f,"){1,3}|:)|")+"(?:".concat(f,":){3}(?:(:").concat(f,"){0,2}:").concat(c,"|(:").concat(f,"){1,4}|:)|")+"(?:".concat(f,":){2}(?:(:").concat(f,"){0,3}:").concat(c,"|(:").concat(f,"){1,5}|:)|")+"(?:".concat(f,":){1}(?:(:").concat(f,"){0,4}:").concat(c,"|(:").concat(f,"){1,6}|:)|")+"(?::((?::".concat(f,"){0,5}:").concat(c,"|(?::").concat(f,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");t.exports=n.default,t.exports.default=n.default},94760:(t,n,o)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function isURL(t,n){if((0,a.default)(t),!t||/[\s<>]/.test(t))return!1;if(0===t.indexOf("mailto:"))return!1;if((n=(0,d.default)(n,f)).validate_length&&t.length>=2083)return!1;if(!n.allow_fragments&&t.includes("#"))return!1;if(!n.allow_query_components&&(t.includes("?")||t.includes("&")))return!1;var o,h,g,y,v,_,b,w;if(b=t.split("#"),t=b.shift(),b=t.split("?"),t=b.shift(),(b=t.split("://")).length>1){if(o=b.shift().toLowerCase(),n.require_valid_protocol&&-1===n.protocols.indexOf(o))return!1}else{if(n.require_protocol)return!1;if("//"===t.slice(0,2)){if(!n.allow_protocol_relative_urls)return!1;b[0]=t.slice(2)}}if(""===(t=b.join("://")))return!1;if(b=t.split("/"),""===(t=b.shift())&&!n.require_host)return!0;if((b=t.split("@")).length>1){if(n.disallow_auth)return!1;if(""===b[0])return!1;if((h=b.shift()).indexOf(":")>=0&&h.split(":").length>2)return!1;var C=function _slicedToArray(t,n){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,n){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var o=[],a=!0,i=!1,c=void 0;try{for(var d,f=t[Symbol.iterator]();!(a=(d=f.next()).done)&&(o.push(d.value),!n||o.length!==n);a=!0);}catch(t){i=!0,c=t}finally{try{a||null==f.return||f.return()}finally{if(i)throw c}}return o}(t,n)||function _unsupportedIterableToArray(t,n){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _arrayLikeToArray(t,n)}(t,n)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(h.split(":"),2),P=C[0],S=C[1];if(""===P&&""===S)return!1}y=b.join("@"),_=null,w=null;var E=y.match(m);E?(g="",w=E[1],_=E[2]||null):(g=(b=y.split(":")).shift(),b.length&&(_=b.join(":")));if(null!==_&&_.length>0){if(v=parseInt(_,10),!/^[0-9]+$/.test(_)||v<=0||v>65535)return!1}else if(n.require_port)return!1;if(n.host_whitelist)return checkHost(g,n.host_whitelist);if(""===g&&!n.require_host)return!0;if(!((0,c.default)(g)||(0,i.default)(g,n)||w&&(0,c.default)(w,6)))return!1;if(g=g||w,n.host_blacklist&&checkHost(g,n.host_blacklist))return!1;return!0};var a=_interopRequireDefault(o(93443)),i=_interopRequireDefault(o(21806)),c=_interopRequireDefault(o(14744)),d=_interopRequireDefault(o(41398));function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function _arrayLikeToArray(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,a=new Array(n);o<n;o++)a[o]=t[o];return a}var f={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},m=/^\[([^\]]+)\](?::([0-9]+))?$/;function checkHost(t,n){for(var o=0;o<n.length;o++){var a=n[o];if(t===a||(i=a,"[object RegExp]"===Object.prototype.toString.call(i)&&a.test(t)))return!0}var i;return!1}t.exports=n.default,t.exports.default=n.default},93443:(t,n)=>{"use strict";function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=function assertString(t){if(!("string"==typeof t||t instanceof String)){var n=_typeof(t);throw null===t?n="null":"object"===n&&(n=t.constructor.name),new TypeError("Expected a string but received a ".concat(n))}},t.exports=n.default,t.exports.default=n.default},41398:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function merge(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;for(var o in n)void 0===t[o]&&(t[o]=n[o]);return t},t.exports=n.default,t.exports.default=n.default},41594:t=>{"use strict";t.exports=React},75206:t=>{"use strict";t.exports=ReactDOM},44048:t=>{"use strict";t.exports=elementorV2.icons},86956:t=>{"use strict";t.exports=elementorV2.ui},12470:t=>{"use strict";t.exports=wp.i18n},78113:t=>{t.exports=function _arrayLikeToArray(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,a=Array(n);o<n;o++)a[o]=t[o];return a},t.exports.__esModule=!0,t.exports.default=t.exports},70569:t=>{t.exports=function _arrayWithHoles(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},91819:(t,n,o)=>{var a=o(78113);t.exports=function _arrayWithoutHoles(t){if(Array.isArray(t))return a(t)},t.exports.__esModule=!0,t.exports.default=t.exports},36417:t=>{t.exports=function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},58155:t=>{function asyncGeneratorStep(t,n,o,a,i,c,d){try{var f=t[c](d),m=f.value}catch(t){return void o(t)}f.done?n(m):Promise.resolve(m).then(a,i)}t.exports=function _asyncToGenerator(t){return function(){var n=this,o=arguments;return new Promise((function(a,i){var c=t.apply(n,o);function _next(t){asyncGeneratorStep(c,a,i,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(c,a,i,_next,_throw,"throw",t)}_next(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},39805:t=>{t.exports=function _classCallCheck(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},40989:(t,n,o)=>{var a=o(45498);function _defineProperties(t,n){for(var o=0;o<n.length;o++){var i=n[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,a(i.key),i)}}t.exports=function _createClass(t,n,o){return n&&_defineProperties(t.prototype,n),o&&_defineProperties(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},85707:(t,n,o)=>{var a=o(45498);t.exports=function _defineProperty(t,n,o){return(n=a(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t},t.exports.__esModule=!0,t.exports.default=t.exports},78304:t=>{function _extends(){return t.exports=_extends=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var a in o)({}).hasOwnProperty.call(o,a)&&(t[a]=o[a])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,_extends.apply(null,arguments)}t.exports=_extends,t.exports.__esModule=!0,t.exports.default=t.exports},29402:t=>{function _getPrototypeOf(n){return t.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,_getPrototypeOf(n)}t.exports=_getPrototypeOf,t.exports.__esModule=!0,t.exports.default=t.exports},87861:(t,n,o)=>{var a=o(91270);t.exports=function _inherits(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&a(t,n)},t.exports.__esModule=!0,t.exports.default=t.exports},96784:t=>{t.exports=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},20365:t=>{t.exports=function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},65474:t=>{t.exports=function _iterableToArrayLimit(t,n){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a,i,c,d,f=[],m=!0,h=!1;try{if(c=(o=o.call(t)).next,0===n){if(Object(o)!==o)return;m=!1}else for(;!(m=(a=c.call(o)).done)&&(f.push(a.value),f.length!==n);m=!0);}catch(t){h=!0,i=t}finally{try{if(!m&&null!=o.return&&(d=o.return(),Object(d)!==d))return}finally{if(h)throw i}}return f}},t.exports.__esModule=!0,t.exports.default=t.exports},11018:t=>{t.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},78687:t=>{t.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},40453:(t,n,o)=>{var a=o(10739);t.exports=function _objectWithoutProperties(t,n){if(null==t)return{};var o,i,c=a(t,n);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(i=0;i<d.length;i++)o=d[i],n.includes(o)||{}.propertyIsEnumerable.call(t,o)&&(c[o]=t[o])}return c},t.exports.__esModule=!0,t.exports.default=t.exports},10739:t=>{t.exports=function _objectWithoutPropertiesLoose(t,n){if(null==t)return{};var o={};for(var a in t)if({}.hasOwnProperty.call(t,a)){if(n.includes(a))continue;o[a]=t[a]}return o},t.exports.__esModule=!0,t.exports.default=t.exports},15118:(t,n,o)=>{var a=o(10564).default,i=o(36417);t.exports=function _possibleConstructorReturn(t,n){if(n&&("object"==a(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return i(t)},t.exports.__esModule=!0,t.exports.default=t.exports},53051:(t,n,o)=>{var a=o(10564).default;function _regeneratorRuntime(){"use strict";t.exports=_regeneratorRuntime=function _regeneratorRuntime(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var n,o={},i=Object.prototype,c=i.hasOwnProperty,d=Object.defineProperty||function(t,n,o){t[n]=o.value},f="function"==typeof Symbol?Symbol:{},m=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",g=f.toStringTag||"@@toStringTag";function define(t,n,o){return Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{define({},"")}catch(n){define=function define(t,n,o){return t[n]=o}}function wrap(t,n,o,a){var i=n&&n.prototype instanceof Generator?n:Generator,c=Object.create(i.prototype),f=new Context(a||[]);return d(c,"_invoke",{value:makeInvokeMethod(t,o,f)}),c}function tryCatch(t,n,o){try{return{type:"normal",arg:t.call(n,o)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var y="suspendedStart",v="suspendedYield",_="executing",b="completed",w={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var C={};define(C,m,(function(){return this}));var P=Object.getPrototypeOf,S=P&&P(P(values([])));S&&S!==i&&c.call(S,m)&&(C=S);var E=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(C);function defineIteratorMethods(t){["next","throw","return"].forEach((function(n){define(t,n,(function(t){return this._invoke(n,t)}))}))}function AsyncIterator(t,n){function invoke(o,i,d,f){var m=tryCatch(t[o],t,i);if("throw"!==m.type){var h=m.arg,g=h.value;return g&&"object"==a(g)&&c.call(g,"__await")?n.resolve(g.__await).then((function(t){invoke("next",t,d,f)}),(function(t){invoke("throw",t,d,f)})):n.resolve(g).then((function(t){h.value=t,d(h)}),(function(t){return invoke("throw",t,d,f)}))}f(m.arg)}var o;d(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new n((function(n,o){invoke(t,a,n,o)}))}return o=o?o.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(t,o,a){var i=y;return function(c,d){if(i===_)throw Error("Generator is already running");if(i===b){if("throw"===c)throw d;return{value:n,done:!0}}for(a.method=c,a.arg=d;;){var f=a.delegate;if(f){var m=maybeInvokeDelegate(f,a);if(m){if(m===w)continue;return m}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===y)throw i=b,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=_;var h=tryCatch(t,o,a);if("normal"===h.type){if(i=a.done?b:v,h.arg===w)continue;return{value:h.arg,done:a.done}}"throw"===h.type&&(i=b,a.method="throw",a.arg=h.arg)}}}function maybeInvokeDelegate(t,o){var a=o.method,i=t.iterator[a];if(i===n)return o.delegate=null,"throw"===a&&t.iterator.return&&(o.method="return",o.arg=n,maybeInvokeDelegate(t,o),"throw"===o.method)||"return"!==a&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),w;var c=tryCatch(i,t.iterator,o.arg);if("throw"===c.type)return o.method="throw",o.arg=c.arg,o.delegate=null,w;var d=c.arg;return d?d.done?(o[t.resultName]=d.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=n),o.delegate=null,w):d:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,w)}function pushTryEntry(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function resetTryEntry(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(t){if(t||""===t){var o=t[m];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,d=function next(){for(;++i<t.length;)if(c.call(t,i))return next.value=t[i],next.done=!1,next;return next.value=n,next.done=!0,next};return d.next=d}}throw new TypeError(a(t)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,d(E,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),d(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,g,"GeneratorFunction"),o.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===GeneratorFunction||"GeneratorFunction"===(n.displayName||n.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,g,"GeneratorFunction")),t.prototype=Object.create(E),t},o.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,h,(function(){return this})),o.AsyncIterator=AsyncIterator,o.async=function(t,n,a,i,c){void 0===c&&(c=Promise);var d=new AsyncIterator(wrap(t,n,a,i),c);return o.isGeneratorFunction(n)?d:d.next().then((function(t){return t.done?t.value:d.next()}))},defineIteratorMethods(E),define(E,g,"Generator"),define(E,m,(function(){return this})),define(E,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var n=Object(t),o=[];for(var a in n)o.push(a);return o.reverse(),function next(){for(;o.length;){var t=o.pop();if(t in n)return next.value=t,next.done=!1,next}return next.done=!0,next}},o.values=values,Context.prototype={constructor:Context,reset:function reset(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(resetTryEntry),!t)for(var o in this)"t"===o.charAt(0)&&c.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=n)},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function dispatchException(t){if(this.done)throw t;var o=this;function handle(a,i){return d.type="throw",d.arg=t,o.next=a,i&&(o.method="next",o.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],d=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var f=c.call(i,"catchLoc"),m=c.call(i,"finallyLoc");if(f&&m){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(f){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!m)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function abrupt(t,n){for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o];if(a.tryLoc<=this.prev&&c.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var d=i?i.completion:{};return d.type=t,d.arg=n,i?(this.method="next",this.next=i.finallyLoc,w):this.complete(d)},complete:function complete(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),w},finish:function finish(t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),resetTryEntry(o),w}},catch:function _catch(t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc===t){var a=o.completion;if("throw"===a.type){var i=a.arg;resetTryEntry(o)}return i}}throw Error("illegal catch attempt")},delegateYield:function delegateYield(t,o,a){return this.delegate={iterator:values(t),resultName:o,nextLoc:a},"next"===this.method&&(this.arg=n),w}},o}t.exports=_regeneratorRuntime,t.exports.__esModule=!0,t.exports.default=t.exports},91270:t=>{function _setPrototypeOf(n,o){return t.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},t.exports.__esModule=!0,t.exports.default=t.exports,_setPrototypeOf(n,o)}t.exports=_setPrototypeOf,t.exports.__esModule=!0,t.exports.default=t.exports},18821:(t,n,o)=>{var a=o(70569),i=o(65474),c=o(37744),d=o(11018);t.exports=function _slicedToArray(t,n){return a(t)||i(t,n)||c(t,n)||d()},t.exports.__esModule=!0,t.exports.default=t.exports},98832:t=>{t.exports=function _taggedTemplateLiteral(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))},t.exports.__esModule=!0,t.exports.default=t.exports},10906:(t,n,o)=>{var a=o(91819),i=o(20365),c=o(37744),d=o(78687);t.exports=function _toConsumableArray(t){return a(t)||i(t)||c(t)||d()},t.exports.__esModule=!0,t.exports.default=t.exports},11327:(t,n,o)=>{var a=o(10564).default;t.exports=function toPrimitive(t,n){if("object"!=a(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,n||"default");if("object"!=a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},45498:(t,n,o)=>{var a=o(10564).default,i=o(11327);t.exports=function toPropertyKey(t){var n=i(t,"string");return"symbol"==a(n)?n:n+""},t.exports.__esModule=!0,t.exports.default=t.exports},10564:t=>{function _typeof(n){return t.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,_typeof(n)}t.exports=_typeof,t.exports.__esModule=!0,t.exports.default=t.exports},37744:(t,n,o)=>{var a=o(78113);t.exports=function _unsupportedIterableToArray(t,n){if(t){if("string"==typeof t)return a(t,n);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?a(t,n):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},61790:(t,n,o)=>{var a=o(53051)();t.exports=a;try{regeneratorRuntime=a}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}}},n={};function __webpack_require__(o){var a=n[o];if(void 0!==a)return a.exports;var i=n[o]={exports:{}};return t[o](i,i.exports,__webpack_require__),i.exports}__webpack_require__.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(n,{a:n}),n},__webpack_require__.d=(t,n)=>{for(var o in n)__webpack_require__.o(n,o)&&!__webpack_require__.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},__webpack_require__.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},__webpack_require__.nc=void 0;(()=>{"use strict";var t=__webpack_require__(96784);var n=t(__webpack_require__(61790)),o=t(__webpack_require__(58155)),a=t(__webpack_require__(39805)),i=t(__webpack_require__(40989)),c=t(__webpack_require__(15118)),d=t(__webpack_require__(29402)),f=t(__webpack_require__(87861)),m=t(__webpack_require__(85707)),h=t(__webpack_require__(47389)),g=__webpack_require__(36833),y=__webpack_require__(12470),v=__webpack_require__(91258),_=t(__webpack_require__(92263)),b=__webpack_require__(4353);function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}var w="ai-attachment";new(function(t){function Module(){var t;(0,a.default)(this,Module);for(var i=arguments.length,f=new Array(i),h=0;h<i;h++)f[h]=arguments[h];return t=function _callSuper(t,n,o){return n=(0,d.default)(n),(0,c.default)(t,_isNativeReflectConstruct()?Reflect.construct(n,o||[],(0,d.default)(t).constructor):n.apply(t,o))}(this,Module,[].concat(f)),(0,m.default)(t,"registerVariationsContextMenu",(function(t,a){var i,c=t.find((function(t){return"save"===t.name}));if(!c)return t;var d,f={name:"ai",icon:"eicon-ai",isEnabled:function isEnabled(){return 0!==a.getContainer().children.length},title:(0,y.__)("Generate variations with AI","elementor"),callback:(d=(0,o.default)(n.default.mark((function _callee(){var t,o,i;return n.default.wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:t=a.getContainer(),o=t.model.toJSON({remove:["default"]}),i=[{type:"json",previewHTML:"",content:o,label:t.model.get("title"),source:b.USER_VARIATION_SOURCE}],(0,g.renderLayoutApp)({parentContainer:t.parent,mode:v.MODE_VARIATION,at:t.view._index,attachments:i,onSelect:function onSelect(){t.view.$el.hide()},onClose:function onClose(){t.view.$el.show()},onInsert:function onInsert(n){(0,g.importToEditor)({parentContainer:t.parent,at:t.view._index,template:n,historyTitle:(0,y.__)("AI Variation","elementor"),replace:!0})}});case 4:case"end":return n.stop()}}),_callee)}))),function callback(){return d.apply(this,arguments)})};if(null===(i=ElementorAiConfig)||void 0===i||null===(i=i.usage)||void 0===i||!i.hasAiSubscription){f.shortcut='<div class="elementor-context-menu-list__item__ai-badge">'.concat('\n\t\t\t<svg viewBox="0 0 24 24">\n\t\t\t\t<path d="M12 5.25C12.2508 5.25 12.485 5.37533 12.6241 5.58397L16.1703 10.9033L20.5315 7.41435C20.7777\n\t\t\t\t7.21743 21.1207 7.19544 21.39 7.35933C21.6592 7.52321 21.7973 7.83798 21.7355 8.14709L19.7355\n\t\t\t\t18.1471C19.6654 18.4977 19.3576 18.75 19 18.75H5.00004C4.64253 18.75 4.33472 18.4977 4.26461\n\t\t\t\t18.1471L2.2646 8.14709C2.20278 7.83798 2.34084 7.52321 2.61012 7.35933C2.8794 7.19544 3.22241\n\t\t\t\t7.21743 3.46856 7.41435L7.82977 10.9033L11.376 5.58397C11.5151 5.37533 11.7493 5.25 12 5.25ZM12\n\t\t\t\t7.35208L8.62408 12.416C8.50748 12.5909 8.32282 12.7089 8.1151 12.7411C7.90738 12.7734 7.69566\n\t\t\t\t12.717 7.53152 12.5857L4.13926 9.87185L5.61489 17.25H18.3852L19.8608 9.87185L16.4686 12.5857C16.3044\n\t\t\t\t12.717 16.0927 12.7734 15.885 12.7411C15.6773 12.7089 15.4926 12.5909 15.376 12.416L12 7.35208Z">\n\t\t\t\t</path>\n \t\t</svg>',"</div>")}return c.actions.unshift(f),t})),t}return(0,f.default)(Module,t),(0,i.default)(Module,[{key:"onElementorInit",value:function onElementorInit(){var t=this;elementor.hooks.addFilter("views/add-section/behaviors",this.registerAiLayoutBehavior),elementor.hooks.addFilter("elements/container/contextMenuGroups",this.registerVariationsContextMenu),elementor.hooks.addFilter("elementor/editor/template-library/template/behaviors",this.registerLibraryActionButtonBehavior),elementor.hooks.addFilter("elementor/editor/template-library/template/action-button",this.filterLibraryActionButtonTemplate,11),$e.commands.register("library","generate-ai-variation",(function(n){return t.applyTemplate(n)}))}},{key:"applyTemplate",value:function applyTemplate(t){window.postMessage({type:"library/attach:start"}),$e.components.get("library").downloadTemplate(t,(function(n){var o=t.model;window.postMessage({type:"library/attach",json:n.content[0],html:'<img src="'.concat(o.get("thumbnail"),'" />'),label:"".concat(o.get("template_id")," - ").concat(o.get("title")),source:b.ELEMENTOR_LIBRARY_SOURCE},window.location.origin)}))}},{key:"registerLibraryActionButtonBehavior",value:function registerLibraryActionButtonBehavior(t){return t.applyAiTemplate={behaviorClass:_.default},t}},{key:"registerAiLayoutBehavior",value:function registerAiLayoutBehavior(t){return t.ai={behaviorClass:h.default,context:{documentType:window.elementor.documents.getCurrent().config.type}},t}},{key:"filterLibraryActionButtonTemplate",value:function filterLibraryActionButtonTemplate(t){var n=$e.components.get("library").manager.modalConfig;return"#tmpl-elementor-template-library-insert-button"!==t||"library/templates/blocks"!==$e.routes.current.library?t:t=w===n.mode?"#tmpl-elementor-template-library-apply-ai-button":"#tmpl-elementor-template-library-insert-and-ai-variations-buttons"}}])}(elementorModules.editor.utils.Module))})()})();
© 2024 UnknownSec