Файловый менеджер - Редактировать - /home/admin/domains/octawebtools.com/public_html/wp-content/plugins/kadence-blocks/dist/blocks-testimonial.js
�азад
(()=>{var e={790:e=>{"use strict";e.exports=window.ReactJSXRuntime},1609:e=>{"use strict";e.exports=window.React},4510:e=>{"use strict";e.exports=window.kadence.helpers},4570:(e,t,n)=>{"use strict";n.d(t,{Nn:()=>un});var i=n(1609),o=n.n(i);function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var a="(prefers-reduced-motion: reduce)";function s(e){e.length=0}function c(e,t,n){return Array.prototype.slice.call(e,t,n)}function l(e){return e.bind.apply(e,[null].concat(c(arguments,1)))}var u=setTimeout,d=function(){};function f(e){return requestAnimationFrame(e)}function m(e,t){return typeof t===e}function p(e){return!b(e)&&m("object",e)}var v=Array.isArray,g=l(m,"function"),h=l(m,"string"),y=l(m,"undefined");function b(e){return null===e}function k(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function x(e){return v(e)?e:[e]}function w(e,t){x(e).forEach(t)}function S(e,t){return e.indexOf(t)>-1}function _(e,t){return e.push.apply(e,x(t)),e}function C(e,t,n){e&&w(t,function(t){t&&e.classList[n?"add":"remove"](t)})}function j(e,t){C(e,h(t)?t.split(" "):t,!0)}function E(e,t){w(t,e.appendChild.bind(e))}function z(e,t){w(e,function(e){var n=(t||e).parentNode;n&&n.insertBefore(e,t)})}function I(e,t){return k(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function P(e,t){var n=e?c(e.children):[];return t?n.filter(function(e){return I(e,t)}):n}function N(e,t){return t?P(e,t)[0]:e.firstElementChild}var R=Object.keys;function L(e,t,n){return e&&(n?R(e).reverse():R(e)).forEach(function(n){"__proto__"!==n&&t(e[n],n)}),e}function O(e){return c(arguments,1).forEach(function(t){L(t,function(n,i){e[i]=t[i]})}),e}function M(e){return c(arguments,1).forEach(function(t){L(t,function(t,n){v(t)?e[n]=t.slice():p(t)?e[n]=M({},p(e[n])?e[n]:{},t):e[n]=t})}),e}function A(e,t){w(t||R(e),function(t){delete e[t]})}function T(e,t){w(e,function(e){w(t,function(t){e&&e.removeAttribute(t)})})}function D(e,t,n){p(t)?L(t,function(t,n){D(e,n,t)}):w(e,function(e){b(n)||""===n?T(e,t):e.setAttribute(t,String(n))})}function B(e,t,n){var i=document.createElement(e);return t&&(h(t)?j(i,t):D(i,t)),n&&E(n,i),i}function F(e,t,n){if(y(n))return getComputedStyle(e)[t];b(n)||(e.style[t]=""+n)}function K(e,t){F(e,"display",t)}function W(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function q(e,t){return e.getAttribute(t)}function G(e,t){return e&&e.classList.contains(t)}function V(e){return e.getBoundingClientRect()}function X(e){w(e,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function H(e){return N((new DOMParser).parseFromString(e,"text/html").body)}function U(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function Q(e,t){return e&&e.querySelector(t)}function Y(e,t){return t?c(e.querySelectorAll(t)):[]}function $(e,t){C(e,t,!1)}function J(e){return e.timeStamp}function Z(e){return h(e)?e:e?e+"px":""}var ee="splide",te="data-"+ee;function ne(e,t){if(!e)throw new Error("["+ee+"] "+(t||""))}var ie=Math.min,oe=Math.max,re=Math.floor,ae=Math.ceil,se=Math.abs;function ce(e,t,n){return se(e-t)<n}function le(e,t,n,i){var o=ie(t,n),r=oe(t,n);return i?o<e&&e<r:o<=e&&e<=r}function ue(e,t,n){var i=ie(t,n),o=oe(t,n);return ie(oe(i,e),o)}function de(e){return+(e>0)-+(e<0)}function fe(e,t){return w(t,function(t){e=e.replace("%s",""+t)}),e}function me(e){return e<10?"0"+e:""+e}var pe={};function ve(){var e=[];function t(e,t,n){w(e,function(e){e&&w(t,function(t){t.split(" ").forEach(function(t){var i=t.split(".");n(e,i[0],i[1])})})})}return{bind:function(n,i,o,r){t(n,i,function(t,n,i){var a="addEventListener"in t,s=a?t.removeEventListener.bind(t,n,o,r):t.removeListener.bind(t,o);a?t.addEventListener(n,o,r):t.addListener(o),e.push([t,n,i,o,s])})},unbind:function(n,i,o){t(n,i,function(t,n,i){e=e.filter(function(e){return!!(e[0]!==t||e[1]!==n||e[2]!==i||o&&e[3]!==o)||(e[4](),!1)})})},dispatch:function(e,t,n){var i,o=!0;return"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:o,detail:n}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,o,!1,n),e.dispatchEvent(i),i},destroy:function(){e.forEach(function(e){e[4]()}),s(e)}}}var ge="mounted",he="ready",ye="move",be="moved",ke="click",xe="active",we="inactive",Se="visible",_e="hidden",Ce="refresh",je="updated",Ee="resize",ze="resized",Ie="drag",Pe="dragging",Ne="dragged",Re="scroll",Le="scrolled",Oe="destroy",Me="arrows:mounted",Ae="arrows:updated",Te="pagination:mounted",De="pagination:updated",Be="navigation:mounted",Fe="autoplay:play",Ke="autoplay:playing",We="autoplay:pause",qe="lazyload:loaded",Ge="ei";function Ve(e){var t=e?e.event.bus:document.createDocumentFragment(),n=ve();return e&&e.event.on(Oe,n.destroy),O(n,{bus:t,on:function(e,i){n.bind(t,x(e).join(" "),function(e){i.apply(i,v(e.detail)?e.detail:[])})},off:l(n.unbind,t),emit:function(e){n.dispatch(t,e,c(arguments,1))}})}function Xe(e,t,n,i){var o,r,a=Date.now,s=0,c=!0,l=0;function u(){if(!c){if(s=e?ie((a()-o)/e,1):1,n&&n(s),s>=1&&(t(),o=a(),i&&++l>=i))return d();r=f(u)}}function d(){c=!0}function m(){r&&cancelAnimationFrame(r),s=0,r=0,c=!0}return{start:function(t){t||m(),o=a()-(t?s*e:0),c=!1,r=f(u)},rewind:function(){o=a(),s=0,n&&n(s)},pause:d,cancel:m,set:function(t){e=t},isPaused:function(){return c}}}var He="Arrow",Ue=He+"Left",Qe=He+"Right",Ye=He+"Up",$e=He+"Down",Je="ttb",Ze={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Ye,Qe],ArrowRight:[$e,Ue]},et="role",tt="tabindex",nt="aria-",it=nt+"controls",ot=nt+"current",rt=nt+"selected",at=nt+"label",st=nt+"labelledby",ct=nt+"hidden",lt=nt+"orientation",ut=nt+"roledescription",dt=nt+"live",ft=nt+"busy",mt=nt+"atomic",pt=[et,tt,"disabled",it,ot,at,st,ct,lt,ut],vt=ee+"__",gt="is-",ht=ee,yt=vt+"track",bt=vt+"list",kt=vt+"slide",xt=kt+"--clone",wt=kt+"__container",St=vt+"arrows",_t=vt+"arrow",Ct=_t+"--prev",jt=_t+"--next",Et=vt+"pagination",zt=Et+"__page",It=vt+"progress__bar",Pt=vt+"toggle",Nt=vt+"sr",Rt=gt+"initialized",Lt=gt+"active",Ot=gt+"prev",Mt=gt+"next",At=gt+"visible",Tt=gt+"loading",Dt=gt+"focus-in",Bt=gt+"overflow",Ft=[Lt,At,Ot,Mt,Tt,Dt,Bt],Kt={slide:kt,clone:xt,arrows:St,arrow:_t,prev:Ct,next:jt,pagination:Et,page:zt,spinner:vt+"spinner"},Wt="touchstart mousedown",qt="touchmove mousemove",Gt="touchend touchcancel mouseup click",Vt="slide",Xt="loop",Ht="fade";var Ut=te+"-interval",Qt={passive:!1,capture:!0},Yt={Spacebar:" ",Right:Qe,Left:Ue,Up:Ye,Down:$e};function $t(e){return e=h(e)?e:e.key,Yt[e]||e}var Jt="keydown",Zt=te+"-lazy",en=Zt+"-srcset",tn="["+Zt+"], ["+en+"]",nn=[" ","Enter"],on=Object.freeze({__proto__:null,Media:function(e,t,n){var i=e.state,o=n.breakpoints||{},r=n.reducedMotion||{},s=ve(),c=[];function l(e){e&&s.destroy()}function u(e,t){var n=matchMedia(t);s.bind(n,"change",d),c.push([e,n])}function d(){var t=i.is(7),o=n.direction,r=c.reduce(function(e,t){return M(e,t[1].matches?t[0]:{})},{});A(n),f(r),n.destroy?e.destroy("completely"===n.destroy):t?(l(!0),e.mount()):o!==n.direction&&e.refresh()}function f(t,o,r){M(n,t),o&&M(Object.getPrototypeOf(n),t),!r&&i.is(1)||e.emit(je,n)}return{setup:function(){var e="min"===n.mediaQuery;R(o).sort(function(t,n){return e?+t-+n:+n-+t}).forEach(function(t){u(o[t],"("+(e?"min":"max")+"-width:"+t+"px)")}),u(r,a),d()},destroy:l,reduce:function(e){matchMedia(a).matches&&(e?M(n,r):A(n,R(r)))},set:f}},Direction:function(e,t,n){return{resolve:function(e,t,i){var o="rtl"!==(i=i||n.direction)||t?i===Je?0:-1:1;return Ze[e]&&Ze[e][o]||e.replace(/width|left|right/i,function(e,t){var n=Ze[e.toLowerCase()][o]||e;return t>0?n.charAt(0).toUpperCase()+n.slice(1):n})},orient:function(e){return e*("rtl"===n.direction?1:-1)}}},Elements:function(e,t,n){var i,o,r,a=Ve(e),c=a.on,l=a.bind,u=e.root,d=n.i18n,f={},m=[],p=[],v=[];function h(){var e,t,r;i=k("."+yt),o=N(i,"."+bt),ne(i&&o,"A track/list element is missing."),_(m,P(o,"."+kt+":not(."+xt+")")),L({arrows:St,pagination:Et,prev:Ct,next:jt,bar:It,toggle:Pt},function(e,t){f[t]=k("."+e)}),O(f,{root:u,track:i,list:o,slides:m}),t=u.id||""+(e=ee)+me(pe[e]=(pe[e]||0)+1),r=n.role,u.id=t,i.id=i.id||t+"-track",o.id=o.id||t+"-list",!q(u,et)&&"SECTION"!==u.tagName&&r&&D(u,et,r),D(u,ut,d.carousel),D(o,et,"presentation"),b()}function y(e){var t=pt.concat("style");s(m),$(u,p),$(i,v),T([i,o],t),T(u,e?t:["style",ut])}function b(){$(u,p),$(i,v),p=x(ht),v=x(yt),j(u,p),j(i,v),D(u,at,n.label),D(u,st,n.labelledby)}function k(e){var t=Q(u,e);return t&&function(e,t){if(g(e.closest))return e.closest(t);for(var n=e;n&&1===n.nodeType&&!I(n,t);)n=n.parentElement;return n}(t,"."+ht)===u?t:void 0}function x(e){return[e+"--"+n.type,e+"--"+n.direction,n.drag&&e+"--draggable",n.isNavigation&&e+"--nav",e===ht&&Lt]}return O(f,{setup:h,mount:function(){c(Ce,y),c(Ce,h),c(je,b),l(document,Wt+" keydown",function(e){r="keydown"===e.type},{capture:!0}),l(u,"focusin",function(){C(u,Dt,!!r)})},destroy:y})},Slides:function(e,t,n){var i=Ve(e),o=i.on,r=i.emit,a=i.bind,c=t.Elements,u=c.slides,d=c.list,f=[];function m(){u.forEach(function(e,t){v(e,t,-1)})}function p(){b(function(e){e.destroy()}),s(f)}function v(t,n,i){var o=function(e,t,n,i){var o,r=Ve(e),a=r.on,s=r.emit,c=r.bind,u=e.Components,d=e.root,f=e.options,m=f.isNavigation,p=f.updateOnMove,v=f.i18n,g=f.pagination,h=f.slideFocus,y=u.Direction.resolve,b=q(i,"style"),k=q(i,at),x=n>-1,w=N(i,"."+wt);function S(){var o=e.splides.map(function(e){var n=e.splide.Components.Slides.getAt(t);return n?n.slide.id:""}).join(" ");D(i,at,fe(v.slideX,(x?n:t)+1)),D(i,it,o),D(i,et,h?"button":""),h&&T(i,ut)}function _(){o||j()}function j(){if(!o){var n=e.index;(r=E())!==G(i,Lt)&&(C(i,Lt,r),D(i,ot,m&&r||""),s(r?xe:we,z)),function(){var t=function(){if(e.is(Ht))return E();var t=V(u.Elements.track),n=V(i),o=y("left",!0),r=y("right",!0);return re(t[o])<=ae(n[o])&&re(n[r])<=ae(t[r])}(),n=!t&&(!E()||x);if(e.state.is([4,5])||D(i,ct,n||""),D(Y(i,f.focusableNodes||""),tt,n?-1:""),h&&D(i,tt,n?-1:0),t!==G(i,At)&&(C(i,At,t),s(t?Se:_e,z)),!t&&document.activeElement===i){var o=u.Slides.getAt(e.index);o&&W(o.slide)}}(),C(i,Ot,t===n-1),C(i,Mt,t===n+1)}var r}function E(){var i=e.index;return i===t||f.cloneStatus&&i===n}var z={index:t,slideIndex:n,slide:i,container:w,isClone:x,mount:function(){x||(i.id=d.id+"-slide"+me(t+1),D(i,et,g?"tabpanel":"group"),D(i,ut,v.slide),D(i,at,k||fe(v.slideLabel,[t+1,e.length]))),c(i,"click",l(s,ke,z)),c(i,"keydown",l(s,"sk",z)),a([be,"sh",Le],j),a(Be,S),p&&a(ye,_)},destroy:function(){o=!0,r.destroy(),$(i,Ft),T(i,pt),D(i,"style",b),D(i,at,k||"")},update:j,style:function(e,t,n){F(n&&w||i,e,t)},isWithin:function(n,i){var o=se(n-t);return x||!f.rewind&&!e.is(Xt)||(o=ie(o,e.length-o)),o<=i}};return z}(e,n,i,t);o.mount(),f.push(o),f.sort(function(e,t){return e.index-t.index})}function y(e){return e?_(function(e){return!e.isClone}):f}function b(e,t){y(t).forEach(e)}function _(e){return f.filter(g(e)?e:function(t){return h(e)?I(t.slide,e):S(x(e),t.index)})}return{mount:function(){m(),o(Ce,p),o(Ce,m)},destroy:p,update:function(){b(function(e){e.update()})},register:v,get:y,getIn:function(e){var i=t.Controller,o=i.toIndex(e),r=i.hasFocus()?1:n.perPage;return _(function(e){return le(e.index,o,o+r-1)})},getAt:function(e){return _(e)[0]},add:function(e,t){w(e,function(e){if(h(e)&&(e=H(e)),k(e)){var i=u[t];i?z(e,i):E(d,e),j(e,n.classes.slide),o=e,s=l(r,Ee),c=Y(o,"img"),(f=c.length)?c.forEach(function(e){a(e,"load error",function(){--f||s()})}):s()}var o,s,c,f}),r(Ce)},remove:function(e){X(_(e).map(function(e){return e.slide})),r(Ce)},forEach:b,filter:_,style:function(e,t,n){b(function(i){i.style(e,t,n)})},getLength:function(e){return e?u.length:f.length},isEnough:function(){return f.length>n.perPage}}},Layout:function(e,t,n){var i,o,r,a=Ve(e),s=a.on,c=a.bind,u=a.emit,d=t.Slides,f=t.Direction.resolve,m=t.Elements,v=m.root,g=m.track,h=m.list,y=d.getAt,b=d.style;function k(){i=n.direction===Je,F(v,"maxWidth",Z(n.width)),F(g,f("paddingLeft"),w(!1)),F(g,f("paddingRight"),w(!0)),x(!0)}function x(e){var t,a=V(v);(e||o.width!==a.width||o.height!==a.height)&&(F(g,"height",(t="",i&&(ne(t=S(),"height or heightRatio is missing."),t="calc("+t+" - "+w(!1)+" - "+w(!0)+")"),t)),b(f("marginRight"),Z(n.gap)),b("width",n.autoWidth?null:Z(n.fixedWidth)||(i?"":_())),b("height",Z(n.fixedHeight)||(i?n.autoHeight?null:_():S()),!0),o=a,u(ze),r!==(r=N())&&(C(v,Bt,r),u("overflow",r)))}function w(e){var t=n.padding,i=f(e?"right":"left");return t&&Z(t[i]||(p(t)?0:t))||"0px"}function S(){return Z(n.height||V(h).width*n.heightRatio)}function _(){var e=Z(n.gap);return"calc((100%"+(e&&" + "+e)+")/"+(n.perPage||1)+(e&&" - "+e)+")"}function j(){return V(h)[f("width")]}function E(e,t){var n=y(e||0);return n?V(n.slide)[f("width")]+(t?0:P()):0}function z(e,t){var n=y(e);if(n){var i=V(n.slide)[f("right")],o=V(h)[f("left")];return se(i-o)+(t?0:P())}return 0}function I(t){return z(e.length-1)-z(0)+E(0,t)}function P(){var e=y(0);return e&&parseFloat(F(e.slide,f("marginRight")))||0}function N(){return e.is(Ht)||I(!0)>j()}return{mount:function(){var e,t;k(),c(window,"resize load",(e=l(u,Ee),t=Xe(0,e,null,1),function(){t.isPaused()&&t.start()})),s([je,Ce],k),s(Ee,x)},resize:x,listSize:j,slideSize:E,sliderSize:I,totalSize:z,getPadding:function(e){return parseFloat(F(g,f("padding"+(e?"Right":"Left"))))||0},isOverflow:N}},Clones:function(e,t,n){var i,o=Ve(e),r=o.on,a=t.Elements,c=t.Slides,l=t.Direction.resolve,u=[];function d(){r(Ce,f),r([je,Ee],p),(i=v())&&(function(t){var i=c.get().slice(),o=i.length;if(o){for(;i.length<t;)_(i,i);_(i.slice(-t),i.slice(0,t)).forEach(function(r,s){var l=s<t,d=function(t,i){var o=t.cloneNode(!0);return j(o,n.classes.clone),o.id=e.root.id+"-clone"+me(i+1),o}(r.slide,s);l?z(d,i[0].slide):E(a.list,d),_(u,d),c.register(d,s-t+(l?0:o),r.index)})}}(i),t.Layout.resize(!0))}function f(){m(),d()}function m(){X(u),s(u),o.destroy()}function p(){var e=v();i!==e&&(i<e||!e)&&o.emit(Ce)}function v(){var i=n.clones;if(e.is(Xt)){if(y(i)){var o=n[l("fixedWidth")]&&t.Layout.slideSize(0);i=o&&ae(V(a.track)[l("width")]/o)||n[l("autoWidth")]&&e.length||2*n.perPage}}else i=0;return i}return{mount:d,destroy:m}},Move:function(e,t,n){var i,o=Ve(e),r=o.on,a=o.emit,s=e.state.set,c=t.Layout,l=c.slideSize,u=c.getPadding,d=c.totalSize,f=c.listSize,m=c.sliderSize,p=t.Direction,v=p.resolve,g=p.orient,h=t.Elements,b=h.list,k=h.track;function x(){t.Controller.isBusy()||(t.Scroll.cancel(),w(e.index),t.Slides.update())}function w(e){S(E(e,!0))}function S(n,i){if(!e.is(Ht)){var o=i?n:function(n){if(e.is(Xt)){var i=j(n),o=i>t.Controller.getEnd();(i<0||o)&&(n=_(n,o))}return n}(n);F(b,"transform","translate"+v("X")+"("+o+"px)"),n!==o&&a("sh")}}function _(e,t){var n=e-I(t),i=m();return e-g(i*(ae(se(n)/i)||1))*(t?1:-1)}function C(){S(z(),!0),i.cancel()}function j(e){for(var n=t.Slides.get(),i=0,o=1/0,r=0;r<n.length;r++){var a=n[r].index,s=se(E(a,!0)-e);if(!(s<=o))break;o=s,i=a}return i}function E(t,i){var o=g(d(t-1)-function(e){var t=n.focus;return"center"===t?(f()-l(e,!0))/2:+t*l(e)||0}(t));return i?function(t){return n.trimSpace&&e.is(Vt)&&(t=ue(t,0,g(m(!0)-f()))),t}(o):o}function z(){var e=v("left");return V(b)[e]-V(k)[e]+g(u(!1))}function I(e){return E(e?t.Controller.getEnd():0,!!n.trimSpace)}return{mount:function(){i=t.Transition,r([ge,ze,je,Ce],x)},move:function(e,t,n,o){var r,c;e!==t&&(r=e>n,c=g(_(z(),r)),r?c>=0:c<=b[v("scrollWidth")]-V(k)[v("width")])&&(C(),S(_(z(),e>n),!0)),s(4),a(ye,t,n,e),i.start(t,function(){s(3),a(be,t,n,e),o&&o()})},jump:w,translate:S,shift:_,cancel:C,toIndex:j,toPosition:E,getPosition:z,getLimit:I,exceededLimit:function(e,t){t=y(t)?z():t;var n=!0!==e&&g(t)<g(I(!1)),i=!1!==e&&g(t)>g(I(!0));return n||i},reposition:x}},Controller:function(e,t,n){var i,o,r,a,s=Ve(e),c=s.on,u=s.emit,d=t.Move,f=d.getPosition,m=d.getLimit,p=d.toPosition,v=t.Slides,g=v.isEnough,b=v.getLength,k=n.omitEnd,x=e.is(Xt),w=e.is(Vt),S=l(I,!1),_=l(I,!0),C=n.start||0,j=C;function E(){o=b(!0),r=n.perMove,a=n.perPage,i=R();var e=ue(C,0,k?i:o-1);e!==C&&(C=e,d.reposition())}function z(){i!==R()&&u(Ge)}function I(e,t){var n=r||(A()?1:a),o=P(C+n*(e?-1:1),C,!(r||A()));return-1===o&&w&&!ce(f(),m(!e),1)?e?0:i:t?o:N(o)}function P(t,s,c){if(g()||A()){var l=function(t){if(w&&"move"===n.trimSpace&&t!==C)for(var i=f();i===p(t,!0)&&le(t,0,e.length-1,!n.rewind);)t<C?--t:++t;return t}(t);l!==t&&(s=t,t=l,c=!1),t<0||t>i?t=r||!le(0,t,s,!0)&&!le(i,s,t,!0)?x?c?t<0?-(o%a||a):o:t:n.rewind?t<0?i:0:-1:L(O(t)):c&&t!==s&&(t=L(O(s)+(t<s?-1:1)))}else t=-1;return t}function N(e){return x?(e+o)%o||0:e}function R(){for(var e=o-(A()||x&&r?1:a);k&&e-- >0;)if(p(o-1,!0)!==p(e,!0)){e++;break}return ue(e,0,o-1)}function L(e){return ue(A()?e:a*e,0,i)}function O(e){return A()?ie(e,i):re((e>=i?o-1:e)/a)}function M(e){e!==C&&(j=C,C=e)}function A(){return!y(n.focus)||n.isNavigation}function T(){return e.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){E(),c([je,Ce,Ge],E),c(ze,z)},go:function(e,t,n){if(!T()){var o=function(e){var t=C;if(h(e)){var n=e.match(/([+\-<>])(\d+)?/)||[],o=n[1],r=n[2];"+"===o||"-"===o?t=P(C+ +(""+o+(+r||1)),C):">"===o?t=r?L(+r):S(!0):"<"===o&&(t=_(!0))}else t=x?e:ue(e,0,i);return t}(e),r=N(o);r>-1&&(t||r!==C)&&(M(r),d.move(o,r,j,n))}},scroll:function(e,n,o,r){t.Scroll.scroll(e,n,o,function(){var e=N(d.toIndex(f()));M(k?ie(e,i):e),r&&r()})},getNext:S,getPrev:_,getAdjacent:I,getEnd:R,setIndex:M,getIndex:function(e){return e?j:C},toIndex:L,toPage:O,toDest:function(e){var t=d.toIndex(e);return w?ue(t,0,i):t},hasFocus:A,isBusy:T}},Arrows:function(e,t,n){var i,o,r=Ve(e),a=r.on,s=r.bind,c=r.emit,u=n.classes,d=n.i18n,f=t.Elements,m=t.Controller,p=f.arrows,v=f.track,g=p,h=f.prev,y=f.next,b={};function k(){var e;!(e=n.arrows)||h&&y||(g=p||B("div",u.arrows),h=_(!0),y=_(!1),i=!0,E(g,[h,y]),!p&&z(g,v)),h&&y&&(O(b,{prev:h,next:y}),K(g,e?"":"none"),j(g,o=St+"--"+n.direction),e&&(a([ge,be,Ce,Le,Ge],C),s(y,"click",l(S,">")),s(h,"click",l(S,"<")),C(),D([h,y],it,v.id),c(Me,h,y))),a(je,x)}function x(){w(),k()}function w(){r.destroy(),$(g,o),i?(X(p?[h,y]:g),h=y=null):T([h,y],pt)}function S(e){m.go(e,!0)}function _(e){return H('<button class="'+u.arrow+" "+(e?u.prev:u.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(n.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function C(){if(h&&y){var t=e.index,n=m.getPrev(),i=m.getNext(),o=n>-1&&t<n?d.last:d.prev,r=i>-1&&t>i?d.first:d.next;h.disabled=n<0,y.disabled=i<0,D(h,at,o),D(y,at,r),c(Ae,h,y,n,i)}}return{arrows:b,mount:k,destroy:w,update:C}},Autoplay:function(e,t,n){var i,o,r=Ve(e),a=r.on,s=r.bind,c=r.emit,l=Xe(n.interval,e.go.bind(e,">"),function(e){var t=d.bar;t&&F(t,"width",100*e+"%"),c(Ke,e)}),u=l.isPaused,d=t.Elements,f=t.Elements,m=f.root,p=f.toggle,v=n.autoplay,g="pause"===v;function h(){u()&&t.Slides.isEnough()&&(l.start(!n.resetProgress),o=i=g=!1,k(),c(Fe))}function y(e){void 0===e&&(e=!0),g=!!e,k(),u()||(l.pause(),c(We))}function b(){g||(i||o?y(!1):h())}function k(){p&&(C(p,Lt,!g),D(p,at,n.i18n[g?"play":"pause"]))}function x(e){var i=t.Slides.getAt(e);l.set(i&&+q(i.slide,Ut)||n.interval)}return{mount:function(){v&&(n.pauseOnHover&&s(m,"mouseenter mouseleave",function(e){i="mouseenter"===e.type,b()}),n.pauseOnFocus&&s(m,"focusin focusout",function(e){o="focusin"===e.type,b()}),p&&s(p,"click",function(){g?h():y(!0)}),a([ye,Re,Ce],l.rewind),a(ye,x),p&&D(p,it,d.track.id),g||h(),k())},destroy:l.cancel,play:h,pause:y,isPaused:u}},Cover:function(e,t,n){var i=Ve(e).on;function o(e){t.Slides.forEach(function(t){var n=N(t.container||t.slide,"img");n&&n.src&&r(e,n,t)})}function r(e,t,n){n.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),K(t,e?"none":"")}return{mount:function(){n.cover&&(i(qe,l(r,!0)),i([ge,je,Ce],l(o,!0)))},destroy:l(o,!1)}},Scroll:function(e,t,n){var i,o,r=Ve(e),a=r.on,s=r.emit,c=e.state.set,u=t.Move,d=u.getPosition,f=u.getLimit,m=u.exceededLimit,p=u.translate,v=e.is(Vt),g=1;function h(e,n,r,a,f){var p=d();if(k(),r&&(!v||!m())){var h=t.Layout.sliderSize(),x=de(e)*h*re(se(e)/h)||0;e=u.toPosition(t.Controller.toDest(e%h))+x}var w=ce(p,e,1);g=1,n=w?0:n||oe(se(e-p)/1.5,800),o=a,i=Xe(n,y,l(b,p,e,f),1),c(5),s(Re),i.start()}function y(){c(3),o&&o(),s(Le)}function b(e,t,i,r){var a,s,c=d(),l=(e+(t-e)*(a=r,(s=n.easingFunc)?s(a):1-Math.pow(1-a,4))-c)*g;p(c+l),v&&!i&&m()&&(g*=.6,se(l)<10&&h(f(m(!0)),600,!1,o,!0))}function k(){i&&i.cancel()}function x(){i&&!i.isPaused()&&(k(),y())}return{mount:function(){a(ye,k),a([je,Ce],x)},destroy:k,scroll:h,cancel:x}},Drag:function(e,t,n){var i,o,r,a,s,c,l,u,f=Ve(e),m=f.on,v=f.emit,g=f.bind,h=f.unbind,y=e.state,b=t.Move,k=t.Scroll,x=t.Controller,w=t.Elements.track,S=t.Media.reduce,_=t.Direction,C=_.resolve,j=_.orient,E=b.getPosition,z=b.exceededLimit,P=!1;function N(){var e=n.drag;W(!e),a="free"===e}function R(e){if(c=!1,!l){var t=K(e);i=e.target,o=n.noDrag,I(i,"."+zt+", ."+_t)||o&&I(i,o)||!t&&e.button||(x.isBusy()?U(e,!0):(u=t?w:window,s=y.is([4,5]),r=null,g(u,qt,L,Qt),g(u,Gt,O,Qt),b.cancel(),k.cancel(),A(e)))}var i,o}function L(t){if(y.is(6)||(y.set(6),v(Ie)),t.cancelable)if(s){b.translate(i+T(t)/(P&&e.is(Vt)?5:1));var o=D(t)>200,r=P!==(P=z());(o||r)&&A(t),c=!0,v(Pe),U(t)}else(function(e){return se(T(e))>se(T(e,!0))})(t)&&(s=function(e){var t=n.dragMinThreshold,i=p(t),o=i&&t.mouse||0,r=(i?t.touch:+t)||10;return se(T(e))>(K(e)?r:o)}(t),U(t))}function O(i){y.is(6)&&(y.set(3),v(Ne)),s&&(function(i){var o=function(t){if(e.is(Xt)||!P){var n=D(t);if(n&&n<200)return T(t)/n}return 0}(i),r=function(e){return E()+de(e)*ie(se(e)*(n.flickPower||600),a?1/0:t.Layout.listSize()*(n.flickMaxPages||1))}(o),s=n.rewind&&n.rewindByDrag;S(!1),a?x.scroll(r,0,n.snap):e.is(Ht)?x.go(j(de(o))<0?s?"<":"-":s?">":"+"):e.is(Vt)&&P&&s?x.go(z(!0)?">":"<"):x.go(x.toDest(r),!0),S(!0)}(i),U(i)),h(u,qt,L),h(u,Gt,O),s=!1}function M(e){!l&&c&&U(e,!0)}function A(e){r=o,o=e,i=E()}function T(e,t){return F(e,t)-F(B(e),t)}function D(e){return J(e)-J(B(e))}function B(e){return o===e&&r||o}function F(e,t){return(K(e)?e.changedTouches[0]:e)["page"+C(t?"Y":"X")]}function K(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function W(e){l=e}return{mount:function(){g(w,qt,d,Qt),g(w,Gt,d,Qt),g(w,Wt,R,Qt),g(w,"click",M,{capture:!0}),g(w,"dragstart",U),m([ge,je],N)},disable:W,isDragging:function(){return s}}},Keyboard:function(e,t,n){var i,o,r=Ve(e),a=r.on,s=r.bind,c=r.unbind,l=e.root,d=t.Direction.resolve;function f(){var e=n.keyboard;e&&(i="global"===e?window:l,s(i,Jt,v))}function m(){c(i,Jt)}function p(){var e=o;o=!0,u(function(){o=e})}function v(t){if(!o){var n=$t(t);n===d(Ue)?e.go("<"):n===d(Qe)&&e.go(">")}}return{mount:function(){f(),a(je,m),a(je,f),a(ye,p)},destroy:m,disable:function(e){o=e}}},LazyLoad:function(e,t,n){var i=Ve(e),o=i.on,r=i.off,a=i.bind,c=i.emit,u="sequential"===n.lazyLoad,d=[be,Le],f=[];function m(){s(f),t.Slides.forEach(function(e){Y(e.slide,tn).forEach(function(t){var i=q(t,Zt),o=q(t,en);if(i!==t.src||o!==t.srcset){var r=n.classes.spinner,a=t.parentElement,s=N(a,"."+r)||B("span",r,a);f.push([t,e,s]),t.src||K(t,"none")}})}),u?h():(r(d),o(d,p),p())}function p(){(f=f.filter(function(t){var i=n.perPage*((n.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,i)||v(t)})).length||r(d)}function v(e){var t=e[0];j(e[1].slide,Tt),a(t,"load error",l(g,e)),D(t,"src",q(t,Zt)),D(t,"srcset",q(t,en)),T(t,Zt),T(t,en)}function g(e,t){var n=e[0],i=e[1];$(i.slide,Tt),"error"!==t.type&&(X(e[2]),K(n,""),c(qe,n,i),c(Ee)),u&&h()}function h(){f.length&&v(f.shift())}return{mount:function(){n.lazyLoad&&(m(),o(Ce,m))},destroy:l(s,f),check:p}},Pagination:function(e,t,n){var i,o,r=Ve(e),a=r.on,u=r.emit,d=r.bind,f=t.Slides,m=t.Elements,p=t.Controller,v=p.hasFocus,g=p.getIndex,h=p.go,y=t.Direction.resolve,b=m.pagination,k=[];function x(){i&&(X(b?c(i.children):i),$(i,o),s(k),i=null),r.destroy()}function w(e){h(">"+e,!0)}function S(e,t){var n=k.length,i=$t(t),o=_(),r=-1;i===y(Qe,!1,o)?r=++e%n:i===y(Ue,!1,o)?r=(--e+n)%n:"Home"===i?r=0:"End"===i&&(r=n-1);var a=k[r];a&&(W(a.button),h(">"+r),U(t,!0))}function _(){return n.paginationDirection||n.direction}function C(e){return k[p.toPage(e)]}function E(){var e=C(g(!0)),t=C(g());if(e){var n=e.button;$(n,Lt),T(n,rt),D(n,tt,-1)}if(t){var o=t.button;j(o,Lt),D(o,rt,!0),D(o,tt,"")}u(De,{list:i,items:k},e,t)}return{items:k,mount:function t(){x(),a([je,Ce,Ge],t);var r=n.pagination;b&&K(b,r?"":"none"),r&&(a([ye,Re,Le],E),function(){var t=e.length,r=n.classes,a=n.i18n,s=n.perPage,c=v()?p.getEnd()+1:ae(t/s);j(i=b||B("ul",r.pagination,m.track.parentElement),o=Et+"--"+_()),D(i,et,"tablist"),D(i,at,a.select),D(i,lt,_()===Je?"vertical":"");for(var u=0;u<c;u++){var g=B("li",null,i),h=B("button",{class:r.page,type:"button"},g),y=f.getIn(u).map(function(e){return e.slide.id}),x=!v()&&s>1?a.pageX:a.slideX;d(h,"click",l(w,u)),n.paginationKeyboard&&d(h,"keydown",l(S,u)),D(g,et,"presentation"),D(h,et,"tab"),D(h,it,y.join(" ")),D(h,at,fe(x,u+1)),D(h,tt,-1),k.push({li:g,button:h,page:u})}}(),E(),u(Te,{list:i,items:k},C(e.index)))},destroy:x,getAt:C,update:E}},Sync:function(e,t,n){var i=n.isNavigation,o=n.slideFocus,r=[];function a(){var t,n;e.splides.forEach(function(t){t.isParent||(u(e,t.splide),u(t.splide,e))}),i&&((n=(t=Ve(e)).on)(ke,f),n("sk",m),n([ge,je],d),r.push(t),t.emit(Be,e.splides))}function c(){r.forEach(function(e){e.destroy()}),s(r)}function u(e,t){var n=Ve(e);n.on(ye,function(e,n,i){t.go(t.is(Xt)?i:e)}),r.push(n)}function d(){D(t.Elements.list,lt,n.direction===Je?"vertical":"")}function f(t){e.go(t.index)}function m(e,t){S(nn,$t(t))&&(f(e),U(t))}return{setup:l(t.Media.set,{slideFocus:y(o)?i:o},!0),mount:a,destroy:c,remount:function(){c(),a()}}},Wheel:function(e,t,n){var i=Ve(e).bind,o=0;function r(i){if(i.cancelable){var r=i.deltaY,a=r<0,s=J(i),c=n.wheelMinThreshold||0,l=n.wheelSleep||0;se(r)>c&&s-o>l&&(e.go(a?"<":">"),o=s),function(i){return!n.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(i)}(a)&&U(i)}}return{mount:function(){n.wheel&&i(t.Elements.track,"wheel",r,Qt)}}},Live:function(e,t,n){var i=Ve(e).on,o=t.Elements.track,r=n.live&&!n.isNavigation,a=B("span",Nt),s=Xe(90,l(c,!1));function c(e){D(o,ft,e),e?(E(o,a),s.start()):(X(a),s.cancel())}function u(e){r&&D(o,dt,e?"off":"polite")}return{mount:function(){r&&(u(!t.Autoplay.isPaused()),D(o,mt,!0),a.textContent="…",i(Fe,l(u,!0)),i(We,l(u,!1)),i([be,Le],l(c,!0)))},disable:u,destroy:function(){T(o,[dt,mt,ft]),X(a)}}}}),rn={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Kt,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function an(e,t,n){var i=t.Slides;function o(){i.forEach(function(e){e.style("transform","translateX(-"+100*e.index+"%)")})}return{mount:function(){Ve(e).on([ge,Ce],o)},start:function(e,t){i.style("transition","opacity "+n.speed+"ms "+n.easing),u(t)},cancel:d}}function sn(e,t,n){var i,o=t.Move,r=t.Controller,a=t.Scroll,s=t.Elements.list,c=l(F,s,"transition");function u(){c(""),a.cancel()}return{mount:function(){Ve(e).bind(s,"transitionend",function(e){e.target===s&&i&&(u(),i())})},start:function(t,s){var l=o.toPosition(t,!0),u=o.getPosition(),d=function(t){var i=n.rewindSpeed;if(e.is(Vt)&&i){var o=r.getIndex(!0),a=r.getEnd();if(0===o&&t>=a||o>=a&&0===t)return i}return n.speed}(t);se(l-u)>=1&&d>=1?n.useScroll?a.scroll(l,d,!1,s):(c("transform "+d+"ms "+n.easing),o.translate(l,!0),i=s):(o.jump(t),s())},cancel:u}}var cn=function(){function e(t,n){var i;this.event=Ve(),this.Components={},this.state=(i=1,{set:function(e){i=e},is:function(e){return S(x(e),i)}}),this.splides=[],this._o={},this._E={};var o=h(t)?Q(document,t):t;ne(o,o+" is invalid."),this.root=o,n=M({label:q(o,at)||"",labelledby:q(o,st)||""},rn,e.defaults,n||{});try{M(n,JSON.parse(q(o,te)))}catch(e){ne(!1,"Invalid JSON")}this._o=Object.create(M({},n))}var t,n,i=e.prototype;return i.mount=function(e,t){var n=this,i=this.state,o=this.Components;return ne(i.is([1,7]),"Already mounted!"),i.set(1),this._C=o,this._T=t||this._T||(this.is(Ht)?an:sn),this._E=e||this._E,L(O({},on,this._E,{Transition:this._T}),function(e,t){var i=e(n,o,n._o);o[t]=i,i.setup&&i.setup()}),L(o,function(e){e.mount&&e.mount()}),this.emit(ge),j(this.root,Rt),i.set(3),this.emit(he),this},i.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},i.go=function(e){return this._C.Controller.go(e),this},i.on=function(e,t){return this.event.on(e,t),this},i.off=function(e){return this.event.off(e),this},i.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(c(arguments,1))),this},i.add=function(e,t){return this._C.Slides.add(e,t),this},i.remove=function(e){return this._C.Slides.remove(e),this},i.is=function(e){return this._o.type===e},i.refresh=function(){return this.emit(Ce),this},i.destroy=function(e){void 0===e&&(e=!0);var t=this.event,n=this.state;return n.is(1)?Ve(this).on(he,this.destroy.bind(this,e)):(L(this._C,function(t){t.destroy&&t.destroy(e)},!0),t.emit(Oe),t.destroy(),e&&s(this.splides),n.set(7)),this},t=e,(n=[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}])&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();cn.defaults={},cn.STATES={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function ln(...e){return e.filter(Boolean).join(" ")}var un=(o().Component,({children:e,className:t,...n})=>o().createElement("li",{className:ln("splide__slide",t),...n},e))},4715:e=>{"use strict";e.exports=window.wp.blockEditor},4997:e=>{"use strict";e.exports=window.wp.blocks},5573:e=>{"use strict";e.exports=window.wp.primitives},6087:e=>{"use strict";e.exports=window.wp.element},6427:e=>{"use strict";e.exports=window.wp.components},6942:(e,t)=>{var n;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,r(n)))}return e}function r(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)i.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},7143:e=>{"use strict";e.exports=window.wp.data},7723:e=>{"use strict";e.exports=window.wp.i18n},8468:e=>{"use strict";e.exports=window.lodash},9091:e=>{"use strict";e.exports=window.kadence.icons},9621:e=>{"use strict";e.exports=window.kadence.components}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{metadata:()=>t,name:()=>b});var e=n(4997);const t=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"title":"Testimonial","name":"kadence/testimonial","parent":["kadence/testimonials"],"category":"kadence-blocks","textdomain":"kadence-blocks","attributes":{"uniqueID":{"type":"string","default":""},"url":{"type":"string","default":"","__experimentalRole":"content"},"id":{"type":"number","default":"","__experimentalRole":"content"},"alt":{"type":"string","default":""},"width":{"type":"number","default":""},"height":{"type":"number","default":""},"maxWidth":{"type":"number","default":""},"subtype":{"type":"string","default":""},"media":{"type":"string","default":"image"},"icon":{"type":"string","default":"fas_quote-left"},"isize":{"type":"number","default":50},"tabletIsize":{"type":"number","default":""},"mobileIsize":{"type":"number","default":""},"istroke":{"type":"number","default":2},"ititle":{"type":"string","default":""},"color":{"type":"string","default":""},"title":{"type":"string","default":"","__experimentalRole":"content"},"content":{"type":"string","default":"","__experimentalRole":"content"},"name":{"type":"string","default":"","__experimentalRole":"content"},"occupation":{"type":"string","default":"","__experimentalRole":"content"},"rating":{"type":"number","default":5},"sizes":{"type":"object","default":{}},"inQueryBlock":{"type":"boolean","default":false},"useBlockQuoteTags":{"type":"boolean","default":true},"anchor":{"type":"string","default":""}},"usesContext":["postId","queryId","kadence/testimonials-layout","kadence/testimonials-displayOccupation","kadence/testimonials-displayContent","kadence/testimonials-displayTitle","kadence/testimonials-displayRating","kadence/testimonials-displayName","kadence/testimonials-displayIcon","kadence/testimonials-iconStyles","kadence/testimonials-style","kadence/testimonials-containerMaxWidth","kadence/testimonials-displayMedia","kadence/testimonials-titleFont","kadence/testimonials-ratingStyles","kadence/testimonials-mediaStyles","kadence/testimonials-containerVAlign"],"supports":{"anchor":true,"html":false,"kbMetadata":true,"kbContentLabel":"title"}}');var o=n(4510),r=n(4570),a=n(790);function s(e){const{attributes:t,setAttributes:n,clientId:i,parentBlock:s,parentBlockClientId:c,context:l,previewDevice:u}=e,d=l["kadence/testimonials-layout"],f=l["kadence/testimonials-columns"],m=l["kadence/testimonials-gap"],p=l["kadence/testimonials-gap-unit"];if(d&&"carousel"!==d)return e.children;const v=(0,o.getPreviewSize)(u,void 0!==f?.[0]?f[0]:3,void 0!==f?.[3]?f[3]:"",void 0!==f?.[5]?f[5]:""),g=(0,o.getPreviewSize)(u,void 0!==m?.[0]?m[0]:"",void 0!==m?.[1]?m[1]:"",void 0!==m?.[2]?m[2]:""),h=(0,o.getGapSizeOptionOutput)(g,p||"px");return(0,a.jsx)(r.Nn,{style:{marginRight:h,width:"calc(((100% + "+h+") / "+v+") - "+h+")"},children:e.children})}var c=n(9091),l=n(8468),u=n(9621),d=n(7723),f=n(6087),m=n(4715),p=n(7143),v=n(6427),g=n(5573);const h=(0,a.jsx)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(g.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"})}),y=(0,a.jsx)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(g.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})});n(6942);const{name:b}=t;(0,e.registerBlockType)("kadence/testimonial",{...t,title:(0,d._x)("Testimonial","block title","kadence-blocks"),keywords:[(0,d.__)("testimonial","kadence-blocks"),(0,d.__)("rating","kadence-blocks"),"KB"],icon:{src:c.testimonialSingleBlockIcon},edit:function(e){const{attributes:n,setAttributes:i,className:r,clientId:c,isSelected:g,context:b}=e,{uniqueID:k,url:x,id:w,media:S,icon:_,isize:C,istroke:j,ititle:E,color:z,title:I,content:P,name:N,occupation:R,rating:L,sizes:O,tabletIsize:M,mobileIsize:A,inQueryBlock:T}=n,D=b["kadence/testimonials-displayContent"],B=b["kadence/testimonials-displayTitle"],F=b["kadence/testimonials-displayRating"],K=b["kadence/testimonials-displayName"],W=b["kadence/testimonials-displayIcon"],q=b["kadence/testimonials-iconStyles"],G=b["kadence/testimonials-style"],V=b["kadence/testimonials-titleFont"],X=b["kadence/testimonials-displayOccupation"],H=b["kadence/testimonials-displayMedia"],U=b["kadence/testimonials-containerMaxWidth"],Q=b["kadence/testimonials-mediaStyles"],Y=b["kadence/testimonials-ratingStyles"],[$,J]=(0,f.useState)("general"),{previewDevice:Z}=(0,p.useSelect)(e=>({previewDevice:e("kadenceblocks/data").getPreviewDeviceType()}),[c]);(0,o.uniqueIdHelper)(e),(0,f.useEffect)(()=>{(0,o.setBlockDefaults)(t.name,n),b&&b.queryId&&b.postId?b.queryId!==T&&i({inQueryBlock:b.queryId}):T&&i({inQueryBlock:!1})},[]);const ee=(0,o.getPreviewSize)(Z,void 0!==C?C:"",void 0!==M?M:"",void 0!==A?A:""),te=["url","title","content","name","occupation"],ne=(0,m.useBlockProps)({}),ie=["image"],oe=()=>(0,a.jsx)("div",{className:"kt-svg-testimonial-global-icon-wrap",children:(0,a.jsx)(u.IconRender,{className:`kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-${q[0].icon}`,name:q[0].icon,size:q[0].size,title:q[0].title?q[0].title:"",strokeWidth:"fe"===q[0].icon.substring(0,2)?q[0].stroke:void 0,style:{color:q[0].color?(0,o.KadenceColorOutput)(q[0].color):void 0,background:q[0].background?(0,o.KadenceColorOutput)(q[0].background,void 0!==q[0].backgroundOpacity?q[0].backgroundOpacity:1):void 0}})}),re=()=>{let e=x;return(0,l.has)(O,"thumbnail")&&("card"===G&&U>500||Q[0].width>600?e=x:"card"===G&&U<=500&&U>100?O.large&&O.large.width>1e3&&(e=O.large.url):"card"===G&&U<=100?O.medium&&O.medium.width>200?e=O.medium.url:O.large&&O.large.width>200&&(e=O.large.url):Q[0].width<=600&&Q[0].width>100?O.large&&O.large.width>1e3&&(e=O.large.url):Q[0].width<=100&&Q[0].width>75?O.medium&&O.medium.width>200?e=O.medium.url:O.large&&O.large.width>200&&(e=O.large.url):Q[0].width<=75&&(O.thumbnail&&O.thumbnail.width>140?e=O.thumbnail.url:O.medium&&O.medium.width>140?e=O.medium.url:O.large&&O.large.width>200&&(e=O.large.url))),(0,a.jsx)("div",{className:"kt-testimonial-media-wrap",children:(0,a.jsx)("div",{className:"kt-testimonial-media-inner-wrap",children:(0,a.jsxs)("div",{className:"kadence-testimonial-image-intrisic",children:["icon"===S&&_&&(0,a.jsx)(u.IconRender,{className:`kt-svg-testimonial-icon kt-svg-testimonial-icon-${_}`,name:_,size:ee,title:E||"",strokeWidth:"fe"===_.substring(0,2)?j:void 0,style:{display:"flex",color:z?(0,o.KadenceColorOutput)(z):void 0}}),"icon"!==S&&x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.MediaUpload,{onSelect:e=>{i({id:e.id,url:e.url,alt:e.alt,subtype:e.subtype,sizes:e.sizes})},type:"image",value:w||"",allowedTypes:ie,render:({open:t})=>(0,a.jsx)(v.Tooltip,{text:(0,d.__)("Edit Image","kadence-blocks"),children:(0,a.jsx)(v.Button,{style:{backgroundImage:'url("'+e+'")',backgroundSize:"card"===G?Q[0].backgroundSize:void 0,borderRadius:Q[0].borderRadius+"px"},className:"kt-testimonial-image",onClick:t})})}),(0,a.jsx)(v.Button,{label:(0,d.__)("Remove Image","kadence-blocks"),className:"kt-remove-img kt-testimonial-remove-image",onClick:()=>{i({id:null,url:null,alt:null,subtype:null,sizes:null})},icon:h,showTooltip:!0})]}),"icon"!==S&&!x&&(0,a.jsxs)(f.Fragment,{children:["card"===G&&(0,a.jsx)(u.KadenceMediaPlaceholder,{onSelect:e=>{i({id:e.id,url:e.url,alt:e.alt,sizes:e.sizes,subtype:e.subtype})},value:"",allowedTypes:ie,onSelectURL:e=>{e!==x&&i({id:null,url:e,alt:null,sizes:null,subtype:null})},accept:"image/*",className:"kadence-image-upload"}),"card"!==G&&(0,a.jsx)(m.MediaUpload,{onSelect:e=>{i({id:e.id,url:e.url,alt:e.alt,sizes:e.sizes,subtype:e.subtype})},type:"image",value:"",allowedTypes:ie,render:({open:e})=>(0,a.jsx)(v.Button,{className:"kt-testimonial-image-placeholder","aria-label":(0,d.__)("Add Image","kadence-blocks"),icon:y,style:{borderRadius:Q[0].borderRadius+"px"},onClick:e})})]})]})})})};return(0,a.jsx)(s,{attributes:n,setAttributes:i,isSelected:g,clientId:c,context:b,previewDevice:Z,children:(0,a.jsxs)("div",{...ne,children:[(0,o.showSettings)("allSettings")&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.BlockControls,{children:(0,a.jsx)(u.CopyPasteAttributes,{attributes:n,excludedAttrs:te,defaultAttributes:t.attributes,blockSlug:t.name,onPaste:e=>i(e)})}),(0,a.jsxs)(m.InspectorControls,{children:[(0,a.jsx)(u.SelectParentBlock,{clientId:c}),(0,a.jsx)(u.InspectorControlTabs,{panelName:"icon",allowedTabs:["general","advanced"],setActiveTab:e=>J(e),activeTab:$}),"general"===$&&(0,a.jsx)(a.Fragment,{children:(0,o.showSettings)("individualSettings","kadence/testimonials")&&(0,a.jsx)(u.KadencePanelBody,{title:(0,d.__)("Individual Settings","kadence-blocks"),initialOpen:!0,panelName:"kb-testimonials-individual-settings",children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.SelectControl,{label:(0,d.__)("Media Type","kadence-blocks"),value:S,options:[{value:"image",label:(0,d.__)("Image","kadence-blocks")},{value:"icon",label:(0,d.__)("Icon","kadence-blocks")}],onChange:e=>i({media:e})}),"icon"===S&&(0,a.jsxs)(f.Fragment,{children:[(0,a.jsx)(u.KadenceIconPicker,{value:_,onChange:e=>{i({icon:e})}}),(0,a.jsx)(u.ResponsiveRangeControls,{label:(0,d.__)("Icon Size","kadence-blocks"),value:void 0!==C?C:"",onChange:e=>i({isize:e}),tabletValue:void 0!==M?M:"",onChangeTablet:e=>i({tabletIsize:e}),mobileValue:void 0!==A?A:"",onChangeMobile:e=>i({mobileIsize:e}),min:0,max:300,step:1,unit:"px",showUnit:!0,units:["px"]}),_&&"fe"===_.substring(0,2)&&(0,a.jsx)(v.RangeControl,{label:(0,d.__)("Line Width","kadence-blocks"),value:j,onChange:e=>{i({istroke:e})},step:.5,min:.5,max:4}),(0,a.jsx)(u.PopColorControl,{label:(0,d.__)("Icon Color","kadence-blocks"),value:z||"#555555",default:"#555555",onChange:e=>i({color:e})})]}),(0,a.jsx)(v.RangeControl,{label:(0,d.__)("Rating","kadence-blocks"),value:L,onChange:e=>{i({rating:e})},step:1,min:1,max:5})]})})}),"advanced"===$&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.KadenceBlockDefaults,{attributes:n,defaultAttributes:t.attributes,blockSlug:t.name,excludedAttrs:te})})]})]}),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:`kt-testimonial-item-wrap kt-testimonial-item-${k}`,children:[(0,a.jsxs)("div",{className:"kt-testimonial-text-wrap",children:[W&&q[0].icon&&"card"!==G&&oe(),H&&("card"===G||"inlineimage"===G)&&re(),W&&q[0].icon&&"card"===G&&oe(),B&&(0,a.jsx)("div",{className:"kt-testimonial-title-wrap",children:(0,a.jsx)(m.RichText,{tagName:"h"+V[0].level,value:I,onChange:e=>{i({title:e})},placeholder:(0,d.__)("Best product I have ever used!","kadence-blocks"),className:"kt-testimonial-title"})}),F&&(0,a.jsxs)("div",{className:`kt-testimonial-rating-wrap kt-testimonial-rating-${L}`,children:[(0,a.jsx)(u.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-1",name:"fas_star",size:void 0!==Y?.[0]?.size?Y[0].size:"1em",style:{color:void 0!==Y?.[0]?.color?(0,o.KadenceColorOutput)(Y[0].color):void 0}}),L>1&&(0,a.jsx)(u.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-2",name:"fas_star",size:void 0!==Y?.[0]?.size?Y[0].size:"1em",style:{color:void 0!==Y?.[0]?.color?(0,o.KadenceColorOutput)(Y[0].color):void 0}}),L>2&&(0,a.jsx)(u.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-3",name:"fas_star",size:void 0!==Y?.[0]?.size?Y[0].size:"1em",style:{color:void 0!==Y?.[0]?.color?(0,o.KadenceColorOutput)(Y[0].color):void 0}}),L>3&&(0,a.jsx)(u.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-4",name:"fas_star",size:void 0!==Y?.[0]?.size?Y[0].size:"1em",style:{color:void 0!==Y?.[0]?.color?(0,o.KadenceColorOutput)(Y[0].color):void 0}}),L>4&&(0,a.jsx)(u.IconRender,{className:"kt-svg-testimonial-rating-icon kt-svg-testimonial-rating-icon-5",name:"fas_star",size:void 0!==Y?.[0]?.size?Y[0].size:"1em",style:{color:void 0!==Y?.[0]?.color?(0,o.KadenceColorOutput)(Y[0].color):void 0}})]}),D&&(0,a.jsx)("div",{className:"kt-testimonial-content-wrap",children:(0,a.jsx)(m.RichText,{tagName:"div",placeholder:(0,d.__)("I have been looking for a product like this for years. I have tried everything and nothing did what I wanted until using this product. I am so glad I found it!","kadence-blocks"),value:P,onChange:e=>{i({content:e})},className:"kt-testimonial-content"})})]}),(H&&"card"!==G&&"inlineimage"!==G||X||K)&&(0,a.jsxs)("div",{className:"kt-testimonial-meta-wrap",children:[H&&"card"!==G&&"inlineimage"!==G&&re(),(0,a.jsxs)("div",{className:"kt-testimonial-meta-name-wrap",children:[K&&(0,a.jsx)("div",{className:"kt-testimonial-name-wrap",children:(0,a.jsx)(m.RichText,{tagName:"div",placeholder:(0,d.__)("Sophia Reily","kadence-blocks"),value:N,onChange:e=>{i({name:e})},className:"kt-testimonial-name"})}),X&&(0,a.jsx)("div",{className:"kt-testimonial-occupation-wrap",children:(0,a.jsx)(m.RichText,{tagName:"div",placeholder:(0,d.__)("CEO of Company","kadence-blocks"),value:R,onChange:e=>{i({occupation:e})},className:"kt-testimonial-occupation"})})]})]})]})})]})})},example:{}})})(),(this.kadence=this.kadence||{})["blocks-testimonial"]=i})();
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генераци� �траницы: 0 |
proxy
|
phpinfo
|
�а�тройка