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={};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