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

45 lines
166 KiB
JavaScript
Raw Normal View History

2020-12-17 11:06:16 +03:00
/*!
* MDB5
2020-12-29 16:20:57 +03:00
* Version: FREE 2.0.0
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-29 16:20:57 +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 u=n(7),l=n(33).f,f=n(25),p=n(29),h=n(67),d=n(88),g=n(72);t.exports=function(t,e){var n,r,o,i=t.target,a=t.global,c=t.stat,s=a?u:c?u[i]||h(i,{}):(u[i]||{}).prototype;if(s)for(n in e){if(r=e[n],o=t.noTargetGet?(o=l(s,n))&&o.value:s[n],!g(a?n:i+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof r==typeof o)continue;d(r,o)}(t.sham||o&&o.sham)&&f(r,"sham",!0),p(s,n,r,t)}}},function(t,e,n){var r=n(7),o=n(68),i=n(11),a=n(69),c=n(73),n=n(94),s=o("wks"),u=r.Symbol,l=n?u:u&&u.withoutSetter||a;t.exports=function(t){return i(s,t)||(c&&i(u,t)?s[t]=u[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,e,n){var r=n(75),o=n(29),n=n(129);r||o(Object.prototype,"toString",n,{unsafe:!0})},function(t,e,n){"use strict";var r=n(1),n=n(107);r({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})},function(t,e,n){var r,o=n(7),i=n(106),a=n(107),c=n(25);for(r in i){var s=o[r],u=s&&s.prototype;if(u&&u.forEach!==a)try{c(u,"forEach",a)}catch(t){u.forEach=a}}},function(t,e,n){"use strict";function r(t,e){var n=Z[t]=w(K[Q]);return V(n,{type:W,tag:t,description:e}),u||(n.description=e),n}function o(e,t){m(e);var n=y(t),t=O(n).concat(st(n));return B(t,function(t){u&&!ct.call(n,t)||at(e,t,n[t])}),e}var i=n(1),a=n(7),c=n(38),s=n(55),u=n(9),l=n(73),f=n(94),p=n(0),h=n(11),d=n(58),g=n(10),m=n(12),v=n(27),y=n(24),b=n(47),_=n(46),w=n(50),O=n(59),E=n(49),k=n(120),S=n(71),j=n(33),x=n(21),T=n(66),A=n(25),D=n(29),C=n(68),P=n(54),L=n(56),I=n(69),N=n(2),R=n(95),M=n(96),H=n(74),F=n(48),B=n(51).forEach,U=P("hidden"),W="Symbol",Q="prototype",P=N("toPrimitive"),V=F.set,q=F.getterFor(W),Y=Object[Q],K=a.Symbol,$=c("JSON","stringify"),z=j.f,X=x.f,G=k.f,J=T.f,Z=C("symbols"),tt=C("op-symbols"),et=C("string-to-symbol-registry"),nt=C("symbol-to-string-registry"),C=C("wks"),a=a.QObject,rt=!a||!a[Q]||!a[Q].findChild,ot=u&&p(function(){return 7!=w(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=z(Y,e);r&&delete Y[e],X(t,e,n),r&&t!==Y&&X(Y,e,r)}:X,it=f?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof K},at=function(t,e,n){t===Y&&at(tt,e,n),m(t);e=b(e,!0);return m(n),h(Z,e)?(n.enumerable?(h(t,U)&&t[U][e]&&(t[U][e]=!1),n=w(n,{enumerable:_(0,!1)})):(h(t,U)||X(t,U,_(1,{})),t[U][e]=!0),ot(t,e,n)):X(t,e,n)},ct=function(t){var e=b(t,!0),t=J.call(this,e);return!(this===Y&&h(Z,e)&&!h(tt,e))&&(!(t||!h(this,e)||!h(Z,e)||h(this,U)&&this[U][e])||t)},a=function(t,e){var n=y(t),t=b(e,!0);if(n!==Y||!h(Z,t)||h(tt,t)){e=z(n,t);return!e||!h(Z,t)||h(n,U)&&n[U][t]||(e.enumerable=!0),e}},f=function(t){var t=G(y(t)),e=[];return B(t,function(t){h(Z,t)||h(L,t)||e.push(t)}),e},st=function(t){var e=t===Y,t=G(e?tt:y(t)),n=[];return B(t,function(t){!h(Z,t)||e&&!h(Y,t)||n.push(Z[t])}),n};l||(D((K=function(t){if(this instanceof K)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==t?String(t):void 0,e=I(t),n=function(t){this===Y&&n.call(tt,t),h(this,U)&&h(this[U],e)&&(this[U][e]=!1),ot(this,e,_(1,t))};return u&&rt&&ot(Y,e,{configurable:!0,set:n}),r(e,t)})[Q],"toString",function(){return q(this).tag}),D(K,"withoutSetter",function(t){return r(I(t),t)}),T.f=ct,x.f=at,j.f=a,E.f=k.f=f,S.f=st,R.f=function(t){return r(N(t),t)},u&&(X(K[Q],"description",{configurable:!0,get:function(){return q(this).description}}),s||D(Y,"propertyIsEnumerable",ct,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:K}),B(O(C),function(t){M(t)}),i({target:W,stat:!0,forced:!l},{for:function(t){var e=String(t);if(h(et,e))return et[e];t=K(e);return et[e]=t,nt[t]=e,t},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(h(nt,t))return nt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(t,e){return void 0===e?w(t):o(w(t),e)},defineProperty:at
2020-12-29 16:01:49 +03:00
/**!
* @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.
*/
2020-12-29 16:20:57 +03:00
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 o=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 i(t){return t&&"[object Function]"==={}.toString.call(t)}function f(t,e){if(1!==t.nodeType)return[];t=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?t[e]:t}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=f(t),n=e.overflow,r=e.overflowX,e=e.overflowY;return/(auto|scroll|overlay)/.test(n+e+r)?t:l(u(t))}function p(t){return t&&t.referenceNode?t.referenceNode:t}var e=n&&!(!window.MSInputMethodContext||!document.documentMode),a=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?e:10!==t&&e||a}function m(t){if(!t)return document.documentElement;for(var e=h(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"===f(n,"position")?m(n):n:(t?t.ownerDocument:document).documentElement}function c(t){return null!==t.parentNode?c(t.parentNode):t}function d(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,n=document.createRange();n.setStart(r,0),n.setEnd(o,0);n=n.commonAncestorContainer;if(t!==n&&e!==n||r.contains(o))return"BODY"===(o=(r=n).nodeName)||"HTML"!==o&&m(r.firstElementChild)!==r?m(n):n;n=c(t);return n.host?d(n.host,e):d(t,c(e).host)}function g(t,e){var n="top"===(1<arguments.length&&void 0!==e?e:"top")?"scrollTop":"scrollLeft",e=t.nodeName;if("BODY"!==e&&"HTML"!==e)return t[n];e=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||e)[n]}function s(t,e){var n="x"===e?"Left":"Top",e="Left"==n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+e+"Width"])}function v(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,t=h(10)&&getComputedStyle(n);return{height:v("Height",e,n,t),width:v("Width",e,n,t)}}var b=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},_=function(t,e,n){return e&&w(t.prototype,e),n&&w(t,n),t};function w(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 O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,r=arguments[e];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function k(t){return E({},t,{right:t.left+t.width,bottom:t.top+t.height})}function S(t){var e,n,r={};try{h(10)?(r=t.getBoundingClientRect(),e=g(t,"top"),n=g(t,"left"),r.top+=e,r.left+=n,r.bottom+=e,r.right+=n):r=t.getBoundingClientRect()}catch(t){}var o={left:r.left,top:r.top,width:r.right-r.left,height:r.bottom-r.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},a=i.width||t.clientWidth||o.width,c=i.height||t.clientHeight||o.height,i=t.offsetWidth-a,a=t.offsetHeight-c;return(i||a)&&(i-=s(c=f(t),"x"),a-=s(c,"y"),o.width-=i,o.height-=a),k(o)}function j(t,e,n){var r=2<arguments.length&&void 0!==n&&n,o=h(10),i="HTML"===e.nodeName,a=S(t),c=S(e),s=l(t),u=f(e),n=parseFloat(u.borderTopWidth),t=parseFloat(u.borderLeftWidth);r&&i&&(c.top=Math.max(c.top,0),c.left=Math.max(c
2020-12-17 11:06:16 +03:00
//# sourceMappingURL=mdb.min.js.map