Uname: Linux premium264.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.3.22 [ PHP INFO ] PHP os: Linux
Server Ip: 69.57.162.13
Your Ip: 216.73.216.219
User: workvvfb (1129) | Group: workvvfb (1084)
Safe Mode: OFF
Disable Function:
NONE

name : index.js
!function(){var e,t={698:function(e,t,s){"use strict";var o=window.wp.element,l=s(942),a=s.n(l),i=window.wp.components,n=window.wp.i18n,r=window.wp.hooks,c=window.ReactJSXRuntime;const{version:d}=window.themeisleGutenberg?window.themeisleGutenberg:window.otterObj,h=[{name:(0,n.__)("Plugin version","otter-blocks"),value:d},{name:(0,n.__)("Feedback","otter-blocks"),value:(0,n.__)("Text from the above text area","otter-blocks")}],u={error:(0,n.__)("There has been an error. Your feedback couldn't be sent.","otter-blocks"),emptyFeedback:(0,n.__)("Please provide a feedback before submitting the form.","otter-blocks")};var b=({source:e,status:t,setStatus:s})=>{const[l,r]=(0,o.useState)(""),[b,p]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{const e=document.querySelector(".o-feedback-form .info");e&&(e.style.height=b?`${e.querySelector(".wrapper")?.clientHeight}px`:"0")}),[b]),(0,c.jsxs)("form",{className:"o-feedback-form",onSubmit:t=>{t.preventDefault(),(()=>{const t=l.trim();if(5>=t.length)s("emptyFeedback");else{s("loading");try{fetch("https://api.themeisle.com/tracking/feedback",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json, */*;q=0.1","Cache-Control":"no-cache"},body:JSON.stringify({slug:"otter-blocks",version:d,feedback:t,data:{"feedback-area":e}})}).then((e=>{e.ok?s("submitted"):s("error")}))?.catch((e=>{console.warn(e.message),s("error")}))}catch(e){console.warn(e.message),s("error")}}})()},children:[(0,c.jsx)(i.TextareaControl,{className:a()({invalid:"emptyFeedback"===t,"f-error":"error"===t}),placeholder:(0,n.__)("Tell us how can we help you better with Otter Blocks","otter-blocks"),value:l,rows:7,cols:50,onChange:e=>{r(e),5<e.trim().length&&s("notSubmitted")},help:u[t]||!1,autoFocus:!0}),(0,c.jsx)("div",{className:"info",children:(0,c.jsxs)("div",{className:"wrapper",children:[(0,c.jsx)("p",{children:(0,n.__)("We value privacy, that's why no domain name, email address or IP addresses are collected after you submit the survey. Below is a detailed view of all data that Themeisle will receive if you fill in this survey.","otter-blocks")}),h.map(((e,t)=>(0,c.jsxs)("div",{className:"info-row",children:[(0,c.jsx)("p",{children:(0,c.jsx)("b",{children:e.name})}),(0,c.jsx)("p",{children:e.value})]},t)))]})}),(0,c.jsxs)("div",{className:"buttons-wrap",children:[(0,c.jsx)(i.Button,{className:"toggle-info","aria-expanded":b,variant:"link",isLink:!0,onClick:()=>p(!b),children:(0,n.__)("What info do we collect?","otter-blocks")}),(0,c.jsx)(i.Button,{className:"f-send",variant:"primary",type:"submit",isPrimary:!0,disabled:"loading"===t,children:"loading"===t?(0,c.jsx)(i.Spinner,{}):(0,n.__)("Send feedback","otter-blocks")})]})]})};const{assetsPath:p}=window.themeisleGutenberg?window.themeisleGutenberg:window.otterObj,m=p+("/"===p[p.length-1]?"":"/")+"icons/finish-feedback.svg",_=({source:e,status:t,setStatus:s,closeModal:l,isOpen:r})=>(0,c.jsx)(o.Fragment,{children:r&&(0,c.jsx)(i.Modal,{className:a()("o-feedback-modal",{"no-header":"submitted"===t}),overlayClassName:"o-feedback-modal-overlay",title:(0,n.__)("What's the one thing you need in Otter?","otter-blocks"),onRequestClose:l,shouldCloseOnClickOutside:!1,children:"submitted"!==t?(0,c.jsx)(b,{source:e,status:t,setStatus:s}):(0,c.jsxs)("div",{className:"finish-feedback",children:[(0,c.jsx)("img",{src:m}),(0,c.jsx)("p",{className:"f-title",children:(0,n.__)("Thank you for your feedback","otter-blocks")}),(0,c.jsx)("p",{className:"f-description",children:(0,n.__)("Your feedback is highly appreciated and will help us to improve Otter Blocks.","otter-blocks")}),(0,c.jsx)(i.Button,{className:"f-done",variant:"secondary",isSecondary:!0,onClick:l,children:(0,n.__)("Done","otter-blocks")})]})})});(0,r.addFilter)("otter.feedback","themeisle-gutenberg/feedback-modal",((e,t,s=(0,n.__)("Help us improve","otter-blocks"),l="link")=>{const[a,r]=(0,o.useState)(!1),[d,h]=(0,o.useState)("notSubmitted");return(0,c.jsxs)(o.Fragment,{children:[(0,c.jsx)(i.Button,{id:"o-feedback",variant:l,isLink:"link"===l,isSecondary:"secondary"===l,isPrimary:"primary"===l,onClick:()=>{window.oTrk?.add({feature:"feedback",featureComponent:"open-button"}),r(!a)},children:s}),(0,c.jsx)(_,{isOpen:a,status:d,closeModal:()=>{r(!1),h("notSubmitted")},source:t,setStatus:h})]})}));var k=window.lodash,v=window.wp.data,x=window.wp.notices,g=()=>{const e=(0,v.useSelect)((e=>e(x.store).getNotices()),[]),{removeNotice:t}=(0,v.useDispatch)(x.store),s=(0,k.filter)(e,{type:"snackbar"});return(0,c.jsx)(i.SnackbarList,{notices:s,className:"components-editor-notices__snackbar",onRemove:t})};const j=[{slug:"dashboard",label:(0,n.__)("Dashboard","otter-blocks"),visibility:!0},{slug:"blocks",label:(0,n.__)("Blocks","otter-blocks"),visibility:!0},{slug:"integrations",label:(0,n.__)("Integrations","otter-blocks"),visibility:!0},{slug:"upsell",label:(0,n.__)("Free vs PRO","otter-blocks"),visibility:!Boolean(window.otterObj.hasPro)},{slug:"feedback",label:(0,n.__)("Feedback","otter-blocks"),visibility:!0}];var w=({isActive:e,setActive:t})=>(0,c.jsx)("header",{className:"otter-header",children:(0,c.jsxs)("div",{className:"otter-container",children:[(0,c.jsxs)("div",{className:"otter-logo",children:[(0,c.jsx)("img",{src:window.otterObj.assetsPath+"images/logo.png",title:(0,n.__)("Otter – Page Builder Blocks & Extensions for Gutenberg","otter-blocks")}),(0,c.jsx)("abbr",{title:(0,n.sprintf)(
// translators: %s: version number
// translators: %s: version number
(0,n.__)("Version: %s","otter-blocks"),window.otterObj.version),className:"version",children:window.otterObj.version})]}),(0,c.jsx)("nav",{className:"otter-navigation",children:j.map((s=>s.visibility&&(0,c.jsx)("button",{className:a()({"is-active":s.slug===(e||"dashboard")}),onClick:()=>t(s.slug),children:(0,c.jsx)("span",{children:s.label})},s.slug)))})]})}),y=window.wp.api,f=s.n(y);let C={};var S=()=>{const{createNotice:e}=(0,v.dispatch)("core/notices"),[t,s]=(0,o.useState)("loading"),[l,a]=(0,o.useState)({});return(0,v.useSelect)((e=>{if(Object.keys(l).length)return;const{getEntityRecord:t}=e("core"),o=t("root","site");o&&(s("loaded"),a(o))}),[l]),[e=>C?.[e]||l?.[e],(t,o,l=(0,n.__)("Settings saved.","otter-blocks"),i=void 0,r=()=>{},c=()=>{})=>{s("saving");const d=new(f().models.Settings)({[t]:o}).save();d.success(((t,o)=>{"success"===o&&(s("loaded"),e("success",l,{isDismissible:!0,type:"snackbar",id:i})),"error"===o&&(s("error"),e("error",(0,n.__)("An unknown error occurred.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:i})),C=t,a(t),r?.(t)})),d.error((t=>{var o;s("error"),e("error",null!==(o=t?.responseJSON?.message)&&void 0!==o?o:(0,n.__)("An unknown error occurred.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:i}),c?.(t)}))},t]},P=({title:e,children:t})=>(0,c.jsx)(i.PanelBody,{children:(0,c.jsxs)("div",{className:"otter-info",children:[(0,c.jsx)("h3",{children:e}),t]})}),B=window.wp.apiFetch,L=s.n(B),R=()=>{const[e,t]=(0,o.useState)(!1),[s,l]=(0,o.useState)(window.otterObj?.license),[a,r]=(0,o.useState)(""),{createNotice:d}=(0,v.dispatch)("core/notices");(0,o.useEffect)((()=>{s.key&&["valid","active_expired"].includes(s.valid)&&r(s.key)}),[s]);const h="valid"===s?.valid||"valid"===s?.license;return(0,c.jsxs)(P,{title:(0,n.__)("Otter Pro License","otter-blocks"),children:[(0,c.jsx)("p",{children:(0,n.__)("Enter your license from ThemeIsle purchase history in order to get plugin updates.","otter-blocks")}),Boolean(window.otterObj.hasNevePro)&&(0,c.jsx)("p",{children:(0,n.__)("Neve Pro license can also be used to activate Otter Pro.","otter-blocks")}),(0,c.jsx)("input",{type:"text",value:a,placeholder:(0,n.__)("Enter license key","otter-blocks"),disabled:e||h,onChange:e=>r(e.target.value)}),(0,c.jsx)("div",{className:"otter-info-button-group is-single",children:(0,c.jsx)(i.Button,{variant:h?"secondary":"primary",isPrimary:!h,isSecondary:h,isBusy:e,disabled:e,onClick:()=>{var e;e={action:h?"deactivate":"activate",key:h?void 0:a},t(!0),L()({path:"otter/v1/toggle_license",method:"POST",data:e}).then((e=>{t(!1),d(e.success?"success":"error",e.message,{isDismissible:!0,type:"snackbar"}),e?.success&&e.license&&"free"!==e.license.key?(l(e.license),r(e.license.key)):(l({}),r("")),window.location.reload()})).catch((e=>{t(!1),console.log(e)}))},children:h?(0,n.__)("Deactivate","otter-blocks"):(0,n.__)("Activate","otter-blocks")})}),h&&(0,c.jsx)("div",{className:"otter-license-footer",children:(0,c.jsxs)("p",{children:[(0,c.jsx)(i.Icon,{icon:"yes"}),(0,n.sprintf)(
// translators: %s: expiration date
// translators: %s: expiration date
(0,n.__)("Valid - Expires %s","otter-blocks"),s.expiration)]})}),"active_expired"===s?.valid&&(0,c.jsxs)("div",{className:"otter-license-footer is-expired",children:[(0,c.jsx)("p",{children:(0,n.__)("License Key has expired. In order to continue receiving support and software updates you must renew your license key.","otter-blocks")}),(0,c.jsx)("p",{children:(0,c.jsx)(i.ExternalLink,{href:`${window.otterObj.storeURL}?license=${a}`,children:(0,n.__)("Renew License","otter-blocks")})})]}),!h&&(0,c.jsx)("p",{className:"otter-license-purchase-history",children:(0,c.jsx)(i.ExternalLink,{href:window.otterObj.purchaseHistoryURL,children:(0,n.__)("Get license from Purchase History","otter-blocks")})})]})};window.wp.date;const N=(e,t,s)=>{const o=new URL(e);return o.searchParams.set("utm_campaign",t),s&&o.searchParams.set("utm_content",s),o.toString()};var Z=({setTab:e})=>(0,c.jsxs)(o.Fragment,{children:[Boolean(window.otterObj.hasPro)?(0,c.jsx)(R,{}):(0,c.jsxs)(P,{title:(0,n.__)("Otter Pro","otter-blocks"),children:[(0,c.jsxs)("ul",{children:[(0,c.jsx)("li",{children:(0,n.__)("Pro Block Addons","otter-blocks")}),(0,c.jsx)("li",{children:(0,n.__)("Pro Block Patterns","otter-blocks")}),(0,c.jsx)("li",{children:(0,n.__)("Dynamic Content","otter-blocks")}),(0,c.jsx)("li",{children:(0,n.__)("Block Conditions","otter-blocks")}),(0,c.jsx)("li",{children:(0,n.__)("WooCommerce Product Builder","otter-blocks")}),(0,c.jsx)("li",{children:(0,n.__)("Priority Support","otter-blocks")})]}),(0,c.jsxs)("div",{className:"otter-info-button-group",children:[(0,c.jsx)(i.Button,{variant:"secondary",isSecondary:!0,onClick:()=>e("upsell"),children:(0,n.__)("Learn More","otter-blocks")}),(0,c.jsx)(i.Button,{variant:"primary",isPrimary:!0,target:"_blank",href:N(window.otterObj.upgradeLink,"infobox"),children:(0,n.__)("Explore Otter Pro","otter-blocks")})]})]}),(0,c.jsxs)(P,{title:(0,n.__)("Useful links","otter-blocks"),children:[(0,c.jsxs)("ul",{className:"otter-info-links",children:[(0,c.jsx)("li",{children:(0,c.jsx)("a",{href:"https://wordpress.org/support/plugin/otter-blocks",target:"_blank",rel:"noreferrer",children:(0,n.__)("Support","otter-blocks")})}),(0,c.jsx)("li",{children:(0,c.jsx)("a",{href:"https://github.com/Codeinwp/otter-blocks/discussions",target:"_blank",rel:"noreferrer",children:(0,n.__)("Feature request","otter-blocks")})}),(0,c.jsx)("li",{children:(0,c.jsx)("a",{href:"https://wordpress.org/support/plugin/otter-blocks/reviews/#new-post",target:"_blank",rel:"noreferrer",children:(0,n.__)("Leave a review","otter-blocks")})})]}),(0,c.jsx)("div",{className:"otter-info-button-group is-single",children:(0,c.jsx)(i.Button,{variant:"secondary",isSecondary:!0,target:"_blank",href:window.otterObj.docsLink,children:(0,n.__)("Documentation","otter-blocks")})})]})]}),O=({label:e,help:t,buttonLabel:s,disabled:o,action:l,className:n})=>(0,c.jsxs)("div",{className:a()("components-base-control","otter-button-control",n),children:[(0,c.jsxs)("div",{className:"components-base-control_labels",children:[(0,c.jsx)("span",{className:"components-base-control__label",children:e}),(0,c.jsx)("p",{className:"components-base-control__help",children:t})]}),(0,c.jsx)("div",{className:"otter-button-control-group",children:(0,c.jsx)(i.Button,{variant:"secondary",isSecondary:!0,disabled:o,onClick:l,children:s})})]});const M={enableCustomCss:"themeisle_blocks_settings_css_module",enableBlocksAnimation:"themeisle_blocks_settings_blocks_animation",enableBlockConditions:"themeisle_blocks_settings_block_conditions",enablePatternsLibrary:"themeisle_blocks_settings_patterns_library",enableDynamicContent:"themeisle_blocks_settings_dynamic_content",enableOnboardingWizard:"themeisle_blocks_settings_onboarding_wizard",enableSectionDefaultBlock:"themeisle_blocks_settings_default_block",enableOptimizeAnimationsCss:"themeisle_blocks_settings_optimize_animations_css",enableRichSchema:"themeisle_blocks_settings_disable_review_schema",enableReviewScale:"themeisle_blocks_settings_review_scale",enableHighlightDynamic:"themeisle_blocks_settings_highlight_dynamic",enableAnonymousDataTracking:"otter_blocks_logger_flag",enableAIToolbar:"themeisle_blocks_settings_block_ai_toolbar_module"},V={values:{enableCustomCss:!1,enableBlocksAnimation:!1,enableBlockConditions:!1,enablePatternsLibrary:!1,enableDynamicContent:!1,enableOnboardingWizard:!1,enableSectionDefaultBlock:!1,enableOptimizeAnimationsCss:!1,enableRichSchema:!1,enableReviewScale:!1,enableHighlightDynamic:!1,enableAnonymousDataTracking:"no",enableAIToolbar:!1},status:{enableCustomCss:"init",enableBlocksAnimation:"init",enableBlockConditions:"init",enablePatternsLibrary:"init",enableDynamicContent:"init",enableOnboardingWizard:"init",enableSectionDefaultBlock:"init",enableOptimizeAnimationsCss:"init",enableRichSchema:"init",enableReviewScale:"init",enableHighlightDynamic:"init",enableAnonymousDataTracking:"init",enableAIToolbar:"init"},dirty:{enableCustomCss:!1,enableBlocksAnimation:!1,enableBlockConditions:!1,enablePatternsLibrary:!1,enableDynamicContent:!1,enableOnboardingWizard:!1,enableSectionDefaultBlock:!1,enableOptimizeAnimationsCss:!1,enableRichSchema:!1,enableReviewScale:!1,enableHighlightDynamic:!1,enableAnonymousDataTracking:!1,enableAIToolbar:!1},old:{}},A=(e,t)=>{switch(t.type){case"init":return e.values[t.name]=t.value,e.status[t.name]="saved",{...e};case"update":return e.old[t.name]=(0,k.isString)(e.values[t.name])?e.values[t.name]:Boolean(e.values[t.name]),e.values[t.name]=t.value,e.dirty[t.name]=!0,{...e};case"status_bulk":return t.names.forEach((s=>{e.status[s]=t.value,e.dirty[s]=!1})),{...e};case"saved":return e.status[t.name]="saved",e.values[t.name]=t.value,e.old[t.name]=void 0,{...e};case"rollback":return void 0!==e.old[t.name]&&(e.values[t.name]=e.old[t.name]),e.old[t.name]=void 0,e.dirty[t.name]=!1,e.status[t.name]="saved",{...e};default:return e}};var H=()=>{(0,o.useEffect)((()=>{Boolean(window.otterObj.stylesExist)||r(!0),window.tsdk_reposition_notice&&window.tsdk_reposition_notice()}),[]);const[e,t,s]=S(),{createNotice:l}=(0,v.dispatch)("core/notices"),[a,r]=(0,o.useState)(!1),[d,h]=(0,o.useState)(!1),[u,b]=(0,o.useReducer)(A,V);return(0,o.useEffect)((()=>{"loaded"===s&&Object.entries(u.status).filter((([e,t])=>"init"===t)).forEach((([t,s])=>{b({type:"init",name:t,value:e(M[t])})}))}),[u,s,e]),(0,o.useEffect)((()=>{const e=Object.entries(u.dirty).filter((([e,t])=>t)).map((([e,t])=>e));if(e.length){"error"!==s&&b({type:"status_bulk",value:"saving",names:e});for(const s of e)t(M[s],u.values[s],(0,n.__)("Settings saved.","otter-blocks"),"o-settings-saved-notice",(e=>{b({type:"saved",name:s,value:e[M[s]]})}),(()=>{b({type:"rollback",name:s})}))}}),[u,s]),(0,c.jsxs)(o.Fragment,{children:[(0,c.jsxs)(i.PanelBody,{title:(0,n.__)("Modules","otter-blocks"),children:[(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Enable Custom CSS Module","otter-blocks"),help:(0,n.__)("Custom CSS module allows to add custom CSS to each block in Block Editor.","otter-blocks"),checked:u.values.enableCustomCss,disabled:"saving"===u.status.enableCustomCss,onChange:e=>{b({type:"update",name:"enableCustomCss",value:e})}})}),(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Enable AI Block Toolbar Module","otter-blocks"),help:(0,n.__)("Display AI Block shortcut in Editor Blocks toolbar.","otter-blocks"),checked:u.values.enableAIToolbar,disabled:"saving"===u.status.enableAIToolbar,onChange:e=>{b({type:"update",name:"enableAIToolbar",value:e})}})}),(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Enable Blocks Animation Module","otter-blocks"),help:(0,n.__)("Blocks Animation module allows to add CSS animations to each block in Block Editor.","otter-blocks"),checked:u.values.enableBlocksAnimation,disabled:"saving"===u.status.enableBlocksAnimation,onChange:e=>b({type:"update",name:"enableBlocksAnimation",value:e})})}),(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Enable Visibility Condition Module","otter-blocks"),help:(0,n.__)("Blocks Conditions module allows to hide/display blocks to your users based on selected conditions.","otter-blocks"),checked:u.values.enableBlockConditions,disabled:"saving"===u.status.enableBlockConditions,onChange:e=>b({type:"update",name:"enableBlockConditions",value:e})})}),(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Enable Patterns Library","otter-blocks"),help:(0,n.__)("Toggle the visibility of the Patterns Library in the Block Editor. Patterns will still be visible in the Block Editor.","otter-blocks"),checked:u.values.enablePatternsLibrary,disabled:"saving"===u.status.enablePatternsLibrary,onChange:e=>b({type:"update",name:"enablePatternsLibrary",value:e})})}),(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Enable Dynamic Content Module","otter-blocks"),help:(0,n.__)("Toggle the Dynamic Content Module that includes Dynamic Content, Link and Images.","otter-blocks"),checked:u.values.enableDynamicContent,disabled:"saving"===u.status.enableDynamicContent,onChange:e=>b({type:"update",name:"enableDynamicContent",value:e})})}),(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Enable Theme Setup Wizard","otter-blocks"),help:(0,n.__)("Toggle the visibility of the Theme Setup link in the Appearance menu.","otter-blocks"),checked:u.values.enableOnboardingWizard,disabled:"saving"===u.status.enableOnboardingWizard,onChange:e=>b({type:"update",name:"enableOnboardingWizard",value:e})})})]}),(0,c.jsxs)(i.PanelBody,{title:(0,n.__)("Other","otter-blocks"),children:[(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Make Section your default block for Pages","otter-blocks"),help:(0,n.__)("Everytime you create a new page, Section block will be appended there by default.","otter-blocks"),checked:u.values.enableSectionDefaultBlock,disabled:"saving"===u.status.enableSectionDefaultBlock,onChange:e=>b({type:"update",name:"enableSectionDefaultBlock",value:e})})}),(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Optimize Animations CSS","otter-blocks"),help:(0,n.__)("Only load CSS for the animations that are used on the page. We recommend you to regenerate styles after you toggle this option.","otter-blocks"),checked:u.values.enableOptimizeAnimationsCss,disabled:"saving"===u.status.enableOptimizeAnimationsCss,onChange:e=>b({type:"update",name:"enableOptimizeAnimationsCss",value:e})})}),(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Enable Rich Schema","otter-blocks"),help:(0,n.__)("Control if you want to show rich schema in Product Review Block.","otter-blocks"),checked:u.values.enableRichSchema,disabled:"saving"===u.status.enableRichSchema,onChange:e=>b({type:"update",name:"enableRichSchema",value:e})})}),(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Use 1–5 Scale for Review Block","otter-blocks"),help:(0,n.__)("Use 1–5 rating scale instead of the default 1–10.","otter-blocks"),checked:u.values.enableReviewScale,disabled:"saving"===u.status.enableReviewScale,onChange:e=>b({type:"update",name:"enableReviewScale",value:e})})}),(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Highlight the Dynamic Text","otter-blocks"),help:(0,n.__)("Easily differentiate between dynamic and normal text in the editor.","otter-blocks"),checked:u.values.enableHighlightDynamic,disabled:"saving"===u.status.enableHighlightDynamic,onChange:e=>b({type:"update",name:"enableHighlightDynamic",value:e})})}),(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Anonymous Data Tracking.","otter-blocks"),help:(0,n.__)("Become a contributor by opting in to our anonymous data tracking. We guarantee no sensitive data is collected.","otter-blocks"),checked:"yes"===u.values.enableAnonymousDataTracking,disabled:"saving"===u.status.enableAnonymousDataTracking,onChange:e=>b({type:"update",name:"enableAnonymousDataTracking",value:e?"yes":"no"})})})]}),(0,c.jsx)(i.PanelBody,{children:(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(O,{label:(0,n.__)("Regenerate Styles","otter-blocks"),help:(0,n.__)("Clicking on this will delete all the Otter generated CSS files.","otter-blocks"),buttonLabel:(0,n.__)("Regenerate","otter-blocks"),disabled:a,action:()=>h(!0)})})}),d&&(0,c.jsxs)(i.Modal,{title:(0,n.__)("Are you sure?","otter-blocks"),onRequestClose:()=>h(!1),children:[(0,c.jsx)("p",{children:(0,n.__)("Are you sure you want to delete all Otter generated CSS files?","otter-blocks")}),(0,c.jsx)("p",{children:(0,n.__)("Note: Styles will be regenerated as users start visiting your pages.","otter-blocks")}),(0,c.jsxs)("div",{className:"otter-modal-actions",children:[(0,c.jsx)(i.Button,{isSecondary:!0,onClick:()=>h(!1),children:(0,n.__)("Cancel","otter-blocks")}),(0,c.jsx)(i.Button,{isPrimary:!0,disabled:"saving"===s,isBusy:"saving"===s,onClick:async()=>{const e=await L()({path:"otter/v1/regenerate",method:"DELETE"});l(e.success?"success":"error",e.data.message,{isDismissible:!0,type:"snackbar"}),window.tiTrk?.with("otter").add({feature:"dashboard",featureComponent:"regenerate-style"}),r(!0),h(!1)},children:(0,n.__)("Confirm","otter-blocks")})]})]})]})};const D=[{label:(0,n.__)("More than 30 Custom Blocks","otter-blocks"),description:(0,n.__)("Harness the potential of the new WordPress era with the growing list of 30+ page building blocks, covering all the elements needed to build a website.","otter-blocks"),inFree:!0},{label:(0,n.__)("Extra Functionalities for all Blocks","otter-blocks"),description:(0,n.__)("Otter Blocks adds extra functionality such as Custom CSS, Animations and Visibility Conditions to default or third party blocks present on your website.","otter-blocks"),inFree:!0},{label:(0,n.__)("Premium Blocks","otter-blocks"),description:(0,n.__)("Enhance your website's design with powerful Pro Blocks, like the Add to Cart Block, Business Hours Block and more blocks are coming soon.","otter-blocks")},{label:(0,n.__)("Extended Visibility Conditions & Sticky Blocks functionality","otter-blocks"),description:(0,n.__)("The Visibility Conditions feature allows you to set which conditions should be met for your chosen blocks to be displayed on the page. While the Sticky feature lets you set a Block as sticky, so that it sticks to its parent.","otter-blocks")},{label:(0,n.__)("Dynamic Values","otter-blocks"),description:(0,n.__)("Streamline your Workflow with Otter Dynamic Values, which allows you to bind certain elements in the editor - with the dynamic data from your website database.","otter-blocks")},{label:(0,n.__)("Review Comparison Table","otter-blocks"),description:(0,n.__)("Allows you to display and compare a selection of product reviews made on the website.","otter-blocks")},{label:(0,n.__)("WooCommerce Builder Blocks","otter-blocks"),description:(0,n.__)("Build custom Single Product Pages using WooCommerce Builder Blocks by Otter. All the new features from Otter Pro are designed to maximize your conversion rate.","otter-blocks")},{label:(0,n.__)("Extended Popups","otter-blocks"),description:(0,n.__)("Display your content in beautiful popup with many customization options. Otter Pro extends the functionality of the popups in the free Otter version, with more advanced options.","otter-blocks")},{label:(0,n.__)("Priority Support","otter-blocks"),description:(0,n.__)("Our Happiness Engineers are happy to help you get the best results from our products. On average, Otter Pro user get a reply in five hours or less.","otter-blocks")}],E=(0,c.jsx)("svg",{width:"31",height:"31",viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-hidden":"true",children:(0,c.jsx)("path",{d:"M22.5326 10.5767L17.2226 15.8867L22.5326 21.1967L20.4176 23.3117L15.1076 18.0167L9.81262 23.3117L7.68262 21.1817L12.9776 15.8867L7.68262 10.5917L9.81262 8.46167L15.1076 13.7567L20.4176 8.46167L22.5326 10.5767Z",fill:"#FF7E65"})}),T=(0,c.jsx)("svg",{width:"31",height:"31",viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-hidden":"true",children:(0,c.jsx)("path",{d:"M22.9863 7.99243L12.7863 18.1924L8.58633 13.9924L6.48633 16.0924L12.7863 22.3924L25.0863 10.0924",fill:"#5FBFD5"})});var G=()=>(0,c.jsxs)("div",{className:"otter-upsell",children:[(0,c.jsx)("div",{className:"upsell-title",children:(0,c.jsx)("h2",{children:(0,n.__)("Powerful features available only in Otter Pro","otter-blocks")})}),(0,c.jsxs)("ul",{className:"upsell-table",children:[(0,c.jsxs)("li",{className:"t-head",children:[(0,c.jsx)("div",{}),(0,c.jsx)("div",{className:"c",children:(0,n.__)("Free","otter-blocks")}),(0,c.jsx)("div",{className:"c",children:(0,n.__)("Pro","otter-blocks")})]}),D.map(((e,t)=>(0,c.jsxs)("li",{className:"t-row",children:[(0,c.jsxs)("div",{className:"content",children:[(0,c.jsx)("div",{className:"h-wrap",children:(0,c.jsx)("h4",{children:e.label})}),(0,c.jsx)("p",{children:e.description})]}),(0,c.jsx)("div",{className:"c",children:e?.inFree?T:E}),(0,c.jsx)("div",{className:"c",children:T})]},t)))]}),(0,c.jsx)(i.Button,{variant:"primary",href:N(window.otterObj.upgradeLink,"viewallfvsp"),target:"_blank",children:(0,n.__)("View all Otter Pro features","otter-blocks")})]}),F=window.wp.primitives,I=(0,c.jsx)(F.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,c.jsx)(F.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})}),U=(0,c.jsx)(F.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,c.jsx)(F.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"})});const W={display:"flex",alignItems:"center",gap:"10px",marginTop:"10px"},z="none",K="syncing",$="saving",q="none";var Y=({setSources:e,onCancel:t})=>{const[s,l]=(0,o.useState)(""),[a,r]=(0,o.useState)(""),[d,h]=(0,o.useState)(q),[u,b]=(0,o.useState)(""),{createNotice:p}=(0,v.useDispatch)("core/notices"),m=$===d;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.TextControl,{type:"text",label:(0,n.__)("API URL","otter-blocks"),value:s,placeholder:"https://example.com/wp-json",disabled:m,onChange:e=>l(e)}),(0,c.jsx)(i.TextControl,{type:"text",label:(0,n.__)("Access Key","otter-blocks"),value:a,placeholder:"•".repeat(32),disabled:m,onChange:e=>r(e)}),u&&(0,c.jsx)(i.Notice,{status:"error",isDismissible:!0,children:u}),(0,c.jsxs)("div",{style:W,children:[(0,c.jsx)(i.Button,{onClick:t,variant:"secondary",disabled:m,children:(0,n.__)("Cancel","otter-blocks")}),(0,c.jsx)(i.Button,{variant:"primary",disabled:m||!s||!a,onClick:()=>{h($),L()({path:"otter/v1/template-cloud/add-source",method:"POST",accept:"application/json",data:{url:s,key:a}}).then((s=>{h(q),e(s.sources),t(),p("success",(0,n.__)("Source added successfully","otter-blocks"),{isDismissible:!0,type:"snackbar"})})).catch((e=>{var t;h(q),b(null!==(t=e?.message)&&void 0!==t?t:(0,n.__)("An unknown error occurred.","otter-blocks"))}))},icon:I,children:(0,n.__)("Add Source","otter-blocks")})]})]})},J=(0,c.jsx)(F.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,c.jsx)(F.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})}),X=({sourcesData:e,setSources:t,isSyncing:s})=>{const{createNotice:l}=(0,v.useDispatch)("core/notices"),[a,r]=(0,o.useState)("");return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("table",{className:"tc-table",children:[(0,c.jsx)("thead",{children:(0,c.jsxs)("tr",{children:[(0,c.jsx)("td",{children:(0,n.__)("Name","otter-blocks")}),(0,c.jsx)("td",{children:(0,n.__)("Source URL","otter-blocks")}),(0,c.jsx)("td",{children:(0,n.__)("Actions","otter-blocks")})]})}),(0,c.jsx)("tbody",{children:e.map((e=>{const o=new URL(e.url).hostname;return(0,c.jsxs)("tr",{children:[(0,c.jsx)("td",{children:e.name}),(0,c.jsx)("td",{children:o}),(0,c.jsx)("td",{children:(0,c.jsx)(i.Button,{disabled:s,variant:"primary",size:"compact",isDestructive:!0,icon:J,onClick:()=>{var s;s=e.key,window.confirm((0,n.__)("Are you sure you want to delete this source?","otter-blocks"))&&L()({path:`otter/v1/template-cloud/delete-source/${s}`,method:"DELETE",accept:"application/json"}).then((e=>{t(e.sources),l("success",(0,n.__)("Source deleted","otter-blocks"),{isDismissible:!0,type:"snackbar"})})).catch((e=>{var t;r(null!==(t=e?.message)&&void 0!==t?t:(0,n.__)("An unknown error occurred.","otter-blocks"))}))},text:(0,n.__)("Remove","otter-blocks")})})]},e.key)}))})]}),a&&(0,c.jsx)(i.Notice,{status:"error",isDismissible:!0,onDismiss:()=>{r("")},children:a})]})},Q=()=>{const[e]=S(),[t,s]=(0,o.useState)([]),[l,a]=(0,o.useState)(!1),[r,d]=(0,o.useState)(z),[h,u]=(0,o.useState)([]),[b,p]=(0,o.useState)(!1),m=(0,o.useRef)(),{createNotice:_}=(0,v.useDispatch)("core/notices");(0,o.useEffect)((()=>{s(e("themeisle_template_cloud_sources"))}),[e("themeisle_template_cloud_sources")]),(0,o.useEffect)((()=>{"tc"===new URLSearchParams(window.location.search).get("scrollTo")&&(p(!0),m.current&&m.current.scrollIntoView({behavior:"smooth"}))}),[m.current]);const k=()=>{a(!l)},x=K===r;return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(i.PanelBody,{ref:m,title:(0,n.__)("Template Cloud","otter-blocks"),initialOpen:b,children:(0,c.jsxs)("div",{className:"tc-panel-content-wrap",children:[t.length<1&&!l&&(0,c.jsxs)("div",{className:"tc-sources-empty",children:[(0,c.jsx)("h4",{children:(0,n.__)("No sources found","otter-blocks")}),(0,c.jsx)(i.Button,{variant:"primary",onClick:k,icon:I,children:(0,n.__)("Add Source","otter-blocks")})]}),t.length>0&&(0,c.jsx)(X,{isSyncing:x,sourcesData:t,setSources:s}),l&&(0,c.jsx)(Y,{onCancel:k,setSources:s}),!l&&t.length>0&&(0,c.jsxs)(c.Fragment,{children:[h.length>0&&(0,c.jsx)(i.Notice,{status:"error",isDismissible:!0,onDismiss:()=>{u([])},children:h.map(((e,t)=>(0,c.jsx)("p",{children:e},t)))}),(0,c.jsxs)("div",{style:W,children:[(0,c.jsx)(i.Button,{variant:"secondary",onClick:()=>{d(K),L()({path:"otter/v1/template-cloud/sync"}).then((e=>{const{sources:t,errors:o}=e;s(t),d(z),o.length>0&&u(o),_("success",(0,n.__)("Sources synced successfully.","otter-blocks"),{isDismissible:!0,type:"snackbar"})})).catch((e=>{var t;d(z),u([null!==(t=e?.message)&&void 0!==t?t:(0,n.__)("An unknown error occurred.","otter-blocks")])}))},icon:U,disabled:x,children:x?(0,n.__)("Syncing","otter-blocks"):(0,n.__)("Sync Sources","otter-blocks")}),(0,c.jsx)(i.Button,{variant:"primary",disabled:x,onClick:k,icon:I,children:(0,n.__)("Add Source","otter-blocks")})]})]}),void 0!==o.createInterpolateElement&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("p",{className:"description",children:(0,o.createInterpolateElement)(/* translators: %s: External Link */ /* translators: %s: External Link */
(0,n.__)("Check-out our curated list of sources that you can import <tcLink/>.","otter-blocks"),{tcLink:(0,c.jsx)(i.ExternalLink,{href:otterObj.tcDocs,children:(0,n.__)("here","otter-blocks")})})}),t.length<1&&(0,c.jsx)("p",{className:"description",children:(0,o.createInterpolateElement)(/* translators: %1$s: `Otter Pro Agency` link, %2$s: `Templates Cloud` link */ /* translators: %1$s: `Otter Pro Agency` link, %2$s: `Templates Cloud` link */
(0,n.__)("Want to share your patterns across multiple sites? Get <otterLink/> or the <tcLink/> plugin to unlock the pattern sharing capabilities!","otter-blocks"),{otterLink:(0,c.jsx)(i.ExternalLink,{href:otterObj.upgradeLinkFromTc,children:(0,n.__)("Otter PRO Agency","otter-blocks")}),tcLink:(0,c.jsx)(i.ExternalLink,{href:otterObj.tcUpgradeLink,children:(0,n.__)("Templates Cloud","otter-blocks")})})})]})]})})})},ee=()=>{const[e,t,s]=S(),[l,a]=(0,o.useState)(""),[d,h]=(0,o.useState)(""),[u,b]=(0,o.useState)(""),[p,m]=(0,o.useState)(""),[_,k]=(0,o.useState)(""),[x,g]=(0,o.useState)([]),[j,w]=(0,o.useState)("");(0,o.useEffect)((()=>{a(e("themeisle_google_map_block_api_key"))}),[e("themeisle_google_map_block_api_key")]),(0,o.useEffect)((()=>{h(e("themeisle_google_captcha_api_site_key")),b(e("themeisle_google_captcha_api_secret_key"))}),[e("themeisle_google_captcha_api_site_key"),e("themeisle_google_captcha_api_secret_key")]),(0,o.useEffect)((()=>{m(e("themeisle_stripe_api_key"))}),[e("themeisle_stripe_api_key")]),(0,o.useEffect)((()=>{const t=e("themeisle_open_ai_api_key");!t||8>t.length||w(t.slice(0,3)+"X".repeat(t.length-8)+t.slice(-4))}),[e("themeisle_open_ai_api_key")]),(0,o.useEffect)((()=>{g(e("themeisle_blocks_settings_prompt_actions"))}),[e("themeisle_blocks_settings_prompt_actions")]);const{createNotice:y}=(0,v.useDispatch)("core/notices");let f=()=>(0,c.jsx)(i.PanelBody,{title:(0,n.__)("Fonts Module","otter-blocks"),className:"is-pro",children:(0,c.jsx)(i.Disabled,{children:(0,c.jsx)(i.PanelRow,{children:(0,c.jsx)(i.ToggleControl,{label:(0,n.__)("Save Google Fonts Locally","otter-blocks"),help:(0,n.__)("Enable this option to save Google Fonts locally to make your website faster","otter-blocks"),checked:!1,disabled:!0})})})});return f=(0,r.applyFilters)("otter.dashboard.integrations",(0,c.jsx)(f,{})),(0,c.jsxs)(o.Fragment,{children:[(0,c.jsx)(i.PanelBody,{title:(0,n.__)("Google Maps","otter-blocks"),children:(0,c.jsx)(i.PanelRow,{children:(0,c.jsxs)(i.BaseControl,{label:(0,n.__)("Google Maps API","otter-blocks"),help:(0,n.__)("In order to use Google Maps block, you need to use Google Maps and Places API.","otter-blocks"),id:"otter-options-google-map-api",className:"otter-button-field",children:[(0,c.jsx)(i.TextControl,{type:"password",label:(0,n.__)("Secret Key","otter-blocks"),value:l,placeholder:(0,n.__)("Google Maps API Key","otter-blocks"),disabled:"saving"===s,onChange:e=>a(e)}),(0,c.jsxs)("div",{className:"otter-button-group",children:[(0,c.jsx)(i.Button,{variant:"secondary",isSecondary:!0,disabled:"saving"===s,onClick:()=>t("themeisle_google_map_block_api_key",l),children:(0,n.__)("Save","otter-blocks")}),(0,c.jsx)(i.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key",children:(0,n.__)("Get API Key","otter-blocks")})]})]})})}),f,(0,c.jsx)(i.PanelBody,{title:(0,n.__)("Google reCaptcha API","otter-blocks"),initialOpen:!1,children:(0,c.jsx)(i.PanelRow,{children:(0,c.jsxs)(i.BaseControl,{help:(0,n.__)("In order to use reCaptcha field in the Form block, you need to use Google reCaptcha API.","otter-blocks"),id:"otter-options-google-recaptcha-api",className:"otter-button-field",children:[(0,c.jsx)(i.TextControl,{type:"password",label:(0,n.__)("Site Key","otter-blocks"),value:d,placeholder:(0,n.__)("Site Key","otter-blocks"),disabled:"saving"===s,onChange:e=>h(e)}),(0,c.jsx)(i.TextControl,{type:"password",label:(0,n.__)("Secret Key","otter-blocks"),value:u,placeholder:(0,n.__)("Secret Key","otter-blocks"),disabled:"saving"===s,onChange:e=>b(e)}),(0,c.jsxs)("div",{className:"otter-button-group",children:[(0,c.jsx)(i.Button,{variant:"secondary",isSecondary:!0,disabled:"saving"===s,onClick:()=>{t("themeisle_google_captcha_api_site_key",d),t("themeisle_google_captcha_api_secret_key",u)},children:(0,n.__)("Save","otter-blocks")}),(0,c.jsx)(i.ExternalLink,{href:"https://www.google.com/recaptcha/admin",children:(0,n.__)("Get API Key","otter-blocks")})]})]})})}),(0,c.jsx)(i.PanelBody,{title:(0,n.__)("Stripe","otter-blocks"),initialOpen:!1,children:(0,c.jsx)(i.PanelRow,{children:(0,c.jsxs)(i.BaseControl,{label:(0,n.__)("Stripe API","otter-blocks"),help:(0,n.__)("In order to use Stripe block, you need to use Stripe API. You can also use Restricted keys.","otter-blocks"),id:"otter-options-stripe-api",className:"otter-button-field",children:[(0,c.jsx)(i.TextControl,{type:"password",label:(0,n.__)("Secret Key","otter-blocks"),value:p,placeholder:(0,n.__)("Stripe API Key","otter-blocks"),disabled:"saving"===s,onChange:e=>m(e)}),(0,c.jsxs)("div",{className:"otter-button-group",children:[(0,c.jsx)(i.Button,{variant:"secondary",isSecondary:!0,disabled:"saving"===s,onClick:()=>{window.tiTrk?.with("otter").add({feature:"dashboard-integration",featureComponent:"stripe"}),t("themeisle_stripe_api_key",p)},children:(0,n.__)("Save","otter-blocks")}),(0,c.jsx)(i.ExternalLink,{href:"https://stripe.com/docs/keys",children:(0,n.__)("Get API Key","otter-blocks")}),(0,c.jsx)(i.ExternalLink,{href:"https://docs.themeisle.com/article/1688-integrations-related-blocks#stripe-checkout",children:(0,n.__)("More Info","otter-blocks")})]})]})})}),(0,c.jsxs)(i.PanelBody,{title:(0,n.__)("OpenAI","otter-blocks"),initialOpen:!1,children:[(0,c.jsx)(i.PanelRow,{children:(0,c.jsxs)(i.BaseControl,{label:(0,n.__)("OpenAI API","otter-blocks"),help:(0,n.__)("In order to use AI Block, you need to use OpenAI API.","otter-blocks"),id:"otter-options-stripe-api",className:"otter-button-field",children:[(0,c.jsx)(i.TextControl,{type:"text",label:(0,n.__)("Secret Key","otter-blocks"),value:_,placeholder:j||(0,n.__)("OpenAI API Key","otter-blocks"),disabled:"saving"===s,onChange:e=>k(e)}),(0,c.jsxs)("div",{className:"otter-button-group",children:[(0,c.jsx)(i.Button,{variant:"secondary",isSecondary:!0,disabled:"saving"===s,onClick:async()=>{try{const t=await L()({path:"otter/v1/openai/key",method:"POST",data:{api_key:_}});var e;if(!t.success)return void y("error",null!==(e=t.message)&&void 0!==e?e:(0,n.__)("An unknown error occurred.","otter-blocks"),{isDismissible:!0,type:"snackbar"});y("success",(0,n.__)("API Key saved successfully.","otter-blocks"),{isDismissible:!0,type:"snackbar"})}catch(e){var t;y("error",null!==(t=e?.message)&&void 0!==t?t:(0,n.__)("An unknown error occurred.","otter-blocks"),{isDismissible:!0,type:"snackbar"})}},children:(0,n.__)("Save","otter-blocks")}),(0,c.jsx)(i.ExternalLink,{href:"https://platform.openai.com/account/api-keys",children:(0,n.__)("Get API Key","otter-blocks")}),(0,c.jsx)(i.ExternalLink,{href:"https://docs.themeisle.com/article/1916-how-to-generate-an-openai-api-key",children:(0,n.__)("More Info","otter-blocks")})]})]})}),0<e("themeisle_open_ai_api_key")?.length?(0,c.jsx)(i.PanelRow,{children:(0,c.jsxs)(i.BaseControl,{label:(0,n.__)("Toolbar Actions","otter-blocks"),help:(0,n.__)("Change the actions present in the AI Toolbar.","otter-blocks"),id:"otter-options-toolbar-actions",className:"otter-button-field",children:[(0,c.jsx)("div",{className:"otter-ai-toolbar-actions",children:x.map(((e,t)=>(0,c.jsxs)(i.PanelBody,{title:e.title,initialOpen:!1,children:[(0,c.jsx)(i.TextControl,{type:"text",value:e.title,label:(0,n.__)("Action Name","otter-blocks"),placeholder:(0,n.__)("Action Name","otter-blocks"),disabled:"saving"===s,onChange:e=>{const s=[...x];s[t].title=e,g(s)}},`name-${t}`),(0,c.jsx)(i.TextControl,{type:"text",value:e.prompt,label:(0,n.__)("Prompt","otter-blocks"),placeholder:(0,n.__)("Prompt","otter-blocks"),disabled:"saving"===s,onChange:e=>{const s=[...x];s[t].prompt=e,g(s)}},`prompt-${t}`)]},`container-${t}`)))}),(0,c.jsxs)("div",{className:"otter-button-group",children:[(0,c.jsx)(i.Button,{variant:"secondary",isSecondary:!0,disabled:"saving"===s,onClick:()=>{window.tiTrk?.with("otter").add({feature:"dashboard-integration",featureComponent:"toolbar-actions"}),t("themeisle_blocks_settings_prompt_actions",x)},children:(0,n.__)("Save","otter-blocks")}),(0,c.jsx)(i.ExternalLink,{href:"https://docs.themeisle.com/article/1916-how-to-generate-an-openai-api-key",children:(0,n.__)("More Info","otter-blocks")})]})]})}):(0,c.jsx)(c.Fragment,{})]}),Boolean(window?.otterObj?.hasPatternSources)&&(0,c.jsx)(Q,{})]})};const te=`${window.otterObj.assetsPath}icons/finish-feedback.svg`;var se=()=>{const[e,t]=(0,o.useState)("notSubmitted");return(0,c.jsx)(P,{title:"submitted"!==e&&(0,n.__)("What's one thing you need in Otter Blocks?","otter-blocks"),children:"submitted"!==e?(0,c.jsx)(b,{source:"dashboard",status:e,setStatus:t}):(0,c.jsxs)("div",{className:"finish-feedback",children:[(0,c.jsx)("img",{src:te}),(0,c.jsx)("p",{className:"f-title",children:(0,n.__)("Thank you for your feedback","otter-blocks")}),(0,c.jsx)("p",{className:"f-description",children:(0,n.__)("Your feedback is highly appreciated and will help us to improve Otter Blocks.","otter-blocks")})]})})},oe=(0,o.forwardRef)((function({icon:e,size:t=24,...s},l){return(0,o.cloneElement)(e,{width:t,height:t,...s,ref:l})})),le=(0,c.jsx)(F.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,c.jsx)(F.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})}),ae=({slug:e,className:t,children:s})=>{const l=`otter-${e}-dismissed`,[n,r]=(0,o.useState)(localStorage.getItem(l));return n?null:(0,c.jsxs)(i.PanelBody,{className:a()("notice-card",t),children:[(0,c.jsx)(i.Button,{className:"dismiss",onClick:()=>{localStorage.setItem(l,"true"),r("true")},children:(0,c.jsx)(oe,{icon:le})}),s]})};window.wp.editSite;const ie=()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M3 9.5a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-3.5a.5.5 0 0 1 1 0V21a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 21V10A1.5 1.5 0 0 1 3 8.5h1.531a.5.5 0 1 1 0 1H3Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M21 3H8v11h13V3ZM8 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H8Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M14.45 4.55h4.5a.5.5 0 0 1 .5.5v4.5a.5.5 0 1 1-1 0V6.257l-4.096 4.097a.5.5 0 0 1-.707-.708l4.096-4.096H14.45a.5.5 0 0 1 0-1Z",clipRule:"evenodd"})]}),ne=(F.SVG,F.Path,F.SVG,F.Path,F.SVG,F.Path,F.SVG,F.Path,F.SVG,F.Path,F.SVG,F.Rect,F.Rect,F.SVG,F.Rect,F.Rect,F.Rect,F.Rect,F.Rect,F.Rect,F.SVG,i.Circle,F.Path,F.Path,F.Path,F.Path,F.Path,F.Path,F.Path,F.Rect,F.Rect,(0,c.jsxs)(F.SVG,{"data-target":"generator-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",style:{color:"transparent"},children:[(0,c.jsx)(F.Path,{d:"M6 17V21",stroke:"url(#paint0_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)(F.Path,{d:"M4 19H8",stroke:"url(#paint1_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)(F.Path,{d:"M17 3V7",stroke:"url(#paint2_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)(F.Path,{d:"M15 5H19",stroke:"url(#paint3_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)(F.Path,{d:"M6.5 5C6.5 6.933 8.067 8.5 10 8.5",stroke:"url(#paint4_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)(F.Path,{d:"M10 8.5C8.067 8.5 6.5 10.067 6.5 12",stroke:"url(#paint5_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)(F.Path,{d:"M6.5 12C6.5 10.067 4.933 8.5 3 8.5",stroke:"url(#paint6_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)(F.Path,{d:"M3 8.5C4.933 8.5 6.5 6.933 6.5 5",stroke:"url(#paint7_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)(F.Path,{d:"M11.609 15.778C14.202 15.778 16.304 13.676 16.304 11.083",stroke:"url(#paint8_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)(F.Path,{d:"M16.3051 11.083C16.3051 13.676 18.4071 15.778 21.0001 15.778",stroke:"url(#paint9_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)(F.Path,{d:"M21.0001 15.7781C18.4071 15.7781 16.3051 17.8801 16.3051 20.4731",stroke:"url(#paint10_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsx)(F.Path,{d:"M16.305 20.4731C16.305 17.8801 14.203 15.7781 11.61 15.7781",stroke:"url(#paint11_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,c.jsxs)(F.Defs,{children:[(0,c.jsxs)(F.LinearGradient,{id:"paint0_linear_3599_37937",x1:"6",y1:"17",x2:"6",y2:"21",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint1_linear_3599_37937",x1:"6",y1:"18.5",x2:"6",y2:"19.5",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint2_linear_3599_37937",x1:"17",y1:"3",x2:"17",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint3_linear_3599_37937",x1:"17",y1:"4.5",x2:"17",y2:"5.5",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint4_linear_3599_37937",x1:"8.25",y1:"5",x2:"8.25",y2:"8.5",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint5_linear_3599_37937",x1:"8.25",y1:"8.5",x2:"8.25",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint6_linear_3599_37937",x1:"4.75",y1:"8.5",x2:"4.75",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint7_linear_3599_37937",x1:"4.75",y1:"5",x2:"4.75",y2:"8.5",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint8_linear_3599_37937",x1:"13.9565",y1:"11.083",x2:"13.9565",y2:"15.778",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint9_linear_3599_37937",x1:"18.6526",y1:"11.083",x2:"18.6526",y2:"15.778",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint10_linear_3599_37937",x1:"18.6526",y1:"15.7781",x2:"18.6526",y2:"20.4731",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint11_linear_3599_37937",x1:"13.9575",y1:"15.7781",x2:"13.9575",y2:"20.4731",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]})]})]})),re=(F.SVG,F.Path,F.Path,F.Path,F.Path,F.Path,F.Defs,F.LinearGradient,F.LinearGradient,F.LinearGradient,F.LinearGradient,F.LinearGradient,[{slug:"themeisle-blocks/accordion",name:(0,n.__)("Accordion","otter-blocks"),icon:()=>(0,c.jsx)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M20 10H4v5h16v-5ZM4 9a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H4Zm16-4H4v2h16V5ZM4 4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H4Zm16 14H4v2h16v-2ZM4 17a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"})}),docLink:"https://docs.themeisle.com/article/1672-accessibility-blocks#accordion"},{slug:"themeisle-blocks/advanced-heading",name:(0,n.__)("Advanced Heading","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{d:"M15.999 6.455v12.39h.651c.364 0 .546.133.546.399v.357c0 .266-.182.399-.546.399h-2.541c-.364 0-.546-.133-.546-.399v-.357c0-.266.182-.399.546-.399h.651v-5.88H6.843v5.88h.651c.364 0 .546.133.546.399v.357c0 .266-.182.399-.546.399H4.953c-.364 0-.546-.133-.546-.399v-.357c0-.266.182-.399.546-.399h.651V6.455h-.651c-.364 0-.546-.133-.546-.399v-.357c0-.266.182-.399.546-.399h2.541c.364 0 .546.133.546.399v.357c0 .266-.182.399-.546.399h-.651v5.355h7.917V6.455h-.651c-.364 0-.546-.133-.546-.399v-.357c0-.266.182-.399.546-.399h2.541c.364 0 .546.133.546.399v.357c0 .266-.182.399-.546.399h-.651Z"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M17.5 3a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M20 5.5a.5.5 0 0 1-.5-.5V1a.5.5 0 0 1 1 0v4a.5.5 0 0 1-.5.5Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1686-global-defaults-blocks#advanced-heading"},{slug:"themeisle-blocks/business-hours",name:(0,n.__)("Business Hours","otter-blocks"),isPro:!0,icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M16.347 8.36a.477.477 0 0 1-.694 0l-3.12-3.243L9.415 8.36a.477.477 0 0 1-.693 0 .524.524 0 0 1 0-.72l3.466-3.604a.48.48 0 0 1 .693 0l3.467 3.604a.524.524 0 0 1 0 .72Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M20 9H4v10h16V9ZM4 8h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M8 15.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Zm-3-3a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{d:"M14 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"})]}),docLink:"https://docs.themeisle.com/article/1679-business-blocks#business-hours"},{slug:"themeisle-blocks/button-group",name:(0,n.__)("Button Group","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M20 5H4v5h16V5ZM4 4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M5.5 7a.5.5 0 0 0 0 1h13a.5.5 0 0 0 0-1h-13ZM20 14H4v5h16v-5ZM4 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M5.618 16a.5.5 0 0 0 0 1h12.764a.5.5 0 0 0 0-1H5.618Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1686-global-defaults-blocks#button-group"},{slug:"themeisle-blocks/circle-counter",name:(0,n.__)("Circle Counter","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0-1.346a7.654 7.654 0 1 1 0-15.308 7.654 7.654 0 0 1 0 15.308ZM12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm0-3.346a6.654 6.654 0 1 1 0-13.308 6.654 6.654 0 0 1 0 13.308Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M6.005 18.713a9 9 0 0 1-2.115-2.81.355.355 0 0 1 .01-.335.615.615 0 0 1 .378-.296c.316-.091.812.079 1.128.615a7.655 7.655 0 1 0 8.1-11.392c-.61-.122-.934-.535-.951-.864a.615.615 0 0 1 .155-.454.355.355 0 0 1 .314-.119 9 9 0 1 1-7.019 15.655Zm-3.016-2.377c-.4-.832.123-1.768 1.011-2.025.888-.256 1.798.272 2.267 1.068a6.655 6.655 0 1 0 7.042-9.903c-.905-.182-1.703-.869-1.753-1.791-.049-.923.664-1.725 1.581-1.62A10 10 0 1 1 2.99 16.337Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{d:"M4.182 14.868c-.867.318-1.324 1.289-.866 2.091A10 10 0 1 0 13.921 2.186c-.906-.177-1.68.566-1.704 1.49-.024.923.717 1.671 1.606 1.924a6.654 6.654 0 1 1-7.304 10.174c-.524-.761-1.47-1.224-2.337-.906Z"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M6.36 19.013a9 9 0 0 1-2.175-2.55.355.355 0 0 1-.015-.335.615.615 0 0 1 .357-.321c.308-.114.816.021 1.168.534a7.653 7.653 0 1 0 8.402-11.703c-.599-.17-.889-.607-.88-.936a.615.615 0 0 1 .19-.441.355.355 0 0 1 .322-.093 9 9 0 1 1-7.37 15.845ZM3.315 16.96c-.458-.802-.001-1.773.866-2.091.868-.318 1.813.145 2.337.906A6.655 6.655 0 1 0 13.823 5.6c-.889-.253-1.63-1-1.606-1.924.024-.924.798-1.667 1.704-1.49A10 10 0 1 1 3.316 16.96Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1669-tracking-blocks#circle-counter"},{slug:"themeisle-blocks/countdown",name:(0,n.__)("Countdown","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M9 9H3v6h6V9ZM3 8a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1H3Zm18 1h-6v6h6V9Zm-6-1a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1h-6Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{d:"M11 10a1 1 0 1 1 2 0 1 1 0 1 1-2 0Zm0 4a1 1 0 1 1 2 0 1 1 0 1 1-2 0Z"})]}),docLink:"https://docs.themeisle.com/article/1669-tracking-blocks#countdown"},{slug:"themeisle-blocks/flip",name:(0,n.__)("Flip Card","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M11.5 7V4h1v3A2.5 2.5 0 0 0 15 9.5h4v1h-4A3.5 3.5 0 0 1 11.5 7Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M11 4H5v16h14v-8a8 8 0 0 0-8-8ZM5 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-8a9 9 0 0 0-9-9H5Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1673-popularity-block#flip-card"},{slug:"themeisle-blocks/font-awesome-icons",name:(0,n.__)("Icon","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M20 4H4v16h16V4ZM4 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{d:"M11.776 7.454a.25.25 0 0 1 .448 0l1.187 2.406a.25.25 0 0 0 .189.136l2.654.386a.25.25 0 0 1 .139.427l-1.921 1.872a.25.25 0 0 0-.072.221l.453 2.644a.25.25 0 0 1-.362.263l-2.375-1.248a.25.25 0 0 0-.232 0L9.509 15.81a.25.25 0 0 1-.362-.263l.453-2.644a.25.25 0 0 0-.072-.221l-1.92-1.872a.25.25 0 0 1 .138-.427l2.654-.386a.25.25 0 0 0 .189-.136l1.187-2.406Z"})]}),docLink:"https://docs.themeisle.com/article/1676-useful-blocks#icon"},{slug:"themeisle-blocks/form",name:(0,n.__)("Form","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M19 3H5v18h14V3ZM5 2a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H5Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M17 5H7v2h10V5ZM7 4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H7Zm10 7H7v1h10v-1ZM7 10a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H7Zm10 5H7v4h10v-4ZM7 14a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H7Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1674-form-blocks"},{slug:"themeisle-blocks/google-map",name:(0,n.__)("Google Maps","otter-blocks"),icon:()=>(0,c.jsx)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M16.453 13.552C17.429 11.962 18 10.499 18 9.125 18 5.725 15.297 3 12 3S6 5.726 6 9.125c0 1.374.57 2.837 1.547 4.427.975 1.586 2.285 3.19 3.648 4.859l.004.004.801.983c.267-.33.535-.657.801-.983l.004-.004c1.363-1.669 2.673-3.273 3.648-4.86Zm-3.813 6.645c.31-.384.624-.769.939-1.153C16.286 15.732 19 12.412 19 9.125 19 5.19 15.866 2 12 2S5 5.19 5 9.125c0 3.287 2.714 6.607 5.421 9.919.315.384.629.769.939 1.153.216.268.43.535.64.803.21-.268.424-.535.64-.803ZM15.5 9a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Zm-1 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z",clipRule:"evenodd"})}),docLink:"https://docs.themeisle.com/article/1675-location-blocks#google-maps"},{slug:"themeisle-blocks/icon-list",name:(0,n.__)("Icon List","otter-blocks"),icon:()=>(0,c.jsx)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M20 6H9v2h11V6ZM9 5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H9Zm11 6H9v2h11v-2ZM9 10a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H9Zm11 6H9v2h11v-2ZM9 15a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H9ZM6 6H4v2h2V6ZM4 5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4Zm2 6H4v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H4Zm2 6H4v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"})}),docLink:"https://docs.themeisle.com/article/1676-useful-blocks#icon-list"},{slug:"themeisle-blocks/leaflet-map",name:(0,n.__)("Maps","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M8.872 8.64a.5.5 0 0 0-.41 0l-5.667 2.55a.5.5 0 0 0-.295.457v8.806a.5.5 0 0 0 .705.456l4.846-2.18a1.5 1.5 0 0 1 1.231 0l5.846 2.63a.5.5 0 0 0 .41 0l5.667-2.55a.5.5 0 0 0 .295-.456V9.547a.5.5 0 0 0-.705-.456l-4.846 2.18a1.5 1.5 0 0 1-1.231 0l-5.846-2.63Zm-.82-.911a1.5 1.5 0 0 1 1.23 0l5.846 2.63a.5.5 0 0 0 .41 0l4.846-2.18A1.5 1.5 0 0 1 22.5 9.547v8.806a1.5 1.5 0 0 1-.884 1.368l-5.667 2.55a1.5 1.5 0 0 1-1.231 0l-5.846-2.63a.5.5 0 0 0-.41 0l-4.846 2.18A1.5 1.5 0 0 1 1.5 20.453v-8.806a1.5 1.5 0 0 1 .884-1.368l5.667-2.55Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M16.515 13.662C18.255 11.396 20 9.123 20 6.875 20 4.183 17.985 2 15.5 2S11 4.183 11 6.875c0 2.25 1.745 4.52 3.485 6.787.343.446.686.892 1.015 1.338.33-.446.672-.892 1.015-1.338ZM15.5 8.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm-2.4 6.2a.5.5 0 0 1 .7-.1l4 3a.5.5 0 0 1-.6.8l-4-3a.5.5 0 0 1-.1-.7Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M17.9 14.7a.5.5 0 0 0-.7-.1l-4 3a.5.5 0 0 0 .6.8l4-3a.5.5 0 0 0 .1-.7Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1675-location-blocks#maps"},{slug:"themeisle-blocks/modal",name:(0,n.__)("Modal","otter-blocks"),icon:ie,docLink:"https://docs.themeisle.com/article/2050-modal-block",isPro:!0},{slug:"themeisle-blocks/lottie",name:(0,n.__)("Lottie Animation","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M16.917 5.26c.302-.046.747-.01.58-.01a.75.75 0 0 1 .007 1.5.879.879 0 0 1-.2-.014c-.034-.006-.05-.01-.16.007-.128.02-.367.086-.71.33-.707.502-1.83 1.74-3.235 4.74-1.464 3.126-2.915 4.744-4.07 5.578-.579.418-1.078.636-1.456.747a2.858 2.858 0 0 1-.464.099 1.897 1.897 0 0 1-.2.013h-.033s-.002 0 .024-.75l-.026.75a.75.75 0 0 1 .029-1.5H7m.003 0a1.372 1.372 0 0 0 .246-.05c.21-.063.556-.203 1.001-.524.891-.644 2.2-2.03 3.591-5 1.45-3.095 2.709-4.605 3.723-5.326.517-.367.974-.531 1.353-.59",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M20 4H4v16h16V4ZM4 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1668-image-related-blocks#lottie-animation"},{slug:"themeisle-blocks/popup",name:(0,n.__)("Popup","otter-blocks"),icon:ie,docLink:"https://docs.themeisle.com/article/1551-the-popup-block-otter-blocks-library"},{slug:"themeisle-blocks/posts-grid",name:(0,n.__)("Posts","otter-blocks"),icon:()=>(0,c.jsx)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M7 5H5v2h2V5ZM5 4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H5Zm2 7H5v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H5Zm2 7H5v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H5Zm8-11h-2v2h2V5Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-2Zm2 7h-2v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2Zm2 7h-2v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2Zm8-11h-2v2h2V5Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-2Zm2 7h-2v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2Zm2 7h-2v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2Z",clipRule:"evenodd"})}),docLink:"https://docs.themeisle.com/article/1530-posts-block"},{slug:"themeisle-blocks/progress-bar",name:(0,n.__)("Progress Bar","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M21 10H3v4h18v-4ZM3 9a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H3Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M13 10H3v4h10a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1ZM3 9a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h10a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H3Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1669-tracking-blocks#progress-bar"},{slug:"themeisle-blocks/review",name:(0,n.__)("Product Review","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M1.717 8.588a.5.5 0 0 1 .695.13l2.264 3.297a.5.5 0 1 1-.825.566L1.588 9.283a.5.5 0 0 1 .13-.695Zm20.566 0a.5.5 0 0 1 .13.695l-2.264 3.298a.5.5 0 1 1-.825-.566l2.264-3.298a.5.5 0 0 1 .695-.13Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M19 13H5v7h14v-7ZM5 12a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1H5Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{d:"M11.776 3.454a.25.25 0 0 1 .448 0l1.04 2.108a.25.25 0 0 0 .189.137l2.326.338a.25.25 0 0 1 .138.426l-1.683 1.64a.25.25 0 0 0-.072.222l.397 2.316a.25.25 0 0 1-.362.264l-2.08-1.094a.25.25 0 0 0-.233 0l-2.08 1.094a.25.25 0 0 1-.363-.264l.397-2.316a.25.25 0 0 0-.072-.221L8.083 6.463a.25.25 0 0 1 .139-.426l2.325-.338a.25.25 0 0 0 .189-.137l1.04-2.108Z"})]}),docLink:"https://docs.themeisle.com/article/1671-shop-related-blocks#product-review"},{slug:"themeisle-blocks/review-comparison",name:(0,n.__)("Review Comparison Table","otter-blocks"),isPro:!0,icon:(e={})=>(0,c.jsxs)(F.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,c.jsxs)(F.G,{"clip-path":"url(#clip0_1028_2592)",children:[(0,c.jsx)("path",{d:"M20 3H4C3.45 3 3 3.45 3 4V19C3 19.55 3.45 20 4 20H11.502C12.052 20 12.502 19.55 12.502 19V12H20C20.55 12 21 11.55 21 11V4C21 3.45 20.55 3 20 3ZM11.502 19H4V12H11.502V19ZM4 4H20V11H12.502V3.82L11.502 3.64V11H4V4Z",fill:"url(#paint0_linear_1028_2592)"}),(0,c.jsx)("path",{d:"M16.8007 12.7084C16.8822 12.5432 17.1178 12.5432 17.1993 12.7084L18.1239 14.5818C18.1562 14.6474 18.2188 14.6929 18.2912 14.7034L20.3586 15.0038C20.5409 15.0303 20.6137 15.2543 20.4818 15.3829L18.9858 16.8411C18.9334 16.8922 18.9095 16.9657 18.9219 17.0378L19.275 19.0969C19.3062 19.2785 19.1156 19.4169 18.9526 19.3312L17.1034 18.359C17.0387 18.325 16.9613 18.325 16.8966 18.359L15.0474 19.3312C14.8844 19.4169 14.6938 19.2785 14.725 19.0969L15.0781 17.0378C15.0905 16.9657 15.0666 16.8922 15.0142 16.8411L13.5182 15.3829C13.3863 15.2543 13.4591 15.0303 13.6414 15.0038L15.7088 14.7034C15.7812 14.6929 15.8438 14.6474 15.8761 14.5818L16.8007 12.7084Z",fill:"url(#paint1_linear_1028_2592)"})]}),(0,c.jsxs)(F.Defs,{children:[(0,c.jsxs)(F.LinearGradient,{id:"paint0_linear_1028_2592",x1:"12",y1:"3",x2:"12",y2:"20",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsxs)(F.LinearGradient,{id:"paint1_linear_1028_2592",x1:"17",y1:"12.3046",x2:"17",y2:"19.5407",gradientUnits:"userSpaceOnUse",children:[(0,c.jsx)("stop",{stopColor:"#ED6F57"}),(0,c.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,c.jsx)("clipPath",{id:"clip0_1028_2592",children:(0,c.jsx)("rect",{width:"18",height:"17",fill:"white",transform:"translate(3 3)"})})]})]}),docLink:"https://docs.themeisle.com/article/1671-shop-related-blocks#comparison-table"},{slug:"themeisle-blocks/advanced-columns",name:(0,n.__)("Section","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M21 4H3v16h18V4ZM3 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H3Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M19 15H5v3h14v-3ZM5 14a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1H5Zm5-8H5v6h5V6ZM5 5a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H5Zm14 1h-5v1h5V6Zm-5-1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-5Zm5 5h-5v2h5v-2Zm-5-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-5Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1833-the-section-block-otter-blocks-library"},{slug:"themeisle-blocks/sharing-icons",name:(0,n.__)("Sharing Icons","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"m14.69 6.154-6.715 4.268a.5.5 0 0 1-.537-.844l6.716-4.268.536.844Zm-7.122 7.094a.5.5 0 0 1 .684-.18l6.432 3.752-.504.864-6.432-3.752a.5.5 0 0 1-.18-.684Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M17 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM6 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1673-popularity-block#sharing-icons"},{slug:"themeisle-blocks/slider",name:(0,n.__)("Image Slider","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M2 5H1a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h1v-1H1V6h1V5Zm20 14h1V6h-1V5h1a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-1v-1Zm-6.5-8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm0 1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-8-3.87v8.37h9.207L7.5 8.13Zm-1-.904a.6.6 0 0 1 1.004-.444l10.64 9.674a.6.6 0 0 1-.403 1.044H7.1a.6.6 0 0 1-.6-.6V7.226Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M3 3v18a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1Zm1 0v18h16V3H4Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1668-image-related-blocks#slider"},{slug:"themeisle-blocks/stripe-checkout",name:(0,n.__)("Stripe Checkout","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)("path",{d:"M11 18.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm6 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"}),(0,c.jsx)("path",{fillRule:"evenodd",d:"M2.5 4a.5.5 0 0 1 .5-.5h.78a1.5 1.5 0 0 1 1.422 1.026L6.36 8h12.286a1.5 1.5 0 0 1 1.434 1.941l-1.385 4.5a1.5 1.5 0 0 1-1.434 1.059H8.74a1.5 1.5 0 0 1-1.434-1.059L5.524 8.653l-1.27-3.811a.5.5 0 0 0-.475-.342H3a.5.5 0 0 1-.5-.5Zm4.177 5 1.584 5.147a.5.5 0 0 0 .478.353h8.522a.5.5 0 0 0 .478-.353l1.385-4.5A.5.5 0 0 0 18.646 9H6.677Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1688-integrations-related-blocks#stripe-checkout"},{slug:"themeisle-blocks/tabs",name:(0,n.__)("Tabs","otter-blocks"),icon:()=>(0,c.jsxs)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M11.726 4.722c-1.033-.345-2.398-.243-3.628.003a.5.5 0 0 1-.196-.98c1.27-.255 2.851-.403 4.14.028.658.22 1.257.596 1.688 1.199.431.602.663 1.386.663 2.366a.5.5 0 0 1-1 0c0-.821-.193-1.388-.476-1.784-.283-.396-.688-.664-1.191-.832Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M15.726 4.722c-1.033-.345-2.398-.243-3.628.003a.5.5 0 0 1-.196-.98c1.27-.255 2.851-.403 4.14.028.658.22 1.257.596 1.688 1.199.431.602.663 1.386.663 2.366a.5.5 0 0 1-1 0c0-.821-.192-1.388-.476-1.784-.283-.396-.688-.664-1.192-.832Z",clipRule:"evenodd"}),(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"m8.449 7.878-.091-.9-.035-.365c-.073-.795-.126-1.366-.5-1.83C7.468 4.338 6.57 3.763 4 3.887v16.01h16V7.877H8.449ZM3 3.866v16.03a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V7.878a1 1 0 0 0-1-1H9.353l-.03-.33C9.182 4.893 8.99 2.632 3.91 2.891a.968.968 0 0 0-.91.975Z",clipRule:"evenodd"})]}),docLink:"https://docs.themeisle.com/article/1672-accessibility-blocks#tabs"},{slug:"themeisle-gutenberg/live-search",name:(0,n.__)("Live Search","otter-blocks"),isPro:!0,icon:()=>(0,c.jsx)(F.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:(0,c.jsx)(F.Path,{fillRule:"evenodd",d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z",clipRule:"evenodd"})}),docLink:"https://docs.themeisle.com/article/1747-the-live-search-feature-otter-features-library"},{slug:"themeisle-blocks/content-generator",name:(0,n.__)("AI Block","otter-blocks"),icon:()=>ne,docLink:"https://docs.themeisle.com/article/1917-the-ai-block-otter-blocks-library#content-generator"},{slug:"themeisle-blocks/timeline",name:(0,n.__)("Timeline","otter-blocks"),icon:(e={})=>(0,c.jsx)(F.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",...e,children:(0,c.jsx)(F.Path,{fill:"#ED6F57",d:"M128 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm32 97.3c28.3-12.3 48-40.5 48-73.3c0-44.2-35.8-80-80-80S48 51.8 48 96c0 32.8 19.7 61 48 73.3L96 224l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l256 0 0 54.7c-28.3 12.3-48 40.5-48 73.3c0 44.2 35.8 80 80 80s80-35.8 80-80c0-32.8-19.7-61-48-73.3l0-54.7 256 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-54.7c28.3-12.3 48-40.5 48-73.3c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 32.8 19.7 61 48 73.3l0 54.7-320 0 0-54.7zM488 96a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM320 392a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),docLink:"https://docs.themeisle.com/article/2051-timeline-block"}].sort(((e,t)=>e.name.localeCompare(t.name)))),ce=({block:e,isLoading:t,onToggle:s})=>{var l;return(0,c.jsxs)("div",{className:"o-block-card",children:[(0,c.jsx)("div",{className:a()("o-block-card__icon",{"is-disabled":e?.isPro&&!otterObj?.hasPro}),children:(0,k.isString)(e.icon)?(0,c.jsx)("span",{className:`dashicons dashicons-${e.icon}`}):e.icon?.()}),(0,c.jsxs)("div",{className:"o-block-card__description",children:[(0,c.jsx)("h3",{children:e.name}),(0,c.jsx)("a",{href:null!==(l=e?.docLink)&&void 0!==l?l:"https://docs.themeisle.com/category/1611-blocks-library",target:"_blank",rel:"noopener noreferrer",children:(0,n.__)("Learn More","otter-blocks")}),e?.isPro&&!otterObj?.hasPro&&(0,c.jsxs)(o.Fragment,{children:["|",(0,c.jsx)("a",{href:otterObj.upgradeLink,target:"_blank",rel:"noopener noreferrer",children:(0,n.__)("Get Pro","otter-blocks")})]})]}),(0,c.jsx)("div",{className:"o-block-card__action",children:t?(0,c.jsx)(i.Spinner,{}):!e?.isPro||otterObj?.hasPro&&"valid"===otterObj?.license.valid?(0,c.jsx)(i.ToggleControl,{checked:!e?.isDisabled,onChange:s}):(0,c.jsx)("span",{className:"o-block-upsell",children:(0,n.__)("Pro","otter-blocks")})})]})},de=({blocks:e,onDisableAll:t,onEnableAll:s,canDisplayBtn:o})=>{const l=e.every((e=>!e.isDisabled)),a=e.every((e=>e.isDisabled));return(0,c.jsxs)("div",{className:"o-blocks-header",children:[(0,c.jsx)("div",{className:"o-blocks-header__left",children:(0,c.jsx)("h3",{children:(0,n.__)("Otter Blocks","otter-blocks")})}),o&&(0,c.jsxs)("div",{className:"o-blocks-header__right",children:[(0,c.jsx)(i.Button,{variant:"secondary",disabled:a,onClick:t,children:(0,n.__)("Disable All","otter-blocks")}),(0,c.jsx)(i.Button,{variant:"primary",disabled:l,onClick:s,children:(0,n.__)("Enable All","otter-blocks")})]})]})};var he=()=>{const[e,t]=(0,o.useState)(re),[s,l]=(0,o.useState)(!1),{preferencesHiddenBlocks:a,isLoading:i}=(0,v.useSelect)((e=>{const t=e("core/preferences")?.get("core/edit-post","hiddenBlockTypes"),s=e("core/preferences").isResolving("get",["hiddenBlockTypes"]);return{preferencesHiddenBlocks:t?new Set(t):void 0,isLoading:s}}),[e]),r=e=>{const t=new Set;a&&a.forEach((e=>{t.add(e)})),e.forEach((e=>{e.isDisabled?t.add(e.slug):t.delete(e.slug)})),(0,v.dispatch)("core/preferences").set("core/edit-post","hiddenBlockTypes",[...t])};return(0,o.useEffect)((()=>{window.tsdk_reposition_notice&&window.tsdk_reposition_notice()}),[]),(0,o.useEffect)((()=>{if(i)return;const s=e.map((e=>(a?.has(e.slug)?e.isDisabled=!0:e.isDisabled=!1,e)));t(s)}),[i]),(0,o.useEffect)((()=>{s&&!i&&((0,v.dispatch)?.("core/notices")?.createNotice("info",(0,n.__)("Option Updated.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"saved-options"}),l(!1))}),[s,a,i]),(0,c.jsxs)(o.Fragment,{children:[(0,c.jsx)(de,{blocks:e,onDisableAll:()=>{const s=e.map((e=>(e.isPro&&!otterObj.hasPro||(e.isDisabled=!0),e)));r(s),t(s),l(!0)},onEnableAll:()=>{const s=e.map((e=>(e.isDisabled=!1,e)));r(s),t(s),l(!0)},canDisplayBtn:!i}),(0,c.jsx)("div",{className:"o-block-cards",children:e.map((s=>(0,c.jsx)(ce,{block:s,isLoading:i,onToggle:()=>(s=>{const o=e.map((e=>(e.slug===s&&(e.isDisabled=!e.isDisabled),e)));r(o),t(o),l(!0)})(s.slug)},s.slug)))})]})},ue=e=>(0,c.jsx)("div",{className:"otter-deal",children:(0,c.jsxs)("a",{href:e.link,target:"_blank",rel:"external noreferrer noopener",children:[(0,c.jsx)("img",{src:e.image,alt:e.alt}),(0,c.jsx)("div",{className:"o-urgency",children:e.urgencyText})]})}),be=()=>(0,c.jsxs)("div",{className:"otter-nv-sidebar-upsell o-welcome",children:[(0,c.jsxs)("div",{className:"otter-nv-sidebar-left",children:[(0,c.jsx)("div",{className:"otter-nv-sidebar-heading",children:(0,c.jsx)("h2",{children:(0,n.__)("Welcome to Otter!","otter-blocks")})}),(0,c.jsx)("div",{className:"otter-nv-sidebar-text",children:(0,c.jsx)("p",{children:(0,n.__)("We're excited to help you build beautiful, fast, and flexible WordPress sites. Explore our powerful blocks and customization tools — your site-building journey just got a whole lot easier.","otter-blocks")})}),(0,c.jsxs)("div",{className:"otter-nv-sidebar-action",children:[(0,c.jsx)(i.Button,{variant:"primary",href:window.otterObj?.newPageUrl,children:(0,n.__)("Create New Page","otter-blocks")}),(0,c.jsx)(i.Button,{icon:"external",iconPosition:"right",variant:"secondary",href:window.otterObj?.otterPage,target:"_blank",children:(0,n.__)("Learn More","otter-blocks")})]})]}),(0,c.jsx)("div",{className:"otter-nv-sidebar-right",children:(0,c.jsx)("iframe",{src:"https://www.youtube.com/embed/WcS2Vi4IOYw",title:"Otter - Page Builder Blocks & Extensions for Gutenberg",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowfullscreen:!0})})]});let pe=!1;if("undefined"!=typeof window&&window.location){const e=new URLSearchParams(window.location.search);pe="true"===e.get("welcome")}var me=({currentTab:e,setTab:t})=>{const[s,l,a]=S(),d=(0,r.applyFilters)("otter.feedback","","dashboard",(0,n.__)("Share your Feedback","otter-blocks"),"secondary");if("loading"===a)return(0,c.jsx)(i.Placeholder,{children:(0,c.jsx)(i.Spinner,{})});const h=()=>{switch(e){case"integrations":return(0,c.jsx)("div",{className:"otter-left",children:(0,c.jsx)(ee,{})});case"upsell":return(0,c.jsx)(G,{});case"feedback":return(0,c.jsx)(se,{});case"blocks":return(0,c.jsx)(he,{});default:return(0,c.jsx)("div",{className:"otter-left",children:(0,c.jsx)(H,{status:a,getOption:s,updateOption:l})})}};return(0,c.jsxs)(o.Fragment,{children:[window.otterObj?.deal?.active&&window.otterObj.deal?.bannerStoreUrl&&(0,c.jsx)(ue,{link:window.otterObj.deal.bannerStoreUrl,image:window.otterObj.deal.bannerUrl,alt:window.otterObj.deal.bannerAlt,urgencyText:window.otterObj.deal.urgencyText}),(0,c.jsx)("div",{id:"tsdk_banner",className:"otter-banner"}),pe&&(0,c.jsx)(be,{}),(0,c.jsxs)("div",{className:`otter-main is-${e}`,children:["dashboard"===e&&window.otterObj.showFeedbackNotice&&(0,c.jsxs)(ae,{slug:"feedback",children:[(0,c.jsx)("img",{src:window.otterObj.assetsPath+"images/dashboard-feedback.png",style:{maxWidth:"100%",objectFit:"cover"}}),(0,c.jsxs)("div",{className:"notice-text",children:[(0,c.jsx)("h3",{children:(0,n.__)("What's the one thing you need in Otter Blocks?","otter-blocks")}),(0,c.jsx)("span",{children:(0,n.__)("We're always looking for suggestions to further improve Otter Blocks and your feedback can help us do that.","otter-blocks")})]}),(0,c.jsx)("span",{children:d})]}),(0,c.jsx)(h,{}),"upsell"!==e&&"blocks"!==e&&(0,c.jsx)("div",{className:"otter-right",children:(0,c.jsx)(Z,{setTab:t})})]})]})},_e=()=>(0,c.jsx)("footer",{className:"otter-footer",children:(0,c.jsx)("div",{className:"otter-container",children:(0,n.__)("No otters were harmed during the making of this plugin.","otter-blocks")})}),ke=()=>{const[e,t]=(0,o.useState)(!1),[s,l]=(0,o.useState)(window.otterObj?.neveInstalled),[a,r]=(0,o.useState)(!1),[d,h]=(0,o.useState)(null);return(0,o.useEffect)((()=>{Boolean(s)&&t(!0)}),[s]),(0,c.jsx)(o.Fragment,{children:!e&&(0,c.jsxs)("div",{className:"otter-nv-sidebar-upsell",children:[(0,c.jsxs)("div",{className:"otter-nv-sidebar-left",children:[(0,c.jsxs)("div",{className:"otter-nv-sidebar-heading",children:[(0,c.jsx)("img",{src:window.otterObj.assetsPath+"images/neve-logo.png"}),(0,c.jsx)("h2",{children:(0,n.__)("- Experience lightning fast performance!","otter-blocks")})]}),(0,c.jsx)("div",{className:"otter-nv-sidebar-text",children:(0,c.jsxs)("p",{children:[(0,c.jsx)("strong",{children:(0,n.__)("Fast, Flexible, and Free:","otter-blocks")})," ",(0,n.__)("Whether you're managing a blog, an online store, or a business website, Neve ensures top-tier responsiveness and SEO optimization. Install now and experience the difference today.","otter-blocks")]})}),(0,c.jsxs)("div",{className:"otter-nv-sidebar-active-website",children:[(0,c.jsxs)("div",{children:[(0,c.jsx)("span",{children:"300,000+"}),(0,n.__)("Active websites","otter-blocks")]}),(0,c.jsxs)("div",{children:[(0,c.jsx)("span",{children:"1050+"}),(0,c.jsx)("img",{src:window.otterObj.assetsPath+"images/star.png",width:"57"})]})]}),(0,c.jsxs)("div",{className:"otter-nv-sidebar-action",children:[!a&&"done"!==d&&(0,c.jsx)(i.Button,{variant:"primary",onClick:async e=>{var t;e.preventDefault(),r(!0),h("installing"),await new Promise((e=>{wp.updates.ajax("install-theme",{slug:"neve",success:()=>{e({success:!0})},error:t=>{e({success:!1,code:t.errorCode})}})})),h("activating"),await(t=window.otterObj?.neveThemeActivationUrl,new Promise((e=>{jQuery.get(t).done((()=>{e({success:!0})})).fail((()=>{e({success:!1})}))}))),h("done")},children:(0,n.__)("Install & Activate Neve Theme","otter-blocks")}),(a||"done"===d)&&("done"===d?(0,c.jsxs)("div",{className:"done",children:[(0,c.jsxs)("p",{children:[" ",(0,n.__)("Awesome! You are all set!","otter-blocks")]}),(0,c.jsx)(i.Button,{icon:"external",isPrimary:!0,href:window.otterObj?.neveDashboardUrl,target:"_blank",children:(0,n.__)("Go to Neve dashboard","otter-blocks")})]}):d?(0,c.jsxs)("p",{className:"otter-neve-progress",children:[(0,c.jsx)("span",{className:"dashicons dashicons-update spin"}),(0,c.jsxs)("span",{children:["installing"===d&&(0,n.__)("Installing","otter-blocks"),"activating"===d&&(0,n.__)("Activating","otter-blocks"),"…"]})]}):void 0),!a&&"done"!==d&&(0,c.jsx)(i.Button,{icon:"external",iconPosition:"right",variant:"secondary",href:window.otterObj?.neveThemePreviewUrl,target:"_blank",children:(0,n.__)("Theme Preview","otter-blocks")})]})]}),(0,c.jsx)("div",{className:"otter-nv-sidebar-right",children:(0,c.jsx)("img",{src:window.otterObj.assetsPath+"images/neve-upsell-img.png"})})]})})};void 0===window.otterUtils&&(window.otterUtils={}),window.otterUtils.useSettings=S;const ve=()=>{const[e,t]=(0,o.useState)(window.location.hash.slice(1));return(0,c.jsxs)(o.Fragment,{children:[void 0!==wp.notices.store&&(0,c.jsx)(g,{}),(0,c.jsx)(w,{isActive:e,setActive:t}),(0,c.jsx)(me,{currentTab:e,setTab:t}),(0,c.jsx)(ke,{}),(0,c.jsx)(_e,{})]})};(0,o.createRoot)(document.getElementById("otter")).render((0,c.jsx)(ve,{}))},942:function(e,t){var s;!function(){"use strict";var o={}.hasOwnProperty;function l(){for(var e="",t=0;t<arguments.length;t++){var s=arguments[t];s&&(e=i(e,a(s)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return l.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var s in e)o.call(e,s)&&e[s]&&(t=i(t,s));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(l.default=l,e.exports=l):void 0===(s=function(){return l}.apply(t,[]))||(e.exports=s)}()}},s={};function o(e){var l=s[e];if(void 0!==l)return l.exports;var a=s[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.m=t,e=[],o.O=function(t,s,l,a){if(!s){var i=1/0;for(d=0;d<e.length;d++){s=e[d][0],l=e[d][1],a=e[d][2];for(var n=!0,r=0;r<s.length;r++)(!1&a||i>=a)&&Object.keys(o.O).every((function(e){return o.O[e](s[r])}))?s.splice(r--,1):(n=!1,a<i&&(i=a));if(n){e.splice(d--,1);var c=l();void 0!==c&&(t=c)}}return t}a=a||0;for(var d=e.length;d>0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[s,l,a]},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={57:0,350:0};o.O.j=function(t){return 0===e[t]};var t=function(t,s){var l,a,i=s[0],n=s[1],r=s[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(l in n)o.o(n,l)&&(o.m[l]=n[l]);if(r)var d=r(o)}for(t&&t(s);c<i.length;c++)a=i[c],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return o.O(d)},s=self.webpackChunkotter_blocks=self.webpackChunkotter_blocks||[];s.forEach(t.bind(null,0)),s.push=t.bind(null,s.push.bind(s))}();var l=o.O(void 0,[350],(function(){return o(698)}));l=o.O(l)}();
© 2025 GrazzMean