From 9077b0225f6cbf72214ad377c02aacbd2a38ea7c Mon Sep 17 00:00:00 2001 From: GauravWalia19 Date: Sun, 15 Oct 2023 08:32:03 +0530 Subject: [PATCH] Documented the rateCode API --- api/public/assets/main.bundle.js | 72 ++++++++++------ api/public/index.html | 20 ++--- routes/api/v1/API.js | 137 +++++++++++++++++++++---------- src/errorHandler.js | 10 +++ 4 files changed, 157 insertions(+), 82 deletions(-) diff --git a/api/public/assets/main.bundle.js b/api/public/assets/main.bundle.js index 890d02b..a24e09a 100644 --- a/api/public/assets/main.bundle.js +++ b/api/public/assets/main.bundle.js @@ -1,6 +1,6 @@ -(()=>{var qa={9737:()=>{+function(w){"use strict";var g=".dropdown-backdrop",s='[data-toggle="dropdown"]',c=function(a){w(a).on("click.bs.dropdown",this.toggle)};c.VERSION="3.4.1";function r(a){var i=a.attr("data-target");i||(i=a.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var u=i!=="#"?w(document).find(i):null;return u&&u.length?u:a.parent()}function n(a){a&&a.which===3||(w(g).remove(),w(s).each(function(){var i=w(this),u=r(i),v={relatedTarget:this};u.hasClass("open")&&(a&&a.type=="click"&&/input|textarea/i.test(a.target.tagName)&&w.contains(u[0],a.target)||(u.trigger(a=w.Event("hide.bs.dropdown",v)),!a.isDefaultPrevented()&&(i.attr("aria-expanded","false"),u.removeClass("open").trigger(w.Event("hidden.bs.dropdown",v)))))}))}c.prototype.toggle=function(a){var i=w(this);if(!i.is(".disabled, :disabled")){var u=r(i),v=u.hasClass("open");if(n(),!v){"ontouchstart"in document.documentElement&&!u.closest(".navbar-nav").length&&w(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(w(this)).on("click",n);var o={relatedTarget:this};if(u.trigger(a=w.Event("show.bs.dropdown",o)),a.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),u.toggleClass("open").trigger(w.Event("shown.bs.dropdown",o))}return!1}},c.prototype.keydown=function(a){if(!(!/(38|40|27|32)/.test(a.which)||/input|textarea/i.test(a.target.tagName))){var i=w(this);if(a.preventDefault(),a.stopPropagation(),!i.is(".disabled, :disabled")){var u=r(i),v=u.hasClass("open");if(!v&&a.which!=27||v&&a.which==27)return a.which==27&&u.find(s).trigger("focus"),i.trigger("click");var o=" li:not(.disabled):visible a",m=u.find(".dropdown-menu"+o);if(m.length){var d=m.index(a.target);a.which==38&&d>0&&d--,a.which==40&&d{+function(w){"use strict";var g=function(r,n){this.init("popover",r,n)};if(!w.fn.tooltip)throw new Error("Popover requires tooltip.js");g.VERSION="3.4.1",g.DEFAULTS=w.extend({},w.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),g.prototype=w.extend({},w.fn.tooltip.Constructor.prototype),g.prototype.constructor=g,g.prototype.getDefaults=function(){return g.DEFAULTS},g.prototype.setContent=function(){var r=this.tip(),n=this.getTitle(),l=this.getContent();if(this.options.html){var p=typeof l;this.options.sanitize&&(n=this.sanitizeHtml(n),p==="string"&&(l=this.sanitizeHtml(l))),r.find(".popover-title").html(n),r.find(".popover-content").children().detach().end()[p==="string"?"html":"append"](l)}else r.find(".popover-title").text(n),r.find(".popover-content").children().detach().end().text(l);r.removeClass("fade top bottom left right in"),r.find(".popover-title").html()||r.find(".popover-title").hide()},g.prototype.hasContent=function(){return this.getTitle()||this.getContent()},g.prototype.getContent=function(){var r=this.$element,n=this.options;return r.attr("data-content")||(typeof n.content=="function"?n.content.call(r[0]):n.content)},g.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};function s(r){return this.each(function(){var n=w(this),l=n.data("bs.popover"),p=typeof r=="object"&&r;!l&&/destroy|hide/.test(r)||(l||n.data("bs.popover",l=new g(this,p)),typeof r=="string"&&l[r]())})}var c=w.fn.popover;w.fn.popover=s,w.fn.popover.Constructor=g,w.fn.popover.noConflict=function(){return w.fn.popover=c,this}}(jQuery)},3497:()=>{+function(w){"use strict";function g(r,n){this.$body=w(document.body),this.$scrollElement=w(r).is(document.body)?w(window):w(r),this.options=w.extend({},g.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",w.proxy(this.process,this)),this.refresh(),this.process()}g.VERSION="3.4.1",g.DEFAULTS={offset:10},g.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},g.prototype.refresh=function(){var r=this,n="offset",l=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),w.isWindow(this.$scrollElement[0])||(n="position",l=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var p=w(this),a=p.data("target")||p.attr("href"),i=/^#./.test(a)&&w(a);return i&&i.length&&i.is(":visible")&&[[i[n]().top+l,a]]||null}).sort(function(p,a){return p[0]-a[0]}).each(function(){r.offsets.push(this[0]),r.targets.push(this[1])})},g.prototype.process=function(){var r=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),l=this.options.offset+n-this.$scrollElement.height(),p=this.offsets,a=this.targets,i=this.activeTarget,u;if(this.scrollHeight!=n&&this.refresh(),r>=l)return i!=(u=a[a.length-1])&&this.activate(u);if(i&&r=p[u]&&(p[u+1]===void 0||r{+function(w){"use strict";var g=function(n){this.element=w(n)};g.VERSION="3.4.1",g.TRANSITION_DURATION=150,g.prototype.show=function(){var n=this.element,l=n.closest("ul:not(.dropdown-menu)"),p=n.data("target");if(p||(p=n.attr("href"),p=p&&p.replace(/.*(?=#[^\s]*$)/,"")),!n.parent("li").hasClass("active")){var a=l.find(".active:last a"),i=w.Event("hide.bs.tab",{relatedTarget:n[0]}),u=w.Event("show.bs.tab",{relatedTarget:a[0]});if(a.trigger(i),n.trigger(u),!(u.isDefaultPrevented()||i.isDefaultPrevented())){var v=w(document).find(p);this.activate(n.closest("li"),l),this.activate(v,v.parent(),function(){a.trigger({type:"hidden.bs.tab",relatedTarget:n[0]}),n.trigger({type:"shown.bs.tab",relatedTarget:a[0]})})}}},g.prototype.activate=function(n,l,p){var a=l.find("> .active"),i=p&&w.support.transition&&(a.length&&a.hasClass("fade")||!!l.find("> .fade").length);function u(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),i?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),p&&p()}a.length&&i?a.one("bsTransitionEnd",u).emulateTransitionEnd(g.TRANSITION_DURATION):u(),a.removeClass("in")};function s(n){return this.each(function(){var l=w(this),p=l.data("bs.tab");p||l.data("bs.tab",p=new g(this)),typeof n=="string"&&p[n]()})}var c=w.fn.tab;w.fn.tab=s,w.fn.tab.Constructor=g,w.fn.tab.noConflict=function(){return w.fn.tab=c,this};var r=function(n){n.preventDefault(),s.call(w(this),"show")};w(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery)},6278:()=>{+function(w){"use strict";var g=["sanitize","whiteList","sanitizeFn"],s=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],c=/^aria-[\w-]*$/i,r={"*":["class","dir","id","lang","role",c],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,l=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function p(o,m){var d=o.nodeName.toLowerCase();if(w.inArray(d,m)!==-1)return w.inArray(d,s)!==-1?Boolean(o.nodeValue.match(n)||o.nodeValue.match(l)):!0;for(var h=w(m).filter(function(S,_){return _ instanceof RegExp}),A=0,E=h.length;A
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:r},i.prototype.init=function(o,m,d){if(this.enabled=!0,this.type=o,this.$element=w(m),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&w(document).find(w.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var h=this.options.trigger.split(" "),A=h.length;A--;){var E=h[A];if(E=="click")this.$element.on("click."+this.type,this.options.selector,w.proxy(this.toggle,this));else if(E!="manual"){var S=E=="hover"?"mouseenter":"focusin",_=E=="hover"?"mouseleave":"focusout";this.$element.on(S+"."+this.type,this.options.selector,w.proxy(this.enter,this)),this.$element.on(_+"."+this.type,this.options.selector,w.proxy(this.leave,this))}}this.options.selector?this._options=w.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(o){var m=this.$element.data();for(var d in m)m.hasOwnProperty(d)&&w.inArray(d,g)!==-1&&delete m[d];return o=w.extend({},this.getDefaults(),m,o),o.delay&&typeof o.delay=="number"&&(o.delay={show:o.delay,hide:o.delay}),o.sanitize&&(o.template=a(o.template,o.whiteList,o.sanitizeFn)),o},i.prototype.getDelegateOptions=function(){var o={},m=this.getDefaults();return this._options&&w.each(this._options,function(d,h){m[d]!=h&&(o[d]=h)}),o},i.prototype.enter=function(o){var m=o instanceof this.constructor?o:w(o.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m)),o instanceof w.Event&&(m.inState[o.type=="focusin"?"focus":"hover"]=!0),m.tip().hasClass("in")||m.hoverState=="in"){m.hoverState="in";return}if(clearTimeout(m.timeout),m.hoverState="in",!m.options.delay||!m.options.delay.show)return m.show();m.timeout=setTimeout(function(){m.hoverState=="in"&&m.show()},m.options.delay.show)},i.prototype.isInStateTrue=function(){for(var o in this.inState)if(this.inState[o])return!0;return!1},i.prototype.leave=function(o){var m=o instanceof this.constructor?o:w(o.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m)),o instanceof w.Event&&(m.inState[o.type=="focusout"?"focus":"hover"]=!1),!m.isInStateTrue()){if(clearTimeout(m.timeout),m.hoverState="out",!m.options.delay||!m.options.delay.hide)return m.hide();m.timeout=setTimeout(function(){m.hoverState=="out"&&m.hide()},m.options.delay.hide)}},i.prototype.show=function(){var o=w.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(o);var m=w.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(o.isDefaultPrevented()||!m)return;var d=this,h=this.tip(),A=this.getUID(this.type);this.setContent(),h.attr("id",A),this.$element.attr("aria-describedby",A),this.options.animation&&h.addClass("fade");var E=typeof this.options.placement=="function"?this.options.placement.call(this,h[0],this.$element[0]):this.options.placement,S=/\s?auto?\s?/i,_=S.test(E);_&&(E=E.replace(S,"")||"top"),h.detach().css({top:0,left:0,display:"block"}).addClass(E).data("bs."+this.type,this),this.options.container?h.appendTo(w(document).find(this.options.container)):h.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var y=this.getPosition(),C=h[0].offsetWidth,D=h[0].offsetHeight;if(_){var R=E,M=this.getPosition(this.$viewport);E=E=="bottom"&&y.bottom+D>M.bottom?"top":E=="top"&&y.top-DM.width?"left":E=="left"&&y.left-CS.top+S.height&&(A.top=S.top+S.height-y)}else{var C=m.left-E,D=m.left+E+d;CS.right&&(A.left=S.left+S.width-D)}return A},i.prototype.getTitle=function(){var o,m=this.$element,d=this.options;return o=m.attr("data-original-title")||(typeof d.title=="function"?d.title.call(m[0]):d.title),o},i.prototype.getUID=function(o){do o+=~~(Math.random()*1e6);while(document.getElementById(o));return o},i.prototype.tip=function(){if(!this.$tip&&(this.$tip=w(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(o){var m=this;o&&(m=w(o.currentTarget).data("bs."+this.type),m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m))),o?(m.inState.click=!m.inState.click,m.isInStateTrue()?m.enter(m):m.leave(m)):m.tip().hasClass("in")?m.leave(m):m.enter(m)},i.prototype.destroy=function(){var o=this;clearTimeout(this.timeout),this.hide(function(){o.$element.off("."+o.type).removeData("bs."+o.type),o.$tip&&o.$tip.detach(),o.$tip=null,o.$arrow=null,o.$viewport=null,o.$element=null})},i.prototype.sanitizeHtml=function(o){return a(o,this.options.whiteList,this.options.sanitizeFn)};function u(o){return this.each(function(){var m=w(this),d=m.data("bs.tooltip"),h=typeof o=="object"&&o;!d&&/destroy|hide/.test(o)||(d||m.data("bs.tooltip",d=new i(this,h)),typeof o=="string"&&d[o]())})}var v=w.fn.tooltip;w.fn.tooltip=u,w.fn.tooltip.Constructor=i,w.fn.tooltip.noConflict=function(){return w.fn.tooltip=v,this}}(jQuery)},2027:w=>{var g=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},s=-1,c=1,r=0;g.Diff=function(n,l){return[n,l]},g.prototype.diff_main=function(n,l,p,a){typeof a=="undefined"&&(this.Diff_Timeout<=0?a=Number.MAX_VALUE:a=new Date().getTime()+this.Diff_Timeout*1e3);var i=a;if(n==null||l==null)throw new Error("Null input. (diff_main)");if(n==l)return n?[new g.Diff(r,n)]:[];typeof p=="undefined"&&(p=!0);var u=p,v=this.diff_commonPrefix(n,l),o=n.substring(0,v);n=n.substring(v),l=l.substring(v),v=this.diff_commonSuffix(n,l);var m=n.substring(n.length-v);n=n.substring(0,n.length-v),l=l.substring(0,l.length-v);var d=this.diff_compute_(n,l,u,i);return o&&d.unshift(new g.Diff(r,o)),m&&d.push(new g.Diff(r,m)),this.diff_cleanupMerge(d),d},g.prototype.diff_compute_=function(n,l,p,a){var i;if(!n)return[new g.Diff(c,l)];if(!l)return[new g.Diff(s,n)];var u=n.length>l.length?n:l,v=n.length>l.length?l:n,o=u.indexOf(v);if(o!=-1)return i=[new g.Diff(c,u.substring(0,o)),new g.Diff(r,v),new g.Diff(c,u.substring(o+v.length))],n.length>l.length&&(i[0][0]=i[2][0]=s),i;if(v.length==1)return[new g.Diff(s,n),new g.Diff(c,l)];var m=this.diff_halfMatch_(n,l);if(m){var d=m[0],h=m[1],A=m[2],E=m[3],S=m[4],_=this.diff_main(d,A,p,a),y=this.diff_main(h,E,p,a);return _.concat([new g.Diff(r,S)],y)}return p&&n.length>100&&l.length>100?this.diff_lineMode_(n,l,a):this.diff_bisect_(n,l,a)},g.prototype.diff_lineMode_=function(n,l,p){var a=this.diff_linesToChars_(n,l);n=a.chars1,l=a.chars2;var i=a.lineArray,u=this.diff_main(n,l,!1,p);this.diff_charsToLines_(u,i),this.diff_cleanupSemantic(u),u.push(new g.Diff(r,""));for(var v=0,o=0,m=0,d="",h="";v=1&&m>=1){u.splice(v-o-m,o+m),v=v-o-m;for(var A=this.diff_main(d,h,!1,p),E=A.length-1;E>=0;E--)u.splice(v,0,A[E]);v=v+A.length}m=0,o=0,d="",h="";break}v++}return u.pop(),u},g.prototype.diff_bisect_=function(n,l,p){for(var a=n.length,i=l.length,u=Math.ceil((a+i)/2),v=u,o=2*u,m=new Array(o),d=new Array(o),h=0;hp);D++){for(var R=-D+S;R<=D-_;R+=2){var M=v+R,N;R==-D||R!=D&&m[M-1]a)_+=2;else if(P>i)S+=2;else if(E){var T=v+A-R;if(T>=0&&T=I)return this.diff_bisectSplit_(n,l,N,P,p)}}}for(var B=-D+y;B<=D-C;B+=2){var T=v+B,I;B==-D||B!=D&&d[T-1]a)C+=2;else if(W>i)y+=2;else if(!E){var M=v+A-B;if(M>=0&&M=I)return this.diff_bisectSplit_(n,l,N,P,p)}}}}return[new g.Diff(s,n),new g.Diff(c,l)]},g.prototype.diff_bisectSplit_=function(n,l,p,a,i){var u=n.substring(0,p),v=l.substring(0,a),o=n.substring(p),m=l.substring(a),d=this.diff_main(u,v,!1,i),h=this.diff_main(o,m,!1,i);return d.concat(h)},g.prototype.diff_linesToChars_=function(n,l){var p=[],a={};p[0]="";function i(m){for(var d="",h=0,A=-1,E=p.length;Aa?n=n.substring(p-a):pl.length?n:l,a=n.length>l.length?l:n;if(p.length<4||a.length*2=_.length?[N,P,T,I,M]:null}var v=u(p,a,Math.ceil(p.length/4)),o=u(p,a,Math.ceil(p.length/2)),m;if(!v&&!o)return null;o?v?m=v[4].length>o[4].length?v:o:m=o:m=v;var d,h,A,E;n.length>l.length?(d=m[0],h=m[1],A=m[2],E=m[3]):(A=m[0],E=m[1],d=m[2],h=m[3]);var S=m[4];return[d,h,A,E,S]},g.prototype.diff_cleanupSemantic=function(n){for(var l=!1,p=[],a=0,i=null,u=0,v=0,o=0,m=0,d=0;u0?p[a-1]:-1,v=0,o=0,m=0,d=0,i=null,l=!0)),u++;for(l&&this.diff_cleanupMerge(n),this.diff_cleanupSemanticLossless(n),u=1;u=S?(E>=h.length/2||E>=A.length/2)&&(n.splice(u,0,new g.Diff(r,A.substring(0,E))),n[u-1][1]=h.substring(0,h.length-E),n[u+1][1]=A.substring(E),u++):(S>=h.length/2||S>=A.length/2)&&(n.splice(u,0,new g.Diff(r,h.substring(0,S))),n[u-1][0]=c,n[u-1][1]=A.substring(0,A.length-S),n[u+1][0]=s,n[u+1][1]=h.substring(S),u++),u++}u++}},g.prototype.diff_cleanupSemanticLossless=function(n){function l(S,_){if(!S||!_)return 6;var y=S.charAt(S.length-1),C=_.charAt(0),D=y.match(g.nonAlphaNumericRegex_),R=C.match(g.nonAlphaNumericRegex_),M=D&&y.match(g.whitespaceRegex_),N=R&&C.match(g.whitespaceRegex_),P=M&&y.match(g.linebreakRegex_),T=N&&C.match(g.linebreakRegex_),I=P&&S.match(g.blanklineEndRegex_),B=T&&_.match(g.blanklineStartRegex_);return I||B?5:P||T?4:D&&!M&&N?3:M||N?2:D||R?1:0}for(var p=1;p=A&&(A=E,m=a,d=i,h=u)}n[p-1][1]!=m&&(m?n[p-1][1]=m:(n.splice(p-1,1),p--),n[p][1]=d,h?n[p+1][1]=h:(n.splice(p+1,1),p--))}p++}},g.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,g.whitespaceRegex_=/\s/,g.linebreakRegex_=/[\r\n]/,g.blanklineEndRegex_=/\n\r?\n$/,g.blanklineStartRegex_=/^\r?\n\r?\n/,g.prototype.diff_cleanupEfficiency=function(n){for(var l=!1,p=[],a=0,i=null,u=0,v=!1,o=!1,m=!1,d=!1;u0?p[a-1]:-1,m=d=!1),l=!0)),u++;l&&this.diff_cleanupMerge(n)},g.prototype.diff_cleanupMerge=function(n){n.push(new g.Diff(r,""));for(var l=0,p=0,a=0,i="",u="",v;l1?(p!==0&&a!==0&&(v=this.diff_commonPrefix(u,i),v!==0&&(l-p-a>0&&n[l-p-a-1][0]==r?n[l-p-a-1][1]+=u.substring(0,v):(n.splice(0,0,new g.Diff(r,u.substring(0,v))),l++),u=u.substring(v),i=i.substring(v)),v=this.diff_commonSuffix(u,i),v!==0&&(n[l][1]=u.substring(u.length-v)+n[l][1],u=u.substring(0,u.length-v),i=i.substring(0,i.length-v))),l-=p+a,n.splice(l,p+a),i.length&&(n.splice(l,0,new g.Diff(s,i)),l++),u.length&&(n.splice(l,0,new g.Diff(c,u)),l++),l++):l!==0&&n[l-1][0]==r?(n[l-1][1]+=n[l][1],n.splice(l,1)):l++,a=0,p=0,i="",u="";break}n[n.length-1][1]===""&&n.pop();var o=!1;for(l=1;ll));v++)i=p,u=a;return n.length!=v&&n[v][0]===s?u:u+(l-i)},g.prototype.diff_prettyHtml=function(n){for(var l=[],p=/&/g,a=//g,u=/\n/g,v=0;v");switch(o){case c:l[v]=''+d+"";break;case s:l[v]=''+d+"";break;case r:l[v]=""+d+"";break}}return l.join("")},g.prototype.diff_text1=function(n){for(var l=[],p=0;pthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var a=this.match_alphabet_(l),i=this;function u(N,P){var T=N/l.length,I=Math.abs(p-P);return i.Match_Distance?T+I/i.Match_Distance:I?1:T}var v=this.Match_Threshold,o=n.indexOf(l,p);o!=-1&&(v=Math.min(u(0,o),v),o=n.lastIndexOf(l,p+l.length),o!=-1&&(v=Math.min(u(0,o),v)));var m=1<=_;D--){var R=a[n.charAt(D-1)];if(S===0?C[D]=(C[D+1]<<1|1)&R:C[D]=(C[D+1]<<1|1)&R|((E[D+1]|E[D])<<1|1)|E[D+1],C[D]&m){var M=u(S,D-1);if(M<=v)if(v=M,o=D-1,o>p)_=Math.max(1,2*p-o);else break}}if(u(S+1,p)>v)break;E=C}return o},g.prototype.match_alphabet_=function(n){for(var l={},p=0;p2&&(this.diff_cleanupSemantic(i),this.diff_cleanupEfficiency(i));else if(n&&typeof n=="object"&&typeof l=="undefined"&&typeof p=="undefined")i=n,a=this.diff_text1(i);else if(typeof n=="string"&&l&&typeof l=="object"&&typeof p=="undefined")a=n,i=l;else if(typeof n=="string"&&typeof l=="string"&&p&&typeof p=="object")a=n,i=p;else throw new Error("Unknown call format to patch_make.");if(i.length===0)return[];for(var u=[],v=new g.patch_obj,o=0,m=0,d=0,h=a,A=a,E=0;E=2*this.Patch_Margin&&o&&(this.patch_addContext_(v,h),u.push(v),v=new g.patch_obj,o=0,h=A,m=d);break}S!==c&&(m+=_.length),S!==s&&(d+=_.length)}return o&&(this.patch_addContext_(v,h),u.push(v)),u},g.prototype.patch_deepCopy=function(n){for(var l=[],p=0;pthis.Match_MaxBits?(m=this.match_main(l,o.substring(0,this.Match_MaxBits),v),m!=-1&&(d=this.match_main(l,o.substring(o.length-this.Match_MaxBits),v+o.length-this.Match_MaxBits),(d==-1||m>=d)&&(m=-1))):m=this.match_main(l,o,v),m==-1)i[u]=!1,a-=n[u].length2-n[u].length1;else{i[u]=!0,a=m-v;var h;if(d==-1?h=l.substring(m,m+o.length):h=l.substring(m,d+this.Match_MaxBits),o==h)l=l.substring(0,m)+this.diff_text2(n[u].diffs)+l.substring(m+o.length);else{var A=this.diff_main(o,h,!1);if(o.length>this.Match_MaxBits&&this.diff_levenshtein(A)/o.length>this.Patch_DeleteThreshold)i[u]=!1;else{this.diff_cleanupSemanticLossless(A);for(var E=0,S,_=0;_u[0][1].length){var v=l-u[0][1].length;u[0][1]=p.substring(u[0][1].length)+u[0][1],i.start1-=v,i.start2-=v,i.length1+=v,i.length2+=v}if(i=n[n.length-1],u=i.diffs,u.length==0||u[u.length-1][0]!=r)u.push(new g.Diff(r,p)),i.length1+=l,i.length2+=l;else if(l>u[u.length-1][1].length){var v=l-u[u.length-1][1].length;u[u.length-1][1]+=p.substring(0,v),i.length1+=v,i.length2+=v}return p},g.prototype.patch_splitMax=function(n){for(var l=this.Match_MaxBits,p=0;p2*l?(o.length1+=h.length,i+=h.length,m=!1,o.diffs.push(new g.Diff(d,h)),a.diffs.shift()):(h=h.substring(0,l-o.length1-this.Patch_Margin),o.length1+=h.length,i+=h.length,d===r?(o.length2+=h.length,u+=h.length):m=!1,o.diffs.push(new g.Diff(d,h)),h==a.diffs[0][1]?a.diffs.shift():a.diffs[0][1]=a.diffs[0][1].substring(h.length))}v=this.diff_text2(o.diffs),v=v.substring(v.length-this.Patch_Margin);var A=this.diff_text1(a.diffs).substring(0,this.Patch_Margin);A!==""&&(o.length1+=A.length,o.length2+=A.length,o.diffs.length!==0&&o.diffs[o.diffs.length-1][0]===r?o.diffs[o.diffs.length-1][1]+=A:o.diffs.push(new g.Diff(r,A))),m||n.splice(++p,0,o)}}},g.prototype.patch_toText=function(n){for(var l=[],p=0;p{var qa={9737:()=>{+function(w){"use strict";var g=".dropdown-backdrop",s='[data-toggle="dropdown"]',c=function(a){w(a).on("click.bs.dropdown",this.toggle)};c.VERSION="3.4.1";function r(a){var i=a.attr("data-target");i||(i=a.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var l=i!=="#"?w(document).find(i):null;return l&&l.length?l:a.parent()}function n(a){a&&a.which===3||(w(g).remove(),w(s).each(function(){var i=w(this),l=r(i),v={relatedTarget:this};l.hasClass("open")&&(a&&a.type=="click"&&/input|textarea/i.test(a.target.tagName)&&w.contains(l[0],a.target)||(l.trigger(a=w.Event("hide.bs.dropdown",v)),!a.isDefaultPrevented()&&(i.attr("aria-expanded","false"),l.removeClass("open").trigger(w.Event("hidden.bs.dropdown",v)))))}))}c.prototype.toggle=function(a){var i=w(this);if(!i.is(".disabled, :disabled")){var l=r(i),v=l.hasClass("open");if(n(),!v){"ontouchstart"in document.documentElement&&!l.closest(".navbar-nav").length&&w(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(w(this)).on("click",n);var o={relatedTarget:this};if(l.trigger(a=w.Event("show.bs.dropdown",o)),a.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),l.toggleClass("open").trigger(w.Event("shown.bs.dropdown",o))}return!1}},c.prototype.keydown=function(a){if(!(!/(38|40|27|32)/.test(a.which)||/input|textarea/i.test(a.target.tagName))){var i=w(this);if(a.preventDefault(),a.stopPropagation(),!i.is(".disabled, :disabled")){var l=r(i),v=l.hasClass("open");if(!v&&a.which!=27||v&&a.which==27)return a.which==27&&l.find(s).trigger("focus"),i.trigger("click");var o=" li:not(.disabled):visible a",m=l.find(".dropdown-menu"+o);if(m.length){var d=m.index(a.target);a.which==38&&d>0&&d--,a.which==40&&d{+function(w){"use strict";var g=function(r,n){this.init("popover",r,n)};if(!w.fn.tooltip)throw new Error("Popover requires tooltip.js");g.VERSION="3.4.1",g.DEFAULTS=w.extend({},w.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),g.prototype=w.extend({},w.fn.tooltip.Constructor.prototype),g.prototype.constructor=g,g.prototype.getDefaults=function(){return g.DEFAULTS},g.prototype.setContent=function(){var r=this.tip(),n=this.getTitle(),u=this.getContent();if(this.options.html){var p=typeof u;this.options.sanitize&&(n=this.sanitizeHtml(n),p==="string"&&(u=this.sanitizeHtml(u))),r.find(".popover-title").html(n),r.find(".popover-content").children().detach().end()[p==="string"?"html":"append"](u)}else r.find(".popover-title").text(n),r.find(".popover-content").children().detach().end().text(u);r.removeClass("fade top bottom left right in"),r.find(".popover-title").html()||r.find(".popover-title").hide()},g.prototype.hasContent=function(){return this.getTitle()||this.getContent()},g.prototype.getContent=function(){var r=this.$element,n=this.options;return r.attr("data-content")||(typeof n.content=="function"?n.content.call(r[0]):n.content)},g.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};function s(r){return this.each(function(){var n=w(this),u=n.data("bs.popover"),p=typeof r=="object"&&r;!u&&/destroy|hide/.test(r)||(u||n.data("bs.popover",u=new g(this,p)),typeof r=="string"&&u[r]())})}var c=w.fn.popover;w.fn.popover=s,w.fn.popover.Constructor=g,w.fn.popover.noConflict=function(){return w.fn.popover=c,this}}(jQuery)},3497:()=>{+function(w){"use strict";function g(r,n){this.$body=w(document.body),this.$scrollElement=w(r).is(document.body)?w(window):w(r),this.options=w.extend({},g.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",w.proxy(this.process,this)),this.refresh(),this.process()}g.VERSION="3.4.1",g.DEFAULTS={offset:10},g.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},g.prototype.refresh=function(){var r=this,n="offset",u=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),w.isWindow(this.$scrollElement[0])||(n="position",u=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var p=w(this),a=p.data("target")||p.attr("href"),i=/^#./.test(a)&&w(a);return i&&i.length&&i.is(":visible")&&[[i[n]().top+u,a]]||null}).sort(function(p,a){return p[0]-a[0]}).each(function(){r.offsets.push(this[0]),r.targets.push(this[1])})},g.prototype.process=function(){var r=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),u=this.options.offset+n-this.$scrollElement.height(),p=this.offsets,a=this.targets,i=this.activeTarget,l;if(this.scrollHeight!=n&&this.refresh(),r>=u)return i!=(l=a[a.length-1])&&this.activate(l);if(i&&r=p[l]&&(p[l+1]===void 0||r{+function(w){"use strict";var g=function(n){this.element=w(n)};g.VERSION="3.4.1",g.TRANSITION_DURATION=150,g.prototype.show=function(){var n=this.element,u=n.closest("ul:not(.dropdown-menu)"),p=n.data("target");if(p||(p=n.attr("href"),p=p&&p.replace(/.*(?=#[^\s]*$)/,"")),!n.parent("li").hasClass("active")){var a=u.find(".active:last a"),i=w.Event("hide.bs.tab",{relatedTarget:n[0]}),l=w.Event("show.bs.tab",{relatedTarget:a[0]});if(a.trigger(i),n.trigger(l),!(l.isDefaultPrevented()||i.isDefaultPrevented())){var v=w(document).find(p);this.activate(n.closest("li"),u),this.activate(v,v.parent(),function(){a.trigger({type:"hidden.bs.tab",relatedTarget:n[0]}),n.trigger({type:"shown.bs.tab",relatedTarget:a[0]})})}}},g.prototype.activate=function(n,u,p){var a=u.find("> .active"),i=p&&w.support.transition&&(a.length&&a.hasClass("fade")||!!u.find("> .fade").length);function l(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),i?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),p&&p()}a.length&&i?a.one("bsTransitionEnd",l).emulateTransitionEnd(g.TRANSITION_DURATION):l(),a.removeClass("in")};function s(n){return this.each(function(){var u=w(this),p=u.data("bs.tab");p||u.data("bs.tab",p=new g(this)),typeof n=="string"&&p[n]()})}var c=w.fn.tab;w.fn.tab=s,w.fn.tab.Constructor=g,w.fn.tab.noConflict=function(){return w.fn.tab=c,this};var r=function(n){n.preventDefault(),s.call(w(this),"show")};w(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery)},6278:()=>{+function(w){"use strict";var g=["sanitize","whiteList","sanitizeFn"],s=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],c=/^aria-[\w-]*$/i,r={"*":["class","dir","id","lang","role",c],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,u=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function p(o,m){var d=o.nodeName.toLowerCase();if(w.inArray(d,m)!==-1)return w.inArray(d,s)!==-1?Boolean(o.nodeValue.match(n)||o.nodeValue.match(u)):!0;for(var h=w(m).filter(function(S,_){return _ instanceof RegExp}),A=0,E=h.length;A
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:r},i.prototype.init=function(o,m,d){if(this.enabled=!0,this.type=o,this.$element=w(m),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&w(document).find(w.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var h=this.options.trigger.split(" "),A=h.length;A--;){var E=h[A];if(E=="click")this.$element.on("click."+this.type,this.options.selector,w.proxy(this.toggle,this));else if(E!="manual"){var S=E=="hover"?"mouseenter":"focusin",_=E=="hover"?"mouseleave":"focusout";this.$element.on(S+"."+this.type,this.options.selector,w.proxy(this.enter,this)),this.$element.on(_+"."+this.type,this.options.selector,w.proxy(this.leave,this))}}this.options.selector?this._options=w.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(o){var m=this.$element.data();for(var d in m)m.hasOwnProperty(d)&&w.inArray(d,g)!==-1&&delete m[d];return o=w.extend({},this.getDefaults(),m,o),o.delay&&typeof o.delay=="number"&&(o.delay={show:o.delay,hide:o.delay}),o.sanitize&&(o.template=a(o.template,o.whiteList,o.sanitizeFn)),o},i.prototype.getDelegateOptions=function(){var o={},m=this.getDefaults();return this._options&&w.each(this._options,function(d,h){m[d]!=h&&(o[d]=h)}),o},i.prototype.enter=function(o){var m=o instanceof this.constructor?o:w(o.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m)),o instanceof w.Event&&(m.inState[o.type=="focusin"?"focus":"hover"]=!0),m.tip().hasClass("in")||m.hoverState=="in"){m.hoverState="in";return}if(clearTimeout(m.timeout),m.hoverState="in",!m.options.delay||!m.options.delay.show)return m.show();m.timeout=setTimeout(function(){m.hoverState=="in"&&m.show()},m.options.delay.show)},i.prototype.isInStateTrue=function(){for(var o in this.inState)if(this.inState[o])return!0;return!1},i.prototype.leave=function(o){var m=o instanceof this.constructor?o:w(o.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m)),o instanceof w.Event&&(m.inState[o.type=="focusout"?"focus":"hover"]=!1),!m.isInStateTrue()){if(clearTimeout(m.timeout),m.hoverState="out",!m.options.delay||!m.options.delay.hide)return m.hide();m.timeout=setTimeout(function(){m.hoverState=="out"&&m.hide()},m.options.delay.hide)}},i.prototype.show=function(){var o=w.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(o);var m=w.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(o.isDefaultPrevented()||!m)return;var d=this,h=this.tip(),A=this.getUID(this.type);this.setContent(),h.attr("id",A),this.$element.attr("aria-describedby",A),this.options.animation&&h.addClass("fade");var E=typeof this.options.placement=="function"?this.options.placement.call(this,h[0],this.$element[0]):this.options.placement,S=/\s?auto?\s?/i,_=S.test(E);_&&(E=E.replace(S,"")||"top"),h.detach().css({top:0,left:0,display:"block"}).addClass(E).data("bs."+this.type,this),this.options.container?h.appendTo(w(document).find(this.options.container)):h.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var y=this.getPosition(),C=h[0].offsetWidth,D=h[0].offsetHeight;if(_){var b=E,M=this.getPosition(this.$viewport);E=E=="bottom"&&y.bottom+D>M.bottom?"top":E=="top"&&y.top-DM.width?"left":E=="left"&&y.left-CS.top+S.height&&(A.top=S.top+S.height-y)}else{var C=m.left-E,D=m.left+E+d;CS.right&&(A.left=S.left+S.width-D)}return A},i.prototype.getTitle=function(){var o,m=this.$element,d=this.options;return o=m.attr("data-original-title")||(typeof d.title=="function"?d.title.call(m[0]):d.title),o},i.prototype.getUID=function(o){do o+=~~(Math.random()*1e6);while(document.getElementById(o));return o},i.prototype.tip=function(){if(!this.$tip&&(this.$tip=w(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(o){var m=this;o&&(m=w(o.currentTarget).data("bs."+this.type),m||(m=new this.constructor(o.currentTarget,this.getDelegateOptions()),w(o.currentTarget).data("bs."+this.type,m))),o?(m.inState.click=!m.inState.click,m.isInStateTrue()?m.enter(m):m.leave(m)):m.tip().hasClass("in")?m.leave(m):m.enter(m)},i.prototype.destroy=function(){var o=this;clearTimeout(this.timeout),this.hide(function(){o.$element.off("."+o.type).removeData("bs."+o.type),o.$tip&&o.$tip.detach(),o.$tip=null,o.$arrow=null,o.$viewport=null,o.$element=null})},i.prototype.sanitizeHtml=function(o){return a(o,this.options.whiteList,this.options.sanitizeFn)};function l(o){return this.each(function(){var m=w(this),d=m.data("bs.tooltip"),h=typeof o=="object"&&o;!d&&/destroy|hide/.test(o)||(d||m.data("bs.tooltip",d=new i(this,h)),typeof o=="string"&&d[o]())})}var v=w.fn.tooltip;w.fn.tooltip=l,w.fn.tooltip.Constructor=i,w.fn.tooltip.noConflict=function(){return w.fn.tooltip=v,this}}(jQuery)},2027:w=>{var g=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},s=-1,c=1,r=0;g.Diff=function(n,u){return[n,u]},g.prototype.diff_main=function(n,u,p,a){typeof a=="undefined"&&(this.Diff_Timeout<=0?a=Number.MAX_VALUE:a=new Date().getTime()+this.Diff_Timeout*1e3);var i=a;if(n==null||u==null)throw new Error("Null input. (diff_main)");if(n==u)return n?[new g.Diff(r,n)]:[];typeof p=="undefined"&&(p=!0);var l=p,v=this.diff_commonPrefix(n,u),o=n.substring(0,v);n=n.substring(v),u=u.substring(v),v=this.diff_commonSuffix(n,u);var m=n.substring(n.length-v);n=n.substring(0,n.length-v),u=u.substring(0,u.length-v);var d=this.diff_compute_(n,u,l,i);return o&&d.unshift(new g.Diff(r,o)),m&&d.push(new g.Diff(r,m)),this.diff_cleanupMerge(d),d},g.prototype.diff_compute_=function(n,u,p,a){var i;if(!n)return[new g.Diff(c,u)];if(!u)return[new g.Diff(s,n)];var l=n.length>u.length?n:u,v=n.length>u.length?u:n,o=l.indexOf(v);if(o!=-1)return i=[new g.Diff(c,l.substring(0,o)),new g.Diff(r,v),new g.Diff(c,l.substring(o+v.length))],n.length>u.length&&(i[0][0]=i[2][0]=s),i;if(v.length==1)return[new g.Diff(s,n),new g.Diff(c,u)];var m=this.diff_halfMatch_(n,u);if(m){var d=m[0],h=m[1],A=m[2],E=m[3],S=m[4],_=this.diff_main(d,A,p,a),y=this.diff_main(h,E,p,a);return _.concat([new g.Diff(r,S)],y)}return p&&n.length>100&&u.length>100?this.diff_lineMode_(n,u,a):this.diff_bisect_(n,u,a)},g.prototype.diff_lineMode_=function(n,u,p){var a=this.diff_linesToChars_(n,u);n=a.chars1,u=a.chars2;var i=a.lineArray,l=this.diff_main(n,u,!1,p);this.diff_charsToLines_(l,i),this.diff_cleanupSemantic(l),l.push(new g.Diff(r,""));for(var v=0,o=0,m=0,d="",h="";v=1&&m>=1){l.splice(v-o-m,o+m),v=v-o-m;for(var A=this.diff_main(d,h,!1,p),E=A.length-1;E>=0;E--)l.splice(v,0,A[E]);v=v+A.length}m=0,o=0,d="",h="";break}v++}return l.pop(),l},g.prototype.diff_bisect_=function(n,u,p){for(var a=n.length,i=u.length,l=Math.ceil((a+i)/2),v=l,o=2*l,m=new Array(o),d=new Array(o),h=0;hp);D++){for(var b=-D+S;b<=D-_;b+=2){var M=v+b,N;b==-D||b!=D&&m[M-1]a)_+=2;else if(P>i)S+=2;else if(E){var T=v+A-b;if(T>=0&&T=I)return this.diff_bisectSplit_(n,u,N,P,p)}}}for(var B=-D+y;B<=D-C;B+=2){var T=v+B,I;B==-D||B!=D&&d[T-1]a)C+=2;else if(W>i)y+=2;else if(!E){var M=v+A-B;if(M>=0&&M=I)return this.diff_bisectSplit_(n,u,N,P,p)}}}}return[new g.Diff(s,n),new g.Diff(c,u)]},g.prototype.diff_bisectSplit_=function(n,u,p,a,i){var l=n.substring(0,p),v=u.substring(0,a),o=n.substring(p),m=u.substring(a),d=this.diff_main(l,v,!1,i),h=this.diff_main(o,m,!1,i);return d.concat(h)},g.prototype.diff_linesToChars_=function(n,u){var p=[],a={};p[0]="";function i(m){for(var d="",h=0,A=-1,E=p.length;Aa?n=n.substring(p-a):pu.length?n:u,a=n.length>u.length?u:n;if(p.length<4||a.length*2=_.length?[N,P,T,I,M]:null}var v=l(p,a,Math.ceil(p.length/4)),o=l(p,a,Math.ceil(p.length/2)),m;if(!v&&!o)return null;o?v?m=v[4].length>o[4].length?v:o:m=o:m=v;var d,h,A,E;n.length>u.length?(d=m[0],h=m[1],A=m[2],E=m[3]):(A=m[0],E=m[1],d=m[2],h=m[3]);var S=m[4];return[d,h,A,E,S]},g.prototype.diff_cleanupSemantic=function(n){for(var u=!1,p=[],a=0,i=null,l=0,v=0,o=0,m=0,d=0;l0?p[a-1]:-1,v=0,o=0,m=0,d=0,i=null,u=!0)),l++;for(u&&this.diff_cleanupMerge(n),this.diff_cleanupSemanticLossless(n),l=1;l=S?(E>=h.length/2||E>=A.length/2)&&(n.splice(l,0,new g.Diff(r,A.substring(0,E))),n[l-1][1]=h.substring(0,h.length-E),n[l+1][1]=A.substring(E),l++):(S>=h.length/2||S>=A.length/2)&&(n.splice(l,0,new g.Diff(r,h.substring(0,S))),n[l-1][0]=c,n[l-1][1]=A.substring(0,A.length-S),n[l+1][0]=s,n[l+1][1]=h.substring(S),l++),l++}l++}},g.prototype.diff_cleanupSemanticLossless=function(n){function u(S,_){if(!S||!_)return 6;var y=S.charAt(S.length-1),C=_.charAt(0),D=y.match(g.nonAlphaNumericRegex_),b=C.match(g.nonAlphaNumericRegex_),M=D&&y.match(g.whitespaceRegex_),N=b&&C.match(g.whitespaceRegex_),P=M&&y.match(g.linebreakRegex_),T=N&&C.match(g.linebreakRegex_),I=P&&S.match(g.blanklineEndRegex_),B=T&&_.match(g.blanklineStartRegex_);return I||B?5:P||T?4:D&&!M&&N?3:M||N?2:D||b?1:0}for(var p=1;p=A&&(A=E,m=a,d=i,h=l)}n[p-1][1]!=m&&(m?n[p-1][1]=m:(n.splice(p-1,1),p--),n[p][1]=d,h?n[p+1][1]=h:(n.splice(p+1,1),p--))}p++}},g.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,g.whitespaceRegex_=/\s/,g.linebreakRegex_=/[\r\n]/,g.blanklineEndRegex_=/\n\r?\n$/,g.blanklineStartRegex_=/^\r?\n\r?\n/,g.prototype.diff_cleanupEfficiency=function(n){for(var u=!1,p=[],a=0,i=null,l=0,v=!1,o=!1,m=!1,d=!1;l0?p[a-1]:-1,m=d=!1),u=!0)),l++;u&&this.diff_cleanupMerge(n)},g.prototype.diff_cleanupMerge=function(n){n.push(new g.Diff(r,""));for(var u=0,p=0,a=0,i="",l="",v;u1?(p!==0&&a!==0&&(v=this.diff_commonPrefix(l,i),v!==0&&(u-p-a>0&&n[u-p-a-1][0]==r?n[u-p-a-1][1]+=l.substring(0,v):(n.splice(0,0,new g.Diff(r,l.substring(0,v))),u++),l=l.substring(v),i=i.substring(v)),v=this.diff_commonSuffix(l,i),v!==0&&(n[u][1]=l.substring(l.length-v)+n[u][1],l=l.substring(0,l.length-v),i=i.substring(0,i.length-v))),u-=p+a,n.splice(u,p+a),i.length&&(n.splice(u,0,new g.Diff(s,i)),u++),l.length&&(n.splice(u,0,new g.Diff(c,l)),u++),u++):u!==0&&n[u-1][0]==r?(n[u-1][1]+=n[u][1],n.splice(u,1)):u++,a=0,p=0,i="",l="";break}n[n.length-1][1]===""&&n.pop();var o=!1;for(u=1;uu));v++)i=p,l=a;return n.length!=v&&n[v][0]===s?l:l+(u-i)},g.prototype.diff_prettyHtml=function(n){for(var u=[],p=/&/g,a=//g,l=/\n/g,v=0;v");switch(o){case c:u[v]=''+d+"";break;case s:u[v]=''+d+"";break;case r:u[v]=""+d+"";break}}return u.join("")},g.prototype.diff_text1=function(n){for(var u=[],p=0;pthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var a=this.match_alphabet_(u),i=this;function l(N,P){var T=N/u.length,I=Math.abs(p-P);return i.Match_Distance?T+I/i.Match_Distance:I?1:T}var v=this.Match_Threshold,o=n.indexOf(u,p);o!=-1&&(v=Math.min(l(0,o),v),o=n.lastIndexOf(u,p+u.length),o!=-1&&(v=Math.min(l(0,o),v)));var m=1<=_;D--){var b=a[n.charAt(D-1)];if(S===0?C[D]=(C[D+1]<<1|1)&b:C[D]=(C[D+1]<<1|1)&b|((E[D+1]|E[D])<<1|1)|E[D+1],C[D]&m){var M=l(S,D-1);if(M<=v)if(v=M,o=D-1,o>p)_=Math.max(1,2*p-o);else break}}if(l(S+1,p)>v)break;E=C}return o},g.prototype.match_alphabet_=function(n){for(var u={},p=0;p2&&(this.diff_cleanupSemantic(i),this.diff_cleanupEfficiency(i));else if(n&&typeof n=="object"&&typeof u=="undefined"&&typeof p=="undefined")i=n,a=this.diff_text1(i);else if(typeof n=="string"&&u&&typeof u=="object"&&typeof p=="undefined")a=n,i=u;else if(typeof n=="string"&&typeof u=="string"&&p&&typeof p=="object")a=n,i=p;else throw new Error("Unknown call format to patch_make.");if(i.length===0)return[];for(var l=[],v=new g.patch_obj,o=0,m=0,d=0,h=a,A=a,E=0;E=2*this.Patch_Margin&&o&&(this.patch_addContext_(v,h),l.push(v),v=new g.patch_obj,o=0,h=A,m=d);break}S!==c&&(m+=_.length),S!==s&&(d+=_.length)}return o&&(this.patch_addContext_(v,h),l.push(v)),l},g.prototype.patch_deepCopy=function(n){for(var u=[],p=0;pthis.Match_MaxBits?(m=this.match_main(u,o.substring(0,this.Match_MaxBits),v),m!=-1&&(d=this.match_main(u,o.substring(o.length-this.Match_MaxBits),v+o.length-this.Match_MaxBits),(d==-1||m>=d)&&(m=-1))):m=this.match_main(u,o,v),m==-1)i[l]=!1,a-=n[l].length2-n[l].length1;else{i[l]=!0,a=m-v;var h;if(d==-1?h=u.substring(m,m+o.length):h=u.substring(m,d+this.Match_MaxBits),o==h)u=u.substring(0,m)+this.diff_text2(n[l].diffs)+u.substring(m+o.length);else{var A=this.diff_main(o,h,!1);if(o.length>this.Match_MaxBits&&this.diff_levenshtein(A)/o.length>this.Patch_DeleteThreshold)i[l]=!1;else{this.diff_cleanupSemanticLossless(A);for(var E=0,S,_=0;_l[0][1].length){var v=u-l[0][1].length;l[0][1]=p.substring(l[0][1].length)+l[0][1],i.start1-=v,i.start2-=v,i.length1+=v,i.length2+=v}if(i=n[n.length-1],l=i.diffs,l.length==0||l[l.length-1][0]!=r)l.push(new g.Diff(r,p)),i.length1+=u,i.length2+=u;else if(u>l[l.length-1][1].length){var v=u-l[l.length-1][1].length;l[l.length-1][1]+=p.substring(0,v),i.length1+=v,i.length2+=v}return p},g.prototype.patch_splitMax=function(n){for(var u=this.Match_MaxBits,p=0;p2*u?(o.length1+=h.length,i+=h.length,m=!1,o.diffs.push(new g.Diff(d,h)),a.diffs.shift()):(h=h.substring(0,u-o.length1-this.Patch_Margin),o.length1+=h.length,i+=h.length,d===r?(o.length2+=h.length,l+=h.length):m=!1,o.diffs.push(new g.Diff(d,h)),h==a.diffs[0][1]?a.diffs.shift():a.diffs[0][1]=a.diffs[0][1].substring(h.length))}v=this.diff_text2(o.diffs),v=v.substring(v.length-this.Patch_Margin);var A=this.diff_text1(a.diffs).substring(0,this.Patch_Margin);A!==""&&(o.length1+=A.length,o.length2+=A.length,o.diffs.length!==0&&o.diffs[o.diffs.length-1][0]===r?o.diffs[o.diffs.length-1][1]+=A:o.diffs.push(new g.Diff(r,A))),m||n.splice(++p,0,o)}}},g.prototype.patch_toText=function(n){for(var u=[],p=0;p= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};s.REVISION_CHANGES=E;var S="[object Object]";r.prototype={constructor:r,logger:o.default,log:o.default.log,registerHelper:function(y,C){if(l.toString.call(y)===S){if(C)throw new a.default("Arg not supported with multiple helpers");l.extend(this.helpers,y)}else this.helpers[y]=C},unregisterHelper:function(y){delete this.helpers[y]},registerPartial:function(y,C){if(l.toString.call(y)===S)l.extend(this.partials,y);else{if(typeof C=="undefined")throw new a.default('Attempting to register a partial called "'+y+'" as undefined');this.partials[y]=C}},unregisterPartial:function(y){delete this.partials[y]},registerDecorator:function(y,C){if(l.toString.call(y)===S){if(C)throw new a.default("Arg not supported with multiple decorators");l.extend(this.decorators,y)}else this.decorators[y]=C},unregisterDecorator:function(y){delete this.decorators[y]},resetLoggedPropertyAccesses:function(){m.resetLoggedProperties()}};var _=o.default.log;s.log=_,s.createFrame=l.createFrame,s.logger=o.default},function(g,s){"use strict";function c(E){return v[E]}function r(E){for(var S=1;S":">",'"':""","'":"'","`":"`","=":"="},o=/[&<>"'`=]/g,m=/[&<>"'`=]/,d=Object.prototype.toString;s.toString=d;var h=function(E){return typeof E=="function"};h(/x/)&&(s.isFunction=h=function(E){return typeof E=="function"&&d.call(E)==="[object Function]"}),s.isFunction=h;var A=Array.isArray||function(E){return!(!E||typeof E!="object")&&d.call(E)==="[object Array]"};s.isArray=A},function(g,s,c){"use strict";function r(p,a){var i=a&&a.loc,u=void 0,v=void 0,o=void 0,m=void 0;i&&(u=i.start.line,v=i.end.line,o=i.start.column,m=i.end.column,p+=" - "+u+":"+o);for(var d=Error.prototype.constructor.call(this,p),h=0;h0?(p.ids&&(p.ids=[p.name]),n.helpers.each(l,p)):a(this);if(p.data&&p.ids){var u=r.createFrame(p.data);u.contextPath=r.appendContextPath(p.data.contextPath,p.name),p={data:u}}return i(l,p)})},g.exports=s.default},function(g,s,c){"use strict";var r=c(13).default,n=c(43).default,l=c(55).default,p=c(60).default,a=c(1).default;s.__esModule=!0;var i=c(5),u=c(6),v=a(u);s.default=function(o){o.registerHelper("each",function(m,d){function h(P,T,I){y&&(y.key=P,y.index=T,y.first=T===0,y.last=!!I,C&&(y.contextPath=C+P)),_+=A(m[P],{data:y,blockParams:i.blockParams([m[P],P],[C+P,null])})}if(!d)throw new v.default("Must pass iterator to #each");var A=d.fn,E=d.inverse,S=0,_="",y=void 0,C=void 0;if(d.data&&d.ids&&(C=i.appendContextPath(d.data.contextPath,d.ids[0])+"."),i.isFunction(m)&&(m=m.call(this)),d.data&&(y=i.createFrame(d.data)),m&&typeof m=="object")if(i.isArray(m))for(var D=m.length;Sde;)ft(ht,St=Mt[de++],Rt[St]);return ht},At=function(ht,Rt){return Rt===void 0?M(ht):Z(M(ht),Rt)},yt=function(ht){var Rt=G.call(this,ht);return!(Rt||!l(this,ht)||!l(k,ht)||l(this,W)&&this[W][ht])||Rt},xt=function(ht,Rt){var St=D(ht=y(ht),Rt);return!St||!l(k,Rt)||l(ht,W)&&ht[W][Rt]||(St.enumerable=!0),St},qt=function(ht){for(var Rt,St=N(y(ht)),Mt=[],de=0;St.length>de;)l(k,Rt=St[de++])||Rt==W||Mt.push(Rt);return Mt},he=function(ht){for(var Rt,St=N(y(ht)),Mt=[],de=0;St.length>de;)l(k,Rt=St[de++])&&Mt.push(k[Rt]);return Mt},Ae=function(ht){if(ht!==void 0&&!it(ht)){for(var Rt,St,Mt=[ht],de=1,Ue=arguments;Ue.length>de;)Mt.push(Ue[de++]);return Rt=Mt[1],typeof Rt=="function"&&(St=Rt),!St&&S(Rt)||(Rt=function(ee,Lt){if(St&&(Lt=St.call(this,ee,Lt)),!it(Lt))return Lt}),Mt[1]=Rt,I.apply(T,Mt)}},ye=u(function(){var ht=P();return I([ht])!="[null]"||I({a:ht})!="{}"||I(Object(ht))!="{}"});$||(P=function(){if(it(this))throw TypeError("Symbol is not a constructor");return j(m(arguments.length>0?arguments[0]:void 0))},i(P.prototype,"toString",function(){return this._k}),it=function(ht){return ht instanceof P},r.create=At,r.isEnum=yt,r.getDesc=xt,r.setDesc=ft,r.setDescs=Z,r.getNames=A.get=qt,r.getSymbols=he,p&&!c(41)&&i(z,"propertyIsEnumerable",yt,!0));var be={for:function(ht){return l(O,ht+="")?O[ht]:O[ht]=P(ht)},keyFor:function(ht){return h(O,ht)},useSetter:function(){B=!0},useSimple:function(){B=!1}};r.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(ht){var Rt=d(ht);be[ht]=$?Rt:j(Rt)}),B=!0,a(a.G+a.W,{Symbol:P}),a(a.S,"Symbol",be),a(a.S+a.F*!$,"Object",{create:At,defineProperty:ft,defineProperties:Z,getOwnPropertyDescriptor:xt,getOwnPropertyNames:qt,getOwnPropertySymbols:he}),T&&a(a.S+a.F*(!$||ye),"JSON",{stringify:Ae}),o(P,"Symbol"),o(Math,"Math",!0),o(n.JSON,"JSON",!0)},function(g,s){var c=g.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=c)},function(g,s){var c={}.hasOwnProperty;g.exports=function(r,n){return c.call(r,n)}},function(g,s,c){g.exports=!c(19)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(g,s){g.exports=function(c){try{return!!c()}catch(r){return!0}}},function(g,s,c){var r=c(16),n=c(21),l=c(22),p="prototype",a=function(i,u,v){var o,m,d,h=i&a.F,A=i&a.G,E=i&a.S,S=i&a.P,_=i&a.B,y=i&a.W,C=A?n:n[u]||(n[u]={}),D=A?r:E?r[u]:(r[u]||{})[p];A&&(v=u);for(o in v)m=!h&&D&&o in D,m&&o in C||(d=m?D[o]:v[o],C[o]=A&&typeof D[o]!="function"?v[o]:_&&m?l(d,r):y&&D[o]==d?function(R){var M=function(N){return this instanceof R?new R(N):R(N)};return M[p]=R[p],M}(d):S&&typeof d=="function"?l(Function.call,d):d,S&&((C[p]||(C[p]={}))[o]=d))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,g.exports=a},function(g,s){var c=g.exports={version:"1.2.6"};typeof __e=="number"&&(__e=c)},function(g,s,c){var r=c(23);g.exports=function(n,l,p){if(r(n),l===void 0)return n;switch(p){case 1:return function(a){return n.call(l,a)};case 2:return function(a,i){return n.call(l,a,i)};case 3:return function(a,i,u){return n.call(l,a,i,u)}}return function(){return n.apply(l,arguments)}}},function(g,s){g.exports=function(c){if(typeof c!="function")throw TypeError(c+" is not a function!");return c}},function(g,s,c){g.exports=c(25)},function(g,s,c){var r=c(9),n=c(26);g.exports=c(18)?function(l,p,a){return r.setDesc(l,p,n(1,a))}:function(l,p,a){return l[p]=a,l}},function(g,s){g.exports=function(c,r){return{enumerable:!(1&c),configurable:!(2&c),writable:!(4&c),value:r}}},function(g,s,c){var r=c(16),n="__core-js_shared__",l=r[n]||(r[n]={});g.exports=function(p){return l[p]||(l[p]={})}},function(g,s,c){var r=c(9).setDesc,n=c(17),l=c(29)("toStringTag");g.exports=function(p,a,i){p&&!n(p=i?p:p.prototype,l)&&r(p,l,{configurable:!0,value:a})}},function(g,s,c){var r=c(27)("wks"),n=c(30),l=c(16).Symbol;g.exports=function(p){return r[p]||(r[p]=l&&l[p]||(l||n)("Symbol."+p))}},function(g,s){var c=0,r=Math.random();g.exports=function(n){return"Symbol(".concat(n===void 0?"":n,")_",(++c+r).toString(36))}},function(g,s,c){var r=c(9),n=c(32);g.exports=function(l,p){for(var a,i=n(l),u=r.getKeys(i),v=u.length,o=0;v>o;)if(i[a=u[o++]]===p)return a}},function(g,s,c){var r=c(33),n=c(35);g.exports=function(l){return r(n(l))}},function(g,s,c){var r=c(34);g.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return r(n)=="String"?n.split(""):Object(n)}},function(g,s){var c={}.toString;g.exports=function(r){return c.call(r).slice(8,-1)}},function(g,s){g.exports=function(c){if(c==null)throw TypeError("Can't call method on "+c);return c}},function(g,s,c){var r=c(32),n=c(9).getNames,l={}.toString,p=typeof window=="object"&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(i){try{return n(i)}catch(u){return p.slice()}};g.exports.get=function(i){return p&&l.call(i)=="[object Window]"?a(i):n(r(i))}},function(g,s,c){var r=c(9);g.exports=function(n){var l=r.getKeys(n),p=r.getSymbols;if(p)for(var a,i=p(n),u=r.isEnum,v=0;i.length>v;)u.call(n,a=i[v++])&&l.push(a);return l}},function(g,s,c){var r=c(34);g.exports=Array.isArray||function(n){return r(n)=="Array"}},function(g,s,c){var r=c(40);g.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}},function(g,s){g.exports=function(c){return typeof c=="object"?c!==null:typeof c=="function"}},function(g,s){g.exports=!0},function(g,s){},function(g,s,c){g.exports={default:c(44),__esModule:!0}},function(g,s,c){c(45),c(51),g.exports=c(29)("iterator")},function(g,s,c){"use strict";var r=c(46)(!0);c(48)(String,"String",function(n){this._t=String(n),this._i=0},function(){var n,l=this._t,p=this._i;return p>=l.length?{value:void 0,done:!0}:(n=r(l,p),this._i+=n.length,{value:n,done:!1})})},function(g,s,c){var r=c(47),n=c(35);g.exports=function(l){return function(p,a){var i,u,v=String(n(p)),o=r(a),m=v.length;return o<0||o>=m?l?"":void 0:(i=v.charCodeAt(o),i<55296||i>56319||o+1===m||(u=v.charCodeAt(o+1))<56320||u>57343?l?v.charAt(o):i:l?v.slice(o,o+2):(i-55296<<10)+(u-56320)+65536)}}},function(g,s){var c=Math.ceil,r=Math.floor;g.exports=function(n){return isNaN(n=+n)?0:(n>0?r:c)(n)}},function(g,s,c){"use strict";var r=c(41),n=c(20),l=c(24),p=c(25),a=c(17),i=c(49),u=c(50),v=c(28),o=c(9).getProto,m=c(29)("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",A="keys",E="values",S=function(){return this};g.exports=function(_,y,C,D,R,M,N){u(C,y,D);var P,T,I=function(U){if(!d&&U in O)return O[U];switch(U){case A:return function(){return new C(this,U)};case E:return function(){return new C(this,U)}}return function(){return new C(this,U)}},B=y+" Iterator",W=R==E,G=!1,O=_.prototype,k=O[m]||O[h]||R&&O[R],$=k||I(R);if(k){var z=o($.call(new _));v(z,B,!0),!r&&a(O,h)&&p(z,m,S),W&&k.name!==E&&(G=!0,$=function(){return k.call(this)})}if(r&&!N||!d&&!G&&O[m]||p(O,m,$),i[y]=$,i[B]=S,R)if(P={values:W?$:I(E),keys:M?$:I(A),entries:W?I("entries"):$},N)for(T in P)T in O||l(O,T,P[T]);else n(n.P+n.F*(d||G),y,P);return P}},function(g,s){g.exports={}},function(g,s,c){"use strict";var r=c(9),n=c(26),l=c(28),p={};c(25)(p,c(29)("iterator"),function(){return this}),g.exports=function(a,i,u){a.prototype=r.create(p,{next:n(1,u)}),l(a,i+" Iterator")}},function(g,s,c){c(52);var r=c(49);r.NodeList=r.HTMLCollection=r.Array},function(g,s,c){"use strict";var r=c(53),n=c(54),l=c(49),p=c(32);g.exports=c(48)(Array,"Array",function(a,i){this._t=p(a),this._i=0,this._k=i},function(){var a=this._t,i=this._k,u=this._i++;return!a||u>=a.length?(this._t=void 0,n(1)):i=="keys"?n(0,u):i=="values"?n(0,a[u]):n(0,[u,a[u]])},"values"),l.Arguments=l.Array,r("keys"),r("values"),r("entries")},function(g,s){g.exports=function(){}},function(g,s){g.exports=function(c,r){return{value:r,done:!!c}}},function(g,s,c){g.exports={default:c(56),__esModule:!0}},function(g,s,c){c(51),c(45),g.exports=c(57)},function(g,s,c){var r=c(39),n=c(58);g.exports=c(21).getIterator=function(l){var p=n(l);if(typeof p!="function")throw TypeError(l+" is not iterable!");return r(p.call(l))}},function(g,s,c){var r=c(59),n=c(29)("iterator"),l=c(49);g.exports=c(21).getIteratorMethod=function(p){if(p!=null)return p[n]||p["@@iterator"]||l[r(p)]}},function(g,s,c){var r=c(34),n=c(29)("toStringTag"),l=r(function(){return arguments}())=="Arguments";g.exports=function(p){var a,i,u;return p===void 0?"Undefined":p===null?"Null":typeof(i=(a=Object(p))[n])=="string"?i:l?r(a):(u=r(a))=="Object"&&typeof a.callee=="function"?"Arguments":u}},function(g,s,c){g.exports={default:c(61),__esModule:!0}},function(g,s,c){c(62),g.exports=c(21).Object.keys},function(g,s,c){var r=c(63);c(64)("keys",function(n){return function(l){return n(r(l))}})},function(g,s,c){var r=c(35);g.exports=function(n){return Object(r(n))}},function(g,s,c){var r=c(20),n=c(21),l=c(19);g.exports=function(p,a){var i=(n.Object||{})[p]||Object[p],u={};u[p]=a(i),r(r.S+r.F*l(function(){i(1)}),"Object",u)}},function(g,s,c){"use strict";var r=c(1).default;s.__esModule=!0;var n=c(6),l=r(n);s.default=function(p){p.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new l.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},g.exports=s.default},function(g,s,c){"use strict";var r=c(1).default;s.__esModule=!0;var n=c(5),l=c(6),p=r(l);s.default=function(a){a.registerHelper("if",function(i,u){if(arguments.length!=2)throw new p.default("#if requires exactly one argument");return n.isFunction(i)&&(i=i.call(this)),!u.hash.includeZero&&!i||n.isEmpty(i)?u.inverse(this):u.fn(this)}),a.registerHelper("unless",function(i,u){if(arguments.length!=2)throw new p.default("#unless requires exactly one argument");return a.helpers.if.call(this,i,{fn:u.inverse,inverse:u.fn,hash:u.hash})})},g.exports=s.default},function(g,s){"use strict";s.__esModule=!0,s.default=function(c){c.registerHelper("log",function(){for(var r=[void 0],n=arguments[arguments.length-1],l=0;l=0?p:parseInt(l,10)}return l},log:function(l){if(l=n.lookupLevel(l),typeof console!="undefined"&&n.lookupLevel(n.level)<=l){var p=n.methodMap[l];console[p]||(p="log");for(var a=arguments.length,i=Array(a>1?a-1:0),u=1;u= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};s.REVISION_CHANGES=E;var S="[object Object]";r.prototype={constructor:r,logger:o.default,log:o.default.log,registerHelper:function(y,C){if(u.toString.call(y)===S){if(C)throw new a.default("Arg not supported with multiple helpers");u.extend(this.helpers,y)}else this.helpers[y]=C},unregisterHelper:function(y){delete this.helpers[y]},registerPartial:function(y,C){if(u.toString.call(y)===S)u.extend(this.partials,y);else{if(typeof C=="undefined")throw new a.default('Attempting to register a partial called "'+y+'" as undefined');this.partials[y]=C}},unregisterPartial:function(y){delete this.partials[y]},registerDecorator:function(y,C){if(u.toString.call(y)===S){if(C)throw new a.default("Arg not supported with multiple decorators");u.extend(this.decorators,y)}else this.decorators[y]=C},unregisterDecorator:function(y){delete this.decorators[y]},resetLoggedPropertyAccesses:function(){m.resetLoggedProperties()}};var _=o.default.log;s.log=_,s.createFrame=u.createFrame,s.logger=o.default},function(g,s){"use strict";function c(E){return v[E]}function r(E){for(var S=1;S":">",'"':""","'":"'","`":"`","=":"="},o=/[&<>"'`=]/g,m=/[&<>"'`=]/,d=Object.prototype.toString;s.toString=d;var h=function(E){return typeof E=="function"};h(/x/)&&(s.isFunction=h=function(E){return typeof E=="function"&&d.call(E)==="[object Function]"}),s.isFunction=h;var A=Array.isArray||function(E){return!(!E||typeof E!="object")&&d.call(E)==="[object Array]"};s.isArray=A},function(g,s,c){"use strict";function r(p,a){var i=a&&a.loc,l=void 0,v=void 0,o=void 0,m=void 0;i&&(l=i.start.line,v=i.end.line,o=i.start.column,m=i.end.column,p+=" - "+l+":"+o);for(var d=Error.prototype.constructor.call(this,p),h=0;h0?(p.ids&&(p.ids=[p.name]),n.helpers.each(u,p)):a(this);if(p.data&&p.ids){var l=r.createFrame(p.data);l.contextPath=r.appendContextPath(p.data.contextPath,p.name),p={data:l}}return i(u,p)})},g.exports=s.default},function(g,s,c){"use strict";var r=c(13).default,n=c(43).default,u=c(55).default,p=c(60).default,a=c(1).default;s.__esModule=!0;var i=c(5),l=c(6),v=a(l);s.default=function(o){o.registerHelper("each",function(m,d){function h(P,T,I){y&&(y.key=P,y.index=T,y.first=T===0,y.last=!!I,C&&(y.contextPath=C+P)),_+=A(m[P],{data:y,blockParams:i.blockParams([m[P],P],[C+P,null])})}if(!d)throw new v.default("Must pass iterator to #each");var A=d.fn,E=d.inverse,S=0,_="",y=void 0,C=void 0;if(d.data&&d.ids&&(C=i.appendContextPath(d.data.contextPath,d.ids[0])+"."),i.isFunction(m)&&(m=m.call(this)),d.data&&(y=i.createFrame(d.data)),m&&typeof m=="object")if(i.isArray(m))for(var D=m.length;Sde;)ft(ht,St=Mt[de++],bt[St]);return ht},At=function(ht,bt){return bt===void 0?M(ht):Z(M(ht),bt)},yt=function(ht){var bt=G.call(this,ht);return!(bt||!u(this,ht)||!u(k,ht)||u(this,W)&&this[W][ht])||bt},xt=function(ht,bt){var St=D(ht=y(ht),bt);return!St||!u(k,bt)||u(ht,W)&&ht[W][bt]||(St.enumerable=!0),St},qt=function(ht){for(var bt,St=N(y(ht)),Mt=[],de=0;St.length>de;)u(k,bt=St[de++])||bt==W||Mt.push(bt);return Mt},he=function(ht){for(var bt,St=N(y(ht)),Mt=[],de=0;St.length>de;)u(k,bt=St[de++])&&Mt.push(k[bt]);return Mt},Ae=function(ht){if(ht!==void 0&&!it(ht)){for(var bt,St,Mt=[ht],de=1,Ue=arguments;Ue.length>de;)Mt.push(Ue[de++]);return bt=Mt[1],typeof bt=="function"&&(St=bt),!St&&S(bt)||(bt=function(ee,Lt){if(St&&(Lt=St.call(this,ee,Lt)),!it(Lt))return Lt}),Mt[1]=bt,I.apply(T,Mt)}},ye=l(function(){var ht=P();return I([ht])!="[null]"||I({a:ht})!="{}"||I(Object(ht))!="{}"});$||(P=function(){if(it(this))throw TypeError("Symbol is not a constructor");return j(m(arguments.length>0?arguments[0]:void 0))},i(P.prototype,"toString",function(){return this._k}),it=function(ht){return ht instanceof P},r.create=At,r.isEnum=yt,r.getDesc=xt,r.setDesc=ft,r.setDescs=Z,r.getNames=A.get=qt,r.getSymbols=he,p&&!c(41)&&i(z,"propertyIsEnumerable",yt,!0));var Re={for:function(ht){return u(O,ht+="")?O[ht]:O[ht]=P(ht)},keyFor:function(ht){return h(O,ht)},useSetter:function(){B=!0},useSimple:function(){B=!1}};r.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(ht){var bt=d(ht);Re[ht]=$?bt:j(bt)}),B=!0,a(a.G+a.W,{Symbol:P}),a(a.S,"Symbol",Re),a(a.S+a.F*!$,"Object",{create:At,defineProperty:ft,defineProperties:Z,getOwnPropertyDescriptor:xt,getOwnPropertyNames:qt,getOwnPropertySymbols:he}),T&&a(a.S+a.F*(!$||ye),"JSON",{stringify:Ae}),o(P,"Symbol"),o(Math,"Math",!0),o(n.JSON,"JSON",!0)},function(g,s){var c=g.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=c)},function(g,s){var c={}.hasOwnProperty;g.exports=function(r,n){return c.call(r,n)}},function(g,s,c){g.exports=!c(19)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(g,s){g.exports=function(c){try{return!!c()}catch(r){return!0}}},function(g,s,c){var r=c(16),n=c(21),u=c(22),p="prototype",a=function(i,l,v){var o,m,d,h=i&a.F,A=i&a.G,E=i&a.S,S=i&a.P,_=i&a.B,y=i&a.W,C=A?n:n[l]||(n[l]={}),D=A?r:E?r[l]:(r[l]||{})[p];A&&(v=l);for(o in v)m=!h&&D&&o in D,m&&o in C||(d=m?D[o]:v[o],C[o]=A&&typeof D[o]!="function"?v[o]:_&&m?u(d,r):y&&D[o]==d?function(b){var M=function(N){return this instanceof b?new b(N):b(N)};return M[p]=b[p],M}(d):S&&typeof d=="function"?u(Function.call,d):d,S&&((C[p]||(C[p]={}))[o]=d))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,g.exports=a},function(g,s){var c=g.exports={version:"1.2.6"};typeof __e=="number"&&(__e=c)},function(g,s,c){var r=c(23);g.exports=function(n,u,p){if(r(n),u===void 0)return n;switch(p){case 1:return function(a){return n.call(u,a)};case 2:return function(a,i){return n.call(u,a,i)};case 3:return function(a,i,l){return n.call(u,a,i,l)}}return function(){return n.apply(u,arguments)}}},function(g,s){g.exports=function(c){if(typeof c!="function")throw TypeError(c+" is not a function!");return c}},function(g,s,c){g.exports=c(25)},function(g,s,c){var r=c(9),n=c(26);g.exports=c(18)?function(u,p,a){return r.setDesc(u,p,n(1,a))}:function(u,p,a){return u[p]=a,u}},function(g,s){g.exports=function(c,r){return{enumerable:!(1&c),configurable:!(2&c),writable:!(4&c),value:r}}},function(g,s,c){var r=c(16),n="__core-js_shared__",u=r[n]||(r[n]={});g.exports=function(p){return u[p]||(u[p]={})}},function(g,s,c){var r=c(9).setDesc,n=c(17),u=c(29)("toStringTag");g.exports=function(p,a,i){p&&!n(p=i?p:p.prototype,u)&&r(p,u,{configurable:!0,value:a})}},function(g,s,c){var r=c(27)("wks"),n=c(30),u=c(16).Symbol;g.exports=function(p){return r[p]||(r[p]=u&&u[p]||(u||n)("Symbol."+p))}},function(g,s){var c=0,r=Math.random();g.exports=function(n){return"Symbol(".concat(n===void 0?"":n,")_",(++c+r).toString(36))}},function(g,s,c){var r=c(9),n=c(32);g.exports=function(u,p){for(var a,i=n(u),l=r.getKeys(i),v=l.length,o=0;v>o;)if(i[a=l[o++]]===p)return a}},function(g,s,c){var r=c(33),n=c(35);g.exports=function(u){return r(n(u))}},function(g,s,c){var r=c(34);g.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return r(n)=="String"?n.split(""):Object(n)}},function(g,s){var c={}.toString;g.exports=function(r){return c.call(r).slice(8,-1)}},function(g,s){g.exports=function(c){if(c==null)throw TypeError("Can't call method on "+c);return c}},function(g,s,c){var r=c(32),n=c(9).getNames,u={}.toString,p=typeof window=="object"&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(i){try{return n(i)}catch(l){return p.slice()}};g.exports.get=function(i){return p&&u.call(i)=="[object Window]"?a(i):n(r(i))}},function(g,s,c){var r=c(9);g.exports=function(n){var u=r.getKeys(n),p=r.getSymbols;if(p)for(var a,i=p(n),l=r.isEnum,v=0;i.length>v;)l.call(n,a=i[v++])&&u.push(a);return u}},function(g,s,c){var r=c(34);g.exports=Array.isArray||function(n){return r(n)=="Array"}},function(g,s,c){var r=c(40);g.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}},function(g,s){g.exports=function(c){return typeof c=="object"?c!==null:typeof c=="function"}},function(g,s){g.exports=!0},function(g,s){},function(g,s,c){g.exports={default:c(44),__esModule:!0}},function(g,s,c){c(45),c(51),g.exports=c(29)("iterator")},function(g,s,c){"use strict";var r=c(46)(!0);c(48)(String,"String",function(n){this._t=String(n),this._i=0},function(){var n,u=this._t,p=this._i;return p>=u.length?{value:void 0,done:!0}:(n=r(u,p),this._i+=n.length,{value:n,done:!1})})},function(g,s,c){var r=c(47),n=c(35);g.exports=function(u){return function(p,a){var i,l,v=String(n(p)),o=r(a),m=v.length;return o<0||o>=m?u?"":void 0:(i=v.charCodeAt(o),i<55296||i>56319||o+1===m||(l=v.charCodeAt(o+1))<56320||l>57343?u?v.charAt(o):i:u?v.slice(o,o+2):(i-55296<<10)+(l-56320)+65536)}}},function(g,s){var c=Math.ceil,r=Math.floor;g.exports=function(n){return isNaN(n=+n)?0:(n>0?r:c)(n)}},function(g,s,c){"use strict";var r=c(41),n=c(20),u=c(24),p=c(25),a=c(17),i=c(49),l=c(50),v=c(28),o=c(9).getProto,m=c(29)("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",A="keys",E="values",S=function(){return this};g.exports=function(_,y,C,D,b,M,N){l(C,y,D);var P,T,I=function(U){if(!d&&U in O)return O[U];switch(U){case A:return function(){return new C(this,U)};case E:return function(){return new C(this,U)}}return function(){return new C(this,U)}},B=y+" Iterator",W=b==E,G=!1,O=_.prototype,k=O[m]||O[h]||b&&O[b],$=k||I(b);if(k){var z=o($.call(new _));v(z,B,!0),!r&&a(O,h)&&p(z,m,S),W&&k.name!==E&&(G=!0,$=function(){return k.call(this)})}if(r&&!N||!d&&!G&&O[m]||p(O,m,$),i[y]=$,i[B]=S,b)if(P={values:W?$:I(E),keys:M?$:I(A),entries:W?I("entries"):$},N)for(T in P)T in O||u(O,T,P[T]);else n(n.P+n.F*(d||G),y,P);return P}},function(g,s){g.exports={}},function(g,s,c){"use strict";var r=c(9),n=c(26),u=c(28),p={};c(25)(p,c(29)("iterator"),function(){return this}),g.exports=function(a,i,l){a.prototype=r.create(p,{next:n(1,l)}),u(a,i+" Iterator")}},function(g,s,c){c(52);var r=c(49);r.NodeList=r.HTMLCollection=r.Array},function(g,s,c){"use strict";var r=c(53),n=c(54),u=c(49),p=c(32);g.exports=c(48)(Array,"Array",function(a,i){this._t=p(a),this._i=0,this._k=i},function(){var a=this._t,i=this._k,l=this._i++;return!a||l>=a.length?(this._t=void 0,n(1)):i=="keys"?n(0,l):i=="values"?n(0,a[l]):n(0,[l,a[l]])},"values"),u.Arguments=u.Array,r("keys"),r("values"),r("entries")},function(g,s){g.exports=function(){}},function(g,s){g.exports=function(c,r){return{value:r,done:!!c}}},function(g,s,c){g.exports={default:c(56),__esModule:!0}},function(g,s,c){c(51),c(45),g.exports=c(57)},function(g,s,c){var r=c(39),n=c(58);g.exports=c(21).getIterator=function(u){var p=n(u);if(typeof p!="function")throw TypeError(u+" is not iterable!");return r(p.call(u))}},function(g,s,c){var r=c(59),n=c(29)("iterator"),u=c(49);g.exports=c(21).getIteratorMethod=function(p){if(p!=null)return p[n]||p["@@iterator"]||u[r(p)]}},function(g,s,c){var r=c(34),n=c(29)("toStringTag"),u=r(function(){return arguments}())=="Arguments";g.exports=function(p){var a,i,l;return p===void 0?"Undefined":p===null?"Null":typeof(i=(a=Object(p))[n])=="string"?i:u?r(a):(l=r(a))=="Object"&&typeof a.callee=="function"?"Arguments":l}},function(g,s,c){g.exports={default:c(61),__esModule:!0}},function(g,s,c){c(62),g.exports=c(21).Object.keys},function(g,s,c){var r=c(63);c(64)("keys",function(n){return function(u){return n(r(u))}})},function(g,s,c){var r=c(35);g.exports=function(n){return Object(r(n))}},function(g,s,c){var r=c(20),n=c(21),u=c(19);g.exports=function(p,a){var i=(n.Object||{})[p]||Object[p],l={};l[p]=a(i),r(r.S+r.F*u(function(){i(1)}),"Object",l)}},function(g,s,c){"use strict";var r=c(1).default;s.__esModule=!0;var n=c(6),u=r(n);s.default=function(p){p.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new u.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},g.exports=s.default},function(g,s,c){"use strict";var r=c(1).default;s.__esModule=!0;var n=c(5),u=c(6),p=r(u);s.default=function(a){a.registerHelper("if",function(i,l){if(arguments.length!=2)throw new p.default("#if requires exactly one argument");return n.isFunction(i)&&(i=i.call(this)),!l.hash.includeZero&&!i||n.isEmpty(i)?l.inverse(this):l.fn(this)}),a.registerHelper("unless",function(i,l){if(arguments.length!=2)throw new p.default("#unless requires exactly one argument");return a.helpers.if.call(this,i,{fn:l.inverse,inverse:l.fn,hash:l.hash})})},g.exports=s.default},function(g,s){"use strict";s.__esModule=!0,s.default=function(c){c.registerHelper("log",function(){for(var r=[void 0],n=arguments[arguments.length-1],u=0;u=0?p:parseInt(u,10)}return u},log:function(u){if(u=n.lookupLevel(u),typeof console!="undefined"&&n.lookupLevel(n.level)<=u){var p=n.methodMap[u];console[p]||(p="log");for(var a=arguments.length,i=Array(a>1?a-1:0),l=1;l=D.LAST_COMPATIBLE_COMPILER_REVISION&&T<=D.COMPILER_REVISION)){if(T=D.LAST_COMPATIBLE_COMPILER_REVISION&&T<=D.COMPILER_REVISION)){if(T2&&I.push("'"+this.terminals_[N]+"'");W=this.lexer.showPosition?"Parse error on line "+(h+1)+`: +`)}return U}throw new C.default("The partial "+$.name+" could not be compiled when running in runtime-only mode")}function B(O){function k(it){return""+P.main(G,it,G.helpers,G.partials,z,j,U)}var $=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],z=$.data;B._setup($),!$.partial&&P.useData&&(z=l(O,z));var U=void 0,j=P.useBlockParams?[]:void 0;return P.useDepths&&(U=$.depths?O!=$.depths[0]?[O].concat($.depths):$.depths:[O]),(k=v(P.main,k,G,$.depths||[],z,j))(O,$)}if(!T)throw new C.default("No environment passed to template");if(!P||!P.main)throw new C.default("Unknown template object: "+typeof P);P.main.decorator=P.main_d,T.VM.checkRevision(P.compiler);var W=P.compiler&&P.compiler[0]===7,G={strict:function(O,k,$){if(!(O&&k in O))throw new C.default('"'+k+'" not defined in '+O,{loc:$});return G.lookupProperty(O,k)},lookupProperty:function(O,k){var $=O[k];return $==null||Object.prototype.hasOwnProperty.call(O,k)||N.resultIsAllowed($,G.protoAccessControl,k)?$:void 0},lookup:function(O,k){for(var $=O.length,z=0;z<$;z++){var U=O[z]&&G.lookupProperty(O[z],k);if(U!=null)return O[z][k]}},lambda:function(O,k){return typeof O=="function"?O.call(k):O},escapeExpression:_.escapeExpression,invokePartial:I,fn:function(O){var k=P[O];return k.decorator=P[O+"_d"],k},programs:[],program:function(O,k,$,z,U){var j=this.programs[O],it=this.fn(O);return k||U||z||$?j=u(this,O,it,k,$,z,U):j||(j=this.programs[O]=u(this,O,it)),j},data:function(O,k){for(;O&&k--;)O=O._parent;return O},mergeIfNeeded:function(O,k){var $=O||k;return O&&k&&O!==k&&($=_.extend({},k,O)),$},nullContext:d({}),noop:T.VM.noop,compilerInfo:P.compiler};return B.isTop=!0,B._setup=function(O){if(O.partial)G.protoAccessControl=O.protoAccessControl,G.helpers=O.helpers,G.partials=O.partials,G.decorators=O.decorators,G.hooks=O.hooks;else{var k=_.extend({},T.helpers,O.helpers);o(k,G),G.helpers=k,P.usePartial&&(G.partials=G.mergeIfNeeded(O.partials,T.partials)),(P.usePartial||P.useDecorators)&&(G.decorators=_.extend({},T.decorators,O.decorators)),G.hooks={},G.protoAccessControl=N.createProtoAccessControl(O);var $=O.allowCallsToHelperMissing||W;b.moveHelperToHooks(G,"helperMissing",$),b.moveHelperToHooks(G,"blockHelperMissing",$)}},B._child=function(O,k,$,z){if(P.useBlockParams&&!$)throw new C.default("must pass block params");if(P.useDepths&&!z)throw new C.default("must pass parent depths");return u(G,O,P[O],k,0,$,z)},B}function u(P,T,I,B,W,G,O){function k($){var z=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],U=O;return!O||$==O[0]||$===P.nullContext&&O[0]===null||(U=[$].concat(O)),I(P,$,P.helpers,P.partials,z.data||B,G&&[z.blockParams].concat(G),U)}return k=v(I,k,P,O,B,G),k.program=T,k.depth=O?O.length:0,k.blockParams=W||0,k}function p(P,T,I){return P?P.call||I.name||(I.name=P,P=I.partials[P]):P=I.name==="@partial-block"?I.data["partial-block"]:I.partials[I.name],P}function a(P,T,I){var B=I.data&&I.data["partial-block"];I.partial=!0,I.ids&&(I.data.contextPath=I.ids[0]||I.data.contextPath);var W=void 0;if(I.fn&&I.fn!==i&&function(){I.data=D.createFrame(I.data);var G=I.fn;W=I.data["partial-block"]=function(O){var k=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return k.data=D.createFrame(k.data),k.data["partial-block"]=B,G(O,k)},G.partials&&(I.partials=_.extend({},I.partials,G.partials))}(),P===void 0&&W&&(P=W),P===void 0)throw new C.default("The partial "+I.name+" could not be found");if(P instanceof Function)return P(T,I)}function i(){return""}function l(P,T){return T&&"root"in T||(T=T?D.createFrame(T):{},T.root=P),T}function v(P,T,I,B,W,G){if(P.decorator){var O={};T=P.decorator(T,O,I,B&&B[0],W,G,B),_.extend(T,O)}return T}function o(P,T){h(P).forEach(function(I){var B=P[I];P[I]=m(B,T)})}function m(P,T){var I=T.lookupProperty;return M.wrapHelper(P,function(B){return _.extend({lookupProperty:I},B)})}var d=c(79).default,h=c(60).default,A=c(3).default,E=c(1).default;s.__esModule=!0,s.checkRevision=r,s.template=n,s.wrapProgram=u,s.resolvePartial=p,s.invokePartial=a,s.noop=i;var S=c(5),_=A(S),y=c(6),C=E(y),D=c(4),b=c(10),M=c(82),N=c(73)},function(g,s,c){g.exports={default:c(80),__esModule:!0}},function(g,s,c){c(81),g.exports=c(21).Object.seal},function(g,s,c){var r=c(40);c(64)("seal",function(n){return function(u){return n&&r(u)?n(u):u}})},function(g,s){"use strict";function c(r,n){if(typeof r!="function")return r;var u=function(){var p=arguments[arguments.length-1];return arguments[arguments.length-1]=n(p),r.apply(this,arguments)};return u}s.__esModule=!0,s.wrapHelper=c},function(g,s){"use strict";s.__esModule=!0,s.default=function(c){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var r=globalThis.Handlebars;c.noConflict=function(){return globalThis.Handlebars===c&&(globalThis.Handlebars=r),c}},g.exports=s.default},function(g,s){"use strict";s.__esModule=!0;var c={helpers:{helperExpression:function(r){return r.type==="SubExpression"||(r.type==="MustacheStatement"||r.type==="BlockStatement")&&!!(r.params&&r.params.length||r.hash)},scopedId:function(r){return/^\.|this\b/.test(r.original)},simpleId:function(r){return r.parts.length===1&&!c.helpers.scopedId(r)&&!r.depth}}};s.default=c,g.exports=s.default},function(g,s,c){"use strict";function r(A,E){if(A.type==="Program")return A;i.default.yy=h,h.locInfo=function(_){return new h.SourceLocation(E&&E.srcName,_)};var S=i.default.parse(A);return S}function n(A,E){var S=r(A,E),_=new v.default(E);return _.accept(S)}var u=c(1).default,p=c(3).default;s.__esModule=!0,s.parseWithoutProcessing=r,s.parse=n;var a=c(86),i=u(a),l=c(87),v=u(l),o=c(89),m=p(o),d=c(5);s.parser=i.default;var h={};d.extend(h,m)},function(g,s){"use strict";s.__esModule=!0;var c=function(){function r(){this.yy={}}var n={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(p,a,i,l,v,o,m){var d=o.length-1;switch(v){case 1:return o[d-1];case 2:this.$=l.prepareProgram(o[d]);break;case 3:this.$=o[d];break;case 4:this.$=o[d];break;case 5:this.$=o[d];break;case 6:this.$=o[d];break;case 7:this.$=o[d];break;case 8:this.$=o[d];break;case 9:this.$={type:"CommentStatement",value:l.stripComment(o[d]),strip:l.stripFlags(o[d],o[d]),loc:l.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[d],value:o[d],loc:l.locInfo(this._$)};break;case 11:this.$=l.prepareRawBlock(o[d-2],o[d-1],o[d],this._$);break;case 12:this.$={path:o[d-3],params:o[d-2],hash:o[d-1]};break;case 13:this.$=l.prepareBlock(o[d-3],o[d-2],o[d-1],o[d],!1,this._$);break;case 14:this.$=l.prepareBlock(o[d-3],o[d-2],o[d-1],o[d],!0,this._$);break;case 15:this.$={open:o[d-5],path:o[d-4],params:o[d-3],hash:o[d-2],blockParams:o[d-1],strip:l.stripFlags(o[d-5],o[d])};break;case 16:this.$={path:o[d-4],params:o[d-3],hash:o[d-2],blockParams:o[d-1],strip:l.stripFlags(o[d-5],o[d])};break;case 17:this.$={path:o[d-4],params:o[d-3],hash:o[d-2],blockParams:o[d-1],strip:l.stripFlags(o[d-5],o[d])};break;case 18:this.$={strip:l.stripFlags(o[d-1],o[d-1]),program:o[d]};break;case 19:var h=l.prepareBlock(o[d-2],o[d-1],o[d],o[d],!1,this._$),A=l.prepareProgram([h],o[d-1].loc);A.chained=!0,this.$={strip:o[d-2].strip,program:A,chain:!0};break;case 20:this.$=o[d];break;case 21:this.$={path:o[d-1],strip:l.stripFlags(o[d-2],o[d])};break;case 22:this.$=l.prepareMustache(o[d-3],o[d-2],o[d-1],o[d-4],l.stripFlags(o[d-4],o[d]),this._$);break;case 23:this.$=l.prepareMustache(o[d-3],o[d-2],o[d-1],o[d-4],l.stripFlags(o[d-4],o[d]),this._$);break;case 24:this.$={type:"PartialStatement",name:o[d-3],params:o[d-2],hash:o[d-1],indent:"",strip:l.stripFlags(o[d-4],o[d]),loc:l.locInfo(this._$)};break;case 25:this.$=l.preparePartialBlock(o[d-2],o[d-1],o[d],this._$);break;case 26:this.$={path:o[d-3],params:o[d-2],hash:o[d-1],strip:l.stripFlags(o[d-4],o[d])};break;case 27:this.$=o[d];break;case 28:this.$=o[d];break;case 29:this.$={type:"SubExpression",path:o[d-3],params:o[d-2],hash:o[d-1],loc:l.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:o[d],loc:l.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:l.id(o[d-2]),value:o[d],loc:l.locInfo(this._$)};break;case 32:this.$=l.id(o[d-1]);break;case 33:this.$=o[d];break;case 34:this.$=o[d];break;case 35:this.$={type:"StringLiteral",value:o[d],original:o[d],loc:l.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(o[d]),original:Number(o[d]),loc:l.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:o[d]==="true",original:o[d]==="true",loc:l.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:l.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:l.locInfo(this._$)};break;case 40:this.$=o[d];break;case 41:this.$=o[d];break;case 42:this.$=l.preparePath(!0,o[d],this._$);break;case 43:this.$=l.preparePath(!1,o[d],this._$);break;case 44:o[d-2].push({part:l.id(o[d]),original:o[d],separator:o[d-1]}),this.$=o[d-2];break;case 45:this.$=[{part:l.id(o[d]),original:o[d]}];break;case 46:this.$=[];break;case 47:o[d-1].push(o[d]);break;case 48:this.$=[];break;case 49:o[d-1].push(o[d]);break;case 50:this.$=[];break;case 51:o[d-1].push(o[d]);break;case 58:this.$=[];break;case 59:o[d-1].push(o[d]);break;case 64:this.$=[];break;case 65:o[d-1].push(o[d]);break;case 70:this.$=[];break;case 71:o[d-1].push(o[d]);break;case 78:this.$=[];break;case 79:o[d-1].push(o[d]);break;case 82:this.$=[];break;case 83:o[d-1].push(o[d]);break;case 86:this.$=[];break;case 87:o[d-1].push(o[d]);break;case 90:this.$=[];break;case 91:o[d-1].push(o[d]);break;case 94:this.$=[];break;case 95:o[d-1].push(o[d]);break;case 98:this.$=[o[d]];break;case 99:o[d-1].push(o[d]);break;case 100:this.$=[o[d]];break;case 101:o[d-1].push(o[d])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(p,a){throw new Error(p)},parse:function(p){function a(){var G;return G=i.lexer.lex()||1,typeof G!="number"&&(G=i.symbols_[G]||G),G}var i=this,l=[0],v=[null],o=[],m=this.table,d="",h=0,A=0,E=0;this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc=="undefined"&&(this.lexer.yylloc={});var S=this.lexer.yylloc;o.push(S);var _=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);for(var y,C,D,b,M,N,P,T,I,B={};;){if(D=l[l.length-1],this.defaultActions[D]?b=this.defaultActions[D]:(y!==null&&typeof y!="undefined"||(y=a()),b=m[D]&&m[D][y]),typeof b=="undefined"||!b.length||!b[0]){var W="";if(!E){I=[];for(N in m[D])this.terminals_[N]&&N>2&&I.push("'"+this.terminals_[N]+"'");W=this.lexer.showPosition?"Parse error on line "+(h+1)+`: `+this.lexer.showPosition()+` -Expecting `+I.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(h+1)+": Unexpected "+(y==1?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(W,{text:this.lexer.match,token:this.terminals_[y]||y,line:this.lexer.yylineno,loc:S,expected:I})}}if(R[0]instanceof Array&&R.length>1)throw new Error("Parse Error: multiple actions possible at state: "+D+", token: "+y);switch(R[0]){case 1:u.push(y),v.push(this.lexer.yytext),o.push(this.lexer.yylloc),u.push(R[1]),y=null,C?(y=C,C=null):(A=this.lexer.yyleng,d=this.lexer.yytext,h=this.lexer.yylineno,S=this.lexer.yylloc,E>0&&E--);break;case 2:if(P=this.productions_[R[1]][1],B.$=v[v.length-P],B._$={first_line:o[o.length-(P||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(P||1)].first_column,last_column:o[o.length-1].last_column},_&&(B._$.range=[o[o.length-(P||1)].range[0],o[o.length-1].range[1]]),M=this.performAction.call(B,d,A,h,this.yy,R[1],v,o),typeof M!="undefined")return M;P&&(u=u.slice(0,-1*P*2),v=v.slice(0,-1*P),o=o.slice(0,-1*P)),u.push(this.productions_[R[1]][0]),v.push(B.$),o.push(B._$),T=m[u[u.length-2]][u[u.length-1]],u.push(T);break;case 3:return!0}}return!0}},l=function(){var p={EOF:1,parseError:function(a,i){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,i)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var i=a.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var i=a.length,u=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i-1),this.offset-=i;var v=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===v.length?this.yylloc.first_column:0)+v[v.length-u.length].length-u[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-i]),this},more:function(){return this._more=!0,this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),i=new Array(a.length+1).join("-");return a+this.upcomingInput()+` -`+i+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,i,u,v,o;this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),d=0;di[0].length)||(i=u,v=d,this.options.flex));d++);return i?(o=i[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],a=this.performAction.call(this,this.yy,this,m[v],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return typeof a!="undefined"?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)}};return p.options={},p.performAction=function(a,i,u,v){function o(m,d){return i.yytext=i.yytext.substring(m,i.yyleng-d+m)}switch(u){case 0:if(i.yytext.slice(-2)==="\\\\"?(o(0,1),this.begin("mu")):i.yytext.slice(-1)==="\\"?(o(0,1),this.begin("emu")):this.begin("mu"),i.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(o(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(i.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return i.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return i.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return i.yytext=i.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},p.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],p.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},p}();return n.lexer=l,r.prototype=n,n.Parser=r,new r}();s.default=c,g.exports=s.default},function(g,s,c){"use strict";function r(){var o=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=o}function n(o,m,d){m===void 0&&(m=o.length);var h=o[m-1],A=o[m-2];return h?h.type==="ContentStatement"?(A||!d?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(h.original):void 0:d}function l(o,m,d){m===void 0&&(m=-1);var h=o[m+1],A=o[m+2];return h?h.type==="ContentStatement"?(A||!d?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(h.original):void 0:d}function p(o,m,d){var h=o[m==null?0:m+1];if(h&&h.type==="ContentStatement"&&(d||!h.rightStripped)){var A=h.value;h.value=h.value.replace(d?/^\s+/:/^[ \t]*\r?\n?/,""),h.rightStripped=h.value!==A}}function a(o,m,d){var h=o[m==null?o.length-1:m-1];if(h&&h.type==="ContentStatement"&&(d||!h.leftStripped)){var A=h.value;return h.value=h.value.replace(d?/\s+$/:/[ \t]+$/,""),h.leftStripped=h.value!==A,h.leftStripped}}var i=c(1).default;s.__esModule=!0;var u=c(88),v=i(u);r.prototype=new v.default,r.prototype.Program=function(o){var m=!this.options.ignoreStandalone,d=!this.isRootSeen;this.isRootSeen=!0;for(var h=o.body,A=0,E=h.length;A0)throw new E.default("Invalid path: "+C,{loc:y});P===".."&&R++}}return{type:"PathExpression",data:S,depth:R,parts:D,original:C,loc:y}}function u(S,_,y,C,D,R){var M=C.charAt(3)||C.charAt(2),N=M!=="{"&&M!=="&",P=/\*/.test(C);return{type:P?"Decorator":"MustacheStatement",path:S,params:_,hash:y,escaped:N,strip:D,loc:this.locInfo(R)}}function v(S,_,y,C){r(S,y),C=this.locInfo(C);var D={type:"Program",body:_,strip:{},loc:C};return{type:"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:D,openStrip:{},inverseStrip:{},closeStrip:{},loc:C}}function o(S,_,y,C,D,R){C&&C.path&&r(S,C);var M=/\*/.test(S.open);_.blockParams=S.blockParams;var N=void 0,P=void 0;if(y){if(M)throw new E.default("Unexpected inverse block on decorator",y);y.chain&&(y.program.body[0].closeStrip=C.strip),P=y.strip,N=y.program}return D&&(D=N,N=_,_=D),{type:M?"DecoratorBlock":"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:_,inverse:N,openStrip:S.strip,inverseStrip:P,closeStrip:C&&C.strip,loc:this.locInfo(R)}}function m(S,_){if(!_&&S.length){var y=S[0].loc,C=S[S.length-1].loc;y&&C&&(_={source:y.source,start:{line:y.start.line,column:y.start.column},end:{line:C.end.line,column:C.end.column}})}return{type:"Program",body:S,strip:{},loc:_}}function d(S,_,y,C){return r(S,y),{type:"PartialBlockStatement",name:S.path,params:S.params,hash:S.hash,program:_,openStrip:S.strip,closeStrip:y&&y.strip,loc:this.locInfo(C)}}var h=c(1).default;s.__esModule=!0,s.SourceLocation=n,s.id=l,s.stripFlags=p,s.stripComment=a,s.preparePath=i,s.prepareMustache=u,s.prepareRawBlock=v,s.prepareBlock=o,s.prepareProgram=m,s.preparePartialBlock=d;var A=c(6),E=h(A)},function(g,s,c){"use strict";function r(){}function n(E,S,_){if(E==null||typeof E!="string"&&E.type!=="Program")throw new o.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+E);S=S||{},"data"in S||(S.data=!0),S.compat&&(S.useDepths=!0);var y=_.parse(E,S),C=new _.Compiler().compile(y,S);return new _.JavaScriptCompiler().compile(C,S)}function l(E,S,_){function y(){var R=_.parse(E,S),M=new _.Compiler().compile(R,S),N=new _.JavaScriptCompiler().compile(M,S,void 0,!0);return _.template(N)}function C(R,M){return D||(D=y()),D.call(this,R,M)}if(S===void 0&&(S={}),E==null||typeof E!="string"&&E.type!=="Program")throw new o.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+E);S=m.extend({},S),"data"in S||(S.data=!0),S.compat&&(S.useDepths=!0);var D=void 0;return C._setup=function(R){return D||(D=y()),D._setup(R)},C._child=function(R,M,N,P){return D||(D=y()),D._child(R,M,N,P)},C}function p(E,S){if(E===S)return!0;if(m.isArray(E)&&m.isArray(S)&&E.length===S.length){for(var _=0;_1)throw new o.default("Unsupported number of partial arguments: "+_.length,E);_.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):_.push({type:"PathExpression",parts:[],depth:0}));var y=E.name.original,C=E.name.type==="SubExpression";C&&this.accept(E.name),this.setupFullMustacheParams(E,S,void 0,!0);var D=E.indent||"";this.options.preventIndent&&D&&(this.opcode("appendContent",D),D=""),this.opcode("invokePartial",C,y,D),this.opcode("append")},PartialBlockStatement:function(E){this.PartialStatement(E)},MustacheStatement:function(E){this.SubExpression(E),E.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(E){this.DecoratorBlock(E)},ContentStatement:function(E){E.value&&this.opcode("appendContent",E.value)},CommentStatement:function(){},SubExpression:function(E){a(E);var S=this.classifySexpr(E);S==="simple"?this.simpleSexpr(E):S==="helper"?this.helperSexpr(E):this.ambiguousSexpr(E)},ambiguousSexpr:function(E,S,_){var y=E.path,C=y.parts[0],D=S!=null||_!=null;this.opcode("getContext",y.depth),this.opcode("pushProgram",S),this.opcode("pushProgram",_),y.strict=!0,this.accept(y),this.opcode("invokeAmbiguous",C,D)},simpleSexpr:function(E){var S=E.path;S.strict=!0,this.accept(S),this.opcode("resolvePossibleLambda")},helperSexpr:function(E,S,_){var y=this.setupFullMustacheParams(E,S,_),C=E.path,D=C.parts[0];if(this.options.knownHelpers[D])this.opcode("invokeKnownHelper",y.length,D);else{if(this.options.knownHelpersOnly)throw new o.default("You specified knownHelpersOnly, but used the unknown helper "+D,E);C.strict=!0,C.falsy=!0,this.accept(C),this.opcode("invokeHelper",y.length,C.original,h.default.helpers.simpleId(C))}},PathExpression:function(E){this.addDepth(E.depth),this.opcode("getContext",E.depth);var S=E.parts[0],_=h.default.helpers.scopedId(E),y=!E.depth&&!_&&this.blockParamIndex(S);y?this.opcode("lookupBlockParam",y,E.parts):S?E.data?(this.options.data=!0,this.opcode("lookupData",E.depth,E.parts,E.strict)):this.opcode("lookupOnContext",E.parts,E.falsy,E.strict,_):this.opcode("pushContext")},StringLiteral:function(E){this.opcode("pushString",E.value)},NumberLiteral:function(E){this.opcode("pushLiteral",E.value)},BooleanLiteral:function(E){this.opcode("pushLiteral",E.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(E){var S=E.pairs,_=0,y=S.length;for(this.opcode("pushHash");_=0)return[S,C]}}}},function(g,s,c){"use strict";function r(h){this.value=h}function n(){}function l(h,A,E,S,_){var y=A.popStack(),C=E.length;for(h&&C--;S1)throw new Error("Parse Error: multiple actions possible at state: "+D+", token: "+y);switch(b[0]){case 1:l.push(y),v.push(this.lexer.yytext),o.push(this.lexer.yylloc),l.push(b[1]),y=null,C?(y=C,C=null):(A=this.lexer.yyleng,d=this.lexer.yytext,h=this.lexer.yylineno,S=this.lexer.yylloc,E>0&&E--);break;case 2:if(P=this.productions_[b[1]][1],B.$=v[v.length-P],B._$={first_line:o[o.length-(P||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(P||1)].first_column,last_column:o[o.length-1].last_column},_&&(B._$.range=[o[o.length-(P||1)].range[0],o[o.length-1].range[1]]),M=this.performAction.call(B,d,A,h,this.yy,b[1],v,o),typeof M!="undefined")return M;P&&(l=l.slice(0,-1*P*2),v=v.slice(0,-1*P),o=o.slice(0,-1*P)),l.push(this.productions_[b[1]][0]),v.push(B.$),o.push(B._$),T=m[l[l.length-2]][l[l.length-1]],l.push(T);break;case 3:return!0}}return!0}},u=function(){var p={EOF:1,parseError:function(a,i){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,i)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var i=a.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var i=a.length,l=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i-1),this.offset-=i;var v=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===v.length?this.yylloc.first_column:0)+v[v.length-l.length].length-l[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-i]),this},more:function(){return this._more=!0,this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),i=new Array(a.length+1).join("-");return a+this.upcomingInput()+` +`+i+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,i,l,v,o;this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),d=0;di[0].length)||(i=l,v=d,this.options.flex));d++);return i?(o=i[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],a=this.performAction.call(this,this.yy,this,m[v],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return typeof a!="undefined"?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)}};return p.options={},p.performAction=function(a,i,l,v){function o(m,d){return i.yytext=i.yytext.substring(m,i.yyleng-d+m)}switch(l){case 0:if(i.yytext.slice(-2)==="\\\\"?(o(0,1),this.begin("mu")):i.yytext.slice(-1)==="\\"?(o(0,1),this.begin("emu")):this.begin("mu"),i.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(o(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(i.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return i.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return i.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return i.yytext=i.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},p.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],p.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},p}();return n.lexer=u,r.prototype=n,n.Parser=r,new r}();s.default=c,g.exports=s.default},function(g,s,c){"use strict";function r(){var o=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=o}function n(o,m,d){m===void 0&&(m=o.length);var h=o[m-1],A=o[m-2];return h?h.type==="ContentStatement"?(A||!d?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(h.original):void 0:d}function u(o,m,d){m===void 0&&(m=-1);var h=o[m+1],A=o[m+2];return h?h.type==="ContentStatement"?(A||!d?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(h.original):void 0:d}function p(o,m,d){var h=o[m==null?0:m+1];if(h&&h.type==="ContentStatement"&&(d||!h.rightStripped)){var A=h.value;h.value=h.value.replace(d?/^\s+/:/^[ \t]*\r?\n?/,""),h.rightStripped=h.value!==A}}function a(o,m,d){var h=o[m==null?o.length-1:m-1];if(h&&h.type==="ContentStatement"&&(d||!h.leftStripped)){var A=h.value;return h.value=h.value.replace(d?/\s+$/:/[ \t]+$/,""),h.leftStripped=h.value!==A,h.leftStripped}}var i=c(1).default;s.__esModule=!0;var l=c(88),v=i(l);r.prototype=new v.default,r.prototype.Program=function(o){var m=!this.options.ignoreStandalone,d=!this.isRootSeen;this.isRootSeen=!0;for(var h=o.body,A=0,E=h.length;A0)throw new E.default("Invalid path: "+C,{loc:y});P===".."&&b++}}return{type:"PathExpression",data:S,depth:b,parts:D,original:C,loc:y}}function l(S,_,y,C,D,b){var M=C.charAt(3)||C.charAt(2),N=M!=="{"&&M!=="&",P=/\*/.test(C);return{type:P?"Decorator":"MustacheStatement",path:S,params:_,hash:y,escaped:N,strip:D,loc:this.locInfo(b)}}function v(S,_,y,C){r(S,y),C=this.locInfo(C);var D={type:"Program",body:_,strip:{},loc:C};return{type:"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:D,openStrip:{},inverseStrip:{},closeStrip:{},loc:C}}function o(S,_,y,C,D,b){C&&C.path&&r(S,C);var M=/\*/.test(S.open);_.blockParams=S.blockParams;var N=void 0,P=void 0;if(y){if(M)throw new E.default("Unexpected inverse block on decorator",y);y.chain&&(y.program.body[0].closeStrip=C.strip),P=y.strip,N=y.program}return D&&(D=N,N=_,_=D),{type:M?"DecoratorBlock":"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:_,inverse:N,openStrip:S.strip,inverseStrip:P,closeStrip:C&&C.strip,loc:this.locInfo(b)}}function m(S,_){if(!_&&S.length){var y=S[0].loc,C=S[S.length-1].loc;y&&C&&(_={source:y.source,start:{line:y.start.line,column:y.start.column},end:{line:C.end.line,column:C.end.column}})}return{type:"Program",body:S,strip:{},loc:_}}function d(S,_,y,C){return r(S,y),{type:"PartialBlockStatement",name:S.path,params:S.params,hash:S.hash,program:_,openStrip:S.strip,closeStrip:y&&y.strip,loc:this.locInfo(C)}}var h=c(1).default;s.__esModule=!0,s.SourceLocation=n,s.id=u,s.stripFlags=p,s.stripComment=a,s.preparePath=i,s.prepareMustache=l,s.prepareRawBlock=v,s.prepareBlock=o,s.prepareProgram=m,s.preparePartialBlock=d;var A=c(6),E=h(A)},function(g,s,c){"use strict";function r(){}function n(E,S,_){if(E==null||typeof E!="string"&&E.type!=="Program")throw new o.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+E);S=S||{},"data"in S||(S.data=!0),S.compat&&(S.useDepths=!0);var y=_.parse(E,S),C=new _.Compiler().compile(y,S);return new _.JavaScriptCompiler().compile(C,S)}function u(E,S,_){function y(){var b=_.parse(E,S),M=new _.Compiler().compile(b,S),N=new _.JavaScriptCompiler().compile(M,S,void 0,!0);return _.template(N)}function C(b,M){return D||(D=y()),D.call(this,b,M)}if(S===void 0&&(S={}),E==null||typeof E!="string"&&E.type!=="Program")throw new o.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+E);S=m.extend({},S),"data"in S||(S.data=!0),S.compat&&(S.useDepths=!0);var D=void 0;return C._setup=function(b){return D||(D=y()),D._setup(b)},C._child=function(b,M,N,P){return D||(D=y()),D._child(b,M,N,P)},C}function p(E,S){if(E===S)return!0;if(m.isArray(E)&&m.isArray(S)&&E.length===S.length){for(var _=0;_1)throw new o.default("Unsupported number of partial arguments: "+_.length,E);_.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):_.push({type:"PathExpression",parts:[],depth:0}));var y=E.name.original,C=E.name.type==="SubExpression";C&&this.accept(E.name),this.setupFullMustacheParams(E,S,void 0,!0);var D=E.indent||"";this.options.preventIndent&&D&&(this.opcode("appendContent",D),D=""),this.opcode("invokePartial",C,y,D),this.opcode("append")},PartialBlockStatement:function(E){this.PartialStatement(E)},MustacheStatement:function(E){this.SubExpression(E),E.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(E){this.DecoratorBlock(E)},ContentStatement:function(E){E.value&&this.opcode("appendContent",E.value)},CommentStatement:function(){},SubExpression:function(E){a(E);var S=this.classifySexpr(E);S==="simple"?this.simpleSexpr(E):S==="helper"?this.helperSexpr(E):this.ambiguousSexpr(E)},ambiguousSexpr:function(E,S,_){var y=E.path,C=y.parts[0],D=S!=null||_!=null;this.opcode("getContext",y.depth),this.opcode("pushProgram",S),this.opcode("pushProgram",_),y.strict=!0,this.accept(y),this.opcode("invokeAmbiguous",C,D)},simpleSexpr:function(E){var S=E.path;S.strict=!0,this.accept(S),this.opcode("resolvePossibleLambda")},helperSexpr:function(E,S,_){var y=this.setupFullMustacheParams(E,S,_),C=E.path,D=C.parts[0];if(this.options.knownHelpers[D])this.opcode("invokeKnownHelper",y.length,D);else{if(this.options.knownHelpersOnly)throw new o.default("You specified knownHelpersOnly, but used the unknown helper "+D,E);C.strict=!0,C.falsy=!0,this.accept(C),this.opcode("invokeHelper",y.length,C.original,h.default.helpers.simpleId(C))}},PathExpression:function(E){this.addDepth(E.depth),this.opcode("getContext",E.depth);var S=E.parts[0],_=h.default.helpers.scopedId(E),y=!E.depth&&!_&&this.blockParamIndex(S);y?this.opcode("lookupBlockParam",y,E.parts):S?E.data?(this.options.data=!0,this.opcode("lookupData",E.depth,E.parts,E.strict)):this.opcode("lookupOnContext",E.parts,E.falsy,E.strict,_):this.opcode("pushContext")},StringLiteral:function(E){this.opcode("pushString",E.value)},NumberLiteral:function(E){this.opcode("pushLiteral",E.value)},BooleanLiteral:function(E){this.opcode("pushLiteral",E.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(E){var S=E.pairs,_=0,y=S.length;for(this.opcode("pushHash");_=0)return[S,C]}}}},function(g,s,c){"use strict";function r(h){this.value=h}function n(){}function u(h,A,E,S,_){var y=A.popStack(),C=E.length;for(h&&C--;S0&&(E+=", "+S.join(", "));var _=0;p(this.aliases).forEach(function(D){var R=A.aliases[D];R.children&&R.referenceCount>1&&(E+=", alias"+ ++_+"="+D,R.children[0]="alias"+_)}),this.lookupPropertyFunctionIsUsed&&(E+=", "+this.lookupPropertyFunctionVarDeclaration());var y=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&y.push("blockParams"),this.useDepths&&y.push("depths");var C=this.mergeSource(E);return h?(y.push(C),Function.apply(this,y)):this.source.wrap(["function(",y.join(","),`) { +`),this.decorators=this.decorators.merge()));var M=this.createFunctionContext(S);if(this.isChild)return M;var N={compiler:this.compilerInfo(),main:M};this.decorators&&(N.main_d=this.decorators,N.useDecorators=!0);var P=this.context,T=P.programs,I=P.decorators;for(D=0,b=T.length;D0&&(E+=", "+S.join(", "));var _=0;p(this.aliases).forEach(function(D){var b=A.aliases[D];b.children&&b.referenceCount>1&&(E+=", alias"+ ++_+"="+D,b.children[0]="alias"+_)}),this.lookupPropertyFunctionIsUsed&&(E+=", "+this.lookupPropertyFunctionVarDeclaration());var y=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&y.push("blockParams"),this.useDepths&&y.push("depths");var C=this.mergeSource(E);return h?(y.push(C),Function.apply(this,y)):this.source.wrap(["function(",y.join(","),`) { `,C,"}"])},mergeSource:function(h){var A=this.environment.isSimple,E=!this.forceBuffer,S=void 0,_=void 0,y=void 0,C=void 0;return this.source.each(function(D){D.appendToBuffer?(y?D.prepend(" + "):y=D,C=D):(y&&(_?y.prepend("buffer += "):S=!0,C.add(";"),y=C=void 0),_=!0,A||(E=!1))}),E?y?(y.prepend("return "),C.add(";")):_||this.source.push('return "";'):(h+=", buffer = "+(S?"":this.initializeBuffer()),y?(y.prepend("return buffer + "),C.add(";")):this.source.push("return buffer;")),h&&this.source.prepend("var "+h.substring(2)+(S?"":`; `)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { @@ -47,28 +47,28 @@ Expecting `+I.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on l } return undefined } - `.trim()},blockValue:function(h){var A=this.aliasable("container.hooks.blockHelperMissing"),E=[this.contextName(0)];this.setupHelperArgs(h,0,E);var S=this.popStack();E.splice(1,0,S),this.push(this.source.functionCall(A,"call",E))},ambiguousBlockValue:function(){var h=this.aliasable("container.hooks.blockHelperMissing"),A=[this.contextName(0)];this.setupHelperArgs("",0,A,!0),this.flushInline();var E=this.topStack();A.splice(1,0,E),this.pushSource(["if (!",this.lastHelper,") { ",E," = ",this.source.functionCall(h,"call",A),"}"])},appendContent:function(h){this.pendingContent?h=this.pendingContent+h:this.pendingLocation=this.source.currentLocation,this.pendingContent=h},append:function(){if(this.isInline())this.replaceStack(function(A){return[" != null ? ",A,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var h=this.popStack();this.pushSource(["if (",h," != null) { ",this.appendToBuffer(h,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(h){this.lastContext=h},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(h,A,E,S){var _=0;S||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(h[_++])),this.resolvePath("context",h,_,A,E)},lookupBlockParam:function(h,A){this.useBlockParams=!0,this.push(["blockParams[",h[0],"][",h[1],"]"]),this.resolvePath("context",A,1)},lookupData:function(h,A,E){h?this.pushStackLiteral("container.data(data, "+h+")"):this.pushStackLiteral("data"),this.resolvePath("data",A,0,!0,E)},resolvePath:function(h,A,E,S,_){var y=this;if(this.options.strict||this.options.assumeObjects)return void this.push(l(this.options.strict&&_,this,A,E,h));for(var C=A.length;Ethis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var h=this.inlineStack;this.inlineStack=[];for(var A=0,E=h.length;A{var c,r;c=[s(8934),s(7792),s(2134),s(8663),s(454),s(6981),s(7661),s(8048),s(461),s(1045),s(6525),s(5385)],r=function(n,l,p,a,i,u,v){"use strict";var o=/%20/g,m=/#.*$/,d=/([?&])_=[^&]*/,h=/^(.*?):[ \t]*([^\r\n]*)$/mg,A=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,E=/^(?:GET|HEAD)$/,S=/^\/\//,_={},y={},C="*/".concat("*"),D=l.createElement("a");D.href=i.href;function R(I){return function(B,W){typeof B!="string"&&(W=B,B="*");var G,O=0,k=B.toLowerCase().match(a)||[];if(p(W))for(;G=k[O++];)G[0]==="+"?(G=G.slice(1)||"*",(I[G]=I[G]||[]).unshift(W)):(I[G]=I[G]||[]).push(W)}}function M(I,B,W,G){var O={},k=I===y;function $(z){var U;return O[z]=!0,n.each(I[z]||[],function(j,it){var ft=it(B,W,G);if(typeof ft=="string"&&!k&&!O[ft])return B.dataTypes.unshift(ft),$(ft),!1;if(k)return!(U=ft)}),U}return $(B.dataTypes[0])||!O["*"]&&$("*")}function N(I,B){var W,G,O=n.ajaxSettings.flatOptions||{};for(W in B)B[W]!==void 0&&((O[W]?I:G||(G={}))[W]=B[W]);return G&&n.extend(!0,I,G),I}function P(I,B,W){for(var G,O,k,$,z=I.contents,U=I.dataTypes;U[0]==="*";)U.shift(),G===void 0&&(G=I.mimeType||B.getResponseHeader("Content-Type"));if(G){for(O in z)if(z[O]&&z[O].test(G)){U.unshift(O);break}}if(U[0]in W)k=U[0];else{for(O in W){if(!U[0]||I.converters[O+" "+U[0]]){k=O;break}$||($=O)}k=k||$}if(k)return k!==U[0]&&U.unshift(k),W[k]}function T(I,B,W,G){var O,k,$,z,U,j={},it=I.dataTypes.slice();if(it[1])for($ in I.converters)j[$.toLowerCase()]=I.converters[$];for(k=it.shift();k;)if(I.responseFields[k]&&(W[I.responseFields[k]]=B),!U&&G&&I.dataFilter&&(B=I.dataFilter(B,I.dataType)),U=k,k=it.shift(),k){if(k==="*")k=U;else if(U!=="*"&&U!==k){if($=j[U+" "+k]||j["* "+k],!$){for(O in j)if(z=O.split(" "),z[1]===k&&($=j[U+" "+z[0]]||j["* "+z[0]],$)){$===!0?$=j[O]:j[O]!==!0&&(k=z[0],it.unshift(z[1]));break}}if($!==!0)if($&&I.throws)B=$(B);else try{B=$(B)}catch(ft){return{state:"parsererror",error:$?ft:"No conversion from "+U+" to "+k}}}}return{state:"success",data:B}}return n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:i.href,type:"GET",isLocal:A.test(i.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":C,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(I,B){return B?N(N(I,n.ajaxSettings),B):N(n.ajaxSettings,I)},ajaxPrefilter:R(_),ajaxTransport:R(y),ajax:function(I,B){typeof I=="object"&&(B=I,I=void 0),B=B||{};var W,G,O,k,$,z,U,j,it,ft,Z=n.ajaxSetup({},B),At=Z.context||Z,yt=Z.context&&(At.nodeType||At.jquery)?n(At):n.event,xt=n.Deferred(),qt=n.Callbacks("once memory"),he=Z.statusCode||{},Ae={},ye={},be="canceled",ht={readyState:0,getResponseHeader:function(St){var Mt;if(U){if(!k)for(k={};Mt=h.exec(O);)k[Mt[1].toLowerCase()+" "]=(k[Mt[1].toLowerCase()+" "]||[]).concat(Mt[2]);Mt=k[St.toLowerCase()+" "]}return Mt==null?null:Mt.join(", ")},getAllResponseHeaders:function(){return U?O:null},setRequestHeader:function(St,Mt){return U==null&&(St=ye[St.toLowerCase()]=ye[St.toLowerCase()]||St,Ae[St]=Mt),this},overrideMimeType:function(St){return U==null&&(Z.mimeType=St),this},statusCode:function(St){var Mt;if(St)if(U)ht.always(St[ht.status]);else for(Mt in St)he[Mt]=[he[Mt],St[Mt]];return this},abort:function(St){var Mt=St||be;return W&&W.abort(Mt),Rt(0,Mt),this}};if(xt.promise(ht),Z.url=((I||Z.url||i.href)+"").replace(S,i.protocol+"//"),Z.type=B.method||B.type||Z.method||Z.type,Z.dataTypes=(Z.dataType||"*").toLowerCase().match(a)||[""],Z.crossDomain==null){z=l.createElement("a");try{z.href=Z.url,z.href=z.href,Z.crossDomain=D.protocol+"//"+D.host!=z.protocol+"//"+z.host}catch(St){Z.crossDomain=!0}}if(Z.data&&Z.processData&&typeof Z.data!="string"&&(Z.data=n.param(Z.data,Z.traditional)),M(_,Z,B,ht),U)return ht;j=n.event&&Z.global,j&&n.active++===0&&n.event.trigger("ajaxStart"),Z.type=Z.type.toUpperCase(),Z.hasContent=!E.test(Z.type),G=Z.url.replace(m,""),Z.hasContent?Z.data&&Z.processData&&(Z.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Z.data=Z.data.replace(o,"+")):(ft=Z.url.slice(G.length),Z.data&&(Z.processData||typeof Z.data=="string")&&(G+=(v.test(G)?"&":"?")+Z.data,delete Z.data),Z.cache===!1&&(G=G.replace(d,"$1"),ft=(v.test(G)?"&":"?")+"_="+u.guid+++ft),Z.url=G+ft),Z.ifModified&&(n.lastModified[G]&&ht.setRequestHeader("If-Modified-Since",n.lastModified[G]),n.etag[G]&&ht.setRequestHeader("If-None-Match",n.etag[G])),(Z.data&&Z.hasContent&&Z.contentType!==!1||B.contentType)&&ht.setRequestHeader("Content-Type",Z.contentType),ht.setRequestHeader("Accept",Z.dataTypes[0]&&Z.accepts[Z.dataTypes[0]]?Z.accepts[Z.dataTypes[0]]+(Z.dataTypes[0]!=="*"?", "+C+"; q=0.01":""):Z.accepts["*"]);for(it in Z.headers)ht.setRequestHeader(it,Z.headers[it]);if(Z.beforeSend&&(Z.beforeSend.call(At,ht,Z)===!1||U))return ht.abort();if(be="abort",qt.add(Z.complete),ht.done(Z.success),ht.fail(Z.error),W=M(y,Z,B,ht),!W)Rt(-1,"No Transport");else{if(ht.readyState=1,j&&yt.trigger("ajaxSend",[ht,Z]),U)return ht;Z.async&&Z.timeout>0&&($=window.setTimeout(function(){ht.abort("timeout")},Z.timeout));try{U=!1,W.send(Ae,Rt)}catch(St){if(U)throw St;Rt(-1,St)}}function Rt(St,Mt,de,Ue){var ee,Lt,pt,It,Tt,q=Mt;U||(U=!0,$&&window.clearTimeout($),W=void 0,O=Ue||"",ht.readyState=St>0?4:0,ee=St>=200&&St<300||St===304,de&&(It=P(Z,ht,de)),!ee&&n.inArray("script",Z.dataTypes)>-1&&n.inArray("json",Z.dataTypes)<0&&(Z.converters["text script"]=function(){}),It=T(Z,It,ht,ee),ee?(Z.ifModified&&(Tt=ht.getResponseHeader("Last-Modified"),Tt&&(n.lastModified[G]=Tt),Tt=ht.getResponseHeader("etag"),Tt&&(n.etag[G]=Tt)),St===204||Z.type==="HEAD"?q="nocontent":St===304?q="notmodified":(q=It.state,Lt=It.data,pt=It.error,ee=!pt)):(pt=q,(St||!q)&&(q="error",St<0&&(St=0))),ht.status=St,ht.statusText=(Mt||q)+"",ee?xt.resolveWith(At,[Lt,q,ht]):xt.rejectWith(At,[ht,q,pt]),ht.statusCode(he),he=void 0,j&&yt.trigger(ee?"ajaxSuccess":"ajaxError",[ht,Z,ee?Lt:pt]),qt.fireWith(At,[ht,q]),j&&(yt.trigger("ajaxComplete",[ht,Z]),--n.active||n.event.trigger("ajaxStop")))}return ht},getJSON:function(I,B,W){return n.get(I,B,W,"json")},getScript:function(I,B){return n.get(I,void 0,B,"script")}}),n.each(["get","post"],function(I,B){n[B]=function(W,G,O,k){return p(G)&&(k=k||O,O=G,G=void 0),n.ajax(n.extend({url:W,type:B,dataType:k,data:G,success:O},n.isPlainObject(W)&&W))}}),n.ajaxPrefilter(function(I){var B;for(B in I.headers)B.toLowerCase()==="content-type"&&(I.contentType=I.headers[B]||"")}),n}.apply(g,c),r!==void 0&&(w.exports=r)},7533:(w,g,s)=>{var c,r;c=[s(8934),s(2134),s(6981),s(7661),s(7178)],r=function(n,l,p,a){"use strict";var i=[],u=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var v=i.pop()||n.expando+"_"+p.guid++;return this[v]=!0,v}}),n.ajaxPrefilter("json jsonp",function(v,o,m){var d,h,A,E=v.jsonp!==!1&&(u.test(v.url)?"url":typeof v.data=="string"&&(v.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&u.test(v.data)&&"data");if(E||v.dataTypes[0]==="jsonp")return d=v.jsonpCallback=l(v.jsonpCallback)?v.jsonpCallback():v.jsonpCallback,E?v[E]=v[E].replace(u,"$1"+d):v.jsonp!==!1&&(v.url+=(a.test(v.url)?"&":"?")+v.jsonp+"="+d),v.converters["script json"]=function(){return A||n.error(d+" was not called"),A[0]},v.dataTypes[0]="json",h=window[d],window[d]=function(){A=arguments},m.always(function(){h===void 0?n(window).removeProp(d):window[d]=h,v[d]&&(v.jsonpCallback=o.jsonpCallback,i.push(d)),A&&l(h)&&h(A[0]),A=h=void 0}),"script"})}.apply(g,c),r!==void 0&&(w.exports=r)},4581:(w,g,s)=>{var c,r;c=[s(8934),s(4552),s(2134),s(2889),s(7178),s(8482),s(2632),s(655)],r=function(n,l,p){"use strict";n.fn.load=function(a,i,u){var v,o,m,d=this,h=a.indexOf(" ");return h>-1&&(v=l(a.slice(h)),a=a.slice(0,h)),p(i)?(u=i,i=void 0):i&&typeof i=="object"&&(o="POST"),d.length>0&&n.ajax({url:a,type:o||"GET",dataType:"html",data:i}).done(function(A){m=arguments,d.html(v?n("
").append(n.parseHTML(A)).find(v):A)}).always(u&&function(A,E){d.each(function(){u.apply(this,m||[A.responseText,E,A])})}),this}}.apply(g,c),r!==void 0&&(w.exports=r)},5488:(w,g,s)=>{var c,r;c=[s(8934),s(7792),s(7178)],r=function(n,l){"use strict";n.ajaxPrefilter(function(p){p.crossDomain&&(p.contents.script=!1)}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(p){return n.globalEval(p),p}}}),n.ajaxPrefilter("script",function(p){p.cache===void 0&&(p.cache=!1),p.crossDomain&&(p.type="GET")}),n.ajaxTransport("script",function(p){if(p.crossDomain||p.scriptAttrs){var a,i;return{send:function(u,v){a=n(" + diff --git a/routes/api/v1/API.js b/routes/api/v1/API.js index a0b59d5..b28a7af 100644 --- a/routes/api/v1/API.js +++ b/routes/api/v1/API.js @@ -23,23 +23,23 @@ const {authenticateAPI} = require('../../../src/auth') const {updateValidator, searchValidator} = require('../../../src/validator') /** - * @api {GET} /api/v1/randomCodes get the randomCodes + * @api {GET} /api/v1/randomCodes GET: get the random Code files * @apiName randomCodes * @apiDescription api to get the Random Code files present in code base * @apiVersion 1.0.0 * * @apiGroup randomCodes - * @apiSuccess (Success Response) {Number} status 200 (Status Code) - * @apiSuccess (Success Response) {Object} codeObject1 First CodeObject - * @apiSuccess (Success Response) {Object} codeObject2 Second CodeObject - * @apiSuccess (Success Response) {String} accessToken Access Token for the secured APIs + * @apiSuccess (200 Success Response) {Number} status 200 (Status Code) + * @apiSuccess (200 Success Response) {Object} codeObject1 First CodeObject + * @apiSuccess (200 Success Response) {Object} codeObject2 Second CodeObject + * @apiSuccess (200 Success Response) {String} accessToken Access Token for the secured APIs * @apiSuccess (CodeObject) {String} codeId unique code Id * @apiSuccess (CodeObject) {Number} codeRating current code rating of the file * @apiSuccess (CodeObject) {String} codeUrl file URL of the code file * @apiSuccess (CodeObject) {String} codeName file name of the code file * @apiSuccess (CodeObject) {String} content content of the code file * - * @apiSuccessExample {json} Example + * @apiSuccessExample {json} Success Response Example * * { * "status": 200, @@ -69,7 +69,7 @@ const {updateValidator, searchValidator} = require('../../../src/validator') /** * @copyright TECHOUS * @since 28 June 2021 - * @url http://localhost:5000/api/v1/randomCodes + * @url /api/v1/randomCodes * @access public * @author gaurav **/ @@ -152,51 +152,98 @@ router.get('/randomCodes', async (req, res, next) => { }) /** - * @endpoint /api/v1/rateCode - * @description API to generate the rating for the winner and update + * @api {PUT} /api/v1/rateCode PUT: rate the code file + * @apiName rateCode + * @apiDescription api to rate the Random Code files present in code base + * @apiVersion 1.0.0 + * @apiBody {Number} winner Marked winner 1 or 2 + * @apiBody {String} codeId1 code Id for code 1 + * @apiBody {String} codeId2 code Id for code 2 + * @apiBody {String} codeRatingEngineToken Access token received from randomCodes request + * + * @apiGroup rateCode + * @apiSuccess (200 Success Response) {Object} update1 First UpdatedCodeObject + * @apiSuccess (200 Success Response) {Object} update2 Second UpdatedCodeObject + * @apiSuccess (200 Success Response) {Number} status 200 (Status Code) + * @apiSuccess (200 Success Response) {String} message Code Ratings are updated + * @apiSuccess (UpdatedCodeObject) {String} codeId unique code Id + * @apiSuccess (UpdatedCodeObject) {Number} codeRating updated code rating of the file + * @apiSuccess (UpdatedCodeObject) {String} codeUrl file URL of the code file + * @apiSuccess (UpdatedCodeObject) {String} codeName file name of the code file + * @apiSuccess (UpdatedCodeObject) {String} userName user name of the contributed user + * + * @apiSuccessExample {json} Success Response Example + * + * { + * "update1": { + * "codeId": "55dfc162f8163243c9c7e155e9a9a26b9528be73", + * "codeRating": 2369, + * "codeUrl": "https://api.github.com/repos/..../CodeBase/SelectionSort.java", + * "codeName": "SelectionSort.java", + * "userName": "GauravWalia19", + * }, + * "update2": { + * "codeId": "489e8fe91b2db73cc0f8f78b831fabb1b927d2b5", + * "codeRating": 2235, + * "codeUrl": "https://api.github.com/repos/..../CodeBase/LinearSearch.c", + * "codeName": "LinearSearch.c", + * "userName": "GauravWalia19", + * }, + * "status": 200, + * "message": "Code Ratings are updated" + * } + * + * @apiError (4xx Error Response) {Number} 429 Too many requests, please try again later!!! + * @apiError (4xx Error Response) {Number} 405 Method not Allowed + * @apiError (4xx Error Response) {Number} 401 Invalid Token !! Please send the valid token + * @apiError (4xx Error Response) {Number} 400 Bad Request + * @apiError (500 Error Response) {Number} 500 Internal Server Error + **/ +/** * @copyright TECHOUS * @since 4 July 2021 - * @method PUT + * @url /api/v1/rateCode * @access private - * * @author gaurav - * @return - * { - * "update1":{}, - * "update2":{}, - * "status": 200, - * "message": "" - * } **/ -router.put('/rateCode', authenticateAPI, updateValidator, async (req, res) => { - const {codeId1, codeId2, winner} = req.body +router.put( + '/rateCode', + authenticateAPI, + updateValidator, + async (req, res, next) => { + try { + const {codeId1, codeId2, winner} = req.body - const codeBaseFiles = await getCodeBaseFilesRating(codeId1, codeId2) - let codeRating1 = 0 - let codeRating2 = 0 - codeBaseFiles.map((codeBaseFile) => { - if (codeBaseFile.codeId === codeId1) { - codeRating1 = codeBaseFile.codeRating - } else if (codeBaseFile.codeId === codeId2) { - codeRating2 = codeBaseFile.codeRating + const codeBaseFiles = await getCodeBaseFilesRating(codeId1, codeId2) + let codeRating1 = 0 + let codeRating2 = 0 + codeBaseFiles.map((codeBaseFile) => { + if (codeBaseFile.codeId === codeId1) { + codeRating1 = codeBaseFile.codeRating + } else if (codeBaseFile.codeId === codeId2) { + codeRating2 = codeBaseFile.codeRating + } + }) + const updateResult = await rateCodeAndUpdate({ + codeId1, + codeId2, + codeRating1, + codeRating2, + winner, + }).catch((e) => { + return res.status(400).json({ + status: 400, + message: 'Bad Request!!!', + }) + }) + updateResult.status = 200 + updateResult.message = 'Code Ratings are updated' + res.status(200).json(updateResult) + } catch (err) { + next(err) } - }) - const updateResult = await rateCodeAndUpdate({ - codeId1, - codeId2, - codeRating1, - codeRating2, - winner, - }).catch((err) => { - return res.status(400).json({ - status: 400, - message: 'Bad Request!!!', - }) - }) - updateResult.status = 200 - updateResult.message = 'Code Ratings are updated' - res.status(200).json(updateResult) -}) + }, +) /** * @endpoint /api/v1/searchUser?username=__ diff --git a/src/errorHandler.js b/src/errorHandler.js index b29b989..1bb8c7c 100644 --- a/src/errorHandler.js +++ b/src/errorHandler.js @@ -16,6 +16,16 @@ function requestMethodHandler(req, res, next) { message: 'Method not allowed', }) } + break + case '/api/v1/rateCode': + if (req.method !== 'PUT') { + res.set('Allow', 'PUT') + return res.status(405).json({ + status: 405, + message: 'Method not allowed', + }) + } + break } next() }