29 lines
56 KiB
JavaScript
29 lines
56 KiB
JavaScript
|
/*!
|
||
|
* Webflow: Front-end site library
|
||
|
* @license MIT
|
||
|
* Inline scripts may access the api using an async handler:
|
||
|
* var Webflow = Webflow || [];
|
||
|
* Webflow.push(readyFunction);
|
||
|
*/!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=4)}([function(t,e,n){"use strict";var i={},r={},a=[],o=window.Webflow||[],s=window.jQuery,u=s(window),c=s(document),l=s.isFunction,f=i._=n(6),d=i.tram=n(1)&&s.tram,h=!1,p=!1;function v(t){i.env()&&(l(t.design)&&u.on("__wf_design",t.design),l(t.preview)&&u.on("__wf_preview",t.preview)),l(t.destroy)&&u.on("__wf_destroy",t.destroy),t.ready&&l(t.ready)&&function(t){if(h)return void t.ready();if(f.contains(a,t.ready))return;a.push(t.ready)}(t)}function m(t){l(t.design)&&u.off("__wf_design",t.design),l(t.preview)&&u.off("__wf_preview",t.preview),l(t.destroy)&&u.off("__wf_destroy",t.destroy),t.ready&&l(t.ready)&&function(t){a=f.filter(a,function(e){return e!==t.ready})}(t)}d.config.hideBackface=!1,d.config.keepInherited=!0,i.define=function(t,e,n){r[t]&&m(r[t]);var i=r[t]=e(s,f,n)||{};return v(i),i},i.require=function(t){return r[t]},i.push=function(t){h?l(t)&&t():o.push(t)},i.env=function(t){var e=window.__wf_design,n=void 0!==e;return t?"design"===t?n&&e:"preview"===t?n&&!e:"slug"===t?n&&window.__wf_slug:"editor"===t?window.WebflowEditor:"test"===t?window.__wf_test:"frame"===t?window!==window.top:void 0:n};var g,w=navigator.userAgent.toLowerCase(),b=i.env.touch="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,y=i.env.chrome=/chrome/.test(w)&&/Google/.test(navigator.vendor)&&parseInt(w.match(/chrome\/(\d+)\./)[1],10),x=i.env.ios=/(ipod|iphone|ipad)/.test(w);i.env.safari=/safari/.test(w)&&!y&&!x,b&&c.on("touchstart mousedown",function(t){g=t.target}),i.validClick=b?function(t){return t===g||s.contains(t,g)}:function(){return!0};var k,_="resize.webflow orientationchange.webflow load.webflow";function E(t,e){var n=[],i={};return i.up=f.throttle(function(t){f.each(n,function(e){e(t)})}),t&&e&&t.on(e,i.up),i.on=function(t){"function"==typeof t&&(f.contains(n,t)||n.push(t))},i.off=function(t){n=arguments.length?f.filter(n,function(e){return e!==t}):[]},i}function O(t){l(t)&&t()}function T(){k&&(k.reject(),u.off("load",k.resolve)),k=new s.Deferred,u.on("load",k.resolve)}i.resize=E(u,_),i.scroll=E(u,"scroll.webflow resize.webflow orientationchange.webflow load.webflow"),i.redraw=E(),i.location=function(t){window.location=t},i.env()&&(i.location=function(){}),i.ready=function(){h=!0,p?(p=!1,f.each(r,v)):f.each(a,O),f.each(o,O),i.resize.up()},i.load=function(t){k.then(t)},i.destroy=function(t){t=t||{},p=!0,u.triggerHandler("__wf_destroy"),null!=t.domready&&(h=t.domready),f.each(r,m),i.resize.off(),i.scroll.off(),i.redraw.off(),a=[],o=[],"pending"===k.state()&&T()},s(i.ready),T(),t.exports=window.Webflow=i},function(t,e,n){"use strict";var i=n(2)(n(7));window.tram=function(t){function e(t,e){return(new j.Bare).init(t,e)}function n(t){return t.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()})}function r(t){var e=parseInt(t.slice(1),16);return[e>>16&255,e>>8&255,255&e]}function a(t,e,n){return"#"+(1<<24|t<<16|e<<8|n).toString(16).slice(1)}function o(){}function s(t,e,n){c("Units do not match ["+t+"]: "+e+", "+n)}function u(t,e,n){if(void 0!==e&&(n=e),void 0===t)return n;var i=n;return Q.test(t)||!J.test(t)?i=parseInt(t,10):J.test(t)&&(i=1e3*parseFloat(t)),0>i&&(i=0),i==i?i:n}function c(t){B.debug&&win
|
||
|
/*!
|
||
|
* Webflow._ (aka) Underscore.js 1.6.0 (custom build)
|
||
|
* _.each
|
||
|
* _.map
|
||
|
* _.find
|
||
|
* _.filter
|
||
|
* _.any
|
||
|
* _.contains
|
||
|
* _.delay
|
||
|
* _.defer
|
||
|
* _.throttle (webflow)
|
||
|
* _.debounce
|
||
|
* _.keys
|
||
|
* _.has
|
||
|
* _.now
|
||
|
*
|
||
|
* http://underscorejs.org
|
||
|
* (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||
|
* Underscore may be freely distributed under the MIT license.
|
||
|
* @license MIT
|
||
|
*/
|
||
|
t.exports=function(){var t={VERSION:"1.6.0-Webflow"},e={},n=Array.prototype,i=Object.prototype,a=Function.prototype,o=(n.push,n.slice),s=(n.concat,i.toString,i.hasOwnProperty),u=n.forEach,c=n.map,l=(n.reduce,n.reduceRight,n.filter),f=(n.every,n.some),d=n.indexOf,h=(n.lastIndexOf,Array.isArray,Object.keys),p=(a.bind,t.each=t.forEach=function(n,i,r){if(null==n)return n;if(u&&n.forEach===u)n.forEach(i,r);else if(n.length===+n.length){for(var a=0,o=n.length;a<o;a++)if(i.call(r,n[a],a,n)===e)return}else{var s=t.keys(n);for(a=0,o=s.length;a<o;a++)if(i.call(r,n[s[a]],s[a],n)===e)return}return n});t.map=t.collect=function(t,e,n){var i=[];return null==t?i:c&&t.map===c?t.map(e,n):(p(t,function(t,r,a){i.push(e.call(n,t,r,a))}),i)},t.find=t.detect=function(t,e,n){var i;return v(t,function(t,r,a){if(e.call(n,t,r,a))return i=t,!0}),i},t.filter=t.select=function(t,e,n){var i=[];return null==t?i:l&&t.filter===l?t.filter(e,n):(p(t,function(t,r,a){e.call(n,t,r,a)&&i.push(t)}),i)};var v=t.some=t.any=function(n,i,r){i||(i=t.identity);var a=!1;return null==n?a:f&&n.some===f?n.some(i,r):(p(n,function(t,n,o){if(a||(a=i.call(r,t,n,o)))return e}),!!a)};t.contains=t.include=function(t,e){return null!=t&&(d&&t.indexOf===d?-1!=t.indexOf(e):v(t,function(t){return t===e}))},t.delay=function(t,e){var n=o.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},t.defer=function(e){return t.delay.apply(t,[e,1].concat(o.call(arguments,1)))},t.throttle=function(t){var e,n,i;return function(){e||(e=!0,n=arguments,i=this,r.frame(function(){e=!1,t.apply(i,n)}))}},t.debounce=function(e,n,i){var r,a,o,s,u,c=function c(){var l=t.now()-s;l<n?r=setTimeout(c,n-l):(r=null,i||(u=e.apply(o,a),o=a=null))};return function(){o=this,a=arguments,s=t.now();var l=i&&!r;return r||(r=setTimeout(c,n)),l&&(u=e.apply(o,a),o=a=null),u}},t.defaults=function(e){if(!t.isObject(e))return e;for(var n=1,i=arguments.length;n<i;n++){var r=arguments[n];for(var a in r)void 0===e[a]&&(e[a]=r[a])}return e},t.keys=function(e){if(!t.isObject(e))return[];if(h)return h(e);var n=[];for(var i in e)t.has(e,i)&&n.push(i);return n},t.has=function(t,e){return s.call(t,e)},t.isObject=function(t){return t===Object(t)},t.now=Date.now||function(){return(new Date).getTime()},t.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var m=/(.)^/,g={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},w=/\\|'|\r|\n|\u2028|\u2029/g,b=function(t){return"\\"+g[t]};return t.template=function(e,n,i){!n&&i&&(n=i),n=t.defaults({},n,t.templateSettings);var r=RegExp([(n.escape||m).source,(n.interpolate||m).source,(n.evaluate||m).source].join("|")+"|$","g"),a=0,o="__p+='";e.replace(r,function(t,n,i,r,s){return o+=e.slice(a,s).replace(w,b),a=s+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":r&&(o+="';\n"+r+"\n__p+='"),t}),o+="';\n",n.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var s=new Function(n.variable||"obj","_",o)}catch(t){throw t.source=o,t}var u=function(e){return s.call(this,e,t)},c=n.variable||"obj";return u.source="function("+c+"){\n"+o+"}",u},t}()},function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(e){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?t.exports=i=function(t){return n(t)}:t.exports=i=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},i(e)}t.exports=i},function(t,e,n){"use strict";var i=n(0);i.define("edit",t.exports=function(t,e,n){if(n=n||{},(i.env("test")||i.env("frame"))&&!n.fixture&&!function(){try{return window.top.__Cypress__}catch(t){return!1}}())return{exit:1};var r,a=t(window),o=t(document.documentElement),s=document.location,u="hashchange",c=n.load||function(){r=
|