// source --> https://kindheitinbewegung.net/wp-content/plugins/thrive-ovation/tcb-bridge/frontend/js/display-testimonials-tcb.min.js?ver=10.8.9.1 
(()=>{var t={8990:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e){return i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},i(t,e)}function o(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}t.exports=function(t,e){var s=function(s){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&i(t,e)}(h,s);var a,l,c,u,f=(c=h,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=r(c);if(u){var n=r(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return o(this,t)});function h(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h),f.call(this,t)}return a=h,l=[{key:"editorInit",value:function(){return e.PostList.prototype.editorInit.call(this),this}},{key:"frontendInit",value:function(){var e=this;return"undefined"==typeof tvo_display_testimonials_list?console.warn("Error initializing the display testimonials parameters"):(this.listArgs=tvo_display_testimonials_list.find((function(t){return e.$element.is(t.identifier)})),this.listArgs&&(this.content=t('.thrive-display-testimonials-template[data-identifier="'.concat(this.listArgs.template,'"]')).html()),this.frontendMarkupChanges()),this}},{key:"frontendMarkupChanges",value:function(){this.$element.find(".thrive-shortcode-content:empty").each((function(e,n){var i=t(n).closest("p,h2,div.tcb-plain-text");0===i.height()&&i.hide();var o=i.closest(".thrv_wrapper");0===o.height()&&o.hide()})),this.$element.find(".thrive-testimonial-website a:empty").each((function(e,n){var i=t(n).closest(".thrv_text_element");0===i.height()&&i.hide();var o=i.closest(".thrive-testimonial-website");0===o.height()&&o.hide()}))}},{key:"renderPagination",value:function(){return this.pagination=this.getPaginationInstance(),this.pagination&&(tve_frontend_options.is_editor_page||this.pagination.addLoadListeners(),this.pagination.render()),this}},{key:"getItems",value:function(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.listArgs;e.Utils.restAjax({route:tve_frontend_options.routes.testimonials+"/html",data:{content:this.content,args:i.query,has_pagination:this.pagination?1:0}}).done((function(i){"function"==typeof t&&t(i),n.initItems(),e.event_triggers(n.$element)})).fail((function(){console.warn("There was an error and the content could not be loaded.")}))}},{key:"insertItems",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.count&&e.testimonials){var i=this.$element.clone().empty();for(var o in e.testimonials)e.testimonials.hasOwnProperty(o)&&i.append(e.testimonials[o]);n?(this.$element.replaceWith(i),this.identifier.includes("tve-u-")?this.$element=t(".thrive-display-testimonials[data-css=".concat(this.identifier,"]")):this.$element=t(this.identifier),t(window).trigger("tcb_post_list_after_item_insert")):this.isCarousel()&&this.carousel?(this.$element.find(".slick-track").append(i.html()),this.carousel.initCarousel(!0)):(this.$element.append(i.html()),this.masonryRedo()),e.total_post_count&&(this.listArgs.attr.total_post_count=e.total_post_count)}}}],l&&n(a.prototype,l),Object.defineProperty(a,"prototype",{writable:!1}),h}(e.PostList);return{class:s,initDisplayTestimonials:function(){e.$document.ready((function(){setTimeout((function(){t(".thrive-display-testimonials").each((function(e,n){new s(t(n)).renderPagination()}))}))}))}}}}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,n),r.exports}!function(t){if(window.TCB_Front){var e=function(){void 0!==TCB_Front.PostList&&(TCB_Front.displayTestimonials=n(8990)(jQuery,TCB_Front),TCB_Front.displayTestimonials.initDisplayTestimonials())};0!==t("#divi-style-css").length?t(window).on("load",e):e()}}(ThriveGlobal.$j)})();