diff --git a/apidoc/assets/main.bundle.js b/apidoc/assets/main.bundle.js index b399139..2fa6a9d 100644 --- a/apidoc/assets/main.bundle.js +++ b/apidoc/assets/main.bundle.js @@ -1,8 +1,8 @@ -(()=>{var qa={3423:()=>{+function(C){"use strict";var g=".dropdown-backdrop",i='[data-toggle="dropdown"]',u=function(h){C(h).on("click.bs.dropdown",this.toggle)};u.VERSION="3.4.1";function r(h){var o=h.attr("data-target");o||(o=h.attr("href"),o=o&&/#[A-Za-z]/.test(o)&&o.replace(/.*(?=#[^\s]*$)/,""));var c=o!=="#"?C(document).find(o):null;return c&&c.length?c:h.parent()}function n(h){h&&h.which===3||(C(g).remove(),C(i).each(function(){var o=C(this),c=r(o),E={relatedTarget:this};c.hasClass("open")&&(h&&h.type=="click"&&/input|textarea/i.test(h.target.tagName)&&C.contains(c[0],h.target)||(c.trigger(h=C.Event("hide.bs.dropdown",E)),!h.isDefaultPrevented()&&(o.attr("aria-expanded","false"),c.removeClass("open").trigger(C.Event("hidden.bs.dropdown",E)))))}))}u.prototype.toggle=function(h){var o=C(this);if(!o.is(".disabled, :disabled")){var c=r(o),E=c.hasClass("open");if(n(),!E){"ontouchstart"in document.documentElement&&!c.closest(".navbar-nav").length&&C(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(C(this)).on("click",n);var s={relatedTarget:this};if(c.trigger(h=C.Event("show.bs.dropdown",s)),h.isDefaultPrevented())return;o.trigger("focus").attr("aria-expanded","true"),c.toggleClass("open").trigger(C.Event("shown.bs.dropdown",s))}return!1}},u.prototype.keydown=function(h){if(!(!/(38|40|27|32)/.test(h.which)||/input|textarea/i.test(h.target.tagName))){var o=C(this);if(h.preventDefault(),h.stopPropagation(),!o.is(".disabled, :disabled")){var c=r(o),E=c.hasClass("open");if(!E&&h.which!=27||E&&h.which==27)return h.which==27&&c.find(i).trigger("focus"),o.trigger("click");var s=" li:not(.disabled):visible a",v=c.find(".dropdown-menu"+s);if(v.length){var p=v.index(h.target);h.which==38&&p>0&&p--,h.which==40&&p{+function(C){"use strict";var g=function(r,n){this.init("popover",r,n)};if(!C.fn.tooltip)throw new Error("Popover requires tooltip.js");g.VERSION="3.4.1",g.DEFAULTS=C.extend({},C.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),g.prototype=C.extend({},C.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 d=typeof l;this.options.sanitize&&(n=this.sanitizeHtml(n),d==="string"&&(l=this.sanitizeHtml(l))),r.find(".popover-title").html(n),r.find(".popover-content").children().detach().end()[d==="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 i(r){return this.each(function(){var n=C(this),l=n.data("bs.popover"),d=typeof r=="object"&&r;!l&&/destroy|hide/.test(r)||(l||n.data("bs.popover",l=new g(this,d)),typeof r=="string"&&l[r]())})}var u=C.fn.popover;C.fn.popover=i,C.fn.popover.Constructor=g,C.fn.popover.noConflict=function(){return C.fn.popover=u,this}}(jQuery)},5637:()=>{+function(C){"use strict";function g(r,n){this.$body=C(document.body),this.$scrollElement=C(r).is(document.body)?C(window):C(r),this.options=C.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",C.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(),C.isWindow(this.$scrollElement[0])||(n="position",l=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var d=C(this),h=d.data("target")||d.attr("href"),o=/^#./.test(h)&&C(h);return o&&o.length&&o.is(":visible")&&[[o[n]().top+l,h]]||null}).sort(function(d,h){return d[0]-h[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(),d=this.offsets,h=this.targets,o=this.activeTarget,c;if(this.scrollHeight!=n&&this.refresh(),r>=l)return o!=(c=h[h.length-1])&&this.activate(c);if(o&&r=d[c]&&(d[c+1]===void 0||r{+function(C){"use strict";var g=function(n){this.element=C(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)"),d=n.data("target");if(d||(d=n.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!n.parent("li").hasClass("active")){var h=l.find(".active:last a"),o=C.Event("hide.bs.tab",{relatedTarget:n[0]}),c=C.Event("show.bs.tab",{relatedTarget:h[0]});if(h.trigger(o),n.trigger(c),!(c.isDefaultPrevented()||o.isDefaultPrevented())){var E=C(document).find(d);this.activate(n.closest("li"),l),this.activate(E,E.parent(),function(){h.trigger({type:"hidden.bs.tab",relatedTarget:n[0]}),n.trigger({type:"shown.bs.tab",relatedTarget:h[0]})})}}},g.prototype.activate=function(n,l,d){var h=l.find("> .active"),o=d&&C.support.transition&&(h.length&&h.hasClass("fade")||!!l.find("> .fade").length);function c(){h.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),o?(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),d&&d()}h.length&&o?h.one("bsTransitionEnd",c).emulateTransitionEnd(g.TRANSITION_DURATION):c(),h.removeClass("in")};function i(n){return this.each(function(){var l=C(this),d=l.data("bs.tab");d||l.data("bs.tab",d=new g(this)),typeof n=="string"&&d[n]()})}var u=C.fn.tab;C.fn.tab=i,C.fn.tab.Constructor=g,C.fn.tab.noConflict=function(){return C.fn.tab=u,this};var r=function(n){n.preventDefault(),i.call(C(this),"show")};C(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery)},2487:()=>{+function(C){"use strict";var g=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],u=/^aria-[\w-]*$/i,r={"*":["class","dir","id","lang","role",u],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 d(s,v){var p=s.nodeName.toLowerCase();if(C.inArray(p,v)!==-1)return C.inArray(p,i)!==-1?Boolean(s.nodeValue.match(n)||s.nodeValue.match(l)):!0;for(var f=C(v).filter(function(S,_){return _ instanceof RegExp}),y=0,m=f.length;y
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:r},o.prototype.init=function(s,v,p){if(this.enabled=!0,this.type=s,this.$element=C(v),this.options=this.getOptions(p),this.$viewport=this.options.viewport&&C(document).find(C.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 f=this.options.trigger.split(" "),y=f.length;y--;){var m=f[y];if(m=="click")this.$element.on("click."+this.type,this.options.selector,C.proxy(this.toggle,this));else if(m!="manual"){var S=m=="hover"?"mouseenter":"focusin",_=m=="hover"?"mouseleave":"focusout";this.$element.on(S+"."+this.type,this.options.selector,C.proxy(this.enter,this)),this.$element.on(_+"."+this.type,this.options.selector,C.proxy(this.leave,this))}}this.options.selector?this._options=C.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.getOptions=function(s){var v=this.$element.data();for(var p in v)v.hasOwnProperty(p)&&C.inArray(p,g)!==-1&&delete v[p];return s=C.extend({},this.getDefaults(),v,s),s.delay&&typeof s.delay=="number"&&(s.delay={show:s.delay,hide:s.delay}),s.sanitize&&(s.template=h(s.template,s.whiteList,s.sanitizeFn)),s},o.prototype.getDelegateOptions=function(){var s={},v=this.getDefaults();return this._options&&C.each(this._options,function(p,f){v[p]!=f&&(s[p]=f)}),s},o.prototype.enter=function(s){var v=s instanceof this.constructor?s:C(s.currentTarget).data("bs."+this.type);if(v||(v=new this.constructor(s.currentTarget,this.getDelegateOptions()),C(s.currentTarget).data("bs."+this.type,v)),s instanceof C.Event&&(v.inState[s.type=="focusin"?"focus":"hover"]=!0),v.tip().hasClass("in")||v.hoverState=="in"){v.hoverState="in";return}if(clearTimeout(v.timeout),v.hoverState="in",!v.options.delay||!v.options.delay.show)return v.show();v.timeout=setTimeout(function(){v.hoverState=="in"&&v.show()},v.options.delay.show)},o.prototype.isInStateTrue=function(){for(var s in this.inState)if(this.inState[s])return!0;return!1},o.prototype.leave=function(s){var v=s instanceof this.constructor?s:C(s.currentTarget).data("bs."+this.type);if(v||(v=new this.constructor(s.currentTarget,this.getDelegateOptions()),C(s.currentTarget).data("bs."+this.type,v)),s instanceof C.Event&&(v.inState[s.type=="focusout"?"focus":"hover"]=!1),!v.isInStateTrue()){if(clearTimeout(v.timeout),v.hoverState="out",!v.options.delay||!v.options.delay.hide)return v.hide();v.timeout=setTimeout(function(){v.hoverState=="out"&&v.hide()},v.options.delay.hide)}},o.prototype.show=function(){var s=C.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(s);var v=C.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(s.isDefaultPrevented()||!v)return;var p=this,f=this.tip(),y=this.getUID(this.type);this.setContent(),f.attr("id",y),this.$element.attr("aria-describedby",y),this.options.animation&&f.addClass("fade");var m=typeof this.options.placement=="function"?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,S=/\s?auto?\s?/i,_=S.test(m);_&&(m=m.replace(S,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(m).data("bs."+this.type,this),this.options.container?f.appendTo(C(document).find(this.options.container)):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var A=this.getPosition(),w=f[0].offsetWidth,D=f[0].offsetHeight;if(_){var N=m,B=this.getPosition(this.$viewport);m=m=="bottom"&&A.bottom+D>B.bottom?"top":m=="top"&&A.top-DB.width?"left":m=="left"&&A.left-wS.top+S.height&&(y.top=S.top+S.height-A)}else{var w=v.left-m,D=v.left+m+p;wS.right&&(y.left=S.left+S.width-D)}return y},o.prototype.getTitle=function(){var s,v=this.$element,p=this.options;return s=v.attr("data-original-title")||(typeof p.title=="function"?p.title.call(v[0]):p.title),s},o.prototype.getUID=function(s){do s+=~~(Math.random()*1e6);while(document.getElementById(s));return s},o.prototype.tip=function(){if(!this.$tip&&(this.$tip=C(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},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},o.prototype.enable=function(){this.enabled=!0},o.prototype.disable=function(){this.enabled=!1},o.prototype.toggleEnabled=function(){this.enabled=!this.enabled},o.prototype.toggle=function(s){var v=this;s&&(v=C(s.currentTarget).data("bs."+this.type),v||(v=new this.constructor(s.currentTarget,this.getDelegateOptions()),C(s.currentTarget).data("bs."+this.type,v))),s?(v.inState.click=!v.inState.click,v.isInStateTrue()?v.enter(v):v.leave(v)):v.tip().hasClass("in")?v.leave(v):v.enter(v)},o.prototype.destroy=function(){var s=this;clearTimeout(this.timeout),this.hide(function(){s.$element.off("."+s.type).removeData("bs."+s.type),s.$tip&&s.$tip.detach(),s.$tip=null,s.$arrow=null,s.$viewport=null,s.$element=null})},o.prototype.sanitizeHtml=function(s){return h(s,this.options.whiteList,this.options.sanitizeFn)};function c(s){return this.each(function(){var v=C(this),p=v.data("bs.tooltip"),f=typeof s=="object"&&s;!p&&/destroy|hide/.test(s)||(p||v.data("bs.tooltip",p=new o(this,f)),typeof s=="string"&&p[s]())})}var E=C.fn.tooltip;C.fn.tooltip=c,C.fn.tooltip.Constructor=o,C.fn.tooltip.noConflict=function(){return C.fn.tooltip=E,this}}(jQuery)},8364:C=>{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},i=-1,u=1,r=0;g.Diff=function(n,l){return[n,l]},g.prototype.diff_main=function(n,l,d,h){typeof h=="undefined"&&(this.Diff_Timeout<=0?h=Number.MAX_VALUE:h=new Date().getTime()+this.Diff_Timeout*1e3);var o=h;if(n==null||l==null)throw new Error("Null input. (diff_main)");if(n==l)return n?[new g.Diff(r,n)]:[];typeof d=="undefined"&&(d=!0);var c=d,E=this.diff_commonPrefix(n,l),s=n.substring(0,E);n=n.substring(E),l=l.substring(E),E=this.diff_commonSuffix(n,l);var v=n.substring(n.length-E);n=n.substring(0,n.length-E),l=l.substring(0,l.length-E);var p=this.diff_compute_(n,l,c,o);return s&&p.unshift(new g.Diff(r,s)),v&&p.push(new g.Diff(r,v)),this.diff_cleanupMerge(p),p},g.prototype.diff_compute_=function(n,l,d,h){var o;if(!n)return[new g.Diff(u,l)];if(!l)return[new g.Diff(i,n)];var c=n.length>l.length?n:l,E=n.length>l.length?l:n,s=c.indexOf(E);if(s!=-1)return o=[new g.Diff(u,c.substring(0,s)),new g.Diff(r,E),new g.Diff(u,c.substring(s+E.length))],n.length>l.length&&(o[0][0]=o[2][0]=i),o;if(E.length==1)return[new g.Diff(i,n),new g.Diff(u,l)];var v=this.diff_halfMatch_(n,l);if(v){var p=v[0],f=v[1],y=v[2],m=v[3],S=v[4],_=this.diff_main(p,y,d,h),A=this.diff_main(f,m,d,h);return _.concat([new g.Diff(r,S)],A)}return d&&n.length>100&&l.length>100?this.diff_lineMode_(n,l,h):this.diff_bisect_(n,l,h)},g.prototype.diff_lineMode_=function(n,l,d){var h=this.diff_linesToChars_(n,l);n=h.chars1,l=h.chars2;var o=h.lineArray,c=this.diff_main(n,l,!1,d);this.diff_charsToLines_(c,o),this.diff_cleanupSemantic(c),c.push(new g.Diff(r,""));for(var E=0,s=0,v=0,p="",f="";E=1&&v>=1){c.splice(E-s-v,s+v),E=E-s-v;for(var y=this.diff_main(p,f,!1,d),m=y.length-1;m>=0;m--)c.splice(E,0,y[m]);E=E+y.length}v=0,s=0,p="",f="";break}E++}return c.pop(),c},g.prototype.diff_bisect_=function(n,l,d){for(var h=n.length,o=l.length,c=Math.ceil((h+o)/2),E=c,s=2*c,v=new Array(s),p=new Array(s),f=0;fd);D++){for(var N=-D+S;N<=D-_;N+=2){var B=E+N,R;N==-D||N!=D&&v[B-1]h)_+=2;else if(b>o)S+=2;else if(m){var T=E+y-N;if(T>=0&&T=I)return this.diff_bisectSplit_(n,l,R,b,d)}}}for(var F=-D+A;F<=D-w;F+=2){var T=E+F,I;F==-D||F!=D&&p[T-1]h)w+=2;else if(W>o)A+=2;else if(!m){var B=E+y-F;if(B>=0&&B=I)return this.diff_bisectSplit_(n,l,R,b,d)}}}}return[new g.Diff(i,n),new g.Diff(u,l)]},g.prototype.diff_bisectSplit_=function(n,l,d,h,o){var c=n.substring(0,d),E=l.substring(0,h),s=n.substring(d),v=l.substring(h),p=this.diff_main(c,E,!1,o),f=this.diff_main(s,v,!1,o);return p.concat(f)},g.prototype.diff_linesToChars_=function(n,l){var d=[],h={};d[0]="";function o(v){for(var p="",f=0,y=-1,m=d.length;y{var qa={6552:()=>{+function(C){"use strict";var g=".dropdown-backdrop",i='[data-toggle="dropdown"]',u=function(h){C(h).on("click.bs.dropdown",this.toggle)};u.VERSION="3.4.1";function r(h){var o=h.attr("data-target");o||(o=h.attr("href"),o=o&&/#[A-Za-z]/.test(o)&&o.replace(/.*(?=#[^\s]*$)/,""));var c=o!=="#"?C(document).find(o):null;return c&&c.length?c:h.parent()}function n(h){h&&h.which===3||(C(g).remove(),C(i).each(function(){var o=C(this),c=r(o),E={relatedTarget:this};c.hasClass("open")&&(h&&h.type=="click"&&/input|textarea/i.test(h.target.tagName)&&C.contains(c[0],h.target)||(c.trigger(h=C.Event("hide.bs.dropdown",E)),!h.isDefaultPrevented()&&(o.attr("aria-expanded","false"),c.removeClass("open").trigger(C.Event("hidden.bs.dropdown",E)))))}))}u.prototype.toggle=function(h){var o=C(this);if(!o.is(".disabled, :disabled")){var c=r(o),E=c.hasClass("open");if(n(),!E){"ontouchstart"in document.documentElement&&!c.closest(".navbar-nav").length&&C(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(C(this)).on("click",n);var s={relatedTarget:this};if(c.trigger(h=C.Event("show.bs.dropdown",s)),h.isDefaultPrevented())return;o.trigger("focus").attr("aria-expanded","true"),c.toggleClass("open").trigger(C.Event("shown.bs.dropdown",s))}return!1}},u.prototype.keydown=function(h){if(!(!/(38|40|27|32)/.test(h.which)||/input|textarea/i.test(h.target.tagName))){var o=C(this);if(h.preventDefault(),h.stopPropagation(),!o.is(".disabled, :disabled")){var c=r(o),E=c.hasClass("open");if(!E&&h.which!=27||E&&h.which==27)return h.which==27&&c.find(i).trigger("focus"),o.trigger("click");var s=" li:not(.disabled):visible a",v=c.find(".dropdown-menu"+s);if(v.length){var p=v.index(h.target);h.which==38&&p>0&&p--,h.which==40&&p{+function(C){"use strict";var g=function(r,n){this.init("popover",r,n)};if(!C.fn.tooltip)throw new Error("Popover requires tooltip.js");g.VERSION="3.4.1",g.DEFAULTS=C.extend({},C.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),g.prototype=C.extend({},C.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 d=typeof l;this.options.sanitize&&(n=this.sanitizeHtml(n),d==="string"&&(l=this.sanitizeHtml(l))),r.find(".popover-title").html(n),r.find(".popover-content").children().detach().end()[d==="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 i(r){return this.each(function(){var n=C(this),l=n.data("bs.popover"),d=typeof r=="object"&&r;!l&&/destroy|hide/.test(r)||(l||n.data("bs.popover",l=new g(this,d)),typeof r=="string"&&l[r]())})}var u=C.fn.popover;C.fn.popover=i,C.fn.popover.Constructor=g,C.fn.popover.noConflict=function(){return C.fn.popover=u,this}}(jQuery)},2008:()=>{+function(C){"use strict";function g(r,n){this.$body=C(document.body),this.$scrollElement=C(r).is(document.body)?C(window):C(r),this.options=C.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",C.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(),C.isWindow(this.$scrollElement[0])||(n="position",l=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var d=C(this),h=d.data("target")||d.attr("href"),o=/^#./.test(h)&&C(h);return o&&o.length&&o.is(":visible")&&[[o[n]().top+l,h]]||null}).sort(function(d,h){return d[0]-h[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(),d=this.offsets,h=this.targets,o=this.activeTarget,c;if(this.scrollHeight!=n&&this.refresh(),r>=l)return o!=(c=h[h.length-1])&&this.activate(c);if(o&&r=d[c]&&(d[c+1]===void 0||r{+function(C){"use strict";var g=function(n){this.element=C(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)"),d=n.data("target");if(d||(d=n.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!n.parent("li").hasClass("active")){var h=l.find(".active:last a"),o=C.Event("hide.bs.tab",{relatedTarget:n[0]}),c=C.Event("show.bs.tab",{relatedTarget:h[0]});if(h.trigger(o),n.trigger(c),!(c.isDefaultPrevented()||o.isDefaultPrevented())){var E=C(document).find(d);this.activate(n.closest("li"),l),this.activate(E,E.parent(),function(){h.trigger({type:"hidden.bs.tab",relatedTarget:n[0]}),n.trigger({type:"shown.bs.tab",relatedTarget:h[0]})})}}},g.prototype.activate=function(n,l,d){var h=l.find("> .active"),o=d&&C.support.transition&&(h.length&&h.hasClass("fade")||!!l.find("> .fade").length);function c(){h.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),o?(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),d&&d()}h.length&&o?h.one("bsTransitionEnd",c).emulateTransitionEnd(g.TRANSITION_DURATION):c(),h.removeClass("in")};function i(n){return this.each(function(){var l=C(this),d=l.data("bs.tab");d||l.data("bs.tab",d=new g(this)),typeof n=="string"&&d[n]()})}var u=C.fn.tab;C.fn.tab=i,C.fn.tab.Constructor=g,C.fn.tab.noConflict=function(){return C.fn.tab=u,this};var r=function(n){n.preventDefault(),i.call(C(this),"show")};C(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery)},2610:()=>{+function(C){"use strict";var g=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],u=/^aria-[\w-]*$/i,r={"*":["class","dir","id","lang","role",u],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 d(s,v){var p=s.nodeName.toLowerCase();if(C.inArray(p,v)!==-1)return C.inArray(p,i)!==-1?Boolean(s.nodeValue.match(n)||s.nodeValue.match(l)):!0;for(var f=C(v).filter(function(S,_){return _ instanceof RegExp}),y=0,m=f.length;y
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:r},o.prototype.init=function(s,v,p){if(this.enabled=!0,this.type=s,this.$element=C(v),this.options=this.getOptions(p),this.$viewport=this.options.viewport&&C(document).find(C.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 f=this.options.trigger.split(" "),y=f.length;y--;){var m=f[y];if(m=="click")this.$element.on("click."+this.type,this.options.selector,C.proxy(this.toggle,this));else if(m!="manual"){var S=m=="hover"?"mouseenter":"focusin",_=m=="hover"?"mouseleave":"focusout";this.$element.on(S+"."+this.type,this.options.selector,C.proxy(this.enter,this)),this.$element.on(_+"."+this.type,this.options.selector,C.proxy(this.leave,this))}}this.options.selector?this._options=C.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.getOptions=function(s){var v=this.$element.data();for(var p in v)v.hasOwnProperty(p)&&C.inArray(p,g)!==-1&&delete v[p];return s=C.extend({},this.getDefaults(),v,s),s.delay&&typeof s.delay=="number"&&(s.delay={show:s.delay,hide:s.delay}),s.sanitize&&(s.template=h(s.template,s.whiteList,s.sanitizeFn)),s},o.prototype.getDelegateOptions=function(){var s={},v=this.getDefaults();return this._options&&C.each(this._options,function(p,f){v[p]!=f&&(s[p]=f)}),s},o.prototype.enter=function(s){var v=s instanceof this.constructor?s:C(s.currentTarget).data("bs."+this.type);if(v||(v=new this.constructor(s.currentTarget,this.getDelegateOptions()),C(s.currentTarget).data("bs."+this.type,v)),s instanceof C.Event&&(v.inState[s.type=="focusin"?"focus":"hover"]=!0),v.tip().hasClass("in")||v.hoverState=="in"){v.hoverState="in";return}if(clearTimeout(v.timeout),v.hoverState="in",!v.options.delay||!v.options.delay.show)return v.show();v.timeout=setTimeout(function(){v.hoverState=="in"&&v.show()},v.options.delay.show)},o.prototype.isInStateTrue=function(){for(var s in this.inState)if(this.inState[s])return!0;return!1},o.prototype.leave=function(s){var v=s instanceof this.constructor?s:C(s.currentTarget).data("bs."+this.type);if(v||(v=new this.constructor(s.currentTarget,this.getDelegateOptions()),C(s.currentTarget).data("bs."+this.type,v)),s instanceof C.Event&&(v.inState[s.type=="focusout"?"focus":"hover"]=!1),!v.isInStateTrue()){if(clearTimeout(v.timeout),v.hoverState="out",!v.options.delay||!v.options.delay.hide)return v.hide();v.timeout=setTimeout(function(){v.hoverState=="out"&&v.hide()},v.options.delay.hide)}},o.prototype.show=function(){var s=C.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(s);var v=C.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(s.isDefaultPrevented()||!v)return;var p=this,f=this.tip(),y=this.getUID(this.type);this.setContent(),f.attr("id",y),this.$element.attr("aria-describedby",y),this.options.animation&&f.addClass("fade");var m=typeof this.options.placement=="function"?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,S=/\s?auto?\s?/i,_=S.test(m);_&&(m=m.replace(S,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(m).data("bs."+this.type,this),this.options.container?f.appendTo(C(document).find(this.options.container)):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var A=this.getPosition(),w=f[0].offsetWidth,D=f[0].offsetHeight;if(_){var N=m,B=this.getPosition(this.$viewport);m=m=="bottom"&&A.bottom+D>B.bottom?"top":m=="top"&&A.top-DB.width?"left":m=="left"&&A.left-wS.top+S.height&&(y.top=S.top+S.height-A)}else{var w=v.left-m,D=v.left+m+p;wS.right&&(y.left=S.left+S.width-D)}return y},o.prototype.getTitle=function(){var s,v=this.$element,p=this.options;return s=v.attr("data-original-title")||(typeof p.title=="function"?p.title.call(v[0]):p.title),s},o.prototype.getUID=function(s){do s+=~~(Math.random()*1e6);while(document.getElementById(s));return s},o.prototype.tip=function(){if(!this.$tip&&(this.$tip=C(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},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},o.prototype.enable=function(){this.enabled=!0},o.prototype.disable=function(){this.enabled=!1},o.prototype.toggleEnabled=function(){this.enabled=!this.enabled},o.prototype.toggle=function(s){var v=this;s&&(v=C(s.currentTarget).data("bs."+this.type),v||(v=new this.constructor(s.currentTarget,this.getDelegateOptions()),C(s.currentTarget).data("bs."+this.type,v))),s?(v.inState.click=!v.inState.click,v.isInStateTrue()?v.enter(v):v.leave(v)):v.tip().hasClass("in")?v.leave(v):v.enter(v)},o.prototype.destroy=function(){var s=this;clearTimeout(this.timeout),this.hide(function(){s.$element.off("."+s.type).removeData("bs."+s.type),s.$tip&&s.$tip.detach(),s.$tip=null,s.$arrow=null,s.$viewport=null,s.$element=null})},o.prototype.sanitizeHtml=function(s){return h(s,this.options.whiteList,this.options.sanitizeFn)};function c(s){return this.each(function(){var v=C(this),p=v.data("bs.tooltip"),f=typeof s=="object"&&s;!p&&/destroy|hide/.test(s)||(p||v.data("bs.tooltip",p=new o(this,f)),typeof s=="string"&&p[s]())})}var E=C.fn.tooltip;C.fn.tooltip=c,C.fn.tooltip.Constructor=o,C.fn.tooltip.noConflict=function(){return C.fn.tooltip=E,this}}(jQuery)},69:C=>{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},i=-1,u=1,r=0;g.Diff=function(n,l){return[n,l]},g.prototype.diff_main=function(n,l,d,h){typeof h=="undefined"&&(this.Diff_Timeout<=0?h=Number.MAX_VALUE:h=new Date().getTime()+this.Diff_Timeout*1e3);var o=h;if(n==null||l==null)throw new Error("Null input. (diff_main)");if(n==l)return n?[new g.Diff(r,n)]:[];typeof d=="undefined"&&(d=!0);var c=d,E=this.diff_commonPrefix(n,l),s=n.substring(0,E);n=n.substring(E),l=l.substring(E),E=this.diff_commonSuffix(n,l);var v=n.substring(n.length-E);n=n.substring(0,n.length-E),l=l.substring(0,l.length-E);var p=this.diff_compute_(n,l,c,o);return s&&p.unshift(new g.Diff(r,s)),v&&p.push(new g.Diff(r,v)),this.diff_cleanupMerge(p),p},g.prototype.diff_compute_=function(n,l,d,h){var o;if(!n)return[new g.Diff(u,l)];if(!l)return[new g.Diff(i,n)];var c=n.length>l.length?n:l,E=n.length>l.length?l:n,s=c.indexOf(E);if(s!=-1)return o=[new g.Diff(u,c.substring(0,s)),new g.Diff(r,E),new g.Diff(u,c.substring(s+E.length))],n.length>l.length&&(o[0][0]=o[2][0]=i),o;if(E.length==1)return[new g.Diff(i,n),new g.Diff(u,l)];var v=this.diff_halfMatch_(n,l);if(v){var p=v[0],f=v[1],y=v[2],m=v[3],S=v[4],_=this.diff_main(p,y,d,h),A=this.diff_main(f,m,d,h);return _.concat([new g.Diff(r,S)],A)}return d&&n.length>100&&l.length>100?this.diff_lineMode_(n,l,h):this.diff_bisect_(n,l,h)},g.prototype.diff_lineMode_=function(n,l,d){var h=this.diff_linesToChars_(n,l);n=h.chars1,l=h.chars2;var o=h.lineArray,c=this.diff_main(n,l,!1,d);this.diff_charsToLines_(c,o),this.diff_cleanupSemantic(c),c.push(new g.Diff(r,""));for(var E=0,s=0,v=0,p="",f="";E=1&&v>=1){c.splice(E-s-v,s+v),E=E-s-v;for(var y=this.diff_main(p,f,!1,d),m=y.length-1;m>=0;m--)c.splice(E,0,y[m]);E=E+y.length}v=0,s=0,p="",f="";break}E++}return c.pop(),c},g.prototype.diff_bisect_=function(n,l,d){for(var h=n.length,o=l.length,c=Math.ceil((h+o)/2),E=c,s=2*c,v=new Array(s),p=new Array(s),f=0;fd);D++){for(var N=-D+S;N<=D-_;N+=2){var B=E+N,R;N==-D||N!=D&&v[B-1]h)_+=2;else if(b>o)S+=2;else if(m){var T=E+y-N;if(T>=0&&T=I)return this.diff_bisectSplit_(n,l,R,b,d)}}}for(var F=-D+A;F<=D-w;F+=2){var T=E+F,I;F==-D||F!=D&&p[T-1]h)w+=2;else if(W>o)A+=2;else if(!m){var B=E+y-F;if(B>=0&&B=I)return this.diff_bisectSplit_(n,l,R,b,d)}}}}return[new g.Diff(i,n),new g.Diff(u,l)]},g.prototype.diff_bisectSplit_=function(n,l,d,h,o){var c=n.substring(0,d),E=l.substring(0,h),s=n.substring(d),v=l.substring(h),p=this.diff_main(c,E,!1,o),f=this.diff_main(s,v,!1,o);return p.concat(f)},g.prototype.diff_linesToChars_=function(n,l){var d=[],h={};d[0]="";function o(v){for(var p="",f=0,y=-1,m=d.length;yh?n=n.substring(d-h):dl.length?n:l,h=n.length>l.length?l:n;if(d.length<4||h.length*2=_.length?[R,b,T,I,B]:null}var E=c(d,h,Math.ceil(d.length/4)),s=c(d,h,Math.ceil(d.length/2)),v;if(!E&&!s)return null;s?E?v=E[4].length>s[4].length?E:s:v=s:v=E;var p,f,y,m;n.length>l.length?(p=v[0],f=v[1],y=v[2],m=v[3]):(y=v[0],m=v[1],p=v[2],f=v[3]);var S=v[4];return[p,f,y,m,S]},g.prototype.diff_cleanupSemantic=function(n){for(var l=!1,d=[],h=0,o=null,c=0,E=0,s=0,v=0,p=0;c0?d[h-1]:-1,E=0,s=0,v=0,p=0,o=null,l=!0)),c++;for(l&&this.diff_cleanupMerge(n),this.diff_cleanupSemanticLossless(n),c=1;c=S?(m>=f.length/2||m>=y.length/2)&&(n.splice(c,0,new g.Diff(r,y.substring(0,m))),n[c-1][1]=f.substring(0,f.length-m),n[c+1][1]=y.substring(m),c++):(S>=f.length/2||S>=y.length/2)&&(n.splice(c,0,new g.Diff(r,f.substring(0,S))),n[c-1][0]=u,n[c-1][1]=y.substring(0,y.length-S),n[c+1][0]=i,n[c+1][1]=f.substring(S),c++),c++}c++}},g.prototype.diff_cleanupSemanticLossless=function(n){function l(S,_){if(!S||!_)return 6;var A=S.charAt(S.length-1),w=_.charAt(0),D=A.match(g.nonAlphaNumericRegex_),N=w.match(g.nonAlphaNumericRegex_),B=D&&A.match(g.whitespaceRegex_),R=N&&w.match(g.whitespaceRegex_),b=B&&A.match(g.linebreakRegex_),T=R&&w.match(g.linebreakRegex_),I=b&&S.match(g.blanklineEndRegex_),F=T&&_.match(g.blanklineStartRegex_);return I||F?5:b||T?4:D&&!B&&R?3:B||R?2:D||N?1:0}for(var d=1;d=y&&(y=m,v=h,p=o,f=c)}n[d-1][1]!=v&&(v?n[d-1][1]=v:(n.splice(d-1,1),d--),n[d][1]=p,f?n[d+1][1]=f:(n.splice(d+1,1),d--))}d++}},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,d=[],h=0,o=null,c=0,E=!1,s=!1,v=!1,p=!1;c0?d[h-1]:-1,v=p=!1),l=!0)),c++;l&&this.diff_cleanupMerge(n)},g.prototype.diff_cleanupMerge=function(n){n.push(new g.Diff(r,""));for(var l=0,d=0,h=0,o="",c="",E;l1?(d!==0&&h!==0&&(E=this.diff_commonPrefix(c,o),E!==0&&(l-d-h>0&&n[l-d-h-1][0]==r?n[l-d-h-1][1]+=c.substring(0,E):(n.splice(0,0,new g.Diff(r,c.substring(0,E))),l++),c=c.substring(E),o=o.substring(E)),E=this.diff_commonSuffix(c,o),E!==0&&(n[l][1]=c.substring(c.length-E)+n[l][1],c=c.substring(0,c.length-E),o=o.substring(0,o.length-E))),l-=d+h,n.splice(l,d+h),o.length&&(n.splice(l,0,new g.Diff(i,o)),l++),c.length&&(n.splice(l,0,new g.Diff(u,c)),l++),l++):l!==0&&n[l-1][0]==r?(n[l-1][1]+=n[l][1],n.splice(l,1)):l++,h=0,d=0,o="",c="";break}n[n.length-1][1]===""&&n.pop();var s=!1;for(l=1;ll));E++)o=d,c=h;return n.length!=E&&n[E][0]===i?c:c+(l-o)},g.prototype.diff_prettyHtml=function(n){for(var l=[],d=/&/g,h=//g,c=/\n/g,E=0;E");switch(s){case u:l[E]=''+p+"";break;case i:l[E]=''+p+"";break;case r:l[E]=""+p+"";break}}return l.join("")},g.prototype.diff_text1=function(n){for(var l=[],d=0;dthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var h=this.match_alphabet_(l),o=this;function c(R,b){var T=R/l.length,I=Math.abs(d-b);return o.Match_Distance?T+I/o.Match_Distance:I?1:T}var E=this.Match_Threshold,s=n.indexOf(l,d);s!=-1&&(E=Math.min(c(0,s),E),s=n.lastIndexOf(l,d+l.length),s!=-1&&(E=Math.min(c(0,s),E)));var v=1<=_;D--){var N=h[n.charAt(D-1)];if(S===0?w[D]=(w[D+1]<<1|1)&N:w[D]=(w[D+1]<<1|1)&N|((m[D+1]|m[D])<<1|1)|m[D+1],w[D]&v){var B=c(S,D-1);if(B<=E)if(E=B,s=D-1,s>d)_=Math.max(1,2*d-s);else break}}if(c(S+1,d)>E)break;m=w}return s},g.prototype.match_alphabet_=function(n){for(var l={},d=0;d2&&(this.diff_cleanupSemantic(o),this.diff_cleanupEfficiency(o));else if(n&&typeof n=="object"&&typeof l=="undefined"&&typeof d=="undefined")o=n,h=this.diff_text1(o);else if(typeof n=="string"&&l&&typeof l=="object"&&typeof d=="undefined")h=n,o=l;else if(typeof n=="string"&&typeof l=="string"&&d&&typeof d=="object")h=n,o=d;else throw new Error("Unknown call format to patch_make.");if(o.length===0)return[];for(var c=[],E=new g.patch_obj,s=0,v=0,p=0,f=h,y=h,m=0;m=2*this.Patch_Margin&&s&&(this.patch_addContext_(E,f),c.push(E),E=new g.patch_obj,s=0,f=y,v=p);break}S!==u&&(v+=_.length),S!==i&&(p+=_.length)}return s&&(this.patch_addContext_(E,f),c.push(E)),c},g.prototype.patch_deepCopy=function(n){for(var l=[],d=0;dthis.Match_MaxBits?(v=this.match_main(l,s.substring(0,this.Match_MaxBits),E),v!=-1&&(p=this.match_main(l,s.substring(s.length-this.Match_MaxBits),E+s.length-this.Match_MaxBits),(p==-1||v>=p)&&(v=-1))):v=this.match_main(l,s,E),v==-1)o[c]=!1,h-=n[c].length2-n[c].length1;else{o[c]=!0,h=v-E;var f;if(p==-1?f=l.substring(v,v+s.length):f=l.substring(v,p+this.Match_MaxBits),s==f)l=l.substring(0,v)+this.diff_text2(n[c].diffs)+l.substring(v+s.length);else{var y=this.diff_main(s,f,!1);if(s.length>this.Match_MaxBits&&this.diff_levenshtein(y)/s.length>this.Patch_DeleteThreshold)o[c]=!1;else{this.diff_cleanupSemanticLossless(y);for(var m=0,S,_=0;_c[0][1].length){var E=l-c[0][1].length;c[0][1]=d.substring(c[0][1].length)+c[0][1],o.start1-=E,o.start2-=E,o.length1+=E,o.length2+=E}if(o=n[n.length-1],c=o.diffs,c.length==0||c[c.length-1][0]!=r)c.push(new g.Diff(r,d)),o.length1+=l,o.length2+=l;else if(l>c[c.length-1][1].length){var E=l-c[c.length-1][1].length;c[c.length-1][1]+=d.substring(0,E),o.length1+=E,o.length2+=E}return d},g.prototype.patch_splitMax=function(n){for(var l=this.Match_MaxBits,d=0;d2*l?(s.length1+=f.length,o+=f.length,v=!1,s.diffs.push(new g.Diff(p,f)),h.diffs.shift()):(f=f.substring(0,l-s.length1-this.Patch_Margin),s.length1+=f.length,o+=f.length,p===r?(s.length2+=f.length,c+=f.length):v=!1,s.diffs.push(new g.Diff(p,f)),f==h.diffs[0][1]?h.diffs.shift():h.diffs[0][1]=h.diffs[0][1].substring(f.length))}E=this.diff_text2(s.diffs),E=E.substring(E.length-this.Patch_Margin);var y=this.diff_text1(h.diffs).substring(0,this.Patch_Margin);y!==""&&(s.length1+=y.length,s.length2+=y.length,s.diffs.length!==0&&s.diffs[s.diffs.length-1][0]===r?s.diffs[s.diffs.length-1][1]+=y:s.diffs.push(new g.Diff(r,y))),v||n.splice(++d,0,s)}}},g.prototype.patch_toText=function(n){for(var l=[],d=0;dthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var f=this.inlineStack;this.inlineStack=[];for(var y=0,m=f.length;y{var u,r;u=[i(6624),i(1400),i(4521),i(2358),i(3673),i(751),i(1240),i(8201),i(9847),i(4668),i(2804),i(6021)],r=function(n,l,d,h,o,c,E){"use strict";var s=/%20/g,v=/#.*$/,p=/([?&])_=[^&]*/,f=/^(.*?):[ \t]*([^\r\n]*)$/mg,y=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,m=/^(?:GET|HEAD)$/,S=/^\/\//,_={},A={},w="*/".concat("*"),D=l.createElement("a");D.href=o.href;function N(I){return function(F,W){typeof F!="string"&&(W=F,F="*");var G,$=0,H=F.toLowerCase().match(h)||[];if(d(W))for(;G=H[$++];)G[0]==="+"?(G=G.slice(1)||"*",(I[G]=I[G]||[]).unshift(W)):(I[G]=I[G]||[]).push(W)}}function B(I,F,W,G){var $={},H=I===A;function M(z){var U;return $[z]=!0,n.each(I[z]||[],function(Q,ne){var se=ne(F,W,G);if(typeof se=="string"&&!H&&!$[se])return F.dataTypes.unshift(se),M(se),!1;if(H)return!(U=se)}),U}return M(F.dataTypes[0])||!$["*"]&&M("*")}function R(I,F){var W,G,$=n.ajaxSettings.flatOptions||{};for(W in F)F[W]!==void 0&&(($[W]?I:G||(G={}))[W]=F[W]);return G&&n.extend(!0,I,G),I}function b(I,F,W){for(var G,$,H,M,z=I.contents,U=I.dataTypes;U[0]==="*";)U.shift(),G===void 0&&(G=I.mimeType||F.getResponseHeader("Content-Type"));if(G){for($ in z)if(z[$]&&z[$].test(G)){U.unshift($);break}}if(U[0]in W)H=U[0];else{for($ in W){if(!U[0]||I.converters[$+" "+U[0]]){H=$;break}M||(M=$)}H=H||M}if(H)return H!==U[0]&&U.unshift(H),W[H]}function T(I,F,W,G){var $,H,M,z,U,Q={},ne=I.dataTypes.slice();if(ne[1])for(M in I.converters)Q[M.toLowerCase()]=I.converters[M];for(H=ne.shift();H;)if(I.responseFields[H]&&(W[I.responseFields[H]]=F),!U&&G&&I.dataFilter&&(F=I.dataFilter(F,I.dataType)),U=H,H=ne.shift(),H){if(H==="*")H=U;else if(U!=="*"&&U!==H){if(M=Q[U+" "+H]||Q["* "+H],!M){for($ in Q)if(z=$.split(" "),z[1]===H&&(M=Q[U+" "+z[0]]||Q["* "+z[0]],M)){M===!0?M=Q[$]:Q[$]!==!0&&(H=z[0],ne.unshift(z[1]));break}}if(M!==!0)if(M&&I.throws)F=M(F);else try{F=M(F)}catch(se){return{state:"parsererror",error:M?se:"No conversion from "+U+" to "+H}}}}return{state:"success",data:F}}return n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:o.href,type:"GET",isLocal:y.test(o.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":w,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,F){return F?R(R(I,n.ajaxSettings),F):R(n.ajaxSettings,I)},ajaxPrefilter:N(_),ajaxTransport:N(A),ajax:function(I,F){typeof I=="object"&&(F=I,I=void 0),F=F||{};var W,G,$,H,M,z,U,Q,ne,se,q=n.ajaxSetup({},F),ve=q.context||q,ye=q.context&&(ve.nodeType||ve.jquery)?n(ve):n.event,_e=n.Deferred(),Be=n.Callbacks("once memory"),st=q.statusCode||{},yt={},At={},bt="canceled",pe={readyState:0,getResponseHeader:function(Se){var Me;if(U){if(!H)for(H={};Me=f.exec($);)H[Me[1].toLowerCase()+" "]=(H[Me[1].toLowerCase()+" "]||[]).concat(Me[2]);Me=H[Se.toLowerCase()+" "]}return Me==null?null:Me.join(", ")},getAllResponseHeaders:function(){return U?$:null},setRequestHeader:function(Se,Me){return U==null&&(Se=At[Se.toLowerCase()]=At[Se.toLowerCase()]||Se,yt[Se]=Me),this},overrideMimeType:function(Se){return U==null&&(q.mimeType=Se),this},statusCode:function(Se){var Me;if(Se)if(U)pe.always(Se[pe.status]);else for(Me in Se)st[Me]=[st[Me],Se[Me]];return this},abort:function(Se){var Me=Se||bt;return W&&W.abort(Me),Pe(0,Me),this}};if(_e.promise(pe),q.url=((I||q.url||o.href)+"").replace(S,o.protocol+"//"),q.type=F.method||F.type||q.method||q.type,q.dataTypes=(q.dataType||"*").toLowerCase().match(h)||[""],q.crossDomain==null){z=l.createElement("a");try{z.href=q.url,z.href=z.href,q.crossDomain=D.protocol+"//"+D.host!=z.protocol+"//"+z.host}catch(Se){q.crossDomain=!0}}if(q.data&&q.processData&&typeof q.data!="string"&&(q.data=n.param(q.data,q.traditional)),B(_,q,F,pe),U)return pe;Q=n.event&&q.global,Q&&n.active++===0&&n.event.trigger("ajaxStart"),q.type=q.type.toUpperCase(),q.hasContent=!m.test(q.type),G=q.url.replace(v,""),q.hasContent?q.data&&q.processData&&(q.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(q.data=q.data.replace(s,"+")):(se=q.url.slice(G.length),q.data&&(q.processData||typeof q.data=="string")&&(G+=(E.test(G)?"&":"?")+q.data,delete q.data),q.cache===!1&&(G=G.replace(p,"$1"),se=(E.test(G)?"&":"?")+"_="+c.guid+++se),q.url=G+se),q.ifModified&&(n.lastModified[G]&&pe.setRequestHeader("If-Modified-Since",n.lastModified[G]),n.etag[G]&&pe.setRequestHeader("If-None-Match",n.etag[G])),(q.data&&q.hasContent&&q.contentType!==!1||F.contentType)&&pe.setRequestHeader("Content-Type",q.contentType),pe.setRequestHeader("Accept",q.dataTypes[0]&&q.accepts[q.dataTypes[0]]?q.accepts[q.dataTypes[0]]+(q.dataTypes[0]!=="*"?", "+w+"; q=0.01":""):q.accepts["*"]);for(ne in q.headers)pe.setRequestHeader(ne,q.headers[ne]);if(q.beforeSend&&(q.beforeSend.call(ve,pe,q)===!1||U))return pe.abort();if(bt="abort",Be.add(q.complete),pe.done(q.success),pe.fail(q.error),W=B(A,q,F,pe),!W)Pe(-1,"No Transport");else{if(pe.readyState=1,Q&&ye.trigger("ajaxSend",[pe,q]),U)return pe;q.async&&q.timeout>0&&(M=window.setTimeout(function(){pe.abort("timeout")},q.timeout));try{U=!1,W.send(yt,Pe)}catch(Se){if(U)throw Se;Pe(-1,Se)}}function Pe(Se,Me,dt,Ut){var tt,Le,he,Re,Te,J=Me;U||(U=!0,M&&window.clearTimeout(M),W=void 0,$=Ut||"",pe.readyState=Se>0?4:0,tt=Se>=200&&Se<300||Se===304,dt&&(Re=b(q,pe,dt)),!tt&&n.inArray("script",q.dataTypes)>-1&&n.inArray("json",q.dataTypes)<0&&(q.converters["text script"]=function(){}),Re=T(q,Re,pe,tt),tt?(q.ifModified&&(Te=pe.getResponseHeader("Last-Modified"),Te&&(n.lastModified[G]=Te),Te=pe.getResponseHeader("etag"),Te&&(n.etag[G]=Te)),Se===204||q.type==="HEAD"?J="nocontent":Se===304?J="notmodified":(J=Re.state,Le=Re.data,he=Re.error,tt=!he)):(he=J,(Se||!J)&&(J="error",Se<0&&(Se=0))),pe.status=Se,pe.statusText=(Me||J)+"",tt?_e.resolveWith(ve,[Le,J,pe]):_e.rejectWith(ve,[pe,J,he]),pe.statusCode(st),st=void 0,Q&&ye.trigger(tt?"ajaxSuccess":"ajaxError",[pe,q,tt?Le:he]),Be.fireWith(ve,[pe,J]),Q&&(ye.trigger("ajaxComplete",[pe,q]),--n.active||n.event.trigger("ajaxStop")))}return pe},getJSON:function(I,F,W){return n.get(I,F,W,"json")},getScript:function(I,F){return n.get(I,void 0,F,"script")}}),n.each(["get","post"],function(I,F){n[F]=function(W,G,$,H){return d(G)&&(H=H||$,$=G,G=void 0),n.ajax(n.extend({url:W,type:F,dataType:H,data:G,success:$},n.isPlainObject(W)&&W))}}),n.ajaxPrefilter(function(I){var F;for(F in I.headers)F.toLowerCase()==="content-type"&&(I.contentType=I.headers[F]||"")}),n}.apply(g,u),r!==void 0&&(C.exports=r)},5184:(C,g,i)=>{var u,r;u=[i(6624),i(4521),i(751),i(1240),i(3577)],r=function(n,l,d,h){"use strict";var o=[],c=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var E=o.pop()||n.expando+"_"+d.guid++;return this[E]=!0,E}}),n.ajaxPrefilter("json jsonp",function(E,s,v){var p,f,y,m=E.jsonp!==!1&&(c.test(E.url)?"url":typeof E.data=="string"&&(E.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&c.test(E.data)&&"data");if(m||E.dataTypes[0]==="jsonp")return p=E.jsonpCallback=l(E.jsonpCallback)?E.jsonpCallback():E.jsonpCallback,m?E[m]=E[m].replace(c,"$1"+p):E.jsonp!==!1&&(E.url+=(h.test(E.url)?"&":"?")+E.jsonp+"="+p),E.converters["script json"]=function(){return y||n.error(p+" was not called"),y[0]},E.dataTypes[0]="json",f=window[p],window[p]=function(){y=arguments},v.always(function(){f===void 0?n(window).removeProp(p):window[p]=f,E[p]&&(E.jsonpCallback=s.jsonpCallback,o.push(p)),y&&l(f)&&f(y[0]),y=f=void 0}),"script"})}.apply(g,u),r!==void 0&&(C.exports=r)},3408:(C,g,i)=>{var u,r;u=[i(6624),i(2143),i(4521),i(9977),i(3577),i(4918),i(910),i(1754)],r=function(n,l,d){"use strict";n.fn.load=function(h,o,c){var E,s,v,p=this,f=h.indexOf(" ");return f>-1&&(E=l(h.slice(f)),h=h.slice(0,f)),d(o)?(c=o,o=void 0):o&&typeof o=="object"&&(s="POST"),p.length>0&&n.ajax({url:h,type:s||"GET",dataType:"html",data:o}).done(function(y){v=arguments,p.html(E?n("
").append(n.parseHTML(y)).find(E):y)}).always(c&&function(y,m){p.each(function(){c.apply(this,v||[y.responseText,m,y])})}),this}}.apply(g,u),r!==void 0&&(C.exports=r)},6931:(C,g,i)=>{var u,r;u=[i(6624),i(1400),i(3577)],r=function(n,l){"use strict";n.ajaxPrefilter(function(d){d.crossDomain&&(d.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(d){return n.globalEval(d),d}}}),n.ajaxPrefilter("script",function(d){d.cache===void 0&&(d.cache=!1),d.crossDomain&&(d.type="GET")}),n.ajaxTransport("script",function(d){if(d.crossDomain||d.scriptAttrs){var h,o;return{send:function(c,E){h=n(" + diff --git a/modules/events/event.routes.v4.js b/modules/events/event.routes.v4.js index fa2dd32..ae3bac7 100644 --- a/modules/events/event.routes.v4.js +++ b/modules/events/event.routes.v4.js @@ -46,10 +46,10 @@ const generalInvalidFields = [ "allow_overflow", "typeId", "venueId", - "locationId", + "locationId", "sold_out", "level", - ]; +]; const eventDetailsFields = [ "id", @@ -57,13 +57,13 @@ const eventDetailsFields = [ "description", "stateCode", "stateText", - "campaign_text", + "campaign_text", "init_date", - "end_date", - ]; + "end_date", +]; /** - * @api {get} /web/events Obtener Eventos Disponibles + * @api {get} /api/v4/web/events Obtener Eventos Disponibles * @apiName GetAvailableEvents * @apiGroup Eventos * @apiVersion 4.0.0 @@ -101,17 +101,16 @@ const eventDetailsFields = [ */ routes.get( "/web/events/", - isAPIKeyUser, + isAPIKeyUser, FieldMiddleware.middleware({ validFields: ["id", "name"], }), - + (req, res, next) => { const scopes = ["defaultScope", "withOpenInscriptions"]; - res.locals.v4 = {removeFields : ["partners", "speakers", "details", "multimedias", "type"]}; - return eventController.find({ scopes })(req,res,next); + res.locals.v4 = { removeFields: ["partners", "speakers", "details", "multimedias", "type"] }; + return eventController.find({ scopes })(req, res, next); } - ); /** @@ -159,11 +158,22 @@ routes.get( isAPIKeyUser, FieldMiddleware.middleware({ validFields: eventDetailsFields, - invalidFields: generalInvalidFields, + invalidFields: generalInvalidFields, }), (req, res, next) => { const scopes = ["defaultScope"]; - res.locals.v4 = {removeFields : ["partners", "speakers", "details", "multimedias", "type", "sold_out", "init_available_date", "end_available_date"]}; + res.locals.v4 = { + removeFields: [ + "partners", + "speakers", + "details", + "multimedias", + "type", + "sold_out", + "init_available_date", + "end_available_date", + ], + }; return eventController.findOne({ scopes })(req, res, next); } ); @@ -193,14 +203,24 @@ routes.get( * } */ -routes.get("/web/events/:id/check_capacity", - isAPIKeyUser, +routes.get( + "/web/events/:id/check_capacity", + isAPIKeyUser, FieldMiddleware.middleware({ - invalidFields: generalInvalidFields, + invalidFields: generalInvalidFields, }), (req, res, next) => { - res.locals.v4 = {removeFields : ["assistants", "confirmed", "sold_out", "assistants_overflow", "confirmed_overflow", "sold_out_overflow"]}; - return eventController.checkCapacity(req, res, next); + res.locals.v4 = { + removeFields: [ + "assistants", + "confirmed", + "sold_out", + "assistants_overflow", + "confirmed_overflow", + "sold_out_overflow", + ], + }; + return eventController.checkCapacity(req, res, next); } ); @@ -246,8 +266,8 @@ routes.get( * @apiBody {String} Apellido del participante. * @apiBody {String} profile Tipo de participante (student/tutor/guest/free). * @apiBody {String} country País del participante (ES/MX). - * @apiBody {String} [entityId] Entidad del participante - Opcional - solo si son student/tutor/guest.* - * @apiBody {number} [group_size] Cantidad participantes a solicitar - Opcional - solo si son tutores.* + * @apiBody {String} [entityId] Entidad del participante - Opcional - solo si son student/tutor/guest.* + * @apiBody {number} [group_size] Cantidad participantes a solicitar - Opcional - solo si son tutores.* * * * @apiSuccess {String} stateText Estado de la inscripción. @@ -300,9 +320,9 @@ routes.get( * "profile": "tutor", * "country": "ES", * "entityId": "757e6018-af85-11e9-aa90-000c295f0f58", - * "group_size": 5 + * "group_size": 5 * } - * RESPUESTA + * RESPUESTA * { * "stateText": "Pendiente confirmación para tu reserva", * "type": "onsite group", @@ -330,7 +350,20 @@ routes.post( eventReservationController.activeReservationToEntity, (req, res, next) => { - res.locals.v4 = {removeFields : ["reservation", "id", "eventId", "date", "userId", "source", "reservationId", "overflowEventId", "updatedAt", "createdAt"]}; + res.locals.v4 = { + removeFields: [ + "reservation", + "id", + "eventId", + "date", + "userId", + "source", + "reservationId", + "overflowEventId", + "updatedAt", + "createdAt", + ], + }; if (res.locals.dataInscription.reservation) { console.log(">>>>>>>Incripcion con reserva"); eventReservationController.createInscriptionReservation(req, res, next); @@ -343,7 +376,6 @@ routes.post( // eventInscriptionController.createInscriptionMarketingList ); - /** * @api {get} /api/v4/web/events/:id/inscriptions/:email Comprobar Inscripción * @apiName CheckInscription @@ -369,11 +401,7 @@ routes.post( * } */ // Comprobar si estoy inscrito al congreso por la web -routes.get( - "/web/events/:id/inscriptions/:email", - isAPIKeyUser, - eventInscriptionController.checkInscriptionByMail); - +routes.get("/web/events/:id/inscriptions/:email", isAPIKeyUser, eventInscriptionController.checkInscriptionByMail); /** * @api {get} /api/v4/web/entities/colleges Lista de Entidades Educativas @@ -385,7 +413,7 @@ routes.get( * @apiSuccess {Object[]} colleges Lista de entidades educativas. * @apiSuccess {String} colleges.id Identificador único de la entidad educativa. * @apiSuccess {String} colleges.name Nombre de la entidad educativa. - * @apiSuccess {String} colleges.country Código de país de la entidad educativa. + * @apiSuccess {String} colleges.country Código de país de la entidad educativa. * * @apiSuccessExample {json} Ejemplo de Respuesta: * [