TanchoToplineCargo/public/niwida/assets/js/rev-slider/rs6.min.js

39 lines
319 KiB
JavaScript
Raw Normal View History

2024-05-05 04:47:49 +00:00
/*!
- Slider Revolution 6.2.21 JavaScript Plugin -
..........................xXXXXX.................
................. xXXXXX..xXXXXX..xXXXXX.........
..................xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.........,xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.........,xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.........,xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
..........xXXXXX..xXXXXX..xXXXXX..xXXXXX.........
.....................xxxxxxxxxxxxxxxxxxx.........
.....................xxxxxxxxxxxxxxxxxxx.........
.....................xxxxxxxxxxxxxxxxxxx.........
VERSION: 6.2.22
DATE: 2020-08-20
@author: Krisztian Horvath, ThemePunch OHG.
UPDATES AND DOCS AT:
https://www.themepunch.com/support-center
GET LICENSE AT:
https://www.themepunch.com/links/slider_revolution_wordpress_regular_license
LICENSE:
Copyright (c) 2009-2019, ThemePunch. All rights reserved.
This work is subject to the terms at https://www.themepunch.com/links/slider_revolution_wordpress_regular_license (Regular / Extended)
*/
!function(e,t){"use strict";var i;window.RSANYID=window.RSANYID===t?[]:window.RSANYID,window.RSANYID_sliderID=window.RSANYID_sliderID===t?[]:window.RSANYID_sliderID,e.fn.extend({revolution:function(o){return this.each(function(){i=e.fn.revolution;for(var s=document.getElementsByClassName("rs-p-wp-fix");s[0];)s[0].parentNode.removeChild(s[0]);this.id!==t?(i[n]={anyid:[]},this.id=i.revCheckIDS(n,this,!0)):this.id="rs_module_"+Math.round(1e7*Math.random());var n=this.id,d=e.extend(!0,{},o);i[n]=F(o),i[n].ignoreHeightChange=a&&"fullscreen"===i[n].sliderLayout&&i[n].ignoreHeightChange,i[n].option_export=d,i[n].anyid=[],i[n].c=e(this),i[n].cpar=i[n].c.parent(),i[n].canvas=i[n].c.find("rs-slides"),i[n].caches={calcResponsiveLayersList:[],contWidthManager:{}},window.RSBrowser=window.RSBrowser===t?i.get_browser():window.RSBrowser,i[n].noDetach=i[n].BUG_ie_clipPath="Edge"===window.RSBrowser||"IE"===window.RSBrowser,i[n].indexhelper=0,i[n].level=0,i[n].rtl=e("body").hasClass("rtl"),i[n]._L=i[n]._L===t?{}:i[n]._L,i[n].emptyObject="{}",i[n].dimensionReCheck={},i.globalListener===t&&i.pageHandler(n),i[n].stopAfterLoops!=t&&i[n].stopAfterLoops>-1?i[n].looptogo=i[n].stopAfterLoops:i[n].looptogo="disabled",i[n].BUG_safari_clipPath="Safari"===i.get_browser()&&i.get_browser_version()>"12",i[n].minHeight="fullwidth"===i[n].sliderLayout?0:i[n].minHeight!=t&&""!==i[n].minHeight?parseInt(i[n].minHeight,0):0,i[n].minHeight=i[n].minHeight===t?0:i[n].minHeight,i[n].isEdge="Edge"===i.get_browser(),r(n),i.updateVisibleArea(n),l(n),W(n),window.requestAnimationFrame(function(){if("fullscreen"===i[n].sliderLayout){var e=i.getFullscreenOffsets(n);0!==e&&i[n].cpar.height(i.getWinH(n)-e)}i[n].cpar[0].style.visibility="visible"}),"hero"==i[n].sliderType&&i[n].c.find("rs-slide").each(function(t){t>0&&e(this).remove()}),i[n].navigation.use="hero"!==i[n].sliderType&&("carousel"==i[n].sliderType||i[n].navigation.keyboardNavigation||"on"==i[n].navigation.mouseScrollNavigation||"carousel"==i[n].navigation.mouseScrollNavigation||i[n].navigation.touch.touchenabled||i[n].navigation.arrows.enable||i[n].navigation.bullets.enable||i[n].navigation.thumbnails.enable||i[n].navigation.tabs.enable),i[n].c.find("rs-bgvideo").each(function(){"RS-BGVIDEO"!==this.tagName||this.id!==t&&""!==this.id||(this.id="rs-bg-video-"+Math.round(1e6*Math.random()))}),tpGS.force3D="auto",!0===i[n].modal.useAsModal&&-1===i.RS_prioList.indexOf(n)&&(i.RS_toInit[n]=!1,i.RS_prioList.push(n)),i.RS_killedlist!==t&&-1!==i.RS_killedlist.indexOf(n)&&(i.RS_toInit[n]=!1,i.RS_prioList.push(n)),!0===i.RS_prioListFirstInit&&!0!==i[n].modal.useAsModal&&-1===i.RS_prioList.indexOf(n)&&(i.RS_toInit[n]=!1,i.RS_prioList.push(n)),i.initNextRevslider(n)})},getRSJASONOptions:function(e){console.log(JSON.stringify(i[e].option_export))},getRSVersion:function(e){var t,i,a=window.SliderRevolutionVersion;if(!e){for(var r in t=i="---------------------------------------------------------\n",t+=" Currently Loaded Slider Revolution & SR Modules :\n"+i,a)a.hasOwnProperty(r)&&(t+=a[r].alias+": "+a[r].ver+"\n");t+=i}return e?a:t},revremoveslide:function(t){return this.each(function(){var a=this.id;if(!(t<0||t>i[a].slideamount)&&i[a]&&i[a].slides.length>0&&(t>0||t<=i[a].slides.length)){var r=i.gA(i[a].slides[t],"key");i[a].slideamount=i[a].slideamount-1,i[a].realslideamount=i[a].realslideamount-1,s("rs-bullet",r,a),s("rs-tab",r,a),s("rs-thumb",r,a),e(i[a].slides[t]).remove(),i[a].thumbs=o(i[a].thumbs,t),i.updateNavIndexes&&i.updateNavIndexes(a),t<=i[a].pr_active_key&&(i[a].pr_active_key=i[a].pr_active_key-1)}})},revaddcallback:function(e){return this.each(function(){i[this.id]&&(i[this.id].callBackArray===t&&(i[this.id].callBackArray=[]),i[this.id].callBackArray.push(e))})},revgetparallaxproc:function(){if(i[this[0].id])return i[this[0].id].scrollproc},revdebugmode:function(){},revscroll:function(t){return this.each(function(){var i=e(this);e("body,html").animate({scrollTop:i.offset().top+i.height()-t+"px"},{duration:400})})},revredraw:function(){return this.each(function(){m(this.id)})},revkill:function(){return this.eac
/*! Custom Eases */
"IE"!==window.RSBrowser&&i.customEases!==t&&(!i.customEases.SFXBounceLite&&"true"!=i.customEases.SFXBounceLite||tpGS.SFXBounceLite!==t||(tpGS.SFXBounceLite=tpGS.CustomBounce.create("SFXBounceLite",{strength:.3,squash:1,squashID:"SFXBounceLite-squash"})),!i.customEases.SFXBounceSolid&&"true"!=i.customEases.SFXBounceSolid||tpGS.SFXBounceSolid!==t||(tpGS.SFXBounceSolid=tpGS.CustomBounce.create("SFXBounceSolid",{strength:.5,squash:2,squashID:"SFXBounceSolid-squash"})),!i.customEases.SFXBounceStrong&&"true"!=i.customEases.SFXBounceStrong||tpGS.SFXBounceStrong!==t||(tpGS.SFXBounceStrong=tpGS.CustomBounce.create("SFXBounceStrong",{strength:.7,squash:3,squashID:"SFXBounceStrong-squash"})),!i.customEases.SFXBounceExtrem&&"true"!=i.customEases.SFXBounceExtrem||tpGS.SFXBounceExtrem!==t||(tpGS.SFXBounceExtrem=tpGS.CustomBounce.create("SFXBounceExtrem",{strength:.9,squash:4,squashID:"SFXBounceExtrem-squash"})),!i.customEases.BounceLite&&"true"!=i.customEases.BounceLite||tpGS.BounceLite!==t||(tpGS.BounceLite=tpGS.CustomBounce.create("BounceLite",{strength:.3})),!i.customEases.BounceSolid&&"true"!=i.customEases.BounceSolid||tpGS.BounceSolid!==t||(tpGS.BounceSolid=tpGS.CustomBounce.create("BounceSolid",{strength:.5})),!i.customEases.BounceStrong&&"true"!=i.customEases.BounceStrong||tpGS.BounceStrong!==t||(tpGS.BounceStrong=tpGS.CustomBounce.create("BounceStrong",{strength:.7})),!i.customEases.BounceExtrem&&"true"!=i.customEases.BounceExtrem||tpGS.BounceExtrem!==t||(tpGS.BounceExtrem=tpGS.CustomBounce.create("BounceExtrem",{strength:.9}))),i}(e.extend(!0,{sliderType:"standard",sliderLayout:"auto",dottedOverlay:"none",duration:9e3,imgCrossOrigin:"",modal:{useAsModal:!1,cover:!0,coverColor:"rgba(0,0,0,0.5)",horizontal:"center",vertical:"middle"},navigation:{keyboardNavigation:!1,keyboard_direction:"horizontal",mouseScrollNavigation:"off",onHoverStop:!0,mouseScrollReverse:"default",touch:{touchenabled:!1,touchOnDesktop:!1,swipe_treshold:75,swipe_min_touches:1,swipe_direction:"horizontal",drag_block_vertical:!1,mobileCarousel:!0,desktopCarousel:!0},arrows:{style:"",enable:!1,hide_onmobile:!1,hide_under:0,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_over:9999,tmp:"",rtl:!1,left:{h_align:"left",v_align:"center",h_offset:20,v_offset:0,container:"slider"},right:{h_align:"right",v_align:"center",h_offset:20,v_offset:0,container:"slider"}},bullets:{enable:!1,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",h_align:"center",v_align:"bottom",space:5,h_offset:0,v_offset:20,tmp:'<span class="tp-bullet-image"></span><span class="tp-bullet-title"></span>',container:"slider",rtl:!1,style:""},thumbnails:{container:"slider",rtl:!1,style:"",enable:!1,width:100,height:50,min_width:100,wrapper_padding:2,wrapper_color:"transparent",tmp:'<span class="tp-thumb-image"></span><span class="tp-thumb-title"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,position:"inner",space:2,h_align:"center",v_align:"bottom",h_offset:0,v_offset:20},tabs:{container:"slider",rtl:!1,style:"",enable:!1,width:100,min_width:100,height:50,wrapper_padding:10,wrapper_color:"transparent",tmp:'<span class="tp-tab-image"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,space:0,position:"inner",h_align:"center",v_align:"bottom",h_offset:0,v_offset:20}},responsiveLevels:4064,visibilityLevels:[2048,1024,778,480],gridwidth:960,gridheight:500,minHeight:0,maxHeight:0,keepBPHeight:!1,useFullScreenHeight:!0,overflowHidden:!1,forceOverflow:!1,fixedOnTop:!1,autoHeight:!1,gridEQModule:!1,disableForceFullWidth:!1,fullScreenOffsetContainer:"",fullScreenOffset:"0",hideLayerAtLimit:0,hideAllLayerAtLimit:0,hideSliderAtLimit:0,progressBar:{disableProgressBar:!1,style:"horizontal",size:"5px",radius:10,vertical:"bottom",horizontal:"left",x:0,y:0,color:"rgba(255,255,255,0.5)",bgcolor:"transparent",basedon:"slide",ga