varGrav=webpackJsonpGrav([0],[function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});vari=n(1),o=r(i),a=n(295),s=r(a),u=n(296),c=r(u),l=n(301),f=r(l),d=n(306),p=r(d),h=n(382),m=r(h);n(473),n(474),n(475),n(476),n(477);varv=n(478),g=r(v);s["default"].start(),e["default"]={GPM:{GPM:o["default"],Instance:i.Instance},KeepAlive:s["default"],Dashboard:f["default"],Pages:p["default"],Forms:m["default"],Updates:{Updates:c["default"],Instance:u.Instance},MobileSidebar:{MobileSidebar:g["default"],Instance:v.Instance}}},function(t,e,n){(function(t){"use strict";functionr(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functioni(t,e){if(!t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeofe&&"function"!=typeofe?t:e}functiono(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function, not "+typeofe);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void0;vara=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(288),u=n(293),c=n(294),l=function(e){functionn(){vart=arguments.length<=0||void0===arguments[0]?"getUpdates":arguments[0];r(this,n);vare=i(this,Object.getPrototypeOf(n).call(this));returne.payload={},e.raw={},e.action=t,e}returno(n,e),a(n,[{key:"setPayload",value:function(){vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0];returnthis.payload=t,this.emit("payload",t),this}},{key:"setAction",value:function(){vart=arguments.length<=0||void0===arguments[0]?"getUpdates":arguments[0];returnthis.action=t,this.emit("action",t),this}},{key:"fetch",value:function(t){functione(){returnt.apply(this,arguments)}returne.toString=function(){returnt.toString()},e}(function(){vare=this,n=arguments.length<=0||void0===arguments[0]?function(){return!0}:arguments[0],r=arguments.length<=1||void0===arguments[1]?!1:arguments[1],i=newFormData;i.append("task","GPM"),i.append("action",this.action),r&&i.append("flush",!0),this.emit("fetching",this),t(u.config.base_url_relative,{credentials:"same-origin",method:"post",body:i}).then(function(t){returne.raw=t,t}).then(s.parseStatus).then(s.parseJSON).then(function(t){returne.response(t)}).then(function(t){returnn(t,e.raw)}).then(function(t){returne.emit("fetched",e.payload,e.raw,e)})["catch"](s.userFeedbackError)})},{key:"response",value:function(t){returnthis.payload=t,t}}]),n}(c.EventEmitter);e["default"]=l;e.Instance=newl}).call(e,n(2))},function(t,e,n){(function(e,n){(function(){!function(t){"use strict";functionn(t){if("string"!=typeoft&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))thrownewTypeError("Invalid character in header field name");returnt.toLowerCase()}functionr(t){return"string"!=typeoft&&(t=String(t)),t}functioni(t){this.map={},tinstanceofi?t.forEach(function(t,e){this.append(e,t)},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}functiono(t){returnt.bodyUsed?e.reject(newTypeError("Already read")):void(t.bodyUsed=!0)}functiona(t){returnnewe(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}functions(t){vare=newFileReader;returne.readAsArrayBuffer(t),a(e)}functionu(t){vare=newFileReader;returne.readAsText(t),a(e)}functionc(){returnthis.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,"string"==typeoft)this._bodyText=t;elseif(m.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;elseif(m.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;elseif(t){if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t))thrownewErro
}})},function(t,e){t.exports=Math.sign||function(t){return0==(t=+t)||t!=t?t:0>t?-1:1}},function(t,e,n){varr=n(14);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){varr=n(14),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){varr=n(14);r(r.S,"Math",{expm1:n(116)})},function(t,e){t.exports=Math.expm1||function(t){return0==(t=+t)?t:t>-1e-6&&1e-6>t?t+t*t/2:Math.exp(t)-1}},function(t,e,n){varr=n(14),i=n(112),o=Math.pow,a=o(2,-52),s=o(2,-23),u=o(2,127)*(2-s),c=o(2,-126),l=function(t){returnt+1/a-1/a};r(r.S,"Math",{fround:function(t){vare,n,r=Math.abs(t),o=i(t);returnc>r?o*l(r/c/s)*c*s:(e=(1+s/a)*r,n=e-(e-r),n>u||n!=n?o*(1/0):o*n)}})},function(t,e,n){varr=n(14),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(varn,r,o=0,a=0,s=arguments.length,u=0;s>a;)n=i(arguments[a++]),n>u?(r=u/n,o=o*r*r+1,u=n):n>0?(r=n/u,o+=r*r):o+=n;returnu===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){varr=n(14),i=Math.imul;r(r.S+r.F*n(13)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,e){varn=65535,r=+t,i=+e,o=n&r,a=n&i;return0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},function(t,e,n){varr=n(14);r(r.S,"Math",{log10:function(t){returnMath.log(t)/Math.LN10}})},function(t,e,n){varr=n(14);r(r.S,"Math",{log1p:n(108)})},function(t,e,n){varr=n(14);r(r.S,"Math",{log2:function(t){returnMath.log(t)/Math.LN2}})},function(t,e,n){varr=n(14);r(r.S,"Math",{sign:n(112)})},function(t,e,n){varr=n(14),i=n(116),o=Math.exp;r(r.S+r.F*n(13)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){returnMath.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){varr=n(14),i=n(116),o=Math.exp;r(r.S,"Math",{tanh:function(t){vare=i(t=+t),n=i(-t);returne==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){varr=n(14);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){varr=n(14),i=n(41),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(vare,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],i(e,1114111)!==e)throwRangeError(e+" is not a valid code point");n.push(65536>e?o(e):o(((e-=65536)>>10)+55296,e%1024+56320))}returnn.join("")}})},function(t,e,n){varr=n(14),i=n(34),o=n(39);r(r.S,"String",{raw:function(t){for(vare=i(t.raw),n=o(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),r>s&&a.push(String(arguments[s]));returna.join("")}})},function(t,e,n){"use strict";n(86)("trim",function(t){returnfunction(){returnt(this,3)}})},function(t,e,n){"use strict";varr=n(131)(!0);n(132)(String,"String",function(t){this._t=String(t),this._i=0},function(){vart,e=this._t,n=this._i;returnn>=e.length?{value:void0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){varr=n(40),i=n(37);t.exports=function(t){returnfunction(e,n){varo,a,s=String(i(e)),u=r(n),c=s.length;return0>u||u>=c?t?"":void0:(o=s.charCodeAt(u),55296>o||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):(o-55296<<10)+(a-56320)+65536)}}},function(t,e,n){"use strict";varr=n(54),i=n(14),o=n(23),a=n(15),s=n(11),u=n(133),c=n(134),l=n(29),f=n(62),d=n(30)("iterator"),p=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",v="values",g=function(){returnthis};t.exports=function(t,e,n,_,y,b,x){c(n,e,_);varw,k,S,A=function(t){if(!p&&tinE)returnE[t];switch(t){casem:returnfunction(){returnnewn(this,t)};casev:returnfunction(){returnnewn(this,t)}}returnfunction(){returnnewn(this,t)}},M=e+" Iterator",I=y==v,O=!1,E=t.prototype,j=E[d]||E[h]||y&&E[y],z=j||A(y),P=y?I?A("entries"):z:void0,T="Array"==e?E.entries||j:j;if(T&&(S=f(T.call(newt)),S!==Object.prototype&&(l(S,M,!0),r||s(S,d)||a(S,d,g))),I&&j&&j.name!==v&&(O=!0,z=function(){returnj.call(this)}),r&&!x||!p&&!O&&E[d]||a(E,d,z),u[e]=z,u[M]=g,y)if(w={values:I?z:A(v),keys:b?z:A(m),entries:P},x)for(kinw)kinE||o(E,k,w[k]);elsei(i.P+i.F*(p||O),e,w);returnw}},function(t,e){t.exports={}},function(t,e,n)
o||(X.constructor=w)}varet=newk(neww(2)),nt=k[y].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||u(k[y],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}elsew=function(t){vare=Y(this,t);this._b=m.call(Array(e),0),this[q]=e},k=function(t,e,n){l(this,k,_),l(t,w,_);varr=t[q],i=f(e);if(0>i||i>r)throwA("Wrong offset!");if(n=void0===n?r-i:d(n),i+n>r)throwA(b);this[D]=t,this[N]=i,this[q]=n},i&&($(w,C,"_l"),$(k,T,"_b"),$(k,C,"_l"),$(k,L,"_o")),u(k[y],{getInt8:function(t){returnH(this,1,t)[0]<<24>>24},getUint8:function(t){returnH(this,1,t)[0]},getInt16:function(t){vare=H(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){vare=H(this,2,t,arguments[1]);returne[1]<<8|e[0]},getInt32:function(t){returnR(H(this,4,t,arguments[1]))},getUint32:function(t){returnR(H(this,4,t,arguments[1]))>>>0},getFloat32:function(t){returnU(H(this,4,t,arguments[1]),23,4)},getFloat64:function(t){returnU(H(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){J(this,1,t,B,e)},setUint8:function(t,e){J(this,1,t,B,e)},setInt16:function(t,e){J(this,2,t,V,e,arguments[2])},setUint16:function(t,e){J(this,2,t,V,e,arguments[2])},setInt32:function(t,e){J(this,4,t,K,e,arguments[2])},setUint32:function(t,e){J(this,4,t,K,e,arguments[2])},setFloat32:function(t,e){J(this,4,t,G,e,arguments[2])},setFloat64:function(t,e){J(this,8,t,W,e,arguments[2])}});v(w,g),v(k,_),s(k[y],a.VIEW,!0),e[g]=w,e[_]=k},function(t,e,n){varr=n(14);r(r.G+r.W+r.F*!n(218).ABV,{DataView:n(219).DataView})},function(t,e,n){n(222)("Int8",1,function(t){returnfunction(e,n,r){returnt(this,e,n,r)}})},function(t,e,n){"use strict";if(n(12)){varr=n(54),i=n(9),o=n(13),a=n(14),s=n(218),u=n(219),c=n(25),l=n(93),f=n(22),d=n(15),p=n(209),h=(n(100),n(40)),m=n(39),v=n(41),g=n(21),_=n(11),y=n(74),b=n(78),x=n(18),w=n(61),k=n(164),S=n(48),A=n(62),M=n(52).f,I=(n(223),n(165)),O=n(24),E=n(30),j=n(173),z=n(38),P=n(206),T=n(193),C=n(133),L=n(166),D=n(192),q=n(188),N=n(185),F=n(16),U=n(53),R=F.f,B=U.f,V=i.RangeError,K=i.TypeError,W=i.Uint8Array,G="ArrayBuffer",$="Shared"+G,H="BYTES_PER_ELEMENT",J="prototype",Y=Array[J],Q=u.ArrayBuffer,X=u.DataView,Z=j(0),tt=j(2),et=j(3),nt=j(4),rt=j(5),it=j(6),ot=z(!0),at=z(!1),st=T.values,ut=T.keys,ct=T.entries,lt=Y.lastIndexOf,ft=Y.reduce,dt=Y.reduceRight,pt=Y.join,ht=Y.sort,mt=Y.slice,vt=Y.toString,gt=Y.toLocaleString,_t=E("iterator"),yt=E("toStringTag"),bt=O("typed_constructor"),xt=O("def_constructor"),wt=s.CONSTR,kt=s.TYPED,St=s.VIEW,At="Wrong length!",Mt=j(1,function(t,e){returnPt(P(t,t[xt]),e)}),It=o(function(){return1===newW(newUint16Array([1]).buffer)[0]}),Ot=!!W&&!!W[J].set&&o(function(){newW(1).set({})}),Et=function(t,e){if(void0===t)throwK(At);varn=+t,r=m(t);if(e&&!y(n,r))throwV(At);returnr},jt=function(t,e){varn=h(t);if(0>n||n%e)throwV("Wrong offset!");returnn},zt=function(t){if(x(t)&&ktint)returnt;throwK(t+" is not a typed array!")},Pt=function(t,e){if(!(x(t)&&btint))throwK("It is not a typed array constructor!");returnnewt(e)},Tt=function(t,e){returnCt(P(t,t[xt]),e)},Ct=function(t,e){for(varn=0,r=e.length,i=Pt(t,r);r>n;)i[n]=e[n++];returni},Lt=function(t,e,n){R(t,e,{get:function(){returnthis._d[n]}})},Dt=function(t){vare,n,r,i,o,a,s=w(t),u=arguments.length,l=u>1?arguments[1]:void0,f=void0!==l,d=I(s);if(void0!=d&&!k(d)){for(a=d.call(s),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);s=r}for(f&&u>2&&(l=c(l,arguments[2],2)),e=0,n=m(s.length),i=Pt(this,n);n>e;e++)i[e]=f?l(s[e],e):s[e];returni},qt=function(){for(vart=0,e=arguments.length,n=Pt(this,e);e>t;)n[t]=arguments[t++];returnn},Nt=!!W&&o(function(){gt.call(newW(1))}),Ft=function(){returngt.apply(Nt?mt.call(zt(this)):zt(this),arguments)},Ut={copyWithin:function(t,e){returnN.call(zt(this),t,e,arguments.length>2?arguments[2]:void0)},every:function(t){returnnt(zt(this),t,arguments.length>1?arguments[1]:void0)},fill:function(t){returnq.apply(zt(this),arguments)},filter:function(t){returnTt(this,tt(zt(this),t,arguments.length>1?arguments[1]:void0))},fin
e.startOfLine=!1,e.prevToken=h?"def":u||p,u},indent:function(e,r){if(e.tokenize!=l&&null!=e.tokenize)returnt.Pass;vari=e.context,o=r&&r.charAt(0);if(n(i.type)&&"}"==o&&(i=i.prev),S.indent){vara=S.indent(e,i,r);if("number"==typeofa)returna}vars=o==i.type,u=i.prev&&"switchstatement"==i.prev.type;if(c.allmanIndentation&&/[{(]/.test(o)){for(;"top"!=i.type&&"}"!=i.type;)i=i.prev;returni.indented}returnn(i.type)?i.indented+("{"==o?0:v):!i.align||g&&")"==i.type?")"!=i.type||s?i.indented+(s?0:m)+(s||!u||/^(?:case|default)\b/.test(r)?0:m):i.indented+v:i.column+(s?0:1)},electricInput:I?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});varb="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",x="int long char short double float unsigned signed void size_t ptrdiff_t";v(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:s(b),types:s(x+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:s("case do else for if switch while struct"),defKeywords:s("struct"),typeFirstDefinitions:!0,atoms:s("null true false"),hooks:{"#":c,"*":l},modeProps:{fold:["brace","include"]}}),v(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:s(b+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:s(x+" bool wchar_t"),blockKeywords:s("catch class do else finally for if struct switch try while"),defKeywords:s("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:s("true false null"),hooks:{"#":c,"*":l,u:d,U:d,L:d,R:d,0:f,1:f,2:f,3:f,4:f,5:f,6:f,7:f,8:f,9:f,token:function(t,e,n){return"variable"!=n||"("!=t.peek()||";"!=e.prevToken&&null!=e.prevToken&&"}"!=e.prevToken||!p(t.current())?void0:"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),v("text/x-java",{name:"clike",keywords:s("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while"),types:s("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:s("catch class do else finally for if switch try while"),defKeywords:s("class interface package enum"),typeFirstDefinitions:!0,atoms:s("true false null"),endStatement:/^[;:]$/,hooks:{"@":function(t){returnt.eatWhile(/[\w\$_]/),"meta"}},modeProps:{fold:["brace","import"]}}),v("text/x-csharp",{name:"clike",keywords:s("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:s("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:s("catch class do else finally for foreach if struct switch try while"),defKeywords:s("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:s("true false null"),hooks:{"@":function(t,e){returnt.eat('"')?(e.token
message:e})};try{jsonlint.parse(e)}catch(r){}returnn})})},function(t,e,n){!function(t){t(n(324))}(function(t){"use strict";t.registerHelper("lint","yaml",function(e){varn=[];try{jsyaml.load(e)}catch(r){vari=r.mark;n.push({from:t.Pos(i.line,i.column),to:t.Pos(i.line,i.column),message:r.message})}returnn})})},function(t,e,n){!function(t){t(n(324))}(function(t){"use strict";vare=/^(\s*)(>[> ]*|[*+-]\s|(\d+)([.)]))(\s*)/,n=/^(\s*)(>[> ]*|[*+-]|(\d+)[.)])(\s*)$/,r=/[*+-]\s/;t.commands.newlineAndIndentContinueMarkdownList=function(i){if(i.getOption("disableInput"))returnt.Pass;for(varo=i.listSelections(),a=[],s=0;s<o.length;s++){varu=o[s].head,c=i.getStateAfter(u.line),l=c.list!==!1,f=0!==c.quote,d=i.getLine(u.line),p=e.exec(d);if(!o[s].empty()||!l&&!f||!p)returnvoidi.execCommand("newlineAndIndent");if(n.test(d))i.replaceRange("",{line:u.line,ch:0},{line:u.line,ch:u.ch+1}),a[s]="\n";else{varh=p[1],m=p[5],v=r.test(p[2])||p[2].indexOf(">")>=0?p[2]:parseInt(p[3],10)+1+p[4];a[s]="\n"+h+v+m}}i.replaceSelections(a)}})},function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}vari=n(291),o=r(i);(0,o["default"])('[name="task"][value="saveas"], [name="task"][value="switchlanguage"]').on("mousedown touchstart",function(t){vare=["lang","redirect"],n=(0,o["default"])(t.currentTarget),r=(0,o["default"])("#"+n.attr("form"));returnr.length?(e.forEach(function(t){vare=n.attr(t);if(e){vari=r.find('[name="'+t+'"]');i.length||(i=(0,o["default"])('<input type="hidden" name="'+t+'" value="" />'),r.append(i)),i.val(e)}}),!0):void0})},function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});vari=n(383),o=r(i),a=n(386),s=r(a),u=n(387),c=r(u);e["default"]={Form:{Form:s["default"],Instance:a.Instance},Fields:c["default"],FormState:{FormState:o["default"],Instance:i.Instance}}},function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}functioni(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.DOMBehaviors=e.Instance=void0;varo=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u=n(384),c=r(u);n(385);varl={},f={attach:function(){this.preventUnload(),this.preventClickAway()},preventUnload:function(){s["default"]._data(window,"events")&&(s["default"]._data(window,"events").beforeunload||[]).filter(function(t){return"_grav"===t.namespace})||(0,s["default"])(window).on("beforeunload._grav",function(){returnp.equals()===!1?"You have made changes on this page that you have not yet confirmed. If you navigate away from this page you will lose your unsaved changes.":void0})},preventClickAway:function(){vart='a[href]:not([href^="#"])';s["default"]._data((0,s["default"])(t).get(0),"events")&&(s["default"]._data((0,s["default"])(t).get(0),"events").click||[]).filter(function(t){return"_grav"===t.namespace})||(0,s["default"])(t).on("click._grav",function(t){vare=p.equals();if(null===e||e)return!0;t.preventDefault();varn=(0,s["default"])(this).attr("href"),r=(0,s["default"])('[data-remodal-id="changes"]'),i=s["default"].remodal.lookup[r.data("remodal")],o=(0,s["default"])("a.button",r),a=functionu(t){t.preventDefault();vare=(0,s["default"])(this).data("leave-action");o.off("click",u),i.close(),"continue"===e&&((0,s["default"])(window).off("beforeunload"),window.location.href=n)};o.on("click",a),i.open()})}},d=function(){functiont(){vare=arguments.length<=0||void0===arguments[0]?{ignore:[],form_id:"blueprints"}:arguments[0];i(this,t),this.options=e,this.refresh(),this.form&&this.fields.length&&(l=this.collect(),f.attach())}returno(t,[{key:"refresh",value:function(){returnthis.form=(0,s["default"])("form#"+this.options.form_id).filter(":noparents(.remodal)"),this.fields=(0,s["default"])("form#"+this.options.form_id+'*,[form="
for(varn=this._iterator,r=this._iteratorCache,i=0;i<r.length;)if(t(r[i],i++,this)===!1)returni;for(varo;!(o=n.next()).done;){vara=o.value;if(r[i]=a,t(a,i++,this)===!1)break}returni},D.prototype.__iteratorUncached=function(t,e){if(e)returnthis.cacheResult().__iterator(t,e);varn=this._iterator,r=this._iteratorCache,i=0;returnnewx(function(){if(i>=r.length){vare=n.next();if(e.done)returne;r[i]=e.value}returnw(t,i,r[i++])})};varIn;t(Q,z),Q.prototype.toString=function(){return0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Q.prototype.get=function(t,e){returnthis.has(t)?this._value:e},Q.prototype.includes=function(t){returnJ(this._value,t)},Q.prototype.slice=function(t,e){varn=this.size;returng(t,e,n)?this:newQ(this._value,y(e,n)-_(t,n))},Q.prototype.reverse=function(){returnthis},Q.prototype.indexOf=function(t){returnJ(this._value,t)?0:-1},Q.prototype.lastIndexOf=function(t){returnJ(this._value,t)?this.size:-1},Q.prototype.__iterate=function(t,e){for(varn=0;n<this.size;n++)if(t(this._value,n,this)===!1)returnn+1;returnn},Q.prototype.__iterator=function(t,e){varn=this,r=0;returnnewx(function(){returnr<n.size?w(t,r++,n._value):k()})},Q.prototype.equals=function(t){returntinstanceofQ?J(this._value,t._value):Y(t)};varOn;t(Z,z),Z.prototype.toString=function(){return0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Z.prototype.get=function(t,e){returnthis.has(t)?this._start+m(this,t)*this._step:e},Z.prototype.includes=function(t){vare=(t-this._start)/this._step;returne>=0&&e<this.size&&e===Math.floor(e)},Z.prototype.slice=function(t,e){returng(t,e,this.size)?this:(t=_(t,this.size),e=y(e,this.size),t>=e?newZ(0,0):newZ(this.get(t,this._end),this.get(e,this._end),this._step))},Z.prototype.indexOf=function(t){vare=t-this._start;if(e%this._step===0){varn=e/this._step;if(n>=0&&n<this.size)returnn}return-1},Z.prototype.lastIndexOf=function(t){returnthis.indexOf(t)},Z.prototype.__iterate=function(t,e){for(varn=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;n>=o;o++){if(t(i,o,this)===!1)returno+1;i+=e?-r:r}returno},Z.prototype.__iterator=function(t,e){varn=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;returnnewx(function(){vara=i;returni+=e?-r:r,o>n?k():w(t,o++,a)})},Z.prototype.equals=function(t){returntinstanceofZ?this._start===t._start&&this._end===t._end&&this._step===t._step:Y(this,t)};varEn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;varjn,zn="function"==typeofMath.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t=0|t,e=0|e;varn=65535&t,r=65535&e;returnn*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},Pn=Object.isExtensible,Tn=function(){try{returnObject.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Cn="function"==typeofWeakMap;Cn&&(jn=newWeakMap);varLn=0,Dn="__immutablehash__";"function"==typeofSymbol&&(Dn=Symbol(Dn));varqn=16,Nn=255,Fn=0,Un={};t(ft,et),ft.prototype.toString=function(){returnthis.__toString("Map {","}")},ft.prototype.get=function(t,e){returnthis._root?this._root.get(0,void0,t,e):e},ft.prototype.set=function(t,e){returnkt(this,t,e)},ft.prototype.setIn=function(t,e){returnthis.updateIn(t,gn,function(){returne})},ft.prototype.remove=function(t){returnkt(this,t,gn)},ft.prototype.deleteIn=function(t){returnthis.updateIn(t,function(){returngn})},ft.prototype.update=function(t,e,n){return1===arguments.length?t(this):this.updateIn([t],e,n)},ft.prototype.updateIn=function(t,e,n){n||(n=e,e=void0);varr=Ct(this,ze(t),e,n);returnr===gn?void0:r},ft.prototype.clear=function(){return0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void0,this.__altered=!0,this):wt()},ft.prototype.merge=function(){returnjt(this,void0,arguments)},ft.prototype.mergeWith=function(t){vare=un.call(arguments,1);returnjt(this,t,e)},ft.prototype.mergeIn=function(t){vare=un.call(arguments,1);returnthis.updateIn(t,wt(),function(t){return"function"==typeoft.merge?t.merge.apply(t,e):e[e.length-1]})},ft.pro
i&&(n=n.closest(".selectize-control").siblings("select[name]")),!n.prop("disabled"))return!0;varo=n.closest(".form-field").find('[data-grav-field="toggleable"] input[type="checkbox"]');o.trigger("click")})}},{key:"addedNodes",value:function(t){vare=this;t.forEach(function(t){"childList"===t.type&&t.addedNodes&&(0,s["default"])("body").trigger("mutation._grav",t.target,t,e)})}}]),t}();e["default"]=d;e.Instance=newd("form#blueprints")},function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});vari=n(388),o=r(i),a=n(389),s=r(a),u=n(390),c=r(u),l=n(391),f=r(l),d=n(322),p=r(d);e["default"]={SelectizeField:{SelectizeField:o["default"],Instance:i.Instance},ArrayField:{ArrayField:s["default"],Instance:a.Instance},CollectionsField:{CollectionsField:c["default"],Instance:u.Instance},DateTimeField:{DateTimeField:f["default"],Instance:l.Instance},EditorField:{EditorField:p["default"],Instance:d.Instance}}},function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}functioni(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void0;varo=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a);n(312);varu=function(){functiont(){vare=this,n=arguments.length<=0||void0===arguments[0]?{}:arguments[0];i(this,t),this.options=Object.assign({},n),this.elements=[],(0,s["default"])("[data-grav-selectize]").each(function(t,n){returne.add(n)}),(0,s["default"])("body").on("mutation._grav",this._onAddedNodes.bind(this))}returno(t,[{key:"add",value:function(t){t=(0,s["default"])(t);vare=t.prop("tagName").toLowerCase(),n="input"===e||"select"===e,r=(n?t.closest("[data-grav-selectize]"):t).data("grav-selectize")||{},i=n?t:t.find("input, select");i.length&&!i.get(0).selectize&&(i.selectize(r),this.elements.push(i.data("selectize")))}},{key:"_onAddedNodes",value:function(t,e){varn=this,r=(0,s["default"])(e).find("select.fancy, input.fancy");r.length&&r.each(function(t,e){returnn.add(e)})}}]),t}();e["default"]=u;e.Instance=newu},function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}functioni(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void0;varo=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u=(0,s["default"])("body"),c=function(){functiont(e){i(this,t),this.container=(0,s["default"])(e),void0===this.getName()&&(this.container=this.container.closest("[data-grav-array-name]"))}returno(t,[{key:"getName",value:function(){returnthis.container.data("grav-array-name")||""}},{key:"getKeyPlaceholder",value:function(){returnthis.container.data("grav-array-keyname")||"Key"}},{key:"getValuePlaceholder",value:function(){returnthis.container.data("grav-array-valuename")||"Value"}},{key:"isValueOnly",value:function(){returnthis.container.find('[data-grav-array-mode="value_only"]:first').length||!1}},{key:"shouldBeDisabled",value:function(){vart=this.container.closest(".form-field").find('[data-grav-field="toggleable"] input[type="checkbox"]');returnt.length&&t.is(":not(:checked)")}},{key:"getNewRow",value:function(){vart="";returnt+=this.isValueOnly()?'\n <div class="form-row array-field-value_only" data-grav-array-type="row">\n <input '+(this.shouldBeDisabled()?'disabled="disabled"':"")+' data-grav-array-type="value" type="text" value="" placeholder="'+this.getValuePlaceholder()+'" />\n ':'\n <div class="form-row" data-grav-array-type="row">\n <input '+(this.s