芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/www/wp-content/plugins/fluentform/assets/js/fluentform-global-settings.js
/*! For license information please see fluentform-global-settings.js.LICENSE.txt */ (()=>{var e={36890:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>L});var r=n(88239),i=n(72444),a=/%[sdj%]/g;function o(){for(var e=arguments.length,t=Array(e),n=0;n
=o)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(e){return"[Circular]"}break;default:return e}})),l=t[r];r
()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},m={integer:function(e){return m.number(e)&&parseInt(e,10)===e},float:function(e){return m.number(e)&&!m.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":(0,i.Z)(e))&&!m.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(p.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(p.url)},hex:function(e){return"string"==typeof e&&!!e.match(p.hex)}};const _=function(e,t,n,r,a){if(e.required&&void 0===t)f(e,t,n,r,a);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?m[s](t)||r.push(o(a.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":(0,i.Z)(t))!==e.type&&r.push(o(a.messages.types[s],e.fullField,e.type))}};var v="enum";const g={required:f,whitespace:h,type:_,range:function(e,t,n,r,i){var a="number"==typeof e.len,s="number"==typeof e.min,l="number"==typeof e.max,u=t,c=null,d="number"==typeof t,f="string"==typeof t,h=Array.isArray(t);if(d?c="number":f?c="string":h&&(c="array"),!c)return!1;h&&(u=t.length),f&&(u=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?u!==e.len&&r.push(o(i.messages[c].len,e.fullField,e.len)):s&&!l&&u
e.max?r.push(o(i.messages[c].max,e.fullField,e.max)):s&&l&&(u
e.max)&&r.push(o(i.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,i){e[v]=Array.isArray(e[v])?e[v]:[],-1===e[v].indexOf(t)&&r.push(o(i.messages[v],e.fullField,e[v].join(", ")))},pattern:function(e,t,n,r,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(o(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(o(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};const y=function(e,t,n,r,a){var o=[],s=Array.isArray(t)?"array":void 0===t?"undefined":(0,i.Z)(t);g.required(e,t,r,o,a,s),n(o)};const b=function(e,t,n,r,i){var a=e.type,o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t,a)&&!e.required)return n();g.required(e,t,r,o,i,a),s(t,a)||g.type(e,t,r,o,i)}n(o)},M={string:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t,"string")&&!e.required)return n();g.required(e,t,r,a,i,"string"),s(t,"string")||(g.type(e,t,r,a,i),g.range(e,t,r,a,i),g.pattern(e,t,r,a,i),!0===e.whitespace&&g.whitespace(e,t,r,a,i))}n(a)},method:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,r,a,i),void 0!==t&&g.type(e,t,r,a,i)}n(a)},number:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,r,a,i),void 0!==t&&(g.type(e,t,r,a,i),g.range(e,t,r,a,i))}n(a)},boolean:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,r,a,i),void 0!==t&&g.type(e,t,r,a,i)}n(a)},regexp:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,r,a,i),s(t)||g.type(e,t,r,a,i)}n(a)},integer:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,r,a,i),void 0!==t&&(g.type(e,t,r,a,i),g.range(e,t,r,a,i))}n(a)},float:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,r,a,i),void 0!==t&&(g.type(e,t,r,a,i),g.range(e,t,r,a,i))}n(a)},array:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t,"array")&&!e.required)return n();g.required(e,t,r,a,i,"array"),s(t,"array")||(g.type(e,t,r,a,i),g.range(e,t,r,a,i))}n(a)},object:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,r,a,i),void 0!==t&&g.type(e,t,r,a,i)}n(a)},enum:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();g.required(e,t,r,a,i),t&&g.enum(e,t,r,a,i)}n(a)},pattern:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t,"string")&&!e.required)return n();g.required(e,t,r,a,i),s(t,"string")||g.pattern(e,t,r,a,i)}n(a)},date:function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(s(t)&&!e.required)return n();if(g.required(e,t,r,a,i),!s(t)){var o=void 0;o="number"==typeof t?new Date(t):t,g.type(e,o,r,a,i),o&&g.range(e,o.getTime(),r,a,i)}}n(a)},url:b,hex:b,email:b,required:y};function w(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var x=w();function k(e){this.rules=null,this._messages=x,this.define(e)}k.prototype={messages:function(e){return e&&(this._messages=d(w(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===e?"undefined":(0,i.Z)(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=e,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments[2];if("function"==typeof a&&(s=a,a={}),this.rules&&0!==Object.keys(this.rules).length){if(a.messages){var l=this.messages();l===x&&(l=w()),d(l,a.messages),a.messages=l}else a.messages=this.messages();var f=void 0,h=void 0,p={};(a.keys||Object.keys(this.rules)).forEach((function(i){f=t.rules[i],h=n[i],f.forEach((function(a){var o=a;"function"==typeof o.transform&&(n===e&&(n=(0,r.Z)({},n)),h=n[i]=o.transform(h)),(o="function"==typeof o?{validator:o}:(0,r.Z)({},o)).validator=t.getValidationMethod(o),o.field=i,o.fullField=o.fullField||i,o.type=t.getType(o),o.validator&&(p[i]=p[i]||[],p[i].push({rule:o,value:h,source:n,field:i}))}))}));var m={};u(p,a,(function(e,t){var n=e.rule,s=!("object"!==n.type&&"array"!==n.type||"object"!==(0,i.Z)(n.fields)&&"object"!==(0,i.Z)(n.defaultField));function l(e,t){return(0,r.Z)({},t,{fullField:n.fullField+"."+e})}function u(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(Array.isArray(i)||(i=[i]),i.length,i.length&&n.message&&(i=[].concat(n.message)),i=i.map(c(n)),a.first&&i.length)return m[n.field]=1,t(i);if(s){if(n.required&&!e.value)return i=n.message?[].concat(n.message).map(c(n)):a.error?[a.error(n,o(a.messages.required,n.field))]:[],t(i);var u={};if(n.defaultField)for(var d in e.value)e.value.hasOwnProperty(d)&&(u[d]=n.defaultField);for(var f in u=(0,r.Z)({},u,e.rule.fields))if(u.hasOwnProperty(f)){var h=Array.isArray(u[f])?u[f]:[u[f]];u[f]=h.map(l.bind(null,f))}var p=new k(u);p.messages(a.messages),e.rule.options&&(e.rule.options.messages=a.messages,e.rule.options.error=a.error),p.validate(e.value,e.rule.options||a,(function(e){t(e&&e.length?i.concat(e):e)}))}else t(i)}s=s&&(n.required||!n.required&&e.value),n.field=e.field;var d=n.validator(n,e.value,u,e.source,a);d&&d.then&&d.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){!function(e){var t,n=void 0,r=void 0,i=[],a={};for(n=0;n
{e.exports={default:n(56981),__esModule:!0}},93516:(e,t,n)=>{e.exports={default:n(80025),__esModule:!0}},64275:(e,t,n)=>{e.exports={default:n(52392),__esModule:!0}},88239:(e,t,n)=>{"use strict";var r,i=n(52945),a=(r=i)&&r.__esModule?r:{default:r};t.Z=a.default||function(e){for(var t=1;t
{"use strict";var r=o(n(64275)),i=o(n(93516)),a="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function o(e){return e&&e.__esModule?e:{default:e}}t.Z="function"==typeof i.default&&"symbol"===a(r.default)?function(e){return void 0===e?"undefined":a(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":a(e)}},56981:(e,t,n)=>{n(72699),e.exports=n(34579).Object.assign},80025:(e,t,n)=>{n(46840),n(94058),n(8174),n(36461),e.exports=n(34579).Symbol},52392:(e,t,n)=>{n(91867),n(73871),e.exports=n(25103).f("iterator")},85663:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},79003:e=>{e.exports=function(){}},12159:(e,t,n)=>{var r=n(36727);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},57428:(e,t,n)=>{var r=n(7932),i=n(78728),a=n(16531);e.exports=function(e){return function(t,n,o){var s,l=r(t),u=i(l.length),c=a(o,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},32894:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},34579:e=>{var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},19216:(e,t,n)=>{var r=n(85663);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},8333:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},89666:(e,t,n)=>{e.exports=!n(7929)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},97467:(e,t,n)=>{var r=n(36727),i=n(33938).document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},73338:e=>{e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},70337:(e,t,n)=>{var r=n(46162),i=n(48195),a=n(86274);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),l=a.f,u=0;s.length>u;)l.call(e,o=s[u++])&&t.push(o);return t}},83856:(e,t,n)=>{var r=n(33938),i=n(34579),a=n(19216),o=n(41818),s=n(27069),l="prototype",u=function(e,t,n){var c,d,f,h=e&u.F,p=e&u.G,m=e&u.S,_=e&u.P,v=e&u.B,g=e&u.W,y=p?i:i[t]||(i[t]={}),b=y[l],M=p?r:m?r[t]:(r[t]||{})[l];for(c in p&&(n=t),n)(d=!h&&M&&void 0!==M[c])&&s(y,c)||(f=d?M[c]:n[c],y[c]=p&&"function"!=typeof M[c]?n[c]:v&&d?a(f,r):g&&M[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[l]=e[l],t}(f):_&&"function"==typeof f?a(Function.call,f):f,_&&((y.virtual||(y.virtual={}))[c]=f,e&u.R&&b&&!b[c]&&o(b,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},7929:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},33938:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},27069:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},41818:(e,t,n)=>{var r=n(4743),i=n(83101);e.exports=n(89666)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},54881:(e,t,n)=>{var r=n(33938).document;e.exports=r&&r.documentElement},33758:(e,t,n)=>{e.exports=!n(89666)&&!n(7929)((function(){return 7!=Object.defineProperty(n(97467)("div"),"a",{get:function(){return 7}}).a}))},50799:(e,t,n)=>{var r=n(32894);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},71421:(e,t,n)=>{var r=n(32894);e.exports=Array.isArray||function(e){return"Array"==r(e)}},36727:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},33945:(e,t,n)=>{"use strict";var r=n(98989),i=n(83101),a=n(25378),o={};n(41818)(o,n(22939)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},45700:(e,t,n)=>{"use strict";var r=n(16227),i=n(83856),a=n(57470),o=n(41818),s=n(15449),l=n(33945),u=n(25378),c=n(95089),d=n(22939)("iterator"),f=!([].keys&&"next"in[].keys()),h="keys",p="values",m=function(){return this};e.exports=function(e,t,n,_,v,g,y){l(n,t,_);var b,M,w,x=function(e){if(!f&&e in T)return T[e];switch(e){case h:case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",L=v==p,S=!1,T=e.prototype,Y=T[d]||T["@@iterator"]||v&&T[v],D=Y||x(v),C=v?L?x("entries"):D:void 0,O="Array"==t&&T.entries||Y;if(O&&(w=c(O.call(new e)))!==Object.prototype&&w.next&&(u(w,k,!0),r||"function"==typeof w[d]||o(w,d,m)),L&&Y&&Y.name!==p&&(S=!0,D=function(){return Y.call(this)}),r&&!y||!f&&!S&&T[d]||o(T,d,D),s[t]=D,s[k]=m,v)if(b={values:L?D:x(p),keys:g?D:x(h),entries:C},y)for(M in b)M in T||a(T,M,b[M]);else i(i.P+i.F*(f||S),t,b);return b}},85084:e=>{e.exports=function(e,t){return{value:t,done:!!e}}},15449:e=>{e.exports={}},16227:e=>{e.exports=!0},77177:(e,t,n)=>{var r=n(65730)("meta"),i=n(36727),a=n(27069),o=n(4743).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(7929)((function(){return l(Object.preventExtensions({}))})),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return u&&d.NEED&&l(e)&&!a(e,r)&&c(e),e}}},88082:(e,t,n)=>{"use strict";var r=n(89666),i=n(46162),a=n(48195),o=n(86274),s=n(66530),l=n(50799),u=Object.assign;e.exports=!u||n(7929)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=s(e),u=arguments.length,c=1,d=a.f,f=o.f;u>c;)for(var h,p=l(arguments[c++]),m=d?i(p).concat(d(p)):i(p),_=m.length,v=0;_>v;)h=m[v++],r&&!f.call(p,h)||(n[h]=p[h]);return n}:u},98989:(e,t,n)=>{var r=n(12159),i=n(57856),a=n(73338),o=n(58989)("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n(97467)("iframe"),r=a.length;for(t.style.display="none",n(54881).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("