Import legacy nurinda.co.id website

This commit is contained in:
dirga committed 2026-10-01 14:27:19 +07:00
1 parent 3f59bb9038
commit 6e21646ac4
13389 files changed
+3246690

No files matched your search

@@ -0,0 +1 @@
if(!window.vc)var vc={};!function($){var ListenerHelper=vc.events={};_.extend(ListenerHelper,Backbone.Events),ListenerHelper.triggerShortcodeEvents=function(eventType,shortcodeModel){var shortcodeTag;shortcodeTag=shortcodeModel.get("shortcode"),this.trigger("shortcodes",shortcodeModel,eventType),this.trigger("shortcodes:"+shortcodeTag,shortcodeModel,eventType),this.trigger("shortcodes:"+eventType,shortcodeModel),this.trigger("shortcodes:"+shortcodeTag+":"+eventType,shortcodeModel),this.trigger("shortcodes:"+shortcodeTag+":"+eventType+":parent:"+shortcodeModel.get("parent_id"),shortcodeModel),this.triggerParamsEvents(eventType,shortcodeModel)},ListenerHelper.triggerParamsEvents=function(eventType,shortcodeModel){var shortcodeTag,params,settings;shortcodeTag=shortcodeModel.get("shortcode"),params=_.extend({},shortcodeModel.get("params")),settings=vc.map[shortcodeTag],_.isArray(settings.params)&&_.each(settings.params,function(paramSettings){this.trigger("shortcodes:"+eventType+":param",shortcodeModel,params[paramSettings.param_name],paramSettings),this.trigger("shortcodes:"+shortcodeTag+":"+eventType+":param",shortcodeModel,params[paramSettings.param_name],paramSettings),this.trigger("shortcodes:"+eventType+":param:type:"+paramSettings.type,shortcodeModel,params[paramSettings.param_name],paramSettings),this.trigger("shortcodes:"+shortcodeTag+":"+eventType+":param:type:"+paramSettings.type,shortcodeModel,params[paramSettings.param_name],paramSettings),this.trigger("shortcodes:"+eventType+":param:name:"+paramSettings.param_name,shortcodeModel,params[paramSettings.param_name],paramSettings),this.trigger("shortcodes:"+shortcodeTag+":"+eventType+":param:name:"+paramSettings.param_name,shortcodeModel,params[paramSettings.param_name],paramSettings)},this)}}(window.jQuery),function($){vc.AccessPolicyConstructor=function(){this.accessPolicy={},vc.events.trigger("vc:access:initialize",this)},vc.AccessPolicyConstructor.prototype={accessPolicy:{},add:function(part,grant){grant=!!_.isUndefined(grant)||!!grant,this.accessPolicy[part]=grant},can:function(part){return!!this.accessPolicy[part]}},$(function(){vc.accessPolicy=new vc.AccessPolicyConstructor})}(window.jQuery),function($){vc.events.on("vc:access:initialize",function(access){access.add("be_editor",vc_user_access().editor("backend_editor")),access.add("fe_editor",window.vc_frontend_enabled&&vc_user_access().editor("frontend_editor")),access.add("classic_editor",!vc_user_access().check("backend_editor","disabled_ce_editor",void 0,!0)),!window.vc.gridItemEditor&&vc.events.trigger("vc:access:backend:ready",access)}),vc.events.on("vc:access:backend:ready",function(access){var $buttonsContainer,front,back,gutenberg,$titleDiv,gutenbergEditor;gutenberg=back=front="",$titleDiv=$("div#titlediv"),gutenbergEditor=document.getElementById("editor"),$titleDiv.length?(access.can("fe_editor")&&(front='<a class="wpb_switch-to-front-composer" href="'+$("#wpb-edit-inline").attr("href")+'">'+window.i18nLocale.main_button_title_frontend_editor+"</a>"),access.can("classic_editor")?access.can("be_editor")&&(back='<a class="wpb_switch-to-composer" href="javascript:;">'+window.i18nLocale.main_button_title_backend_editor+"</a>"):($("#postdivrich").addClass("vc-disable-editor"),access.can("be_editor")&&_.defer(function(){vc.events.trigger("vc:backend_editor:show")})),window.wpbIsGutenberg&&(gutenberg='<a class="wpb_switch-to-gutenberg" href="'+window.wpbGutenbergEditorSWitchUrl+'">'+window.i18nLocale.main_button_title_gutenberg+"</a>"),(front||back||gutenberg)&&($buttonsContainer=$titleDiv.length?$('<div class="composer-switch"><span class="logo-icon"></span>'+back+front+gutenberg+"</div>").insertAfter($titleDiv):$('<div class="composer-switch"><span class="logo-icon"></span>'+back+front+gutenberg+"</div>").prependTo("#post-body-content"),access.can("classic_editor")&&$buttonsContainer.find(".wpb_switch-to-composer").click(function(e){vc.events.trigger("vc:backend_editor:switch")}))):gutenbergEditor&&(console.log(back),setTimeout(function(){back='<a class="wpb_switch-to-composer" href="'+window.wpbGutenbergEditorClassicSWitchUrl+'">'+window.i18nLocale.main_button_title+"</a>";var gutenbergEditorHeader=gutenbergEditor.querySelector(".edit-post-header-toolbar");gutenbergEditorHeader&&($buttonsContainer=$('<div class="composer-switch"><span class="logo-icon"></span>'+back+"</div>").appendTo(gutenbergEditorHeader))},1))})}(window.jQuery);
@@ -0,0 +1 @@
if(!window.vc)var vc={};function vc_toTitleCase(str){return str.replace(/\w\S*/g,function(txt){return txt.charAt(0).toUpperCase()+txt.substr(1).toLowerCase()})}function vc_convert_column_size(width){var numbers=width?width.split("/"):[1,1],range=_.range(1,13),num=!_.isUndefined(numbers[0])&&0<=_.indexOf(range,parseInt(numbers[0],10))&&parseInt(numbers[0],10),dev=!_.isUndefined(numbers[1])&&0<=_.indexOf(range,parseInt(numbers[1],10))&&parseInt(numbers[1],10);return!1!==num&&!1!==dev?"vc_col-sm-"+12*num/dev:"vc_col-sm-12"}function vc_convert_column_span_size(width){return"span12"===(width=width.replace(/^vc_/,""))?"1/1":"span11"===width?"11/12":"span10"===width?"5/6":"span9"===width?"3/4":"span8"===width?"2/3":"span7"===width?"7/12":"span6"===width?"1/2":"span5"===width?"5/12":"span4"===width?"1/3":"span3"===width?"1/4":"span2"===width?"1/6":"span1"===width&&"1/12"}function vc_get_column_mask(cells){var i,columns=cells.split("_"),columns_count=columns.length,numbers_sum=0;for(i in columns)if(!isNaN(parseFloat(columns[i]))&&isFinite(columns[i])){var sp=columns[i].match(/(\d{1,2})(\d{1,2})/);numbers_sum=_.reduce(sp.slice(1),function(memo,num){return memo+parseInt(num,10)},numbers_sum)}return columns_count+""+numbers_sum}function vc_guid(){return VCS4()+VCS4()+"-"+VCS4()}function VCS4(){return(65536*(1+Math.random())|0).toString(16).substring(1)}function vc_button_param_target_callback(){var $=jQuery,$link_target=this.$content.find("[name=target]").parents('[data-vc-ui-element="panel-shortcode-param"]:first'),$link_field=$(".wpb-edit-form [name=href]"),key_up_callback=_.debounce(function(){var val=$(this).val();0<val.length&&"http://"!==val&&"https://"!==val?$link_target.show():$link_target.hide()},300);$link_field.keyup(key_up_callback).trigger("keyup")}function vc_cta_button_param_target_callback(){var $=jQuery,$link_target=this.$content.find("[name=target]").parents('[data-vc-ui-element="panel-shortcode-param"]:first'),$link_field=$(".wpb-edit-form [name=href]"),key_up_callback=_.debounce(function(){var val=$(this).val();0<val.length&&"http://"!==val&&"https://"!==val?$link_target.show():$link_target.hide()},300);$link_field.keyup(key_up_callback).trigger("keyup")}function vc_grid_exclude_dependency_callback(){var $=jQuery,exclude_obj=$(".wpb_vc_param_value[name=exclude]",this.$content).data("vc-param-object");if(void 0===exclude_obj)return!1;var post_type_object=$('select.wpb_vc_param_value[name="post_type"]',this.$content),val=post_type_object.val();exclude_obj.source_data=function(request,response){return{query:{query:val,term:request.term}}},exclude_obj.source_data_val=val,post_type_object.change(function(){val=$(this).val(),exclude_obj.source_data_val!=val&&(exclude_obj.source_data=function(request,response){return{query:{query:val,term:request.term}}},exclude_obj.$el.data("uiAutocomplete").destroy(),exclude_obj.$sortable_wrapper.find(".vc_data").remove(),exclude_obj.render(),exclude_obj.source_data_val=val)})}function vcGridFilterExcludeCallBack(){var $filterBy,$exclude,autocomplete,defaultValue,$=jQuery;if($filterBy=$(".wpb_vc_param_value[name=filter_source]",this.$content),defaultValue=$filterBy.val(),$exclude=$(".wpb_vc_param_value[name=exclude_filter]",this.$content),void 0===(autocomplete=$exclude.data("vc-param-object")))return!1;$filterBy.change(function(){var $this=$(this);defaultValue!==$this.val()&&autocomplete.clearValue(),autocomplete.source_data=function(){return{vc_filter_by:$this.val()}}}).trigger("change")}function vcChartCustomColorDependency(){var $,$masterEl,$content;$masterEl=($=jQuery)(".wpb_vc_param_value[name=style]",this.$content),$content=this.$content,$masterEl.on("change",function(){var masterValue;masterValue=$(this).val(),$content.toggleClass("vc_chart-edit-form-custom-color","custom"===masterValue)}),$masterEl.trigger("change")}function vc_wpnop(html){if(html=void 0!==html?html+"":"",window.switchEditors&&void 0!==window.switchEditors.pre_wpautop)return html=(html=window.switchEditors.pre_wpautop(html)).replace(/<p>(<!--(?:.*)-->)<\/p>/g,"$1");if(!html)return"";var blocklist="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",blocklist1=blocklist+"|div|p",blocklist2=blocklist+"|pre",preserve_linebreaks=!1,preserve_br=!1,preserve=[];return-1===html.indexOf("<script")&&-1===html.indexOf("<style")||(html=html.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,function(match){return preserve.push(match),"<wp-preserve>"})),-1!==html.indexOf("<pre")&&(preserve_linebreaks=!0,html=html.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,function(a){return(a=(a=a.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>")})),-1!==html.indexOf("[caption")&&(preserve_br=!0,html=html.replace(/\[caption[\s\S]+?\[\/caption\]/g,function(a){return a.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").replace(/[\r\n\t]+/,"")})),-1!==(html=(html=(html=(html=(html=(html=(html=(html=(html=(html=(html=(htmLine truncated
@@ -0,0 +1 @@
if(_.isUndefined(window.vc))var vc={atts:{}};if(function($){var VcColumnOffsetParam=Backbone.View.extend({events:{},$lg_offset_placeholder_value:!1,$lg_size_placeholder_value:!1,initialize:function(){_.bindAll(this,"setLgPlaceholders")},render:function(){return this},save:function(){var data=[];return this.$el.find(".vc_column_offset_field").each(function(){var $field=$(this);$field.is(":checkbox:checked")?data.push($field.attr("name")):$field.is("select")&&""!==$field.val()&&data.push($field.val())}),data},setLgPlaceholders:function(){var offset=this.$lg_offset_placeholder_value.val().replace(/[^\d]/g,"");this.$lg_size.find("option:first").text(VcI8nColumnOffsetParam.inherit_default),this.$lg_offset.find("option:first").text(offset?VcI8nColumnOffsetParam.inherit+offset:"")}});vc.atts.column_offset={parse:function(param){return this.content().find("input.wpb_vc_param_value."+param.param_name).data("vcColumnOffset").save().join(" ")},init:function(param,$field){$('[data-column-offset="true"]',$field).each(function(){var $this=$(this);$this.find(".wpb_vc_param_value").data("vcColumnOffset",new VcColumnOffsetParam({el:$this}).render())})}}}(window.jQuery),_.isUndefined(window.vc))vc={atts:{}};if(function($){var VcCssEditor,media=wp.media,preloaderUrl=ajaxurl.replace(/admin\-ajax\.php/,"images/wpspin_light.gif");media.controller.VcCssSingleImage=media.controller.VcSingleImage.extend({setCssEditor:function(view){return view&&(this._css_editor=view),this},updateSelection:function(){var attachments,selection=this.get("selection"),ids=this._css_editor.getBackgroundImage();void 0!==ids&&""!==ids&&-1!==ids&&(attachments=_.map(ids.toString().split(/,/),function(id){var attachment=wp.media.model.Attachment.get(id);return attachment.fetch(),attachment})),selection.reset(attachments)}}),VcCssEditor=vc.CssEditor=Backbone.View.extend({attrs:{},layouts:["margin","border-width","padding"],positions:["top","right","bottom","left"],$field:!1,simplify:!1,$simplify:!1,events:{"click .vc_icon-remove":"removeImage","click .vc_add-image":"addBackgroundImage","change .vc_simplify":"changeSimplify"},initialize:function(){_.bindAll(this,"setSimplify")},render:function(value){return this.attrs={},this.$simplify=this.$el.find(".vc_simplify"),_.isString(value)&&this.parse(value),this},parse:function(value){var data_split=value.split(/\s*(\.[^\{]+)\s*\{\s*([^\}]+)\s*\}\s*/g);data_split[2]&&this.parseAtts(data_split[2].replace(/\s+!important/g,""))},addBackgroundImage:function(e){if(e.preventDefault(),window.vc_selectedFilters={},this.image_media)return this.image_media.open("vc_editor");this.image_media=media({state:"vc_single-image",states:[(new media.controller.VcCssSingleImage).setCssEditor(this)]}),this.image_media.on("toolbar:create:vc_single-image",function(toolbar){this.createSelectToolbar(toolbar,{text:window.i18nLocale.set_image})},this.image_media),this.image_media.state("vc_single-image").on("select",this.setBgImage),this.image_media.open("vc_editor")},setBgImage:function(){!function(selection,obj){var ids;ids=[],$(".media-modal").addClass("processing-media"),selection.each(function(model){ids.push(model.get("id"))}),function(ids,callback){$.ajax({dataType:"json",type:"POST",url:window.ajaxurl,data:{action:"vc_media_editor_add_image",filters:window.vc_selectedFilters,ids:ids,vc_inline:!0,_vcnonce:window.vcAdminNonce}}).done(function(response){var attachments,attachment,promises,i;if("function"==typeof callback){for(attachments=[],promises=[],i=0;i<response.data.ids.length;i++)attachment=wp.media.model.Attachment.get(response.data.ids[i]),promises.push(attachment.fetch()),attachments.push(attachment);$.when.apply($,promises).done(function(){callback(attachments)})}}).fail(function(response){$(".media-modal-close").click(),window.vc&&window.vc.active_panel&&window.i18nLocale&&window.i18nLocale.error_while_saving_image_filtered&&vc.active_panel.showMessage(window.i18nLocale.error_while_saving_image_filtered,"error"),window.console&&window.console.error&&window.console.error(response)}).always(function(){$(".media-modal").removeClass("processing-media")})}(ids,function(newAttachments){if(!window.vc||!window.vc.active_panel)return!1;var attachments,objects;attachments=_.map(newAttachments,function(newAttachment){return newAttachment.attributes}),selection.reset(attachments),objects=_.map(selection.models,function(model){return model.attributes});var template=vc.template($("#vc_css-editor-image-block").html(),_.defaults({},{variable:"img"},vc.templateOptions.custom));obj._css_editor.$el.find(".vc_background-image .vc_image").html(template(objects[0])),$(".media-modal").removeClass("processing-media")})}(this.get("selection"),this)},setCurrentBgImage:function(value){var image_split,template,image_regexp=/([^\?]+)(\?id=\d+){0,1}/,url="",id="";value.match(/^\d+$/)?(template=vc.template($("#vc_css-editor-image-block").html(),_.defaults({},{variable:"img"},vc.templateOptions.custom)),this.$el.find(".vc_background-image .vc_image").html(tLine truncated
@@ -0,0 +1 @@
if(!window.vc)var vc={};if(function(){vc.templateOptions={default:{evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},custom:{evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g}};var noMatch=/(.)^/,escapes={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},escapeRegExp=/\\|'|\r|\n|\u2028|\u2029/g,escapeChar=function(match){return"\\"+escapes[match]};vc.template=function(text,settings){settings=_.defaults({},settings,vc.templateOptions.default);var render,matcher=RegExp([(settings.escape||noMatch).source,(settings.interpolate||noMatch).source,(settings.evaluate||noMatch).source].join("|")+"|$","g"),index=0,source="__p+='";text.replace(matcher,function(match,escape,interpolate,evaluate,offset){return source+=text.slice(index,offset).replace(escapeRegExp,escapeChar),index=offset+match.length,escape?source+="'+\n((__t=("+escape+"))==null?'':_.escape(__t))+\n'":interpolate?source+="'+\n((__t=("+interpolate+"))==null?'':__t)+\n'":evaluate&&(source+="';\n"+evaluate+"\n__p+='"),match}),source+="';\n",settings.variable||(source="with(obj||{}){\n"+source+"}\n"),source="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+source+"return __p;\n";try{render=new Function(settings.variable||"obj","_",source)}catch(e){throw e.source=source,e}var template=function(data){return render.call(this,data,_)},argument=settings.variable||"obj";return template.source="function("+argument+"){\n"+source+"}",template}}(),function($){"use strict";var TabsLine,Plugin,old;(TabsLine=function(element,options){var _this=this;this.options=options,this.$element=$(element),this.$dropdownContainer=this.$element.find(this.options.dropdownContainerSelector),this.$dropdown=this.$dropdownContainer.find(this.options.dropdownSelector),this.options.delayInit?(_this.$element.addClass(this.options.initializingClass),setTimeout(function(){_this.options.autoRefresh||_this.refresh(),_this.moveTabs(),_this.$element.removeClass(_this.options.initializingClass)},_this.options.delayInitTime)):(this.options.autoRefresh||this.refresh(),this.moveTabs()),$(window).on("resize",$.proxy(this.moveTabs,this)),this.$dropdownContainer.on("click.vc.tabsLine",$.proxy(this.checkDropdownContainerActive,this))}).DEFAULTS={initializingClass:"vc_initializing",delayInit:!1,delayInitTime:1e3,activeClass:"vc_active",visibleClass:"vc_visible",dropdownContainerSelector:'[data-vc-ui-element="panel-tabs-line-toggle"]',dropdownSelector:'[data-vc-ui-element="panel-tabs-line-dropdown"]',tabSelector:'>li:not([data-vc-ui-element="panel-tabs-line-toggle"])',dropdownTabSelector:"li",freeSpaceOffset:5,autoRefresh:!1,showDevInfo:!1},TabsLine.prototype.refresh=function(){var addClick,_this=this;return _this.tabs=[],_this.dropdownTabs=[],_this.$element.find(_this.options.tabSelector).each(function(){_this.tabs.push({$tab:$(this),width:$(this).outerWidth()})}),_this.$dropdown.find(_this.options.dropdownTabSelector).each(function(){var $tempElement=$(this).clone().css({visibility:"hidden",position:"fixed"});$tempElement.appendTo(_this.$element),_this.dropdownTabs.push({$tab:$(this),width:$tempElement.outerWidth()}),$tempElement.remove(),$(this).on("click",_this.options.onTabClick)}),"function"==typeof this.options.onTabClick&&(addClick=function(el){void 0===el.$tab.data("tabClickSet")&&(el.$tab.on("click",$.proxy(_this.options.onTabClick,el.$tab)),el.$tab.data("tabClickSet",!0))},_this.tabs.map(addClick),_this.dropdownTabs.map(addClick)),this},TabsLine.prototype.moveLastToDropdown=function(){var $element;return this.tabs.length&&(($element=this.tabs.pop()).$tab.prependTo(this.$dropdown),this.dropdownTabs.unshift($element)),this.checkDropdownContainer(),this},TabsLine.prototype.moveFirstToContainer=function(){var $element;return this.dropdownTabs.length&&(($element=this.dropdownTabs.shift()).$tab.appendTo(this.$element),this.tabs.push($element)),this.checkDropdownContainer(),this},TabsLine.prototype.getTabsWidth=function(){var tabsWidth=0;return this.tabs.forEach(function(entry){tabsWidth+=entry.width}),tabsWidth},TabsLine.prototype.isDropdownContainerVisible=function(){return this.$dropdownContainer.hasClass(this.options.visibleClass)},TabsLine.prototype.getFreeSpace=function(){var freeSpace=this.$element.width()-this.getTabsWidth()-this.options.freeSpaceOffset;return this.isDropdownContainerVisible()&&(freeSpace-=this.$dropdownContainer.outerWidth(),1===this.dropdownTabs.length&&0<=freeSpace-this.dropdownTabs[0].width+this.$dropdownContainer.outerWidth()&&(freeSpace+=this.$dropdownContainer.outerWidth())),freeSpace},TabsLine.prototype.moveTabsToDropdown=function(){for(var i=this.tabs.length-1;0<=i;i--){if(!(this.getFreeSpace()<0))return this;this.moveLastToDropdown()}return this},TabsLine.prototype.moveDropdownToTabs=function(){for(var dropdownTabsCount=this.dropdownTabs.length,i=0;i<dropdownTabsCount;i++){if(!(0<=this.getFreeSpace()-this.dropdownTabs[0].widLine truncated
@@ -0,0 +1 @@
window.jQuery,vc.events.on("vc:access:initialize",function(access){access.add("be_editor",vc_user_access().editor("grid_builder")),access.add("classic_editor",!1),vc.events.trigger("vc:access:grid_builder:ready",access)}),function($){vc.gridItemEditor=!0,vc.Storage.prototype.getContent=function(){var content;return _.isObject(window.tinymce)&&tinymce.editors.content&&tinymce.editors.content.save(),(content=window.vc_wpnop($("#content").val())).length?content:vcDefaultGridItemContent},vc.visualComposerView.prototype.rowSortableSelector="> [data-element_type]",vc.visualComposerView.prototype.events={"click #vc_templates-editor-button":"openTemplatesWindow",'click [data-vc-navbar-control="edit"]':"openVcGitemEditForm",'click [data-vc-navbar-control="preview"]':"renderGitemPreview",'change [data-vc-navbar-control="preview_width"]':"setPreviewItemWidth","click #wpb-save-post":"save",'change [data-vc-navbar-control="animation"]':"changeAnimation"},vc.visualComposerView.previewActivated=!1,vc.visualComposerView.prototype.renderGitemPreview=function(e){e&&e.preventDefault(),this.previewActivated?this.hidePreview():(vc.showSpinner(),this.sendDataGitemPreview())},vc.visualComposerView.prototype.sendDataGitemPreview=function(){var $form;$('[data-vc-grid-item="preview"]').html('<iframe name="vc_gitem-preview-iframe"></iframe>').addClass("vc_visible"),($form=$('<form id="vc_gitem-preview-form" action="'+encodeURI(ajaxurl)+'" method="post" target="vc_gitem-preview-iframe" style="position: absolute;visibility: hidden;right: 0; bottom:0"><input type="hidden" name="action" value="vc_gitem_preview"><input type="hidden" id="vc_gitem-preview-form-shortcode-string" name="shortcodes_string"><input type="hidden" name="post_id"><input type="hidden" name="_vcnonce" value="'+window.vcAdminNonce+'"><input type="submit" name="submit">').prependTo("body")).find('[name="post_id"]').val($("#post_ID").val()),$form.find('[name="shortcodes_string"]').val(vc.storage.getContent()),$form.find('[type="submit"]').trigger("click"),$form.remove()},vc.visualComposerView.prototype.showPreview=function(e){$("#visual_composer_content").hide(),$('[data-vc-grid-item="preview"]').addClass("vc_visible"),_.isString(e)&&$('[data-vc-grid-item="navbar_preview_width"] select').val(e),$('[data-vc-grid-item="navbar_preview_width"]').addClass("vc_visible"),vc.hideSpinner(),$('[data-vc-navbar-control="preview"]').text(i18nLocaleGItem.builder),this.previewActivated=!0},vc.visualComposerView.prototype.hidePreview=function(){$("#visual_composer_content").show(),$('[data-vc-grid-item="preview"]').removeClass("vc_visible").empty(),$('[data-vc-grid-item="navbar_preview_width"]').removeClass("vc_visible"),this.previewActivated=!1,$('[data-vc-navbar-control="preview"]').text(i18nLocaleGItem.preview)},vc.visualComposerView.prototype.setPreviewItemWidth=function(e){var iframeWindow=$("#vc_gitem-preview iframe").get(0).contentWindow;_.isString(e)?$('[data-vc-grid-item="navbar_preview_width"] select').val(e):e&&e.currentTarget&&iframeWindow.vcSetItemWidth($(e.currentTarget).val())},vc.visualComposerView.prototype.openVcGitemEditForm=function(e){e&&e.preventDefault();var vcGitemModel=vc.shortcodes.findWhere({shortcode:"vc_gitem"});this.previewActivated&&this.hidePreview(),vcGitemModel&&vc.edit_element_block_view.render(vcGitemModel)},vc.visualComposerView.prototype.setSortable=function(){return $(".wpb_column_container").sortable({forcePlaceholderSize:!0,forceHelperSize:!1,connectWith:".wpb_column_container",placeholder:"vc_placeholder",items:"> .wpb_sortable.wpb_content_element,> .wpb_content_element.vc-non-draggable",cancel:".vc-non-draggable",helper:this.renderPlaceholder,distance:3,scroll:!0,scrollSensitivity:70,cursor:"move",cursorAt:{top:20,left:16},tolerance:"intersect",start:function(){$("#visual_composer_content").addClass("vc_sorting-started"),$(".vc_not_inner_content").addClass("dragging_in")},stop:function(event,ui){$("#visual_composer_content").removeClass("vc_sorting-started"),$(".dragging_in").removeClass("dragging_in");var tag=ui.item.data("element_type"),parent_tag=ui.item.parent().closest("[data-element_type]").data("element_type"),allowed_container_element=!!_.isUndefined(vc.map[parent_tag].allowed_container_element)||vc.map[parent_tag].allowed_container_element;vc.check_relevance(parent_tag,tag)||$(this).sortable("cancel"),_.isObject(vc.map[tag])&&(_.isBoolean(vc.map[tag].is_container)&&!0===vc.map[tag].is_container||!_.isEmpty(vc.map[tag].as_parent))&&!0!==allowed_container_element&&allowed_container_element!==ui.item.data("element_type").replace(/_inner$/,"")&&$(this).sortable("cancel"),$(".vc_sorting-empty-container").removeClass("vc_sorting-empty-container")},update:this.updateElementsSorting,over:function(event,ui){var tag=ui.item.data("element_type"),parent_tag=ui.placeholder.closest("[data-element_type]").data("element_type"),allowed_container_element=!!_.isUndefined(vc.map[parent_tag].allowed_container_element)||vc.map[parent_tag].allowed_containerLine truncated
@@ -0,0 +1 @@
function vc_js(){vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_googleplus(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_google_fonts(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",function(){for(var prefix=["-webkit-","-moz-","-ms-","-o-",""],i=0;i<prefix.length;i++)prefix[i]+"transform"in document.documentElement.style&&(document.documentElement.className+=" vc_transform ")}(),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function($parent){($parent?$parent.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var this_element=jQuery(this),sliderTimeout=1e3*parseInt(this_element.attr("data-interval")),sliderFx=this_element.attr("data-flex_fx"),slideshow=!0;0===sliderTimeout&&(slideshow=!1),this_element.is(":visible")&&this_element.flexslider({animation:sliderFx,slideshow:slideshow,slideshowSpeed:sliderTimeout,sliderSpeed:800,smoothHeight:!0})})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){0<jQuery(".wpb_googleplus").length&&function(){var po=document.createElement("script");po.type="text/javascript",po.async=!0,po.src="https://apis.google.com/js/plusone.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po,s)}()}),"function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){0<jQuery(".wpb_pinterest").length&&function(){var po=document.createElement("script");po.type="text/javascript",po.async=!0,po.src="https://assets.pinterest.com/js/pinit.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po,s)}()}),"function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.waypoint&&jQuery(".vc_progress_bar").waypoint(function(){jQuery(this).find(".vc_single_bar").each(function(index){var bar=jQuery(this).find(".vc_bar"),val=bar.data("percentage-value");setTimeout(function(){bar.css({width:val+"%"})},200*index)})},{offset:"85%"})}),"function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){void 0!==jQuery.fn.waypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").waypoint(function(){jQuery(this).addClass("wpb_start_animation animated")},{offset:"85%"})}),"function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function($el){function event(e){e&&e.preventDefault&&e.preventDefault();var element=jQuery(this).closest(".vc_toggle"),content=element.find(".vc_toggle_content");element.hasClass("vc_toggle_active")?content.slideUp({duration:300,complete:function(){element.removeClass("vc_toggle_active")}}):content.slideDown({duration:300,complete:function(){element.addClass("vc_toggle_active")}})}$el?$el.hasClass("vc_toggle_title")?$el.unbind("click").click(event):$el.find(".vc_toggle_title").unbind("click").click(event):jQuery(".vc_toggle_title").unbind("click").on("click",event)}),"function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function($tab){if(jQuery.ui){var $call=$tab||jQuery(".wpb_tabs, .wpb_tour"),ver=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",old_version=1===parseInt(ver[0])&&parseInt(ver[1])<9;$call.each(function(index){var $tabs,interval=jQuery(this).attr("data-interval"),tabs_array=[];if($tabs=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(event,ui){wpb_prepare_tab_content(event,ui)},beforeActivate:function(event,ui){1!==ui.newPanel.index()&&ui.newPanel.find(".vc_pie_chart:not(.vc_ready)")},activate:function(event,ui){wpb_prepare_tab_content(event,ui)}}),interval&&0<interval)try{$tabs.tabs("rotate",1e3*interval)}catch(e){window.console&&window.console.warn&&console.warn(e)}jQuery(this).find(".wpb_tab").each(function(){tabs_array.push(this.id)}),jQuery(this).find(".wpb_tabs_nav li").click(function(e){return e.preventDefault(),old_version?$tabs.tabs("select",jQuery("a",this).attr("href")):$tabs.tabs("option","active",jQuery(this).index()),!1}),jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").click(function(e){if(e.preventDefault(),old_version){var index=$tabs.tabs("option","selected");jQuery(this).parent().hasClass("wpb_next_slide")?index++:index--,index<0?index=$tabs.tabs("length")-1:index>=$tabs.tabs("length")&&(index=0),$tabs.tabs("select",index)}else{index=$tabs.tabs("option","active");var length=$tabs.find(".wpb_tab").length;index=jQuery(this).parent().hasClass("wpb_next_slide")?length<=index+1?0:index+1:index-1<0?length-1:index-1,$tabs.tabs("option","active",index)}})})}}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(index){var $tabs,$this=jQuery(thLine truncated
@@ -0,0 +1 @@
var vcPointerMessage,vc_iframe={scripts_to_wait:0,time_to_call:!1,ajax:!1,activities_list:[],scripts_to_load:!1,loaded_script:{},loaded_styles:{},inline_scripts:[],inline_scripts_body:[]};!function($){vc_iframe.showNoContent=function(show){var $vc_no_content_helper_el=$("#vc_no-content-helper");!1===show&&$vc_no_content_helper_el.addClass("vc_not-empty")||$vc_no_content_helper_el.removeClass("vc_not-empty")},vc_iframe.scrollTo=function(id){var $el,el_height,position_y,position,window_height=$(window).height(),window_scroll_top=$(window).scrollTop();if(id&&($el=$("[data-model-id="+id+"]"))){if(!1===(position_y=!!(position=$el.offset())&&position.top))return!1;el_height=$el.height(),(window_scroll_top+window_height<position_y||position_y+el_height<window_scroll_top)&&$.scrollTo($el,500,{offset:-50})}},vc_iframe.startSorting=function(){$("body").addClass("vc_sorting")},vc_iframe.stopSorting=function(){$("body").removeClass("vc_sorting")},vc_iframe.initDroppable=function(){$("body").addClass("vc_dragging"),$(".vc_container-block").bind("mouseenter.vcDraggable",function(){$(this).addClass("vc_catcher")}).bind("mouseout.vcDraggable",function(){$(this).removeClass("vc_catcher")})},vc_iframe.killDroppable=function(){$("body").removeClass("vc_dragging"),$(".vc_container-block").unbind("mouseover.vcDraggable mouseleave.vcDraggable")},vc_iframe.addActivity=function(callback){this.activities_list.push(callback)},vc_iframe.renderPlaceholder=function(event,element){var tag=$(element).data("tag"),is_container=parent.vc.map[tag]===Object(parent.vc.map[tag])&&((!0===parent.vc.map[tag].is_container||!1===parent.vc.map[tag].is_container||"[object Boolean]"===toString.call(parent.vc.map[tag].is_container))&&!0===parent.vc.map[tag].is_container||null!=parent.vc.map[tag].as_parent&&"[object Array]"===Object.prototype.toString.call(parent.vc.map[tag].as_parent)&&0!=parent.vc.map[tag].as_parent);return $('<div class="vc_helper vc_helper-'+tag+'"><i class="vc_general vc_element-icon'+(parent.vc.map[tag].icon?" "+parent.vc.map[tag].icon:"")+'"'+(is_container?' data-is-container="true"':"")+"></i> "+parent.vc.map[tag].name+"</div>").prependTo("body")},vc_iframe.setSortable=function(app){var setSectionSortable,setRowSortable,setElementsSortable,$rowSortable,$elementsSortable,_this=this;parent.vc.$page.addClass("vc-main-sortable-container");var $sectionSortables,$main=$(parent.vc.$page);$main.sortable({forcePlaceholderSize:!1,connectWith:!1,items:"> [data-tag=vc_row], > [data-tag=vc_section]",handle:" > .vc_row .vc_move-vc_row, > .vc_controls .vc_element-move",cursor:"move",cursorAt:{top:20,left:16},placeholder:"vc_placeholder-row",cancel:".vc-non-draggable-row",helper:_this.renderPlaceholder,start:function(event,ui){vc_iframe.startSorting(),ui.placeholder.height(30),"vc_section"==ui.item.data("tag")?($sectionSortables&&$sectionSortables.sortable("destroy"),$rowSortable&&$rowSortable.sortable("destroy"),$elementsSortable&&$elementsSortable.sortable("destroy"),$main.sortable("option","connectWith",!1)):$main.sortable("option","connectWith",['[data-tag="vc_section"] > .vc_element-container']),$main.sortable("refresh")},stop:function(event,ui){var tag,vc_map,parent_tag,allowed_container_element,trig_changed;(_this.stopSorting(),"vc_section"==(tag=ui.item.data("tag"))&&(setSectionSortable(),setRowSortable(),setElementsSortable()),$main.sortable("option","connectWith",!1),$main.sortable("refresh"),vc_map=window.parent.vc.map||!1,trig_changed=!0,parent_tag=ui.item.parents("[data-tag]:first").data("tag"))&&(allowed_container_element=!vc_map[parent_tag].allowed_container_element||vc_map[parent_tag].allowed_container_element,window.parent.vc.checkRelevance(parent_tag,tag)||(ui.placeholder.removeClass("vc_hidden-placeholder"),$(this).sortable("cancel"),trig_changed=!1),vc_map[tag]===Object(vc_map[tag])&&((!0===vc_map[tag].is_container||!1===vc_map[tag].is_container||"[object Boolean]"===toString.call(vc_map[tag].is_container))&&!0===vc_map[tag].is_container||null!=vc_map[tag].as_parent&&"[object Array]"===Object.prototype.toString.call(vc_map[tag].as_parent)&&0!=vc_map[tag].as_parent)&&!0!==allowed_container_element&&allowed_container_element!==tag.replace(/_inner$/,"")&&(ui.placeholder.removeClass("vc_hidden-placeholder"),$(this).sortable("cancel"),trig_changed=!1));trig_changed&&parent.vc.shortcodes.get(ui.item.data("modelId")).view.parentChanged()},tolerance:"pointer",update:function(event,ui){parent.vc.app.saveRowOrder(event,ui)}}),setElementsSortable=function(){$elementsSortable=$(".vc_element-container:not(.vc_section)").sortable({forcePlaceholderSize:!0,helper:this.renderPlaceholder,distance:3,scroll:!0,scrollSensitivity:70,cursor:"move",cursorAt:{top:20,left:16},connectWith:".vc_element-container:not(.vc_section)",items:"> [data-model-id]",cancel:".vc-non-draggable",handle:".vc_element-move",start:this.startSorting,update:app.saveElementOrder,change:function(event,ui){ui.placeholder.height(30),ui.placeholder.width(ui.placeholder.parent(Line truncated
@@ -0,0 +1 @@
if(!window.vc)var vc={};if(function(){vc.templateOptions={default:{evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},custom:{evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g}};var noMatch=/(.)^/,escapes={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},escapeRegExp=/\\|'|\r|\n|\u2028|\u2029/g,escapeChar=function(match){return"\\"+escapes[match]};vc.template=function(text,settings){settings=_.defaults({},settings,vc.templateOptions.default);var render,matcher=RegExp([(settings.escape||noMatch).source,(settings.interpolate||noMatch).source,(settings.evaluate||noMatch).source].join("|")+"|$","g"),index=0,source="__p+='";text.replace(matcher,function(match,escape,interpolate,evaluate,offset){return source+=text.slice(index,offset).replace(escapeRegExp,escapeChar),index=offset+match.length,escape?source+="'+\n((__t=("+escape+"))==null?'':_.escape(__t))+\n'":interpolate?source+="'+\n((__t=("+interpolate+"))==null?'':__t)+\n'":evaluate&&(source+="';\n"+evaluate+"\n__p+='"),match}),source+="';\n",settings.variable||(source="with(obj||{}){\n"+source+"}\n"),source="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+source+"return __p;\n";try{render=new Function(settings.variable||"obj","_",source)}catch(e){throw e.source=source,e}var template=function(data){return render.call(this,data,_)},argument=settings.variable||"obj";return template.source="function("+argument+"){\n"+source+"}",template}}(),function($){"use strict";_.isUndefined(window.vc)&&(window.vc={}),window.Vc_postSettingsEditor=Backbone.View.extend({$editor:!1,sel:"wpb_csseditor",ace_enabled:!1,initialize:function(sel){sel&&0<sel.length&&(this.sel=sel),this.ace_enabled=!0},aceEnabled:function(){return this.ace_enabled&&window.ace&&window.ace.edit},setEditor:function(value){return this.aceEnabled()?this.setEditorAce(value):this.setEditorTextarea(value),this.$editor},focus:function(){if(this.aceEnabled()){this.$editor.focus();var count=this.$editor.session.getLength();this.$editor.gotoLine(count,this.$editor.session.getLine(count-1).length)}else this.$editor.focus()},setEditorAce:function(value){this.$editor||(this.$editor=ace.edit(this.sel),this.$editor.getSession().setMode("ace/mode/css"),this.$editor.setTheme("ace/theme/chrome")),this.$editor.setValue(value),this.$editor.clearSelection(),this.$editor.focus();var count=this.$editor.getSession().getLength();return this.$editor.gotoLine(count,this.$editor.getSession().getLine(count-1).length),this.$editor},setEditorTextarea:function(value){return this.$editor||(this.$editor=$("<textarea></textarea>").css({width:"100%",height:"100%",minHeight:"300px"}),$("#"+this.sel).empty().append(this.$editor).css({overflowLeft:"hidden",width:"100%",height:"100%"})),this.$editor.val(value),this.$editor.focus(),this.$editor.parent().css({overflow:"auto"}),this.$editor},setSize:function(){var height=$(window).height()-380;this.aceEnabled()?$("#"+this.sel).css({height:height,minHeight:height}):(this.$editor.parent().css({height:height,minHeight:height}),this.$editor.css({height:"98%",width:"98%"}))},setSizeResizable:function(){var height,editorPositionTop,$editor=$("#"+this.sel);editorPositionTop=$editor.offset().top,height=vc.active_panel.$el.find('[data-vc-ui-element="panel-footer"]').offset().top-editorPositionTop-70,this.aceEnabled()?$editor.css({height:height,minHeight:height}):(this.$editor.parent().css({height:height,minHeight:height}),this.$editor.css({height:"98%",width:"98%"}))},getEditor:function(){return this.$editor},getValue:function(){return this.aceEnabled()?this.$editor.getValue():this.$editor.val()}})}(window.jQuery),function($){"use strict";$(function(){var $form=$('[data-vc-roles="form"]');$('[data-vc-roles="part-state"]').click(function(){var $this=$(this);$this.data("vcCustomSelector",$this.find(":selected").data("vcCustomSelector")||"")}).change(function(){var value,part,$customBlock,$this,customSelector;if(part=($this=$(this)).data("vcRolePart"),"*"===($customBlock=$('[data-vc-role-related-part="'+part+'"]')).data("vcRolePartState"))return!1;value=$this.val(),customSelector=$this.data("vcCustomSelector")||"",$customBlock.data("vcRolePartState").toString()===value?($customBlock.addClass("vc_visible"),customSelector.length&&$customBlock.find($this.data("vcCustomSelector")).prop("checked",!0)):$customBlock.removeClass("vc_visible")}),$form.submit(function(e){var $submitButton,data={};e.preventDefault(),($submitButton=$("#submit_btn")).attr("disabled",!0),$("#vc_wp-spinner").show(),data.action=$("#vc_settings-roles-action").val(),data.vc_nonce_field=$("#vc_nonce_field").val(),data.vc_roles={},$("[data-vc-role]").each(function(){var $this=$(this),role=$this.data("vcRole"),roleData={};$this.find("select").each(function(){var $this=$(this),part=$this.data("vcPart");void 0===roleData[part]&&(roleData[part]={}),roleData[part][$this.data("vcName")]=$this.val()}),$thLine truncated
@@ -0,0 +1 @@
var vcGridStyleAll;!function($){(vcGridStyleAll=function(grid){this.grid=grid,this.settings=grid.settings,this.filterValue=null,this.$el=!1,this.$content=!1,this.isLoading=!1,this.$loader=$('<div class="vc_grid-loading"></div>'),this.init()}).prototype.init=function(){_.bindAll(this,"addItems","showItems","setIsLoading")},vcGridStyleAll.prototype.render=function(){this.$el=this.grid.$el,this.$content=this.$el,this.$content.find(".vc_grid-item").length?(this.grid.initFilter(),this.filter(),this.showItems(),this.filterValue=-1,window.vc_prettyPhoto()):(_.defer(this.setIsLoading),this.grid.ajax({},this.addItems))},vcGridStyleAll.prototype.setIsLoading=function(){this.$content.append(this.$loader),this.isLoading=!0},vcGridStyleAll.prototype.unsetIsLoading=function(){this.isLoading=!1,this.$loader&&this.$loader.remove()},vcGridStyleAll.prototype.filter=function(filter){if(filter=_.isUndefined(filter)||"*"===filter?"":filter,this.filterValue==filter)return!1;var animation=this.$content.closest(".vc_grid-container").data("initial-loading-animation");vcGridSettings.addItemsAnimation=animation,this.$content.find(".vc_visible-item").removeClass("vc_visible-item "+vcGridSettings.addItemsAnimation+" animated"),this.filterValue=filter,_.defer(this.showItems)},vcGridStyleAll.prototype.showItems=function(){var $els=this.$content.find(".vc_grid-item"+this.filterValue);this.setIsLoading();var animation=this.$content.closest(".vc_grid-container").data("initial-loading-animation");vcGridSettings.addItemsAnimation=animation,$els.addClass("vc_visible-item "+("none"!==vcGridSettings.addItemsAnimation?vcGridSettings.addItemsAnimation+" animated":"")),this.unsetIsLoading(),$(window).trigger("grid:items:added",this.$el)},vcGridStyleAll.prototype.addItems=function(html){if(html&&html.length){var els=$(html);this.$el.html(els),this.unsetIsLoading(),this.$content=els.find('[data-vc-grid-content="true"]'),this.grid.initFilter(),this.filter(),window.vc_prettyPhoto()}}}(window.jQuery);var vcGridStyleLoadMore=null;!function($){(vcGridStyleLoadMore=function(grid){this.grid=grid,this.settings=grid.settings,this.$loadMoreBtn=!1,this.$el=!1,this.filterValue=null,this.$content=!1,this.isLoading=!1,this.$loader=$('<div class="vc_grid-loading"></div>'),this.init()}).prototype.setIsLoading=function(){this.$loadMoreBtn&&this.$loadMoreBtn.hide(),this.isLoading=!0},vcGridStyleLoadMore.prototype.unsetIsLoading=function(){this.isLoading=!1,this.setLoadMoreBtn()},vcGridStyleLoadMore.prototype.init=function(){_.bindAll(this,"addItems")},vcGridStyleLoadMore.prototype.render=function(){this.$el=this.grid.$el,this.$content=this.$el,this.grid.initFilter(),this.filter(),this.showItems(),this.filterValue=-1,window.vc_prettyPhoto(),this.$content.append(this.$loader),this.grid.ajax({},this.addItems)},vcGridStyleLoadMore.prototype.showItems=function(){var $els=this.$content.find(".vc_grid_filter-item:not(.vc_visible-item):lt("+this.settings.items_per_page+")");this.setIsLoading();var animation=this.$content.closest(".vc_grid-container").data("initial-loading-animation");vcGridSettings.addItemsAnimation=animation,$els.addClass("vc_visible-item "+vcGridSettings.addItemsAnimation+" animated"),this.unsetIsLoading(),$(window).trigger("grid:items:added",this.$el)},vcGridStyleLoadMore.prototype.filter=function(filter){if(filter=_.isUndefined(filter)||"*"===filter?"":filter,this.filterValue==filter)return!1;this.$content.closest(".vc_grid-container").data("initial-loading-animation");this.$content.find(".vc_visible-item, .vc_grid_filter-item").removeClass("vc_visible-item vc_grid_filter-item "),this.filterValue=filter,this.$content.find(".vc_grid-item"+this.filterValue).addClass("vc_grid_filter-item"),this.showItems()},vcGridStyleLoadMore.prototype.addItems=function(html){if(html&&html.length){var els=$(html);this.$el.html(els),this.unsetIsLoading(),this.$content=els.find('[data-vc-grid-content="true"]'),this.$loadMoreBtn=els.find('[data-vc-grid-load-more-btn="true"] .vc_btn3'),this.$loadMoreBtn.length||(this.$loadMoreBtn=els.find('[data-vc-grid-load-more-btn="true"] .vc_btn'));var self=this;this.$loadMoreBtn.click(function(e){e.preventDefault(),self.showItems()}),this.$loadMoreBtn.hide(),this.grid.initFilter(),this.filter(),this.$loader.remove(),window.vc_prettyPhoto()}},vcGridStyleLoadMore.prototype.setLoadMoreBtn=function(){$('.vc_grid_filter-item:not(".vc_visible-item")',this.$content).length&&$(".vc_grid_filter-item",this.$content).length?this.$loadMoreBtn&&this.$loadMoreBtn.show():this.$loadMoreBtn&&this.$loadMoreBtn.hide()}}(window.jQuery);var vcGridStyleLazy=null;!function($){$.waypoints("extendFn","vc_grid-infinite",function(options){var opts;return"auto"===(opts=$.extend({},$.fn.waypoint.defaults,{container:"auto",items:".infinite-item",offset:"bottom-in-view",handle:{load:function(opts){}}},options)).container?this:$(opts.container,this),opts.handler=function(direction){"down"!==direction&&"right"!==direction||($(this).waypoint("destroy"),opts.handle.load.caLine truncated