PHP Classes

File: public/mdb/js/modules/forms-free.min.js

Recommend this page to a friend!
  Classes of Ahmad Mustapha   PHP Todo List   public/mdb/js/modules/forms-free.min.js   Download  
File: public/mdb/js/modules/forms-free.min.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Todo List
Application to manage a list of tasks to do
Author: By
Last change:
Date: 2 years ago
Size: 22,279 bytes
 

Contents

Class file image Download
!function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.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 o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));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=133)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||Function("return this")()}).call(this,e(59))},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(0),o=e(15),i=e(28),a=e(50),c=r.Symbol,u=o("wks");t.exports=function(t){return u[t]||(u[t]=a&&c[t]||(a?c:i)("Symbol."+t))}},function(t,n,e){var r=e(0),o=e(26).f,i=e(6),a=e(14),c=e(25),u=e(47),s=e(51);t.exports=function(t,n){var e,f,l,p,v,d=t.target,h=t.global,g=t.stat;if(e=h?r:g?r[d]||c(d,{}):(r[d]||{}).prototype)for(f in n){if(p=n[f],l=t.noTargetGet?(v=o(e,f))&&v.value:e[f],!s(h?f:d+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(e,f,p,t)}}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(9),o=e(8),i=e(17);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(5);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,e){var r=e(9),o=e(36),i=e(7),a=e(19),c=Object.defineProperty;n.f=r?c:function(t,n,e){if(i(t),n=a(n,!0),i(e),o)try{return c(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(1);t.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(31),o=e(13);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(12),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(0),o=e(15),i=e(6),a=e(4),c=e(25),u=e(37),s=e(21),f=s.get,l=s.enforce,p=String(u).split("toString");o("inspectSource",(function(t){return u.call(t)})),(t.exports=function(t,n,e,o){var u=!!o&&!!o.unsafe,s=!!o&&!!o.enumerable,f=!!o&&!!o.noTargetGet;"function"==typeof e&&("string"!=typeof n||a(e,"name")||i(e,"name",n),l(e).source=p.join("string"==typeof n?n:"")),t!==r?(u?!f&&t[n]&&(s=!0):delete t[n],s?t[n]=e:i(t,n,e)):s?t[n]=e:c(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u.call(this)}))},function(t,n,e){var r=e(24),o=e(61);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.3.2",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(13);t.exports=function(t){return Object(r(t))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(5);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports={}},function(t,n,e){var r,o,i,a=e(62),c=e(0),u=e(5),s=e(6),f=e(4),l=e(22),p=e(20),v=c.WeakMap;if(a){var d=new v,h=d.get,g=d.has,y=d.set;r=function(t,n){return y.call(d,t,n),n},o=function(t){return h.call(d,t)||{}},i=function(t){return g.call(d,t)}}else{var x=l("state");p[x]=!0,r=function(t,n){return s(t,x,n),n},o=function(t){return f(t,x)?t[x]:{}},i=function(t){return f(t,x)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!u(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n,e){var r=e(15),o=e(28),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n,e){var r=e(75),o=e(31),i=e(16),a=e(11),c=e(43),u=[].push,s=function(t){var n=1==t,e=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(v,d,h,g){for(var y,x,b=i(v),m=o(b),w=r(d,h,3),O=a(m.length),A=0,S=g||c,E=n?S(v,O):e?S(v,0):void 0;O>A;A++)if((p||A in m)&&(x=w(y=m[A],A,b),t))if(n)E[A]=x;else if(x)switch(t){case 3:return!0;case 5:return y;case 6:return A;case 2:u.call(E,y)}else if(f)return!1;return l?-1:s||f?f:E}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(t,n){t.exports=!1},function(t,n,e){var r=e(0),o=e(6);t.exports=function(t,n){try{o(r,t,n)}catch(e){r[t]=n}return n}},function(t,n,e){var r=e(9),o=e(46),i=e(17),a=e(10),c=e(19),u=e(4),s=e(36),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(t,n){if(t=a(t),n=c(n,!0),s)try{return f(t,n)}catch(t){}if(u(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n,e){var r=e(39),o=e(30).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},function(t,n,e){var r=e(18);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,e){var r=e(1),o=e(18),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,e){var r=e(12),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n,e){var r=e(1),o=e(2)("species");t.exports=function(t){return!r((function(){var n=[];return(n.constructor={})[o]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,e){var r=e(7),o=e(79),i=e(30),a=e(20),c=e(80),u=e(38),s=e(22)("IE_PROTO"),f=function(){},l=function(){var t,n=u("iframe"),e=i.length;for(n.style.display="none",c.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;e--;)delete l.prototype[i[e]];return l()};t.exports=Object.create||function(t,n){var e;return null!==t?(f.prototype=r(t),e=new f,f.prototype=null,e[s]=t):e=l(),void 0===n?e:o(e,n)},a[s]=!0},function(t,n,e){var r=e(48),o=e(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][n]||o[t]&&o[t][n]}},function(t,n,e){var r=e(9),o=e(1),i=e(38);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(15);t.exports=r("native-function-to-string",Function.toString)},function(t,n,e){var r=e(0),o=e(5),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,n,e){var r=e(4),o=e(10),i=e(41).indexOf,a=e(20);t.exports=function(t,n){var e,c=o(t),u=0,s=[];for(e in c)!r(a,e)&&r(c,e)&&s.push(e);for(;n.length>u;)r(c,e=n[u++])&&(~i(s,e)||s.push(e));return s}},,function(t,n,e){var r=e(10),o=e(11),i=e(32),a=function(t){return function(n,e,a){var c,u=r(n),s=o(u.length),f=i(a,s);if(t&&e!=e){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},,function(t,n,e){var r=e(5),o=e(29),i=e(2)("species");t.exports=function(t,n){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?r(e)&&null===(e=e[i])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)}},function(t,n,e){"use strict";var r=e(1);t.exports=function(t,n){var e=[][t];return!e||!r((function(){e.call(null,n||function(){throw 1},1)}))}},function(t,n,e){"use strict";var r,o,i=e(68),a=RegExp.prototype.exec,c=String.prototype.replace,u=a,s=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(u=function(t){var n,e,r,o,u=this;return f&&(e=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),s&&(n=u.lastIndex),r=a.call(u,t),s&&r&&(u.lastIndex=u.global?r.index+r[0].length:n),f&&r&&r.length>1&&c.call(r[0],e,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=u},function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(4),o=e(63),i=e(26),a=e(8);t.exports=function(t,n){for(var e=o(n),c=a.f,u=i.f,s=0;s<e.length;s++){var f=e[s];r(t,f)||c(t,f,u(n,f))}}},function(t,n,e){t.exports=e(0)},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(1);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,n,e){var r=e(1),o=/#|\.prototype\./,i=function(t,n){var e=c[a(t)];return e==s||e!=u&&("function"==typeof n?r(n):!!n)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,n,e){var r=e(39),o=e(30);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},,,,,function(t,n,e){var r=e(2),o=e(34),i=e(6),a=r("unscopables"),c=Array.prototype;null==c[a]&&i(c,a,o(null)),t.exports=function(t){c[a][t]=!0}},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},,function(t,n,e){var r=e(0),o=e(25),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,e){var r=e(0),o=e(37),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},function(t,n,e){var r=e(35),o=e(27),i=e(49),a=e(7);t.exports=r("Reflect","ownKeys")||function(t){var n=o.f(a(t)),e=i.f;return e?n.concat(e(t)):n}},,,,,function(t,n,e){"use strict";var r=e(7);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){var r=e(12),o=e(13),i=function(t){return function(n,e){var i,a,c=String(o(n)),u=r(e),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,n,e){var r=e(7),o=e(88);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),n=e instanceof Array}catch(t){}return function(e,i){return r(e),o(i),n?t.call(e,i):e.__proto__=i,e}}():void 0)},,function(t,n,e){"use strict";var r=e(6),o=e(14),i=e(1),a=e(2),c=e(45),u=a("species"),s=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=!i((function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]}));t.exports=function(t,n,e,l){var p=a(t),v=!i((function(){var n={};return n[p]=function(){return 7},7!=""[t](n)})),d=v&&!i((function(){var n=!1,e=/a/;return e.exec=function(){return n=!0,null},"split"===t&&(e.constructor={},e.constructor[u]=function(){return e}),e[p](""),!n}));if(!v||!d||"replace"===t&&!s||"split"===t&&!f){var h=/./[p],g=e(p,""[t],(function(t,n,e,r,o){return n.exec===c?v&&!o?{done:!0,value:h.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}})),y=g[0],x=g[1];o(String.prototype,t,y),o(RegExp.prototype,p,2==n?function(t,n){return x.call(t,this,n)}:function(t){return x.call(t,this)}),l&&r(RegExp.prototype[p],"sham",!0)}}},function(t,n,e){var r=e(18),o=e(45);t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var i=e.call(t,n);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,n)}},function(t,n){t.exports="\t\n\v\f\r  ???????????????\u2028\u2029\ufeff"},function(t,n,e){var r=e(53);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},,function(t,n,e){"use strict";var r=e(69).charAt;t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},,function(t,n,e){var r=e(9),o=e(8),i=e(7),a=e(52);t.exports=r?Object.defineProperties:function(t,n){i(t);for(var e,r=a(n),c=r.length,u=0;c>u;)o.f(t,e=r[u++],n[e]);return t}},function(t,n,e){var r=e(35);t.exports=r("document","documentElement")},,,function(t,n,e){"use strict";var r=e(3),o=e(45);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,,,,function(t,n,e){var r=e(5);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},,function(t,n,e){var r=e(13),o="["+e(74)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(n){var e=String(r(n));return 1&t&&(e=e.replace(i,"")),2&t&&(e=e.replace(a,"")),e}};t.exports={start:c(1),end:c(2),trim:c(3)}},,,,,function(t,n,e){"use strict";var r=e(3),o=e(23).map;r({target:"Array",proto:!0,forced:!e(33)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},,,function(t,n,e){"use strict";var r=e(72),o=e(7),i=e(16),a=e(11),c=e(12),u=e(13),s=e(77),f=e(73),l=Math.max,p=Math.min,v=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,n,e){return[function(e,r){var o=u(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,r):n.call(String(o),e,r)},function(t,i){var u=e(n,t,this,i);if(u.done)return u.value;var v=o(t),d=String(this),h="function"==typeof i;h||(i=String(i));var g=v.global;if(g){var y=v.unicode;v.lastIndex=0}for(var x=[];;){var b=f(v,d);if(null===b)break;if(x.push(b),!g)break;""===String(b[0])&&(v.lastIndex=s(d,a(v.lastIndex),y))}for(var m,w="",O=0,A=0;A<x.length;A++){b=x[A];for(var S=String(b[0]),E=l(p(c(b.index),d.length),0),j=[],_=1;_<b.length;_++)j.push(void 0===(m=b[_])?m:String(m));var I=b.groups;if(h){var C=[S].concat(j,E,d);void 0!==I&&C.push(I);var k=String(i.apply(void 0,C))}else k=r(S,d,E,j,I,i);E>=O&&(w+=d.slice(O,E)+k,O=E+S.length)}return w+d.slice(O)}];function r(t,e,r,o,a,c){var u=r+t.length,s=o.length,f=h;return void 0!==a&&(a=i(a),f=d),n.call(c,f,(function(n,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var f=+i;if(0===f)return n;if(f>s){var l=v(f/10);return 0===l?n:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):n}c=o[f-1]}return void 0===c?"":c}))}}))},,function(t,n,e){"use strict";var r=e(3),o=e(23).find,i=e(58),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(t,n,e){"use strict";var r=e(3),o=e(31),i=e(10),a=e(44),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},,,,,,,,,,,function(t,n,e){var r=e(5),o=e(70);t.exports=function(t,n,e){var i,a;return o&&"function"==typeof(i=n.constructor)&&i!==e&&r(a=i.prototype)&&a!==e.prototype&&o(t,a),t}},,,,,,,,,,,function(t,n,e){"use strict";var r=e(9),o=e(0),i=e(51),a=e(14),c=e(4),u=e(18),s=e(112),f=e(19),l=e(1),p=e(34),v=e(27).f,d=e(26).f,h=e(8).f,g=e(90).trim,y=o.Number,x=y.prototype,b="Number"==u(p(x)),m=function(t){var n,e,r,o,i,a,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(n=(s=g(s)).charCodeAt(0))||45===n){if(88===(e=s.charCodeAt(2))||120===e)return NaN}else if(48===n){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var w,O=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof O&&(b?l((function(){x.valueOf.call(e)})):"Number"!=u(e))?s(new y(m(n)),e,O):m(n)},A=r?v(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;A.length>S;S++)c(y,w=A[S])&&!c(O,w)&&h(O,w,d(y,w));O.prototype=x,x.constructor=O,a(o,"Number",O)}},,,,,,,,,,function(t,n,e){"use strict";e.r(n);e(100),e(101),e(95),e(123),e(83),e(98);function r(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}jQuery((function(t){(new(function(){function n(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),this.inputSelector="".concat(["text","password","email","url","tel","number","search","search-md","date"].map((function(t){return"input[type=".concat(t,"]")})).join(", "),", textarea"),this.textAreaSelector=".materialize-textarea",this.$text=t(".md-textarea-auto"),this.$body=t("body"),this.$document=t(document)}var e,o,i;return e=n,(o=[{key:"init",value:function(){var n,e=this;this.$text.length&&(n=window.attachEvent?function(t,n,e){t.attachEvent("on".concat(n),e)}:function(t,n,e){t.addEventListener(n,e,!1)},this.$text.each((function(){var t=this;function e(){t.style.height="auto",t.style.height="".concat(t.scrollHeight,"px")}function r(){window.setTimeout(e,0)}n(t,"change",e),n(t,"cut",r),n(t,"paste",r),n(t,"drop",r),n(t,"keydown",r),e()}))),t(this.inputSelector).each((function(n,r){var o=t(r),i=r.validity.badInput;e.updateTextFields(o),i&&e.toggleActiveClass(o,"add")})),this.addOnFocusEvent(),this.addOnBlurEvent(),this.addOnChangeEvent(),this.addOnResetEvent(),this.appendHiddenDiv(),this.makeActiveAutofocus(),t(this.textAreaSelector).each(this.textAreaAutoResize),this.$body.on("keyup keydown",this.textAreaSelector,this.textAreaAutoResize)}},{key:"makeActiveAutofocus",value:function(){this.toggleActiveClass(t("input[autofocus]"),"add")}},{key:"toggleActiveClass",value:function(t,n){var e;n="".concat(n,"Class"),e=t.parent().hasClass("timepicker")?"label":"label, i, .input-prefix",t.siblings(e)[n]("active")}},{key:"addOnFocusEvent",value:function(){var n=this;this.$document.on("focus",this.inputSelector,(function(e){n.toggleActiveClass(t(e.target),"add"),"date"==t(e.target).attr("type")&&t(e.target).css("color","#495057")}))}},{key:"addOnBlurEvent",value:function(){var n=this;this.$document.on("blur",this.inputSelector,(function(e){var r=t(e.target),o=!r.val(),i=!e.target.validity.badInput,a=void 0===r.attr("placeholder");o&&i&&a&&(n.toggleActiveClass(r,"remove"),"date"==r.attr("type")&&r.css("color","transparent")),!o&&i&&a&&(r.siblings("i, .input-prefix").removeClass("active"),"date"==r.attr("type")&&r.css("color","#495057")),n.validateField(r)}))}},{key:"addOnChangeEvent",value:function(){var n=this;this.$document.on("change",this.inputSelector,(function(e){var r=t(e.target);n.updateTextFields(r),n.validateField(r)}))}},{key:"addOnResetEvent",value:function(){var n=this;this.$document.on("reset",(function(e){var r=t(e.target);r.is("form")&&(r.find(n.inputSelector).removeClass("valid invalid").each((function(e,r){var o=t(r),i=!o.val(),a=!o.attr("placeholder");i&&a&&n.toggleActiveClass(o,"remove")})),r.find("select.initialized").each((function(n,e){var r=t(e),o=r.siblings("input.select-dropdown"),i=r.children("[selected]").val();r.val(i),o.val(i)})))}))}},{key:"appendHiddenDiv",value:function(){if(!t(".hiddendiv").first().length){var n=t('<div class="hiddendiv common"></div>');this.$body.append(n)}}},{key:"updateTextFields",value:function(t){var n=Boolean(t.val()),e=Boolean(t.attr("placeholder")),r=n||e?"add":"remove",o=t.siblings("label").hasClass("active"),i=Boolean(t.siblings("label")[0]);"date"!==t.attr("type")&&this.toggleActiveClass(t,r),"date"==t.attr("type")&&!o&&i?t.css("color","transparent"):"date"==t.attr("type")&&n&&this.toggleActiveClass(t,r)}},{key:"validateField",value:function(t){if(t.hasClass("validate")){var n=t.val(),e=!n.length,r=!t[0].validity.badInput;if(e&&r)t.removeClass("valid").removeClass("invalid");else{var o=t[0].validity.valid,i=Number(t.attr("length"))||0;o&&(!i||i>n.length)?t.removeClass("invalid").addClass("valid"):t.removeClass("valid").addClass("invalid")}}}},{key:"textAreaAutoResize",value:function(){var n=t(this);if(n.val().length){var e=t(".hiddendiv"),r=n.css("font-family"),o=n.css("font-size");o&&e.css("font-size",o),r&&e.css("font-family",r),"off"===n.attr("wrap")&&e.css("overflow-wrap","normal").css("white-space","pre"),e.text("".concat(n.val(),"\n"));var i=e.html().replace(/\n/g,"<br>");e.html(i),e.css("width",n.is(":visible")?n.width():t(window).width()/2),n.css("height",e.height())}}}])&&r(e.prototype,o),i&&r(e,i),n}())).init()}))}]); //# sourceMappingURL=forms-free.min.js.map