芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/public_html/wp-content/plugins/fluentform/assets/js/fluent-forms-editor.js
/*! For license information please see fluent-forms-editor.js.LICENSE.txt */ (()=>{var e={36890:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var i=n(88239),r=n(72444),s=/%[sdj%]/g;function a(){for(var e=arguments.length,t=Array(e),n=0;n
=a)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(e){return"[Circular]"}break;default:return e}})),l=t[i];i
()\[\]\\.,;:\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,r.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,i,s){if(e.required&&void 0===t)f(e,t,n,i,s);else{var o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?m[o](t)||i.push(a(s.messages.types[o],e.fullField,e.type)):o&&(void 0===t?"undefined":(0,r.Z)(t))!==e.type&&i.push(a(s.messages.types[o],e.fullField,e.type))}};var v="enum";const y={required:f,whitespace:h,type:_,range:function(e,t,n,i,r){var s="number"==typeof e.len,o="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),s?u!==e.len&&i.push(a(r.messages[c].len,e.fullField,e.len)):o&&!l&&u
e.max?i.push(a(r.messages[c].max,e.fullField,e.max)):o&&l&&(u
e.max)&&i.push(a(r.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,i,r){e[v]=Array.isArray(e[v])?e[v]:[],-1===e[v].indexOf(t)&&i.push(a(r.messages[v],e.fullField,e[v].join(", ")))},pattern:function(e,t,n,i,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||i.push(a(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||i.push(a(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};const g=function(e,t,n,i,s){var a=[],o=Array.isArray(t)?"array":void 0===t?"undefined":(0,r.Z)(t);y.required(e,t,i,a,s,o),n(a)};const b=function(e,t,n,i,r){var s=e.type,a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t,s)&&!e.required)return n();y.required(e,t,i,a,r,s),o(t,s)||y.type(e,t,i,a,r)}n(a)},w={string:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t,"string")&&!e.required)return n();y.required(e,t,i,s,r,"string"),o(t,"string")||(y.type(e,t,i,s,r),y.range(e,t,i,s,r),y.pattern(e,t,i,s,r),!0===e.whitespace&&y.whitespace(e,t,i,s,r))}n(s)},method:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t)&&!e.required)return n();y.required(e,t,i,s,r),void 0!==t&&y.type(e,t,i,s,r)}n(s)},number:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t)&&!e.required)return n();y.required(e,t,i,s,r),void 0!==t&&(y.type(e,t,i,s,r),y.range(e,t,i,s,r))}n(s)},boolean:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t)&&!e.required)return n();y.required(e,t,i,s,r),void 0!==t&&y.type(e,t,i,s,r)}n(s)},regexp:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t)&&!e.required)return n();y.required(e,t,i,s,r),o(t)||y.type(e,t,i,s,r)}n(s)},integer:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t)&&!e.required)return n();y.required(e,t,i,s,r),void 0!==t&&(y.type(e,t,i,s,r),y.range(e,t,i,s,r))}n(s)},float:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t)&&!e.required)return n();y.required(e,t,i,s,r),void 0!==t&&(y.type(e,t,i,s,r),y.range(e,t,i,s,r))}n(s)},array:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t,"array")&&!e.required)return n();y.required(e,t,i,s,r,"array"),o(t,"array")||(y.type(e,t,i,s,r),y.range(e,t,i,s,r))}n(s)},object:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t)&&!e.required)return n();y.required(e,t,i,s,r),void 0!==t&&y.type(e,t,i,s,r)}n(s)},enum:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t)&&!e.required)return n();y.required(e,t,i,s,r),t&&y.enum(e,t,i,s,r)}n(s)},pattern:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t,"string")&&!e.required)return n();y.required(e,t,i,s,r),o(t,"string")||y.pattern(e,t,i,s,r)}n(s)},date:function(e,t,n,i,r){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(o(t)&&!e.required)return n();if(y.required(e,t,i,s,r),!o(t)){var a=void 0;a="number"==typeof t?new Date(t):t,y.type(e,a,i,s,r),a&&y.range(e,a.getTime(),i,s,r)}}n(s)},url:b,hex:b,email:b,required:g};function M(){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 k=M();function x(e){this.rules=null,this._messages=k,this.define(e)}x.prototype={messages:function(e){return e&&(this._messages=d(M(),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,r.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,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments[2];if("function"==typeof s&&(o=s,s={}),this.rules&&0!==Object.keys(this.rules).length){if(s.messages){var l=this.messages();l===k&&(l=M()),d(l,s.messages),s.messages=l}else s.messages=this.messages();var f=void 0,h=void 0,p={};(s.keys||Object.keys(this.rules)).forEach((function(r){f=t.rules[r],h=n[r],f.forEach((function(s){var a=s;"function"==typeof a.transform&&(n===e&&(n=(0,i.Z)({},n)),h=n[r]=a.transform(h)),(a="function"==typeof a?{validator:a}:(0,i.Z)({},a)).validator=t.getValidationMethod(a),a.field=r,a.fullField=a.fullField||r,a.type=t.getType(a),a.validator&&(p[r]=p[r]||[],p[r].push({rule:a,value:h,source:n,field:r}))}))}));var m={};u(p,s,(function(e,t){var n=e.rule,o=!("object"!==n.type&&"array"!==n.type||"object"!==(0,r.Z)(n.fields)&&"object"!==(0,r.Z)(n.defaultField));function l(e,t){return(0,i.Z)({},t,{fullField:n.fullField+"."+e})}function u(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(Array.isArray(r)||(r=[r]),r.length,r.length&&n.message&&(r=[].concat(n.message)),r=r.map(c(n)),s.first&&r.length)return m[n.field]=1,t(r);if(o){if(n.required&&!e.value)return r=n.message?[].concat(n.message).map(c(n)):s.error?[s.error(n,a(s.messages.required,n.field))]:[],t(r);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,i.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 x(u);p.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),p.validate(e.value,e.rule.options||s,(function(e){t(e&&e.length?r.concat(e):e)}))}else t(r)}o=o&&(n.required||!n.required&&e.value),n.field=e.field;var d=n.validator(n,e.value,u,e.source,s);d&&d.then&&d.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){!function(e){var t,n=void 0,i=void 0,r=[],s={};for(n=0;n
{var t=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,i){var r,s,a,o,l;for(a in i)if(r=e[a],s=i[a],r&&t.test(a))if("class"===a&&("string"==typeof r&&(l=r,e[a]=r={},r[l]=!0),"string"==typeof s&&(l=s,i[a]=s={},s[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(o in s)r[o]=n(r[o],s[o]);else if(Array.isArray(r))e[a]=r.concat(s);else if(Array.isArray(s))e[a]=[r].concat(s);else for(o in s)r[o]=s[o];else e[a]=i[a];return e}),{})}},52945:(e,t,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 i,r=n(52945),s=(i=r)&&i.__esModule?i:{default:i};t.Z=s.default||function(e){for(var t=1;t
{"use strict";var i=a(n(64275)),r=a(n(93516)),s="function"==typeof r.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.Z="function"==typeof r.default&&"symbol"===s(i.default)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":void 0===e?"undefined":s(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 i=n(36727);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},57428:(e,t,n)=>{var i=n(7932),r=n(78728),s=n(16531);e.exports=function(e){return function(t,n,a){var o,l=i(t),u=r(l.length),c=s(a,u);if(e&&n!=n){for(;u>c;)if((o=l[c++])!=o)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 i=n(85663);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}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 i=n(36727),r=n(33938).document,s=i(r)&&i(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},73338:e=>{e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},70337:(e,t,n)=>{var i=n(46162),r=n(48195),s=n(86274);e.exports=function(e){var t=i(e),n=r.f;if(n)for(var a,o=n(e),l=s.f,u=0;o.length>u;)l.call(e,a=o[u++])&&t.push(a);return t}},83856:(e,t,n)=>{var i=n(33938),r=n(34579),s=n(19216),a=n(41818),o=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,y=e&u.W,g=p?r:r[t]||(r[t]={}),b=g[l],w=p?i:m?i[t]:(i[t]||{})[l];for(c in p&&(n=t),n)(d=!h&&w&&void 0!==w[c])&&o(g,c)||(f=d?w[c]:n[c],g[c]=p&&"function"!=typeof w[c]?n[c]:v&&d?s(f,i):y&&w[c]==f?function(e){var t=function(t,n,i){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,i)}return e.apply(this,arguments)};return t[l]=e[l],t}(f):_&&"function"==typeof f?s(Function.call,f):f,_&&((g.virtual||(g.virtual={}))[c]=f,e&u.R&&b&&!b[c]&&a(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 i=n(4743),r=n(83101);e.exports=n(89666)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},54881:(e,t,n)=>{var i=n(33938).document;e.exports=i&&i.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 i=n(32894);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},71421:(e,t,n)=>{var i=n(32894);e.exports=Array.isArray||function(e){return"Array"==i(e)}},36727:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},33945:(e,t,n)=>{"use strict";var i=n(98989),r=n(83101),s=n(25378),a={};n(41818)(a,n(22939)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),s(e,t+" Iterator")}},45700:(e,t,n)=>{"use strict";var i=n(16227),r=n(83856),s=n(57470),a=n(41818),o=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,y,g){l(n,t,_);var b,w,M,k=function(e){if(!f&&e in D)return D[e];switch(e){case h:case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",S=v==p,L=!1,D=e.prototype,C=D[d]||D["@@iterator"]||v&&D[v],T=C||k(v),O=v?S?k("entries"):T:void 0,Y="Array"==t&&D.entries||C;if(Y&&(M=c(Y.call(new e)))!==Object.prototype&&M.next&&(u(M,x,!0),i||"function"==typeof M[d]||a(M,d,m)),S&&C&&C.name!==p&&(L=!0,T=function(){return C.call(this)}),i&&!g||!f&&!L&&D[d]||a(D,d,T),o[t]=T,o[x]=m,v)if(b={values:S?T:k(p),keys:y?T:k(h),entries:O},g)for(w in b)w in D||s(D,w,b[w]);else r(r.P+r.F*(f||L),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 i=n(65730)("meta"),r=n(36727),s=n(27069),a=n(4743).f,o=0,l=Object.isExtensible||function(){return!0},u=!n(7929)((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,i,{value:{i:"O"+ ++o,w:{}}})},d=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,i)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[i].i},getWeak:function(e,t){if(!s(e,i)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[i].w},onFreeze:function(e){return u&&d.NEED&&l(e)&&!s(e,i)&&c(e),e}}},88082:(e,t,n)=>{"use strict";var i=n(89666),r=n(46162),s=n(48195),a=n(86274),o=n(66530),l=n(50799),u=Object.assign;e.exports=!u||n(7929)((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=i}))?function(e,t){for(var n=o(e),u=arguments.length,c=1,d=s.f,f=a.f;u>c;)for(var h,p=l(arguments[c++]),m=d?r(p).concat(d(p)):r(p),_=m.length,v=0;_>v;)h=m[v++],i&&!f.call(p,h)||(n[h]=p[h]);return n}:u},98989:(e,t,n)=>{var i=n(12159),r=n(57856),s=n(73338),a=n(58989)("IE_PROTO"),o=function(){},l="prototype",u=function(){var e,t=n(97467)("iframe"),i=s.length;for(t.style.display="none",n(54881).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("