Import legacy nurinda.co.id website
This commit is contained in:
1 parent
3f59bb9038
commit
6e21646ac4
13389 files changed
+3246690
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user