CMS Project Sync
This commit is contained in:
Vendored
+14
File diff suppressed because one or more lines are too long
+7
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* chartjs-adapter-moment v1.0.1
|
||||
* https://www.chartjs.org
|
||||
* (c) 2022 chartjs-adapter-moment Contributors
|
||||
* Released under the MIT license
|
||||
*/
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("moment"),require("chart.js")):"function"==typeof define&&define.amd?define(["moment","chart.js"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).moment,e.Chart)}(this,(function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=n(e);const a={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};t._adapters._date.override("function"==typeof f.default?{_id:"moment",formats:function(){return a},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=f.default(e,t):e instanceof f.default||(e=f.default(e)),e.isValid()?e.valueOf():null},format:function(e,t){return f.default(e).format(t)},add:function(e,t,n){return f.default(e).add(t,n).valueOf()},diff:function(e,t,n){return f.default(e).diff(f.default(t),n)},startOf:function(e,t,n){return e=f.default(e),"isoWeek"===t?(n=Math.trunc(Math.min(Math.max(0,n),6)),e.isoWeekday(n).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return f.default(e).endOf(t).valueOf()}}:{})}));
|
||||
Vendored
+5
File diff suppressed because one or more lines are too long
INFO-3163 (CMS Web Dev)/Project/project/wp-content/plugins/wpforms-lite/assets/lib/conditions.min.js
Vendored
+1
@@ -0,0 +1 @@
|
||||
(function(root,factory){if(typeof define==="function"&&define.amd){define(["exports","jquery"],function(exports,$){return factory(exports,$)})}else if(typeof exports!=="undefined"){const $=require("jquery");factory(exports,$)}else{factory(root,root.jQuery||root.$)}})(this,function(exports,$){"use strict";const conditionsjs={defaults:{condition:null,actions:{},effect:"fade"}};conditionsjs.callback=function(conditions){return this.each(function(index,element){const CJS=new ConditionsJS(element,conditions,conditionsjs.defaults);CJS.init()})};if(typeof $.fn!=="undefined"){$.fn.conditions=conditionsjs.callback}exports.conditionsjs=conditionsjs;const ConditionsJS=function(element,conditions,defaults){const that=this;that.element=$(element);that.defaults=defaults;that.conditions=conditions;that._init=false;if(!Array.isArray(that.conditions)){that.conditions=[that.conditions]}$.each(that.conditions,function(i,v){that.conditions[i]=$.extend({},that.defaults,v)})};ConditionsJS.prototype.init=function(){const that=this;that._init=true;$(that.element).on("change",function(){that.matchConditions()});$(that.element).on("keyup",function(){that.matchConditions()});that.matchConditions(true)};ConditionsJS.prototype.matchConditions=function(init=false){const that=this;if(!init){that._init=false}$.each(that.conditions,function(ind,cond){let condition_matches=false,all_conditions_match=true;if(!Array.isArray(cond.conditions)){cond.conditions=[cond.conditions]}$.each(cond.conditions,function(i,c){c=$.extend({element:null,type:"val",operator:"==",condition:null,multiple:"single"},c);c.element=$(c.element);switch(c.type){case"value":case"val":switch(c.operator){case"===":case"==":case"=":if(Array.isArray(c.element.val())){let m_single_condition_matches=false;let m_all_condition_matches=true;$.each(c.element.val(),function(index,value){if(value===c.condition){m_single_condition_matches=true}else{m_all_condition_matches=false}});condition_matches="single"===c.multiple?m_single_condition_matches:m_all_condition_matches}else{condition_matches=c.element.val()===c.condition}break;case"!==":case"!=":if(Array.isArray(c.element.val())){let m_single_condition_matches=false;let m_all_condition_matches=true;$.each(c.element.val(),function(index,value){if(value!==c.condition){m_single_condition_matches=true}else{m_all_condition_matches=false}});condition_matches="single"===c.multiple?m_single_condition_matches:m_all_condition_matches}else{condition_matches=c.element.val()!==c.condition}break;case"array":if(Array.isArray(c.element.val())){let m_single_condition_matches=false;let m_all_condition_matches=c.element.val().length===c.condition.length;$.each(c.element.val(),function(index,value){if($.inArray(value,c.condition)!==-1){m_single_condition_matches=true}else{m_all_condition_matches=false}});condition_matches="single"===c.multiple?m_single_condition_matches:m_all_condition_matches}else{condition_matches=$.inArray(c.element.val(),c.condition)!==-1}break;case"!array":if(Array.isArray(c.element.val())){let m_single_condition_matches=false;let m_all_condition_matches=true;const selected=[];$.each(c.element.val(),function(index,value){if($.inArray(value,c.condition)===-1){m_single_condition_matches=true}else{selected.push(value)}});if(selected.length===c.condition.length){m_all_condition_matches=false}condition_matches="single"===c.multiple?m_single_condition_matches:m_all_condition_matches}else{condition_matches=$.inArray(c.element.val(),c.condition)===-1}break}break;case"checked":switch(c.operator){case"is":condition_matches=c.element.is(":checked");break;case"!is":condition_matches=!c.element.is(":checked");break}break}if(!condition_matches&&all_conditions_match){all_conditions_match=false}});if(all_conditions_match){if(!$.isEmptyObject(cond.actions.if)){if(!Array.isArray(cond.actions.if)){cond.actions.if=[cond.actions.if]}$.each(cond.actions.if,function(i,condition){that.showAndHide(condition,cond.effect)})}}else{if(!$.isEmptyObject(cond.actions.else)){if(!Array.isArray(cond.actions.else)){cond.actions.else=[cond.actions.else]}$.each(cond.actions.else,function(i,condition){that.showAndHide(condition,cond.effect)})}}})};ConditionsJS.prototype.showAndHide=function(condition,effect){const that=this;switch(condition.action){case"show":that._show($(condition.element),effect);break;case"hide":that._hide($(condition.element),effect);break}};ConditionsJS.prototype._show=function(element,effect){const that=this;if(that._init){element.show()}else{switch(effect){case"appear":element.show();break;case"slide":element.slideDown();break;case"fade":element.fadeIn(300);break}}};ConditionsJS.prototype._hide=function(element,effect){const that=this;if(that._init){element.hide()}else{switch(effect){case"appear":element.hide();break;case"slide":element.slideUp();break;case"fade":element.fadeOut(300);break}}}});
|
||||
+14
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
+9
File diff suppressed because one or more lines are too long
+6
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
+1
File diff suppressed because one or more lines are too long
+6
File diff suppressed because one or more lines are too long
+7
File diff suppressed because one or more lines are too long
+8
File diff suppressed because one or more lines are too long
+13
@@ -0,0 +1,13 @@
|
||||
/*!
|
||||
* jQuery insertAtCaret 1.1.4
|
||||
* http://www.karalamalar.net/
|
||||
*
|
||||
* Copyright (c) 2013 İzzet Emre Erkan
|
||||
* Licensed under GPLv2 or later.
|
||||
* http://www.gnu.org/licenses/gpl-2.0.txt
|
||||
*
|
||||
* Contributors:
|
||||
* [@kittsville](https://github.com/kittsville)
|
||||
*
|
||||
*/
|
||||
!function(e,t){e.fn.insertAtCaret=function(e){return this.each(function(){var a,n,r,o,c=this,l=0,s="selectionStart"in c&&"selectionEnd"in c;(c.tagName&&"textarea"===c.tagName.toLowerCase()||c.tagName&&"input"===c.tagName.toLowerCase()&&"text"===c.type.toLowerCase())&&(a=c.scrollTop,s?l=c.selectionStart:(c.focus(),o=t.selection.createRange(),o.moveStart("character",-c.value.length),l=o.text.length),n=c.value.substring(0,l),r=c.value.substring(l,c.value.length),c.value=n+e+r,l+=e.length,s?(c.selectionStart=l,c.selectionEnd=l):(o=t.selection.createRange(),o.moveStart("character",l),o.moveEnd("character",0),o.select()),c.scrollTop=a)})}}(jQuery,document,window);
|
||||
+1
File diff suppressed because one or more lines are too long
+389
@@ -0,0 +1,389 @@
|
||||
//
|
||||
// jQuery MiniColors: A tiny color picker built on jQuery
|
||||
//
|
||||
// Developed by Cory LaViska for A Beautiful Site, LLC
|
||||
//
|
||||
// Licensed under the MIT license: http://opensource.org/licenses/MIT
|
||||
//
|
||||
! function( i ) {
|
||||
"function" == typeof define && define.amd ? define( [ "jquery" ], i ) : "object" == typeof exports ? module.exports = i( require( "jquery" ) ) : i( jQuery )
|
||||
}( function( C ) {
|
||||
"use strict";
|
||||
|
||||
function o( i ) {
|
||||
var t = i.parent();
|
||||
i.removeData( "minicolors-initialized" ).removeData( "minicolors-settings" ).removeProp( "size" ).removeClass( "minicolors-input" ), t.before( i ).remove()
|
||||
}
|
||||
|
||||
function s( i ) {
|
||||
var t = i.parent(), o = t.find( ".minicolors-panel" ), s = i.data( "minicolors-settings" );
|
||||
! i.data( "minicolors-initialized" ) || i.prop( "disabled" ) || t.hasClass( "minicolors-inline" ) || t.hasClass( "minicolors-focus" ) || ( a(), t.addClass( "minicolors-focus" ), o.animate ? o.stop( ! 0, ! 0 ).fadeIn( s.showSpeed, function() {
|
||||
s.show && s.show.call( i.get( 0 ) )
|
||||
} ) : ( o.show(), s.show && s.show.call( i.get( 0 ) ) ) )
|
||||
}
|
||||
|
||||
function a() {
|
||||
C( ".minicolors-focus" ).each( function() {
|
||||
var i = C( this ), t = i.find( ".minicolors-input" ), o = i.find( ".minicolors-panel" ),
|
||||
s = t.data( "minicolors-settings" );
|
||||
o.animate ? o.fadeOut( s.hideSpeed, function() {
|
||||
s.hide && s.hide.call( t.get( 0 ) ), i.removeClass( "minicolors-focus" )
|
||||
} ) : ( o.hide(), s.hide && s.hide.call( t.get( 0 ) ), i.removeClass( "minicolors-focus" ) )
|
||||
} )
|
||||
}
|
||||
|
||||
function n( i, t, o ) {
|
||||
var s, a, n, r, e, c = i.parents( ".minicolors" ).find( ".minicolors-input" ),
|
||||
l = c.data( "minicolors-settings" ), h = i.find( "[class$=-picker]" ), d = i.offset().left,
|
||||
p = i.offset().top, u = Math.round( t.pageX - d ), g = Math.round( t.pageY - p ),
|
||||
m = o ? l.animationSpeed : 0;
|
||||
t.originalEvent.changedTouches && ( u = t.originalEvent.changedTouches[ 0 ].pageX - d, g = t.originalEvent.changedTouches[ 0 ].pageY - p ), u < 0 && ( u = 0 ), g < 0 && ( g = 0 ), u > i.width() && ( u = i.width() ), g > i.height() && ( g = i.height() ), i.parent().is( ".minicolors-slider-wheel" ) && h.parent().is( ".minicolors-grid" ) && ( s = 75 - u, a = 75 - g, n = Math.sqrt( s * s + a * a ), ( r = Math.atan2( a, s ) ) < 0 && ( r += 2 * Math.PI ), 75 < n && ( u = ( n = 75 ) - 75 * Math.cos( r ), g = 75 - 75 * Math.sin( r ) ), u = Math.round( u ), g = Math.round( g ) ), e = {top: g + "px"}, i.is( ".minicolors-grid" ) && ( e.left = u + "px" ), h.animate ? h.stop( ! 0 ).animate( e, m, l.animationEasing, function() {
|
||||
f( c, i )
|
||||
} ) : ( h.css( e ), f( c, i ) )
|
||||
}
|
||||
|
||||
function f( i, t ) {
|
||||
function o( i, t ) {
|
||||
var o, s;
|
||||
return i.length && t ? ( o = i.offset().left, s = i.offset().top, {
|
||||
x: o - t.offset().left + i.outerWidth() / 2,
|
||||
y: s - t.offset().top + i.outerHeight() / 2
|
||||
} ) : null
|
||||
}
|
||||
|
||||
var s, a, n, r, e, c, l, h = i.val(), d = i.attr( "data-opacity" ), p = i.parent(),
|
||||
u = i.data( "minicolors-settings" ), g = p.find( ".minicolors-input-swatch" ),
|
||||
m = p.find( ".minicolors-grid" ), f = p.find( ".minicolors-slider" ),
|
||||
v = p.find( ".minicolors-opacity-slider" ), b = m.find( "[class$=-picker]" ),
|
||||
w = f.find( "[class$=-picker]" ), y = v.find( "[class$=-picker]" ), C = o( b, m ), k = o( w, f ),
|
||||
M = o( y, v );
|
||||
if ( t.is( ".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider" ) ) {
|
||||
switch ( u.control ) {
|
||||
case"wheel":
|
||||
r = m.width() / 2 - C.x, e = m.height() / 2 - C.y, c = Math.sqrt( r * r + e * e ), ( l = Math.atan2( e, r ) ) < 0 && ( l += 2 * Math.PI ), 75 < c && ( c = 75, C.x = 69 - 75 * Math.cos( l ), C.y = 69 - 75 * Math.sin( l ) ), a = F( c / .75, 0, 100 ), h = q( {
|
||||
h: s = F( 180 * l / Math.PI, 0, 360 ),
|
||||
s: a,
|
||||
b: n = F( 100 - Math.floor( k.y * ( 100 / f.height() ) ), 0, 100 )
|
||||
} ), f.css( "backgroundColor", q( {h: s, s: a, b: 100} ) );
|
||||
break;
|
||||
case"saturation":
|
||||
h = q( {
|
||||
h: s = F( parseInt( C.x * ( 360 / m.width() ), 10 ), 0, 360 ),
|
||||
s: a = F( 100 - Math.floor( k.y * ( 100 / f.height() ) ), 0, 100 ),
|
||||
b: n = F( 100 - Math.floor( C.y * ( 100 / m.height() ) ), 0, 100 )
|
||||
} ), f.css( "backgroundColor", q( {
|
||||
h: s,
|
||||
s: 100,
|
||||
b: n
|
||||
} ) ), p.find( ".minicolors-grid-inner" ).css( "opacity", a / 100 );
|
||||
break;
|
||||
case"brightness":
|
||||
h = q( {
|
||||
h: s = F( parseInt( C.x * ( 360 / m.width() ), 10 ), 0, 360 ),
|
||||
s: a = F( 100 - Math.floor( C.y * ( 100 / m.height() ) ), 0, 100 ),
|
||||
b: n = F( 100 - Math.floor( k.y * ( 100 / f.height() ) ), 0, 100 )
|
||||
} ), f.css( "backgroundColor", q( {
|
||||
h: s,
|
||||
s: a,
|
||||
b: 100
|
||||
} ) ), p.find( ".minicolors-grid-inner" ).css( "opacity", 1 - n / 100 );
|
||||
break;
|
||||
default:
|
||||
h = q( {
|
||||
h: s = F( 360 - parseInt( k.y * ( 360 / f.height() ), 10 ), 0, 360 ),
|
||||
s: a = F( Math.floor( C.x * ( 100 / m.width() ) ), 0, 100 ),
|
||||
b: n = F( 100 - Math.floor( C.y * ( 100 / m.height() ) ), 0, 100 )
|
||||
} ), m.css( "backgroundColor", q( {h: s, s: 100, b: 100} ) )
|
||||
}
|
||||
x( i, h, d = u.opacity ? parseFloat( 1 - M.y / v.height() ).toFixed( 2 ) : 1 )
|
||||
} else g.find( "span" ).css( {backgroundColor: h, opacity: String( d )} ), S( i, h, d )
|
||||
}
|
||||
|
||||
function x( i, t, o ) {
|
||||
var s, a = i.parent(), n = i.data( "minicolors-settings" ), r = a.find( ".minicolors-input-swatch" );
|
||||
n.opacity && i.attr( "data-opacity", o ), t = "rgb" === n.format ? ( s = T( t ) ? I( t, ! 0 ) : L( M( t, ! 0 ) ), o = "" === i.attr( "data-opacity" ) ? 1 : F( parseFloat( i.attr( "data-opacity" ) ).toFixed( 2 ), 0, 1 ), ! isNaN( o ) && n.opacity || ( o = 1 ), i.minicolors( "rgbObject" ).a <= 1 && s && n.opacity ? "rgba(" + s.r + ", " + s.g + ", " + s.b + ", " + parseFloat( o ) + ")" : "rgb(" + s.r + ", " + s.g + ", " + s.b + ")" ) : ( T( t ) && ( t = j( t ) ), k( t, n.letterCase ) ), i.val( t ), r.find( "span" ).css( {
|
||||
backgroundColor: t,
|
||||
opacity: String( o )
|
||||
} ), S( i, t, o )
|
||||
}
|
||||
|
||||
function d( i, t ) {
|
||||
var o, s, a, n, r, e, c, l, h, d, p = i.parent(), u = i.data( "minicolors-settings" ),
|
||||
g = p.find( ".minicolors-input-swatch" ), m = p.find( ".minicolors-grid" ),
|
||||
f = p.find( ".minicolors-slider" ), v = p.find( ".minicolors-opacity-slider" ),
|
||||
b = m.find( "[class$=-picker]" ), w = f.find( "[class$=-picker]" ), y = v.find( "[class$=-picker]" );
|
||||
switch ( T( i.val() ) ? ( o = j( i.val() ), ( r = F( parseFloat( D( i.val() ) ).toFixed( 2 ), 0, 1 ) ) && i.attr( "data-opacity", r ) ) : o = k( M( i.val(), ! 0 ), u.letterCase ), s = function( i ) {
|
||||
var t = function( i ) {
|
||||
var t = {h: 0, s: 0, b: 0}, o = Math.min( i.r, i.g, i.b ), s = Math.max( i.r, i.g, i.b ), a = s - o;
|
||||
t.b = s, t.s = 0 !== s ? 255 * a / s : 0, 0 !== t.s ? i.r === s ? t.h = ( i.g - i.b ) / a : i.g === s ? t.h = 2 + ( i.b - i.r ) / a : t.h = 4 + ( i.r - i.g ) / a : t.h = -1;
|
||||
t.h *= 60, t.h < 0 && ( t.h += 360 );
|
||||
return t.s *= 100 / 255, t.b *= 100 / 255, t
|
||||
}( L( i ) );
|
||||
0 === t.s && ( t.h = 360 );
|
||||
return t
|
||||
}( o = o || k( z( u.defaultValue, ! 0 ), u.letterCase ) ), n = u.keywords ? C.map( u.keywords.split( "," ), function( i ) {
|
||||
return i.toLowerCase().trim()
|
||||
} ) : [], e = "" !== i.val() && -1 < C.inArray( i.val().toLowerCase(), n ) ? k( i.val() ) : T( i.val() ) ? I( i.val() ) : o, t || i.val( e ), u.opacity && ( a = "" === i.attr( "data-opacity" ) ? 1 : F( parseFloat( i.attr( "data-opacity" ) ).toFixed( 2 ), 0, 1 ), isNaN( a ) && ( a = 1 ), i.attr( "data-opacity", a ), g.find( "span" ).css( "opacity", String( a ) ), l = F( v.height() - v.height() * a, 0, v.height() ), y.css( "top", l + "px" ) ), "transparent" === i.val().toLowerCase() && g.find( "span" ).css( "opacity", String( 0 ) ), g.find( "span" ).css( "backgroundColor", o ), u.control ) {
|
||||
case"wheel":
|
||||
h = F( Math.ceil( .75 * s.s ), 0, m.height() / 2 ), d = s.h * Math.PI / 180, c = F( 75 - Math.cos( d ) * h, 0, m.width() ), l = F( 75 - Math.sin( d ) * h, 0, m.height() ), b.css( {
|
||||
top: l + "px",
|
||||
left: c + "px"
|
||||
} ), l = 150 - s.b / ( 100 / m.height() ), "" === o && ( l = 0 ), w.css( "top", l + "px" ), f.css( "backgroundColor", q( {
|
||||
h: s.h,
|
||||
s: s.s,
|
||||
b: 100
|
||||
} ) );
|
||||
break;
|
||||
case"saturation":
|
||||
c = F( 5 * s.h / 12, 0, 150 ), l = F( m.height() - Math.ceil( s.b / ( 100 / m.height() ) ), 0, m.height() ), b.css( {
|
||||
top: l + "px",
|
||||
left: c + "px"
|
||||
} ), l = F( f.height() - s.s * ( f.height() / 100 ), 0, f.height() ), w.css( "top", l + "px" ), f.css( "backgroundColor", q( {
|
||||
h: s.h,
|
||||
s: 100,
|
||||
b: s.b
|
||||
} ) ), p.find( ".minicolors-grid-inner" ).css( "opacity", s.s / 100 );
|
||||
break;
|
||||
case"brightness":
|
||||
c = F( 5 * s.h / 12, 0, 150 ), l = F( m.height() - Math.ceil( s.s / ( 100 / m.height() ) ), 0, m.height() ), b.css( {
|
||||
top: l + "px",
|
||||
left: c + "px"
|
||||
} ), l = F( f.height() - s.b * ( f.height() / 100 ), 0, f.height() ), w.css( "top", l + "px" ), f.css( "backgroundColor", q( {
|
||||
h: s.h,
|
||||
s: s.s,
|
||||
b: 100
|
||||
} ) ), p.find( ".minicolors-grid-inner" ).css( "opacity", 1 - s.b / 100 );
|
||||
break;
|
||||
default:
|
||||
c = F( Math.ceil( s.s / ( 100 / m.width() ) ), 0, m.width() ), l = F( m.height() - Math.ceil( s.b / ( 100 / m.height() ) ), 0, m.height() ), b.css( {
|
||||
top: l + "px",
|
||||
left: c + "px"
|
||||
} ), l = F( f.height() - s.h / ( 360 / f.height() ), 0, f.height() ), w.css( "top", l + "px" ), m.css( "backgroundColor", q( {
|
||||
h: s.h,
|
||||
s: 100,
|
||||
b: 100
|
||||
} ) )
|
||||
}
|
||||
i.data( "minicolors-initialized" ) && S( i, e, a )
|
||||
}
|
||||
|
||||
function S( i, t, o ) {
|
||||
var s, a, n, r = i.data( "minicolors-settings" ), e = i.data( "minicolors-lastChange" );
|
||||
if ( ! e || e.value !== t || e.opacity !== o ) {
|
||||
if ( i.data( "minicolors-lastChange", {value: t, opacity: o} ), r.swatches && 0 !== r.swatches.length ) {
|
||||
for ( s = T( t ) ? I( t, ! 0 ) : L( t ), a = -1, n = 0; n < r.swatches.length; ++n ) if ( s.r === r.swatches[ n ].r && s.g === r.swatches[ n ].g && s.b === r.swatches[ n ].b && s.a === r.swatches[ n ].a ) {
|
||||
a = n;
|
||||
break
|
||||
}
|
||||
i.parent().find( ".minicolors-swatches .minicolors-swatch" ).removeClass( "selected" ), -1 !== a && i.parent().find( ".minicolors-swatches .minicolors-swatch" ).eq( n ).addClass( "selected" )
|
||||
}
|
||||
r.change && ( r.changeDelay ? ( clearTimeout( i.data( "minicolors-changeTimeout" ) ), i.data( "minicolors-changeTimeout", setTimeout( function() {
|
||||
r.change.call( i.get( 0 ), t, o )
|
||||
}, r.changeDelay ) ) ) : r.change.call( i.get( 0 ), t, o ) ), i.trigger( "change" ).trigger( "input" )
|
||||
}
|
||||
}
|
||||
|
||||
function k( i, t ) {
|
||||
return "uppercase" === t ? i.toUpperCase() : i.toLowerCase()
|
||||
}
|
||||
|
||||
function M( i, t ) {
|
||||
return ! ( i = i.replace( /^#/g, "" ) ).match( /^[A-F0-9]{3,6}/gi ) || 3 !== i.length && 6 !== i.length ? "" : ( 3 === i.length && t && ( i = i[ 0 ] + i[ 0 ] + i[ 1 ] + i[ 1 ] + i[ 2 ] + i[ 2 ] ), "#" + i )
|
||||
}
|
||||
|
||||
function I( i, t ) {
|
||||
var o = i.replace( /[^\d,.]/g, "" ).split( "," );
|
||||
return o[ 0 ] = F( parseInt( o[ 0 ], 10 ), 0, 255 ), o[ 1 ] = F( parseInt( o[ 1 ], 10 ), 0, 255 ), o[ 2 ] = F( parseInt( o[ 2 ], 10 ), 0, 255 ), void 0 !== o[ 3 ] && ( o[ 3 ] = F( parseFloat( o[ 3 ], 10 ), 0, 1 ) ), t ? void 0 !== o[ 3 ] ? {
|
||||
r: o[ 0 ],
|
||||
g: o[ 1 ],
|
||||
b: o[ 2 ],
|
||||
a: o[ 3 ]
|
||||
} : {
|
||||
r: o[ 0 ],
|
||||
g: o[ 1 ],
|
||||
b: o[ 2 ]
|
||||
} : void 0 !== o[ 3 ] && o[ 3 ] <= 1 ? "rgba(" + o[ 0 ] + ", " + o[ 1 ] + ", " + o[ 2 ] + ", " + o[ 3 ] + ")" : "rgb(" + o[ 0 ] + ", " + o[ 1 ] + ", " + o[ 2 ] + ")"
|
||||
}
|
||||
|
||||
function z( i, t ) {
|
||||
return T( i ) ? I( i ) : M( i, t )
|
||||
}
|
||||
|
||||
function F( i, t, o ) {
|
||||
return i < t && ( i = t ), o < i && ( i = o ), i
|
||||
}
|
||||
|
||||
function T( i ) {
|
||||
var t = i.match( /^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i );
|
||||
return ! ( ! t || 4 !== t.length )
|
||||
}
|
||||
|
||||
function D( i ) {
|
||||
return ( i = i.match( /^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i ) ) && 6 === i.length ? i[ 4 ] : "1"
|
||||
}
|
||||
|
||||
function j( i ) {
|
||||
return ( i = i.match( /^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i ) ) && 4 === i.length ? "#" + ( "0" + parseInt( i[ 1 ], 10 ).toString( 16 ) ).slice( -2 ) + ( "0" + parseInt( i[ 2 ], 10 ).toString( 16 ) ).slice( -2 ) + ( "0" + parseInt( i[ 3 ], 10 ).toString( 16 ) ).slice( -2 ) : ""
|
||||
}
|
||||
|
||||
function p( i ) {
|
||||
var o = [ i.r.toString( 16 ), i.g.toString( 16 ), i.b.toString( 16 ) ];
|
||||
return C.each( o, function( i, t ) {
|
||||
1 === t.length && ( o[ i ] = "0" + t )
|
||||
} ), "#" + o.join( "" )
|
||||
}
|
||||
|
||||
function q( i ) {
|
||||
return p( ( t = i, n = {}, r = Math.round( t.h ), e = Math.round( 255 * t.s / 100 ), c = Math.round( 255 * t.b / 100 ), 0 === e ? n.r = n.g = n.b = c : ( a = r % 60 * ( ( o = c ) - ( s = ( 255 - e ) * c / 255 ) ) / 60, 360 === r && ( r = 0 ), r < 60 ? ( n.r = o, n.b = s, n.g = s + a ) : r < 120 ? ( n.g = o, n.b = s, n.r = o - a ) : r < 180 ? ( n.g = o, n.r = s, n.b = s + a ) : r < 240 ? ( n.b = o, n.r = s, n.g = o - a ) : r < 300 ? ( n.b = o, n.g = s, n.r = s + a ) : r < 360 ? ( n.r = o, n.g = s, n.b = o - a ) : ( n.r = 0, n.g = 0, n.b = 0 ) ), {
|
||||
r: Math.round( n.r ),
|
||||
g: Math.round( n.g ),
|
||||
b: Math.round( n.b )
|
||||
} ) );
|
||||
var t, o, s, a, n, r, e, c
|
||||
}
|
||||
|
||||
function L( i ) {
|
||||
return {
|
||||
r: ( i = parseInt( -1 < i.indexOf( "#" ) ? i.substring( 1 ) : i, 16 ) ) >> 16,
|
||||
g: ( 65280 & i ) >> 8,
|
||||
b: 255 & i
|
||||
}
|
||||
}
|
||||
|
||||
C.minicolors = {
|
||||
defaults: {
|
||||
animationSpeed: 50,
|
||||
animationEasing: "swing",
|
||||
change: null,
|
||||
changeDelay: 0,
|
||||
control: "hue",
|
||||
defaultValue: "",
|
||||
format: "hex",
|
||||
hide: null,
|
||||
hideSpeed: 100,
|
||||
inline: ! 1,
|
||||
keywords: "",
|
||||
letterCase: "lowercase",
|
||||
opacity: ! 1,
|
||||
position: "bottom",
|
||||
show: null,
|
||||
showSpeed: 100,
|
||||
theme: "default",
|
||||
swatches: []
|
||||
}
|
||||
}, C.extend( C.fn, {
|
||||
minicolors: function( i, t ) {
|
||||
switch ( i ) {
|
||||
case"destroy":
|
||||
return C( this ).each( function() {
|
||||
o( C( this ) )
|
||||
} ), C( this );
|
||||
case"hide":
|
||||
return a(), C( this );
|
||||
case"opacity":
|
||||
return void 0 === t ? C( this ).attr( "data-opacity" ) : ( C( this ).each( function() {
|
||||
d( C( this ).attr( "data-opacity", t ) )
|
||||
} ), C( this ) );
|
||||
case"rgbObject":
|
||||
return function( i ) {
|
||||
var t, o = C( i ).attr( "data-opacity" );
|
||||
{
|
||||
var s;
|
||||
t = T( C( i ).val() ) ? I( C( i ).val(), ! 0 ) : ( s = M( C( i ).val(), ! 0 ), L( s ) )
|
||||
}
|
||||
if ( ! t ) return null;
|
||||
void 0 !== o && C.extend( t, {a: parseFloat( o )} );
|
||||
return t
|
||||
}( C( this ) );
|
||||
case"rgbString":
|
||||
case"rgbaString":
|
||||
return function( i, t ) {
|
||||
var o, s = C( i ).attr( "data-opacity" );
|
||||
{
|
||||
var a;
|
||||
o = T( C( i ).val() ) ? I( C( i ).val(), ! 0 ) : ( a = M( C( i ).val(), ! 0 ), L( a ) )
|
||||
}
|
||||
if ( ! o ) return null;
|
||||
void 0 === s && ( s = 1 );
|
||||
return t ? "rgba(" + o.r + ", " + o.g + ", " + o.b + ", " + parseFloat( s ) + ")" : "rgb(" + o.r + ", " + o.g + ", " + o.b + ")"
|
||||
}( C( this ), "rgbaString" === i );
|
||||
case"settings":
|
||||
return void 0 === t ? C( this ).data( "minicolors-settings" ) : ( C( this ).each( function() {
|
||||
var i = C( this ).data( "minicolors-settings" ) || {};
|
||||
o( C( this ) ), C( this ).minicolors( C.extend( ! 0, i, t ) )
|
||||
} ), C( this ) );
|
||||
case"show":
|
||||
return s( C( this ).eq( 0 ) ), C( this );
|
||||
case"value":
|
||||
return void 0 === t ? C( this ).val() : ( C( this ).each( function() {
|
||||
"object" == typeof t && null !== t ? ( void 0 !== t.opacity && C( this ).attr( "data-opacity", F( t.opacity, 0, 1 ) ), t.color && C( this ).val( t.color ) ) : C( this ).val( t ), d( C( this ) )
|
||||
} ), C( this ) );
|
||||
default:
|
||||
return "create" !== i && ( t = i ), C( this ).each( function() {
|
||||
! function( t, i ) {
|
||||
var o, s, a, n, r, e, c, l = C( '<div class="minicolors" />' ), h = C.minicolors.defaults;
|
||||
if ( t.data( "minicolors-initialized" ) ) return;
|
||||
i = C.extend( ! 0, {}, h, i ), l.addClass( "minicolors-theme-" + i.theme ).toggleClass( "minicolors-with-opacity", i.opacity ), void 0 !== i.position && C.each( i.position.split( " " ), function() {
|
||||
l.addClass( "minicolors-position-" + this )
|
||||
} );
|
||||
s = "rgb" === i.format ? i.opacity ? "25" : "20" : i.keywords ? "11" : "7";
|
||||
t.addClass( "minicolors-input" ).data( "minicolors-initialized", ! 1 ).data( "minicolors-settings", i ).prop( "size", s ).wrap( l ).after( '<div class="minicolors-panel minicolors-slider-' + i.control + '"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>' ), i.inline || ( t.after( '<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>' ), t.next( ".minicolors-input-swatch" ).on( "click", function( i ) {
|
||||
i.preventDefault(), t.trigger( "focus" )
|
||||
} ) );
|
||||
if ( ( e = t.parent().find( ".minicolors-panel" ) ).on( "selectstart", function() {
|
||||
return ! 1
|
||||
} ).end(), i.swatches && 0 !== i.swatches.length ) for ( e.addClass( "minicolors-with-swatches" ), a = C( '<ul class="minicolors-swatches"></ul>' ).appendTo( e ), c = 0; c < i.swatches.length; ++c ) n = "object" == typeof i.swatches[ c ] ? ( o = i.swatches[ c ].name, i.swatches[ c ].color ) : ( o = "", i.swatches[ c ] ), n = T( r = n ) ? I( n, ! 0 ) : L( M( n, ! 0 ) ), C( '<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>' ).attr( "title", o ).appendTo( a ).data( "swatch-color", r ).find( ".minicolors-swatch-color" ).css( {
|
||||
backgroundColor: "transparent" !== r ? p( n ) : "transparent",
|
||||
opacity: String( n.a )
|
||||
} ), i.swatches[ c ] = n;
|
||||
i.inline && t.parent().addClass( "minicolors-inline" );
|
||||
d( t, ! 1 ), t.data( "minicolors-initialized", ! 0 )
|
||||
}( C( this ), t )
|
||||
} ), C( this )
|
||||
}
|
||||
}
|
||||
} ), C( [ document ] ).on( "mousedown.minicolors touchstart.minicolors", function( i ) {
|
||||
C( i.target ).parents().add( i.target ).hasClass( "minicolors" ) || a()
|
||||
} ).on( "mousedown.minicolors touchstart.minicolors", ".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider", function( i ) {
|
||||
var t = C( this );
|
||||
i.preventDefault(), C( i.delegateTarget ).data( "minicolors-target", t ), n( t, i, ! 0 )
|
||||
} ).on( "mousemove.minicolors touchmove.minicolors", function( i ) {
|
||||
var t = C( i.delegateTarget ).data( "minicolors-target" );
|
||||
t && n( t, i )
|
||||
} ).on( "mouseup.minicolors touchend.minicolors", function() {
|
||||
C( this ).removeData( "minicolors-target" )
|
||||
} ).on( "click.minicolors", ".minicolors-swatches li", function( i ) {
|
||||
i.preventDefault();
|
||||
var t = C( this ), o = t.parents( ".minicolors" ).find( ".minicolors-input" ), s = t.data( "swatch-color" );
|
||||
x( o, s, D( s ) ), d( o )
|
||||
} ).on( "mousedown.minicolors touchstart.minicolors", ".minicolors-input-swatch", function( i ) {
|
||||
var t = C( this ).parent().find( ".minicolors-input" );
|
||||
i.preventDefault(), s( t )
|
||||
} ).on( "focus.minicolors", ".minicolors-input", function() {
|
||||
var i = C( this );
|
||||
i.data( "minicolors-initialized" ) && s( i )
|
||||
} ).on( "blur.minicolors", ".minicolors-input", function() {
|
||||
var i, t, o, s, a, n = C( this ), r = n.data( "minicolors-settings" );
|
||||
n.data( "minicolors-initialized" ) && ( i = r.keywords ? C.map( r.keywords.split( "," ), function( i ) {
|
||||
return i.toLowerCase().trim()
|
||||
} ) : [], a = "" !== n.val() && -1 < C.inArray( n.val().toLowerCase(), i ) ? n.val() : null === ( o = T( n.val() ) ? I( n.val(), ! 0 ) : ( t = M( n.val(), ! 0 ) ) ? L( t ) : null ) ? r.defaultValue : "rgb" === r.format ? r.opacity ? I( "rgba(" + o.r + "," + o.g + "," + o.b + "," + n.attr( "data-opacity" ) + ")" ) : I( "rgb(" + o.r + "," + o.g + "," + o.b + ")" ) : p( o ), s = r.opacity ? n.attr( "data-opacity" ) : 1, "transparent" === a.toLowerCase() && ( s = 0 ), n.closest( ".minicolors" ).find( ".minicolors-input-swatch > span" ).css( "opacity", String( s ) ), n.val( a ), "" === n.val() && n.val( z( r.defaultValue, ! 0 ) ), n.val( k( n.val(), r.letterCase ) ) )
|
||||
} ).on( "keydown.minicolors", ".minicolors-input", function( i ) {
|
||||
var t = C( this );
|
||||
if ( t.data( "minicolors-initialized" ) ) switch ( i.which ) {
|
||||
case 9:
|
||||
a();
|
||||
break;
|
||||
case 13:
|
||||
case 27:
|
||||
a(), t.blur()
|
||||
}
|
||||
} ).on( "keyup.minicolors", ".minicolors-input", function() {
|
||||
var i = C( this );
|
||||
i.data( "minicolors-initialized" ) && d( i, ! 0 )
|
||||
} ).on( "paste.minicolors", ".minicolors-input", function() {
|
||||
var i = C( this );
|
||||
i.data( "minicolors-initialized" ) && setTimeout( function() {
|
||||
d( i, ! 0 )
|
||||
}, 1 )
|
||||
} )
|
||||
} );
|
||||
+1
@@ -0,0 +1 @@
|
||||
.ui-timepicker-wrapper{overflow-y:auto;height:142px;width:6.5em;background:#fff;border:1px solid #e6e6e6;border-radius:3px;outline:none;z-index:10001;margin:0}.ui-timepicker-wrapper.ui-timepicker-with-duration{width:13em}.ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-30,.ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-60{width:11em}.ui-timepicker-list{margin:0;padding:0;list-style:none}.ui-timepicker-duration{margin-left:5px;color:#888}.ui-timepicker-list:hover .ui-timepicker-duration{color:#888}.ui-timepicker-list li{padding:3px 0 3px 5px;cursor:pointer;white-space:nowrap;color:#393939;list-style:none;margin:0;font-size:14px}.ui-timepicker-list:hover .ui-timepicker-selected{background:#fff;color:#393939}li.ui-timepicker-selected,.ui-timepicker-list li:hover,.ui-timepicker-list .ui-timepicker-selected:hover{background:#446cb3;color:#fff}li.ui-timepicker-selected .ui-timepicker-duration,.ui-timepicker-list li:hover .ui-timepicker-duration{color:#ccc}.ui-timepicker-list li.ui-timepicker-disabled,.ui-timepicker-list li.ui-timepicker-disabled:hover,.ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled{color:#888;cursor:default}.ui-timepicker-list li.ui-timepicker-disabled:hover,.ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled{background:#f2f2f2}
|
||||
+7
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
+4
File diff suppressed because one or more lines are too long
Vendored
+2
File diff suppressed because one or more lines are too long
INFO-3163 (CMS Web Dev)/Project/project/wp-content/plugins/wpforms-lite/assets/lib/lity/lity.min.css
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
/*! Lity - v3.0.0-dev - 2018-07-09
|
||||
* http://sorgalla.com/lity/
|
||||
* Copyright (c) 2015-2018 Jan Sorgalla; Licensed MIT */.lity-active,.lity-active body{overflow:hidden}.lity{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;white-space:nowrap;background:#0b0b0b;background:rgba(0,0,0,.9);outline:none!important;opacity:0;transition:opacity .3s ease}.lity.lity-opened{opacity:1}.lity.lity-closed{opacity:0}.lity *{box-sizing:border-box}.lity-wrap{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;text-align:center;outline:none!important}.lity-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.lity-loader{z-index:9991;color:#fff;position:absolute;top:50%;margin-top:-.8em;width:100%;text-align:center;font-size:14px;font-family:Arial,Helvetica,sans-serif;opacity:0;transition:opacity .3s ease}.lity-loading .lity-loader{opacity:1}.lity-container{z-index:9992;position:relative;text-align:left;vertical-align:middle;display:inline-block;white-space:normal;max-width:100%;max-height:100%;outline:none!important}.lity-content{z-index:9993;width:100%;transform:scale(1);transition:transform .3s ease}.lity-closed .lity-content,.lity-loading .lity-content{transform:scale(.8)}.lity-content:after{content:"";position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6)}.lity-close,.lity-close:active,.lity-close:focus,.lity-close:hover,.lity-close:visited{z-index:9994;width:35px;height:35px;position:fixed;right:0;top:0;-webkit-appearance:none;cursor:pointer;text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;box-shadow:none}.lity-close::-moz-focus-inner{border:0;padding:0}.lity-close:active{top:1px}.lity-image img{max-width:100%;display:block;line-height:0;border:0}.lity-iframe .lity-container{width:100%;max-width:964px}.lity-iframe-container{width:100%;height:0;padding-top:56.25%;overflow:auto;pointer-events:auto;transform:translateZ(0);-webkit-overflow-scrolling:touch}.lity-iframe-container iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.lity-hide{display:none}
|
||||
Vendored
+5
File diff suppressed because one or more lines are too long
Vendored
+1
@@ -0,0 +1 @@
|
||||
/*! mailcheck v1.1.2 @licence MIT */var Mailcheck={domainThreshold:2,secondLevelThreshold:2,topLevelThreshold:2,defaultDomains:["msn.com","bellsouth.net","telus.net","comcast.net","optusnet.com.au","earthlink.net","qq.com","sky.com","icloud.com","mac.com","sympatico.ca","googlemail.com","att.net","xtra.co.nz","web.de","cox.net","gmail.com","ymail.com","aim.com","rogers.com","verizon.net","rocketmail.com","google.com","optonline.net","sbcglobal.net","aol.com","me.com","btinternet.com","charter.net","shaw.ca"],defaultSecondLevelDomains:["yahoo","hotmail","mail","live","outlook","gmx"],defaultTopLevelDomains:["com","com.au","com.tw","ca","co.nz","co.uk","de","fr","it","ru","net","org","edu","gov","jp","nl","kr","se","eu","ie","co.il","us","at","be","dk","hk","es","gr","ch","no","cz","in","net","net.au","info","biz","mil","co.jp","sg","hu","uk"],run:function(a){a.domains=a.domains||Mailcheck.defaultDomains,a.secondLevelDomains=a.secondLevelDomains||Mailcheck.defaultSecondLevelDomains,a.topLevelDomains=a.topLevelDomains||Mailcheck.defaultTopLevelDomains,a.distanceFunction=a.distanceFunction||Mailcheck.sift4Distance;var b=function(a){return a},c=a.suggested||b,d=a.empty||b,e=Mailcheck.suggest(Mailcheck.encodeEmail(a.email),a.domains,a.secondLevelDomains,a.topLevelDomains,a.distanceFunction);return e?c(e):d()},suggest:function(a,b,c,d,e){a=a.toLowerCase();var f=this.splitEmail(a);if(c&&d&&-1!==c.indexOf(f.secondLevelDomain)&&-1!==d.indexOf(f.topLevelDomain))return!1;var g=this.findClosestDomain(f.domain,b,e,this.domainThreshold);if(g)return g==f.domain?!1:{address:f.address,domain:g,full:f.address+"@"+g};var h=this.findClosestDomain(f.secondLevelDomain,c,e,this.secondLevelThreshold),i=this.findClosestDomain(f.topLevelDomain,d,e,this.topLevelThreshold);if(f.domain){g=f.domain;var j=!1;if(h&&h!=f.secondLevelDomain&&(g=g.replace(f.secondLevelDomain,h),j=!0),i&&i!=f.topLevelDomain&&""!==f.secondLevelDomain&&(g=g.replace(new RegExp(f.topLevelDomain+"$"),i),j=!0),j)return{address:f.address,domain:g,full:f.address+"@"+g}}return!1},findClosestDomain:function(a,b,c,d){d=d||this.topLevelThreshold;var e,f=1/0,g=null;if(!a||!b)return!1;c||(c=this.sift4Distance);for(var h=0;h<b.length;h++){if(a===b[h])return a;e=c(a,b[h]),f>e&&(f=e,g=b[h])}return d>=f&&null!==g?g:!1},sift4Distance:function(a,b,c){if(void 0===c&&(c=5),!a||!a.length)return b?b.length:0;if(!b||!b.length)return a.length;for(var d=a.length,e=b.length,f=0,g=0,h=0,i=0,j=0,k=[];d>f&&e>g;){if(a.charAt(f)==b.charAt(g)){i++;for(var l=!1,m=0;m<k.length;){var n=k[m];if(f<=n.c1||g<=n.c2){l=Math.abs(g-f)>=Math.abs(n.c2-n.c1),l?j++:n.trans||(n.trans=!0,j++);break}f>n.c2&&g>n.c1?k.splice(m,1):m++}k.push({c1:f,c2:g,trans:l})}else{h+=i,i=0,f!=g&&(f=g=Math.min(f,g));for(var o=0;c>o&&(d>f+o||e>g+o);o++){if(d>f+o&&a.charAt(f+o)==b.charAt(g)){f+=o-1,g--;break}if(e>g+o&&a.charAt(f)==b.charAt(g+o)){f--,g+=o-1;break}}}f++,g++,(f>=d||g>=e)&&(h+=i,i=0,f=g=Math.min(f,g))}return h+=i,Math.round(Math.max(d,e)-h+j)},splitEmail:function(a){a=null!==a?a.replace(/^\s*/,"").replace(/\s*$/,""):null;var b=a.split("@");if(b.length<2)return!1;for(var c=0;c<b.length;c++)if(""===b[c])return!1;var d=b.pop(),e=d.split("."),f="",g="";if(0===e.length)return!1;if(1==e.length)g=e[0];else{f=e[0];for(var h=1;h<e.length;h++)g+=e[h]+".";g=g.substring(0,g.length-1)}return{topLevelDomain:g,secondLevelDomain:f,domain:d,address:b.join("@")}},encodeEmail:function(a){var b=encodeURI(a);return b=b.replace("%20"," ").replace("%25","%").replace("%5E","^").replace("%60","`").replace("%7B","{").replace("%7C","|").replace("%7D","}")}};"undefined"!=typeof module&&module.exports&&(module.exports=Mailcheck),"function"==typeof define&&define.amd&&define("mailcheck",[],function(){return Mailcheck}),"undefined"!=typeof window&&window.jQuery&&!function(a){a.fn.mailcheck=function(a){var b=this;if(a.suggested){var c=a.suggested;a.suggested=function(a){c(b,a)}}if(a.empty){var d=a.empty;a.empty=function(){d.call(null,b)}}a.email=this.val(),Mailcheck.run(a)}}(jQuery);
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* JavaScript MD5
|
||||
* https://github.com/blueimp/JavaScript-MD5
|
||||
*
|
||||
* Copyright 2011, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* https://opensource.org/licenses/MIT
|
||||
*
|
||||
* Based on
|
||||
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
|
||||
* Digest Algorithm, as defined in RFC 1321.
|
||||
* Version 2.2 Copyright (C) Paul Johnston 1999 - 2009
|
||||
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
|
||||
* Distributed under the BSD License
|
||||
* See http://pajhome.org.uk/crypt/md5 for more info.
|
||||
*/
|
||||
|
||||
!function(n){"use strict";function d(n,t){var r=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(r>>16)<<16|65535&r}function f(n,t,r,e,o,u){return d((u=d(d(t,n),d(e,u)))<<o|u>>>32-o,r)}function l(n,t,r,e,o,u,c){return f(t&r|~t&e,n,t,o,u,c)}function g(n,t,r,e,o,u,c){return f(t&e|r&~e,n,t,o,u,c)}function v(n,t,r,e,o,u,c){return f(t^r^e,n,t,o,u,c)}function m(n,t,r,e,o,u,c){return f(r^(t|~e),n,t,o,u,c)}function c(n,t){var r,e,o,u;n[t>>5]|=128<<t%32,n[14+(t+64>>>9<<4)]=t;for(var c=1732584193,f=-271733879,i=-1732584194,a=271733878,h=0;h<n.length;h+=16)c=l(r=c,e=f,o=i,u=a,n[h],7,-680876936),a=l(a,c,f,i,n[h+1],12,-389564586),i=l(i,a,c,f,n[h+2],17,606105819),f=l(f,i,a,c,n[h+3],22,-1044525330),c=l(c,f,i,a,n[h+4],7,-176418897),a=l(a,c,f,i,n[h+5],12,1200080426),i=l(i,a,c,f,n[h+6],17,-1473231341),f=l(f,i,a,c,n[h+7],22,-45705983),c=l(c,f,i,a,n[h+8],7,1770035416),a=l(a,c,f,i,n[h+9],12,-1958414417),i=l(i,a,c,f,n[h+10],17,-42063),f=l(f,i,a,c,n[h+11],22,-1990404162),c=l(c,f,i,a,n[h+12],7,1804603682),a=l(a,c,f,i,n[h+13],12,-40341101),i=l(i,a,c,f,n[h+14],17,-1502002290),c=g(c,f=l(f,i,a,c,n[h+15],22,1236535329),i,a,n[h+1],5,-165796510),a=g(a,c,f,i,n[h+6],9,-1069501632),i=g(i,a,c,f,n[h+11],14,643717713),f=g(f,i,a,c,n[h],20,-373897302),c=g(c,f,i,a,n[h+5],5,-701558691),a=g(a,c,f,i,n[h+10],9,38016083),i=g(i,a,c,f,n[h+15],14,-660478335),f=g(f,i,a,c,n[h+4],20,-405537848),c=g(c,f,i,a,n[h+9],5,568446438),a=g(a,c,f,i,n[h+14],9,-1019803690),i=g(i,a,c,f,n[h+3],14,-187363961),f=g(f,i,a,c,n[h+8],20,1163531501),c=g(c,f,i,a,n[h+13],5,-1444681467),a=g(a,c,f,i,n[h+2],9,-51403784),i=g(i,a,c,f,n[h+7],14,1735328473),c=v(c,f=g(f,i,a,c,n[h+12],20,-1926607734),i,a,n[h+5],4,-378558),a=v(a,c,f,i,n[h+8],11,-2022574463),i=v(i,a,c,f,n[h+11],16,1839030562),f=v(f,i,a,c,n[h+14],23,-35309556),c=v(c,f,i,a,n[h+1],4,-1530992060),a=v(a,c,f,i,n[h+4],11,1272893353),i=v(i,a,c,f,n[h+7],16,-155497632),f=v(f,i,a,c,n[h+10],23,-1094730640),c=v(c,f,i,a,n[h+13],4,681279174),a=v(a,c,f,i,n[h],11,-358537222),i=v(i,a,c,f,n[h+3],16,-722521979),f=v(f,i,a,c,n[h+6],23,76029189),c=v(c,f,i,a,n[h+9],4,-640364487),a=v(a,c,f,i,n[h+12],11,-421815835),i=v(i,a,c,f,n[h+15],16,530742520),c=m(c,f=v(f,i,a,c,n[h+2],23,-995338651),i,a,n[h],6,-198630844),a=m(a,c,f,i,n[h+7],10,1126891415),i=m(i,a,c,f,n[h+14],15,-1416354905),f=m(f,i,a,c,n[h+5],21,-57434055),c=m(c,f,i,a,n[h+12],6,1700485571),a=m(a,c,f,i,n[h+3],10,-1894986606),i=m(i,a,c,f,n[h+10],15,-1051523),f=m(f,i,a,c,n[h+1],21,-2054922799),c=m(c,f,i,a,n[h+8],6,1873313359),a=m(a,c,f,i,n[h+15],10,-30611744),i=m(i,a,c,f,n[h+6],15,-1560198380),f=m(f,i,a,c,n[h+13],21,1309151649),c=m(c,f,i,a,n[h+4],6,-145523070),a=m(a,c,f,i,n[h+11],10,-1120210379),i=m(i,a,c,f,n[h+2],15,718787259),f=m(f,i,a,c,n[h+9],21,-343485551),c=d(c,r),f=d(f,e),i=d(i,o),a=d(a,u);return[c,f,i,a]}function i(n){for(var t="",r=32*n.length,e=0;e<r;e+=8)t+=String.fromCharCode(n[e>>5]>>>e%32&255);return t}function a(n){var t=[];for(t[(n.length>>2)-1]=void 0,e=0;e<t.length;e+=1)t[e]=0;for(var r=8*n.length,e=0;e<r;e+=8)t[e>>5]|=(255&n.charCodeAt(e/8))<<e%32;return t}function e(n){for(var t,r="0123456789abcdef",e="",o=0;o<n.length;o+=1)t=n.charCodeAt(o),e+=r.charAt(t>>>4&15)+r.charAt(15&t);return e}function r(n){return unescape(encodeURIComponent(n))}function o(n){return i(c(a(n=r(n)),8*n.length))}function u(n,t){return function(n,t){var r,e=a(n),o=[],u=[];for(o[15]=u[15]=void 0,16<e.length&&(e=c(e,8*n.length)),r=0;r<16;r+=1)o[r]=909522486^e[r],u[r]=1549556828^e[r];return t=c(o.concat(a(t)),512+8*t.length),i(c(u.concat(t),640))}(r(n),r(t))}function t(n,t,r){return t?r?u(t,n):e(u(t,n)):r?o(n):e(o(n))}"function"==typeof define&&define.amd?define(function(){return t}):"object"==typeof module&&module.exports?module.exports=t:n.md5=t}(this);
|
||||
Vendored
+2
File diff suppressed because one or more lines are too long
Vendored
+1
@@ -0,0 +1 @@
|
||||
"use strict";var punycode=new function(){this.utf16={decode:function(r){for(var e,o,t=[],n=0,f=r.length;n<f;){if(55296==(63488&(e=r.charCodeAt(n++)))){if(o=r.charCodeAt(n++),55296!=(64512&e)||56320!=(64512&o))throw new RangeError("UTF-16(decode): Illegal UTF-16 sequence");e=((1023&e)<<10)+(1023&o)+65536}t.push(e)}return t},encode:function(r){for(var e,o=[],t=0,n=r.length;t<n;){if(55296==(63488&(e=r[t++])))throw new RangeError("UTF-16(encode): Illegal UTF-16 value");65535<e&&(e-=65536,o.push(String.fromCharCode(e>>>10&1023|55296)),e=56320|1023&e),o.push(String.fromCharCode(e))}return o.join("")}};var v=36,A=2147483647;this.decode=function(r,e){var o,t,n,f,h,a,i,c,l=[],u=[],d=r.length,s=128,g=0,C=72,p=r.lastIndexOf("-");for(p<0&&(p=0),t=0;t<p;++t){if(e&&(u[l.length]=r.charCodeAt(t)-65<26),128<=r.charCodeAt(t))throw new RangeError("Illegal input >= 0x80");l.push(r.charCodeAt(t))}for(n=0<p?p+1:0;n<d;){for(f=g,h=1,a=v;;a+=v){if(d<=n)return;if(c=r.charCodeAt(n++),v<=(c=c-48<10?c-22:c-65<26?c-65:c-97<26?c-97:v))return;if(c>Math.floor((A-g)/h))return;if(g+=c*h,c<(c=a<=C?1:C+26<=a?26:a-C))break;if(h>Math.floor(A/(v-c)))return;h*=v-c}if(C=function(r,e,o){var t;for(r=o?Math.floor(r/700):r>>1,r+=Math.floor(r/e),t=0;455<r;t+=v)r=Math.floor(r/35);return Math.floor(t+36*r/(r+38))}(g-f,o=l.length+1,0===f),Math.floor(g/o)>A-s)return;s+=Math.floor(g/o),g%=o,e&&u.splice(g,0,r.charCodeAt(n-1)-65<26),l.splice(g,0,s),g++}if(e)for(g=0,i=l.length;g<i;g++)u[g]&&(l[g]=String.fromCharCode(l[g]).toUpperCase().charCodeAt(0));return this.utf16.encode(l)},this.toUnicode=function(r){for(var e=r.split("."),o=[],t=0;t<e.length;++t){var n=e[t];o.push(n.match(/^xn--/)?punycode.decode(n.slice(4)):n)}return o.join(".")}};
|
||||
Vendored
+3
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user