/*! elementor - v3.15.0 - 09-08-2023 */ /*! For license information please see ai.min.js.LICENSE.txt */ (()=>{var e={17927:(e,t,n)=>{"use strict";var i=n(38003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.vocalTones=t.translateLanguages=t.textareaAutocomplete=t.textAutocomplete=t.codeHtmlAutocomplete=t.codeCssAutocomplete=void 0;var b=[i("Craft a catchy slogan for","elementor"),i("Write a strong section header for","elementor"),i("Create a blog title for","elementor"),i("Suggest a 4 word headline for","elementor"),i("Write an attention grabbing title for","elementor")];t.textAutocomplete=b;var C=[i("Write a product description for","elementor"),i("Create a blog post for","elementor"),i("Craft an about us section for","elementor"),i("Offer a few sentences to invite visitors to","elementor"),i("Write microcopy for a submission form that includes","elementor")];t.textareaAutocomplete=C;var x=[i("GA event fired on every button element click (assume GA was loaded)","elementor"),i("Iframe code to embed a Spotify widget on my web page. My ID is 1234567890","elementor"),i("Write an embed code of Google Analytics","elementor"),i("Write an embed code of Facebook Pixel","elementor"),i("HTML code that embeds the following PDF into a webpage: link to PDF","elementor")];t.codeHtmlAutocomplete=x;var w=[i("On hover, animate 20% bigger, rotate 10 deg CCW","elementor"),i("Add a circle-shaped clip mask, semi transparent on hover","elementor"),i("Rainbow colored animated text gradient","elementor"),i("Add a 3D shadow to the text","elementor")];t.codeCssAutocomplete=w;var _=[{label:i("Casual","elementor")},{label:i("Confidence","elementor")},{label:i("Formal","elementor")},{label:i("Friendly","elementor")},{label:i("Inspirational","elementor")},{label:i("Motivational","elementor")},{label:i("Nostalgic","elementor")},{label:i("Playful","elementor")},{label:i("Professional","elementor")},{label:i("Scientific","elementor")},{label:i("Straightforward","elementor")},{label:i("Witty","elementor")}];t.vocalTones=_;var E=[{label:i("Arabic","elementor"),value:"ar-SA"},{label:i("Chinese","elementor"),value:"zh-CN"},{label:i("Czech","elementor"),value:"cs-CZ"},{label:i("Danish","elementor"),value:"da-DK"},{label:i("Dutch","elementor"),value:"nl-NL"},{label:i("English","elementor"),value:"en-US"},{label:i("Finnish","elementor"),value:"fi-FI"},{label:i("French","elementor"),value:"fr-FR"},{label:i("German","elementor"),value:"de-DE"},{label:i("Greek","elementor"),value:"el-GR"},{label:i("Hebrew","elementor"),value:"he-IL"},{label:i("Hungarian","elementor"),value:"hu-HU"},{label:i("Indonesian","elementor"),value:"id-ID"},{label:i("Italian","elementor"),value:"it-IT"},{label:i("Japanese","elementor"),value:"ja-JP"},{label:i("Korean","elementor"),value:"ko-KR"},{label:i("Persian","elementor"),value:"fa-IR"},{label:i("Polish","elementor"),value:"pl-PL"},{label:i("Portuguese","elementor"),value:"pt-PT"},{label:i("Russian","elementor"),value:"ru-RU"},{label:i("Spanish","elementor"),value:"es-ES"},{label:i("Swedish","elementor"),value:"sv-SE"},{label:i("Thai","elementor"),value:"th-TH"},{label:i("Turkish","elementor"),value:"tr-TR"},{label:i("Vietnamese","elementor"),value:"vi-VN"}];t.translateLanguages=E},96333:(e,t,n)=>{"use strict";var i=n(38003).__,b=n(61533),C=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var x=C(n(87363)),w=C(n(78983)),_=C(n(42081)),E=C(n(58724)),k=C(n(71173)),O=C(n(74910)),S=C(n(74270));function _createSuper(e){var t=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(e){return!1}}();return function _createSuperInternal(){var n,i=(0,O.default)(e);if(t){var b=(0,O.default)(this).constructor;n=Reflect.construct(i,arguments,b)}else n=i.apply(this,arguments);return(0,k.default)(this,n)}}var P=function(e){(0,E.default)(AiBehavior,e);var t=_createSuper(AiBehavior);function AiBehavior(){return(0,w.default)(this,AiBehavior),t.apply(this,arguments)}return(0,_.default)(AiBehavior,[{key:"initialize",value:function initialize(){this.type="text",this.controlType="text",this.buttonLabel=i("Write with AI","elementor"),this.editButtonLabel=i("Edit with AI","elementor"),this.isLabelBlock=!1,this.additionalOptions={},this.context={},this.config=window.ElementorAiConfig}},{key:"ui",value:function ui(){return{aiButton:".e-ai-button"}}},{key:"events",value:function events(){return{"click @ui.aiButton":"onAiButtonClick"}}},{key:"onAiButtonClick",value:function onAiButtonClick(e){var t,n;e.stopPropagation();var i=(null===(t=elementor)||void 0===t||null===(n=t.getPreferences)||void 0===n?void 0:n.call(t,"ui_theme"))||"auto",C=elementorCommon.config.isRTL,w=document.createElement("div");document.body.append(w),window.elementorAiCurrentContext=this.getOption("context"),b.render(x.default.createElement(S.default,{type:this.getOption("type"),controlType:this.getOption("controlType"),getControlValue:this.getOption("getControlValue"),setControlValue:this.getOption("setControlValue"),additionalOptions:this.getOption("additionalOptions"),controlView:this.getOption("controlView"),onClose:function onClose(){b.unmountComponentAtNode(w),w.remove()},colorScheme:i,isRTL:C}),w)}},{key:"getAiButtonLabel",value:function getAiButtonLabel(){var e,t=null===(e=this.getOption("additionalOptions"))||void 0===e?void 0:e.defaultValue,n=this.getOption("getControlValue")(),i="media"===this.getOption("type");return!i&&t===n||i&&(null==n?void 0:n.url)===(null==t?void 0:t.url)?this.getOption("buttonLabel"):this.getOption("editButtonLabel")}},{key:"onRender",value:function onRender(){var e=!this.config.is_get_started,t=this.getAiButtonLabel(),n=jQuery("