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-30 17:32:25 +03:00
* Version: FREE 1.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-30 17:32:25 +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(7),f=n(33).f,p=n(25),h=n(29),d=n(67),g=n(88),v=n(72);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],!v(c?n:a+(s?".":"#")+n,t.forced)&&void 0!==r){if(typeof o==typeof r)continue;g(o,r)}(t.sham||r&&r.sham)&&p(o,"sham",!0),h(u,n,o,t)}}},function(t,e,n){var r=n(7),o=n(68),i=n(11),a=n(69),c=n(73),s=n(94),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){var r=n(75),o=n(29),i=n(129);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,n){"use strict";var r=n(1),o=n(107);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(7),o=n(106),i=n(107),a=n(25);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){"use strict";function o(t,e){var n=nt[t]=E(G[q]);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(ht(n));return W(r,function(t){f&&!pt.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(7),u=n(38),l=n(55),f=n(9),p=n(73),h=n(94),d=n(0),g=n(11),v=n(58),m=n(10),y=n(12),b=n(27),_=n(24),w=n(46),O=n(45),E=n(49),k=n(59),S=n(48),j=n(120),x=n(71),A=n(33),T=n(21),D=n(66),C=n(25),P=n(29),L=n(68),I=n(54),N=n(56),R=n(69),M=n(2),H=n(95),F=n(96),B=n(74),U=n(47),W=n(50).forEach,Q=I("hidden"),V="Symbol",q="prototype",Y=M("toPrimitive"),$=U.set,z=U.getterFor(V),X=Object[q],G=s.Symbol,K=u("JSON","stringify"),J=A.f,Z=T.f,tt=j.f,et=D.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[q]||!ct[q].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=h?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)},pt=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)},ht=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};p||(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)})[q],"toString",function(){return z(this).tag}),P(G,"withoutSetter",function(t){return o(R(t),t)}),D.f=pt,T.f=ft,A.f=i,S.f=j.f=a,x.f=ht,H.f=function(t){return o(M(t),t)},f&&(Z(G[q],"description",{configurable:!0,get:function(){return z(this).description}}),l||P(X,"propertyIsEnumerable",pt,{unsafe:!0}))),c({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:G}),W(k(at),function(t){F(t)}),c({target:V,stat:!0,forced:!p},{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]},useSetter:function(){st=!0},useSimple:function(){st=!1}}),c({target:"Object",stat:!0,forced:!p,sham:!f},{create:function(t,e){return void 0===
2020-12-30 17:22:44 +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-30 17:32:25 +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 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 v(t){return t&&t.referenceNode?t.referenceNode:t}var e=n&&!(!window.MSInputMethodContext||!document.documentMode),o=n&&/MSIE 10/.test(navigator.userAgent);function m(t){return 11===t?e:10!==t&&e||o}function b(t){if(!t)return document.documentElement;for(var e=m(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],m(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=m(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&&p(t.prototype,e),n&&p(t,n),t};function p(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{m(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=m(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