text: var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(e,g,f){e instanceof String&&(e=String(e));for(var h=e.length,l=0;l<h;l++){var a=e[l];if(g.call(f,a,l,e))return{i:l,v:a}}return{i:-1,v:void 0}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,g,f){e!=Array.prototype&&e!=Object.prototype&&(e[g]=f.value)};$jscomp.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:"undefined"!=typeof global&&null!=global?global:e};
  $jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(e,g,f,h){if(g){f=$jscomp.global;e=e.split(".");for(h=0;h<e.length-1;h++){var l=e[h];l in f||(f[l]={});f=f[l]}e=e[e.length-1];h=f[e];g=g(h);g!=h&&null!=g&&$jscomp.defineProperty(f,e,{configurable:!0,writable:!0,value:g})}};$jscomp.polyfill("Array.prototype.find",function(e){return e?e:function(e,f){return $jscomp.findInternal(this,e,f).v}},"es6-impl","es3");var ThemifyBuilderCommon;
  window.top!==window.self&&(window.wp.media=window.top.wp.media,MediaElementPlayer=window.top.MediaElementPlayer,jQuery.fn.mediaelementplayer=window.top.jQuery(window.top.document).mediaelementplayer,jQuery.ui=window.top.jQuery.ui,jQuery.fn.sortable=window.top.jQuery(window.top.document).sortable,window.wp.mediaelement=window.top.wp.mediaelement,window.tinyMCE=window.top.tinyMCE,window.tinyMCEPreInit=window.top.tinyMCEPreInit,window.tinymce=window.top.tinymce,window.switchEditors=window.top.switchEditors,
  void 0===window.self.wp&&(window.self.wp=window.top.wp),void 0===window.self._&&(window.self._=window.top._),window.wpApiSettings=window.top.wpApiSettings);
  (function(e,g,f,h,l){ThemifyBuilderCommon={loader:null,is_template_support:"content"in h.createElement("template"),showLoader:function(a){null===this.loader&&(this.loader=e(f.document.getElementById("tb_alert")));"show"===a?(this.loader[0].classList.add("tb_busy"),this.loader[0].style.display="block"):"spinhide"===a?this.loader.fadeOut(300,function(){this.classList.remove("tb_busy")}):("error"!==a&&(a="done"),this.loader[0].classList.remove("tb_busy"),this.loader[0].classList.add("tb_"+a),this.loader.delay(500).fadeOut(500,
  function(){this.classList.remove("tb_"+a)}))},clone:function(a){if(null===a)return a;a[0]!==l&&(a=a[0]);a=a.cloneNode(!0);e(a).find("#tb_component_bar").empty().attr("id","").closest(".tb_clicked").removeClass("tb_clicked");if("visual"===tb_app.mode){var b=a.getElementsByTagName("video");if(0<b.length){for(var c=a.getElementsByClassName("big-video-wrap"),d=b.length-1;-1<d;--d)b[d].pause();for(d=c.length-1;-1<d;--d)c[d]&&c[d].parentNode.removeChild(c[d])}}return e(a)},Clipboard:{key:"themify_builder_clipboard_",
  set:function(a,b){var c={};c[a]=b;localStorage.setItem(this.key+"content",JSON.stringify(c))},get:function(a){var b=JSON.parse(localStorage.getItem(this.key+"content"));return b[a]!==l?b[a]:!1}},alertWrongPaste:function(){alert(themifyBuilder.i18n.text_alert_wrong_paste)},autoComplete:function(a){var b=e(".themify_tax_autocomplete",a);if(0<b.length){var c=[];b.each(function(){var a=e(this),b=a.closest(".tb_input").find("input.query_category_multiple"),f=b.val();e(this).autocomplete({minLength:2,source:function(b,
  d){var c=e.trim(b.term);e.getJSON(themifyBuilder.ajaxurl,{term:e.trim(c),tax:a.data("tax"),action:a.data("action")},function(a,b,c){d(a)})},select:function(a,c){b.val(c.item.value);this.value=c.item.label;return!1}}).focus(function(){e(this).autocomplete("search");return!1});if(f&&"undefined"!==f){var h={};h[a.data("tax")]=f;c.push(h)}else b.val("")});0<c.length&&e.ajax({url:themifyBuilder.ajaxurl,type:"POST",dataType:"json",data:{data:c,action:"themify_builder_get_tax_data"},success:function(b){if(b)for(var c in b)e("#themify_search_cat_"+
  b[c].tax,a).val(b[c].val)}})}},Lightbox:{$lightbox:null,lightboxStorageKey:f.document!==h?"themify_builder_lightbox_frontend_pos_size":"themify_builder_lightbox_backend_pos_size",setup:function(){ThemifyBuilderCommon.is_template_support?f.document.body.appendChild(h.getElementById("tmpl-builder_lightbox").content):f.document.body.insertAdjacentHTML("beforeend",ThemifyBuilderCommon.templateCache.get("tmpl-builder_lightbox"));this.$lightbox=e("#tb_lightbox_parent",f.document);this.bindEvents()},bindEvents:function(){SimpleBar.removeObserver();
  this.responsiveTabs();this.$lightbox.one("themify_opened_lightbox",function(){this.resizable.init();"visual"===tb_app.mode&&this.$lightbox[0].getElementsByClassName("builder_cancel_docked_mode")[0].addEventListener("click",function(a){a.preventDefault();a.stopPropagation();f.document.body.classList.add("themify_lightbox_drag");ThemifyBuilderCommon.Lightbox.dockMode.close();e(h).triggerHandler("mouseup");setTimeout(function(){f.document.body.classList.remove("themify_lightbox_drag")},300)});this.$lightbox[0].getElementsByClassName("tb_close_lightbox")[0].addEventListener("click",
  function(){this.close()}.bind(this),{passive:!0})}.bind(this));themifyBuilder.disableShortcuts||this.controlByKeyInput()},getLightboxStorage:function(){var a=localStorage.getItem(this.lightboxStorageKey);return a?JSON.parse(a):{}},updateLightboxStorage:function(a){localStorage.setItem(this.lightboxStorageKey,JSON.stringify(_.extend(this.getLightboxStorage(),a)))},resizable:{$el:null,w:"",h:"",x:"",y:"",axis:"",overlay:!1,minWidth:350,maxWidth:880,minHeight:320,maxHeight:.9*f.document.documentElement.clientHeight,
  update:!0,init:function(){var a=this,b=ThemifyBuilderCommon.Lightbox,c=f.document.body.classList,d=function(d,f){if(f!==l&&d&&d.target.classList.contains("builder-lightbox"))switch(d.type){case "dragstart":b.dockMode.get()&&!c.contains("tb_standalone_lightbox")&&null===d.originalEvent.target.closest("li")&&a.$el[0].getElementsByClassName("builder_cancel_docked_mode")[0].click();c.add("themify_lightbox_drag");h.body.classList.add("tb_start_animate");b.fixContainment();break;case "dragstop":c.remove("themify_lightbox_drag"),
  h.body.classList.remove("tb_start_animate"),b.fixContainment(),a.remember(),"visual"===tb_app.mode&&e(h).triggerHandler("mouseup");case "drag":b.dockMode.drag(d,f)}};this.$el=b.$lightbox;a.$el.draggable({handle:a.$el.find(".tb_lightbox_top_bar,.tb_action_breadcrumb"),scroll:!1,cancel:".tb_options_tab,.tb_lightbox_actions",start:d,drag:d,stop:d});for(var d=this.$el[0].getElementsByClassName("tb_resizable"),k=d.length-1;-1<k;--k)d[k].addEventListener("mousedown",function(b){1===b.which&&(b.preventDefault(),
  a.maxHeight=.9*f.document.documentElement.clientHeight,a.x=b.clientX,a.y=b.clientY,a.w=parseInt(a.$el.outerWidth(),10),a.h=parseInt(a.$el.outerHeight(),10),a.axis=this.dataset.axis,a.$el[0].classList.add("tb_resizing"),f.document.addEventListener("mousemove",a.resize,{passive:!0}),f.document.addEventListener("mouseup",a.stop,{passive:!0}),c.add("tb_start_animate"),g.body.addClass("tb_start_animate"),f.document.body.classList.add("tb_panel_resize"),"se"!==a.axis&&"x"!==a.axis&&"sw"!==a.axis&&"ne"!==
  a.axis&&"nw"!==a.axis||a.setupLightboxSizeClass())},!1);a.setupLightboxSizeClass()},remember:function(){if(!f.document.body.classList.contains("tb_standalone_lightbox")){var a=ThemifyBuilderCommon.Lightbox.resizable,b=a.$el.position(),a={top:b.top,left:b.left,width:a.$el.outerWidth(),height:a.$el.outerHeight()};ThemifyBuilderCommon.Lightbox.updateLightboxStorage(a);g.body.triggerHandler("themify_builder_resize_lightbox")}},setupLightboxSizeClass:function(a){var b=ThemifyBuilderCommon.Lightbox.resizable;
  null!==b.$el&&(a||(a=parseInt(b.$el.width())),b=b.$el[0].classList,750<a?b.add("larger-lightbox"):b.remove("larger-lightbox"),540>a?b.add("tb_lightbox_small"):b.remove("tb_lightbox_small"))},resize:function(a){var b=ThemifyBuilderCommon.Lightbox.resizable;if("w"===b.axis){var c=b.x+b.w-a.clientX;c>b.maxWidth&&(c=b.maxWidth);c>=b.minWidth&&c<=b.maxWidth&&(a=b.$el[0].style.width,b.$el[0].style.width=c+"px",b.$el[0].style.left=parseInt(b.$el[0].style.left)+parseInt(a)-c+"px",b.setupLightboxSizeClass(c))}else{var d=
  "-y"===b.axis||"ne"===b.axis||"nw"===b.axis?b.y+b.h-a.clientY:b.h+a.clientY-b.y;c="sw"===b.axis||"nw"===b.axis?b.x+b.w-a.clientX:b.w+a.clientX-b.x;c>b.maxWidth&&(c=b.maxWidth);if(("se"===b.axis||"x"===b.axis||"sw"===b.axis||"nw"===b.axis||"ne"===b.axis)&&c>=b.minWidth&&c<=b.maxWidth){a=b.$el[0].style.width;b.$el[0].style.width=c+"px";if("sw"===b.axis||"nw"===b.axis)b.$el[0].style.left=parseInt(b.$el[0].style.left)+parseInt(a)-c+"px";b.setupLightboxSizeClass(c)}if(("se"===b.axis||"y"===b.axis||"-y"===
  b.axis||"sw"===b.axis||"nw"===b.axis||"ne"===b.axis)&&d>=b.minHeight&&d<=b.maxHeight){if("-y"===b.axis||"nw"===b.axis||"ne"===b.axis)b.$el[0].style.top=parseInt(b.$el[0].style.top)+parseInt(b.$el[0].style.height)-d+"px";b.$el[0].style.height=d+"px"}}g.body.triggerHandler("themify_builder_resize_lightbox")},stop:function(a){a=ThemifyBuilderCommon.Lightbox;var b=a.resizable;b.$el.removeClass("tb_resizing");f.document.removeEventListener("mousemove",b.resize,{passive:!0});f.document.removeEventListener("mouseup",
  b.stop);a.fixContainment();b.remember();a=e("body",f.document);a=a.add("body");a.removeClass("tb_start_animate");f.document.body.classList.remove("tb_panel_resize");"visual"===tb_app.mode&&e(h).triggerHandler("mouseup");tb_app.ActionBar.disable=!0;setTimeout(function(){tb_app.ActionBar.disable=null},7)}},fixContainment:function(){var a=ThemifyBuilderCommon.Lightbox,b=a.$lightbox.outerWidth(),c=e(f),d=c.width()-20,c=c.height()-30,h=a.$lightbox.position(),g=h.left,h=h.top,l={};0>g?l.left=20:g+b>d&&
  (l.left=d-b);0>h?l.top=0:h>c&&(l.top=c);for(var m in l)a.$lightbox[0].style[m]=l[m]+"px"},setStandAlone:function(a,b,c){var d=this.$lightbox.outerWidth(),e=this.$lightbox.outerHeight(),h=f.document.documentElement.clientWidth,g=f.document.documentElement.clientHeight;c||"visual"!==tb_app.mode||(this.dockMode.get()&&(tb_app.toolbar.$el.find(".tb_toolbar_add_modules").click(),f.document.body.classList.contains("tb_panel_minimized")||("desktop"!==tb_app.activeBreakPoint?a+=this.dockMode.isLeft?150:-150:
  this.dockMode.isLeft&&(a+=300))),"desktop"!==tb_app.activeBreakPoint&&(a+=(h-tb_app.iframe.width())/2+8));a-=d/2;5>=a?a=5:a+d>h&&(a=h-d-20);b+=50;b+e>g&&(b=g-e-5);0>b&&(b=5);this.$lightbox.css({left:a,top:b}).one("themify_opened_lightbox",function(){tb_app.Utils.addViewPortClass(this)})},open:function(a,b,c){var d=ThemifyBuilderCommon.Lightbox,l=f.document,n=l.getElementById("tb_lightbox_container"),q=function(g){d.$lightbox[0].style.display="none";for("function"===typeof b&&b.call(d,g);n.firstChild;)n.removeChild(n.firstChild);
  "string"===typeof g?n.innerHTML=g:n.appendChild(g);g=l.body.classList.contains("tb_standalone_lightbox");var p=null;if(!1===g){var k={top:100,left:Math.max(0,e(f).width()/2-300),width:600,height:500};_.extend(k,d.getLightboxStorage())}else k={top:"",left:"",width:"",height:""};for(m in k)d.$lightbox[0].style[m]=""!==k[m]?k[m]+"px":"";!1===g&&(!0===d.dockMode.get()?(d.dockMode.setDoc(),p=!0):d.fixContainment());"function"===typeof c&&c.call(d,n);null===p&&d.resizable.setupLightboxSizeClass(k.width);
  d.$lightbox[0].style.display="block";d.$lightbox.triggerHandler("themify_opened_lightbox");if("inline"!==a.loadMethod){var m=n.getElementsByClassName("tb_tabs");for(k=m.length-1;-1<k;--k)for(g=m[k].getElementsByTagName("a"),p=g.length-1;-1<p;--p)g[p].addEventListener("click",ThemifyConstructor.switchTabs)}"visual"===tb_app.mode&&e(h).triggerHandler("mouseup");tb_app.Instances.Builder[tb_app.builderIndex].lastRowShowHide()};"inline"===a.loadMethod?(g.body.triggerHandler("themify_builder_lightbox_close"),
  l.body.classList.remove("tb_standalone_lightbox"),q(ThemifyConstructor.run(a.templateID))):"html"===a.loadMethod?(tb_app.autoSaveCid=null,d.close(!0),!0===a.contructor?q(ThemifyConstructor.run(a.data,a.save)):q(a.data)):(ThemifyBuilderCommon.showLoader("show"),tb_app.autoSaveCid=null,d.close(!0),a.data.nonce=themifyBuilder.tb_load_nonce,a=_.defaults(a||{},{type:"POST",url:themifyBuilder.ajaxurl}),e.ajax(a).done(function(b){!0===a.contructor?q(ThemifyConstructor.run(b)):q(b);ThemifyBuilderCommon.showLoader("spinhide");
  b=n.getElementsByClassName("tb_options_tab_wrapper");0<b.length&&new SimpleBar(b[0])}))},close:function(a){var b=ThemifyBuilderCommon.Lightbox;g.body.triggerHandler("themify_builder_lightbox_before_close");"visual"===tb_app.mode&&f.jQuery("body").trigger("themify_builder_lightbox_close",a);a||(b.$lightbox[0].style.display="none",tb_app.autoSaveCid=null);b._cleanLightBoxContent();a||(tb_app.undoManager.updateUndoBtns(),"visual"===tb_app.mode&&e(h).triggerHandler("mouseup"),tb_app.Instances.Builder[tb_app.builderIndex].lastRowShowHide(!0),
  tb_app.Utils.removeViewPortClass(b.$lightbox[0]));tb_app.ActionBar.hoverCid=null;tb_app.ActionBar.clearSelected();g.body.triggerHandler("themify_builder_lightbox_close",a)},dockMode:{key:"themify_builder_docked",leftKey:"themify_builder_docked_left",workspace:f.document.body.getElementsByClassName("tb_workspace_container")[0],minEl:null,width:322,isDocked:null,isLeft:null,set:function(a){(this.isDocked=a)?(localStorage.setItem(this.key,a),this.isLeft?localStorage.setItem(this.leftKey,!0):localStorage.removeItem(this.leftKey)):
  (localStorage.removeItem(this.key),localStorage.removeItem(this.leftKey));g.body.triggerHandler("themify_builder_resize_lightbox")},get:function(){return"visual"===tb_app.mode&&(null===this.isDocked&&(this.isDocked="true"===localStorage.getItem(this.key)),!0===this.isDocked)?(this.isLeft="true"===localStorage.getItem(this.leftKey),!0):!1},minimize:function(a){a.stopPropagation();a=f.document.body.classList;a.contains("tb_panel_minimized")?a.remove("tb_panel_minimized"):a.add("tb_panel_minimized");
  tb_app.Utils._onResize(!0)},setDoc:function(){if(this.get()){var a=f.document.body.classList;a.contains("tb_panel_docked")?ThemifyBuilderCommon.Lightbox.resizable.setupLightboxSizeClass(this.width):(a.add("tb_panel_docked"),this.isLeft?(a.add("tb_panel_left_dock"),a.remove("tb_panel_right_dock")):(a.add("tb_panel_right_dock"),a.remove("tb_panel_left_dock")),tb_app.Utils._onResize(!0),ThemifyBuilderCommon.Lightbox.resizable.setupLightboxSizeClass(this.width),g.body.triggerHandler("themify_builder_resize_lightbox"),
  this.minEl=tb_app.toolbar.el.getElementsByClassName("tb_docked_minimize")[0],this.minEl.addEventListener("click",this.minimize,{passive:!0}),tb_app.Views.Toolbar.prototype.removeFloat(),tb_app.Views.Toolbar.prototype.openFloat(),tb_app.Views.Toolbar.prototype._setResponsiveTabs())}},drag:function(a,b){if("visual"===tb_app.mode&&!this.get()){var c=f.document.body.classList;if(!c.contains("tb_standalone_lightbox")){var d=a.pageX+20>=f.innerWidth,e=a.type;this.isLeft=!d&&0>b.offset.left;(d||this.isLeft)&&
  "drag"===e?(c.add("tb_dock_highlight"),this.isLeft?c.add("tb_dock_left_highlight"):c.remove("tb_dock_left_highlight")):(c.remove("tb_dock_highlight"),c.remove("tb_dock_left_highlight"));(d||this.isLeft)&&"dragstop"===e&&(this.set(!0),this.setDoc())}}},close:function(a){if("visual"===tb_app.mode&&this.get()){var b=ThemifyBuilderCommon.Lightbox,c=f.document.body.classList,d=b.getLightboxStorage(),d={width:d.width?d.width:b.resizable.minWidth,height:d.height?d.height:b.resizable.minHeight,top:f.innerHeight/
  2-b.$lightbox.innerHeight()/2,left:f.innerWidth/2-b.$lightbox.innerWidth()/2};b.$lightbox.css(d);a&&f.document.body.classList.contains("tb_panel_closed")&&tb_app.Views.Toolbar.prototype.openFloat();if(this.isLeft||!a)a?this.isLeft?c.remove("tb_panel_right_dock"):c.remove("tb_panel_left_dock"):(c.remove("tb_panel_left_dock"),c.remove("tb_panel_right_dock"),c.remove("tb_panel_docked"),null!==this.minEl&&(this.minEl.removeEventListener("click",this.minimize,{passive:!0}),this.minEl=null),null!==tb_app.activeModel&&
  localStorage.getItem("tb_panel_closed")&&tb_app.Views.Toolbar.prototype.closeFloat(),tb_app.Views.Toolbar.prototype.setFloat(),c.contains("tb_standalone_lightbox")||this.set(null));b.resizable.setupLightboxSizeClass(d.width);tb_app.Utils._onResize(!0)}}},_cleanLightBoxContent:function(){for(var a=this.$lightbox.find("#tb_lightbox_container")[0];null!==a.firstChild;)a.removeChild(a.firstChild);for(a=this.$lightbox[0].getElementsByClassName("tb_options_tab")[0];null!==a.firstChild;)a.removeChild(a.firstChild);
  for(a=this.$lightbox[0].getElementsByClassName("tb_lightbox_actions_wrap")[0];null!==a.firstChild;)a.removeChild(a.firstChild);for(a=this.$lightbox[0].getElementsByClassName("tb_action_breadcrumb")[0];null!==a.firstChild;)a.removeChild(a.firstChild)},controlByKeyInput:function(){function a(a){if(27===a.keyCode&&tb_app.activeModel)a.preventDefault(),a.stopPropagation(),ThemifyBuilderCommon.Lightbox.close();else if(83===a.which&&(!0===a.ctrlKey||!0===a.metaKey)&&"INPUT"!==window.top.document.activeElement.tagName&&
  "TEXTAREA"!==window.top.document.activeElement.tagName){a.preventDefault();a.stopPropagation();a=tb_app.activeModel?e(".builder_save_button",ThemifyBuilderCommon.Lightbox.$lightbox):null;if(null===a||0===a.length)a=tb_app.toolbar.$el.find(".tb_toolbar_save");a.click()}}e(h).on("keydown.tb_shortcut",a);if("visual"===tb_app.mode)e(f.document).on("keydown.tb_shortcut",a)},responsiveTabs:function(){var a=null,b,c,d=null,k=function(g,k,m){setTimeout(function(){if("styling"===ThemifyConstructor.clicked){a:{var k=
  null===a?f.document.getElementById("tb_options_styling"):null;null===a&&(a=k.getElementsByClassName("tb_tabs")[0]);if(a!==l){if(!c)if(b=a.getElementsByTagName("ul")[0],b!==l)k=b.getElementsByTagName("li"),k=k[k.length-1],k=e(k),a=e(a),c=k.offset().left+k.outerWidth()-a.offset().left;else break a;a.innerWidth()<=c?(a[0].classList.add("tb_compact_tabs"),b.classList.add("tb_ui_dropdown_items"),null===d&&(d=h.createElement("span"),d.className="tb_ui_dropdown_label",d.tabIndex="-1",d.textContent=b.getElementsByClassName("current")[0].textContent,
  b.parentNode.insertBefore(d,b))):(a[0].classList.remove("tb_compact_tabs"),b.classList.remove("tb_ui_dropdown_items"))}}"themify_builder_tabsactive"===g.type&&null!==d&&(d.textContent=b.getElementsByClassName("current")[0].textContent)}},4)};g.body.on("themify_builder_tabsactive themify_builder_resize_lightbox",k).on("themify_builder_lightbox_close",function(){a=b=c=d=null});this.$lightbox.on("themify_opened_lightbox",k)}},LiteLightbox:{modal:new wp.media.view.Modal({controller:{trigger:function(){}}}),
  confirmView:Backbone.View.extend({template:wp.template("builder_lite_lightbox_confirm"),className:"tb_lite_lightbox_content",initialize:function(a){this.options=a||{}},render:function(){this.el.innerHTML=this.template({message:this.options.message,buttons:this.options.buttons})},events:{"click button":"buttonClick"},buttonClick:function(a){a.preventDefault();this.trigger("litelightbox:confirm",e(a.currentTarget).data("type"))}}),promptView:Backbone.View.extend({template:wp.template("builder_lite_lightbox_prompt"),
  className:"tb_lite_lightbox_content",initialize:function(a){this.options=a||{}},render:function(){this.$el.html(this.template(this.options))},events:{"click button":"buttonClick","keypress .tb_litelightbox_prompt_input":"keyPress"},buttonClick:function(a){a.preventDefault();this.trigger("litelightbox:prompt",e(a.currentTarget).data("type"),this.$el.find(".tb_litelightbox_prompt_input").val())},keyPress:function(a){13===a.which&&this.trigger("litelightbox:prompt","ok",e(a.currentTarget).val())}}),
  confirm:function(a,b,c){c=_.defaults(c||{},{buttons:{no:{label:"No"},yes:{label:"Yes"}}});c.message=a;a=new ThemifyBuilderCommon.LiteLightbox.confirmView(c);ThemifyBuilderCommon.LiteLightbox.modal.content(a);ThemifyBuilderCommon.LiteLightbox.modal.open();a.on("litelightbox:confirm",function(a){ThemifyBuilderCommon.LiteLightbox.modal.close();e.isFunction(b)&&b.call(this,a)})},prompt:function(a,b,c){c=_.defaults(c||{},{buttons:{cancel:{label:"Cancel"},ok:{label:"OK"}}});c.message=a;a=new ThemifyBuilderCommon.LiteLightbox.promptView(c);
  ThemifyBuilderCommon.LiteLightbox.modal.content(a);ThemifyBuilderCommon.LiteLightbox.modal.open();a.on("litelightbox:prompt",function(a,c){ThemifyBuilderCommon.LiteLightbox.modal.close();e.isFunction(b)&&b.call(this,"cancel"===a?null:c)})},alert:function(a){ThemifyBuilderCommon.LiteLightbox.confirm(a,null,{buttons:{yes:{label:"OK"}}})}},templateCache:{templates:[],get:function(a){if(this.templates[a]===l){var b=h.getElementById(a);this.templates[a]=b.innerHTML;setTimeout(function(){b.parentNode.removeChild(b)},
  6E3)}return this.templates[a]}},setToolbar:function(){var a=h.getElementById("tb_toolbar_template"),b=this.is_template_support?a.content:a.firstElementChild;"visual"===tb_app.mode?h.body.appendChild(b):a.parentNode.insertBefore(b,a);a.parentNode.removeChild(a)},isImageUrl:function(a){if("undefined"===typeof a||""==a)return!1;a=a.split("?")[0].split(".");return-1!=="jpg jpeg tiff png gif bmp svg".split(" ").indexOf(a[a.length-1])}}})(jQuery,Themify,window.top,document,void 0);
  