Lightweight CSS Framework for Building Apps and Websites https://crispy-css.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

0 lines
11 KiB

  1. !function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},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=0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);Object(r.a)(".header",".nav","nav--fixed")},function(t,e,n){"use strict";e.a=function(t,e,n){let r=i()(e),u=i()(t);function o(t){t>u.outerHeight()?r.addClass(n):r.removeClass(n)}o(document.documentElement.scrollTop),window.addEventListener("scroll",function(t){o(t.pageY)})};var r=n(2),i=n.n(r)},function(t,e,n){"use strict";var r,i;void 0===(i="function"==typeof(r=function(){var t,e=document,n=window,r=Array.prototype,i=r.slice,u=r.filter,o=r.push,s=function(){},c=function(t){return"function"==typeof t&&t.call},a=function(t){return"string"==typeof t},f=/^#[\w-]*$/,h=/^\.[\w-]*$/,l=/<.+>/,d=/^\w+$/;function p(t,n){return n=n||e,h.test(t)?n.getElementsByClassName(t.slice(1)):d.test(t)?n.getElementsByTagName(t):n.querySelectorAll(t)}function v(n){if(!t){var r=(t=e.implementation.createHTMLDocument(null)).createElement("base");r.href=e.location.href,t.head.appendChild(r)}return t.body.innerHTML=n,t.body.childNodes}function m(t){"loading"!==e.readyState?setTimeout(t):e.addEventListener("DOMContentLoaded",t)}function g(t,r){if(!t)return this;if(t.cash&&t!==n)return t;var i,u=t,o=0;if(a(t))u=f.test(t)?e.getElementById(t.slice(1)):l.test(t)?v(t):p(t,r);else if(c(t))return m(t),this;if(!u)return this;if(u.nodeType||u===n)this[0]=u,this.length=1;else for(i=this.length=u.length;o<i;o++)this[o]=u[o];return this}function y(t,e){return new g(t,e)}var b=y.fn=y.prototype=g.prototype={cash:!0,length:0,push:o,splice:r.splice,map:r.map,init:g};function x(t,e){for(var n=t.length,r=0;r<n&&!1!==e.call(t[r],t[r],r,t);r++);}function C(t,e){var n=t&&(t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector);return!!n&&n.call(t,e)}function L(t){return a(t)?C:t.cash?function(e){return t.is(e)}:function(t,e){return t===e}}function N(t){return y(i.call(t).filter(function(t,e,n){return n.indexOf(t)===e}))}Object.defineProperty(b,"constructor",{value:y}),y.parseHTML=v,y.noop=s,y.isFunction=c,y.isString=a,y.extend=b.extend=function(t){t=t||{};var e=i.call(arguments),n=e.length,r=1;for(1===e.length&&(t=this,r=0);r<n;r++)if(e[r])for(var u in e[r])e[r].hasOwnProperty(u)&&(t[u]=e[r][u]);return t},y.extend({merge:function(t,e){for(var n=+e.length,r=t.length,i=0;i<n;r++,i++)t[r]=e[i];return t.length=r,t},each:x,matches:C,unique:N,isArray:Array.isArray,isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)}});var E=y.uid="_cash"+Date.now();function w(t){return t[E]=t[E]||{}}function T(t,e,n){return w(t)[e]=n}function A(t,e){var n=w(t);return void 0===n[e]&&(n[e]=t.dataset?t.dataset[e]:y(t).attr("data-"+e)),n[e]}b.extend({data:function(t,e){if(a(t))return void 0===e?A(this[0],t):this.each(function(n){return T(n,t,e)});for(var n in t)this.data(n,t[n]);return this},removeData:function(t){return this.each(function(e){return function(t,e){var n=w(t);n?delete n[e]:t.dataset?delete t.dataset[e]:y(t).removeAttr("data-"+name)}(e,t)})}});var M=/\S+/g;function S(t){return a(t)&&t.match(M)}function O(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}function B(t,e){t.classList?t.classList.add(e):O(t,e)||(t.className+=" "+e)}function H(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(e,"")}b.extend({addClass:function(t){var e=S(t);return e?this.each(function(t){x(e,function(e){B(t,e)})}):this},attr:function(t,e){if(t){if(a(t))return void 0===e?this[0]?this[0].getAttribute?this[0].getAttribute(t):this[0][t]:void 0:this.each(function(n){n.setAttribute?n.setAttribute(t,e):n[t]=e});for(var n in t)this.attr(n,t[n]);re