Component-Builder/admin/custom/uikit-v3/js/uikit.min.js

3 lines
131 KiB
JavaScript
Raw Permalink Normal View History

2021-05-27 00:23:07 +00:00
/*! UIkit 3.6.22 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
2017-11-11 04:33:51 +00:00
2021-05-27 00:23:07 +00:00
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):(t="undefined"!=typeof globalThis?globalThis:t||self).UIkit=e()}(this,function(){"use strict";var t=Object.prototype,n=t.hasOwnProperty;function c(t,e){return n.call(t,e)}var e=/\B([A-Z])/g,d=rt(function(t){return t.replace(e,"-$1").toLowerCase()}),i=/-(\w)/g,f=rt(function(t){return t.replace(i,r)}),p=rt(function(t){return t.length?r(0,t.charAt(0))+t.slice(1):""});function r(t,e){return e?e.toUpperCase():""}var o=String.prototype,s=o.startsWith||function(t){return 0===this.lastIndexOf(t,0)};function g(t,e){return s.call(t,e)}var a=o.endsWith||function(t){return this.substr(-t.length)===t};function u(t,e){return a.call(t,e)}var h=Array.prototype,l=function(t,e){return!!~this.indexOf(t,e)},m=o.includes||l,v=h.includes||l;function w(t,e){return t&&(z(t)?m:v).call(t,e)}var b=h.findIndex||function(t){for(var e=arguments,n=0;n<this.length;n++)if(t.call(e[1],this[n],n,this))return n;return-1};function x(t,e){return b.call(t,e)}var y=Array.isArray;function k(t){return"function"==typeof t}function $(t){return null!==t&&"object"==typeof t}var S=t.toString;function I(t){return"[object Object]"===S.call(t)}function E(t){return $(t)&&t===t.window}function T(t){return 9===A(t)}function C(t){return 1<=A(t)}function _(t){return 1===A(t)}function A(t){return!E(t)&&$(t)&&t.nodeType}function M(t){return"boolean"==typeof t}function z(t){return"string"==typeof t}function N(t){return"number"==typeof t}function B(t){return N(t)||z(t)&&!isNaN(t-parseFloat(t))}function D(t){return!(y(t)?t.length:$(t)&&Object.keys(t).length)}function O(t){return void 0===t}function P(t){return M(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function H(t){t=Number(t);return!isNaN(t)&&t}function L(t){return parseFloat(t)||0}var j=Array.from||function(t){return h.slice.call(t)};function F(t){return W(t)[0]}function W(t){return t&&(C(t)?[t]:j(t).filter(C))||[]}function V(t){return E(t)?t:(t=F(t))?(T(t)?t:t.ownerDocument).defaultView:window}function R(t){return t?u(t,"ms")?L(t):1e3*L(t):0}function q(t,n){return t===n||$(t)&&$(n)&&Object.keys(t).length===Object.keys(n).length&&G(t,function(t,e){return t===n[e]})}function U(t,e,n){return t.replace(new RegExp(e+"|"+n,"g"),function(t){return t===e?n:e})}var Y=Object.assign||function(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];t=Object(t);for(var i=0;i<e.length;i++){var r=e[i];if(null!==r)for(var o in r)c(r,o)&&(t[o]=r[o])}return t};function X(t){return t[t.length-1]}function G(t,e){for(var n in t)if(!1===e(t[n],n))return!1;return!0}function K(t,n){return t.slice().sort(function(t,e){t=t[n],e=e[n];return(e=void 0===e?0:e)<(t=void 0===t?0:t)?1:t<e?-1:0})}function J(t,e){var n=new Set;return t.filter(function(t){t=t[e];return!n.has(t)&&(n.add(t)||!0)})}function Z(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),Math.min(Math.max(H(t)||0,e),n)}function Q(){}function tt(){for(var i=[],t=arguments.length;t--;)i[t]=arguments[t];return[["bottom","top"],["right","left"]].every(function(t){var e=t[0],n=t[1];return 0<Math.min.apply(Math,i.map(function(t){return t[e]}))-Math.max.apply(Math,i.map(function(t){return t[n]}))})}function et(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}var nt={ratio:function(t,e,n){var i="width"===e?"height":"width",r={};return r[i]=t[e]?Math.round(n*t[i]/t[e]):t[i],r[e]=n,r},contain:function(n,i){var r=this;return G(n=Y({},n),function(t,e){return n=n[e]>i[e]?r.ratio(n,e,i[e]):n}),n},cover:function(n,i){var r=this;return G(n=this.contain(n,i),function(t,e){return n=n[e]<i[e]?r.ratio(n,e,i[e]):n}),n}};function it(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var r=(e=W(e)).length;return t=B(t)?H(t):"next"===t?n+1:"previous"===t?n-1:e.indexOf(F(t)),i?Z(t,0,r-1):(t%=r)<0?t+r:t}function rt(e){var n=Object.create(null);return function(t){return n[t]||(n[t]=e(t))}}function ot(t,e,n){if($(e))for(var i in e)ot(t,i,e[i]);else{if(O(n))return(t=F(t))&&t.getAttribute(e);W(t).forEach(function(t){null===(n=k(n)?n.call(t,ot(t,e