mdb-ui-kit/js/mdb.min.js

45 lines
166 KiB
JavaScript
Raw Permalink Normal View History

2020-12-17 11:06:16 +03:00
/*!
* MDB5
2020-12-30 17:22:44 +03:00
* Version: FREE 1.0.0-alpha1
2020-12-17 11:06:16 +03:00
*
*
* Copyright: Material Design for Bootstrap
* https://mdbootstrap.com/
*
* Read the license: https://mdbootstrap.com/general/license/
*
*
* Documentation: https://mdbootstrap.com/docs/standard/
*
* Support: https://mdbootstrap.com/support/
*
* Contact: office@mdbootstrap.com
*
*/
2020-12-30 17:22:44 +03:00
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("mdb",[],e):"object"==typeof exports?exports.mdb=e():t.mdb=e()}(this,function(){return r={},o.m=n=[function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var l=n(8),f=n(38).f,h=n(26),p=n(32),d=n(66),g=n(88),m=n(71);t.exports=function(t,e){var n,r,o,i,a=t.target,c=t.global,s=t.stat,u=c?l:s?l[a]||d(a,{}):(l[a]||{}).prototype;if(u)for(n in e){if(o=e[n],r=t.noTargetGet?(i=f(u,n))&&i.value:u[n],!m(c?n:a+(s?".":"#")+n,t.forced)&&void 0!==r){if(typeof o==typeof r)continue;g(o,r)}(t.sham||r&&r.sham)&&h(o,"sham",!0),p(u,n,o,t)}}},function(t,e,n){var r=n(8),o=n(67),i=n(15),a=n(68),c=n(72),s=n(95),u=o("wks"),l=r.Symbol,f=s?l:l&&l.withoutSetter||a;t.exports=function(t){return i(u,t)||(c&&i(l,t)?u[t]=l[t]:u[t]=f("Symbol."+t)),u[t]}},function(t,e,n){"use strict";var r=n(1),o=n(97);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(8),o=n(106),i=n(97),a=n(26);for(var c in o){var s=r[c],u=s&&s.prototype;if(u&&u.forEach!==i)try{a(u,"forEach",i)}catch(t){u.forEach=i}}},function(t,e,n){var r=n(1),o=n(28),i=n(62);r({target:"Object",stat:!0,forced:n(0)(function(){i(1)})},{keys:function(t){return i(o(t))}})},function(t,e,n){var r=n(74),o=n(32),i=n(116);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){"use strict";function o(t,e){var n=nt[t]=E(G[Y]);return $(n,{type:V,tag:t,description:e}),f||(n.description=e),n}function r(e,t){y(e);var n=_(t),r=k(n).concat(pt(n));return W(r,function(t){f&&!ht.call(n,t)||ft(e,t,n[t])}),e}function i(t,e){var n=_(t),r=w(e,!0);if(n!==X||!g(nt,r)||g(rt,r)){var o=J(n,r);return!o||!g(nt,r)||g(n,Q)&&n[Q][r]||(o.enumerable=!0),o}}function a(t){var e=tt(_(t)),n=[];return W(e,function(t){g(nt,t)||g(N,t)||n.push(t)}),n}var c=n(1),s=n(8),u=n(40),l=n(56),f=n(11),h=n(72),p=n(95),d=n(0),g=n(15),m=n(58),v=n(14),y=n(16),b=n(28),_=n(25),w=n(46),O=n(45),E=n(51),k=n(62),S=n(48),j=n(123),x=n(70),A=n(38),D=n(21),T=n(65),C=n(26),P=n(32),L=n(67),I=n(55),N=n(57),R=n(68),M=n(2),H=n(107),F=n(108),B=n(80),U=n(47),W=n(50).forEach,Q=I("hidden"),V="Symbol",Y="prototype",q=M("toPrimitive"),$=U.set,z=U.getterFor(V),X=Object[Y],G=s.Symbol,K=u("JSON","stringify"),J=A.f,Z=D.f,tt=j.f,et=T.f,nt=L("symbols"),rt=L("op-symbols"),ot=L("string-to-symbol-registry"),it=L("symbol-to-string-registry"),at=L("wks"),ct=s.QObject,st=!ct||!ct[Y]||!ct[Y].findChild,ut=f&&d(function(){return 7!=E(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=J(X,e);r&&delete X[e],Z(t,e,n),r&&t!==X&&Z(X,e,r)}:Z,lt=p?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof G},ft=function(t,e,n){t===X&&ft(rt,e,n),y(t);var r=w(e,!0);return y(n),g(nt,r)?(n.enumerable?(g(t,Q)&&t[Q][r]&&(t[Q][r]=!1),n=E(n,{enumerable:O(0,!1)})):(g(t,Q)||Z(t,Q,O(1,{})),t[Q][r]=!0),ut(t,r,n)):Z(t,r,n)},ht=function(t){var e=w(t,!0),n=et.call(this,e);return!(this===X&&g(nt,e)&&!g(rt,e))&&(!(n||!g(this,e)||!g(nt,e)||g(this,Q)&&this[Q][e])||n)},pt=function(t){var e=t===X,n=tt(e?rt:_(t)),r=[];return W(n,function(t){!g(nt,t)||e&&!g(X,t)||r.push(nt[t])}),r};h||(P((G=function(t){if(this instanceof G)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==t?String(t):void 0,n=R(e),r=function(t){this===X&&r.call(rt,t),g(this,Q)&&g(this[Q],n)&&(this[Q][n]=!1),ut(this,n,O(1,t))};return f&&st&&ut(X,n,{configurable:!0,set:r}),o(n,e)})[Y],"toString",function(){return z(this).tag}),P(G,"withoutSetter",function(t){return o(R(t),t)}),T.f=ht,D.f=ft,A.f=i,S.f=j.f=a,x.f=pt,H.f=function(t){return o(M(t),t)},f&&(Z(G[Y],"description",{configurable:!0,get:function(){return z(this).description}}),l||P(X,"propertyIsEnumerable",ht,{unsafe:!0}))),c({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:G}),W(k(at),function(t){F(t)}),c({target:V,stat:!0,forced:!h},{for:function(t){var e=String(t);if(g(ot,e))return ot[e];var n=G(e);return ot[e]=n,it[n]=e,n},keyFor:function(t){if(!lt(t))throw TypeError(t+" is not a symbol");if(g(it,t))return it[t]},use
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&0<=navigator.userAgent.indexOf(t[e]))return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},r))}};function a(t){return t&&"[object Function]"==={}.toString.call(t)}function _(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function d(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function g(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=_(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:g(d(t))}function m(t){return t&&t.referenceNode?t.referenceNode:t}var e=n&&!(!window.MSInputMethodContext||!document.documentMode),o=n&&/MSIE 10/.test(navigator.userAgent);function v(t){return 11===t?e:10!==t&&e||o}function b(t){if(!t)return document.documentElement;for(var e=v(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===_(n,"position")?b(n):n:t?t.ownerDocument.documentElement:document.documentElement}function l(t){return null!==t.parentNode?l(t.parentNode):t}function y(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,c,s=i.commonAncestorContainer;if(t!==s&&e!==s||r.contains(o))return"BODY"===(c=(a=s).nodeName)||"HTML"!==c&&b(a.firstElementChild)!==a?b(s):s;var u=l(t);return u.host?y(u.host,e):y(t,l(e).host)}function w(t,e){var n="top"===(1<arguments.length&&void 0!==e?e:"top")?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"!==r&&"HTML"!==r)return t[n];var o=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||o)[n]}function f(t,e){var n="x"===e?"Left":"Top",r="Left"==n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function c(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],v(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function O(t){var e=t.body,n=t.documentElement,r=v(10)&&getComputedStyle(n);return{height:c("Height",e,n,r),width:c("Width",e,n,r)}}var s=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},u=function(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t};function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function S(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function j(t){var e,n,r={};try{v(10)?(r=t.getBoundingClientRect(),e=w(t,"top"),n=w(t,"left"),r.top+=e,r.left+=n,r.bottom+=e,r.right+=n):r=t.getBoundingClientRect()}catch(t){}var o,i={left:r.left,top:r.top,width:r.right-r.left,height:r.bottom-r.top},a="HTML"===t.nodeName?O(t.ownerDocument):{},c=a.width||t.clientWidth||i.width,s=a.height||t.clientHeight||i.height,u=t.offsetWidth-c,l=t.offsetHeight-s;return(u||l)&&(u-=f(o=_(t),"x"),l-=f(o,"y"),i.width-=u,i.height-=l),S(i)}function x(t,e,n){var r=2<arguments.length&&void 0!==n&&n,o=v(10),i="HTML"===e.nodeName,a=j(t),c=j(e),s=g(t),u=_(e),l=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);r&&i&&(c.t
2020-12-17 11:06:16 +03:00
//# sourceMappingURL=mdb.min.js.map