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.
 
 
 

1 lines
17 KiB

!function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/",e(e.s=1)}([function(t,n,e){!function(){"use strict";var n={class:"className",contenteditable:"contentEditable",for:"htmlFor",readonly:"readOnly",maxlength:"maxLength",tabindex:"tabIndex",colspan:"colSpan",rowspan:"rowSpan",usemap:"useMap"};function e(t,n){try{return t(n)}catch(t){return n}}var r=document,i=window,o=r.documentElement,u=r.createElement.bind(r),c=u("div"),s=u("table"),f=u("tbody"),a=u("tr"),l=Array.isArray,h=Array.prototype,d=h.concat,p=h.filter,v=h.indexOf,g=h.map,m=h.push,y=h.slice,b=h.some,_=h.splice,x=/^#[\w-]*$/,C=/^\.[\w-]*$/,w=/<.+>/,E=/^\w+$/;function S(t,n){return t&&(I(n)||W(n))?C.test(t)?n.getElementsByClassName(t.slice(1)):E.test(t)?n.getElementsByTagName(t):n.querySelectorAll(t):[]}var N=function(){function t(t,n){if(t){if(R(t))return t;var e=t;if($(t)){var o=(R(n)?n[0]:n)||r;if(!(e=x.test(t)?o.getElementById(t.slice(1)):w.test(t)?Lt(t):S(t,o)))return}else if(k(t))return this.ready(t);(e.nodeType||e===i)&&(e=[e]),this.length=e.length;for(var u=0,c=this.length;u<c;u++)this[u]=e[u]}}return t.prototype.init=function(n,e){return new t(n,e)},t}(),T=N.prototype,A=T.init;A.fn=A.prototype=T,T.length=0,T.splice=_,"function"==typeof Symbol&&(T[Symbol.iterator]=h[Symbol.iterator]),T.map=function(t){return A(d.apply([],g.call(this,(function(n,e){return t.call(n,e,n)}))))},T.slice=function(t,n){return A(y.call(this,t,n))};var L=/-([a-z])/g;function O(t){return t.replace(L,(function(t,n){return n.toUpperCase()}))}function M(t,n,e){if(e){for(var r=t.length;r--;)if(!1===n.call(t[r],r,t[r]))return t}else{r=0;for(var i=t.length;r<i;r++)if(!1===n.call(t[r],r,t[r]))return t}return t}function P(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];var r=arguments.length;if(!r)return{};if(1===r)return P(A,t);for(var i=1;i<r;i++)for(var o in arguments[i])t[o]=arguments[i][o];return t}function B(t,n){var e=t&&(t.matches||t.webkitMatchesSelector||t.msMatchesSelector);return!!e&&!!n&&e.call(t,n)}function R(t){return t instanceof N}function j(t){return!!t&&t===t.window}function I(t){return!!t&&9===t.nodeType}function W(t){return!!t&&1===t.nodeType}function k(t){return"function"==typeof t}function $(t){return"string"==typeof t}function D(t){return void 0===t}function H(t){return null===t}function U(t){return!isNaN(parseFloat(t))&&isFinite(t)}function F(t){return $(t)?function(n,e){return B(e,t)}:k(t)?t:R(t)?function(n,e){return t.is(e)}:t?function(n,e){return e===t}:function(){return!1}}function q(t,n){return n?t.filter(n):t}A.each=M,T.each=function(t){return M(this,t)},T.removeProp=function(t){return this.each((function(e,r){delete r[n[t]||t]}))},A.extend=P,T.extend=function(t){return P(T,t)},A.guid=1,A.isWindow=j,A.isFunction=k,A.isNumeric=U,A.isArray=l,T.prop=function(t,e){if(t){if($(t))return t=n[t]||t,arguments.length<2?this[0]&&this[0][t]:this.each((function(n,r){r[t]=e}));for(var r in t)this.prop(r,t[r]);return this}},T.get=function(t){return D(t)?y.call(this):this[(t=Number(t))<0?t+this.length:t]},T.eq=function(t){return A(this.get(t))},T.first=function(){return this.eq(0)},T.last=function(){return this.eq(-1)},T.filter=function(t){var n=F(t);return A(p.call(this,(function(t,e){return n.call(t,e,t)})))};var z=/\S+/g;function J(t){return $(t)&&t.match(z)||[]}function Y(t,n,e,r){for(var i=[],o=k(n),u=r&&F(r),c=0,s=t.length;c<s;c++)if(o){var f=n(t[c]);f.length&&m.apply(i,f)}else for(var a=t[c][n];!(null==a||r&&u(-1,a));)i.push(a),a=e?a[n]:null;return i}function G(t){return t.length>1?p.call(t,(function(t,n,e){return v.call(e,t)===n})):t}function V(t,n,e){if(W(t)){var r=i.getComputedStyle(t,null);return e?r.getPropertyValue(n)||void 0:r[n]||t.style[n]}}function X(t,n){return parseInt(V(t,n),10)||0}T.hasClass=function(t){return!!t&&b.call(this,(function(n){return W(n)&&n.classList.contains(t)}))},T.removeAttr=function(t){var n=J(t);return this.each((function(t,e){W(e)&&M(n,(function(t,n){e.removeAttribute(n)}))}))},T.attr=function(t,n){if(t){if($(t)){if(arguments.length<2){if(!this[0]||!W(this[0]))return;var e=this[0].getAttribute(t);return H(e)?void 0:e}return D(n)?this:H(n)?this.removeAttr(t):this.each((function(e,r){W(r)&&r.setAttribute(t,n)}))}for(var r in t)this.attr(r,t[r]);return this}},T.toggleClass=function(t,n){var e=J(t),r=!D(n);return this.each((function(t,i){W(i)&&M(e,(function(t,e){r?n?i.classList.add(e):i.classList.remove(e):i.classList.toggle(e)}))}))},T.addClass=function(t){return this.toggleClass(t,!0)},T.removeClass=function(t){return arguments.length?this.toggleClass(t,!1):this.attr("class","")},A.unique=G,T.add=function(t,n){return A(G(this.get().concat(A(t,n).get())))};var K=/^--/;function Q(t){return K.test(t)}var Z={},tt=c.style,nt=["webkit","moz","ms"];function et(t,n){if(void 0===n&&(n=Q(t)),n)return t;if(!Z[t]){var e=O(t),r=""+e[0].toUpperCase()+e.slice(1);M((e+" "+nt.join(r+" ")+r).split(" "),(function(n,e){if(e in tt)return Z[t]=e,!1}))}return Z[t]}var rt={animationIterationCount:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0};function it(t,n,e){return void 0===e&&(e=Q(t)),e||rt[t]||!U(n)?n:n+"px"}T.css=function(t,n){if($(t)){var e=Q(t);return t=et(t,e),arguments.length<2?this[0]&&V(this[0],t,e):t?(n=it(t,n,e),this.each((function(r,i){W(i)&&(e?i.style.setProperty(t,n):i.style[t]=n)}))):this}for(var r in t)this.css(r,t[r]);return this};var ot=/^\s+|\s+$/;function ut(t,n){var r=t.dataset[n]||t.dataset[O(n)];return ot.test(r)?r:e(JSON.parse,r)}function ct(t,n,r){r=e(JSON.stringify,r),t.dataset[O(n)]=r}function st(t,n){var e=t.documentElement;return Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])}function ft(t,n){return X(t,"border"+(n?"Left":"Top")+"Width")+X(t,"padding"+(n?"Left":"Top"))+X(t,"padding"+(n?"Right":"Bottom"))+X(t,"border"+(n?"Right":"Bottom")+"Width")}T.data=function(t,n){if(!t){if(!this[0])return;var e={};for(var r in this[0].dataset)e[r]=ut(this[0],r);return e}if($(t))return arguments.length<2?this[0]&&ut(this[0],t):D(n)?this:this.each((function(e,r){ct(r,t,n)}));for(var r in t)this.data(r,t[r]);return this},M([!0,!1],(function(t,n){M(["Width","Height"],(function(t,e){T[(n?"outer":"inner")+e]=function(r){if(this[0])return j(this[0])?n?this[0]["inner"+e]:this[0].document.documentElement["client"+e]:I(this[0])?st(this[0],e):this[0][(n?"offset":"client")+e]+(r&&n?X(this[0],"margin"+(t?"Top":"Left"))+X(this[0],"margin"+(t?"Bottom":"Right")):0)}}))})),M(["Width","Height"],(function(t,n){var e=n.toLowerCase();T[e]=function(r){if(!this[0])return D(r)?void 0:this;if(!arguments.length)return j(this[0])?this[0].document.documentElement["client"+n]:I(this[0])?st(this[0],n):this[0].getBoundingClientRect()[e]-ft(this[0],!t);var i=parseInt(r,10);return this.each((function(n,r){if(W(r)){var o=V(r,"boxSizing");r.style[e]=it(e,i+("border-box"===o?ft(r,!t):0))}}))}}));var at={};function lt(t){return"none"===V(t,"display")}function ht(t,n){return!n||!b.call(n,(function(n){return t.indexOf(n)<0}))}T.toggle=function(t){return this.each((function(n,e){W(e)&&((D(t)?lt(e):t)?(e.style.display=e.___cd||"",lt(e)&&(e.style.display=function(t){if(at[t])return at[t];var n=u(t);r.body.insertBefore(n,null);var e=V(n,"display");return r.body.removeChild(n),at[t]="none"!==e?e:"block"}(e.tagName))):(e.___cd=V(e,"display"),e.style.display="none"))}))},T.hide=function(){return this.toggle(!1)},T.show=function(){return this.toggle(!0)};var dt={focus:"focusin",blur:"focusout"},pt={mouseenter:"mouseover",mouseleave:"mouseout"},vt=/^(mouse|pointer|contextmenu|drag|drop|click|dblclick)/i;function gt(t){return pt[t]||dt[t]||t}function mt(t){return t.___ce=t.___ce||{}}function yt(t,n,e,r,i){var o=mt(t);o[n]=o[n]||[],o[n].push([e,r,i]),t.addEventListener(n,i)}function bt(t){var n=t.split(".");return[n[0],n.slice(1).sort()]}function _t(t,n,e,r,i){var o=mt(t);if(n)o[n]&&(o[n]=o[n].filter((function(o){var u=o[0],c=o[1],s=o[2];if(i&&s.guid!==i.guid||!ht(u,e)||r&&r!==c)return!0;t.removeEventListener(n,s)})));else for(n in o)_t(t,n,e,r,i)}function xt(t){return t.multiple&&t.options?Y(p.call(t.options,(function(t){return t.selected&&!t.disabled&&!t.parentNode.disabled})),"value"):t.value||""}T.off=function(t,n,e){var r=this;if(D(t))this.each((function(t,n){(W(n)||I(n)||j(n))&&_t(n)}));else if($(t))k(n)&&(e=n,n=""),M(J(t),(function(t,i){var o=bt(i),u=o[0],c=o[1],s=gt(u),f=u!==s;r.each((function(t,r){(W(r)||I(r)||j(r))&&(_t(r,s,c,n,e),f&&_t(r,u,c,n,e))}))}));else for(var i in t)this.off(i,t[i]);return this},T.on=function(t,n,e,r,i){var o=this;if(!$(t)){for(var u in t)this.on(u,n,e,t[u],i);return this}return $(n)||(D(n)||H(n)?n="":D(e)?(e=n,n=""):(r=e,e=n,n="")),k(r)||(r=e,e=void 0),r?(M(J(t),(function(t,u){var c=bt(u),s=c[0],f=c[1],a=gt(s),l=s!==a,h=s in dt;a&&o.each((function(t,o){if(W(o)||I(o)||j(o)){var u=function t(u){if((!l||!(u.___ot?u.___ot!==s:u.type!==s||u.target["___i"+s]&&(delete u.target["___i"+s],u.stopImmediatePropagation(),1)))&&(!u.namespace||ht(f,u.namespace.split(".")))){var c=o;if(n){for(var d=u.target;!B(d,n);){if(d===o)return;if(!(d=d.parentNode))return}c=d,u.___cd=!0}else if(h&&u.___ot===s&&o!==u.target&&o.contains(u.target))return;u.___cd&&Object.defineProperty(u,"currentTarget",{configurable:!0,get:function(){return c}}),Object.defineProperty(u,"data",{configurable:!0,get:function(){return e}});var p=r.call(c,u,u.___td);i&&_t(o,a,f,n,t),!1===p&&(u.preventDefault(),u.stopPropagation())}};u.guid=r.guid=r.guid||A.guid++,yt(o,a,f,n,u),l&&yt(o,s,f,n,u)}}))})),this):this},T.one=function(t,n,e,r){return this.on(t,n,e,r,!0)},T.ready=function(t){var n=function(){return setTimeout(t,0,A)};return"loading"!==r.readyState?n():r.addEventListener("DOMContentLoaded",n),this},T.trigger=function(t,n){if($(t)){var e=bt(t),i=e[0],o=e[1],u=gt(i);if(!u)return this;var c=vt.test(u)?"MouseEvents":"HTMLEvents";(t=r.createEvent(c)).initEvent(u,!0,!0),t.namespace=o.join("."),t.___ot=i}t.___td=n;var s=t.___ot in dt;return this.each((function(n,e){s&&k(e[t.___ot])&&(e["___i"+t.___ot]=!0,e[t.___ot]()),e.dispatchEvent(t)}))};var Ct=/%20/g,wt=/\r?\n/g;var Et=/file|reset|submit|button|image/i,St=/radio|checkbox/i;T.serialize=function(){var t="";return this.each((function(n,e){M(e.elements||[e],(function(n,e){if(!(e.disabled||!e.name||"FIELDSET"===e.tagName||Et.test(e.type)||St.test(e.type)&&!e.checked)){var r=xt(e);if(!D(r))M(l(r)?r:[r],(function(n,r){t+=function(t,n){return"&"+encodeURIComponent(t)+"="+encodeURIComponent(n.replace(wt,"\r\n")).replace(Ct,"+")}(e.name,r)}))}}))})),t.slice(1)},T.val=function(t){return arguments.length?this.each((function(n,e){var r=e.multiple&&e.options;if(r||St.test(e.type)){var i=l(t)?g.call(t,String):H(t)?[]:[String(t)];r?M(e.options,(function(t,n){n.selected=i.indexOf(n.value)>=0}),!0):e.checked=i.indexOf(e.value)>=0}else e.value=D(t)||H(t)?"":t})):this[0]&&xt(this[0])},T.clone=function(){return this.map((function(t,n){return n.cloneNode(!0)}))},T.detach=function(t){return q(this,t).each((function(t,n){n.parentNode&&n.parentNode.removeChild(n)})),this};var Nt=/^\s*<(\w+)[^>]*>/,Tt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,At={"*":c,tr:f,td:a,th:a,thead:s,tbody:s,tfoot:s};function Lt(t){if(!$(t))return[];if(Tt.test(t))return[u(RegExp.$1)];var n=Nt.test(t)&&RegExp.$1,e=At[n]||At["*"];return e.innerHTML=t,A(e.childNodes).detach().get()}A.parseHTML=Lt,T.empty=function(){return this.each((function(t,n){for(;n.firstChild;)n.removeChild(n.firstChild)}))},T.html=function(t){return arguments.length?D(t)?this:this.each((function(n,e){W(e)&&(e.innerHTML=t)})):this[0]&&this[0].innerHTML},T.remove=function(t){return q(this,t).detach().off(),this},T.text=function(t){return D(t)?this[0]?this[0].textContent:"":this.each((function(n,e){W(e)&&(e.textContent=t)}))},T.unwrap=function(){return this.parent().each((function(t,n){if("BODY"!==n.tagName){var e=A(n);e.replaceWith(e.children())}})),this},T.offset=function(){var t=this[0];if(t){var n=t.getBoundingClientRect();return{top:n.top+i.pageYOffset,left:n.left+i.pageXOffset}}},T.offsetParent=function(){return this.map((function(t,n){for(var e=n.offsetParent;e&&"static"===V(e,"position");)e=e.offsetParent;return e||o}))},T.position=function(){var t=this[0];if(t){var n="fixed"===V(t,"position"),e=n?t.getBoundingClientRect():this.offset();if(!n){for(var r=t.ownerDocument,i=t.offsetParent||r.documentElement;(i===r.body||i===r.documentElement)&&"static"===V(i,"position");)i=i.parentNode;if(i!==t&&W(i)){var o=A(i).offset();e.top-=o.top+X(i,"borderTopWidth"),e.left-=o.left+X(i,"borderLeftWidth")}}return{top:e.top-X(t,"marginTop"),left:e.left-X(t,"marginLeft")}}},T.children=function(t){return q(A(G(Y(this,(function(t){return t.children})))),t)},T.contents=function(){return A(G(Y(this,(function(t){return"IFRAME"===t.tagName?[t.contentDocument]:"TEMPLATE"===t.tagName?t.content.childNodes:t.childNodes}))))},T.find=function(t){return A(G(Y(this,(function(n){return S(t,n)}))))};var Ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Mt=/^$|^module$|\/(java|ecma)script/i,Pt=["type","src","nonce","noModule"];function Bt(t,n,e,r,i){r?t.insertBefore(n,e?t.firstChild:null):t.parentNode.insertBefore(n,e?t:t.nextSibling),i&&function(t,n){var e=A(t);e.filter("script").add(e.find("script")).each((function(t,e){if(Mt.test(e.type)&&o.contains(e)){var r=u("script");r.text=e.textContent.replace(Ot,""),M(Pt,(function(t,n){e[n]&&(r[n]=e[n])})),n.head.insertBefore(r,null),n.head.removeChild(r)}}))}(n,t.ownerDocument)}function Rt(t,n,e,r,i,o,u,c){return M(t,(function(t,o){M(A(o),(function(t,o){M(A(n),(function(n,u){var c=e?u:o,s=e?t:n;Bt(e?o:u,s?c.cloneNode(!0):c,r,i,!s)}),c)}),u)}),o),n}T.after=function(){return Rt(arguments,this,!1,!1,!1,!0,!0)},T.append=function(){return Rt(arguments,this,!1,!1,!0)},T.appendTo=function(t){return Rt(arguments,this,!0,!1,!0)},T.before=function(){return Rt(arguments,this,!1,!0)},T.insertAfter=function(t){return Rt(arguments,this,!0,!1,!1,!1,!1,!0)},T.insertBefore=function(t){return Rt(arguments,this,!0,!0)},T.prepend=function(){return Rt(arguments,this,!1,!0,!0,!0,!0)},T.prependTo=function(t){return Rt(arguments,this,!0,!0,!0,!1,!1,!0)},T.replaceWith=function(t){return this.before(t).remove()},T.replaceAll=function(t){return A(t).replaceWith(this),this},T.wrapAll=function(t){for(var n=A(t),e=n[0];e.children.length;)e=e.firstElementChild;return this.first().before(n),this.appendTo(e)},T.wrap=function(t){return this.each((function(n,e){var r=A(t)[0];A(e).wrapAll(n?r.cloneNode(!0):r)}))},T.wrapInner=function(t){return this.each((function(n,e){var r=A(e),i=r.contents();i.length?i.wrapAll(t):r.append(t)}))},T.has=function(t){var n=$(t)?function(n,e){return S(t,e).length}:function(n,e){return e.contains(t)};return this.filter(n)},T.is=function(t){var n=F(t);return b.call(this,(function(t,e){return n.call(t,e,t)}))},T.next=function(t,n,e){return q(A(G(Y(this,"nextElementSibling",n,e))),t)},T.nextAll=function(t){return this.next(t,!0)},T.nextUntil=function(t,n){return this.next(n,!0,t)},T.not=function(t){var n=F(t);return this.filter((function(e,r){return(!$(t)||W(r))&&!n.call(r,e,r)}))},T.parent=function(t){return q(A(G(Y(this,"parentNode"))),t)},T.index=function(t){var n=t?A(t)[0]:this[0],e=t?this:A(n).parent().children();return v.call(e,n)},T.closest=function(t){var n=this.filter(t);if(n.length)return n;var e=this.parent();return e.length?e.closest(t):n},T.parents=function(t,n){return q(A(G(Y(this,"parentElement",!0,n))),t)},T.parentsUntil=function(t,n){return this.parents(n,t)},T.prev=function(t,n,e){return q(A(G(Y(this,"previousElementSibling",n,e))),t)},T.prevAll=function(t){return this.prev(t,!0)},T.prevUntil=function(t,n){return this.prev(n,!0,t)},T.siblings=function(t){return q(A(G(Y(this,(function(t){return A(t).parent().children().not(t)})))),t)},t.exports=A}()},function(t,n,e){e(2),e(3),e(8),t.exports=e(10)},function(t,n,e){"use strict";e.r(n);var r=e(0),i=e.n(r);i()((function(){var t=i()("#nav");i()("#nav-button").on("click",(function(){t.toggleClass("show")}))}))},function(t,n){},,,,,function(t,n){},,function(t,n){}]);