blob: c4aa60e7ebe41285ce95d5561f9f5995ecc3a968 [file] [log] [blame]
JohnKeeney62abcd82023-03-01 19:04:58 +00001<!DOCTYPE html>
2<html>
3<head>
4 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
5 <title>A1 Policy Management Service</title>
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8 <meta charset="UTF-8" />
9 <script>
10/*! jQuery v3.1.0 | (c) jQuery Foundation | jquery.org/license */
11!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.1.0",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:f.call(this)},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:c.sort,splice:c.splice},r.extend=r.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||r.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(r.isPlainObject(d)||(e=r.isArray(d)))?(e?(e=!1,f=c&&r.isArray(c)?c:[]):f=c&&r.isPlainObject(c)?c:{},g[b]=r.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},r.extend({expando:"jQuery"+(q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===r.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=r.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))},isPlainObject:function(a){var b,c;return!(!a||"[object Object]"!==k.call(a))&&(!(b=e(a))||(c=l.call(b,"constructor")&&b.constructor,"function"==typeof c&&m.call(c)===n))},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?j[k.call(a)]||"object":typeof a},globalEval:function(a){p(a)},camelCase:function(a){return a.replace(t,"ms-").replace(u,v)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(w(a)){for(c=a.length;d<c;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(s,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(w(Object(a))?r.merge(c,"string"==typeof a?[a]:a):h.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:i.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,f=0,h=[];if(w(a))for(d=a.length;f<d;f++)e=b(a[f],f,c),null!=e&&h.push(e);else for(f in a)e=b(a[f],f,c),null!=e&&h.push(e);return g.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;if("string"==typeof b&&(c=a[b],b=a,a=c),r.isFunction(a))return d=f.call(arguments,2),e=function(){return a.apply(b||this,d.concat(f.call(arguments)))},e.guid=a.guid=a.guid||r.guid++,e},now:Date.now,support:o}),"function"==typeof Symbol&&(r.fn[Symbol.iterator]=c[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){j["[object "+b+"]"]=b.toLowerCase()});function w(a){var b=!!a&&"length"in a&&a.length,c=r.type(a);return"function"!==c&&!r.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",M="\\["+K+"*("+L+")(?:"+K+"*([*^$|!~]?=)"+K+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+K+"*\\]",N=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",O=new RegExp(K+"+","g"),P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"label"in b&&b.disabled===a||"form"in b&&b.disabled===a||"form"in b&&b.disabled===!1&&(b.isDisabled===a||b.isDisabled!==!a&&("label"in b||!ea(b))!==a)}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:pa(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:pa(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function ra(){}ra.prototype=d.filters=d.pseudos,d.setFilters=new ra,g=ga.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=Q.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function sa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function ta(a,b,c){var d=b.dir,e=b.next,f=e||d,g=c&&"parentNode"===f,h=x++;return b.first?function(b,c,e){while(b=b[d])if(1===b.nodeType||g)return a(b,c,e)}:function(b,c,i){var j,k,l,m=[w,h];if(i){while(b=b[d])if((1===b.nodeType||g)&&a(b,c,i))return!0}else while(b=b[d])if(1===b.nodeType||g)if(l=b[u]||(b[u]={}),k=l[b.uniqueID]||(l[b.uniqueID]={}),e&&e===b.nodeName.toLowerCase())b=b[d]||b;else{if((j=k[f])&&j[0]===w&&j[1]===h)return m[2]=j[2];if(k[f]=m,m[2]=a(b,c,i))return!0}}}function ua(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d<e;d++)ga(a,b[d],c);return c}function wa(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function xa(a,b,c,d,e,f){return d&&!d[u]&&(d=xa(d)),e&&!e[u]&&(e=xa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||va(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:wa(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=wa(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i<f;i++)if(c=d.relative[a[i].type])m=[ta(ua(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return xa(i>1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i<e&&ya(a.slice(i,e)),e<f&&ya(a=a.slice(e)),e<f&&sa(a))}m.push(c)}return ua(m)}function za(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(_,aa),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=V.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(_,aa),$.test(j[0].type)&&qa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&sa(j),!a)return G.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||$.test(a)&&qa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,C=/^.[^:#\[\.,]*$/;function D(a,b,c){if(r.isFunction(b))return r.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return r.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(C.test(b))return r.filter(b,a,c);b=r.filter(b,a)}return r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType})}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b<d;b++)if(r.contains(e[b],this))return!0}));for(c=this.pushStack([]),b=0;b<d;b++)r.find(a,e[b],c);return d>1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(D(this,a||[],!1))},not:function(a){return this.pushStack(D(this,a||[],!0))},is:function(a){return!!D(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var E,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,G=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||E,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:F.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),B.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};G.prototype=r.fn,E=r(d);var H=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a<c;a++)if(r.contains(this,b[a]))return!0})},closest:function(a,b){var c,d=0,e=this.length,f=[],g="string"!=typeof a&&r(a);if(!A.test(a))for(;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function J(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return J(a,"nextSibling")},prev:function(a){return J(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return a.contentDocument||r.merge([],a.childNodes)}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(I[a]||r.uniqueSort(e),H.test(a)&&e.reverse()),this.pushStack(e)}});var K=/\S+/g;function L(a){var b={};return r.each(a.match(K)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?L(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){r.each(b,function(b,c){r.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==r.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return r.each(arguments,function(a,b){var c;while((c=r.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function M(a){return a}function N(a){throw a}function O(a,b,c){var d;try{a&&r.isFunction(d=a.promise)?d.call(a).done(b).fail(c):a&&r.isFunction(d=a.then)?d.call(a,b,c):b.call(void 0,a)}catch(a){c.call(void 0,a)}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b<f)){if(a=d.apply(h,i),a===c.promise())throw new TypeError("Thenable self-resolution");j=a&&("object"==typeof a||"function"==typeof a)&&a.then,r.isFunction(j)?e?j.call(a,g(f,c,M,e),g(f,c,N,e)):(f++,j.call(a,g(f,c,M,e),g(f,c,N,e),g(f,c,M,c.notifyWith))):(d!==M&&(h=void 0,i=[a]),(e||c.resolveWith)(h,i))}},k=e?j:function(){try{j()}catch(a){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(a,k.stackTrace),b+1>=f&&(d!==N&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:M,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:M)),c[2][3].add(g(0,a,r.isFunction(d)?d:N))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(O(a,g.done(h(c)).resolve,g.reject),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)O(e[c],h(c),g.reject);return g.promise()}});var P=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&P.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var Q=r.Deferred();r.fn.ready=function(a){return Q.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,holdReady:function(a){a?r.readyWait++:r.ready(!0)},ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||Q.resolveWith(d,[r]))}}),r.ready.then=Q.then;function R(){d.removeEventListener("DOMContentLoaded",R),a.removeEventListener("load",R),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",R),a.addEventListener("load",R));var S=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)S(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,
12r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},T=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function U(){this.expando=r.expando+U.uid++}U.uid=1,U.prototype={cache:function(a){var b=a[this.expando];return b||(b={},T(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[r.camelCase(b)]=c;else for(d in b)e[r.camelCase(d)]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][r.camelCase(b)]},access:function(a,b,c){return void 0===b||b&&"string"==typeof b&&void 0===c?this.get(a,b):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d=a[this.expando];if(void 0!==d){if(void 0!==b){r.isArray(b)?b=b.map(r.camelCase):(b=r.camelCase(b),b=b in d?[b]:b.match(K)||[]),c=b.length;while(c--)delete d[b[c]]}(void 0===b||r.isEmptyObject(d))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!r.isEmptyObject(b)}};var V=new U,W=new U,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Y=/[A-Z]/g;function Z(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Y,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:X.test(c)?JSON.parse(c):c)}catch(e){}W.set(a,b,c)}else c=void 0;return c}r.extend({hasData:function(a){return W.hasData(a)||V.hasData(a)},data:function(a,b,c){return W.access(a,b,c)},removeData:function(a,b){W.remove(a,b)},_data:function(a,b,c){return V.access(a,b,c)},_removeData:function(a,b){V.remove(a,b)}}),r.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=W.get(f),1===f.nodeType&&!V.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=r.camelCase(d.slice(5)),Z(f,d,e[d])));V.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){W.set(this,a)}):S(this,function(b){var c;if(f&&void 0===b){if(c=W.get(f,a),void 0!==c)return c;if(c=Z(f,a),void 0!==c)return c}else this.each(function(){W.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){W.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=V.get(a,b),c&&(!d||r.isArray(c)?d=V.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return V.get(a,c)||V.access(a,c,{empty:r.Callbacks("once memory").add(function(){V.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?r.queue(this[0],a):void 0===b?this:this.each(function(){var c=r.queue(this,a,b);r._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&r.dequeue(this,a)})},dequeue:function(a){return this.each(function(){r.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=r.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=V.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var $=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_=new RegExp("^(?:([+-])=|)("+$+")([a-z%]*)$","i"),aa=["Top","Right","Bottom","Left"],ba=function(a,b){return a=b||a,"none"===a.style.display||""===a.style.display&&r.contains(a.ownerDocument,a)&&"none"===r.css(a,"display")},ca=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};function da(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return r.css(a,b,"")},i=h(),j=c&&c[3]||(r.cssNumber[b]?"":"px"),k=(r.cssNumber[b]||"px"!==j&&+i)&&_.exec(r.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,r.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var ea={};function fa(a){var b,c=a.ownerDocument,d=a.nodeName,e=ea[d];return e?e:(b=c.body.appendChild(c.createElement(d)),e=r.css(b,"display"),b.parentNode.removeChild(b),"none"===e&&(e="block"),ea[d]=e,e)}function ga(a,b){for(var c,d,e=[],f=0,g=a.length;f<g;f++)d=a[f],d.style&&(c=d.style.display,b?("none"===c&&(e[f]=V.get(d,"display")||null,e[f]||(d.style.display="")),""===d.style.display&&ba(d)&&(e[f]=fa(d))):"none"!==c&&(e[f]="none",V.set(d,"display",c)));for(f=0;f<g;f++)null!=e[f]&&(a[f].style.display=e[f]);return a}r.fn.extend({show:function(){return ga(this,!0)},hide:function(){return ga(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){ba(this)?r(this).show():r(this).hide()})}});var ha=/^(?:checkbox|radio)$/i,ia=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ja=/^$|\/(?:java|ecma)script/i,ka={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ka.optgroup=ka.option,ka.tbody=ka.tfoot=ka.colgroup=ka.caption=ka.thead,ka.th=ka.td;function la(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&r.nodeName(a,b)?r.merge([a],c):c}function ma(a,b){for(var c=0,d=a.length;c<d;c++)V.set(a[c],"globalEval",!b||V.get(b[c],"globalEval"))}var na=/<|&#?\w+;/;function oa(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],n=0,o=a.length;n<o;n++)if(f=a[n],f||0===f)if("object"===r.type(f))r.merge(m,f.nodeType?[f]:f);else if(na.test(f)){g=g||l.appendChild(b.createElement("div")),h=(ia.exec(f)||["",""])[1].toLowerCase(),i=ka[h]||ka._default,g.innerHTML=i[1]+r.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;r.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",n=0;while(f=m[n++])if(d&&r.inArray(f,d)>-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=la(l.appendChild(f),"script"),j&&ma(g),c){k=0;while(f=g[k++])ja.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var pa=d.documentElement,qa=/^key/,ra=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,sa=/^([^.]*)(?:\.(.+)|)/;function ta(){return!0}function ua(){return!1}function va(){try{return d.activeElement}catch(a){}}function wa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)wa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=ua;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(pa,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(K)||[""],j=b.length;while(j--)h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.hasData(a)&&V.get(a);if(q&&(i=q.events)){b=(b||"").match(K)||[""],j=b.length;while(j--)if(h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&V.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(V.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c<arguments.length;c++)i[c]=arguments[c];if(b.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,b)!==!1){h=r.event.handlers.call(this,b,j),c=0;while((f=h[c++])&&!b.isPropagationStopped()){b.currentTarget=f.elem,d=0;while((g=f.handlers[d++])&&!b.isImmediatePropagationStopped())b.rnamespace&&!b.rnamespace.test(g.namespace)||(b.handleObj=g,b.data=g.data,e=((r.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(b.result=e)===!1&&(b.preventDefault(),b.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,b),b.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;c<h;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?r(e,this).index(i)>-1:r.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},addProp:function(a,b){Object.defineProperty(r.Event.prototype,a,{enumerable:!0,configurable:!0,get:r.isFunction(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(a){return a[r.expando]?a:new r.Event(a)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==va()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===va()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&r.nodeName(this,"input"))return this.click(),!1},_default:function(a){return r.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},r.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},r.Event=function(a,b){return this instanceof r.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ta:ua,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,b&&r.extend(this,b),this.timeStamp=a&&a.timeStamp||r.now(),void(this[r.expando]=!0)):new r.Event(a,b)},r.Event.prototype={constructor:r.Event,isDefaultPrevented:ua,isPropagationStopped:ua,isImmediatePropagationStopped:ua,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ta,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ta,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ta,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},r.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var b=a.button;return null==a.which&&qa.test(a.type)?null!=a.charCode?a.charCode:a.keyCode:!a.which&&void 0!==b&&ra.test(a.type)?1&b?1:2&b?3:4&b?2:0:a.which}},r.event.addProp),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){r.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||r.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),r.fn.extend({on:function(a,b,c,d){return wa(this,a,b,c,d)},one:function(a,b,c,d){return wa(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,r(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=ua),this.each(function(){r.event.remove(this,a,c,b)})}});var xa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ya=/<script|<style|<link/i,za=/checked\s*(?:[^=]|=\s*.checked.)/i,Aa=/^true\/(.*)/,Ba=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ca(a,b){return r.nodeName(a,"table")&&r.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a:a}function Da(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ea(a){var b=Aa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(V.hasData(a)&&(f=V.access(a),g=V.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c<d;c++)r.event.add(b,e,j[e][c])}W.hasData(a)&&(h=W.access(a),i=r.extend({},h),W.set(b,i))}}function Ga(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ha.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function Ha(a,b,c,d){b=g.apply([],b);var e,f,h,i,j,k,l=0,m=a.length,n=m-1,q=b[0],s=r.isFunction(q);if(s||m>1&&"string"==typeof q&&!o.checkClone&&za.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(m&&(e=oa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(la(e,"script"),Da),i=h.length;l<m;l++)j=e,l!==n&&(j=r.clone(j,!0,!0),i&&r.merge(h,la(j,"script"))),c.call(a[l],j,l);if(i)for(k=h[h.length-1].ownerDocument,r.map(h,Ea),l=0;l<i;l++)j=h[l],ja.test(j.type||"")&&!V.access(j,"globalEval")&&r.contains(k,j)&&(j.src?r._evalUrl&&r._evalUrl(j.src):p(j.textContent.replace(Ba,""),k))}return a}function Ia(a,b,c){for(var d,e=b?r.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||r.cleanData(la(d)),d.parentNode&&(c&&r.contains(d.ownerDocument,d)&&ma(la(d,"script")),d.parentNode.removeChild(d));return a}r.extend({htmlPrefilter:function(a){return a.replace(xa,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=la(h),f=la(a),d=0,e=f.length;d<e;d++)Ga(f[d],g[d]);if(b)if(c)for(f=f||la(a),g=g||la(h),d=0,e=f.length;d<e;d++)Fa(f[d],g[d]);else Fa(a,h);return g=la(h,"script"),g.length>0&&ma(g,!i&&la(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(T(c)){if(b=c[V.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[V.expando]=void 0}c[W.expando]&&(c[W.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return S(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(la(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return S(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!ya.test(a)&&!ka[(ia.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(r.cleanData(la(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;r.inArray(this,a)<0&&(r.cleanData(la(this)),c&&c.replaceChild(b,this))},a)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){r.fn[a]=function(a){for(var c,d=[],e=r(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),r(e[g])[b](c),h.apply(d,c.get());return this.pushStack(d)}});var Ja=/^margin/,Ka=new RegExp("^("+$+")(?!px)[a-z%]+$","i"),La=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)};!function(){function b(){if(i){i.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i.innerHTML="",pa.appendChild(h);var b=a.getComputedStyle(i);c="1%"!==b.top,g="2px"===b.marginLeft,e="4px"===b.width,i.style.marginRight="50%",f="4px"===b.marginRight,pa.removeChild(h),i=null}}var c,e,f,g,h=d.createElement("div"),i=d.createElement("div");i.style&&(i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===i.style.backgroundClip,h.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",h.appendChild(i),r.extend(o,{pixelPosition:function(){return b(),c},boxSizingReliable:function(){return b(),e},pixelMarginRight:function(){return b(),f},reliableMarginLeft:function(){return b(),g}}))}();function Ma(a,b,c){var d,e,f,g,h=a.style;return c=c||La(a),c&&(g=c.getPropertyValue(b)||c[b],""!==g||r.contains(a.ownerDocument,a)||(g=r.style(a,b)),!o.pixelMarginRight()&&Ka.test(g)&&Ja.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function Na(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Oa=/^(none|table(?!-c[ea]).+)/,Pa={position:"absolute",visibility:"hidden",display:"block"},Qa={letterSpacing:"0",fontWeight:"400"},Ra=["Webkit","Moz","ms"],Sa=d.createElement("div").style;function Ta(a){if(a in Sa)return a;var b=a[0].toUpperCase()+a.slice(1),c=Ra.length;while(c--)if(a=Ra[c]+b,a in Sa)return a}function Ua(a,b,c){var d=_.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Va(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;f<4;f+=2)"margin"===c&&(g+=r.css(a,c+aa[f],!0,e)),d?("content"===c&&(g-=r.css(a,"padding"+aa[f],!0,e)),"margin"!==c&&(g-=r.css(a,"border"+aa[f]+"Width",!0,e))):(g+=r.css(a,"padding"+aa[f],!0,e),"padding"!==c&&(g+=r.css(a,"border"+aa[f]+"Width",!0,e)));return g}function Wa(a,b,c){var d,e=!0,f=La(a),g="border-box"===r.css(a,"boxSizing",!1,f);if(a.getClientRects().length&&(d=a.getBoundingClientRect()[b]),d<=0||null==d){if(d=Ma(a,b,f),(d<0||null==d)&&(d=a.style[b]),Ka.test(d))return d;e=g&&(o.boxSizingReliable()||d===a.style[b]),d=parseFloat(d)||0}return d+Va(a,b,c||(g?"border":"content"),e,f)+"px"}r.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Ma(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=r.camelCase(b),i=a.style;return b=r.cssProps[h]||(r.cssProps[h]=Ta(h)||h),g=r.cssHooks[b]||r.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=_.exec(c))&&e[1]&&(c=da(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(r.cssNumber[h]?"":"px")),o.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=r.camelCase(b);return b=r.cssProps[h]||(r.cssProps[h]=Ta(h)||h),g=r.cssHooks[b]||r.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Ma(a,b,d)),"normal"===e&&b in Qa&&(e=Qa[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),r.each(["height","width"],function(a,b){r.cssHooks[b]={get:function(a,c,d){if(c)return!Oa.test(r.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?Wa(a,b,d):ca(a,Pa,function(){return Wa(a,b,d)})},set:function(a,c,d){var e,f=d&&La(a),g=d&&Va(a,b,d,"border-box"===r.css(a,"boxSizing",!1,f),f);return g&&(e=_.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=r.css(a,b)),Ua(a,c,g)}}}),r.cssHooks.marginLeft=Na(o.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Ma(a,"marginLeft"))||a.getBoundingClientRect().left-ca(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(a,b){r.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+aa[d]+b]=f[d]||f[d-2]||f[0];return e}},Ja.test(a)||(r.cssHooks[a+b].set=Ua)}),r.fn.extend({css:function(a,b){return S(this,function(a,b,c){var d,e,f={},g=0;if(r.isArray(b)){for(d=La(a),e=b.length;g<e;g++)f[b[g]]=r.css(a,b[g],!1,d);return f}return void 0!==c?r.style(a,b,c):r.css(a,b)},a,b,arguments.length>1)}});function Xa(a,b,c,d,e){return new Xa.prototype.init(a,b,c,d,e)}r.Tween=Xa,Xa.prototype={constructor:Xa,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=Xa.propHooks[this.prop];return a&&a.get?a.get(this):Xa.propHooks._default.get(this)},run:function(a){var b,c=Xa.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Xa.propHooks._default.set(this),this}},Xa.prototype.init.prototype=Xa.prototype,Xa.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},Xa.propHooks.scrollTop=Xa.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=Xa.prototype.init,r.fx.step={};var Ya,Za,$a=/^(?:toggle|show|hide)$/,_a=/queueHooks$/;function ab(){Za&&(a.requestAnimationFrame(ab),r.fx.tick())}function bb(){return a.setTimeout(function(){Ya=void 0}),Ya=r.now()}function cb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=aa[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function db(a,b,c){for(var d,e=(gb.tweeners[b]||[]).concat(gb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function eb(a,b,c){var d,e,f,g,h,i,j,k,l="width"in b||"height"in b,m=this,n={},o=a.style,p=a.nodeType&&ba(a),q=V.get(a,"fxshow");c.queue||(g=r._queueHooks(a,"fx"),null==g.unqueued&&(g.unqueued=0,h=g.empty.fire,g.empty.fire=function(){g.unqueued||h()}),g.unqueued++,m.always(function(){m.always(function(){g.unqueued--,r.queue(a,"fx").length||g.empty.fire()})}));for(d in b)if(e=b[d],$a.test(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}n[d]=q&&q[d]||r.style(a,d)}if(i=!r.isEmptyObject(b),i||!r.isEmptyObject(n)){l&&1===a.nodeType&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=q&&q.display,null==j&&(j=V.get(a,"display")),k=r.css(a,"display"),"none"===k&&(j?k=j:(ga([a],!0),j=a.style.display||j,k=r.css(a,"display"),ga([a]))),("inline"===k||"inline-block"===k&&null!=j)&&"none"===r.css(a,"float")&&(i||(m.done(function(){o.display=j}),null==j&&(k=o.display,j="none"===k?"":k)),o.display="inline-block")),c.overflow&&(o.overflow="hidden",m.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]})),i=!1;for(d in n)i||(q?"hidden"in q&&(p=q.hidden):q=V.access(a,"fxshow",{display:j}),f&&(q.hidden=!p),p&&ga([a],!0),m.done(function(){p||ga([a]),V.remove(a,"fxshow");for(d in n)r.style(a,d,n[d])})),i=db(p?q[d]:0,d,m),d in q||(q[d]=i.start,p&&(i.end=i.start,i.start=0))}}function fb(a,b){var c,d,e,f,g;for(c in a)if(d=r.camelCase(c),e=b[d],f=a[c],r.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=r.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function gb(a,b,c){var d,e,f=0,g=gb.prefilters.length,h=r.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Ya||bb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:r.extend({},b),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},c),originalProperties:b,originalOptions:c,startTime:Ya||bb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=r.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(fb(k,j.opts.specialEasing);f<g;f++)if(d=gb.prefilters[f].call(j,a,k,j.opts))return r.isFunction(d.stop)&&(r._queueHooks(j.elem,j.opts.queue).stop=r.proxy(d.stop,d)),d;return r.map(k,db,j),r.isFunction(j.opts.start)&&j.opts.start.call(a,j),r.fx.timer(r.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}r.Animation=r.extend(gb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return da(c.elem,a,_.exec(b),c),c}]},tweener:function(a,b){r.isFunction(a)?(b=a,a=["*"]):a=a.match(K);for(var c,d=0,e=a.length;d<e;d++)c=a[d],gb.tweeners[c]=gb.tweeners[c]||[],gb.tweeners[c].unshift(b)},prefilters:[eb],prefilter:function(a,b){b?gb.prefilters.unshift(a):gb.prefilters.push(a)}}),r.speed=function(a,b,c){var e=a&&"object"==typeof a?r.extend({},a):{complete:c||!c&&b||r.isFunction(a)&&a,duration:a,easing:c&&b||b&&!r.isFunction(b)&&b};return r.fx.off||d.hidden?e.duration=0:e.duration="number"==typeof e.duration?e.duration:e.duration in r.fx.speeds?r.fx.speeds[e.duration]:r.fx.speeds._default,null!=e.queue&&e.queue!==!0||(e.queue="fx"),e.old=e.complete,e.complete=function(){r.isFunction(e.old)&&e.old.call(this),e.queue&&r.dequeue(this,e.queue)},e},r.fn.extend({fadeTo:function(a,b,c,d){return this.filter(ba).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=r.isEmptyObject(a),f=r.speed(b,c,d),g=function(){var b=gb(this,r.extend({},a),f);(e||V.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=r.timers,g=V.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&_a.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||r.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=V.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=r.timers,g=d?d.length:0;for(c.finish=!0,r.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),r.each(["toggle","show","hide"],function(a,b){var c=r.fn[b];r.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(cb(b,!0),a,d,e)}}),r.each({slideDown:cb("show"),slideUp:cb("hide"),slideToggle:cb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){r.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),r.timers=[],r.fx.tick=function(){var a,b=0,c=r.timers;for(Ya=r.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||r.fx.stop(),Ya=void 0},r.fx.timer=function(a){r.timers.push(a),a()?r.fx.start():r.timers.pop()},r.fx.interval=13,r.fx.start=function(){Za||(Za=a.requestAnimationFrame?a.requestAnimationFrame(ab):a.setInterval(r.fx.tick,r.fx.interval))},r.fx.stop=function(){a.cancelAnimationFrame?a.cancelAnimationFrame(Za):a.clearInterval(Za),Za=null},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(b,c){return b=r.fx?r.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",o.checkOn=""!==a.value,o.optSelected=c.selected,a=d.createElement("input"),a.value="t",a.type="radio",o.radioValue="t"===a.value}();var hb,ib=r.expr.attrHandle;r.fn.extend({attr:function(a,b){return S(this,r.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?hb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&r.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(K);
13if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),hb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ib[b]||r.find.attr;ib[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=ib[g],ib[g]=e,e=null!=c(a,b,d)?g:null,ib[g]=f),e}});var jb=/^(?:input|select|textarea|button)$/i,kb=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return S(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):jb.test(a.nodeName)||kb.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});var lb=/[\t\r\n\f]/g;function mb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,mb(this)))});if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,mb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,mb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(K)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=mb(this),b&&V.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":V.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+mb(c)+" ").replace(lb," ").indexOf(b)>-1)return!0;return!1}});var nb=/\r/g,ob=/[\x20\t\r\n\f]+/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":r.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(nb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:r.trim(r.text(a)).replace(ob," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&!c.disabled&&(!c.parentNode.disabled||!r.nodeName(c.parentNode,"optgroup"))){if(b=r(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=r.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=r.inArray(r.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(r.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var pb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!pb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,pb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(V.get(h,"events")||{})[b.type]&&V.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&T(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!T(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=V.access(d,b);e||d.addEventListener(a,c,!0),V.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=V.access(d,b)-1;e?V.access(d,b,e):(d.removeEventListener(a,c,!0),V.remove(d,b))}}});var qb=a.location,rb=r.now(),sb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var tb=/\[\]$/,ub=/\r?\n/g,vb=/^(?:submit|button|image|reset|file)$/i,wb=/^(?:input|select|textarea|keygen)/i;function xb(a,b,c,d){var e;if(r.isArray(b))r.each(b,function(b,e){c||tb.test(a)?d(a,e):xb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)xb(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(r.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)xb(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&wb.test(this.nodeName)&&!vb.test(a)&&(this.checked||!ha.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:r.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(ub,"\r\n")}}):{name:b.name,value:c.replace(ub,"\r\n")}}).get()}});var yb=/%20/g,zb=/#.*$/,Ab=/([?&])_=[^&]*/,Bb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Cb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Db=/^(?:GET|HEAD)$/,Eb=/^\/\//,Fb={},Gb={},Hb="*/".concat("*"),Ib=d.createElement("a");Ib.href=qb.href;function Jb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(K)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Kb(a,b,c,d){var e={},f=a===Gb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Lb(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Mb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Nb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qb.href,type:"GET",isLocal:Cb.test(qb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hb,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":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Lb(Lb(a,r.ajaxSettings),b):Lb(r.ajaxSettings,a)},ajaxPrefilter:Jb(Fb),ajaxTransport:Jb(Gb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Bb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||qb.href)+"").replace(Eb,qb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(K)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Ib.protocol+"//"+Ib.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Kb(Fb,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Db.test(o.type),f=o.url.replace(zb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(yb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(sb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Ab,""),n=(sb.test(f)?"&":"?")+"_="+rb++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Hb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Kb(Gb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Mb(o,y,d)),v=Nb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Ob={0:200,1223:204},Pb=r.ajaxSettings.xhr();o.cors=!!Pb&&"withCredentials"in Pb,o.ajax=Pb=!!Pb,r.ajaxTransport(function(b){var c,d;if(o.cors||Pb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Ob[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Qb=[],Rb=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Qb.pop()||r.expando+"_"+rb++;return this[a]=!0,a}}),r.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Rb.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rb.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=r.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Rb,"$1"+e):b.jsonp!==!1&&(b.url+=(sb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||r.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?r(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Qb.push(e)),g&&r.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),o.createHTMLDocument=function(){var a=d.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}(),r.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&&(c=b,b=!1);var e,f,g;return b||(o.createHTMLDocument?(b=d.implementation.createHTMLDocument(""),e=b.createElement("base"),e.href=d.location.href,b.head.appendChild(e)):b=d),f=B.exec(a),g=!c&&[],f?[b.createElement(f[1])]:(f=oa([a],b,g),g&&g.length&&r(g).remove(),r.merge([],f.childNodes))},r.fn.load=function(a,b,c){var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=r.trim(a.slice(h)),a=a.slice(0,h)),r.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&r.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?r("<div>").append(r.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){r.fn[b]=function(a){return this.on(b,a)}}),r.expr.pseudos.animated=function(a){return r.grep(r.timers,function(b){return a===b.elem}).length};function Sb(a){return r.isWindow(a)?a:9===a.nodeType&&a.defaultView}r.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=r.css(a,"position"),l=r(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=r.css(a,"top"),i=r.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),r.isFunction(b)&&(b=b.call(a,c,r.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},r.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){r.offset.setOffset(this,a,b)});var b,c,d,e,f=this[0];if(f)return f.getClientRects().length?(d=f.getBoundingClientRect(),d.width||d.height?(e=f.ownerDocument,c=Sb(e),b=e.documentElement,{top:d.top+c.pageYOffset-b.clientTop,left:d.left+c.pageXOffset-b.clientLeft}):d):{top:0,left:0}},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===r.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),r.nodeName(a[0],"html")||(d=a.offset()),d={top:d.top+r.css(a[0],"borderTopWidth",!0),left:d.left+r.css(a[0],"borderLeftWidth",!0)}),{top:b.top-d.top-r.css(c,"marginTop",!0),left:b.left-d.left-r.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===r.css(a,"position"))a=a.offsetParent;return a||pa})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;r.fn[a]=function(d){return S(this,function(a,d,e){var f=Sb(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),r.each(["top","left"],function(a,b){r.cssHooks[b]=Na(o.pixelPosition,function(a,c){if(c)return c=Ma(a,b),Ka.test(c)?r(a).position()[b]+"px":c})}),r.each({Height:"height",Width:"width"},function(a,b){r.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){r.fn[d]=function(e,f){var g=arguments.length&&(c||"boolean"!=typeof e),h=c||(e===!0||f===!0?"margin":"border");return S(this,function(b,c,e){var f;return r.isWindow(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?r.css(b,c,h):r.style(b,c,e,h)},b,g?e:void 0,g)}})}),r.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),r.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return r});var Tb=a.jQuery,Ub=a.$;return r.noConflict=function(b){return a.$===r&&(a.$=Ub),b&&a.jQuery===r&&(a.jQuery=Tb),r},b||(a.jQuery=a.$=r),r});
14</script>
15
16 <script>
17!function(){var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
18(function(){function S(a){function d(e){var b=e.charCodeAt(0);if(b!==92)return b;var a=e.charAt(1);return(b=r[a])?b:"0"<=a&&a<="7"?parseInt(e.substring(1),8):a==="u"||a==="x"?parseInt(e.substring(2),16):e.charCodeAt(1)}function g(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return e==="\\"||e==="-"||e==="]"||e==="^"?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),e=[],a=
19b[0]==="^",c=["["];a&&c.push("^");for(var a=a?1:0,f=b.length;a<f;++a){var h=b[a];if(/\\[bdsw]/i.test(h))c.push(h);else{var h=d(h),l;a+2<f&&"-"===b[a+1]?(l=d(b[a+2]),a+=2):l=h;e.push([h,l]);l<65||h>122||(l<65||h>90||e.push([Math.max(65,h)|32,Math.min(l,90)|32]),l<97||h>122||e.push([Math.max(97,h)&-33,Math.min(l,122)&-33]))}}e.sort(function(e,a){return e[0]-a[0]||a[1]-e[1]});b=[];f=[];for(a=0;a<e.length;++a)h=e[a],h[0]<=f[1]+1?f[1]=Math.max(f[1],h[1]):b.push(f=h);for(a=0;a<b.length;++a)h=b[a],c.push(g(h[0])),
20h[1]>h[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(g(h[1])));c.push("]");return c.join("")}function s(e){for(var a=e.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),c=a.length,d=[],f=0,h=0;f<c;++f){var l=a[f];l==="("?++h:"\\"===l.charAt(0)&&(l=+l.substring(1))&&(l<=h?d[l]=-1:a[f]=g(l))}for(f=1;f<d.length;++f)-1===d[f]&&(d[f]=++x);for(h=f=0;f<c;++f)l=a[f],l==="("?(++h,d[h]||(a[f]="(?:")):"\\"===l.charAt(0)&&(l=+l.substring(1))&&l<=h&&
21(a[f]="\\"+d[l]);for(f=0;f<c;++f)"^"===a[f]&&"^"!==a[f+1]&&(a[f]="");if(e.ignoreCase&&m)for(f=0;f<c;++f)l=a[f],e=l.charAt(0),l.length>=2&&e==="["?a[f]=b(l):e!=="\\"&&(a[f]=l.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return a.join("")}for(var x=0,m=!1,j=!1,k=0,c=a.length;k<c;++k){var i=a[k];if(i.ignoreCase)j=!0;else if(/[a-z]/i.test(i.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){m=!0;j=!1;break}}for(var r={b:8,t:9,n:10,v:11,
22f:12,r:13},n=[],k=0,c=a.length;k<c;++k){i=a[k];if(i.global||i.multiline)throw Error(""+i);n.push("(?:"+s(i)+")")}return RegExp(n.join("|"),j?"gi":"g")}function T(a,d){function g(a){var c=a.nodeType;if(c==1){if(!b.test(a.className)){for(c=a.firstChild;c;c=c.nextSibling)g(c);c=a.nodeName.toLowerCase();if("br"===c||"li"===c)s[j]="\n",m[j<<1]=x++,m[j++<<1|1]=a}}else if(c==3||c==4)c=a.nodeValue,c.length&&(c=d?c.replace(/\r\n?/g,"\n"):c.replace(/[\t\n\r ]+/g," "),s[j]=c,m[j<<1]=x,x+=c.length,m[j++<<1|1]=
23a)}var b=/(?:^|\s)nocode(?:\s|$)/,s=[],x=0,m=[],j=0;g(a);return{a:s.join("").replace(/\n$/,""),d:m}}function H(a,d,g,b){d&&(a={a:d,e:a},g(a),b.push.apply(b,a.g))}function U(a){for(var d=void 0,g=a.firstChild;g;g=g.nextSibling)var b=g.nodeType,d=b===1?d?a:g:b===3?V.test(g.nodeValue)?a:d:d;return d===a?void 0:d}function C(a,d){function g(a){for(var j=a.e,k=[j,"pln"],c=0,i=a.a.match(s)||[],r={},n=0,e=i.length;n<e;++n){var z=i[n],w=r[z],t=void 0,f;if(typeof w==="string")f=!1;else{var h=b[z.charAt(0)];
24if(h)t=z.match(h[1]),w=h[0];else{for(f=0;f<x;++f)if(h=d[f],t=z.match(h[1])){w=h[0];break}t||(w="pln")}if((f=w.length>=5&&"lang-"===w.substring(0,5))&&!(t&&typeof t[1]==="string"))f=!1,w="src";f||(r[z]=w)}h=c;c+=z.length;if(f){f=t[1];var l=z.indexOf(f),B=l+f.length;t[2]&&(B=z.length-t[2].length,l=B-f.length);w=w.substring(5);H(j+h,z.substring(0,l),g,k);H(j+h+l,f,I(w,f),k);H(j+h+B,z.substring(B),g,k)}else k.push(j+h,w)}a.g=k}var b={},s;(function(){for(var g=a.concat(d),j=[],k={},c=0,i=g.length;c<i;++c){var r=
25g[c],n=r[3];if(n)for(var e=n.length;--e>=0;)b[n.charAt(e)]=r;r=r[1];n=""+r;k.hasOwnProperty(n)||(j.push(r),k[n]=q)}j.push(/[\S\s]/);s=S(j)})();var x=d.length;return g}function v(a){var d=[],g=[];a.tripleQuotedStrings?d.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?d.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
26q,"'\"`"]):d.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&g.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var b=a.hashComments;b&&(a.cStyleComments?(b>1?d.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):d.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),g.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,q])):d.push(["com",
27/^#[^\n\r]*/,q,"#"]));a.cStyleComments&&(g.push(["com",/^\/\/[^\n\r]*/,q]),g.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));if(b=a.regexLiterals){var s=(b=b>1?"":"\n\r")?".":"[\\S\\s]";g.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+s+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+
28s+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&g.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&g.push(["kwd",RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),q]);d.push(["pln",/^\s+/,q," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");g.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,
29q],["pun",RegExp(b),q]);return C(d,g)}function J(a,d,g){function b(a){var c=a.nodeType;if(c==1&&!x.test(a.className))if("br"===a.nodeName)s(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((c==3||c==4)&&g){var d=a.nodeValue,i=d.match(m);if(i)c=d.substring(0,i.index),a.nodeValue=c,(d=d.substring(i.index+i[0].length))&&a.parentNode.insertBefore(j.createTextNode(d),a.nextSibling),s(a),c||a.parentNode.removeChild(a)}}function s(a){function b(a,c){var d=
30c?a.cloneNode(!1):a,e=a.parentNode;if(e){var e=b(e,1),g=a.nextSibling;e.appendChild(d);for(var i=g;i;i=g)g=i.nextSibling,e.appendChild(i)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),d;(d=a.parentNode)&&d.nodeType===1;)a=d;c.push(a)}for(var x=/(?:^|\s)nocode(?:\s|$)/,m=/\r\n?|\n/,j=a.ownerDocument,k=j.createElement("li");a.firstChild;)k.appendChild(a.firstChild);for(var c=[k],i=0;i<c.length;++i)b(c[i]);d===(d|0)&&c[0].setAttribute("value",d);var r=j.createElement("ol");
31r.className="linenums";for(var d=Math.max(0,d-1|0)||0,i=0,n=c.length;i<n;++i)k=c[i],k.className="L"+(i+d)%10,k.firstChild||k.appendChild(j.createTextNode("\u00a0")),r.appendChild(k);a.appendChild(r)}function p(a,d){for(var g=d.length;--g>=0;){var b=d[g];F.hasOwnProperty(b)?D.console&&console.warn("cannot override language handler %s",b):F[b]=a}}function I(a,d){if(!a||!F.hasOwnProperty(a))a=/^\s*</.test(d)?"default-markup":"default-code";return F[a]}function K(a){var d=a.h;try{var g=T(a.c,a.i),b=g.a;
32a.a=b;a.d=g.d;a.e=0;I(d,b)(a);var s=/\bMSIE\s(\d+)/.exec(navigator.userAgent),s=s&&+s[1]<=8,d=/\n/g,x=a.a,m=x.length,g=0,j=a.d,k=j.length,b=0,c=a.g,i=c.length,r=0;c[i]=m;var n,e;for(e=n=0;e<i;)c[e]!==c[e+2]?(c[n++]=c[e++],c[n++]=c[e++]):e+=2;i=n;for(e=n=0;e<i;){for(var p=c[e],w=c[e+1],t=e+2;t+2<=i&&c[t+1]===w;)t+=2;c[n++]=p;c[n++]=w;e=t}c.length=n;var f=a.c,h;if(f)h=f.style.display,f.style.display="none";try{for(;b<k;){var l=j[b+2]||m,B=c[r+2]||m,t=Math.min(l,B),A=j[b+1],G;if(A.nodeType!==1&&(G=x.substring(g,
33t))){s&&(G=G.replace(d,"\r"));A.nodeValue=G;var L=A.ownerDocument,o=L.createElement("span");o.className=c[r+1];var v=A.parentNode;v.replaceChild(o,A);o.appendChild(A);g<l&&(j[b+1]=A=L.createTextNode(x.substring(t,l)),v.insertBefore(A,o.nextSibling))}g=t;g>=l&&(b+=2);g>=B&&(r+=2)}}finally{if(f)f.style.display=h}}catch(u){D.console&&console.log(u&&u.stack||u)}}var D=window,y=["break,continue,do,else,for,if,return,while"],E=[[y,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
34"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],M=[E,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],N=[E,"abstract,assert,boolean,byte,extends,final,finally,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],
35O=[N,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],E=[E,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],P=[y,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
36Q=[y,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],W=[y,"as,assert,const,copy,drop,enum,extern,fail,false,fn,impl,let,log,loop,match,mod,move,mut,priv,pub,pure,ref,self,static,struct,true,trait,type,unsafe,use"],y=[y,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],R=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,
37V=/\S/,X=v({keywords:[M,O,E,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",P,Q,y],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),F={};p(X,["default-code"]);p(C([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",
38/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);p(C([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],
39["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);p(C([],[["atv",/^[\S\s]+/]]),["uq.val"]);p(v({keywords:M,hashComments:!0,cStyleComments:!0,types:R}),["c","cc","cpp","cxx","cyc","m"]);p(v({keywords:"null,true,false"}),["json"]);p(v({keywords:O,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:R}),
40["cs"]);p(v({keywords:N,cStyleComments:!0}),["java"]);p(v({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);p(v({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);p(v({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]);p(v({keywords:Q,
41hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);p(v({keywords:E,cStyleComments:!0,regexLiterals:!0}),["javascript","js"]);p(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);p(v({keywords:W,cStyleComments:!0,multilineStrings:!0}),["rc","rs","rust"]);
42p(C([],[["str",/^[\S\s]+/]]),["regex"]);var Y=D.PR={createSimpleLexer:C,registerLangHandler:p,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:D.prettyPrintOne=function(a,d,g){var b=document.createElement("div");b.innerHTML="<pre>"+a+"</pre>";b=b.firstChild;g&&J(b,g,!0);K({h:d,j:g,c:b,i:1});
43return b.innerHTML},prettyPrint:D.prettyPrint=function(a,d){function g(){for(var b=D.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;i<p.length&&c.now()<b;i++){for(var d=p[i],j=h,k=d;k=k.previousSibling;){var m=k.nodeType,o=(m===7||m===8)&&k.nodeValue;if(o?!/^\??prettify\b/.test(o):m!==3||/\S/.test(k.nodeValue))break;if(o){j={};o.replace(/\b(\w+)=([\w%+\-.:]+)/g,function(a,b,c){j[b]=c});break}}k=d.className;if((j!==h||e.test(k))&&!v.test(k)){m=!1;for(o=d.parentNode;o;o=o.parentNode)if(f.test(o.tagName)&&
44o.className&&e.test(o.className)){m=!0;break}if(!m){d.className+=" prettyprinted";m=j.lang;if(!m){var m=k.match(n),y;if(!m&&(y=U(d))&&t.test(y.tagName))m=y.className.match(n);m&&(m=m[1])}if(w.test(d.tagName))o=1;else var o=d.currentStyle,u=s.defaultView,o=(o=o?o.whiteSpace:u&&u.getComputedStyle?u.getComputedStyle(d,q).getPropertyValue("white-space"):0)&&"pre"===o.substring(0,3);u=j.linenums;if(!(u=u==="true"||+u))u=(u=k.match(/\blinenums\b(?::(\d+))?/))?u[1]&&u[1].length?+u[1]:!0:!1;u&&J(d,u,o);r=
45{h:m,c:d,j:u,i:o};K(r)}}}i<p.length?setTimeout(g,250):"function"===typeof a&&a()}for(var b=d||document.body,s=b.ownerDocument||document,b=[b.getElementsByTagName("pre"),b.getElementsByTagName("code"),b.getElementsByTagName("xmp")],p=[],m=0;m<b.length;++m)for(var j=0,k=b[m].length;j<k;++j)p.push(b[m][j]);var b=q,c=Date;c.now||(c={now:function(){return+new Date}});var i=0,r,n=/\blang(?:uage)?-([\w.]+)(?!\S)/,e=/\bprettyprint\b/,v=/\bprettyprinted\b/,w=/pre|xmp/i,t=/^code$/i,f=/^(?:pre|code|xmp)$/i,
46h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify",[],function(){return Y})})();}()
47</script>
48
49 <script>
50/*!
51* Bootstrap.js by @fat & @mdo
52* Copyright 2013 Twitter, Inc.
53* https://www.apache.org/licenses/LICENSE-2.0.txt
54*/
55!function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(".dropdown-backdrop").remove(),e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||("ontouchstart"in document.documentElement&&e('<div class="dropdown-backdrop"/>').insertBefore(e(this)).on("click",r),s.toggleClass("open")),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s,o,u,a;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,o=this.options.trigger.split(" ");for(a=o.length;a--;)u=o[a],u=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):u!="manual"&&(i=u=="hover"?"mouseenter":"focus",s=u=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this)));this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e.fn[this.type].defaults,r={},i;this._options&&e.each(this._options,function(e,t){n[e]!=t&&(r[e]=t)},this),i=e(t.currentTarget)[this.type](r).data(this.type);if(!i.options.delay||!i.options.delay.show)return i.show();clearTimeout(this.timeout),i.hoverState="in",this.timeout=setTimeout(function(){i.hoverState=="in"&&i.show()},i.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var t,n,r,i,s,o,u=e.Event("show");if(this.hasContent()&&this.enabled){this.$element.trigger(u);if(u.isDefaultPrevented())return;t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,t.detach().css({top:0,left:0,display:"block"}),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),n=this.getPosition(),r=t[0].offsetWidth,i=t[0].offsetHeight;switch(s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}this.applyPlacement(o,s),this.$element.trigger("shown")}},applyPlacement:function(e,t){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,s,o,u,a;n.offset(e).addClass(t).addClass("in"),s=n[0].offsetWidth,o=n[0].offsetHeight,t=="top"&&o!=i&&(e.top=e.top+i-o,a=!0),t=="bottom"||t=="top"?(u=0,e.left<0&&(u=e.left*-2,e.left=0,n.offset(e),s=n[0].offsetWidth,o=n[0].offsetHeight),this.replaceArrow(u-r+s,s,"left")):this.replaceArrow(o-i,o,"top"),a&&n.offset(e)},replaceArrow:function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function i(){var t=setTimeout(function(){n.off(e.support.transition.end).detach()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.detach()})}var t=this,n=this.tip(),r=e.Event("hide");this.$element.trigger(r);if(r.isDefaultPrevented())return;return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i():n.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var t=this.$element[0];return e.extend({},typeof t.getBoundingClientRect=="function"?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(t){var n=t?e(t.currentTarget)[this.type](this._options).data(this.type):this;n.tip().hasClass("in")?n.hide():n.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=(typeof n.content=="function"?n.content.call(t[0]):n.content)||t.attr("data-content"),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}});var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var n=e(this),r=n.data("target")||n.attr("href"),i=/^#\w/.test(r)&&e(r);return i&&i.length&&[[i.position().top+(!e.isWindow(t.$scrollElement.get(0))&&t.$scrollElement.scrollTop()),r]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}};var n=e.fn.scrollspy;e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active:last a")[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}};var n=e.fn.tab;e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=n,this},e(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=e(this.options.menu),this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:t.top+t.height,left:t.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(n=e.isFunction(this.source)?this.source(this.query,e.proxy(this.process,this)):this.source,n?this.process(n):this)},process:function(t){var n=this;return t=e.grep(t,function(e){return n.matcher(e)}),t=this.sorter(t),t.length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(e){return~e.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(e){var t=[],n=[],r=[],i;while(i=e.shift())i.toLowerCase().indexOf(this.query.toLowerCase())?~i.indexOf(this.query)?n.push(i):r.push(i):t.push(i);return t.concat(n,r)},highlighter:function(e){var t=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return e.replace(new RegExp("("+t+")","ig"),function(e,t){return"<strong>"+t+"</strong>"})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("focus",e.proxy(this.focus,this)).on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this)).on("mouseleave","li",e.proxy(this.mouseleave,this))},eventSupported:function(e){var t=e in this.$element;return t||(this.$element.setAttribute(e,"return;"),t=typeof this.$element[e]=="function"),t},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},focus:function(e){this.focused=!0},blur:function(e){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(e){e.stopPropagation(),e.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(t){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")},mouseleave:function(e){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}};var n=e.fn.typeahead;e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},e.fn.typeahead.Constructor=t,e.fn.typeahead.noConflict=function(){return e.fn.typeahead=n,this},e(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;n.typeahead(n.data())})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)).on("click.affix.data-api",e.proxy(function(){setTimeout(e.proxy(this.checkPosition,this),1)},this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))};var n=e.fn.affix;e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery);
56</script>
57
58 <script>
59/**
60 * marked - a markdown parser
61 * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed)
62 * https://github.com/chjj/marked
63 */
64(function(){var block={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:noop,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:noop,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:noop,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};block.bullet=/(?:[*+-]|\d+\.)/;block.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;block.item=replace(block.item,"gm")(/bull/g,block.bullet)();block.list=replace(block.list)(/bull/g,block.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+block.def.source+")")();block.blockquote=replace(block.blockquote)("def",block.def)();block._tag="(?!(?:"+"a|em|strong|small|s|cite|q|dfn|abbr|data|time|code"+"|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo"+"|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b";block.html=replace(block.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,block._tag)();block.paragraph=replace(block.paragraph)("hr",block.hr)("heading",block.heading)("lheading",block.lheading)("blockquote",block.blockquote)("tag","<"+block._tag)("def",block.def)();block.normal=merge({},block);block.gfm=merge({},block.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/});block.gfm.paragraph=replace(block.paragraph)("(?!","(?!"+block.gfm.fences.source.replace("\\1","\\2")+"|"+block.list.source.replace("\\1","\\3")+"|")();block.tables=merge({},block.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/});function Lexer(options){this.tokens=[];this.tokens.links={};this.options=options||marked.defaults;this.rules=block.normal;if(this.options.gfm){if(this.options.tables){this.rules=block.tables}else{this.rules=block.gfm}}}Lexer.rules=block;Lexer.lex=function(src,options){var lexer=new Lexer(options);return lexer.lex(src)};Lexer.prototype.lex=function(src){src=src.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n");return this.token(src,true)};Lexer.prototype.token=function(src,top,bq){var src=src.replace(/^ +$/gm,""),next,loose,cap,bull,b,item,space,i,l;while(src){if(cap=this.rules.newline.exec(src)){src=src.substring(cap[0].length);if(cap[0].length>1){this.tokens.push({type:"space"})}}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);cap=cap[0].replace(/^ {4}/gm,"");this.tokens.push({type:"code",text:!this.options.pedantic?cap.replace(/\n+$/,""):cap});continue}if(cap=this.rules.fences.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"code",lang:cap[2],text:cap[3]||""});continue}if(cap=this.rules.heading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[1].length,text:cap[2]});continue}if(top&&(cap=this.rules.nptable.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/\n$/,"").split("\n")};for(i=0;i<item.align.length;i++){if(/^ *-+: *$/.test(item.align[i])){item.align[i]="right"}else if(/^ *:-+: *$/.test(item.align[i])){item.align[i]="center"}else if(/^ *:-+ *$/.test(item.align[i])){item.align[i]="left"}else{item.align[i]=null}}for(i=0;i<item.cells.length;i++){item.cells[i]=item.cells[i].split(/ *\| */)}this.tokens.push(item);continue}if(cap=this.rules.lheading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[2]==="="?1:2,text:cap[1]});continue}if(cap=this.rules.hr.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"hr"});continue}if(cap=this.rules.blockquote.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"blockquote_start"});cap=cap[0].replace(/^ *> ?/gm,"");this.token(cap,top,true);this.tokens.push({type:"blockquote_end"});continue}if(cap=this.rules.list.exec(src)){src=src.substring(cap[0].length);bull=cap[2];this.tokens.push({type:"list_start",ordered:bull.length>1});cap=cap[0].match(this.rules.item);next=false;l=cap.length;i=0;for(;i<l;i++){item=cap[i];space=item.length;item=item.replace(/^ *([*+-]|\d+\.) +/,"");if(~item.indexOf("\n ")){space-=item.length;item=!this.options.pedantic?item.replace(new RegExp("^ {1,"+space+"}","gm"),""):item.replace(/^ {1,4}/gm,"")}if(this.options.smartLists&&i!==l-1){b=block.bullet.exec(cap[i+1])[0];if(bull!==b&&!(bull.length>1&&b.length>1)){src=cap.slice(i+1).join("\n")+src;i=l-1}}loose=next||/\n\n(?!\s*$)/.test(item);if(i!==l-1){next=item.charAt(item.length-1)==="\n";if(!loose)loose=next}this.tokens.push({type:loose?"loose_item_start":"list_item_start"});this.token(item,false,bq);this.tokens.push({type:"list_item_end"})}this.tokens.push({type:"list_end"});continue}if(cap=this.rules.html.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&(cap[1]==="pre"||cap[1]==="script"||cap[1]==="style"),text:cap[0]});continue}if(!bq&&top&&(cap=this.rules.def.exec(src))){src=src.substring(cap[0].length);this.tokens.links[cap[1].toLowerCase()]={href:cap[2],title:cap[3]};continue}if(top&&(cap=this.rules.table.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/(?: *\| *)?\n$/,"").split("\n")};for(i=0;i<item.align.length;i++){if(/^ *-+: *$/.test(item.align[i])){item.align[i]="right"}else if(/^ *:-+: *$/.test(item.align[i])){item.align[i]="center"}else if(/^ *:-+ *$/.test(item.align[i])){item.align[i]="left"}else{item.align[i]=null}}for(i=0;i<item.cells.length;i++){item.cells[i]=item.cells[i].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */)}this.tokens.push(item);continue}if(top&&(cap=this.rules.paragraph.exec(src))){src=src.substring(cap[0].length);this.tokens.push({type:"paragraph",text:cap[1].charAt(cap[1].length-1)==="\n"?cap[1].slice(0,-1):cap[1]});continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"text",text:cap[0]});continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return this.tokens};var inline={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:noop,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:noop,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};inline._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/;inline._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/;inline.link=replace(inline.link)("inside",inline._inside)("href",inline._href)();inline.reflink=replace(inline.reflink)("inside",inline._inside)();inline.normal=merge({},inline);inline.pedantic=merge({},inline.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/});inline.gfm=merge({},inline.normal,{escape:replace(inline.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(inline.text)("]|","~]|")("|","|https?://|")()});inline.breaks=merge({},inline.gfm,{br:replace(inline.br)("{2,}","*")(),text:replace(inline.gfm.text)("{2,}","*")()});function InlineLexer(links,options){this.options=options||marked.defaults;this.links=links;this.rules=inline.normal;this.renderer=this.options.renderer||new Renderer;this.renderer.options=this.options;if(!this.links){throw new Error("Tokens array requires a `links` property.")}if(this.options.gfm){if(this.options.breaks){this.rules=inline.breaks}else{this.rules=inline.gfm}}else if(this.options.pedantic){this.rules=inline.pedantic}}InlineLexer.rules=inline;InlineLexer.output=function(src,links,options){var inline=new InlineLexer(links,options);return inline.output(src)};InlineLexer.prototype.output=function(src){var out="",link,text,href,cap;while(src){if(cap=this.rules.escape.exec(src)){src=src.substring(cap[0].length);out+=cap[1];continue}if(cap=this.rules.autolink.exec(src)){src=src.substring(cap[0].length);if(cap[2]==="@"){text=cap[1].charAt(6)===":"?this.mangle(cap[1].substring(7)):this.mangle(cap[1]);href=this.mangle("mailto:")+text}else{text=escape(cap[1]);href=text}out+=this.renderer.link(href,null,text);continue}if(!this.inLink&&(cap=this.rules.url.exec(src))){src=src.substring(cap[0].length);text=escape(cap[1]);href=text;out+=this.renderer.link(href,null,text);continue}if(cap=this.rules.tag.exec(src)){if(!this.inLink&&/^<a /i.test(cap[0])){this.inLink=true}else if(this.inLink&&/^<\/a>/i.test(cap[0])){this.inLink=false}src=src.substring(cap[0].length);out+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(cap[0]):escape(cap[0]):cap[0];continue}if(cap=this.rules.link.exec(src)){src=src.substring(cap[0].length);this.inLink=true;out+=this.outputLink(cap,{href:cap[2],title:cap[3]});this.inLink=false;continue}if((cap=this.rules.reflink.exec(src))||(cap=this.rules.nolink.exec(src))){src=src.substring(cap[0].length);link=(cap[2]||cap[1]).replace(/\s+/g," ");link=this.links[link.toLowerCase()];if(!link||!link.href){out+=cap[0].charAt(0);src=cap[0].substring(1)+src;continue}this.inLink=true;out+=this.outputLink(cap,link);this.inLink=false;continue}if(cap=this.rules.strong.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.strong(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.em.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.em(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.codespan(escape(cap[2],true));continue}if(cap=this.rules.br.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.br();continue}if(cap=this.rules.del.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.del(this.output(cap[1]));continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.text(escape(this.smartypants(cap[0])));continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return out};InlineLexer.prototype.outputLink=function(cap,link){var href=escape(link.href),title=link.title?escape(link.title):null;return cap[0].charAt(0)!=="!"?this.renderer.link(href,title,this.output(cap[1])):this.renderer.image(href,title,escape(cap[1]))};InlineLexer.prototype.smartypants=function(text){if(!this.options.smartypants)return text;return text.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")};InlineLexer.prototype.mangle=function(text){if(!this.options.mangle)return text;var out="",l=text.length,i=0,ch;for(;i<l;i++){ch=text.charCodeAt(i);if(Math.random()>.5){ch="x"+ch.toString(16)}out+="&#"+ch+";"}return out};function Renderer(options){this.options=options||{}}Renderer.prototype.code=function(code,lang,escaped){if(this.options.highlight){var out=this.options.highlight(code,lang);if(out!=null&&out!==code){escaped=true;code=out}}if(!lang){return"<pre><code>"+(escaped?code:escape(code,true))+"\n</code></pre>"}return'<pre><code class="'+this.options.langPrefix+escape(lang,true)+'">'+(escaped?code:escape(code,true))+"\n</code></pre>\n"};Renderer.prototype.blockquote=function(quote){return"<blockquote>\n"+quote+"</blockquote>\n"};Renderer.prototype.html=function(html){return html};Renderer.prototype.heading=function(text,level,raw){return"<h"+level+' id="'+this.options.headerPrefix+raw.toLowerCase().replace(/[^\w]+/g,"-")+'">'+text+"</h"+level+">\n"};Renderer.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"};Renderer.prototype.list=function(body,ordered){var type=ordered?"ol":"ul";return"<"+type+">\n"+body+"</"+type+">\n"};Renderer.prototype.listitem=function(text){return"<li>"+text+"</li>\n"};Renderer.prototype.paragraph=function(text){return"<p>"+text+"</p>\n"};Renderer.prototype.table=function(header,body){return"<table>\n"+"<thead>\n"+header+"</thead>\n"+"<tbody>\n"+body+"</tbody>\n"+"</table>\n"};Renderer.prototype.tablerow=function(content){return"<tr>\n"+content+"</tr>\n"};Renderer.prototype.tablecell=function(content,flags){var type=flags.header?"th":"td";var tag=flags.align?"<"+type+' style="text-align:'+flags.align+'">':"<"+type+">";return tag+content+"</"+type+">\n"};Renderer.prototype.strong=function(text){return"<strong>"+text+"</strong>"};Renderer.prototype.em=function(text){return"<em>"+text+"</em>"};Renderer.prototype.codespan=function(text){return"<code>"+text+"</code>"};Renderer.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"};Renderer.prototype.del=function(text){return"<del>"+text+"</del>"};Renderer.prototype.link=function(href,title,text){if(this.options.sanitize){try{var prot=decodeURIComponent(unescape(href)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(prot.indexOf("javascript:")===0||prot.indexOf("vbscript:")===0){return""}}var out='<a href="'+href+'"';if(title){out+=' title="'+title+'"'}out+=">"+text+"</a>";return out};Renderer.prototype.image=function(href,title,text){var out='<img src="'+href+'" alt="'+text+'"';if(title){out+=' title="'+title+'"'}out+=this.options.xhtml?"/>":">";return out};Renderer.prototype.text=function(text){return text};function Parser(options){this.tokens=[];this.token=null;this.options=options||marked.defaults;this.options.renderer=this.options.renderer||new Renderer;this.renderer=this.options.renderer;this.renderer.options=this.options}Parser.parse=function(src,options,renderer){var parser=new Parser(options,renderer);return parser.parse(src)};Parser.prototype.parse=function(src){this.inline=new InlineLexer(src.links,this.options,this.renderer);this.tokens=src.reverse();var out="";while(this.next()){out+=this.tok()}return out};Parser.prototype.next=function(){return this.token=this.tokens.pop()};Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0};Parser.prototype.parseText=function(){var body=this.token.text;while(this.peek().type==="text"){body+="\n"+this.next().text}return this.inline.output(body)};Parser.prototype.tok=function(){switch(this.token.type){case"space":{return""}case"hr":{return this.renderer.hr()}case"heading":{return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text)}case"code":{return this.renderer.code(this.token.text,this.token.lang,this.token.escaped)}case"table":{var header="",body="",i,row,cell,flags,j;cell="";for(i=0;i<this.token.header.length;i++){flags={header:true,align:this.token.align[i]};cell+=this.renderer.tablecell(this.inline.output(this.token.header[i]),{header:true,align:this.token.align[i]})}header+=this.renderer.tablerow(cell);for(i=0;i<this.token.cells.length;i++){row=this.token.cells[i];cell="";for(j=0;j<row.length;j++){cell+=this.renderer.tablecell(this.inline.output(row[j]),{header:false,align:this.token.align[j]})}body+=this.renderer.tablerow(cell)}return this.renderer.table(header,body)}case"blockquote_start":{var body="";while(this.next().type!=="blockquote_end"){body+=this.tok()}return this.renderer.blockquote(body)}case"list_start":{var body="",ordered=this.token.ordered;while(this.next().type!=="list_end"){body+=this.tok()}return this.renderer.list(body,ordered)}case"list_item_start":{var body="";while(this.next().type!=="list_item_end"){body+=this.token.type==="text"?this.parseText():this.tok()}return this.renderer.listitem(body)}case"loose_item_start":{var body="";while(this.next().type!=="list_item_end"){body+=this.tok()}return this.renderer.listitem(body)}case"html":{var html=!this.token.pre&&!this.options.pedantic?this.inline.output(this.token.text):this.token.text;return this.renderer.html(html)}case"paragraph":{return this.renderer.paragraph(this.inline.output(this.token.text))}case"text":{return this.renderer.paragraph(this.parseText())}}};function escape(html,encode){return html.replace(!encode?/&(?!#?\w+;)/g:/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function unescape(html){return html.replace(/&([#\w]+);/g,function(_,n){n=n.toLowerCase();if(n==="colon")return":";if(n.charAt(0)==="#"){return n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1))}return""})}function replace(regex,opt){regex=regex.source;opt=opt||"";return function self(name,val){if(!name)return new RegExp(regex,opt);val=val.source||val;val=val.replace(/(^|[^\[])\^/g,"$1");regex=regex.replace(name,val);return self}}function noop(){}noop.exec=noop;function merge(obj){var i=1,target,key;for(;i<arguments.length;i++){target=arguments[i];for(key in target){if(Object.prototype.hasOwnProperty.call(target,key)){obj[key]=target[key]}}}return obj}function marked(src,opt,callback){if(callback||typeof opt==="function"){if(!callback){callback=opt;opt=null}opt=merge({},marked.defaults,opt||{});var highlight=opt.highlight,tokens,pending,i=0;try{tokens=Lexer.lex(src,opt)}catch(e){return callback(e)}pending=tokens.length;var done=function(err){if(err){opt.highlight=highlight;return callback(err)}var out;try{out=Parser.parse(tokens,opt)}catch(e){err=e}opt.highlight=highlight;return err?callback(err):callback(null,out)};if(!highlight||highlight.length<3){return done()}delete opt.highlight;if(!pending)return done();for(;i<tokens.length;i++){(function(token){if(token.type!=="code"){return--pending||done()}return highlight(token.text,token.lang,function(err,code){if(err)return done(err);if(code==null||code===token.text){return--pending||done()}token.text=code;token.escaped=true;--pending||done()})})(tokens[i])}return}try{if(opt)opt=merge({},marked.defaults,opt);return Parser.parse(Lexer.lex(src,opt),opt)}catch(e){e.message+="\nPlease report this to https://github.com/chjj/marked.";if((opt||marked.defaults).silent){return"<p>An error occurred:</p><pre>"+escape(e.message+"",true)+"</pre>"}throw e}}marked.options=marked.setOptions=function(opt){merge(marked.defaults,opt);return marked};marked.defaults={gfm:true,tables:true,breaks:false,pedantic:false,sanitize:false,sanitizer:null,mangle:true,smartLists:false,silent:false,highlight:null,langPrefix:"lang-",smartypants:false,headerPrefix:"",renderer:new Renderer,xhtml:false};marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=Renderer;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.InlineLexer=InlineLexer;marked.inlineLexer=InlineLexer.output;marked.parse=marked;if(typeof module!=="undefined"&&typeof exports==="object"){module.exports=marked}else if(typeof define==="function"&&define.amd){define(function(){return marked})}else{this.marked=marked}}).call(function(){return this||(typeof window!=="undefined"?window:global)}());
65</script>
66
67 <script>
68 $( document ).ready(function() {
69 marked.setOptions({
70 renderer: new marked.Renderer(),
71 gfm: true,
72 tables: true,
73 breaks: false,
74 pedantic: false,
75 sanitize: false,
76 smartLists: true,
77 smartypants: false
78 });
79
80 var textFile = null;
81
82 /// Function to be used to download a text json schema
83 function makeTextFile(text) {
84
85 var data = new Blob([text], {type: 'text/plain'});
86
87 // If we are replacing a previously generated file we need to
88 // manually revoke the object URL to avoid memory leaks.
89 if (textFile !== null) {
90 window.URL.revokeObjectURL(textFile);
91 }
92
93 textFile = window.URL.createObjectURL(data);
94
95 var a = document.createElement("a");
96 document.body.appendChild(a);
97 a.style = "display: none";
98 a.href = textFile;
99 a.download = 'schema.txt';
100 a.click();
101
102 return textFile;
103 };
104
105 /// TODO: Implement resizing for expanding within iframe
106 function callResize() {
107 window.parent.postMessage('resize', "*");
108 }
109
110 function processMarked() {
111 $(".marked").each(function() {
112 $(this).html(marked($(this).html()));
113 });
114 }
115
116 // Bootstrap Scrollspy
117 $(this).scrollspy({ target: '#scrollingNav', offset: 18 });
118
119 // Content-Scroll on Navigation click.
120 $('.sidenav').find('a').on('click', function(e) {
121 e.preventDefault();
122 var id = $(this).attr('href');
123 if ($(id).length > 0)
124 $('html,body').animate({ scrollTop: parseInt($(id).offset().top) }, 400);
125 window.location.hash = $(this).attr('href');
126 });
127
128 // Quickjump on Pageload to hash position.
129 if(window.location.hash) {
130 var id = window.location.hash;
131 if ($(id).length > 0)
132 $('html,body').animate({ scrollTop: parseInt($(id).offset().top) }, 0);
133 }
134
135
136 function initDynamic() {
137 // tabs
138 $('.nav-tabs-examples a').click(function (e) {
139 e.preventDefault();
140 $(this).tab('show');
141 });
142
143
144 $('.nav-tabs-examples').find('a:first').tab('show');
145
146 // call scrollspy refresh method
147 $(window).scrollspy('refresh');
148 }
149
150 initDynamic();
151
152 // Pre- / Code-Format
153 prettyPrint();
154
155 //Convert elements with "marked" class to markdown
156 processMarked();
157 });
158
159 function findNode(id, currentNode) {
160 var currentChild,
161 result;
162
163 if ( Object.keys(currentNode)[0] == id) {
164 return currentNode;
165 } else {
166 // Use a for loop instead of forEach to avoid nested functions
167 // Otherwise "return" will not work properly
168 for(var propt in currentNode){
169 if (currentNode.hasOwnProperty(propt)) {
170 currentChild = currentNode[propt]
171 if (id == propt) {
172 return currentChild;
173 } else {
174 // Search in the current child
175 if (typeof(currentChild) === 'object') {
176 result = findNode(id, currentChild);
177 if (result != false) {
178 return result;
179 }
180 }
181 }
182 }
183 }
184 // The node has not been found and we have no more options
185 return false;
186 }
187 }
188 </script>
189 <style type="text/css">
190 @import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
191
192
193/*!
194 * Bootstrap v2.3.2
195 *
196 * Copyright 2013 Twitter, Inc
197 * Licensed under the Apache License v2.0
198 * https://www.apache.org/licenses/LICENSE-2.0
199 *
200 * Designed and built with all the love in the world by @mdo and @fat.
201 */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{width:auto\9;height:auto;max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}#map_canvas img,.google-maps img{max-width:none}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}label,select,button,input[type="button"],input[type="reset"],input[type="submit"],input[type="radio"],input[type="checkbox"]{cursor:pointer}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333;background-color:#fff}a{color:#08c;text-decoration:none}a:hover,a:focus{color:#005580;text-decoration:underline}.img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.1)}.img-circle{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.127659574468085%;*margin-left:2.074468085106383%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.127659574468085%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.48936170212765%;*width:91.43617021276594%}.row-fluid .span10{width:82.97872340425532%;*width:82.92553191489361%}.row-fluid .span9{width:74.46808510638297%;*width:74.41489361702126%}.row-fluid .span8{width:65.95744680851064%;*width:65.90425531914893%}.row-fluid .span7{width:57.44680851063829%;*width:57.39361702127659%}.row-fluid .span6{width:48.93617021276595%;*width:48.88297872340425%}.row-fluid .span5{width:40.42553191489362%;*width:40.37234042553192%}.row-fluid .span4{width:31.914893617021278%;*width:31.861702127659576%}.row-fluid .span3{width:23.404255319148934%;*width:23.351063829787233%}.row-fluid .span2{width:14.893617021276595%;*width:14.840425531914894%}.row-fluid .span1{width:6.382978723404255%;*width:6.329787234042553%}.row-fluid .offset12{margin-left:104.25531914893617%;*margin-left:104.14893617021275%}.row-fluid .offset12:first-child{margin-left:102.12765957446808%;*margin-left:102.02127659574467%}.row-fluid .offset11{margin-left:95.74468085106382%;*margin-left:95.6382978723404%}.row-fluid .offset11:first-child{margin-left:93.61702127659574%;*margin-left:93.51063829787232%}.row-fluid .offset10{margin-left:87.23404255319149%;*margin-left:87.12765957446807%}.row-fluid .offset10:first-child{margin-left:85.1063829787234%;*margin-left:84.99999999999999%}.row-fluid .offset9{margin-left:78.72340425531914%;*margin-left:78.61702127659572%}.row-fluid .offset9:first-child{margin-left:76.59574468085106%;*margin-left:76.48936170212764%}.row-fluid .offset8{margin-left:70.2127659574468%;*margin-left:70.10638297872339%}.row-fluid .offset8:first-child{margin-left:68.08510638297872%;*margin-left:67.9787234042553%}.row-fluid .offset7{margin-left:61.70212765957446%;*margin-left:61.59574468085106%}.row-fluid .offset7:first-child{margin-left:59.574468085106375%;*margin-left:59.46808510638297%}.row-fluid .offset6{margin-left:53.191489361702125%;*margin-left:53.085106382978715%}.row-fluid .offset6:first-child{margin-left:51.063829787234035%;*margin-left:50.95744680851063%}.row-fluid .offset5{margin-left:44.68085106382979%;*margin-left:44.57446808510638%}.row-fluid .offset5:first-child{margin-left:42.5531914893617%;*margin-left:42.4468085106383%}.row-fluid .offset4{margin-left:36.170212765957444%;*margin-left:36.06382978723405%}.row-fluid .offset4:first-child{margin-left:34.04255319148936%;*margin-left:33.93617021276596%}.row-fluid .offset3{margin-left:27.659574468085104%;*margin-left:27.5531914893617%}.row-fluid .offset3:first-child{margin-left:25.53191489361702%;*margin-left:25.425531914893618%}.row-fluid .offset2{margin-left:19.148936170212764%;*margin-left:19.04255319148936%}.row-fluid .offset2:first-child{margin-left:17.02127659574468%;*margin-left:16.914893617021278%}.row-fluid .offset1{margin-left:10.638297872340425%;*margin-left:10.53191489361702%}.row-fluid .offset1:first-child{margin-left:8.51063829787234%;*margin-left:8.404255319148938%}[class*="span"].hide,.row-fluid [class*="span"].hide{display:none}[class*="span"].pull-right,.row-fluid [class*="span"].pull-right{float:right}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;line-height:0;content:""}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;line-height:0;content:""}.container-fluid:after{clear:both}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:21px;font-weight:200;line-height:30px}small{font-size:85%}strong{font-weight:bold}em{font-style:italic}cite{font-style:normal}.muted{color:#999}a.muted:hover,a.muted:focus{color:#808080}.text-warning{color:#c09853}a.text-warning:hover,a.text-warning:focus{color:#a47e3c}.text-error{color:#b94a48}a.text-error:hover,a.text-error:focus{color:#953b39}.text-info{color:#3a87ad}a.text-info:hover,a.text-info:focus{color:#2d6987}.text-success{color:#468847}a.text-success:hover,a.text-success:focus{color:#356635}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}h1,h2,h3,h4,h5,h6{margin:10px 0;font-family:inherit;font-weight:bold;line-height:20px;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{line-height:40px}h1{font-size:38.5px}h2{font-size:31.5px}h3{font-size:24.5px}h4{font-size:17.5px}h5{font-size:14px}h6{font-size:11.9px}h1 small{font-size:24.5px}h2 small{font-size:17.5px}h3 small{font-size:14px}h4 small{font-size:14px}.page-header{padding-bottom:9px;margin:20px 0 30px;border-bottom:1px solid #eee}ul,ol{padding:0;margin:0 0 10px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}li{line-height:20px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}ul.inline,ol.inline{margin-left:0;list-style:none}ul.inline>li,ol.inline>li{display:inline-block;*display:inline;padding-right:5px;padding-left:5px;*zoom:1}dl{margin-bottom:20px}dt,dd{line-height:20px}dt{font-weight:bold}dd{margin-left:10px}.dl-horizontal{*zoom:1}.dl-horizontal:before,.dl-horizontal:after{display:table;line-height:0;content:""}.dl-horizontal:after{clear:both}.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}hr{margin:20px 0;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{margin-bottom:0;font-size:17.5px;font-weight:300;line-height:1.25}blockquote small{display:block;line-height:20px;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}blockquote.pull-right small:before{content:''}blockquote.pull-right small:after{content:'\00A0 \2014'}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:20px;font-style:normal;line-height:20px}code,pre{padding:0 3px 2px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;color:#333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}code{padding:2px 4px;color:#d14;white-space:nowrap;background-color:#f7f7f9;border:1px solid #e1e1e8}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}pre.prettyprint{margin-bottom:20px}pre code{padding:0;color:inherit;white-space:pre;white-space:pre-wrap;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 20px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #e5e5e5}legend small{font-size:15px;color:#999}label,input,button,select,textarea{font-size:14px;font-weight:normal;line-height:20px}input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px}select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:20px;padding:4px 6px;margin-bottom:10px;font-size:14px;line-height:20px;color:#555;vertical-align:middle;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}input,textarea,.uneditable-input{width:206px}textarea{height:auto}textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear .2s,box-shadow linear .2s;-moz-transition:border linear .2s,box-shadow linear .2s;-o-transition:border linear .2s,box-shadow linear .2s;transition:border linear .2s,box-shadow linear .2s}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6)}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;*margin-top:0;line-height:normal}input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto}select,input[type="file"]{height:30px;*margin-top:4px;line-height:30px}select{width:220px;background-color:#fff;border:1px solid #ccc}select[multiple],select[size]{height:auto}select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.uneditable-input,.uneditable-textarea{color:#999;cursor:not-allowed;background-color:#fcfcfc;border-color:#ccc;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}.uneditable-input{overflow:hidden;white-space:nowrap}.uneditable-textarea{width:auto;height:auto}input:-moz-placeholder,textarea:-moz-placeholder{color:#999}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}.radio,.checkbox{min-height:20px;padding-left:20px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-20px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}.input-append input[class*="span"],.input-append .uneditable-input[class*="span"],.input-prepend input[class*="span"],.input-prepend .uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"],.row-fluid .input-prepend [class*="span"],.row-fluid .input-append [class*="span"]{display:inline-block}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:926px}input.span11,textarea.span11,.uneditable-input.span11{width:846px}input.span10,textarea.span10,.uneditable-input.span10{width:766px}input.span9,textarea.span9,.uneditable-input.span9{width:686px}input.span8,textarea.span8,.uneditable-input.span8{width:606px}input.span7,textarea.span7,.uneditable-input.span7{width:526px}input.span6,textarea.span6,.uneditable-input.span6{width:446px}input.span5,textarea.span5,.uneditable-input.span5{width:366px}input.span4,textarea.span4,.uneditable-input.span4{width:286px}input.span3,textarea.span3,.uneditable-input.span3{width:206px}input.span2,textarea.span2,.uneditable-input.span2{width:126px}input.span1,textarea.span1,.uneditable-input.span1{width:46px}.controls-row{*zoom:1}.controls-row:before,.controls-row:after{display:table;line-height:0;content:""}.controls-row:after{clear:both}.controls-row [class*="span"],.row-fluid .controls-row [class*="span"]{float:left}.controls-row .checkbox[class*="span"],.controls-row .radio[class*="span"]{padding-top:5px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eee}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning .control-label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning .checkbox,.control-group.warning .radio,.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853}.control-group.warning input,.control-group.warning select,.control-group.warning textarea{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error .control-label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48}.control-group.error .checkbox,.control-group.error .radio,.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48}.control-group.error input,.control-group.error select,.control-group.error textarea{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.control-group.success .control-label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success .checkbox,.control-group.success .radio,.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847}.control-group.success input,.control-group.success select,.control-group.success textarea{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}.control-group.info .control-label,.control-group.info .help-block,.control-group.info .help-inline{color:#3a87ad}.control-group.info .checkbox,.control-group.info .radio,.control-group.info input,.control-group.info select,.control-group.info textarea{color:#3a87ad}.control-group.info input,.control-group.info select,.control-group.info textarea{border-color:#3a87ad;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.info input:focus,.control-group.info select:focus,.control-group.info textarea:focus{border-color:#2d6987;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3}.control-group.info .input-prepend .add-on,.control-group.info .input-append .add-on{color:#3a87ad;background-color:#d9edf7;border-color:#3a87ad}input:focus:invalid,textarea:focus:invalid,select:focus:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:invalid:focus,textarea:focus:invalid:focus,select:focus:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.form-actions{padding:19px 20px 20px;margin-top:20px;margin-bottom:20px;background-color:#f5f5f5;border-top:1px solid #e5e5e5;*zoom:1}.form-actions:before,.form-actions:after{display:table;line-height:0;content:""}.form-actions:after{clear:both}.help-block,.help-inline{color:#595959}.help-block{display:block;margin-bottom:10px}.help-inline{display:inline-block;*display:inline;padding-left:5px;vertical-align:middle;*zoom:1}.input-append,.input-prepend{display:inline-block;margin-bottom:10px;font-size:0;white-space:nowrap;vertical-align:middle}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input,.input-append .dropdown-menu,.input-prepend .dropdown-menu,.input-append .popover,.input-prepend .popover{font-size:14px}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:top;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-append input:focus,.input-prepend input:focus,.input-append select:focus,.input-prepend select:focus,.input-append .uneditable-input:focus,.input-prepend .uneditable-input:focus{z-index:2}.input-append .add-on,.input-prepend .add-on{display:inline-block;width:auto;height:20px;min-width:16px;padding:4px 5px;font-size:14px;font-weight:normal;line-height:20px;text-align:center;text-shadow:0 1px 0 #fff;background-color:#eee;border:1px solid #ccc}.input-append .add-on,.input-prepend .add-on,.input-append .btn,.input-prepend .btn,.input-append .btn-group>.dropdown-toggle,.input-prepend .btn-group>.dropdown-toggle{vertical-align:top;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append .active,.input-prepend .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append input+.btn-group .btn:last-child,.input-append select+.btn-group .btn:last-child,.input-append .uneditable-input+.btn-group .btn:last-child{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-append .add-on,.input-append .btn,.input-append .btn-group{margin-left:-1px}.input-append .add-on:last-child,.input-append .btn:last-child,.input-append .btn-group:last-child>.dropdown-toggle{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append input+.btn-group .btn,.input-prepend.input-append select+.btn-group .btn,.input-prepend.input-append .uneditable-input+.btn-group .btn{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-prepend.input-append .btn-group:first-child{margin-left:0}input.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.form-search .input-append .search-query,.form-search .input-prepend .search-query{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.form-search .input-append .search-query{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.form-search .input-append .btn{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.form-search .input-prepend .search-query{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.form-search .input-prepend .btn{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;margin-bottom:0;vertical-align:middle;*zoom:1}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label,.form-search .btn-group,.form-inline .btn-group{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:10px}legend+.control-group{margin-top:20px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:20px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;line-height:0;content:""}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:160px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:180px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:180px}.form-horizontal .help-block{margin-bottom:0}.form-horizontal input+.help-block,.form-horizontal select+.help-block,.form-horizontal textarea+.help-block,.form-horizontal .uneditable-input+.help-block,.form-horizontal .input-prepend+.help-block,.form-horizontal .input-append+.help-block{margin-top:10px}.form-horizontal .form-actions{padding-left:180px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:20px}.table th,.table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #ddd}.table th{font-weight:bold}.table thead th{vertical-align:bottom}.table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0}.table tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapse;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #ddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child>th:first-child,.table-bordered tbody:first-child tr:first-child>td:first-child,.table-bordered tbody:first-child tr:first-child>th:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered thead:first-child tr:first-child>th:last-child,.table-bordered tbody:first-child tr:first-child>td:last-child,.table-bordered tbody:first-child tr:first-child>th:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-bordered thead:last-child tr:last-child>th:first-child,.table-bordered tbody:last-child tr:last-child>td:first-child,.table-bordered tbody:last-child tr:last-child>th:first-child,.table-bordered tfoot:last-child tr:last-child>td:first-child,.table-bordered tfoot:last-child tr:last-child>th:first-child{-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.table-bordered thead:last-child tr:last-child>th:last-child,.table-bordered tbody:last-child tr:last-child>td:last-child,.table-bordered tbody:last-child tr:last-child>th:last-child,.table-bordered tfoot:last-child tr:last-child>td:last-child,.table-bordered tfoot:last-child tr:last-child>th:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.table-bordered tfoot+tbody:last-child tr:last-child td:first-child{-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomleft:0}.table-bordered tfoot+tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomright:0}.table-bordered caption+thead tr:first-child th:first-child,.table-bordered caption+tbody tr:first-child td:first-child,.table-bordered colgroup+thead tr:first-child th:first-child,.table-bordered colgroup+tbody tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered caption+thead tr:first-child th:last-child,.table-bordered caption+tbody tr:first-child td:last-child,.table-bordered colgroup+thead tr:first-child th:last-child,.table-bordered colgroup+tbody tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover tbody tr:hover>td,.table-hover tbody tr:hover>th{background-color:#f5f5f5}table td[class*="span"],table th[class*="span"],.row-fluid table td[class*="span"],.row-fluid table th[class*="span"]{display:table-cell;float:none;margin-left:0}.table td.span1,.table th.span1{float:none;width:44px;margin-left:0}.table td.span2,.table th.span2{float:none;width:124px;margin-left:0}.table td.span3,.table th.span3{float:none;width:204px;margin-left:0}.table td.span4,.table th.span4{float:none;width:284px;margin-left:0}.table td.span5,.table th.span5{float:none;width:364px;margin-left:0}.table td.span6,.table th.span6{float:none;width:444px;margin-left:0}.table td.span7,.table th.span7{float:none;width:524px;margin-left:0}.table td.span8,.table th.span8{float:none;width:604px;margin-left:0}.table td.span9,.table th.span9{float:none;width:684px;margin-left:0}.table td.span10,.table th.span10{float:none;width:764px;margin-left:0}.table td.span11,.table th.span11{float:none;width:844px;margin-left:0}.table td.span12,.table th.span12{float:none;width:924px;margin-left:0}.table tbody tr.success>td{background-color:#dff0d8}.table tbody tr.error>td{background-color:#f2dede}.table tbody tr.warning>td{background-color:#fcf8e3}.table tbody tr.info>td{background-color:#d9edf7}.table-hover tbody tr.success:hover>td{background-color:#d0e9c6}.table-hover tbody tr.error:hover>td{background-color:#ebcccc}.table-hover tbody tr.warning:hover>td{background-color:#faf2cc}.table-hover tbody tr.info:hover>td{background-color:#c4e3f3}[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;margin-top:1px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat}.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:focus>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>li>a:focus>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:focus>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"],.dropdown-submenu:focus>a>[class*=" icon-"]{background-image:url("../img/glyphicons-halflings-white.png")}.icon-glass{background-position:0 0}.icon-music{background-position:-24px 0}.icon-search{background-position:-48px 0}.icon-envelope{background-position:-72px 0}.icon-heart{background-position:-96px 0}.icon-star{background-position:-120px 0}.icon-star-empty{background-position:-144px 0}.icon-user{background-position:-168px 0}.icon-film{background-position:-192px 0}.icon-th-large{background-position:-216px 0}.icon-th{background-position:-240px 0}.icon-th-list{background-position:-264px 0}.icon-ok{background-position:-288px 0}.icon-remove{background-position:-312px 0}.icon-zoom-in{background-position:-336px 0}.icon-zoom-out{background-position:-360px 0}.icon-off{background-position:-384px 0}.icon-signal{background-position:-408px 0}.icon-cog{background-position:-432px 0}.icon-trash{background-position:-456px 0}.icon-home{background-position:0 -24px}.icon-file{background-position:-24px -24px}.icon-time{background-position:-48px -24px}.icon-road{background-position:-72px -24px}.icon-download-alt{background-position:-96px -24px}.icon-download{background-position:-120px -24px}.icon-upload{background-position:-144px -24px}.icon-inbox{background-position:-168px -24px}.icon-play-circle{background-position:-192px -24px}.icon-repeat{background-position:-216px -24px}.icon-refresh{background-position:-240px -24px}.icon-list-alt{background-position:-264px -24px}.icon-lock{background-position:-287px -24px}.icon-flag{background-position:-312px -24px}.icon-headphones{background-position:-336px -24px}.icon-volume-off{background-position:-360px -24px}.icon-volume-down{background-position:-384px -24px}.icon-volume-up{background-position:-408px -24px}.icon-qrcode{background-position:-432px -24px}.icon-barcode{background-position:-456px -24px}.icon-tag{background-position:0 -48px}.icon-tags{background-position:-25px -48px}.icon-book{background-position:-48px -48px}.icon-bookmark{background-position:-72px -48px}.icon-print{background-position:-96px -48px}.icon-camera{background-position:-120px -48px}.icon-font{background-position:-144px -48px}.icon-bold{background-position:-167px -48px}.icon-italic{background-position:-192px -48px}.icon-text-height{background-position:-216px -48px}.icon-text-width{background-position:-240px -48px}.icon-align-left{background-position:-264px -48px}.icon-align-center{background-position:-288px -48px}.icon-align-right{background-position:-312px -48px}.icon-align-justify{background-position:-336px -48px}.icon-list{background-position:-360px -48px}.icon-indent-left{background-position:-384px -48px}.icon-indent-right{background-position:-408px -48px}.icon-facetime-video{background-position:-432px -48px}.icon-picture{background-position:-456px -48px}.icon-pencil{background-position:0 -72px}.icon-map-marker{background-position:-24px -72px}.icon-adjust{background-position:-48px -72px}.icon-tint{background-position:-72px -72px}.icon-edit{background-position:-96px -72px}.icon-share{background-position:-120px -72px}.icon-check{background-position:-144px -72px}.icon-move{background-position:-168px -72px}.icon-step-backward{background-position:-192px -72px}.icon-fast-backward{background-position:-216px -72px}.icon-backward{background-position:-240px -72px}.icon-play{background-position:-264px -72px}.icon-pause{background-position:-288px -72px}.icon-stop{background-position:-312px -72px}.icon-forward{background-position:-336px -72px}.icon-fast-forward{background-position:-360px -72px}.icon-step-forward{background-position:-384px -72px}.icon-eject{background-position:-408px -72px}.icon-chevron-left{background-position:-432px -72px}.icon-chevron-right{background-position:-456px -72px}.icon-plus-sign{background-position:0 -96px}.icon-minus-sign{background-position:-24px -96px}.icon-remove-sign{background-position:-48px -96px}.icon-ok-sign{background-position:-72px -96px}.icon-question-sign{background-position:-96px -96px}.icon-info-sign{background-position:-120px -96px}.icon-screenshot{background-position:-144px -96px}.icon-remove-circle{background-position:-168px -96px}.icon-ok-circle{background-position:-192px -96px}.icon-ban-circle{background-position:-216px -96px}.icon-arrow-left{background-position:-240px -96px}.icon-arrow-right{background-position:-264px -96px}.icon-arrow-up{background-position:-289px -96px}.icon-arrow-down{background-position:-312px -96px}.icon-share-alt{background-position:-336px -96px}.icon-resize-full{background-position:-360px -96px}.icon-resize-small{background-position:-384px -96px}.icon-plus{background-position:-408px -96px}.icon-minus{background-position:-433px -96px}.icon-asterisk{background-position:-456px -96px}.icon-exclamation-sign{background-position:0 -120px}.icon-gift{background-position:-24px -120px}.icon-leaf{background-position:-48px -120px}.icon-fire{background-position:-72px -120px}.icon-eye-open{background-position:-96px -120px}.icon-eye-close{background-position:-120px -120px}.icon-warning-sign{background-position:-144px -120px}.icon-plane{background-position:-168px -120px}.icon-calendar{background-position:-192px -120px}.icon-random{width:16px;background-position:-216px -120px}.icon-comment{background-position:-240px -120px}.icon-magnet{background-position:-264px -120px}.icon-chevron-up{background-position:-288px -120px}.icon-chevron-down{background-position:-313px -119px}.icon-retweet{background-position:-336px -120px}.icon-shopping-cart{background-position:-360px -120px}.icon-folder-close{width:16px;background-position:-384px -120px}.icon-folder-open{width:16px;background-position:-408px -120px}.icon-resize-vertical{background-position:-432px -119px}.icon-resize-horizontal{background-position:-456px -118px}.icon-hdd{background-position:0 -144px}.icon-bullhorn{background-position:-24px -144px}.icon-bell{background-position:-48px -144px}.icon-certificate{background-position:-72px -144px}.icon-thumbs-up{background-position:-96px -144px}.icon-thumbs-down{background-position:-120px -144px}.icon-hand-right{background-position:-144px -144px}.icon-hand-left{background-position:-168px -144px}.icon-hand-up{background-position:-192px -144px}.icon-hand-down{background-position:-216px -144px}.icon-circle-arrow-right{background-position:-240px -144px}.icon-circle-arrow-left{background-position:-264px -144px}.icon-circle-arrow-up{background-position:-288px -144px}.icon-circle-arrow-down{background-position:-312px -144px}.icon-globe{background-position:-336px -144px}.icon-wrench{background-position:-360px -144px}.icon-tasks{background-position:-384px -144px}.icon-filter{background-position:-408px -144px}.icon-briefcase{background-position:-432px -144px}.icon-fullscreen{background-position:-456px -144px}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000;border-right:4px solid transparent;border-left:4px solid transparent;content:""}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:20px;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-submenu:hover>a,.dropdown-submenu:focus>a{color:#fff;text-decoration:none;background-color:#0081c2;background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-image:linear-gradient(to bottom,#08c,#0077b3);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#0081c2;background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-image:linear-gradient(to bottom,#08c,#0077b3);background-repeat:repeat-x;outline:0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:default;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open{*z-index:1000}.open>.dropdown-menu{display:block}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.dropdown-submenu{position:relative}.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropup .dropdown-submenu>.dropdown-menu{top:auto;bottom:0;margin-top:0;margin-bottom:-2px;-webkit-border-radius:5px 5px 5px 0;-moz-border-radius:5px 5px 5px 0;border-radius:5px 5px 5px 0}.dropdown-submenu>a:after{display:block;float:right;width:0;height:0;margin-top:5px;margin-right:-10px;border-color:transparent;border-left-color:#ccc;border-style:solid;border-width:5px 0 5px 5px;content:" "}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.dropdown .dropdown-menu .nav-header{padding-right:20px;padding-left:20px}.typeahead{z-index:1051;margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fade{opacity:0;-webkit-transition:opacity .15s linear;-moz-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;-moz-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:bold;line-height:20px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;padding:4px 12px;margin-bottom:0;*margin-left:.3em;font-size:14px;line-height:20px;color:#333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;*background-color:#e6e6e6;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;border:1px solid #ccc;*border:0;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);*zoom:1;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover,.btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class^="icon-"],.btn-large [class*=" icon-"]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class^="icon-"],.btn-small [class*=" icon-"]{margin-top:0}.btn-mini [class^="icon-"],.btn-mini [class*=" icon-"]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#006dcc;*background-color:#04c;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary:active,.btn-primary.active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;*background-color:#f89406;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;*background-color:#bd362f;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffbd362f',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;*background-color:#51a351;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff51a351',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;*background-color:#2f96b4;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff2f96b4',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#363636;*background-color:#222;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444',endColorstr='#ff222222',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:focus,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{color:#08c;cursor:pointer;border-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:hover,.btn-link:focus{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus{color:#333;text-decoration:none}.btn-group{position:relative;display:inline-block;*display:inline;*margin-left:.3em;font-size:0;white-space:nowrap;vertical-align:middle;*zoom:1}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{margin-top:10px;margin-bottom:10px;font-size:0}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group{margin-left:5px}.btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn+.btn{margin-left:-1px}.btn-group>.btn,.btn-group>.dropdown-menu,.btn-group>.popover{font-size:14px}.btn-group>.btn-mini{font-size:10.5px}.btn-group>.btn-small{font-size:11.9px}.btn-group>.btn-large{font-size:17.5px}.btn-group>.btn:first-child{margin-left:0;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-topleft:6px}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:6px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{*padding-top:5px;padding-right:8px;*padding-bottom:5px;padding-left:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn-group>.btn-mini+.dropdown-toggle{*padding-top:2px;padding-right:5px;*padding-bottom:2px;padding-left:5px}.btn-group>.btn-small+.dropdown-toggle{*padding-top:5px;*padding-bottom:4px}.btn-group>.btn-large+.dropdown-toggle{*padding-top:7px;padding-right:12px;*padding-bottom:7px;padding-left:12px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn-group.open .btn.dropdown-toggle{background-color:#e6e6e6}.btn-group.open .btn-primary.dropdown-toggle{background-color:#04c}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222}.btn .caret{margin-top:8px;margin-left:0}.btn-large .caret{margin-top:6px}.btn-large .caret{border-top-width:5px;border-right-width:5px;border-left-width:5px}.btn-mini .caret,.btn-small .caret{margin-top:8px}.dropup .btn-large .caret{border-bottom-width:5px}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#fff;border-bottom-color:#fff}.btn-group-vertical{display:inline-block;*display:inline;*zoom:1}.btn-group-vertical>.btn{display:block;float:none;max-width:100%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group-vertical>.btn+.btn{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:first-child{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.btn-group-vertical>.btn:last-child{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.btn-group-vertical>.btn-large:first-child{-webkit-border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}.btn-group-vertical>.btn-large:last-child{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.alert{padding:8px 35px 8px 14px;margin-bottom:20px;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.alert,.alert h4{color:#c09853}.alert h4{margin:0}.alert .close{position:relative;top:-2px;right:-21px;line-height:20px}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-success h4{color:#468847}.alert-danger,.alert-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.alert-danger h4,.alert-error h4{color:#b94a48}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-info h4{color:#3a87ad}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-bottom:20px;margin-left:0;list-style:none}.nav>li>a{display:block}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li>a>img{max-width:none}.nav>.pull-right{float:right}.nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:20px;color:#999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-right:15px;padding-left:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-right:-15px;margin-left:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover,.nav-list>.active>a:focus{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#08c}.nav-list [class^="icon-"],.nav-list [class*=" icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;line-height:0;content:""}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:20px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover,.nav-tabs>li>a:focus{border-color:#eee #eee #ddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover,.nav-tabs>.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nav-pills>.active>a,.nav-pills>.active>a:hover,.nav-pills>.active>a:focus{color:#fff;background-color:#08c}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-topleft:4px}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-moz-border-radius-bottomleft:4px}.nav-tabs.nav-stacked>li>a:hover,.nav-tabs.nav-stacked>li>a:focus{z-index:2;border-color:#ddd}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.nav-pills .dropdown-menu{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.nav .dropdown-toggle .caret{margin-top:6px;border-top-color:#08c;border-bottom-color:#08c}.nav .dropdown-toggle:hover .caret,.nav .dropdown-toggle:focus .caret{border-top-color:#005580;border-bottom-color:#005580}.nav-tabs .dropdown-toggle .caret{margin-top:8px}.nav .active .dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.nav-tabs .active .dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.nav>.dropdown.active>a:hover,.nav>.dropdown.active>a:focus{cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover,.nav>li.dropdown.open.active>a:focus{color:#fff;background-color:#999;border-color:#999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret,.nav li.dropdown.open a:focus .caret{border-top-color:#fff;border-bottom-color:#fff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover,.tabs-stacked .open>a:focus{border-color:#999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;line-height:0;content:""}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover,.tabs-below>.nav-tabs>li>a:focus{border-top-color:#ddd;border-bottom-color:transparent}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover,.tabs-below>.nav-tabs>.active>a:focus{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.tabs-left>.nav-tabs>li>a:hover,.tabs-left>.nav-tabs>li>a:focus{border-color:#eee #ddd #eee #eee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover,.tabs-left>.nav-tabs .active>a:focus{border-color:#ddd transparent #ddd #ddd;*border-right-color:#fff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.tabs-right>.nav-tabs>li>a:hover,.tabs-right>.nav-tabs>li>a:focus{border-color:#eee #eee #eee #ddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover,.tabs-right>.nav-tabs .active>a:focus{border-color:#ddd #ddd #ddd transparent;*border-left-color:#fff}.nav>.disabled>a{color:#999}.nav>.disabled>a:hover,.nav>.disabled>a:focus{text-decoration:none;cursor:default;background-color:transparent}.navbar{*position:relative;*z-index:2;margin-bottom:20px;overflow:visible}.navbar-inner{min-height:40px;padding-right:20px;padding-left:20px;background-color:#fafafa;background-image:-moz-linear-gradient(top,#fff,#f2f2f2);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));background-image:-webkit-linear-gradient(top,#fff,#f2f2f2);background-image:-o-linear-gradient(top,#fff,#f2f2f2);background-image:linear-gradient(to bottom,#fff,#f2f2f2);background-repeat:repeat-x;border:1px solid #d4d4d4;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);*zoom:1;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,0.065);box-shadow:0 1px 4px rgba(0,0,0,0.065)}.navbar-inner:before,.navbar-inner:after{display:table;line-height:0;content:""}.navbar-inner:after{clear:both}.navbar .container{width:auto}.nav-collapse.collapse{height:auto;overflow:visible}.navbar .brand{display:block;float:left;padding:10px 20px 10px;margin-left:-20px;font-size:20px;font-weight:200;color:#777;text-shadow:0 1px 0 #fff}.navbar .brand:hover,.navbar .brand:focus{text-decoration:none}.navbar-text{margin-bottom:0;line-height:40px;color:#777}.navbar-link{color:#777}.navbar-link:hover,.navbar-link:focus{color:#333}.navbar .divider-vertical{height:40px;margin:0 9px;border-right:1px solid #fff;border-left:1px solid #f2f2f2}.navbar .btn,.navbar .btn-group{margin-top:5px}.navbar .btn-group .btn,.navbar .input-prepend .btn,.navbar .input-append .btn,.navbar .input-prepend .btn-group,.navbar .input-append .btn-group{margin-top:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;line-height:0;content:""}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select,.navbar-form .btn{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:5px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:5px;margin-bottom:0}.navbar-search .search-query{padding:4px 14px;margin-bottom:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.navbar-static-top{position:static;margin-bottom:0}.navbar-static-top .navbar-inner{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{border-width:0 0 1px}.navbar-fixed-bottom .navbar-inner{border-width:1px 0 0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-right:0;padding-left:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{-webkit-box-shadow:0 1px 10px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 10px rgba(0,0,0,0.1);box-shadow:0 1px 10px rgba(0,0,0,0.1)}.navbar-fixed-bottom{bottom:0}.navbar-fixed-bottom .navbar-inner{-webkit-box-shadow:0 -1px 10px rgba(0,0,0,0.1);-moz-box-shadow:0 -1px 10px rgba(0,0,0,0.1);box-shadow:0 -1px 10px rgba(0,0,0,0.1)}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right;margin-right:0}.navbar .nav>li{float:left}.navbar .nav>li>a{float:none;padding:10px 15px 10px;color:#777;text-decoration:none;text-shadow:0 1px 0 #fff}.navbar .nav .dropdown-toggle .caret{margin-top:8px}.navbar .nav>li>a:focus,.navbar .nav>li>a:hover{color:#333;text-decoration:none;background-color:transparent}.navbar .nav>.active>a,.navbar .nav>.active>a:hover,.navbar .nav>.active>a:focus{color:#555;text-decoration:none;background-color:#e5e5e5;-webkit-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);-moz-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);box-shadow:inset 0 3px 8px rgba(0,0,0,0.125)}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-right:5px;margin-left:5px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#ededed;*background-color:#e5e5e5;background-image:-moz-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#e5e5e5));background-image:-webkit-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:-o-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:linear-gradient(to bottom,#f2f2f2,#e5e5e5);background-repeat:repeat-x;border-color:#e5e5e5 #e5e5e5 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2',endColorstr='#ffe5e5e5',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:focus,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{color:#fff;background-color:#e5e5e5;*background-color:#d9d9d9}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#ccc \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .nav>li>.dropdown-menu:before{position:absolute;top:-7px;left:9px;display:inline-block;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-left:7px solid transparent;border-bottom-color:rgba(0,0,0,0.2);content:''}.navbar .nav>li>.dropdown-menu:after{position:absolute;top:-6px;left:10px;display:inline-block;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;content:''}.navbar-fixed-bottom .nav>li>.dropdown-menu:before{top:auto;bottom:-7px;border-top:7px solid #ccc;border-bottom:0;border-top-color:rgba(0,0,0,0.2)}.navbar-fixed-bottom .nav>li>.dropdown-menu:after{top:auto;bottom:-6px;border-top:6px solid #fff;border-bottom:0}.navbar .nav li.dropdown>a:hover .caret,.navbar .nav li.dropdown>a:focus .caret{border-top-color:#333;border-bottom-color:#333}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{color:#555;background-color:#e5e5e5}.navbar .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#777;border-bottom-color:#777}.navbar .nav li.dropdown.open>.dropdown-toggle .caret,.navbar .nav li.dropdown.active>.dropdown-toggle .caret,.navbar .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.navbar .pull-right>li>.dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar .pull-right>li>.dropdown-menu:before,.navbar .nav>li>.dropdown-menu.pull-right:before{right:12px;left:auto}.navbar .pull-right>li>.dropdown-menu:after,.navbar .nav>li>.dropdown-menu.pull-right:after{right:13px;left:auto}.navbar .pull-right>li>.dropdown-menu .dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.navbar-inverse .navbar-inner{background-color:#1b1b1b;background-image:-moz-linear-gradient(top,#222,#111);background-image:-webkit-gradient(linear,0 0,0 100%,from(#222),to(#111));background-image:-webkit-linear-gradient(top,#222,#111);background-image:-o-linear-gradient(top,#222,#111);background-image:linear-gradient(to bottom,#222,#111);background-repeat:repeat-x;border-color:#252525;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222',endColorstr='#ff111111',GradientType=0)}.navbar-inverse .brand,.navbar-inverse .nav>li>a{color:#999;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar-inverse .brand:hover,.navbar-inverse .nav>li>a:hover,.navbar-inverse .brand:focus,.navbar-inverse .nav>li>a:focus{color:#fff}.navbar-inverse .brand{color:#999}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .nav>li>a:focus,.navbar-inverse .nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .nav .active>a,.navbar-inverse .nav .active>a:hover,.navbar-inverse .nav .active>a:focus{color:#fff;background-color:#111}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover,.navbar-inverse .navbar-link:focus{color:#fff}.navbar-inverse .divider-vertical{border-right-color:#222;border-left-color:#111}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle{color:#fff;background-color:#111}.navbar-inverse .nav li.dropdown>a:hover .caret,.navbar-inverse .nav li.dropdown>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .navbar-search .search-query{color:#fff;background-color:#515151;border-color:#111;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.navbar-inverse .navbar-search .search-query:-moz-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:-ms-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:focus,.navbar-inverse .navbar-search .search-query.focused{padding:5px 15px;color:#333;text-shadow:0 1px 0 #fff;background-color:#fff;border:0;outline:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15)}.navbar-inverse .btn-navbar{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e0e0e;*background-color:#040404;background-image:-moz-linear-gradient(top,#151515,#040404);background-image:-webkit-gradient(linear,0 0,0 100%,from(#151515),to(#040404));background-image:-webkit-linear-gradient(top,#151515,#040404);background-image:-o-linear-gradient(top,#151515,#040404);background-image:linear-gradient(to bottom,#151515,#040404);background-repeat:repeat-x;border-color:#040404 #040404 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515',endColorstr='#ff040404',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.navbar-inverse .btn-navbar:hover,.navbar-inverse .btn-navbar:focus,.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active,.navbar-inverse .btn-navbar.disabled,.navbar-inverse .btn-navbar[disabled]{color:#fff;background-color:#040404;*background-color:#000}.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active{background-color:#000 \9}.breadcrumb{padding:8px 15px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.breadcrumb>li{display:inline-block;*display:inline;text-shadow:0 1px 0 #fff;*zoom:1}.breadcrumb>li>.divider{padding:0 5px;color:#ccc}.breadcrumb>.active{color:#999}.pagination{margin:20px 0}.pagination ul{display:inline-block;*display:inline;margin-bottom:0;margin-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*zoom:1;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.pagination ul>li{display:inline}.pagination ul>li>a,.pagination ul>li>span{float:left;padding:4px 12px;line-height:20px;text-decoration:none;background-color:#fff;border:1px solid #ddd;border-left-width:0}.pagination ul>li>a:hover,.pagination ul>li>a:focus,.pagination ul>.active>a,.pagination ul>.active>span{background-color:#f5f5f5}.pagination ul>.active>a,.pagination ul>.active>span{color:#999;cursor:default}.pagination ul>.disabled>span,.pagination ul>.disabled>a,.pagination ul>.disabled>a:hover,.pagination ul>.disabled>a:focus{color:#999;cursor:default;background-color:transparent}.pagination ul>li:first-child>a,.pagination ul>li:first-child>span{border-left-width:1px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.pagination ul>li:last-child>a,.pagination ul>li:last-child>span{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pagination-large ul>li>a,.pagination-large ul>li>span{padding:11px 19px;font-size:17.5px}.pagination-large ul>li:first-child>a,.pagination-large ul>li:first-child>span{-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-topleft:6px}.pagination-large ul>li:last-child>a,.pagination-large ul>li:last-child>span{-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:6px}.pagination-mini ul>li:first-child>a,.pagination-small ul>li:first-child>a,.pagination-mini ul>li:first-child>span,.pagination-small ul>li:first-child>span{-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px}.pagination-mini ul>li:last-child>a,.pagination-small ul>li:last-child>a,.pagination-mini ul>li:last-child>span,.pagination-small ul>li:last-child>span{-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px}.pagination-small ul>li>a,.pagination-small ul>li>span{padding:2px 10px;font-size:11.9px}.pagination-mini ul>li>a,.pagination-mini ul>li>span{padding:0 6px;font-size:10.5px}.pager{margin:20px 0;text-align:center;list-style:none;*zoom:1}.pager:before,.pager:after{display:table;line-height:0;content:""}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#f5f5f5}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:default;background-color:#fff}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:.8;filter:alpha(opacity=80)}.modal{position:fixed;top:10%;left:50%;z-index:1050;width:560px;margin-left:-280px;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;outline:0;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.modal.fade{top:-25%;-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out}.modal.fade.in{top:10%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-header h3{margin:0;line-height:30px}.modal-body{position:relative;max-height:400px;padding:15px;overflow-y:auto}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;*zoom:1;-webkit-box-shadow:inset 0 1px 0 #fff;-moz-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.modal-footer:before,.modal-footer:after{display:table;line-height:0;content:""}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.tooltip{position:absolute;z-index:1030;display:block;font-size:11px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.8;filter:alpha(opacity=80)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.popover-title:empty{display:none}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;line-height:0;content:""}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:20px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:20px;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.055);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.055);box-shadow:0 1px 3px rgba(0,0,0,0.055);-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}a.thumbnail:hover,a.thumbnail:focus{border-color:#08c;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.thumbnail>img{display:block;max-width:100%;margin-right:auto;margin-left:auto}.thumbnail .caption{padding:9px;color:#555}.media,.media-body{overflow:hidden;*overflow:visible;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{margin-left:0;list-style:none}.label,.badge{display:inline-block;padding:2px 4px;font-size:11.844px;font-weight:bold;line-height:14px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);white-space:nowrap;vertical-align:baseline;background-color:#999}.label{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.badge{padding-right:9px;padding-left:9px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}.label:empty,.badge:empty{display:none}a.label:hover,a.label:focus,a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b94a48}.label-important[href],.badge-important[href]{background-color:#953b39}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}.btn .label,.btn .badge{position:relative;top:-1px}.btn-mini .label,.btn-mini .badge{top:0}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(to bottom,#f5f5f5,#f9f9f9);background-repeat:repeat-x;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#fff9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress .bar{float:left;width:0;height:100%;font-size:12px;color:#fff;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(to bottom,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf',endColorstr='#ff0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress .bar+.bar{-webkit-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15)}.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar,.progress .bar-danger{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(to bottom,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffc43c35',GradientType=0)}.progress-danger.progress-striped .bar,.progress-striped .bar-danger{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-success .bar,.progress .bar-success{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(to bottom,#62c462,#57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff57a957',GradientType=0)}.progress-success.progress-striped .bar,.progress-striped .bar-success{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-info .bar,.progress .bar-info{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(to bottom,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff339bb9',GradientType=0)}.progress-info.progress-striped .bar,.progress-striped .bar-info{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-warning .bar,.progress .bar-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0)}.progress-warning.progress-striped .bar,.progress-striped .bar-warning{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.accordion{margin-bottom:20px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:20px;line-height:1}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-moz-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#fff;text-align:center;background:#222;border:3px solid #fff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:.5;filter:alpha(opacity=50)}.carousel-control.right{right:15px;left:auto}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-indicators{position:absolute;top:15px;right:15px;z-index:5;margin:0;list-style:none}.carousel-indicators li{display:block;float:left;width:10px;height:10px;margin-left:5px;text-indent:-999px;background-color:#ccc;background-color:rgba(255,255,255,0.25);border-radius:5px}.carousel-indicators .active{background-color:#fff}.carousel-caption{position:absolute;right:0;bottom:0;left:0;padding:15px;background:#333;background:rgba(0,0,0,0.75)}.carousel-caption h4,.carousel-caption p{line-height:20px;color:#fff}.carousel-caption h4{margin:0 0 5px}.carousel-caption p{margin-bottom:0}.hero-unit{padding:60px;margin-bottom:30px;font-size:18px;font-weight:200;line-height:30px;color:inherit;background-color:#eee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;color:inherit}.hero-unit li{line-height:30px}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden}.affix{position:fixed}
202
203 /* Pretty printing styles. Used with prettify.js. */
204/* Vim sunburst theme by David Leibovic */
205pre .str {
206 color: #65B042;
207}
208/* string - green */
209pre .kwd {
210 color: #E28964;
211}
212/* keyword - dark pink */
213pre .com {
214 color: #AEAEAE;
215 font-style: italic;
216}
217/* comment - gray */
218pre .typ {
219 color: #89bdff;
220}
221/* type - light blue */
222pre .lit {
223 color: #3387CC;
224}
225/* literal - blue */
226pre .pun {
227 color: #fff;
228}
229/* punctuation - white */
230pre .pln {
231 color: #fff;
232}
233/* plaintext - white */
234pre .tag {
235 color: #89bdff;
236}
237/* html/xml tag - light blue */
238pre .atn {
239 color: #bdb76b;
240}
241/* html/xml attribute name - khaki */
242pre .atv {
243 color: #65B042;
244}
245/* html/xml attribute value - green */
246pre .dec {
247 color: #3387CC;
248}
249/* decimal - blue */
250/* Specify class=linenums on a pre to get line numbering */
251ol.linenums {
252 margin-top: 0;
253 margin-bottom: 0;
254 color: #AEAEAE;
255}
256/* IE indents via margin-left */
257li.L0,
258li.L1,
259li.L2,
260li.L3,
261li.L5,
262li.L6,
263li.L7,
264li.L8 {
265 list-style-type: none;
266}
267/* Alternate shading for lines */
268@media print {
269 pre .str {
270 color: #060;
271 }
272 pre .kwd {
273 color: #006;
274 font-weight: bold;
275 }
276 pre .com {
277 color: #600;
278 font-style: italic;
279 }
280 pre .typ {
281 color: #404;
282 font-weight: bold;
283 }
284 pre .lit {
285 color: #044;
286 }
287 pre .pun {
288 color: #440;
289 }
290 pre .pln {
291 color: #000;
292 }
293 pre .tag {
294 color: #006;
295 font-weight: bold;
296 }
297 pre .atn {
298 color: #404;
299 }
300 pre .atv {
301 color: #060;
302 }
303}
304
305 /* ------------------------------------------------------------------------------------------
306 * Content
307 * ------------------------------------------------------------------------------------------ */
308
309
310* {
311 font-family: 'Source Code Pro', sans-serif;
312}
313body {
314 min-width: 980px;
315}
316
317.app-desc {
318 color: #808080
319}
320
321body, p, a, div, th, td, li {
322 font-family: "Source Sans Pro", sans-serif;
323 font-weight: 400;
324 font-size: 16px;
325 text-shadow: none !important;
326}
327
328td.code {
329 font-size: 14px;
330 font-family: "Source Code Pro", monospace;
331 font-style: normal;
332 font-weight: 400;
333}
334
335#content {
336 padding-top: 16px;
337 z-Index: -1;
338 margin-left: 270px;
339}
340
341p {
342 color: #808080;
343}
344
345h1 {
346 font-family: "Source Sans Pro Semibold", sans-serif;
347 font-weight: normal;
348 font-size: 44px;
349 line-height: 50px;
350 margin: 0 0 10px 0;
351 padding: 0;
352}
353
354h2 {
355 font-family: "Source Sans Pro", sans-serif;
356 font-weight: normal;
357 font-size: 24px;
358 line-height: 40px;
359 margin: 0 0 20px 0;
360 padding: 0;
361}
362
363section {
364 border-top: 1px solid #ebebeb;
365 padding: 30px 0;
366}
367
368section h1 {
369 font-family: "Source Sans Pro", sans-serif;
370 font-weight: 700;
371 font-size: 32px;
372 line-height: 40px;
373 padding-bottom: 14px;
374 margin: 0 0 20px 0;
375 padding: 0;
376}
377
378article {
379 padding: 14px 0 30px 0;
380}
381
382article h1 {
383 font-family: "Source Sans Pro Bold", sans-serif;
384 font-weight: 600;
385 font-size: 24px;
386 line-height: 26px;
387}
388
389article h2 {
390 font-family: "Source Sans Pro", sans-serif;
391 font-weight: 600;
392 font-size: 18px;
393 line-height: 24px;
394 margin: 0 0 10px 0;
395}
396
397article h3 {
398 font-family: "Source Sans Pro", sans-serif;
399 font-weight: 600;
400 font-size: 16px;
401 line-height: 18px;
402 margin: 0 0 10px 0;
403}
404
405article h4 {
406 font-family: "Source Sans Pro", sans-serif;
407 font-weight: 600;
408 font-size: 14px;
409 line-height: 16px;
410 margin: 0 0 8px 0;
411}
412
413table {
414 border-collapse: collapse;
415 width: 100%;
416 margin: 0 0 20px 0;
417}
418
419th {
420 background-color: #f5f5f5;
421 text-align: left;
422 font-family: "Source Sans Pro", sans-serif;
423 font-weight: 700;
424 padding: 4px 8px;
425 border: #e0e0e0 1px solid;
426}
427
428td {
429 vertical-align: top;
430 padding: 2px 8px;
431 border: #e0e0e0 1px solid;
432}
433
434#generator .content {
435 color: #b0b0b0;
436 border-top: 1px solid #ebebeb;
437 padding: 10px 0;
438}
439
440.label-optional {
441 float: right;
442}
443
444.open-left {
445 right: 0;
446 left: auto;
447}
448
449/* ------------------------------------------------------------------------------------------
450 * apidoc - intro
451 * ------------------------------------------------------------------------------------------ */
452
453#apidoc .apidoc {
454 border-top: 1px solid #ebebeb;
455 padding: 30px 0;
456}
457
458#apidoc h1 {
459 font-family: "Source Sans Pro", sans-serif;
460 font-weight: 700;
461 font-size: 32px;
462 line-height: 40px;
463 padding-bottom: 14px;
464 margin: 0 0 20px 0;
465 padding: 0;
466}
467
468#apidoc h2 {
469 font-family: "Source Sans Pro Bold", sans-serif;
470 font-weight: 600;
471 font-size: 22px;
472 line-height: 26px;
473 padding-top: 14px;
474}
475
476/* ------------------------------------------------------------------------------------------
477 * pre / code
478 * ------------------------------------------------------------------------------------------ */
479pre {
480 background-color: #292b36;
481 color: #ffffff;
482 padding: 10px;
483 border-radius: 6px;
484 position: relative;
485 margin: 10px 0 20px 0;
486}
487
488code.language-text {
489 word-wrap: break-word;
490}
491
492pre.language-json {
493 overflow: auto;
494}
495
496pre.language-html {
497 margin: 40px 0 20px 0;
498}
499
500pre.language-html:before {
501 content: attr(data-type);
502 position: absolute;
503 top: -30px;
504 left: 0;
505 font-family: "Source Sans Pro", sans-serif;
506 font-weight: 600;
507 font-size: 15px;
508 display: inline-block;
509 padding: 2px 5px;
510 border-radius: 6px;
511 text-transform: uppercase;
512 background-color: #3387CC;
513 color: #ffffff;
514}
515
516pre.language-html[data-type="get"]:before {
517 background-color: green;
518}
519
520pre.language-html[data-type="put"]:before {
521 background-color: #e5c500;
522}
523
524pre.language-html[data-type="post"]:before {
525 background-color: #4070ec;
526}
527
528pre.language-html[data-type="delete"]:before {
529 background-color: #ed0039;
530}
531
532pre.language-api .str {
533 color: #ffffff;
534}
535
536pre.language-api .pln,
537pre.language-api .pun {
538 color: #65B042;
539}
540
541pre code {
542 display: block;
543 font-size: 14px;
544 font-family: "Source Code Pro", monospace;
545 font-style: normal;
546 font-weight: 400;
547}
548
549pre code.sample-request-response-json {
550 white-space: pre-wrap;
551 max-height: 500px;
552 overflow: auto;
553}
554
555/* ------------------------------------------------------------------------------------------
556 * Sidenav
557 * ------------------------------------------------------------------------------------------ */
558.sidenav {
559 width: 228px;
560 margin: 0;
561 padding: 20px;
562 position: fixed;
563 top: 0;
564 left: 0;
565 bottom: 0;
566 overflow-x: hidden;
567 overflow-y: auto;
568 background-color: #f5f5f5;
569 z-index: 10;
570}
571
572.sidenav > li > a {
573 display: block;
574 width: 192px;
575 margin: 0;
576 padding: 2px 11px;
577 border: 0;
578 border-left: transparent 4px solid;
579 border-right: transparent 4px solid;
580 font-family: "Source Sans Pro", sans-serif;
581 font-weight: 400;
582 font-size: 14px;
583}
584
585.sidenav > li.nav-header > a {
586 padding: 5px 15px;
587 border: 1px solid #e5e5e5;
588 width: 190px;
589 font-family: "Source Sans Pro", sans-serif;
590 font-weight: 700;
591 font-size: 16px;
592 background-color: #4c8eca;
593 color: #fff;
594}
595
596.sidenav > li.nav-header.active > a {
597 background-color: #4c8eca;
598 color: #fff;
599}
600
601
60200427D
603
604.sidenav > .active > a {
605 position: relative;
606 z-index: 2;
607}
608
609.sidenav > li > a:hover {
610 background-color: #ffffff;
611}
612
613.sidenav > li.has-modifications a {
614 border-right: #60d060 4px solid;
615}
616
617.sidenav > li.is-new a {
618 border-left: #e5e5e5 4px solid;
619}
620
621/* ------------------------------------------------------------------------------------------
622 * Tabs
623 * ------------------------------------------------------------------------------------------ */
624ul.nav-tabs {
625 margin: 0;
626}
627
628/* ------------------------------------------------------------------------------------------
629 * Print
630 * ------------------------------------------------------------------------------------------ */
631
632@media print {
633
634 #sidenav,
635 #version,
636 #versions,
637 section .version,
638 section .versions {
639 display: none;
640 }
641
642 #content {
643 margin-left: 0;
644 }
645
646 a {
647 text-decoration: none;
648 color: inherit;
649 }
650
651 a:after {
652 content: " [" attr(href) "] ";
653 }
654
655 p {
656 color: #000000
657 }
658
659 pre {
660 background-color: #ffffff;
661 color: #000000;
662 padding: 10px;
663 border: #808080 1px solid;
664 border-radius: 6px;
665 position: relative;
666 margin: 10px 0 20px 0;
667 }
668
669} /* /@media print */
670
671.doc-chapter {
672 display: none;
673 background-color: #eee;
674 border-radius: 1px;
675 padding: 10px;
676 margin-bottom: 20px;
677}
678
679/*!
680* json-schema-view-js
681* https://github.com/mohsen1/json-schema-view-js#readme
682* Version: 0.4.1 - 2015-11-12T17:19:27.615Z
683* License: MIT
684*/
685
686.json-schema-view .toggle-handle:after, .json-schema-view.json-schema-view-dark .toggle-handle:after, json-schema-view .toggle-handle:after, json-schema-view[json-schema-view-dark] .toggle-handle:after {
687 content: "\25BC"
688}
689.json-schema-view .title, .json-schema-view.json-schema-view-dark .title, json-schema-view .title, json-schema-view[json-schema-view-dark] .title {
690 font-weight: 700;
691 cursor: pointer
692}
693.json-schema-view, json-schema-view {
694 font-family: monospace;
695 font-size: 0;
696 display: table-cell
697}
698.json-schema-view>*, json-schema-view>* {
699 font-size: 14px
700}
701.json-schema-view .toggle-handle, json-schema-view .toggle-handle {
702 cursor: pointer;
703 margin: auto .3em;
704 font-size: 10px;
705 display: inline-block;
706 transform-origin: 50% 40%;
707 transition: transform 150ms ease-in
708}
709.json-schema-view .toggle-handle, .json-schema-view .toggle-handle:hover, json-schema-view .toggle-handle, json-schema-view .toggle-handle:hover {
710 text-decoration: none;
711 color: #333
712}
713.json-schema-view .description, json-schema-view .description {
714 color: gray;
715 font-style: italic
716}
717.json-schema-view .readOnly, json-schema-view .readOnly {
718 color: gray;
719 font-style: italic
720}
721.json-schema-view .nullable, json-schema-view .nullable {
722 color: gray;
723 font-style: italic
724}
725.pattern, .example {
726 color: blue;
727}
728.default {
729 color: black;
730}
731.required {
732 color: black;
733}
734.json-schema-view .title, .json-schema-view .title:hover, json-schema-view .title, json-schema-view .title:hover {
735 text-decoration: none;
736 color: #333
737}
738.json-schema-view .brace, .json-schema-view .bracket, .json-schema-view .title, json-schema-view .brace, json-schema-view .bracket, json-schema-view .title {
739 color: #333
740}
741.json-schema-view .property, json-schema-view .property {
742 font-size: 0;
743 display: table-row
744}
745.json-schema-view .property>*, json-schema-view .property>* {
746 font-size: 14px;
747 padding: .2em
748}
749.json-schema-view .name, json-schema-view .name {
750 color: #00f;
751 display: table-cell;
752 vertical-align: top
753}
754.json-schema-view .type, json-schema-view .type {
755 color: green
756}
757.json-schema-view .type-any, json-schema-view .type-any {
758 color: #33f
759}
760.json-schema-view .required, json-schema-view .required {
761 color: red
762}
763.json-schema-view .inner, json-schema-view .inner {
764 padding-left: 18px
765}
766.json-schema-view.collapsed .description, .json-schema-view.collapsed .property, json-schema-view.collapsed .description, json-schema-view.collapsed .property {
767 display: none
768}
769.json-schema-view.collapsed .closing.brace, json-schema-view.collapsed .closing.brace {
770 display: inline-block
771}
772.json-schema-view.collapsed .toggle-handle, json-schema-view.collapsed .toggle-handle {
773 transform: rotate(-90deg)
774}
775.json-schema-view.json-schema-view-dark, json-schema-view[json-schema-view-dark] {
776 font-family: monospace;
777 font-size: 0;
778 display: table-cell
779}
780.json-schema-view.json-schema-view-dark>*, json-schema-view[json-schema-view-dark]>* {
781 font-size: 14px
782}
783.json-schema-view.json-schema-view-dark .toggle-handle, json-schema-view[json-schema-view-dark] .toggle-handle {
784 cursor: pointer;
785 margin: auto .3em;
786 font-size: 10px;
787 display: inline-block;
788 transform-origin: 50% 40%;
789 transition: transform 150ms ease-in
790}
791.json-schema-view.json-schema-view-dark .toggle-handle, .json-schema-view.json-schema-view-dark .toggle-handle:hover, json-schema-view[json-schema-view-dark] .toggle-handle, json-schema-view[json-schema-view-dark] .toggle-handle:hover {
792 text-decoration: none;
793 color: #eee
794}
795.json-schema-view.json-schema-view-dark .description, json-schema-view[json-schema-view-dark] .description {
796 color: gray;
797 font-style: italic
798}
799.json-schema-view.json-schema-view-dark .title, .json-schema-view.json-schema-view-dark .title:hover, json-schema-view[json-schema-view-dark] .title, json-schema-view[json-schema-view-dark] .title:hover {
800 text-decoration: none;
801 color: #eee
802}
803.json-schema-view.json-schema-view-dark .brace, .json-schema-view.json-schema-view-dark .bracket, .json-schema-view.json-schema-view-dark .title, json-schema-view[json-schema-view-dark] .brace, json-schema-view[json-schema-view-dark] .bracket, json-schema-view[json-schema-view-dark] .title {
804 color: #eee
805}
806.json-schema-view.json-schema-view-dark .property, json-schema-view[json-schema-view-dark] .property {
807 font-size: 0;
808 display: table-row
809}
810.json-schema-view.json-schema-view-dark .property>*, json-schema-view[json-schema-view-dark] .property>* {
811 font-size: 14px;
812 padding: .2em
813}
814.json-schema-view.json-schema-view-dark .name, json-schema-view[json-schema-view-dark] .name {
815 color: #add8e6;
816 display: table-cell;
817 vertical-align: top
818}
819.json-schema-view.json-schema-view-dark .type, json-schema-view[json-schema-view-dark] .type {
820 color: #90ee90
821}
822.json-schema-view.json-schema-view-dark .type-any, json-schema-view[json-schema-view-dark] .type-any {
823 color: #d4ebf2
824}
825.json-schema-view.json-schema-view-dark .required, json-schema-view[json-schema-view-dark] .required {
826 color: #fe0000
827}
828.json-schema-view.json-schema-view-dark .inner, json-schema-view[json-schema-view-dark] .inner {
829 padding-left: 18px
830}
831.json-schema-view.json-schema-view-dark.collapsed .description, .json-schema-view.json-schema-view-dark.collapsed .property, json-schema-view[json-schema-view-dark].collapsed .description, json-schema-view[json-schema-view-dark].collapsed .property {
832 display: none
833}
834.json-schema-view.json-schema-view-dark.collapsed .closing.brace, json-schema-view[json-schema-view-dark].collapsed .closing.brace {
835 display: inline-block
836}
837.json-schema-view.json-schema-view-dark.collapsed .toggle-handle, json-schema-view[json-schema-view-dark].collapsed .toggle-handle {
838 transform: rotate(-90deg)
839}
840.exampleStyle {
841 padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;
842}
843 </style>
844</head>
845<body>
846 <script>
847 // Script section to load models into a JS Var
848 var defs = {}
PatrikBuhrf07e4b32023-04-05 14:40:07 +0200849 defs["authorization_result"] = {
850 "required" : [ "result" ],
851 "type" : "object",
852 "properties" : {
853 "result" : {
854 "type" : "boolean",
855 "description" : "If true, the access is granted"
856 }
857 },
858 "description" : "Result of authorization"
859};
JohnKeeney62abcd82023-03-01 19:04:58 +0000860 defs["error_information"] = {
861 "type" : "object",
862 "properties" : {
863 "detail" : {
864 "type" : "string",
865 "description" : " A human-readable explanation specific to this occurrence of the problem.",
866 "example" : "Policy type not found"
867 },
868 "status" : {
869 "type" : "integer",
870 "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
871 "format" : "int32",
872 "example" : 404
873 }
874 },
875 "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
876};
PatrikBuhrf07e4b32023-04-05 14:40:07 +0200877 defs["input"] = {
878 "required" : [ "access_type", "auth_token", "policy_type_id" ],
879 "type" : "object",
880 "properties" : {
881 "access_type" : {
882 "type" : "string",
883 "description" : "Access type",
884 "enum" : [ "READ", "WRITE", "DELETE" ]
885 },
886 "auth_token" : {
887 "type" : "string",
888 "description" : "Authorization token"
889 },
890 "policy_type_id" : {
891 "type" : "string",
892 "description" : "Policy type identifier"
893 }
894 },
895 "description" : "input"
896};
JohnKeeney62abcd82023-03-01 19:04:58 +0000897 defs["Link"] = {
898 "type" : "object",
899 "properties" : {
900 "templated" : {
901 "type" : "boolean"
902 },
903 "href" : {
904 "type" : "string"
905 }
906 }
907};
PatrikBuhrf07e4b32023-04-05 14:40:07 +0200908 defs["policy_authorization"] = {
909 "required" : [ "input" ],
910 "type" : "object",
911 "properties" : {
912 "input" : {
913 "$ref" : "#/components/schemas/input"
914 }
915 },
916 "description" : "Authorization request for A1 policy requests"
917};
JohnKeeney62abcd82023-03-01 19:04:58 +0000918 defs["policy_id_list_v2"] = {
919 "type" : "object",
920 "properties" : {
921 "policy_ids" : {
922 "type" : "array",
923 "description" : "Policy identities",
924 "items" : {
925 "type" : "string",
926 "description" : "Policy identities"
927 }
928 }
929 },
930 "description" : "A list of policy identities"
931};
932 defs["policy_info_list_v2"] = {
933 "type" : "object",
934 "properties" : {
935 "policies" : {
936 "type" : "array",
937 "description" : "List of policy information",
938 "items" : {
939 "$ref" : "#/components/schemas/policy_info_v2"
940 }
941 }
942 },
943 "description" : "List of policy information"
944};
945 defs["policy_info_v2"] = {
946 "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
947 "type" : "object",
948 "properties" : {
949 "ric_id" : {
950 "type" : "string",
951 "description" : "identity of the target Near-RT RIC"
952 },
953 "policy_id" : {
954 "type" : "string",
955 "description" : "identity of the policy"
956 },
957 "transient" : {
958 "type" : "boolean",
959 "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
960 "example" : false,
961 "default" : false
962 },
963 "service_id" : {
964 "type" : "string",
PatrikBuhr44499d02023-04-04 10:06:22 +0200965 "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered."
JohnKeeney62abcd82023-03-01 19:04:58 +0000966 },
967 "policy_data" : {
968 "type" : "object",
969 "description" : "the configuration of the policy"
970 },
971 "status_notification_uri" : {
972 "type" : "string",
973 "description" : "Callback URI for policy status updates"
974 },
975 "policytype_id" : {
976 "type" : "string",
977 "description" : "identity of the policy type"
978 }
979 },
980 "description" : "Information for one A1-P Policy"
981};
982 defs["policy_status_info_v2"] = {
983 "type" : "object",
984 "properties" : {
985 "last_modified" : {
986 "type" : "string",
987 "description" : "timestamp, last modification time"
988 },
989 "status" : {
990 "type" : "object",
991 "description" : "the Policy status"
992 }
993 },
994 "description" : "Status for one A1-P Policy"
995};
996 defs["policytype_id_list_v2"] = {
997 "type" : "object",
998 "properties" : {
999 "policytype_ids" : {
1000 "type" : "array",
1001 "description" : "Policy type identities",
1002 "items" : {
1003 "type" : "string",
1004 "description" : "Policy type identities"
1005 }
1006 }
1007 },
1008 "description" : "Information about policy types"
1009};
1010 defs["policytype_v2"] = {
1011 "type" : "object",
1012 "properties" : {
1013 "policy_schema" : {
1014 "type" : "object",
1015 "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"
1016 }
1017 },
1018 "description" : "Policy type"
1019};
1020 defs["ric_info_list_v2"] = {
1021 "type" : "object",
1022 "properties" : {
1023 "rics" : {
1024 "type" : "array",
1025 "description" : "List of Near-RT RIC information",
1026 "items" : {
1027 "$ref" : "#/components/schemas/ric_info_v2"
1028 }
1029 }
1030 },
1031 "description" : "List of Near-RT RIC information"
1032};
1033 defs["ric_info_v2"] = {
1034 "type" : "object",
1035 "properties" : {
1036 "ric_id" : {
1037 "type" : "string",
1038 "description" : "identity of the Near-RT RIC"
1039 },
1040 "managed_element_ids" : {
1041 "type" : "array",
1042 "description" : "O1 identities for managed entities",
1043 "items" : {
1044 "type" : "string",
1045 "description" : "O1 identities for managed entities"
1046 }
1047 },
1048 "state" : {
1049 "type" : "string",
1050 "description" : "Represents the states for a Near-RT RIC",
1051 "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
1052 },
1053 "policytype_ids" : {
1054 "type" : "array",
1055 "description" : "supported policy types",
1056 "items" : {
1057 "type" : "string",
1058 "description" : "supported policy types"
1059 }
1060 }
1061 },
1062 "description" : "Information for a Near-RT RIC"
1063};
1064 defs["service_callback_info_v2"] = {
1065 "required" : [ "event_type", "ric_id" ],
1066 "type" : "object",
1067 "properties" : {
1068 "ric_id" : {
1069 "type" : "string",
1070 "description" : "identity of a Near-RT RIC"
1071 },
1072 "event_type" : {
1073 "type" : "string",
1074 "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
1075 "enum" : [ "AVAILABLE" ]
1076 }
1077 },
1078 "description" : "Information transferred as in Service callbacks (callback_url)"
1079};
1080 defs["service_list_v2"] = {
1081 "type" : "object",
1082 "properties" : {
1083 "service_list" : {
1084 "type" : "array",
1085 "description" : "List of service information",
1086 "items" : {
1087 "$ref" : "#/components/schemas/service_status_v2"
1088 }
1089 }
1090 },
1091 "description" : "List of service information"
1092};
1093 defs["service_registration_info_v2"] = {
1094 "required" : [ "service_id" ],
1095 "type" : "object",
1096 "properties" : {
1097 "callback_url" : {
1098 "type" : "string",
1099 "description" : "callback for notifying of Near-RT RIC state changes"
1100 },
1101 "service_id" : {
1102 "type" : "string",
1103 "description" : "identity of the service"
1104 },
1105 "keep_alive_interval_seconds" : {
1106 "type" : "integer",
1107 "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
1108 "format" : "int64"
1109 }
1110 },
1111 "description" : "Information for one service"
1112};
1113 defs["service_status_v2"] = {
1114 "type" : "object",
1115 "properties" : {
1116 "callback_url" : {
1117 "type" : "string",
1118 "description" : "callback for notifying of RIC synchronization"
1119 },
1120 "service_id" : {
1121 "type" : "string",
1122 "description" : "identity of the service"
1123 },
1124 "keep_alive_interval_seconds" : {
1125 "type" : "integer",
1126 "description" : "policy keep alive timeout",
1127 "format" : "int64"
1128 },
1129 "time_since_last_activity_seconds" : {
1130 "type" : "integer",
1131 "description" : "time since last invocation by the service",
1132 "format" : "int64"
1133 }
1134 },
1135 "description" : "List of service information"
1136};
1137 defs["status_info_v2"] = {
1138 "type" : "object",
1139 "properties" : {
1140 "status" : {
1141 "type" : "string",
1142 "description" : "status text"
1143 }
1144 }
1145};
1146
1147 var errs = {};
1148 </script>
1149
1150 <div class="container-fluid">
1151 <div class="row-fluid">
1152 <div id="sidenav" class="span2">
1153 <nav id="scrollingNav">
1154 <ul class="sidenav nav nav-list">
1155 <!-- Logo Area -->
1156 <!--<div style="width: 80%; background-color: #4c8eca; color: white; padding: 20px; text-align: center; margin-bottom: 20px; ">
1157
1158 API Docs 2
1159
1160 </div>
1161 -->
1162 <li class="nav-fixed nav-header active" data-group="_"><a href="#api-_">API Summary</a></li>
1163
1164 <li class="nav-header" data-group="A1PolicyManagement"><a href="#api-A1PolicyManagement">API Methods - A1PolicyManagement</a></li>
1165 <li data-group="A1PolicyManagement" data-name="deletePolicy" class="">
1166 <a href="#api-A1PolicyManagement-deletePolicy">deletePolicy</a>
1167 </li>
1168 <li data-group="A1PolicyManagement" data-name="getPolicy" class="">
1169 <a href="#api-A1PolicyManagement-getPolicy">getPolicy</a>
1170 </li>
1171 <li data-group="A1PolicyManagement" data-name="getPolicyIds" class="">
1172 <a href="#api-A1PolicyManagement-getPolicyIds">getPolicyIds</a>
1173 </li>
1174 <li data-group="A1PolicyManagement" data-name="getPolicyInstances" class="">
1175 <a href="#api-A1PolicyManagement-getPolicyInstances">getPolicyInstances</a>
1176 </li>
1177 <li data-group="A1PolicyManagement" data-name="getPolicyStatus" class="">
1178 <a href="#api-A1PolicyManagement-getPolicyStatus">getPolicyStatus</a>
1179 </li>
1180 <li data-group="A1PolicyManagement" data-name="getPolicyType" class="">
1181 <a href="#api-A1PolicyManagement-getPolicyType">getPolicyType</a>
1182 </li>
1183 <li data-group="A1PolicyManagement" data-name="getPolicyTypes" class="">
1184 <a href="#api-A1PolicyManagement-getPolicyTypes">getPolicyTypes</a>
1185 </li>
1186 <li data-group="A1PolicyManagement" data-name="putPolicy" class="">
1187 <a href="#api-A1PolicyManagement-putPolicy">putPolicy</a>
1188 </li>
1189 <li class="nav-header" data-group="Actuator"><a href="#api-Actuator">API Methods - Actuator</a></li>
1190 <li data-group="Actuator" data-name="health" class="">
1191 <a href="#api-Actuator-health">health</a>
1192 </li>
1193 <li data-group="Actuator" data-name="healthPath" class="">
1194 <a href="#api-Actuator-healthPath">healthPath</a>
1195 </li>
1196 <li data-group="Actuator" data-name="heapdump" class="">
1197 <a href="#api-Actuator-heapdump">heapdump</a>
1198 </li>
1199 <li data-group="Actuator" data-name="info" class="">
1200 <a href="#api-Actuator-info">info</a>
1201 </li>
1202 <li data-group="Actuator" data-name="links" class="">
1203 <a href="#api-Actuator-links">links</a>
1204 </li>
1205 <li data-group="Actuator" data-name="logfile" class="">
1206 <a href="#api-Actuator-logfile">logfile</a>
1207 </li>
1208 <li data-group="Actuator" data-name="loggers" class="">
1209 <a href="#api-Actuator-loggers">loggers</a>
1210 </li>
1211 <li data-group="Actuator" data-name="loggersName" class="">
1212 <a href="#api-Actuator-loggersName">loggersName</a>
1213 </li>
1214 <li data-group="Actuator" data-name="loggersName2" class="">
1215 <a href="#api-Actuator-loggersName2">loggersName2</a>
1216 </li>
1217 <li data-group="Actuator" data-name="metrics" class="">
1218 <a href="#api-Actuator-metrics">metrics</a>
1219 </li>
1220 <li data-group="Actuator" data-name="metricsRequiredMetricName" class="">
1221 <a href="#api-Actuator-metricsRequiredMetricName">metricsRequiredMetricName</a>
1222 </li>
1223 <li data-group="Actuator" data-name="shutdown" class="">
1224 <a href="#api-Actuator-shutdown">shutdown</a>
1225 </li>
1226 <li data-group="Actuator" data-name="threaddump" class="">
1227 <a href="#api-Actuator-threaddump">threaddump</a>
1228 </li>
PatrikBuhrf07e4b32023-04-05 14:40:07 +02001229 <li class="nav-header" data-group="AuthorizationAPI"><a href="#api-AuthorizationAPI">API Methods - AuthorizationAPI</a></li>
1230 <li data-group="AuthorizationAPI" data-name="performAccessControl" class="">
1231 <a href="#api-AuthorizationAPI-performAccessControl">performAccessControl</a>
1232 </li>
JohnKeeney62abcd82023-03-01 19:04:58 +00001233 <li class="nav-header" data-group="HealthCheck"><a href="#api-HealthCheck">API Methods - HealthCheck</a></li>
1234 <li data-group="HealthCheck" data-name="getStatus" class="">
1235 <a href="#api-HealthCheck-getStatus">getStatus</a>
1236 </li>
1237 <li data-group="HealthCheck" data-name="getStatusV1" class="">
1238 <a href="#api-HealthCheck-getStatusV1">getStatusV1</a>
1239 </li>
1240 <li class="nav-header" data-group="ManagementOfConfiguration"><a href="#api-ManagementOfConfiguration">API Methods - ManagementOfConfiguration</a></li>
1241 <li data-group="ManagementOfConfiguration" data-name="getConfiguration" class="">
1242 <a href="#api-ManagementOfConfiguration-getConfiguration">getConfiguration</a>
1243 </li>
1244 <li data-group="ManagementOfConfiguration" data-name="putConfiguration" class="">
1245 <a href="#api-ManagementOfConfiguration-putConfiguration">putConfiguration</a>
1246 </li>
1247 <li class="nav-header" data-group="NearRTRICRepository"><a href="#api-NearRTRICRepository">API Methods - NearRTRICRepository</a></li>
1248 <li data-group="NearRTRICRepository" data-name="getRic" class="">
1249 <a href="#api-NearRTRICRepository-getRic">getRic</a>
1250 </li>
1251 <li data-group="NearRTRICRepository" data-name="getRics" class="">
1252 <a href="#api-NearRTRICRepository-getRics">getRics</a>
1253 </li>
PatrikBuhr9f1d9492023-04-17 13:00:15 +02001254 <li class="nav-header" data-group="ServiceCallbacks"><a href="#api-ServiceCallbacks">API Methods - ServiceCallbacks</a></li>
1255 <li data-group="ServiceCallbacks" data-name="serviceCallback" class="">
1256 <a href="#api-ServiceCallbacks-serviceCallback">serviceCallback</a>
1257 </li>
JohnKeeney62abcd82023-03-01 19:04:58 +00001258 <li class="nav-header" data-group="ServiceRegistryAndSupervision"><a href="#api-ServiceRegistryAndSupervision">API Methods - ServiceRegistryAndSupervision</a></li>
1259 <li data-group="ServiceRegistryAndSupervision" data-name="deleteService" class="">
1260 <a href="#api-ServiceRegistryAndSupervision-deleteService">deleteService</a>
1261 </li>
1262 <li data-group="ServiceRegistryAndSupervision" data-name="getServices" class="">
1263 <a href="#api-ServiceRegistryAndSupervision-getServices">getServices</a>
1264 </li>
1265 <li data-group="ServiceRegistryAndSupervision" data-name="keepAliveService" class="">
1266 <a href="#api-ServiceRegistryAndSupervision-keepAliveService">keepAliveService</a>
1267 </li>
1268 <li data-group="ServiceRegistryAndSupervision" data-name="putService" class="">
1269 <a href="#api-ServiceRegistryAndSupervision-putService">putService</a>
1270 </li>
1271 </ul>
1272 </nav>
1273 </div>
1274 <div id="content">
1275 <div id="project">
1276 <div class="pull-left">
1277 <h1>A1 Policy Management Service</h1>
1278 </div>
1279 <div class="clearfix"></div>
1280 </div>
1281 <div id="header">
1282 <div id="api-_">
1283 <h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
PatrikBuhr9f1d9492023-04-17 13:00:15 +02001284 <div class="app-desc">Version: 1.2.0</div>
JohnKeeney62abcd82023-03-01 19:04:58 +00001285 <hr>
1286 <div id="app-description" class="app-desc">
PatrikBuhr9f1d9492023-04-17 13:00:15 +02001287 <h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for management of A1 policies. <br/>The main tasks of the service are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining a view of supported Near-RT RIC policy types</li><li>Supervision of using services (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs provided or defined by the service</h2><h3>A1 Policy Management</h3><p>This is an API for management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation, modification and deletion.</li><li>Retrieval of supported A1 Policy types for a Near-RT RIC</li><li>Retrieval of status for existing A1 policies</li></ul><h3>Management of configuration</h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.</p><h3>Service callbacks</h3><p>These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.</p><h3>NearRT-RIC Repository</h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision of the PMS component.</p><h3>Service Registry and Supervision</h3><p>API used for registering services that uses PMS. Each A1 policy is optionally owned by a service. PMS can supervise each registered service by a heart-beat supervision and will automatically remove policies for unavailable services. Note that a service does not need to be registered in order to create A1 Policies. This is a feature that is optional to use.</p><h3>Authorization API</h3><p>API used for access control of A1 Policy access. If configured, an external authorization provider is requested to grant access to the A1 Policy type.</p><h3>Spring Boot Actuator</h3><p>Provides generic functions used to monitor and manage the Spring web application.</p>
JohnKeeney62abcd82023-03-01 19:04:58 +00001288
1289 </div>
1290 </div>
1291 </div>
1292 <div id="sections">
1293 <section id="api-A1PolicyManagement">
1294 <h1>A1PolicyManagement</h1>
1295 <div id="api-A1PolicyManagement-deletePolicy">
1296 <article id="api-A1PolicyManagement-deletePolicy-0" data-group="User" data-name="deletePolicy" data-version="0">
1297 <div class="pull-left">
1298 <h1>deletePolicy</h1>
1299 <p>Delete a policy</p>
1300 </div>
1301 <div class="pull-right"></div>
1302 <div class="clearfix"></div>
1303 <p></p>
1304 <p class="marked"></p>
1305 <p></p>
1306 <br />
1307 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/a1-policy/v2/policies/{policy_id}</span></code></pre>
1308 <p>
1309 <h3>Usage and SDK Samples</h3>
1310 </p>
1311 <ul class="nav nav-tabs nav-tabs-examples">
1312 <li class="active"><a href="#examples-A1PolicyManagement-deletePolicy-0-curl">Curl</a></li>
1313 <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-java">Java</a></li>
1314 <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-android">Android</a></li>
1315 <!--<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-groovy">Groovy</a></li>-->
1316 <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-objc">Obj-C</a></li>
1317 <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-javascript">JavaScript</a></li>
1318 <!--<li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-angular">Angular</a></li>-->
1319 <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-csharp">C#</a></li>
1320 <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-php">PHP</a></li>
1321 <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-perl">Perl</a></li>
1322 <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-python">Python</a></li>
1323 <li class=""><a href="#examples-A1PolicyManagement-deletePolicy-0-rust">Rust</a></li>
1324 </ul>
1325
1326 <div class="tab-content">
1327 <div class="tab-pane active" id="examples-A1PolicyManagement-deletePolicy-0-curl">
1328 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE \
1329 -H "Accept: */*" \
1330 "http://localhost/a1-policy/v2/policies/{policy_id}"
1331</code></pre>
1332 </div>
1333 <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-java">
1334 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
1335import org.openapitools.client.auth.*;
1336import org.openapitools.client.model.*;
1337import org.openapitools.client.api.A1PolicyManagementApi;
1338
1339import java.io.File;
1340import java.util.*;
1341
1342public class A1PolicyManagementApiExample {
1343 public static void main(String[] args) {
1344
1345 // Create an instance of the API class
1346 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
1347 String policyId = policyId_example; // String |
1348
1349 try {
1350 Object result = apiInstance.deletePolicy(policyId);
1351 System.out.println(result);
1352 } catch (ApiException e) {
1353 System.err.println("Exception when calling A1PolicyManagementApi#deletePolicy");
1354 e.printStackTrace();
1355 }
1356 }
1357}
1358</code></pre>
1359 </div>
1360
1361 <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-android">
1362 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
1363
1364public class A1PolicyManagementApiExample {
1365 public static void main(String[] args) {
1366 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
1367 String policyId = policyId_example; // String |
1368
1369 try {
1370 Object result = apiInstance.deletePolicy(policyId);
1371 System.out.println(result);
1372 } catch (ApiException e) {
1373 System.err.println("Exception when calling A1PolicyManagementApi#deletePolicy");
1374 e.printStackTrace();
1375 }
1376 }
1377}</code></pre>
1378 </div>
1379 <!--
1380 <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-groovy">
1381 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1382 </div> -->
1383 <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-objc">
1384 <pre class="prettyprint"><code class="language-cpp">
1385
1386// Create an instance of the API class
1387A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
1388String *policyId = policyId_example; // (default to null)
1389
1390// Delete a policy
1391[apiInstance deletePolicyWith:policyId
1392 completionHandler: ^(Object output, NSError* error) {
1393 if (output) {
1394 NSLog(@"%@", output);
1395 }
1396 if (error) {
1397 NSLog(@"Error: %@", error);
1398 }
1399}];
1400</code></pre>
1401 </div>
1402
1403 <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-javascript">
1404 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
1405
1406// Create an instance of the API class
1407var api = new A1PolicyManagementService.A1PolicyManagementApi()
1408var policyId = policyId_example; // {String}
1409
1410var callback = function(error, data, response) {
1411 if (error) {
1412 console.error(error);
1413 } else {
1414 console.log('API called successfully. Returned data: ' + data);
1415 }
1416};
1417api.deletePolicy(policyId, callback);
1418</code></pre>
1419 </div>
1420
1421 <!--<div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-angular">
1422 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1423 </div>-->
1424 <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-csharp">
1425 <pre class="prettyprint"><code class="language-cs">using System;
1426using System.Diagnostics;
1427using Org.OpenAPITools.Api;
1428using Org.OpenAPITools.Client;
1429using Org.OpenAPITools.Model;
1430
1431namespace Example
1432{
1433 public class deletePolicyExample
1434 {
1435 public void main()
1436 {
1437
1438 // Create an instance of the API class
1439 var apiInstance = new A1PolicyManagementApi();
1440 var policyId = policyId_example; // String | (default to null)
1441
1442 try {
1443 // Delete a policy
1444 Object result = apiInstance.deletePolicy(policyId);
1445 Debug.WriteLine(result);
1446 } catch (Exception e) {
1447 Debug.Print("Exception when calling A1PolicyManagementApi.deletePolicy: " + e.Message );
1448 }
1449 }
1450 }
1451}
1452</code></pre>
1453 </div>
1454
1455 <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-php">
1456 <pre class="prettyprint"><code class="language-php"><&#63;php
1457require_once(__DIR__ . '/vendor/autoload.php');
1458
1459// Create an instance of the API class
1460$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
1461$policyId = policyId_example; // String |
1462
1463try {
1464 $result = $api_instance->deletePolicy($policyId);
1465 print_r($result);
1466} catch (Exception $e) {
1467 echo 'Exception when calling A1PolicyManagementApi->deletePolicy: ', $e->getMessage(), PHP_EOL;
1468}
1469?></code></pre>
1470 </div>
1471
1472 <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-perl">
1473 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
1474use WWW::OPenAPIClient::Configuration;
1475use WWW::OPenAPIClient::A1PolicyManagementApi;
1476
1477# Create an instance of the API class
1478my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
1479my $policyId = policyId_example; # String |
1480
1481eval {
1482 my $result = $api_instance->deletePolicy(policyId => $policyId);
1483 print Dumper($result);
1484};
1485if ($@) {
1486 warn "Exception when calling A1PolicyManagementApi->deletePolicy: $@\n";
1487}</code></pre>
1488 </div>
1489
1490 <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-python">
1491 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
1492import time
1493import openapi_client
1494from openapi_client.rest import ApiException
1495from pprint import pprint
1496
1497# Create an instance of the API class
1498api_instance = openapi_client.A1PolicyManagementApi()
1499policyId = policyId_example # String | (default to null)
1500
1501try:
1502 # Delete a policy
1503 api_response = api_instance.delete_policy(policyId)
1504 pprint(api_response)
1505except ApiException as e:
1506 print("Exception when calling A1PolicyManagementApi->deletePolicy: %s\n" % e)</code></pre>
1507 </div>
1508
1509 <div class="tab-pane" id="examples-A1PolicyManagement-deletePolicy-0-rust">
1510 <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
1511
1512pub fn main() {
1513 let policyId = policyId_example; // String
1514
1515 let mut context = A1PolicyManagementApi::Context::default();
1516 let result = client.deletePolicy(policyId, &context).wait();
1517
1518 println!("{:?}", result);
1519}
1520</code></pre>
1521 </div>
1522 </div>
1523
1524 <h2>Scopes</h2>
1525 <table>
1526
1527 </table>
1528
1529 <h2>Parameters</h2>
1530
1531 <div class="methodsubtabletitle">Path parameters</div>
1532 <table id="methodsubtable">
1533 <tr>
1534 <th width="150px">Name</th>
1535 <th>Description</th>
1536 </tr>
1537 <tr><td style="width:150px;">policy_id*</td>
1538<td>
1539
1540
1541 <div id="d2e199_deletePolicy_policyId">
1542 <div class="json-schema-view">
1543 <div class="primitive">
1544 <span class="type">
1545 String
1546 </span>
1547
1548 </div>
1549 <div class="inner required">
1550 Required
1551 </div>
1552 </div>
1553 </div>
1554</td>
1555</tr>
1556
1557 </table>
1558
1559
1560
1561
1562
1563 <h2>Responses</h2>
1564 <h3 id="examples-A1PolicyManagement-deletePolicy-title-200"></h3>
1565 <p id="examples-A1PolicyManagement-deletePolicy-description-200" class="marked"></p>
1566 <script>
1567 var responseA1PolicyManagement200_description = `Not used`;
1568 var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
1569 if (responseA1PolicyManagement200_description_break == -1) {
1570 $("#examples-A1PolicyManagement-deletePolicy-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
1571 } else {
1572 $("#examples-A1PolicyManagement-deletePolicy-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
1573 $("#examples-A1PolicyManagement-deletePolicy-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
1574 }
1575 </script>
1576
1577
1578 <ul id="responses-detail-A1PolicyManagement-deletePolicy-200" class="nav nav-tabs nav-tabs-examples" >
1579 <li class="active">
1580 <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-200-schema">Schema</a>
1581 </li>
1582
1583
1584
1585
1586 </ul>
1587
1588
1589 <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-200-wrapper" style='margin-bottom: 10px;'>
1590 <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-200-schema">
1591 <div id="responses-A1PolicyManagement-deletePolicy-schema-200" class="exampleStyle">
1592 <script>
1593 $(document).ready(function() {
1594 var schemaWrapper = {
1595 "description" : "Not used",
1596 "content" : {
1597 "*/*" : {
1598 "schema" : {
1599 "$ref" : "#/components/schemas/void"
1600 }
1601 }
1602 }
1603};
1604 var schema = findNode('schema',schemaWrapper).schema;
1605 if (!schema) {
1606 schema = schemaWrapper.schema;
1607 }
1608 if (schema.$ref != null) {
1609 schema = defsParser.$refs.get(schema.$ref);
1610 } else if (schema.items != null && schema.items.$ref != null) {
1611 schema.items = defsParser.$refs.get(schema.items.$ref);
1612 } else {
1613 schemaWrapper.definitions = Object.assign({}, defs);
1614 $RefParser.dereference(schemaWrapper).catch(function(err) {
1615 console.log(err);
1616 });
1617 }
1618
1619 var view = new JSONSchemaView(schema, 3);
1620 $('#responses-A1PolicyManagement-deletePolicy-200-schema-data').val(JSON.stringify(schema));
1621 var result = $('#responses-A1PolicyManagement-deletePolicy-schema-200');
1622 result.empty();
1623 result.append(view.render());
1624 });
1625 </script>
1626 </div>
1627 <input id='responses-A1PolicyManagement-deletePolicy-200-schema-data' type='hidden' value=''></input>
1628 </div>
1629 </div>
1630 <h3 id="examples-A1PolicyManagement-deletePolicy-title-423"></h3>
1631 <p id="examples-A1PolicyManagement-deletePolicy-description-423" class="marked"></p>
1632 <script>
1633 var responseA1PolicyManagement423_description = `Near-RT RIC is not operational`;
1634 var responseA1PolicyManagement423_description_break = responseA1PolicyManagement423_description.indexOf('\n');
1635 if (responseA1PolicyManagement423_description_break == -1) {
1636 $("#examples-A1PolicyManagement-deletePolicy-title-423").text("Status: 423 - " + responseA1PolicyManagement423_description);
1637 } else {
1638 $("#examples-A1PolicyManagement-deletePolicy-title-423").text("Status: 423 - " + responseA1PolicyManagement423_description.substring(0, responseA1PolicyManagement423_description_break));
1639 $("#examples-A1PolicyManagement-deletePolicy-description-423").html(responseA1PolicyManagement423_description.substring(responseA1PolicyManagement423_description_break));
1640 }
1641 </script>
1642
1643
1644 <ul id="responses-detail-A1PolicyManagement-deletePolicy-423" class="nav nav-tabs nav-tabs-examples" >
1645 <li class="active">
1646 <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-423-schema">Schema</a>
1647 </li>
1648
1649
1650
1651
1652 </ul>
1653
1654
1655 <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-423-wrapper" style='margin-bottom: 10px;'>
1656 <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-423-schema">
1657 <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
1658 <script>
1659 $(document).ready(function() {
1660 var schemaWrapper = {
1661 "description" : "Near-RT RIC is not operational",
1662 "content" : {
1663 "*/*" : {
1664 "schema" : {
1665 "$ref" : "#/components/schemas/error_information"
1666 }
1667 }
1668 }
1669};
1670 var schema = findNode('schema',schemaWrapper).schema;
1671 if (!schema) {
1672 schema = schemaWrapper.schema;
1673 }
1674 if (schema.$ref != null) {
1675 schema = defsParser.$refs.get(schema.$ref);
1676 } else if (schema.items != null && schema.items.$ref != null) {
1677 schema.items = defsParser.$refs.get(schema.items.$ref);
1678 } else {
1679 schemaWrapper.definitions = Object.assign({}, defs);
1680 $RefParser.dereference(schemaWrapper).catch(function(err) {
1681 console.log(err);
1682 });
1683 }
1684
1685 var view = new JSONSchemaView(schema, 3);
1686 $('#responses-A1PolicyManagement-deletePolicy-423-schema-data').val(JSON.stringify(schema));
1687 var result = $('#responses-A1PolicyManagement-deletePolicy-schema-423');
1688 result.empty();
1689 result.append(view.render());
1690 });
1691 </script>
1692 </div>
1693 <input id='responses-A1PolicyManagement-deletePolicy-423-schema-data' type='hidden' value=''></input>
1694 </div>
1695 </div>
1696 <h3 id="examples-A1PolicyManagement-deletePolicy-title-204"></h3>
1697 <p id="examples-A1PolicyManagement-deletePolicy-description-204" class="marked"></p>
1698 <script>
1699 var responseA1PolicyManagement204_description = `Policy deleted`;
1700 var responseA1PolicyManagement204_description_break = responseA1PolicyManagement204_description.indexOf('\n');
1701 if (responseA1PolicyManagement204_description_break == -1) {
1702 $("#examples-A1PolicyManagement-deletePolicy-title-204").text("Status: 204 - " + responseA1PolicyManagement204_description);
1703 } else {
1704 $("#examples-A1PolicyManagement-deletePolicy-title-204").text("Status: 204 - " + responseA1PolicyManagement204_description.substring(0, responseA1PolicyManagement204_description_break));
1705 $("#examples-A1PolicyManagement-deletePolicy-description-204").html(responseA1PolicyManagement204_description.substring(responseA1PolicyManagement204_description_break));
1706 }
1707 </script>
1708
1709
1710 <ul id="responses-detail-A1PolicyManagement-deletePolicy-204" class="nav nav-tabs nav-tabs-examples" >
1711 <li class="active">
1712 <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-204-schema">Schema</a>
1713 </li>
1714
1715
1716
1717
1718 </ul>
1719
1720
1721 <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-204-wrapper" style='margin-bottom: 10px;'>
1722 <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-204-schema">
1723 <div id="responses-A1PolicyManagement-deletePolicy-schema-204" class="exampleStyle">
1724 <script>
1725 $(document).ready(function() {
1726 var schemaWrapper = {
1727 "description" : "Policy deleted",
1728 "content" : {
1729 "*/*" : {
1730 "schema" : {
1731 "$ref" : "#/components/schemas/void"
1732 }
1733 }
1734 }
1735};
1736 var schema = findNode('schema',schemaWrapper).schema;
1737 if (!schema) {
1738 schema = schemaWrapper.schema;
1739 }
1740 if (schema.$ref != null) {
1741 schema = defsParser.$refs.get(schema.$ref);
1742 } else if (schema.items != null && schema.items.$ref != null) {
1743 schema.items = defsParser.$refs.get(schema.items.$ref);
1744 } else {
1745 schemaWrapper.definitions = Object.assign({}, defs);
1746 $RefParser.dereference(schemaWrapper).catch(function(err) {
1747 console.log(err);
1748 });
1749 }
1750
1751 var view = new JSONSchemaView(schema, 3);
1752 $('#responses-A1PolicyManagement-deletePolicy-204-schema-data').val(JSON.stringify(schema));
1753 var result = $('#responses-A1PolicyManagement-deletePolicy-schema-204');
1754 result.empty();
1755 result.append(view.render());
1756 });
1757 </script>
1758 </div>
1759 <input id='responses-A1PolicyManagement-deletePolicy-204-schema-data' type='hidden' value=''></input>
1760 </div>
1761 </div>
1762 <h3 id="examples-A1PolicyManagement-deletePolicy-title-404"></h3>
1763 <p id="examples-A1PolicyManagement-deletePolicy-description-404" class="marked"></p>
1764 <script>
1765 var responseA1PolicyManagement404_description = `Policy is not found`;
1766 var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
1767 if (responseA1PolicyManagement404_description_break == -1) {
1768 $("#examples-A1PolicyManagement-deletePolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
1769 } else {
1770 $("#examples-A1PolicyManagement-deletePolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
1771 $("#examples-A1PolicyManagement-deletePolicy-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
1772 }
1773 </script>
1774
1775
1776 <ul id="responses-detail-A1PolicyManagement-deletePolicy-404" class="nav nav-tabs nav-tabs-examples" >
1777 <li class="active">
1778 <a data-toggle="tab" href="#responses-A1PolicyManagement-deletePolicy-404-schema">Schema</a>
1779 </li>
1780
1781
1782
1783
1784 </ul>
1785
1786
1787 <div class="tab-content" id="responses-A1PolicyManagement-deletePolicy-404-wrapper" style='margin-bottom: 10px;'>
1788 <div class="tab-pane active" id="responses-A1PolicyManagement-deletePolicy-404-schema">
1789 <div id="responses-A1PolicyManagement-deletePolicy-schema-404" class="exampleStyle">
1790 <script>
1791 $(document).ready(function() {
1792 var schemaWrapper = {
1793 "description" : "Policy is not found",
1794 "content" : {
1795 "*/*" : {
1796 "schema" : {
1797 "$ref" : "#/components/schemas/error_information"
1798 }
1799 }
1800 }
1801};
1802 var schema = findNode('schema',schemaWrapper).schema;
1803 if (!schema) {
1804 schema = schemaWrapper.schema;
1805 }
1806 if (schema.$ref != null) {
1807 schema = defsParser.$refs.get(schema.$ref);
1808 } else if (schema.items != null && schema.items.$ref != null) {
1809 schema.items = defsParser.$refs.get(schema.items.$ref);
1810 } else {
1811 schemaWrapper.definitions = Object.assign({}, defs);
1812 $RefParser.dereference(schemaWrapper).catch(function(err) {
1813 console.log(err);
1814 });
1815 }
1816
1817 var view = new JSONSchemaView(schema, 3);
1818 $('#responses-A1PolicyManagement-deletePolicy-404-schema-data').val(JSON.stringify(schema));
1819 var result = $('#responses-A1PolicyManagement-deletePolicy-schema-404');
1820 result.empty();
1821 result.append(view.render());
1822 });
1823 </script>
1824 </div>
1825 <input id='responses-A1PolicyManagement-deletePolicy-404-schema-data' type='hidden' value=''></input>
1826 </div>
1827 </div>
1828 </article>
1829 </div>
1830 <hr>
1831 <div id="api-A1PolicyManagement-getPolicy">
1832 <article id="api-A1PolicyManagement-getPolicy-0" data-group="User" data-name="getPolicy" data-version="0">
1833 <div class="pull-left">
1834 <h1>getPolicy</h1>
1835 <p>Returns a policy</p>
1836 </div>
1837 <div class="pull-right"></div>
1838 <div class="clearfix"></div>
1839 <p></p>
1840 <p class="marked"></p>
1841 <p></p>
1842 <br />
1843 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policies/{policy_id}</span></code></pre>
1844 <p>
1845 <h3>Usage and SDK Samples</h3>
1846 </p>
1847 <ul class="nav nav-tabs nav-tabs-examples">
1848 <li class="active"><a href="#examples-A1PolicyManagement-getPolicy-0-curl">Curl</a></li>
1849 <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-java">Java</a></li>
1850 <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-android">Android</a></li>
1851 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-groovy">Groovy</a></li>-->
1852 <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-objc">Obj-C</a></li>
1853 <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-javascript">JavaScript</a></li>
1854 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-angular">Angular</a></li>-->
1855 <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-csharp">C#</a></li>
1856 <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-php">PHP</a></li>
1857 <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-perl">Perl</a></li>
1858 <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-python">Python</a></li>
1859 <li class=""><a href="#examples-A1PolicyManagement-getPolicy-0-rust">Rust</a></li>
1860 </ul>
1861
1862 <div class="tab-content">
1863 <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicy-0-curl">
1864 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
1865 -H "Accept: application/json" \
1866 "http://localhost/a1-policy/v2/policies/{policy_id}"
1867</code></pre>
1868 </div>
1869 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-java">
1870 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
1871import org.openapitools.client.auth.*;
1872import org.openapitools.client.model.*;
1873import org.openapitools.client.api.A1PolicyManagementApi;
1874
1875import java.io.File;
1876import java.util.*;
1877
1878public class A1PolicyManagementApiExample {
1879 public static void main(String[] args) {
1880
1881 // Create an instance of the API class
1882 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
1883 String policyId = policyId_example; // String |
1884
1885 try {
1886 policy_info_v2 result = apiInstance.getPolicy(policyId);
1887 System.out.println(result);
1888 } catch (ApiException e) {
1889 System.err.println("Exception when calling A1PolicyManagementApi#getPolicy");
1890 e.printStackTrace();
1891 }
1892 }
1893}
1894</code></pre>
1895 </div>
1896
1897 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-android">
1898 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
1899
1900public class A1PolicyManagementApiExample {
1901 public static void main(String[] args) {
1902 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
1903 String policyId = policyId_example; // String |
1904
1905 try {
1906 policy_info_v2 result = apiInstance.getPolicy(policyId);
1907 System.out.println(result);
1908 } catch (ApiException e) {
1909 System.err.println("Exception when calling A1PolicyManagementApi#getPolicy");
1910 e.printStackTrace();
1911 }
1912 }
1913}</code></pre>
1914 </div>
1915 <!--
1916 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-groovy">
1917 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1918 </div> -->
1919 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-objc">
1920 <pre class="prettyprint"><code class="language-cpp">
1921
1922// Create an instance of the API class
1923A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
1924String *policyId = policyId_example; // (default to null)
1925
1926// Returns a policy
1927[apiInstance getPolicyWith:policyId
1928 completionHandler: ^(policy_info_v2 output, NSError* error) {
1929 if (output) {
1930 NSLog(@"%@", output);
1931 }
1932 if (error) {
1933 NSLog(@"Error: %@", error);
1934 }
1935}];
1936</code></pre>
1937 </div>
1938
1939 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-javascript">
1940 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
1941
1942// Create an instance of the API class
1943var api = new A1PolicyManagementService.A1PolicyManagementApi()
1944var policyId = policyId_example; // {String}
1945
1946var callback = function(error, data, response) {
1947 if (error) {
1948 console.error(error);
1949 } else {
1950 console.log('API called successfully. Returned data: ' + data);
1951 }
1952};
1953api.getPolicy(policyId, callback);
1954</code></pre>
1955 </div>
1956
1957 <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-angular">
1958 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1959 </div>-->
1960 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-csharp">
1961 <pre class="prettyprint"><code class="language-cs">using System;
1962using System.Diagnostics;
1963using Org.OpenAPITools.Api;
1964using Org.OpenAPITools.Client;
1965using Org.OpenAPITools.Model;
1966
1967namespace Example
1968{
1969 public class getPolicyExample
1970 {
1971 public void main()
1972 {
1973
1974 // Create an instance of the API class
1975 var apiInstance = new A1PolicyManagementApi();
1976 var policyId = policyId_example; // String | (default to null)
1977
1978 try {
1979 // Returns a policy
1980 policy_info_v2 result = apiInstance.getPolicy(policyId);
1981 Debug.WriteLine(result);
1982 } catch (Exception e) {
1983 Debug.Print("Exception when calling A1PolicyManagementApi.getPolicy: " + e.Message );
1984 }
1985 }
1986 }
1987}
1988</code></pre>
1989 </div>
1990
1991 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-php">
1992 <pre class="prettyprint"><code class="language-php"><&#63;php
1993require_once(__DIR__ . '/vendor/autoload.php');
1994
1995// Create an instance of the API class
1996$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
1997$policyId = policyId_example; // String |
1998
1999try {
2000 $result = $api_instance->getPolicy($policyId);
2001 print_r($result);
2002} catch (Exception $e) {
2003 echo 'Exception when calling A1PolicyManagementApi->getPolicy: ', $e->getMessage(), PHP_EOL;
2004}
2005?></code></pre>
2006 </div>
2007
2008 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-perl">
2009 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
2010use WWW::OPenAPIClient::Configuration;
2011use WWW::OPenAPIClient::A1PolicyManagementApi;
2012
2013# Create an instance of the API class
2014my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
2015my $policyId = policyId_example; # String |
2016
2017eval {
2018 my $result = $api_instance->getPolicy(policyId => $policyId);
2019 print Dumper($result);
2020};
2021if ($@) {
2022 warn "Exception when calling A1PolicyManagementApi->getPolicy: $@\n";
2023}</code></pre>
2024 </div>
2025
2026 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-python">
2027 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
2028import time
2029import openapi_client
2030from openapi_client.rest import ApiException
2031from pprint import pprint
2032
2033# Create an instance of the API class
2034api_instance = openapi_client.A1PolicyManagementApi()
2035policyId = policyId_example # String | (default to null)
2036
2037try:
2038 # Returns a policy
2039 api_response = api_instance.get_policy(policyId)
2040 pprint(api_response)
2041except ApiException as e:
2042 print("Exception when calling A1PolicyManagementApi->getPolicy: %s\n" % e)</code></pre>
2043 </div>
2044
2045 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicy-0-rust">
2046 <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
2047
2048pub fn main() {
2049 let policyId = policyId_example; // String
2050
2051 let mut context = A1PolicyManagementApi::Context::default();
2052 let result = client.getPolicy(policyId, &context).wait();
2053
2054 println!("{:?}", result);
2055}
2056</code></pre>
2057 </div>
2058 </div>
2059
2060 <h2>Scopes</h2>
2061 <table>
2062
2063 </table>
2064
2065 <h2>Parameters</h2>
2066
2067 <div class="methodsubtabletitle">Path parameters</div>
2068 <table id="methodsubtable">
2069 <tr>
2070 <th width="150px">Name</th>
2071 <th>Description</th>
2072 </tr>
2073 <tr><td style="width:150px;">policy_id*</td>
2074<td>
2075
2076
2077 <div id="d2e199_getPolicy_policyId">
2078 <div class="json-schema-view">
2079 <div class="primitive">
2080 <span class="type">
2081 String
2082 </span>
2083
2084 </div>
2085 <div class="inner required">
2086 Required
2087 </div>
2088 </div>
2089 </div>
2090</td>
2091</tr>
2092
2093 </table>
2094
2095
2096
2097
2098
2099 <h2>Responses</h2>
2100 <h3 id="examples-A1PolicyManagement-getPolicy-title-200"></h3>
2101 <p id="examples-A1PolicyManagement-getPolicy-description-200" class="marked"></p>
2102 <script>
2103 var responseA1PolicyManagement200_description = `Policy found`;
2104 var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
2105 if (responseA1PolicyManagement200_description_break == -1) {
2106 $("#examples-A1PolicyManagement-getPolicy-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
2107 } else {
2108 $("#examples-A1PolicyManagement-getPolicy-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
2109 $("#examples-A1PolicyManagement-getPolicy-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
2110 }
2111 </script>
2112
2113
2114 <ul id="responses-detail-A1PolicyManagement-getPolicy-200" class="nav nav-tabs nav-tabs-examples" >
2115 <li class="active">
2116 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-200-schema">Schema</a>
2117 </li>
2118
2119
2120
2121
2122 </ul>
2123
2124
2125 <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-200-wrapper" style='margin-bottom: 10px;'>
2126 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-200-schema">
2127 <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
2128 <script>
2129 $(document).ready(function() {
2130 var schemaWrapper = {
2131 "description" : "Policy found",
2132 "content" : {
2133 "application/json" : {
2134 "schema" : {
2135 "$ref" : "#/components/schemas/policy_info_v2"
2136 }
2137 }
2138 }
2139};
2140 var schema = findNode('schema',schemaWrapper).schema;
2141 if (!schema) {
2142 schema = schemaWrapper.schema;
2143 }
2144 if (schema.$ref != null) {
2145 schema = defsParser.$refs.get(schema.$ref);
2146 } else if (schema.items != null && schema.items.$ref != null) {
2147 schema.items = defsParser.$refs.get(schema.items.$ref);
2148 } else {
2149 schemaWrapper.definitions = Object.assign({}, defs);
2150 $RefParser.dereference(schemaWrapper).catch(function(err) {
2151 console.log(err);
2152 });
2153 }
2154
2155 var view = new JSONSchemaView(schema, 3);
2156 $('#responses-A1PolicyManagement-getPolicy-200-schema-data').val(JSON.stringify(schema));
2157 var result = $('#responses-A1PolicyManagement-getPolicy-schema-200');
2158 result.empty();
2159 result.append(view.render());
2160 });
2161 </script>
2162 </div>
2163 <input id='responses-A1PolicyManagement-getPolicy-200-schema-data' type='hidden' value=''></input>
2164 </div>
2165 </div>
2166 <h3 id="examples-A1PolicyManagement-getPolicy-title-404"></h3>
2167 <p id="examples-A1PolicyManagement-getPolicy-description-404" class="marked"></p>
2168 <script>
2169 var responseA1PolicyManagement404_description = `Policy is not found`;
2170 var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
2171 if (responseA1PolicyManagement404_description_break == -1) {
2172 $("#examples-A1PolicyManagement-getPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
2173 } else {
2174 $("#examples-A1PolicyManagement-getPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
2175 $("#examples-A1PolicyManagement-getPolicy-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
2176 }
2177 </script>
2178
2179
2180 <ul id="responses-detail-A1PolicyManagement-getPolicy-404" class="nav nav-tabs nav-tabs-examples" >
2181 <li class="active">
2182 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicy-404-schema">Schema</a>
2183 </li>
2184
2185
2186
2187
2188 </ul>
2189
2190
2191 <div class="tab-content" id="responses-A1PolicyManagement-getPolicy-404-wrapper" style='margin-bottom: 10px;'>
2192 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicy-404-schema">
2193 <div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle">
2194 <script>
2195 $(document).ready(function() {
2196 var schemaWrapper = {
2197 "description" : "Policy is not found",
2198 "content" : {
2199 "application/json" : {
2200 "schema" : {
2201 "$ref" : "#/components/schemas/error_information"
2202 }
2203 }
2204 }
2205};
2206 var schema = findNode('schema',schemaWrapper).schema;
2207 if (!schema) {
2208 schema = schemaWrapper.schema;
2209 }
2210 if (schema.$ref != null) {
2211 schema = defsParser.$refs.get(schema.$ref);
2212 } else if (schema.items != null && schema.items.$ref != null) {
2213 schema.items = defsParser.$refs.get(schema.items.$ref);
2214 } else {
2215 schemaWrapper.definitions = Object.assign({}, defs);
2216 $RefParser.dereference(schemaWrapper).catch(function(err) {
2217 console.log(err);
2218 });
2219 }
2220
2221 var view = new JSONSchemaView(schema, 3);
2222 $('#responses-A1PolicyManagement-getPolicy-404-schema-data').val(JSON.stringify(schema));
2223 var result = $('#responses-A1PolicyManagement-getPolicy-schema-404');
2224 result.empty();
2225 result.append(view.render());
2226 });
2227 </script>
2228 </div>
2229 <input id='responses-A1PolicyManagement-getPolicy-404-schema-data' type='hidden' value=''></input>
2230 </div>
2231 </div>
2232 </article>
2233 </div>
2234 <hr>
2235 <div id="api-A1PolicyManagement-getPolicyIds">
2236 <article id="api-A1PolicyManagement-getPolicyIds-0" data-group="User" data-name="getPolicyIds" data-version="0">
2237 <div class="pull-left">
2238 <h1>getPolicyIds</h1>
2239 <p>Query policy identities</p>
2240 </div>
2241 <div class="pull-right"></div>
2242 <div class="clearfix"></div>
2243 <p></p>
2244 <p class="marked">Returns a list of A1 policies matching given search criteria. &lt;br&gt;If several query parameters are defined, the policies matching all conditions are returned.</p>
2245 <p></p>
2246 <br />
2247 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policies</span></code></pre>
2248 <p>
2249 <h3>Usage and SDK Samples</h3>
2250 </p>
2251 <ul class="nav nav-tabs nav-tabs-examples">
2252 <li class="active"><a href="#examples-A1PolicyManagement-getPolicyIds-0-curl">Curl</a></li>
2253 <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-java">Java</a></li>
2254 <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-android">Android</a></li>
2255 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-groovy">Groovy</a></li>-->
2256 <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-objc">Obj-C</a></li>
2257 <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-javascript">JavaScript</a></li>
2258 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-angular">Angular</a></li>-->
2259 <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-csharp">C#</a></li>
2260 <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-php">PHP</a></li>
2261 <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-perl">Perl</a></li>
2262 <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-python">Python</a></li>
2263 <li class=""><a href="#examples-A1PolicyManagement-getPolicyIds-0-rust">Rust</a></li>
2264 </ul>
2265
2266 <div class="tab-content">
2267 <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyIds-0-curl">
2268 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
2269 -H "Accept: application/json" \
2270 "http://localhost/a1-policy/v2/policies?policytype_id=policytypeId_example&ric_id=ricId_example&service_id=serviceId_example&type_name=typeName_example"
2271</code></pre>
2272 </div>
2273 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-java">
2274 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
2275import org.openapitools.client.auth.*;
2276import org.openapitools.client.model.*;
2277import org.openapitools.client.api.A1PolicyManagementApi;
2278
2279import java.io.File;
2280import java.util.*;
2281
2282public class A1PolicyManagementApiExample {
2283 public static void main(String[] args) {
2284
2285 // Create an instance of the API class
2286 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
2287 String policytypeId = policytypeId_example; // String | Select policies of a given policy type identity.
2288 String ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity.
2289 String serviceId = serviceId_example; // String | Select policies owned by a given service.
2290 String typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
2291
2292 try {
2293 policy_id_list_v2 result = apiInstance.getPolicyIds(policytypeId, ricId, serviceId, typeName);
2294 System.out.println(result);
2295 } catch (ApiException e) {
2296 System.err.println("Exception when calling A1PolicyManagementApi#getPolicyIds");
2297 e.printStackTrace();
2298 }
2299 }
2300}
2301</code></pre>
2302 </div>
2303
2304 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-android">
2305 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
2306
2307public class A1PolicyManagementApiExample {
2308 public static void main(String[] args) {
2309 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
2310 String policytypeId = policytypeId_example; // String | Select policies of a given policy type identity.
2311 String ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity.
2312 String serviceId = serviceId_example; // String | Select policies owned by a given service.
2313 String typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
2314
2315 try {
2316 policy_id_list_v2 result = apiInstance.getPolicyIds(policytypeId, ricId, serviceId, typeName);
2317 System.out.println(result);
2318 } catch (ApiException e) {
2319 System.err.println("Exception when calling A1PolicyManagementApi#getPolicyIds");
2320 e.printStackTrace();
2321 }
2322 }
2323}</code></pre>
2324 </div>
2325 <!--
2326 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-groovy">
2327 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2328 </div> -->
2329 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-objc">
2330 <pre class="prettyprint"><code class="language-cpp">
2331
2332// Create an instance of the API class
2333A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
2334String *policytypeId = policytypeId_example; // Select policies of a given policy type identity. (optional) (default to null)
2335String *ricId = ricId_example; // Select policies of a given Near-RT RIC identity. (optional) (default to null)
2336String *serviceId = serviceId_example; // Select policies owned by a given service. (optional) (default to null)
2337String *typeName = typeName_example; // Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
2338
2339// Query policy identities
2340[apiInstance getPolicyIdsWith:policytypeId
2341 ricId:ricId
2342 serviceId:serviceId
2343 typeName:typeName
2344 completionHandler: ^(policy_id_list_v2 output, NSError* error) {
2345 if (output) {
2346 NSLog(@"%@", output);
2347 }
2348 if (error) {
2349 NSLog(@"Error: %@", error);
2350 }
2351}];
2352</code></pre>
2353 </div>
2354
2355 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-javascript">
2356 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
2357
2358// Create an instance of the API class
2359var api = new A1PolicyManagementService.A1PolicyManagementApi()
2360var opts = {
2361 'policytypeId': policytypeId_example, // {String} Select policies of a given policy type identity.
2362 'ricId': ricId_example, // {String} Select policies of a given Near-RT RIC identity.
2363 'serviceId': serviceId_example, // {String} Select policies owned by a given service.
2364 'typeName': typeName_example // {String} Select policies of types with the given type name (type identity has the format <typename_version>)
2365};
2366
2367var callback = function(error, data, response) {
2368 if (error) {
2369 console.error(error);
2370 } else {
2371 console.log('API called successfully. Returned data: ' + data);
2372 }
2373};
2374api.getPolicyIds(opts, callback);
2375</code></pre>
2376 </div>
2377
2378 <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-angular">
2379 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2380 </div>-->
2381 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-csharp">
2382 <pre class="prettyprint"><code class="language-cs">using System;
2383using System.Diagnostics;
2384using Org.OpenAPITools.Api;
2385using Org.OpenAPITools.Client;
2386using Org.OpenAPITools.Model;
2387
2388namespace Example
2389{
2390 public class getPolicyIdsExample
2391 {
2392 public void main()
2393 {
2394
2395 // Create an instance of the API class
2396 var apiInstance = new A1PolicyManagementApi();
2397 var policytypeId = policytypeId_example; // String | Select policies of a given policy type identity. (optional) (default to null)
2398 var ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity. (optional) (default to null)
2399 var serviceId = serviceId_example; // String | Select policies owned by a given service. (optional) (default to null)
2400 var typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
2401
2402 try {
2403 // Query policy identities
2404 policy_id_list_v2 result = apiInstance.getPolicyIds(policytypeId, ricId, serviceId, typeName);
2405 Debug.WriteLine(result);
2406 } catch (Exception e) {
2407 Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyIds: " + e.Message );
2408 }
2409 }
2410 }
2411}
2412</code></pre>
2413 </div>
2414
2415 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-php">
2416 <pre class="prettyprint"><code class="language-php"><&#63;php
2417require_once(__DIR__ . '/vendor/autoload.php');
2418
2419// Create an instance of the API class
2420$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
2421$policytypeId = policytypeId_example; // String | Select policies of a given policy type identity.
2422$ricId = ricId_example; // String | Select policies of a given Near-RT RIC identity.
2423$serviceId = serviceId_example; // String | Select policies owned by a given service.
2424$typeName = typeName_example; // String | Select policies of types with the given type name (type identity has the format <typename_version>)
2425
2426try {
2427 $result = $api_instance->getPolicyIds($policytypeId, $ricId, $serviceId, $typeName);
2428 print_r($result);
2429} catch (Exception $e) {
2430 echo 'Exception when calling A1PolicyManagementApi->getPolicyIds: ', $e->getMessage(), PHP_EOL;
2431}
2432?></code></pre>
2433 </div>
2434
2435 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-perl">
2436 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
2437use WWW::OPenAPIClient::Configuration;
2438use WWW::OPenAPIClient::A1PolicyManagementApi;
2439
2440# Create an instance of the API class
2441my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
2442my $policytypeId = policytypeId_example; # String | Select policies of a given policy type identity.
2443my $ricId = ricId_example; # String | Select policies of a given Near-RT RIC identity.
2444my $serviceId = serviceId_example; # String | Select policies owned by a given service.
2445my $typeName = typeName_example; # String | Select policies of types with the given type name (type identity has the format <typename_version>)
2446
2447eval {
2448 my $result = $api_instance->getPolicyIds(policytypeId => $policytypeId, ricId => $ricId, serviceId => $serviceId, typeName => $typeName);
2449 print Dumper($result);
2450};
2451if ($@) {
2452 warn "Exception when calling A1PolicyManagementApi->getPolicyIds: $@\n";
2453}</code></pre>
2454 </div>
2455
2456 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-python">
2457 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
2458import time
2459import openapi_client
2460from openapi_client.rest import ApiException
2461from pprint import pprint
2462
2463# Create an instance of the API class
2464api_instance = openapi_client.A1PolicyManagementApi()
2465policytypeId = policytypeId_example # String | Select policies of a given policy type identity. (optional) (default to null)
2466ricId = ricId_example # String | Select policies of a given Near-RT RIC identity. (optional) (default to null)
2467serviceId = serviceId_example # String | Select policies owned by a given service. (optional) (default to null)
2468typeName = typeName_example # String | Select policies of types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
2469
2470try:
2471 # Query policy identities
2472 api_response = api_instance.get_policy_ids(policytypeId=policytypeId, ricId=ricId, serviceId=serviceId, typeName=typeName)
2473 pprint(api_response)
2474except ApiException as e:
2475 print("Exception when calling A1PolicyManagementApi->getPolicyIds: %s\n" % e)</code></pre>
2476 </div>
2477
2478 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyIds-0-rust">
2479 <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
2480
2481pub fn main() {
2482 let policytypeId = policytypeId_example; // String
2483 let ricId = ricId_example; // String
2484 let serviceId = serviceId_example; // String
2485 let typeName = typeName_example; // String
2486
2487 let mut context = A1PolicyManagementApi::Context::default();
2488 let result = client.getPolicyIds(policytypeId, ricId, serviceId, typeName, &context).wait();
2489
2490 println!("{:?}", result);
2491}
2492</code></pre>
2493 </div>
2494 </div>
2495
2496 <h2>Scopes</h2>
2497 <table>
2498
2499 </table>
2500
2501 <h2>Parameters</h2>
2502
2503
2504
2505
2506
2507 <div class="methodsubtabletitle">Query parameters</div>
2508 <table id="methodsubtable">
2509 <tr>
2510 <th width="150px">Name</th>
2511 <th>Description</th>
2512 </tr>
2513 <tr><td style="width:150px;">policytype_id</td>
2514<td>
2515
2516
2517 <div id="d2e199_getPolicyIds_policytypeId">
2518 <div class="json-schema-view">
2519 <div class="primitive">
2520 <span class="type">
2521 String
2522 </span>
2523
2524 <div class="inner description marked">
2525Select policies of a given policy type identity.
2526 </div>
2527 </div>
2528 </div>
2529 </div>
2530</td>
2531</tr>
2532
2533 <tr><td style="width:150px;">ric_id</td>
2534<td>
2535
2536
2537 <div id="d2e199_getPolicyIds_ricId">
2538 <div class="json-schema-view">
2539 <div class="primitive">
2540 <span class="type">
2541 String
2542 </span>
2543
2544 <div class="inner description marked">
2545Select policies of a given Near-RT RIC identity.
2546 </div>
2547 </div>
2548 </div>
2549 </div>
2550</td>
2551</tr>
2552
2553 <tr><td style="width:150px;">service_id</td>
2554<td>
2555
2556
2557 <div id="d2e199_getPolicyIds_serviceId">
2558 <div class="json-schema-view">
2559 <div class="primitive">
2560 <span class="type">
2561 String
2562 </span>
2563
2564 <div class="inner description marked">
2565Select policies owned by a given service.
2566 </div>
2567 </div>
2568 </div>
2569 </div>
2570</td>
2571</tr>
2572
2573 <tr><td style="width:150px;">type_name</td>
2574<td>
2575
2576
2577 <div id="d2e199_getPolicyIds_typeName">
2578 <div class="json-schema-view">
2579 <div class="primitive">
2580 <span class="type">
2581 String
2582 </span>
2583
2584 <div class="inner description marked">
2585Select policies of types with the given type name (type identity has the format &lt;typename_version&gt;)
2586 </div>
2587 </div>
2588 </div>
2589 </div>
2590</td>
2591</tr>
2592
2593 </table>
2594
2595 <h2>Responses</h2>
2596 <h3 id="examples-A1PolicyManagement-getPolicyIds-title-200"></h3>
2597 <p id="examples-A1PolicyManagement-getPolicyIds-description-200" class="marked"></p>
2598 <script>
2599 var responseA1PolicyManagement200_description = `Policy identities`;
2600 var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
2601 if (responseA1PolicyManagement200_description_break == -1) {
2602 $("#examples-A1PolicyManagement-getPolicyIds-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
2603 } else {
2604 $("#examples-A1PolicyManagement-getPolicyIds-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
2605 $("#examples-A1PolicyManagement-getPolicyIds-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
2606 }
2607 </script>
2608
2609
2610 <ul id="responses-detail-A1PolicyManagement-getPolicyIds-200" class="nav nav-tabs nav-tabs-examples" >
2611 <li class="active">
2612 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyIds-200-schema">Schema</a>
2613 </li>
2614
2615
2616
2617
2618 </ul>
2619
2620
2621 <div class="tab-content" id="responses-A1PolicyManagement-getPolicyIds-200-wrapper" style='margin-bottom: 10px;'>
2622 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyIds-200-schema">
2623 <div id="responses-A1PolicyManagement-getPolicyIds-schema-200" class="exampleStyle">
2624 <script>
2625 $(document).ready(function() {
2626 var schemaWrapper = {
2627 "description" : "Policy identities",
2628 "content" : {
2629 "application/json" : {
2630 "schema" : {
2631 "$ref" : "#/components/schemas/policy_id_list_v2"
2632 }
2633 }
2634 }
2635};
2636 var schema = findNode('schema',schemaWrapper).schema;
2637 if (!schema) {
2638 schema = schemaWrapper.schema;
2639 }
2640 if (schema.$ref != null) {
2641 schema = defsParser.$refs.get(schema.$ref);
2642 } else if (schema.items != null && schema.items.$ref != null) {
2643 schema.items = defsParser.$refs.get(schema.items.$ref);
2644 } else {
2645 schemaWrapper.definitions = Object.assign({}, defs);
2646 $RefParser.dereference(schemaWrapper).catch(function(err) {
2647 console.log(err);
2648 });
2649 }
2650
2651 var view = new JSONSchemaView(schema, 3);
2652 $('#responses-A1PolicyManagement-getPolicyIds-200-schema-data').val(JSON.stringify(schema));
2653 var result = $('#responses-A1PolicyManagement-getPolicyIds-schema-200');
2654 result.empty();
2655 result.append(view.render());
2656 });
2657 </script>
2658 </div>
2659 <input id='responses-A1PolicyManagement-getPolicyIds-200-schema-data' type='hidden' value=''></input>
2660 </div>
2661 </div>
2662 <h3 id="examples-A1PolicyManagement-getPolicyIds-title-404"></h3>
2663 <p id="examples-A1PolicyManagement-getPolicyIds-description-404" class="marked"></p>
2664 <script>
2665 var responseA1PolicyManagement404_description = `Near-RT RIC or type not found`;
2666 var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
2667 if (responseA1PolicyManagement404_description_break == -1) {
2668 $("#examples-A1PolicyManagement-getPolicyIds-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
2669 } else {
2670 $("#examples-A1PolicyManagement-getPolicyIds-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
2671 $("#examples-A1PolicyManagement-getPolicyIds-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
2672 }
2673 </script>
2674
2675
2676 <ul id="responses-detail-A1PolicyManagement-getPolicyIds-404" class="nav nav-tabs nav-tabs-examples" >
2677 <li class="active">
2678 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyIds-404-schema">Schema</a>
2679 </li>
2680
2681
2682
2683
2684 </ul>
2685
2686
2687 <div class="tab-content" id="responses-A1PolicyManagement-getPolicyIds-404-wrapper" style='margin-bottom: 10px;'>
2688 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyIds-404-schema">
2689 <div id="responses-A1PolicyManagement-getPolicyIds-schema-404" class="exampleStyle">
2690 <script>
2691 $(document).ready(function() {
2692 var schemaWrapper = {
2693 "description" : "Near-RT RIC or type not found",
2694 "content" : {
2695 "application/json" : {
2696 "schema" : {
2697 "$ref" : "#/components/schemas/error_information"
2698 }
2699 }
2700 }
2701};
2702 var schema = findNode('schema',schemaWrapper).schema;
2703 if (!schema) {
2704 schema = schemaWrapper.schema;
2705 }
2706 if (schema.$ref != null) {
2707 schema = defsParser.$refs.get(schema.$ref);
2708 } else if (schema.items != null && schema.items.$ref != null) {
2709 schema.items = defsParser.$refs.get(schema.items.$ref);
2710 } else {
2711 schemaWrapper.definitions = Object.assign({}, defs);
2712 $RefParser.dereference(schemaWrapper).catch(function(err) {
2713 console.log(err);
2714 });
2715 }
2716
2717 var view = new JSONSchemaView(schema, 3);
2718 $('#responses-A1PolicyManagement-getPolicyIds-404-schema-data').val(JSON.stringify(schema));
2719 var result = $('#responses-A1PolicyManagement-getPolicyIds-schema-404');
2720 result.empty();
2721 result.append(view.render());
2722 });
2723 </script>
2724 </div>
2725 <input id='responses-A1PolicyManagement-getPolicyIds-404-schema-data' type='hidden' value=''></input>
2726 </div>
2727 </div>
2728 </article>
2729 </div>
2730 <hr>
2731 <div id="api-A1PolicyManagement-getPolicyInstances">
2732 <article id="api-A1PolicyManagement-getPolicyInstances-0" data-group="User" data-name="getPolicyInstances" data-version="0">
2733 <div class="pull-left">
2734 <h1>getPolicyInstances</h1>
2735 <p>Query for A1 policy instances</p>
2736 </div>
2737 <div class="pull-right"></div>
2738 <div class="clearfix"></div>
2739 <p></p>
2740 <p class="marked">Returns a list of A1 policies matching given search criteria. &lt;br&gt;If several query parameters are defined, the policies matching all conditions are returned.</p>
2741 <p></p>
2742 <br />
2743 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policy-instances</span></code></pre>
2744 <p>
2745 <h3>Usage and SDK Samples</h3>
2746 </p>
2747 <ul class="nav nav-tabs nav-tabs-examples">
2748 <li class="active"><a href="#examples-A1PolicyManagement-getPolicyInstances-0-curl">Curl</a></li>
2749 <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-java">Java</a></li>
2750 <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-android">Android</a></li>
2751 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-groovy">Groovy</a></li>-->
2752 <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-objc">Obj-C</a></li>
2753 <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-javascript">JavaScript</a></li>
2754 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-angular">Angular</a></li>-->
2755 <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-csharp">C#</a></li>
2756 <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-php">PHP</a></li>
2757 <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-perl">Perl</a></li>
2758 <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-python">Python</a></li>
2759 <li class=""><a href="#examples-A1PolicyManagement-getPolicyInstances-0-rust">Rust</a></li>
2760 </ul>
2761
2762 <div class="tab-content">
2763 <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyInstances-0-curl">
2764 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
2765 -H "Accept: application/json" \
2766 "http://localhost/a1-policy/v2/policy-instances?policytype_id=policytypeId_example&ric_id=ricId_example&service_id=serviceId_example&type_name=typeName_example"
2767</code></pre>
2768 </div>
2769 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-java">
2770 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
2771import org.openapitools.client.auth.*;
2772import org.openapitools.client.model.*;
2773import org.openapitools.client.api.A1PolicyManagementApi;
2774
2775import java.io.File;
2776import java.util.*;
2777
2778public class A1PolicyManagementApiExample {
2779 public static void main(String[] args) {
2780
2781 // Create an instance of the API class
2782 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
2783 String policytypeId = policytypeId_example; // String | Select policies with a given type identity.
2784 String ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity.
2785 String serviceId = serviceId_example; // String | Select policies owned by a given service.
2786 String typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>)
2787
2788 try {
2789 policy_info_list_v2 result = apiInstance.getPolicyInstances(policytypeId, ricId, serviceId, typeName);
2790 System.out.println(result);
2791 } catch (ApiException e) {
2792 System.err.println("Exception when calling A1PolicyManagementApi#getPolicyInstances");
2793 e.printStackTrace();
2794 }
2795 }
2796}
2797</code></pre>
2798 </div>
2799
2800 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-android">
2801 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
2802
2803public class A1PolicyManagementApiExample {
2804 public static void main(String[] args) {
2805 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
2806 String policytypeId = policytypeId_example; // String | Select policies with a given type identity.
2807 String ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity.
2808 String serviceId = serviceId_example; // String | Select policies owned by a given service.
2809 String typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>)
2810
2811 try {
2812 policy_info_list_v2 result = apiInstance.getPolicyInstances(policytypeId, ricId, serviceId, typeName);
2813 System.out.println(result);
2814 } catch (ApiException e) {
2815 System.err.println("Exception when calling A1PolicyManagementApi#getPolicyInstances");
2816 e.printStackTrace();
2817 }
2818 }
2819}</code></pre>
2820 </div>
2821 <!--
2822 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-groovy">
2823 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2824 </div> -->
2825 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-objc">
2826 <pre class="prettyprint"><code class="language-cpp">
2827
2828// Create an instance of the API class
2829A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
2830String *policytypeId = policytypeId_example; // Select policies with a given type identity. (optional) (default to null)
2831String *ricId = ricId_example; // Select policies for a given Near-RT RIC identity. (optional) (default to null)
2832String *serviceId = serviceId_example; // Select policies owned by a given service. (optional) (default to null)
2833String *typeName = typeName_example; // Select policies of a given type name (type identity has the format <typename_version>) (optional) (default to null)
2834
2835// Query for A1 policy instances
2836[apiInstance getPolicyInstancesWith:policytypeId
2837 ricId:ricId
2838 serviceId:serviceId
2839 typeName:typeName
2840 completionHandler: ^(policy_info_list_v2 output, NSError* error) {
2841 if (output) {
2842 NSLog(@"%@", output);
2843 }
2844 if (error) {
2845 NSLog(@"Error: %@", error);
2846 }
2847}];
2848</code></pre>
2849 </div>
2850
2851 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-javascript">
2852 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
2853
2854// Create an instance of the API class
2855var api = new A1PolicyManagementService.A1PolicyManagementApi()
2856var opts = {
2857 'policytypeId': policytypeId_example, // {String} Select policies with a given type identity.
2858 'ricId': ricId_example, // {String} Select policies for a given Near-RT RIC identity.
2859 'serviceId': serviceId_example, // {String} Select policies owned by a given service.
2860 'typeName': typeName_example // {String} Select policies of a given type name (type identity has the format <typename_version>)
2861};
2862
2863var callback = function(error, data, response) {
2864 if (error) {
2865 console.error(error);
2866 } else {
2867 console.log('API called successfully. Returned data: ' + data);
2868 }
2869};
2870api.getPolicyInstances(opts, callback);
2871</code></pre>
2872 </div>
2873
2874 <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-angular">
2875 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2876 </div>-->
2877 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-csharp">
2878 <pre class="prettyprint"><code class="language-cs">using System;
2879using System.Diagnostics;
2880using Org.OpenAPITools.Api;
2881using Org.OpenAPITools.Client;
2882using Org.OpenAPITools.Model;
2883
2884namespace Example
2885{
2886 public class getPolicyInstancesExample
2887 {
2888 public void main()
2889 {
2890
2891 // Create an instance of the API class
2892 var apiInstance = new A1PolicyManagementApi();
2893 var policytypeId = policytypeId_example; // String | Select policies with a given type identity. (optional) (default to null)
2894 var ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity. (optional) (default to null)
2895 var serviceId = serviceId_example; // String | Select policies owned by a given service. (optional) (default to null)
2896 var typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>) (optional) (default to null)
2897
2898 try {
2899 // Query for A1 policy instances
2900 policy_info_list_v2 result = apiInstance.getPolicyInstances(policytypeId, ricId, serviceId, typeName);
2901 Debug.WriteLine(result);
2902 } catch (Exception e) {
2903 Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyInstances: " + e.Message );
2904 }
2905 }
2906 }
2907}
2908</code></pre>
2909 </div>
2910
2911 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-php">
2912 <pre class="prettyprint"><code class="language-php"><&#63;php
2913require_once(__DIR__ . '/vendor/autoload.php');
2914
2915// Create an instance of the API class
2916$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
2917$policytypeId = policytypeId_example; // String | Select policies with a given type identity.
2918$ricId = ricId_example; // String | Select policies for a given Near-RT RIC identity.
2919$serviceId = serviceId_example; // String | Select policies owned by a given service.
2920$typeName = typeName_example; // String | Select policies of a given type name (type identity has the format <typename_version>)
2921
2922try {
2923 $result = $api_instance->getPolicyInstances($policytypeId, $ricId, $serviceId, $typeName);
2924 print_r($result);
2925} catch (Exception $e) {
2926 echo 'Exception when calling A1PolicyManagementApi->getPolicyInstances: ', $e->getMessage(), PHP_EOL;
2927}
2928?></code></pre>
2929 </div>
2930
2931 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-perl">
2932 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
2933use WWW::OPenAPIClient::Configuration;
2934use WWW::OPenAPIClient::A1PolicyManagementApi;
2935
2936# Create an instance of the API class
2937my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
2938my $policytypeId = policytypeId_example; # String | Select policies with a given type identity.
2939my $ricId = ricId_example; # String | Select policies for a given Near-RT RIC identity.
2940my $serviceId = serviceId_example; # String | Select policies owned by a given service.
2941my $typeName = typeName_example; # String | Select policies of a given type name (type identity has the format <typename_version>)
2942
2943eval {
2944 my $result = $api_instance->getPolicyInstances(policytypeId => $policytypeId, ricId => $ricId, serviceId => $serviceId, typeName => $typeName);
2945 print Dumper($result);
2946};
2947if ($@) {
2948 warn "Exception when calling A1PolicyManagementApi->getPolicyInstances: $@\n";
2949}</code></pre>
2950 </div>
2951
2952 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-python">
2953 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
2954import time
2955import openapi_client
2956from openapi_client.rest import ApiException
2957from pprint import pprint
2958
2959# Create an instance of the API class
2960api_instance = openapi_client.A1PolicyManagementApi()
2961policytypeId = policytypeId_example # String | Select policies with a given type identity. (optional) (default to null)
2962ricId = ricId_example # String | Select policies for a given Near-RT RIC identity. (optional) (default to null)
2963serviceId = serviceId_example # String | Select policies owned by a given service. (optional) (default to null)
2964typeName = typeName_example # String | Select policies of a given type name (type identity has the format <typename_version>) (optional) (default to null)
2965
2966try:
2967 # Query for A1 policy instances
2968 api_response = api_instance.get_policy_instances(policytypeId=policytypeId, ricId=ricId, serviceId=serviceId, typeName=typeName)
2969 pprint(api_response)
2970except ApiException as e:
2971 print("Exception when calling A1PolicyManagementApi->getPolicyInstances: %s\n" % e)</code></pre>
2972 </div>
2973
2974 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyInstances-0-rust">
2975 <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
2976
2977pub fn main() {
2978 let policytypeId = policytypeId_example; // String
2979 let ricId = ricId_example; // String
2980 let serviceId = serviceId_example; // String
2981 let typeName = typeName_example; // String
2982
2983 let mut context = A1PolicyManagementApi::Context::default();
2984 let result = client.getPolicyInstances(policytypeId, ricId, serviceId, typeName, &context).wait();
2985
2986 println!("{:?}", result);
2987}
2988</code></pre>
2989 </div>
2990 </div>
2991
2992 <h2>Scopes</h2>
2993 <table>
2994
2995 </table>
2996
2997 <h2>Parameters</h2>
2998
2999
3000
3001
3002
3003 <div class="methodsubtabletitle">Query parameters</div>
3004 <table id="methodsubtable">
3005 <tr>
3006 <th width="150px">Name</th>
3007 <th>Description</th>
3008 </tr>
3009 <tr><td style="width:150px;">policytype_id</td>
3010<td>
3011
3012
3013 <div id="d2e199_getPolicyInstances_policytypeId">
3014 <div class="json-schema-view">
3015 <div class="primitive">
3016 <span class="type">
3017 String
3018 </span>
3019
3020 <div class="inner description marked">
3021Select policies with a given type identity.
3022 </div>
3023 </div>
3024 </div>
3025 </div>
3026</td>
3027</tr>
3028
3029 <tr><td style="width:150px;">ric_id</td>
3030<td>
3031
3032
3033 <div id="d2e199_getPolicyInstances_ricId">
3034 <div class="json-schema-view">
3035 <div class="primitive">
3036 <span class="type">
3037 String
3038 </span>
3039
3040 <div class="inner description marked">
3041Select policies for a given Near-RT RIC identity.
3042 </div>
3043 </div>
3044 </div>
3045 </div>
3046</td>
3047</tr>
3048
3049 <tr><td style="width:150px;">service_id</td>
3050<td>
3051
3052
3053 <div id="d2e199_getPolicyInstances_serviceId">
3054 <div class="json-schema-view">
3055 <div class="primitive">
3056 <span class="type">
3057 String
3058 </span>
3059
3060 <div class="inner description marked">
3061Select policies owned by a given service.
3062 </div>
3063 </div>
3064 </div>
3065 </div>
3066</td>
3067</tr>
3068
3069 <tr><td style="width:150px;">type_name</td>
3070<td>
3071
3072
3073 <div id="d2e199_getPolicyInstances_typeName">
3074 <div class="json-schema-view">
3075 <div class="primitive">
3076 <span class="type">
3077 String
3078 </span>
3079
3080 <div class="inner description marked">
3081Select policies of a given type name (type identity has the format &lt;typename_version&gt;)
3082 </div>
3083 </div>
3084 </div>
3085 </div>
3086</td>
3087</tr>
3088
3089 </table>
3090
3091 <h2>Responses</h2>
3092 <h3 id="examples-A1PolicyManagement-getPolicyInstances-title-200"></h3>
3093 <p id="examples-A1PolicyManagement-getPolicyInstances-description-200" class="marked"></p>
3094 <script>
3095 var responseA1PolicyManagement200_description = `Policies`;
3096 var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
3097 if (responseA1PolicyManagement200_description_break == -1) {
3098 $("#examples-A1PolicyManagement-getPolicyInstances-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
3099 } else {
3100 $("#examples-A1PolicyManagement-getPolicyInstances-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
3101 $("#examples-A1PolicyManagement-getPolicyInstances-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
3102 }
3103 </script>
3104
3105
3106 <ul id="responses-detail-A1PolicyManagement-getPolicyInstances-200" class="nav nav-tabs nav-tabs-examples" >
3107 <li class="active">
3108 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyInstances-200-schema">Schema</a>
3109 </li>
3110
3111
3112
3113
3114 </ul>
3115
3116
3117 <div class="tab-content" id="responses-A1PolicyManagement-getPolicyInstances-200-wrapper" style='margin-bottom: 10px;'>
3118 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-200-schema">
3119 <div id="responses-A1PolicyManagement-getPolicyInstances-schema-200" class="exampleStyle">
3120 <script>
3121 $(document).ready(function() {
3122 var schemaWrapper = {
3123 "description" : "Policies",
3124 "content" : {
3125 "application/json" : {
3126 "schema" : {
3127 "$ref" : "#/components/schemas/policy_info_list_v2"
3128 }
3129 }
3130 }
3131};
3132 var schema = findNode('schema',schemaWrapper).schema;
3133 if (!schema) {
3134 schema = schemaWrapper.schema;
3135 }
3136 if (schema.$ref != null) {
3137 schema = defsParser.$refs.get(schema.$ref);
3138 } else if (schema.items != null && schema.items.$ref != null) {
3139 schema.items = defsParser.$refs.get(schema.items.$ref);
3140 } else {
3141 schemaWrapper.definitions = Object.assign({}, defs);
3142 $RefParser.dereference(schemaWrapper).catch(function(err) {
3143 console.log(err);
3144 });
3145 }
3146
3147 var view = new JSONSchemaView(schema, 3);
3148 $('#responses-A1PolicyManagement-getPolicyInstances-200-schema-data').val(JSON.stringify(schema));
3149 var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-200');
3150 result.empty();
3151 result.append(view.render());
3152 });
3153 </script>
3154 </div>
3155 <input id='responses-A1PolicyManagement-getPolicyInstances-200-schema-data' type='hidden' value=''></input>
3156 </div>
3157 </div>
3158 <h3 id="examples-A1PolicyManagement-getPolicyInstances-title-404"></h3>
3159 <p id="examples-A1PolicyManagement-getPolicyInstances-description-404" class="marked"></p>
3160 <script>
3161 var responseA1PolicyManagement404_description = `Near-RT RIC, policy type or service not found`;
3162 var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
3163 if (responseA1PolicyManagement404_description_break == -1) {
3164 $("#examples-A1PolicyManagement-getPolicyInstances-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
3165 } else {
3166 $("#examples-A1PolicyManagement-getPolicyInstances-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
3167 $("#examples-A1PolicyManagement-getPolicyInstances-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
3168 }
3169 </script>
3170
3171
3172 <ul id="responses-detail-A1PolicyManagement-getPolicyInstances-404" class="nav nav-tabs nav-tabs-examples" >
3173 <li class="active">
3174 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyInstances-404-schema">Schema</a>
3175 </li>
3176
3177
3178
3179
3180 </ul>
3181
3182
3183 <div class="tab-content" id="responses-A1PolicyManagement-getPolicyInstances-404-wrapper" style='margin-bottom: 10px;'>
3184 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyInstances-404-schema">
3185 <div id="responses-A1PolicyManagement-getPolicyInstances-schema-404" class="exampleStyle">
3186 <script>
3187 $(document).ready(function() {
3188 var schemaWrapper = {
3189 "description" : "Near-RT RIC, policy type or service not found",
3190 "content" : {
3191 "application/json" : {
3192 "schema" : {
3193 "$ref" : "#/components/schemas/error_information"
3194 }
3195 }
3196 }
3197};
3198 var schema = findNode('schema',schemaWrapper).schema;
3199 if (!schema) {
3200 schema = schemaWrapper.schema;
3201 }
3202 if (schema.$ref != null) {
3203 schema = defsParser.$refs.get(schema.$ref);
3204 } else if (schema.items != null && schema.items.$ref != null) {
3205 schema.items = defsParser.$refs.get(schema.items.$ref);
3206 } else {
3207 schemaWrapper.definitions = Object.assign({}, defs);
3208 $RefParser.dereference(schemaWrapper).catch(function(err) {
3209 console.log(err);
3210 });
3211 }
3212
3213 var view = new JSONSchemaView(schema, 3);
3214 $('#responses-A1PolicyManagement-getPolicyInstances-404-schema-data').val(JSON.stringify(schema));
3215 var result = $('#responses-A1PolicyManagement-getPolicyInstances-schema-404');
3216 result.empty();
3217 result.append(view.render());
3218 });
3219 </script>
3220 </div>
3221 <input id='responses-A1PolicyManagement-getPolicyInstances-404-schema-data' type='hidden' value=''></input>
3222 </div>
3223 </div>
3224 </article>
3225 </div>
3226 <hr>
3227 <div id="api-A1PolicyManagement-getPolicyStatus">
3228 <article id="api-A1PolicyManagement-getPolicyStatus-0" data-group="User" data-name="getPolicyStatus" data-version="0">
3229 <div class="pull-left">
3230 <h1>getPolicyStatus</h1>
3231 <p>Returns a policy status</p>
3232 </div>
3233 <div class="pull-right"></div>
3234 <div class="clearfix"></div>
3235 <p></p>
3236 <p class="marked"></p>
3237 <p></p>
3238 <br />
3239 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policies/{policy_id}/status</span></code></pre>
3240 <p>
3241 <h3>Usage and SDK Samples</h3>
3242 </p>
3243 <ul class="nav nav-tabs nav-tabs-examples">
3244 <li class="active"><a href="#examples-A1PolicyManagement-getPolicyStatus-0-curl">Curl</a></li>
3245 <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-java">Java</a></li>
3246 <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-android">Android</a></li>
3247 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-groovy">Groovy</a></li>-->
3248 <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-objc">Obj-C</a></li>
3249 <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-javascript">JavaScript</a></li>
3250 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-angular">Angular</a></li>-->
3251 <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-csharp">C#</a></li>
3252 <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-php">PHP</a></li>
3253 <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-perl">Perl</a></li>
3254 <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-python">Python</a></li>
3255 <li class=""><a href="#examples-A1PolicyManagement-getPolicyStatus-0-rust">Rust</a></li>
3256 </ul>
3257
3258 <div class="tab-content">
3259 <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyStatus-0-curl">
3260 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
3261 -H "Accept: application/json" \
3262 "http://localhost/a1-policy/v2/policies/{policy_id}/status"
3263</code></pre>
3264 </div>
3265 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-java">
3266 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
3267import org.openapitools.client.auth.*;
3268import org.openapitools.client.model.*;
3269import org.openapitools.client.api.A1PolicyManagementApi;
3270
3271import java.io.File;
3272import java.util.*;
3273
3274public class A1PolicyManagementApiExample {
3275 public static void main(String[] args) {
3276
3277 // Create an instance of the API class
3278 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
3279 String policyId = policyId_example; // String |
3280
3281 try {
3282 policy_status_info_v2 result = apiInstance.getPolicyStatus(policyId);
3283 System.out.println(result);
3284 } catch (ApiException e) {
3285 System.err.println("Exception when calling A1PolicyManagementApi#getPolicyStatus");
3286 e.printStackTrace();
3287 }
3288 }
3289}
3290</code></pre>
3291 </div>
3292
3293 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-android">
3294 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
3295
3296public class A1PolicyManagementApiExample {
3297 public static void main(String[] args) {
3298 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
3299 String policyId = policyId_example; // String |
3300
3301 try {
3302 policy_status_info_v2 result = apiInstance.getPolicyStatus(policyId);
3303 System.out.println(result);
3304 } catch (ApiException e) {
3305 System.err.println("Exception when calling A1PolicyManagementApi#getPolicyStatus");
3306 e.printStackTrace();
3307 }
3308 }
3309}</code></pre>
3310 </div>
3311 <!--
3312 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-groovy">
3313 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3314 </div> -->
3315 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-objc">
3316 <pre class="prettyprint"><code class="language-cpp">
3317
3318// Create an instance of the API class
3319A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
3320String *policyId = policyId_example; // (default to null)
3321
3322// Returns a policy status
3323[apiInstance getPolicyStatusWith:policyId
3324 completionHandler: ^(policy_status_info_v2 output, NSError* error) {
3325 if (output) {
3326 NSLog(@"%@", output);
3327 }
3328 if (error) {
3329 NSLog(@"Error: %@", error);
3330 }
3331}];
3332</code></pre>
3333 </div>
3334
3335 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-javascript">
3336 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
3337
3338// Create an instance of the API class
3339var api = new A1PolicyManagementService.A1PolicyManagementApi()
3340var policyId = policyId_example; // {String}
3341
3342var callback = function(error, data, response) {
3343 if (error) {
3344 console.error(error);
3345 } else {
3346 console.log('API called successfully. Returned data: ' + data);
3347 }
3348};
3349api.getPolicyStatus(policyId, callback);
3350</code></pre>
3351 </div>
3352
3353 <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-angular">
3354 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3355 </div>-->
3356 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-csharp">
3357 <pre class="prettyprint"><code class="language-cs">using System;
3358using System.Diagnostics;
3359using Org.OpenAPITools.Api;
3360using Org.OpenAPITools.Client;
3361using Org.OpenAPITools.Model;
3362
3363namespace Example
3364{
3365 public class getPolicyStatusExample
3366 {
3367 public void main()
3368 {
3369
3370 // Create an instance of the API class
3371 var apiInstance = new A1PolicyManagementApi();
3372 var policyId = policyId_example; // String | (default to null)
3373
3374 try {
3375 // Returns a policy status
3376 policy_status_info_v2 result = apiInstance.getPolicyStatus(policyId);
3377 Debug.WriteLine(result);
3378 } catch (Exception e) {
3379 Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyStatus: " + e.Message );
3380 }
3381 }
3382 }
3383}
3384</code></pre>
3385 </div>
3386
3387 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-php">
3388 <pre class="prettyprint"><code class="language-php"><&#63;php
3389require_once(__DIR__ . '/vendor/autoload.php');
3390
3391// Create an instance of the API class
3392$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
3393$policyId = policyId_example; // String |
3394
3395try {
3396 $result = $api_instance->getPolicyStatus($policyId);
3397 print_r($result);
3398} catch (Exception $e) {
3399 echo 'Exception when calling A1PolicyManagementApi->getPolicyStatus: ', $e->getMessage(), PHP_EOL;
3400}
3401?></code></pre>
3402 </div>
3403
3404 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-perl">
3405 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
3406use WWW::OPenAPIClient::Configuration;
3407use WWW::OPenAPIClient::A1PolicyManagementApi;
3408
3409# Create an instance of the API class
3410my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
3411my $policyId = policyId_example; # String |
3412
3413eval {
3414 my $result = $api_instance->getPolicyStatus(policyId => $policyId);
3415 print Dumper($result);
3416};
3417if ($@) {
3418 warn "Exception when calling A1PolicyManagementApi->getPolicyStatus: $@\n";
3419}</code></pre>
3420 </div>
3421
3422 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-python">
3423 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
3424import time
3425import openapi_client
3426from openapi_client.rest import ApiException
3427from pprint import pprint
3428
3429# Create an instance of the API class
3430api_instance = openapi_client.A1PolicyManagementApi()
3431policyId = policyId_example # String | (default to null)
3432
3433try:
3434 # Returns a policy status
3435 api_response = api_instance.get_policy_status(policyId)
3436 pprint(api_response)
3437except ApiException as e:
3438 print("Exception when calling A1PolicyManagementApi->getPolicyStatus: %s\n" % e)</code></pre>
3439 </div>
3440
3441 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyStatus-0-rust">
3442 <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
3443
3444pub fn main() {
3445 let policyId = policyId_example; // String
3446
3447 let mut context = A1PolicyManagementApi::Context::default();
3448 let result = client.getPolicyStatus(policyId, &context).wait();
3449
3450 println!("{:?}", result);
3451}
3452</code></pre>
3453 </div>
3454 </div>
3455
3456 <h2>Scopes</h2>
3457 <table>
3458
3459 </table>
3460
3461 <h2>Parameters</h2>
3462
3463 <div class="methodsubtabletitle">Path parameters</div>
3464 <table id="methodsubtable">
3465 <tr>
3466 <th width="150px">Name</th>
3467 <th>Description</th>
3468 </tr>
3469 <tr><td style="width:150px;">policy_id*</td>
3470<td>
3471
3472
3473 <div id="d2e199_getPolicyStatus_policyId">
3474 <div class="json-schema-view">
3475 <div class="primitive">
3476 <span class="type">
3477 String
3478 </span>
3479
3480 </div>
3481 <div class="inner required">
3482 Required
3483 </div>
3484 </div>
3485 </div>
3486</td>
3487</tr>
3488
3489 </table>
3490
3491
3492
3493
3494
3495 <h2>Responses</h2>
3496 <h3 id="examples-A1PolicyManagement-getPolicyStatus-title-200"></h3>
3497 <p id="examples-A1PolicyManagement-getPolicyStatus-description-200" class="marked"></p>
3498 <script>
3499 var responseA1PolicyManagement200_description = `Policy status`;
3500 var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
3501 if (responseA1PolicyManagement200_description_break == -1) {
3502 $("#examples-A1PolicyManagement-getPolicyStatus-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
3503 } else {
3504 $("#examples-A1PolicyManagement-getPolicyStatus-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
3505 $("#examples-A1PolicyManagement-getPolicyStatus-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
3506 }
3507 </script>
3508
3509
3510 <ul id="responses-detail-A1PolicyManagement-getPolicyStatus-200" class="nav nav-tabs nav-tabs-examples" >
3511 <li class="active">
3512 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyStatus-200-schema">Schema</a>
3513 </li>
3514
3515
3516
3517
3518 </ul>
3519
3520
3521 <div class="tab-content" id="responses-A1PolicyManagement-getPolicyStatus-200-wrapper" style='margin-bottom: 10px;'>
3522 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyStatus-200-schema">
3523 <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
3524 <script>
3525 $(document).ready(function() {
3526 var schemaWrapper = {
3527 "description" : "Policy status",
3528 "content" : {
3529 "application/json" : {
3530 "schema" : {
3531 "$ref" : "#/components/schemas/policy_status_info_v2"
3532 }
3533 }
3534 }
3535};
3536 var schema = findNode('schema',schemaWrapper).schema;
3537 if (!schema) {
3538 schema = schemaWrapper.schema;
3539 }
3540 if (schema.$ref != null) {
3541 schema = defsParser.$refs.get(schema.$ref);
3542 } else if (schema.items != null && schema.items.$ref != null) {
3543 schema.items = defsParser.$refs.get(schema.items.$ref);
3544 } else {
3545 schemaWrapper.definitions = Object.assign({}, defs);
3546 $RefParser.dereference(schemaWrapper).catch(function(err) {
3547 console.log(err);
3548 });
3549 }
3550
3551 var view = new JSONSchemaView(schema, 3);
3552 $('#responses-A1PolicyManagement-getPolicyStatus-200-schema-data').val(JSON.stringify(schema));
3553 var result = $('#responses-A1PolicyManagement-getPolicyStatus-schema-200');
3554 result.empty();
3555 result.append(view.render());
3556 });
3557 </script>
3558 </div>
3559 <input id='responses-A1PolicyManagement-getPolicyStatus-200-schema-data' type='hidden' value=''></input>
3560 </div>
3561 </div>
3562 <h3 id="examples-A1PolicyManagement-getPolicyStatus-title-404"></h3>
3563 <p id="examples-A1PolicyManagement-getPolicyStatus-description-404" class="marked"></p>
3564 <script>
3565 var responseA1PolicyManagement404_description = `Policy is not found`;
3566 var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
3567 if (responseA1PolicyManagement404_description_break == -1) {
3568 $("#examples-A1PolicyManagement-getPolicyStatus-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
3569 } else {
3570 $("#examples-A1PolicyManagement-getPolicyStatus-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
3571 $("#examples-A1PolicyManagement-getPolicyStatus-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
3572 }
3573 </script>
3574
3575
3576 <ul id="responses-detail-A1PolicyManagement-getPolicyStatus-404" class="nav nav-tabs nav-tabs-examples" >
3577 <li class="active">
3578 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyStatus-404-schema">Schema</a>
3579 </li>
3580
3581
3582
3583
3584 </ul>
3585
3586
3587 <div class="tab-content" id="responses-A1PolicyManagement-getPolicyStatus-404-wrapper" style='margin-bottom: 10px;'>
3588 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyStatus-404-schema">
3589 <div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle">
3590 <script>
3591 $(document).ready(function() {
3592 var schemaWrapper = {
3593 "description" : "Policy is not found",
3594 "content" : {
3595 "application/json" : {
3596 "schema" : {
3597 "$ref" : "#/components/schemas/error_information"
3598 }
3599 }
3600 }
3601};
3602 var schema = findNode('schema',schemaWrapper).schema;
3603 if (!schema) {
3604 schema = schemaWrapper.schema;
3605 }
3606 if (schema.$ref != null) {
3607 schema = defsParser.$refs.get(schema.$ref);
3608 } else if (schema.items != null && schema.items.$ref != null) {
3609 schema.items = defsParser.$refs.get(schema.items.$ref);
3610 } else {
3611 schemaWrapper.definitions = Object.assign({}, defs);
3612 $RefParser.dereference(schemaWrapper).catch(function(err) {
3613 console.log(err);
3614 });
3615 }
3616
3617 var view = new JSONSchemaView(schema, 3);
3618 $('#responses-A1PolicyManagement-getPolicyStatus-404-schema-data').val(JSON.stringify(schema));
3619 var result = $('#responses-A1PolicyManagement-getPolicyStatus-schema-404');
3620 result.empty();
3621 result.append(view.render());
3622 });
3623 </script>
3624 </div>
3625 <input id='responses-A1PolicyManagement-getPolicyStatus-404-schema-data' type='hidden' value=''></input>
3626 </div>
3627 </div>
3628 </article>
3629 </div>
3630 <hr>
3631 <div id="api-A1PolicyManagement-getPolicyType">
3632 <article id="api-A1PolicyManagement-getPolicyType-0" data-group="User" data-name="getPolicyType" data-version="0">
3633 <div class="pull-left">
3634 <h1>getPolicyType</h1>
3635 <p>Returns a policy type definition</p>
3636 </div>
3637 <div class="pull-right"></div>
3638 <div class="clearfix"></div>
3639 <p></p>
3640 <p class="marked"></p>
3641 <p></p>
3642 <br />
3643 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policy-types/{policytype_id}</span></code></pre>
3644 <p>
3645 <h3>Usage and SDK Samples</h3>
3646 </p>
3647 <ul class="nav nav-tabs nav-tabs-examples">
3648 <li class="active"><a href="#examples-A1PolicyManagement-getPolicyType-0-curl">Curl</a></li>
3649 <li class=""><a href="#examples-A1PolicyManagement-getPolicyType-0-java">Java</a></li>
3650 <li class=""><a href="#examples-A1PolicyManagement-getPolicyType-0-android">Android</a></li>
3651 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyType-0-groovy">Groovy</a></li>-->
3652 <li class=""><a href="#examples-A1PolicyManagement-getPolicyType-0-objc">Obj-C</a></li>
3653 <li class=""><a href="#examples-A1PolicyManagement-getPolicyType-0-javascript">JavaScript</a></li>
3654 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyType-0-angular">Angular</a></li>-->
3655 <li class=""><a href="#examples-A1PolicyManagement-getPolicyType-0-csharp">C#</a></li>
3656 <li class=""><a href="#examples-A1PolicyManagement-getPolicyType-0-php">PHP</a></li>
3657 <li class=""><a href="#examples-A1PolicyManagement-getPolicyType-0-perl">Perl</a></li>
3658 <li class=""><a href="#examples-A1PolicyManagement-getPolicyType-0-python">Python</a></li>
3659 <li class=""><a href="#examples-A1PolicyManagement-getPolicyType-0-rust">Rust</a></li>
3660 </ul>
3661
3662 <div class="tab-content">
3663 <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyType-0-curl">
3664 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
3665 -H "Accept: */*" \
3666 "http://localhost/a1-policy/v2/policy-types/{policytype_id}"
3667</code></pre>
3668 </div>
3669 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyType-0-java">
3670 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
3671import org.openapitools.client.auth.*;
3672import org.openapitools.client.model.*;
3673import org.openapitools.client.api.A1PolicyManagementApi;
3674
3675import java.io.File;
3676import java.util.*;
3677
3678public class A1PolicyManagementApiExample {
3679 public static void main(String[] args) {
3680
3681 // Create an instance of the API class
3682 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
3683 String policytypeId = policytypeId_example; // String |
3684
3685 try {
3686 policytype_v2 result = apiInstance.getPolicyType(policytypeId);
3687 System.out.println(result);
3688 } catch (ApiException e) {
3689 System.err.println("Exception when calling A1PolicyManagementApi#getPolicyType");
3690 e.printStackTrace();
3691 }
3692 }
3693}
3694</code></pre>
3695 </div>
3696
3697 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyType-0-android">
3698 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
3699
3700public class A1PolicyManagementApiExample {
3701 public static void main(String[] args) {
3702 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
3703 String policytypeId = policytypeId_example; // String |
3704
3705 try {
3706 policytype_v2 result = apiInstance.getPolicyType(policytypeId);
3707 System.out.println(result);
3708 } catch (ApiException e) {
3709 System.err.println("Exception when calling A1PolicyManagementApi#getPolicyType");
3710 e.printStackTrace();
3711 }
3712 }
3713}</code></pre>
3714 </div>
3715 <!--
3716 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyType-0-groovy">
3717 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3718 </div> -->
3719 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyType-0-objc">
3720 <pre class="prettyprint"><code class="language-cpp">
3721
3722// Create an instance of the API class
3723A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
3724String *policytypeId = policytypeId_example; // (default to null)
3725
3726// Returns a policy type definition
3727[apiInstance getPolicyTypeWith:policytypeId
3728 completionHandler: ^(policytype_v2 output, NSError* error) {
3729 if (output) {
3730 NSLog(@"%@", output);
3731 }
3732 if (error) {
3733 NSLog(@"Error: %@", error);
3734 }
3735}];
3736</code></pre>
3737 </div>
3738
3739 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyType-0-javascript">
3740 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
3741
3742// Create an instance of the API class
3743var api = new A1PolicyManagementService.A1PolicyManagementApi()
3744var policytypeId = policytypeId_example; // {String}
3745
3746var callback = function(error, data, response) {
3747 if (error) {
3748 console.error(error);
3749 } else {
3750 console.log('API called successfully. Returned data: ' + data);
3751 }
3752};
3753api.getPolicyType(policytypeId, callback);
3754</code></pre>
3755 </div>
3756
3757 <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyType-0-angular">
3758 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3759 </div>-->
3760 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyType-0-csharp">
3761 <pre class="prettyprint"><code class="language-cs">using System;
3762using System.Diagnostics;
3763using Org.OpenAPITools.Api;
3764using Org.OpenAPITools.Client;
3765using Org.OpenAPITools.Model;
3766
3767namespace Example
3768{
3769 public class getPolicyTypeExample
3770 {
3771 public void main()
3772 {
3773
3774 // Create an instance of the API class
3775 var apiInstance = new A1PolicyManagementApi();
3776 var policytypeId = policytypeId_example; // String | (default to null)
3777
3778 try {
3779 // Returns a policy type definition
3780 policytype_v2 result = apiInstance.getPolicyType(policytypeId);
3781 Debug.WriteLine(result);
3782 } catch (Exception e) {
3783 Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyType: " + e.Message );
3784 }
3785 }
3786 }
3787}
3788</code></pre>
3789 </div>
3790
3791 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyType-0-php">
3792 <pre class="prettyprint"><code class="language-php"><&#63;php
3793require_once(__DIR__ . '/vendor/autoload.php');
3794
3795// Create an instance of the API class
3796$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
3797$policytypeId = policytypeId_example; // String |
3798
3799try {
3800 $result = $api_instance->getPolicyType($policytypeId);
3801 print_r($result);
3802} catch (Exception $e) {
3803 echo 'Exception when calling A1PolicyManagementApi->getPolicyType: ', $e->getMessage(), PHP_EOL;
3804}
3805?></code></pre>
3806 </div>
3807
3808 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyType-0-perl">
3809 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
3810use WWW::OPenAPIClient::Configuration;
3811use WWW::OPenAPIClient::A1PolicyManagementApi;
3812
3813# Create an instance of the API class
3814my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
3815my $policytypeId = policytypeId_example; # String |
3816
3817eval {
3818 my $result = $api_instance->getPolicyType(policytypeId => $policytypeId);
3819 print Dumper($result);
3820};
3821if ($@) {
3822 warn "Exception when calling A1PolicyManagementApi->getPolicyType: $@\n";
3823}</code></pre>
3824 </div>
3825
3826 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyType-0-python">
3827 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
3828import time
3829import openapi_client
3830from openapi_client.rest import ApiException
3831from pprint import pprint
3832
3833# Create an instance of the API class
3834api_instance = openapi_client.A1PolicyManagementApi()
3835policytypeId = policytypeId_example # String | (default to null)
3836
3837try:
3838 # Returns a policy type definition
3839 api_response = api_instance.get_policy_type(policytypeId)
3840 pprint(api_response)
3841except ApiException as e:
3842 print("Exception when calling A1PolicyManagementApi->getPolicyType: %s\n" % e)</code></pre>
3843 </div>
3844
3845 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyType-0-rust">
3846 <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
3847
3848pub fn main() {
3849 let policytypeId = policytypeId_example; // String
3850
3851 let mut context = A1PolicyManagementApi::Context::default();
3852 let result = client.getPolicyType(policytypeId, &context).wait();
3853
3854 println!("{:?}", result);
3855}
3856</code></pre>
3857 </div>
3858 </div>
3859
3860 <h2>Scopes</h2>
3861 <table>
3862
3863 </table>
3864
3865 <h2>Parameters</h2>
3866
3867 <div class="methodsubtabletitle">Path parameters</div>
3868 <table id="methodsubtable">
3869 <tr>
3870 <th width="150px">Name</th>
3871 <th>Description</th>
3872 </tr>
3873 <tr><td style="width:150px;">policytype_id*</td>
3874<td>
3875
3876
3877 <div id="d2e199_getPolicyType_policytypeId">
3878 <div class="json-schema-view">
3879 <div class="primitive">
3880 <span class="type">
3881 String
3882 </span>
3883
3884 </div>
3885 <div class="inner required">
3886 Required
3887 </div>
3888 </div>
3889 </div>
3890</td>
3891</tr>
3892
3893 </table>
3894
3895
3896
3897
3898
3899 <h2>Responses</h2>
3900 <h3 id="examples-A1PolicyManagement-getPolicyType-title-200"></h3>
3901 <p id="examples-A1PolicyManagement-getPolicyType-description-200" class="marked"></p>
3902 <script>
3903 var responseA1PolicyManagement200_description = `Policy type`;
3904 var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
3905 if (responseA1PolicyManagement200_description_break == -1) {
3906 $("#examples-A1PolicyManagement-getPolicyType-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
3907 } else {
3908 $("#examples-A1PolicyManagement-getPolicyType-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
3909 $("#examples-A1PolicyManagement-getPolicyType-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
3910 }
3911 </script>
3912
3913
3914 <ul id="responses-detail-A1PolicyManagement-getPolicyType-200" class="nav nav-tabs nav-tabs-examples" >
3915 <li class="active">
3916 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyType-200-schema">Schema</a>
3917 </li>
3918
3919
3920
3921
3922 </ul>
3923
3924
3925 <div class="tab-content" id="responses-A1PolicyManagement-getPolicyType-200-wrapper" style='margin-bottom: 10px;'>
3926 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyType-200-schema">
3927 <div id="responses-A1PolicyManagement-getPolicyType-schema-200" class="exampleStyle">
3928 <script>
3929 $(document).ready(function() {
3930 var schemaWrapper = {
3931 "description" : "Policy type",
3932 "content" : {
3933 "*/*" : {
3934 "schema" : {
3935 "$ref" : "#/components/schemas/policytype_v2"
3936 }
3937 }
3938 }
3939};
3940 var schema = findNode('schema',schemaWrapper).schema;
3941 if (!schema) {
3942 schema = schemaWrapper.schema;
3943 }
3944 if (schema.$ref != null) {
3945 schema = defsParser.$refs.get(schema.$ref);
3946 } else if (schema.items != null && schema.items.$ref != null) {
3947 schema.items = defsParser.$refs.get(schema.items.$ref);
3948 } else {
3949 schemaWrapper.definitions = Object.assign({}, defs);
3950 $RefParser.dereference(schemaWrapper).catch(function(err) {
3951 console.log(err);
3952 });
3953 }
3954
3955 var view = new JSONSchemaView(schema, 3);
3956 $('#responses-A1PolicyManagement-getPolicyType-200-schema-data').val(JSON.stringify(schema));
3957 var result = $('#responses-A1PolicyManagement-getPolicyType-schema-200');
3958 result.empty();
3959 result.append(view.render());
3960 });
3961 </script>
3962 </div>
3963 <input id='responses-A1PolicyManagement-getPolicyType-200-schema-data' type='hidden' value=''></input>
3964 </div>
3965 </div>
3966 <h3 id="examples-A1PolicyManagement-getPolicyType-title-404"></h3>
3967 <p id="examples-A1PolicyManagement-getPolicyType-description-404" class="marked"></p>
3968 <script>
3969 var responseA1PolicyManagement404_description = `Policy type is not found`;
3970 var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
3971 if (responseA1PolicyManagement404_description_break == -1) {
3972 $("#examples-A1PolicyManagement-getPolicyType-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
3973 } else {
3974 $("#examples-A1PolicyManagement-getPolicyType-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
3975 $("#examples-A1PolicyManagement-getPolicyType-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
3976 }
3977 </script>
3978
3979
3980 <ul id="responses-detail-A1PolicyManagement-getPolicyType-404" class="nav nav-tabs nav-tabs-examples" >
3981 <li class="active">
3982 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyType-404-schema">Schema</a>
3983 </li>
3984
3985
3986
3987
3988 </ul>
3989
3990
3991 <div class="tab-content" id="responses-A1PolicyManagement-getPolicyType-404-wrapper" style='margin-bottom: 10px;'>
3992 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyType-404-schema">
3993 <div id="responses-A1PolicyManagement-getPolicyType-schema-404" class="exampleStyle">
3994 <script>
3995 $(document).ready(function() {
3996 var schemaWrapper = {
3997 "description" : "Policy type is not found",
3998 "content" : {
3999 "*/*" : {
4000 "schema" : {
4001 "$ref" : "#/components/schemas/error_information"
4002 }
4003 }
4004 }
4005};
4006 var schema = findNode('schema',schemaWrapper).schema;
4007 if (!schema) {
4008 schema = schemaWrapper.schema;
4009 }
4010 if (schema.$ref != null) {
4011 schema = defsParser.$refs.get(schema.$ref);
4012 } else if (schema.items != null && schema.items.$ref != null) {
4013 schema.items = defsParser.$refs.get(schema.items.$ref);
4014 } else {
4015 schemaWrapper.definitions = Object.assign({}, defs);
4016 $RefParser.dereference(schemaWrapper).catch(function(err) {
4017 console.log(err);
4018 });
4019 }
4020
4021 var view = new JSONSchemaView(schema, 3);
4022 $('#responses-A1PolicyManagement-getPolicyType-404-schema-data').val(JSON.stringify(schema));
4023 var result = $('#responses-A1PolicyManagement-getPolicyType-schema-404');
4024 result.empty();
4025 result.append(view.render());
4026 });
4027 </script>
4028 </div>
4029 <input id='responses-A1PolicyManagement-getPolicyType-404-schema-data' type='hidden' value=''></input>
4030 </div>
4031 </div>
4032 </article>
4033 </div>
4034 <hr>
4035 <div id="api-A1PolicyManagement-getPolicyTypes">
4036 <article id="api-A1PolicyManagement-getPolicyTypes-0" data-group="User" data-name="getPolicyTypes" data-version="0">
4037 <div class="pull-left">
4038 <h1>getPolicyTypes</h1>
4039 <p>Query policy type identities</p>
4040 </div>
4041 <div class="pull-right"></div>
4042 <div class="clearfix"></div>
4043 <p></p>
4044 <p class="marked"></p>
4045 <p></p>
4046 <br />
4047 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/policy-types</span></code></pre>
4048 <p>
4049 <h3>Usage and SDK Samples</h3>
4050 </p>
4051 <ul class="nav nav-tabs nav-tabs-examples">
4052 <li class="active"><a href="#examples-A1PolicyManagement-getPolicyTypes-0-curl">Curl</a></li>
4053 <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-java">Java</a></li>
4054 <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-android">Android</a></li>
4055 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-groovy">Groovy</a></li>-->
4056 <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-objc">Obj-C</a></li>
4057 <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-javascript">JavaScript</a></li>
4058 <!--<li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-angular">Angular</a></li>-->
4059 <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-csharp">C#</a></li>
4060 <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-php">PHP</a></li>
4061 <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-perl">Perl</a></li>
4062 <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-python">Python</a></li>
4063 <li class=""><a href="#examples-A1PolicyManagement-getPolicyTypes-0-rust">Rust</a></li>
4064 </ul>
4065
4066 <div class="tab-content">
4067 <div class="tab-pane active" id="examples-A1PolicyManagement-getPolicyTypes-0-curl">
4068 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
4069 -H "Accept: application/json" \
4070 "http://localhost/a1-policy/v2/policy-types?ric_id=ricId_example&type_name=typeName_example&compatible_with_version=compatibleWithVersion_example"
4071</code></pre>
4072 </div>
4073 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-java">
4074 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
4075import org.openapitools.client.auth.*;
4076import org.openapitools.client.model.*;
4077import org.openapitools.client.api.A1PolicyManagementApi;
4078
4079import java.io.File;
4080import java.util.*;
4081
4082public class A1PolicyManagementApiExample {
4083 public static void main(String[] args) {
4084
4085 // Create an instance of the API class
4086 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
4087 String ricId = ricId_example; // String | Select types for the given Near-RT RIC identity.
4088 String typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>)
4089 String compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
4090
4091 try {
4092 policytype_id_list_v2 result = apiInstance.getPolicyTypes(ricId, typeName, compatibleWithVersion);
4093 System.out.println(result);
4094 } catch (ApiException e) {
4095 System.err.println("Exception when calling A1PolicyManagementApi#getPolicyTypes");
4096 e.printStackTrace();
4097 }
4098 }
4099}
4100</code></pre>
4101 </div>
4102
4103 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-android">
4104 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
4105
4106public class A1PolicyManagementApiExample {
4107 public static void main(String[] args) {
4108 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
4109 String ricId = ricId_example; // String | Select types for the given Near-RT RIC identity.
4110 String typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>)
4111 String compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
4112
4113 try {
4114 policytype_id_list_v2 result = apiInstance.getPolicyTypes(ricId, typeName, compatibleWithVersion);
4115 System.out.println(result);
4116 } catch (ApiException e) {
4117 System.err.println("Exception when calling A1PolicyManagementApi#getPolicyTypes");
4118 e.printStackTrace();
4119 }
4120 }
4121}</code></pre>
4122 </div>
4123 <!--
4124 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-groovy">
4125 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4126 </div> -->
4127 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-objc">
4128 <pre class="prettyprint"><code class="language-cpp">
4129
4130// Create an instance of the API class
4131A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
4132String *ricId = ricId_example; // Select types for the given Near-RT RIC identity. (optional) (default to null)
4133String *typeName = typeName_example; // Select types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
4134String *compatibleWithVersion = compatibleWithVersion_example; // Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order. (optional) (default to null)
4135
4136// Query policy type identities
4137[apiInstance getPolicyTypesWith:ricId
4138 typeName:typeName
4139 compatibleWithVersion:compatibleWithVersion
4140 completionHandler: ^(policytype_id_list_v2 output, NSError* error) {
4141 if (output) {
4142 NSLog(@"%@", output);
4143 }
4144 if (error) {
4145 NSLog(@"Error: %@", error);
4146 }
4147}];
4148</code></pre>
4149 </div>
4150
4151 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-javascript">
4152 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
4153
4154// Create an instance of the API class
4155var api = new A1PolicyManagementService.A1PolicyManagementApi()
4156var opts = {
4157 'ricId': ricId_example, // {String} Select types for the given Near-RT RIC identity.
4158 'typeName': typeName_example, // {String} Select types with the given type name (type identity has the format <typename_version>)
4159 'compatibleWithVersion': compatibleWithVersion_example // {String} Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
4160};
4161
4162var callback = function(error, data, response) {
4163 if (error) {
4164 console.error(error);
4165 } else {
4166 console.log('API called successfully. Returned data: ' + data);
4167 }
4168};
4169api.getPolicyTypes(opts, callback);
4170</code></pre>
4171 </div>
4172
4173 <!--<div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-angular">
4174 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4175 </div>-->
4176 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-csharp">
4177 <pre class="prettyprint"><code class="language-cs">using System;
4178using System.Diagnostics;
4179using Org.OpenAPITools.Api;
4180using Org.OpenAPITools.Client;
4181using Org.OpenAPITools.Model;
4182
4183namespace Example
4184{
4185 public class getPolicyTypesExample
4186 {
4187 public void main()
4188 {
4189
4190 // Create an instance of the API class
4191 var apiInstance = new A1PolicyManagementApi();
4192 var ricId = ricId_example; // String | Select types for the given Near-RT RIC identity. (optional) (default to null)
4193 var typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
4194 var compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order. (optional) (default to null)
4195
4196 try {
4197 // Query policy type identities
4198 policytype_id_list_v2 result = apiInstance.getPolicyTypes(ricId, typeName, compatibleWithVersion);
4199 Debug.WriteLine(result);
4200 } catch (Exception e) {
4201 Debug.Print("Exception when calling A1PolicyManagementApi.getPolicyTypes: " + e.Message );
4202 }
4203 }
4204 }
4205}
4206</code></pre>
4207 </div>
4208
4209 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-php">
4210 <pre class="prettyprint"><code class="language-php"><&#63;php
4211require_once(__DIR__ . '/vendor/autoload.php');
4212
4213// Create an instance of the API class
4214$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
4215$ricId = ricId_example; // String | Select types for the given Near-RT RIC identity.
4216$typeName = typeName_example; // String | Select types with the given type name (type identity has the format <typename_version>)
4217$compatibleWithVersion = compatibleWithVersion_example; // String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
4218
4219try {
4220 $result = $api_instance->getPolicyTypes($ricId, $typeName, $compatibleWithVersion);
4221 print_r($result);
4222} catch (Exception $e) {
4223 echo 'Exception when calling A1PolicyManagementApi->getPolicyTypes: ', $e->getMessage(), PHP_EOL;
4224}
4225?></code></pre>
4226 </div>
4227
4228 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-perl">
4229 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
4230use WWW::OPenAPIClient::Configuration;
4231use WWW::OPenAPIClient::A1PolicyManagementApi;
4232
4233# Create an instance of the API class
4234my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
4235my $ricId = ricId_example; # String | Select types for the given Near-RT RIC identity.
4236my $typeName = typeName_example; # String | Select types with the given type name (type identity has the format <typename_version>)
4237my $compatibleWithVersion = compatibleWithVersion_example; # String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
4238
4239eval {
4240 my $result = $api_instance->getPolicyTypes(ricId => $ricId, typeName => $typeName, compatibleWithVersion => $compatibleWithVersion);
4241 print Dumper($result);
4242};
4243if ($@) {
4244 warn "Exception when calling A1PolicyManagementApi->getPolicyTypes: $@\n";
4245}</code></pre>
4246 </div>
4247
4248 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-python">
4249 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
4250import time
4251import openapi_client
4252from openapi_client.rest import ApiException
4253from pprint import pprint
4254
4255# Create an instance of the API class
4256api_instance = openapi_client.A1PolicyManagementApi()
4257ricId = ricId_example # String | Select types for the given Near-RT RIC identity. (optional) (default to null)
4258typeName = typeName_example # String | Select types with the given type name (type identity has the format <typename_version>) (optional) (default to null)
4259compatibleWithVersion = compatibleWithVersion_example # String | Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order. (optional) (default to null)
4260
4261try:
4262 # Query policy type identities
4263 api_response = api_instance.get_policy_types(ricId=ricId, typeName=typeName, compatibleWithVersion=compatibleWithVersion)
4264 pprint(api_response)
4265except ApiException as e:
4266 print("Exception when calling A1PolicyManagementApi->getPolicyTypes: %s\n" % e)</code></pre>
4267 </div>
4268
4269 <div class="tab-pane" id="examples-A1PolicyManagement-getPolicyTypes-0-rust">
4270 <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
4271
4272pub fn main() {
4273 let ricId = ricId_example; // String
4274 let typeName = typeName_example; // String
4275 let compatibleWithVersion = compatibleWithVersion_example; // String
4276
4277 let mut context = A1PolicyManagementApi::Context::default();
4278 let result = client.getPolicyTypes(ricId, typeName, compatibleWithVersion, &context).wait();
4279
4280 println!("{:?}", result);
4281}
4282</code></pre>
4283 </div>
4284 </div>
4285
4286 <h2>Scopes</h2>
4287 <table>
4288
4289 </table>
4290
4291 <h2>Parameters</h2>
4292
4293
4294
4295
4296
4297 <div class="methodsubtabletitle">Query parameters</div>
4298 <table id="methodsubtable">
4299 <tr>
4300 <th width="150px">Name</th>
4301 <th>Description</th>
4302 </tr>
4303 <tr><td style="width:150px;">ric_id</td>
4304<td>
4305
4306
4307 <div id="d2e199_getPolicyTypes_ricId">
4308 <div class="json-schema-view">
4309 <div class="primitive">
4310 <span class="type">
4311 String
4312 </span>
4313
4314 <div class="inner description marked">
4315Select types for the given Near-RT RIC identity.
4316 </div>
4317 </div>
4318 </div>
4319 </div>
4320</td>
4321</tr>
4322
4323 <tr><td style="width:150px;">type_name</td>
4324<td>
4325
4326
4327 <div id="d2e199_getPolicyTypes_typeName">
4328 <div class="json-schema-view">
4329 <div class="primitive">
4330 <span class="type">
4331 String
4332 </span>
4333
4334 <div class="inner description marked">
4335Select types with the given type name (type identity has the format &lt;typename_version&gt;)
4336 </div>
4337 </div>
4338 </div>
4339 </div>
4340</td>
4341</tr>
4342
4343 <tr><td style="width:150px;">compatible_with_version</td>
4344<td>
4345
4346
4347 <div id="d2e199_getPolicyTypes_compatibleWithVersion">
4348 <div class="json-schema-view">
4349 <div class="primitive">
4350 <span class="type">
4351 String
4352 </span>
4353
4354 <div class="inner description marked">
4355Select types that are compatible with the given version. This parameter is only applicable in conjunction with type_name. As an example version 1.9.1 is compatible with 1.0.0 but not the other way around. Matching types will be returned sorted in ascending order.
4356 </div>
4357 </div>
4358 </div>
4359 </div>
4360</td>
4361</tr>
4362
4363 </table>
4364
4365 <h2>Responses</h2>
4366 <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-200"></h3>
4367 <p id="examples-A1PolicyManagement-getPolicyTypes-description-200" class="marked"></p>
4368 <script>
4369 var responseA1PolicyManagement200_description = `Policy type IDs`;
4370 var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
4371 if (responseA1PolicyManagement200_description_break == -1) {
4372 $("#examples-A1PolicyManagement-getPolicyTypes-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
4373 } else {
4374 $("#examples-A1PolicyManagement-getPolicyTypes-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
4375 $("#examples-A1PolicyManagement-getPolicyTypes-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
4376 }
4377 </script>
4378
4379
4380 <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-200" class="nav nav-tabs nav-tabs-examples" >
4381 <li class="active">
4382 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-200-schema">Schema</a>
4383 </li>
4384
4385
4386
4387
4388 </ul>
4389
4390
4391 <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-200-wrapper" style='margin-bottom: 10px;'>
4392 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-200-schema">
4393 <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
4394 <script>
4395 $(document).ready(function() {
4396 var schemaWrapper = {
4397 "description" : "Policy type IDs",
4398 "content" : {
4399 "application/json" : {
4400 "schema" : {
4401 "$ref" : "#/components/schemas/policytype_id_list_v2"
4402 }
4403 }
4404 }
4405};
4406 var schema = findNode('schema',schemaWrapper).schema;
4407 if (!schema) {
4408 schema = schemaWrapper.schema;
4409 }
4410 if (schema.$ref != null) {
4411 schema = defsParser.$refs.get(schema.$ref);
4412 } else if (schema.items != null && schema.items.$ref != null) {
4413 schema.items = defsParser.$refs.get(schema.items.$ref);
4414 } else {
4415 schemaWrapper.definitions = Object.assign({}, defs);
4416 $RefParser.dereference(schemaWrapper).catch(function(err) {
4417 console.log(err);
4418 });
4419 }
4420
4421 var view = new JSONSchemaView(schema, 3);
4422 $('#responses-A1PolicyManagement-getPolicyTypes-200-schema-data').val(JSON.stringify(schema));
4423 var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-200');
4424 result.empty();
4425 result.append(view.render());
4426 });
4427 </script>
4428 </div>
4429 <input id='responses-A1PolicyManagement-getPolicyTypes-200-schema-data' type='hidden' value=''></input>
4430 </div>
4431 </div>
4432 <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-404"></h3>
4433 <p id="examples-A1PolicyManagement-getPolicyTypes-description-404" class="marked"></p>
4434 <script>
4435 var responseA1PolicyManagement404_description = `Near-RT RIC is not found`;
4436 var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
4437 if (responseA1PolicyManagement404_description_break == -1) {
4438 $("#examples-A1PolicyManagement-getPolicyTypes-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
4439 } else {
4440 $("#examples-A1PolicyManagement-getPolicyTypes-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
4441 $("#examples-A1PolicyManagement-getPolicyTypes-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
4442 }
4443 </script>
4444
4445
4446 <ul id="responses-detail-A1PolicyManagement-getPolicyTypes-404" class="nav nav-tabs nav-tabs-examples" >
4447 <li class="active">
4448 <a data-toggle="tab" href="#responses-A1PolicyManagement-getPolicyTypes-404-schema">Schema</a>
4449 </li>
4450
4451
4452
4453
4454 </ul>
4455
4456
4457 <div class="tab-content" id="responses-A1PolicyManagement-getPolicyTypes-404-wrapper" style='margin-bottom: 10px;'>
4458 <div class="tab-pane active" id="responses-A1PolicyManagement-getPolicyTypes-404-schema">
4459 <div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle">
4460 <script>
4461 $(document).ready(function() {
4462 var schemaWrapper = {
4463 "description" : "Near-RT RIC is not found",
4464 "content" : {
4465 "application/json" : {
4466 "schema" : {
4467 "$ref" : "#/components/schemas/error_information"
4468 }
4469 }
4470 }
4471};
4472 var schema = findNode('schema',schemaWrapper).schema;
4473 if (!schema) {
4474 schema = schemaWrapper.schema;
4475 }
4476 if (schema.$ref != null) {
4477 schema = defsParser.$refs.get(schema.$ref);
4478 } else if (schema.items != null && schema.items.$ref != null) {
4479 schema.items = defsParser.$refs.get(schema.items.$ref);
4480 } else {
4481 schemaWrapper.definitions = Object.assign({}, defs);
4482 $RefParser.dereference(schemaWrapper).catch(function(err) {
4483 console.log(err);
4484 });
4485 }
4486
4487 var view = new JSONSchemaView(schema, 3);
4488 $('#responses-A1PolicyManagement-getPolicyTypes-404-schema-data').val(JSON.stringify(schema));
4489 var result = $('#responses-A1PolicyManagement-getPolicyTypes-schema-404');
4490 result.empty();
4491 result.append(view.render());
4492 });
4493 </script>
4494 </div>
4495 <input id='responses-A1PolicyManagement-getPolicyTypes-404-schema-data' type='hidden' value=''></input>
4496 </div>
4497 </div>
4498 </article>
4499 </div>
4500 <hr>
4501 <div id="api-A1PolicyManagement-putPolicy">
4502 <article id="api-A1PolicyManagement-putPolicy-0" data-group="User" data-name="putPolicy" data-version="0">
4503 <div class="pull-left">
4504 <h1>putPolicy</h1>
4505 <p>Create or update a policy</p>
4506 </div>
4507 <div class="pull-right"></div>
4508 <div class="clearfix"></div>
4509 <p></p>
4510 <p class="marked"></p>
4511 <p></p>
4512 <br />
4513 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/policies</span></code></pre>
4514 <p>
4515 <h3>Usage and SDK Samples</h3>
4516 </p>
4517 <ul class="nav nav-tabs nav-tabs-examples">
4518 <li class="active"><a href="#examples-A1PolicyManagement-putPolicy-0-curl">Curl</a></li>
4519 <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-java">Java</a></li>
4520 <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-android">Android</a></li>
4521 <!--<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-groovy">Groovy</a></li>-->
4522 <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-objc">Obj-C</a></li>
4523 <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-javascript">JavaScript</a></li>
4524 <!--<li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-angular">Angular</a></li>-->
4525 <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-csharp">C#</a></li>
4526 <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-php">PHP</a></li>
4527 <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-perl">Perl</a></li>
4528 <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-python">Python</a></li>
4529 <li class=""><a href="#examples-A1PolicyManagement-putPolicy-0-rust">Rust</a></li>
4530 </ul>
4531
4532 <div class="tab-content">
4533 <div class="tab-pane active" id="examples-A1PolicyManagement-putPolicy-0-curl">
4534 <pre class="prettyprint"><code class="language-bsh">curl -X PUT \
4535 -H "Accept: application/json" \
4536 -H "Content-Type: application/json" \
4537 "http://localhost/a1-policy/v2/policies" \
4538 -d ''
4539</code></pre>
4540 </div>
4541 <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-java">
4542 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
4543import org.openapitools.client.auth.*;
4544import org.openapitools.client.model.*;
4545import org.openapitools.client.api.A1PolicyManagementApi;
4546
4547import java.io.File;
4548import java.util.*;
4549
4550public class A1PolicyManagementApiExample {
4551 public static void main(String[] args) {
4552
4553 // Create an instance of the API class
4554 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
4555 PolicyInfoV2 policyInfoV2 = ; // PolicyInfoV2 |
4556
4557 try {
4558 Object result = apiInstance.putPolicy(policyInfoV2);
4559 System.out.println(result);
4560 } catch (ApiException e) {
4561 System.err.println("Exception when calling A1PolicyManagementApi#putPolicy");
4562 e.printStackTrace();
4563 }
4564 }
4565}
4566</code></pre>
4567 </div>
4568
4569 <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-android">
4570 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.A1PolicyManagementApi;
4571
4572public class A1PolicyManagementApiExample {
4573 public static void main(String[] args) {
4574 A1PolicyManagementApi apiInstance = new A1PolicyManagementApi();
4575 PolicyInfoV2 policyInfoV2 = ; // PolicyInfoV2 |
4576
4577 try {
4578 Object result = apiInstance.putPolicy(policyInfoV2);
4579 System.out.println(result);
4580 } catch (ApiException e) {
4581 System.err.println("Exception when calling A1PolicyManagementApi#putPolicy");
4582 e.printStackTrace();
4583 }
4584 }
4585}</code></pre>
4586 </div>
4587 <!--
4588 <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-groovy">
4589 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4590 </div> -->
4591 <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-objc">
4592 <pre class="prettyprint"><code class="language-cpp">
4593
4594// Create an instance of the API class
4595A1PolicyManagementApi *apiInstance = [[A1PolicyManagementApi alloc] init];
4596PolicyInfoV2 *policyInfoV2 = ; //
4597
4598// Create or update a policy
4599[apiInstance putPolicyWith:policyInfoV2
4600 completionHandler: ^(Object output, NSError* error) {
4601 if (output) {
4602 NSLog(@"%@", output);
4603 }
4604 if (error) {
4605 NSLog(@"Error: %@", error);
4606 }
4607}];
4608</code></pre>
4609 </div>
4610
4611 <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-javascript">
4612 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
4613
4614// Create an instance of the API class
4615var api = new A1PolicyManagementService.A1PolicyManagementApi()
4616var policyInfoV2 = ; // {PolicyInfoV2}
4617
4618var callback = function(error, data, response) {
4619 if (error) {
4620 console.error(error);
4621 } else {
4622 console.log('API called successfully. Returned data: ' + data);
4623 }
4624};
4625api.putPolicy(policyInfoV2, callback);
4626</code></pre>
4627 </div>
4628
4629 <!--<div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-angular">
4630 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4631 </div>-->
4632 <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-csharp">
4633 <pre class="prettyprint"><code class="language-cs">using System;
4634using System.Diagnostics;
4635using Org.OpenAPITools.Api;
4636using Org.OpenAPITools.Client;
4637using Org.OpenAPITools.Model;
4638
4639namespace Example
4640{
4641 public class putPolicyExample
4642 {
4643 public void main()
4644 {
4645
4646 // Create an instance of the API class
4647 var apiInstance = new A1PolicyManagementApi();
4648 var policyInfoV2 = new PolicyInfoV2(); // PolicyInfoV2 |
4649
4650 try {
4651 // Create or update a policy
4652 Object result = apiInstance.putPolicy(policyInfoV2);
4653 Debug.WriteLine(result);
4654 } catch (Exception e) {
4655 Debug.Print("Exception when calling A1PolicyManagementApi.putPolicy: " + e.Message );
4656 }
4657 }
4658 }
4659}
4660</code></pre>
4661 </div>
4662
4663 <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-php">
4664 <pre class="prettyprint"><code class="language-php"><&#63;php
4665require_once(__DIR__ . '/vendor/autoload.php');
4666
4667// Create an instance of the API class
4668$api_instance = new OpenAPITools\Client\Api\A1PolicyManagementApi();
4669$policyInfoV2 = ; // PolicyInfoV2 |
4670
4671try {
4672 $result = $api_instance->putPolicy($policyInfoV2);
4673 print_r($result);
4674} catch (Exception $e) {
4675 echo 'Exception when calling A1PolicyManagementApi->putPolicy: ', $e->getMessage(), PHP_EOL;
4676}
4677?></code></pre>
4678 </div>
4679
4680 <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-perl">
4681 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
4682use WWW::OPenAPIClient::Configuration;
4683use WWW::OPenAPIClient::A1PolicyManagementApi;
4684
4685# Create an instance of the API class
4686my $api_instance = WWW::OPenAPIClient::A1PolicyManagementApi->new();
4687my $policyInfoV2 = WWW::OPenAPIClient::Object::PolicyInfoV2->new(); # PolicyInfoV2 |
4688
4689eval {
4690 my $result = $api_instance->putPolicy(policyInfoV2 => $policyInfoV2);
4691 print Dumper($result);
4692};
4693if ($@) {
4694 warn "Exception when calling A1PolicyManagementApi->putPolicy: $@\n";
4695}</code></pre>
4696 </div>
4697
4698 <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-python">
4699 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
4700import time
4701import openapi_client
4702from openapi_client.rest import ApiException
4703from pprint import pprint
4704
4705# Create an instance of the API class
4706api_instance = openapi_client.A1PolicyManagementApi()
4707policyInfoV2 = # PolicyInfoV2 |
4708
4709try:
4710 # Create or update a policy
4711 api_response = api_instance.put_policy(policyInfoV2)
4712 pprint(api_response)
4713except ApiException as e:
4714 print("Exception when calling A1PolicyManagementApi->putPolicy: %s\n" % e)</code></pre>
4715 </div>
4716
4717 <div class="tab-pane" id="examples-A1PolicyManagement-putPolicy-0-rust">
4718 <pre class="prettyprint"><code class="language-rust">extern crate A1PolicyManagementApi;
4719
4720pub fn main() {
4721 let policyInfoV2 = ; // PolicyInfoV2
4722
4723 let mut context = A1PolicyManagementApi::Context::default();
4724 let result = client.putPolicy(policyInfoV2, &context).wait();
4725
4726 println!("{:?}", result);
4727}
4728</code></pre>
4729 </div>
4730 </div>
4731
4732 <h2>Scopes</h2>
4733 <table>
4734
4735 </table>
4736
4737 <h2>Parameters</h2>
4738
4739
4740
4741 <div class="methodsubtabletitle">Body parameters</div>
4742 <table id="methodsubtable">
4743 <tr>
4744 <th width="150px">Name</th>
4745 <th>Description</th>
4746 </tr>
4747 <tr><td style="width:150px;">policyInfoV2 <span style="color:red;">*</span></td>
4748<td>
4749<p class="marked"></p>
4750<script>
4751$(document).ready(function() {
4752 var schemaWrapper = {
4753 "content" : {
4754 "application/json" : {
4755 "schema" : {
4756 "$ref" : "#/components/schemas/policy_info_v2"
4757 }
4758 }
4759 },
4760 "required" : true
4761};
4762
4763 var schema = findNode('schema',schemaWrapper).schema;
4764 if (!schema) {
4765 schema = schemaWrapper.schema;
4766 }
4767 if (schema.$ref != null) {
4768 schema = defsParser.$refs.get(schema.$ref);
4769 } else {
4770 schemaWrapper.definitions = Object.assign({}, defs);
4771 $RefParser.dereference(schemaWrapper).catch(function(err) {
4772 console.log(err);
4773 });
4774 }
4775
4776 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
4777 var result = $('#d2e199_putPolicy_policyInfoV2');
4778 result.empty();
4779 result.append(view.render());
4780});
4781</script>
4782<div id="d2e199_putPolicy_policyInfoV2"></div>
4783</td>
4784</tr>
4785
4786 </table>
4787
4788
4789
4790 <h2>Responses</h2>
4791 <h3 id="examples-A1PolicyManagement-putPolicy-title-200"></h3>
4792 <p id="examples-A1PolicyManagement-putPolicy-description-200" class="marked"></p>
4793 <script>
4794 var responseA1PolicyManagement200_description = `Policy updated`;
4795 var responseA1PolicyManagement200_description_break = responseA1PolicyManagement200_description.indexOf('\n');
4796 if (responseA1PolicyManagement200_description_break == -1) {
4797 $("#examples-A1PolicyManagement-putPolicy-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description);
4798 } else {
4799 $("#examples-A1PolicyManagement-putPolicy-title-200").text("Status: 200 - " + responseA1PolicyManagement200_description.substring(0, responseA1PolicyManagement200_description_break));
4800 $("#examples-A1PolicyManagement-putPolicy-description-200").html(responseA1PolicyManagement200_description.substring(responseA1PolicyManagement200_description_break));
4801 }
4802 </script>
4803
4804
4805 <ul id="responses-detail-A1PolicyManagement-putPolicy-200" class="nav nav-tabs nav-tabs-examples" >
4806 <li class="active">
4807 <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-200-schema">Schema</a>
4808 </li>
4809
4810
4811
4812
4813 </ul>
4814
4815
4816 <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-200-wrapper" style='margin-bottom: 10px;'>
4817 <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-200-schema">
4818 <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
4819 <script>
4820 $(document).ready(function() {
4821 var schemaWrapper = {
4822 "description" : "Policy updated",
4823 "content" : {
4824 "application/json" : {
4825 "schema" : {
4826 "$ref" : "#/components/schemas/void"
4827 }
4828 }
4829 }
4830};
4831 var schema = findNode('schema',schemaWrapper).schema;
4832 if (!schema) {
4833 schema = schemaWrapper.schema;
4834 }
4835 if (schema.$ref != null) {
4836 schema = defsParser.$refs.get(schema.$ref);
4837 } else if (schema.items != null && schema.items.$ref != null) {
4838 schema.items = defsParser.$refs.get(schema.items.$ref);
4839 } else {
4840 schemaWrapper.definitions = Object.assign({}, defs);
4841 $RefParser.dereference(schemaWrapper).catch(function(err) {
4842 console.log(err);
4843 });
4844 }
4845
4846 var view = new JSONSchemaView(schema, 3);
4847 $('#responses-A1PolicyManagement-putPolicy-200-schema-data').val(JSON.stringify(schema));
4848 var result = $('#responses-A1PolicyManagement-putPolicy-schema-200');
4849 result.empty();
4850 result.append(view.render());
4851 });
4852 </script>
4853 </div>
4854 <input id='responses-A1PolicyManagement-putPolicy-200-schema-data' type='hidden' value=''></input>
4855 </div>
4856 </div>
4857 <h3 id="examples-A1PolicyManagement-putPolicy-title-201"></h3>
4858 <p id="examples-A1PolicyManagement-putPolicy-description-201" class="marked"></p>
4859 <script>
4860 var responseA1PolicyManagement201_description = `Policy created`;
4861 var responseA1PolicyManagement201_description_break = responseA1PolicyManagement201_description.indexOf('\n');
4862 if (responseA1PolicyManagement201_description_break == -1) {
4863 $("#examples-A1PolicyManagement-putPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description);
4864 } else {
4865 $("#examples-A1PolicyManagement-putPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description.substring(0, responseA1PolicyManagement201_description_break));
4866 $("#examples-A1PolicyManagement-putPolicy-description-201").html(responseA1PolicyManagement201_description.substring(responseA1PolicyManagement201_description_break));
4867 }
4868 </script>
4869
4870
4871 <ul id="responses-detail-A1PolicyManagement-putPolicy-201" class="nav nav-tabs nav-tabs-examples" >
4872 <li class="active">
4873 <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-201-schema">Schema</a>
4874 </li>
4875
4876
4877
4878
4879 </ul>
4880
4881
4882 <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-201-wrapper" style='margin-bottom: 10px;'>
4883 <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-201-schema">
4884 <div id="responses-A1PolicyManagement-putPolicy-schema-201" class="exampleStyle">
4885 <script>
4886 $(document).ready(function() {
4887 var schemaWrapper = {
4888 "description" : "Policy created",
4889 "content" : {
4890 "application/json" : {
4891 "schema" : {
4892 "$ref" : "#/components/schemas/void"
4893 }
4894 }
4895 }
4896};
4897 var schema = findNode('schema',schemaWrapper).schema;
4898 if (!schema) {
4899 schema = schemaWrapper.schema;
4900 }
4901 if (schema.$ref != null) {
4902 schema = defsParser.$refs.get(schema.$ref);
4903 } else if (schema.items != null && schema.items.$ref != null) {
4904 schema.items = defsParser.$refs.get(schema.items.$ref);
4905 } else {
4906 schemaWrapper.definitions = Object.assign({}, defs);
4907 $RefParser.dereference(schemaWrapper).catch(function(err) {
4908 console.log(err);
4909 });
4910 }
4911
4912 var view = new JSONSchemaView(schema, 3);
4913 $('#responses-A1PolicyManagement-putPolicy-201-schema-data').val(JSON.stringify(schema));
4914 var result = $('#responses-A1PolicyManagement-putPolicy-schema-201');
4915 result.empty();
4916 result.append(view.render());
4917 });
4918 </script>
4919 </div>
4920 <input id='responses-A1PolicyManagement-putPolicy-201-schema-data' type='hidden' value=''></input>
4921 </div>
4922 </div>
4923 <h3 id="examples-A1PolicyManagement-putPolicy-title-423"></h3>
4924 <p id="examples-A1PolicyManagement-putPolicy-description-423" class="marked"></p>
4925 <script>
4926 var responseA1PolicyManagement423_description = `Near-RT RIC is not operational`;
4927 var responseA1PolicyManagement423_description_break = responseA1PolicyManagement423_description.indexOf('\n');
4928 if (responseA1PolicyManagement423_description_break == -1) {
4929 $("#examples-A1PolicyManagement-putPolicy-title-423").text("Status: 423 - " + responseA1PolicyManagement423_description);
4930 } else {
4931 $("#examples-A1PolicyManagement-putPolicy-title-423").text("Status: 423 - " + responseA1PolicyManagement423_description.substring(0, responseA1PolicyManagement423_description_break));
4932 $("#examples-A1PolicyManagement-putPolicy-description-423").html(responseA1PolicyManagement423_description.substring(responseA1PolicyManagement423_description_break));
4933 }
4934 </script>
4935
4936
4937 <ul id="responses-detail-A1PolicyManagement-putPolicy-423" class="nav nav-tabs nav-tabs-examples" >
4938 <li class="active">
4939 <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-423-schema">Schema</a>
4940 </li>
4941
4942
4943
4944
4945 </ul>
4946
4947
4948 <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-423-wrapper" style='margin-bottom: 10px;'>
4949 <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-423-schema">
4950 <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
4951 <script>
4952 $(document).ready(function() {
4953 var schemaWrapper = {
4954 "description" : "Near-RT RIC is not operational",
4955 "content" : {
4956 "application/json" : {
4957 "schema" : {
4958 "$ref" : "#/components/schemas/error_information"
4959 }
4960 }
4961 }
4962};
4963 var schema = findNode('schema',schemaWrapper).schema;
4964 if (!schema) {
4965 schema = schemaWrapper.schema;
4966 }
4967 if (schema.$ref != null) {
4968 schema = defsParser.$refs.get(schema.$ref);
4969 } else if (schema.items != null && schema.items.$ref != null) {
4970 schema.items = defsParser.$refs.get(schema.items.$ref);
4971 } else {
4972 schemaWrapper.definitions = Object.assign({}, defs);
4973 $RefParser.dereference(schemaWrapper).catch(function(err) {
4974 console.log(err);
4975 });
4976 }
4977
4978 var view = new JSONSchemaView(schema, 3);
4979 $('#responses-A1PolicyManagement-putPolicy-423-schema-data').val(JSON.stringify(schema));
4980 var result = $('#responses-A1PolicyManagement-putPolicy-schema-423');
4981 result.empty();
4982 result.append(view.render());
4983 });
4984 </script>
4985 </div>
4986 <input id='responses-A1PolicyManagement-putPolicy-423-schema-data' type='hidden' value=''></input>
4987 </div>
4988 </div>
4989 <h3 id="examples-A1PolicyManagement-putPolicy-title-404"></h3>
4990 <p id="examples-A1PolicyManagement-putPolicy-description-404" class="marked"></p>
4991 <script>
4992 var responseA1PolicyManagement404_description = `Near-RT RIC or policy type is not found`;
4993 var responseA1PolicyManagement404_description_break = responseA1PolicyManagement404_description.indexOf('\n');
4994 if (responseA1PolicyManagement404_description_break == -1) {
4995 $("#examples-A1PolicyManagement-putPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description);
4996 } else {
4997 $("#examples-A1PolicyManagement-putPolicy-title-404").text("Status: 404 - " + responseA1PolicyManagement404_description.substring(0, responseA1PolicyManagement404_description_break));
4998 $("#examples-A1PolicyManagement-putPolicy-description-404").html(responseA1PolicyManagement404_description.substring(responseA1PolicyManagement404_description_break));
4999 }
5000 </script>
5001
5002
5003 <ul id="responses-detail-A1PolicyManagement-putPolicy-404" class="nav nav-tabs nav-tabs-examples" >
5004 <li class="active">
5005 <a data-toggle="tab" href="#responses-A1PolicyManagement-putPolicy-404-schema">Schema</a>
5006 </li>
5007
5008
5009
5010
5011 </ul>
5012
5013
5014 <div class="tab-content" id="responses-A1PolicyManagement-putPolicy-404-wrapper" style='margin-bottom: 10px;'>
5015 <div class="tab-pane active" id="responses-A1PolicyManagement-putPolicy-404-schema">
5016 <div id="responses-A1PolicyManagement-putPolicy-schema-404" class="exampleStyle">
5017 <script>
5018 $(document).ready(function() {
5019 var schemaWrapper = {
5020 "description" : "Near-RT RIC or policy type is not found",
5021 "content" : {
5022 "application/json" : {
5023 "schema" : {
5024 "$ref" : "#/components/schemas/error_information"
5025 }
5026 }
5027 }
5028};
5029 var schema = findNode('schema',schemaWrapper).schema;
5030 if (!schema) {
5031 schema = schemaWrapper.schema;
5032 }
5033 if (schema.$ref != null) {
5034 schema = defsParser.$refs.get(schema.$ref);
5035 } else if (schema.items != null && schema.items.$ref != null) {
5036 schema.items = defsParser.$refs.get(schema.items.$ref);
5037 } else {
5038 schemaWrapper.definitions = Object.assign({}, defs);
5039 $RefParser.dereference(schemaWrapper).catch(function(err) {
5040 console.log(err);
5041 });
5042 }
5043
5044 var view = new JSONSchemaView(schema, 3);
5045 $('#responses-A1PolicyManagement-putPolicy-404-schema-data').val(JSON.stringify(schema));
5046 var result = $('#responses-A1PolicyManagement-putPolicy-schema-404');
5047 result.empty();
5048 result.append(view.render());
5049 });
5050 </script>
5051 </div>
5052 <input id='responses-A1PolicyManagement-putPolicy-404-schema-data' type='hidden' value=''></input>
5053 </div>
5054 </div>
5055 </article>
5056 </div>
5057 <hr>
5058 </section>
5059 <section id="api-Actuator">
5060 <h1>Actuator</h1>
5061 <div id="api-Actuator-health">
5062 <article id="api-Actuator-health-0" data-group="User" data-name="health" data-version="0">
5063 <div class="pull-left">
5064 <h1>health</h1>
5065 <p>Actuator web endpoint &#39;health&#39;</p>
5066 </div>
5067 <div class="pull-right"></div>
5068 <div class="clearfix"></div>
5069 <p></p>
5070 <p class="marked"></p>
5071 <p></p>
5072 <br />
5073 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/health</span></code></pre>
5074 <p>
5075 <h3>Usage and SDK Samples</h3>
5076 </p>
5077 <ul class="nav nav-tabs nav-tabs-examples">
5078 <li class="active"><a href="#examples-Actuator-health-0-curl">Curl</a></li>
5079 <li class=""><a href="#examples-Actuator-health-0-java">Java</a></li>
5080 <li class=""><a href="#examples-Actuator-health-0-android">Android</a></li>
5081 <!--<li class=""><a href="#examples-Actuator-health-0-groovy">Groovy</a></li>-->
5082 <li class=""><a href="#examples-Actuator-health-0-objc">Obj-C</a></li>
5083 <li class=""><a href="#examples-Actuator-health-0-javascript">JavaScript</a></li>
5084 <!--<li class=""><a href="#examples-Actuator-health-0-angular">Angular</a></li>-->
5085 <li class=""><a href="#examples-Actuator-health-0-csharp">C#</a></li>
5086 <li class=""><a href="#examples-Actuator-health-0-php">PHP</a></li>
5087 <li class=""><a href="#examples-Actuator-health-0-perl">Perl</a></li>
5088 <li class=""><a href="#examples-Actuator-health-0-python">Python</a></li>
5089 <li class=""><a href="#examples-Actuator-health-0-rust">Rust</a></li>
5090 </ul>
5091
5092 <div class="tab-content">
5093 <div class="tab-pane active" id="examples-Actuator-health-0-curl">
5094 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
5095 -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
5096 "http://localhost/actuator/health"
5097</code></pre>
5098 </div>
5099 <div class="tab-pane" id="examples-Actuator-health-0-java">
5100 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
5101import org.openapitools.client.auth.*;
5102import org.openapitools.client.model.*;
5103import org.openapitools.client.api.ActuatorApi;
5104
5105import java.io.File;
5106import java.util.*;
5107
5108public class ActuatorApiExample {
5109 public static void main(String[] args) {
5110
5111 // Create an instance of the API class
5112 ActuatorApi apiInstance = new ActuatorApi();
5113
5114 try {
5115 Object result = apiInstance.health();
5116 System.out.println(result);
5117 } catch (ApiException e) {
5118 System.err.println("Exception when calling ActuatorApi#health");
5119 e.printStackTrace();
5120 }
5121 }
5122}
5123</code></pre>
5124 </div>
5125
5126 <div class="tab-pane" id="examples-Actuator-health-0-android">
5127 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
5128
5129public class ActuatorApiExample {
5130 public static void main(String[] args) {
5131 ActuatorApi apiInstance = new ActuatorApi();
5132
5133 try {
5134 Object result = apiInstance.health();
5135 System.out.println(result);
5136 } catch (ApiException e) {
5137 System.err.println("Exception when calling ActuatorApi#health");
5138 e.printStackTrace();
5139 }
5140 }
5141}</code></pre>
5142 </div>
5143 <!--
5144 <div class="tab-pane" id="examples-Actuator-health-0-groovy">
5145 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5146 </div> -->
5147 <div class="tab-pane" id="examples-Actuator-health-0-objc">
5148 <pre class="prettyprint"><code class="language-cpp">
5149
5150// Create an instance of the API class
5151ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
5152
5153// Actuator web endpoint 'health'
5154[apiInstance healthWithCompletionHandler:
5155 ^(Object output, NSError* error) {
5156 if (output) {
5157 NSLog(@"%@", output);
5158 }
5159 if (error) {
5160 NSLog(@"Error: %@", error);
5161 }
5162}];
5163</code></pre>
5164 </div>
5165
5166 <div class="tab-pane" id="examples-Actuator-health-0-javascript">
5167 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
5168
5169// Create an instance of the API class
5170var api = new A1PolicyManagementService.ActuatorApi()
5171var callback = function(error, data, response) {
5172 if (error) {
5173 console.error(error);
5174 } else {
5175 console.log('API called successfully. Returned data: ' + data);
5176 }
5177};
5178api.health(callback);
5179</code></pre>
5180 </div>
5181
5182 <!--<div class="tab-pane" id="examples-Actuator-health-0-angular">
5183 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5184 </div>-->
5185 <div class="tab-pane" id="examples-Actuator-health-0-csharp">
5186 <pre class="prettyprint"><code class="language-cs">using System;
5187using System.Diagnostics;
5188using Org.OpenAPITools.Api;
5189using Org.OpenAPITools.Client;
5190using Org.OpenAPITools.Model;
5191
5192namespace Example
5193{
5194 public class healthExample
5195 {
5196 public void main()
5197 {
5198
5199 // Create an instance of the API class
5200 var apiInstance = new ActuatorApi();
5201
5202 try {
5203 // Actuator web endpoint 'health'
5204 Object result = apiInstance.health();
5205 Debug.WriteLine(result);
5206 } catch (Exception e) {
5207 Debug.Print("Exception when calling ActuatorApi.health: " + e.Message );
5208 }
5209 }
5210 }
5211}
5212</code></pre>
5213 </div>
5214
5215 <div class="tab-pane" id="examples-Actuator-health-0-php">
5216 <pre class="prettyprint"><code class="language-php"><&#63;php
5217require_once(__DIR__ . '/vendor/autoload.php');
5218
5219// Create an instance of the API class
5220$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
5221
5222try {
5223 $result = $api_instance->health();
5224 print_r($result);
5225} catch (Exception $e) {
5226 echo 'Exception when calling ActuatorApi->health: ', $e->getMessage(), PHP_EOL;
5227}
5228?></code></pre>
5229 </div>
5230
5231 <div class="tab-pane" id="examples-Actuator-health-0-perl">
5232 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
5233use WWW::OPenAPIClient::Configuration;
5234use WWW::OPenAPIClient::ActuatorApi;
5235
5236# Create an instance of the API class
5237my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
5238
5239eval {
5240 my $result = $api_instance->health();
5241 print Dumper($result);
5242};
5243if ($@) {
5244 warn "Exception when calling ActuatorApi->health: $@\n";
5245}</code></pre>
5246 </div>
5247
5248 <div class="tab-pane" id="examples-Actuator-health-0-python">
5249 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
5250import time
5251import openapi_client
5252from openapi_client.rest import ApiException
5253from pprint import pprint
5254
5255# Create an instance of the API class
5256api_instance = openapi_client.ActuatorApi()
5257
5258try:
5259 # Actuator web endpoint 'health'
5260 api_response = api_instance.health()
5261 pprint(api_response)
5262except ApiException as e:
5263 print("Exception when calling ActuatorApi->health: %s\n" % e)</code></pre>
5264 </div>
5265
5266 <div class="tab-pane" id="examples-Actuator-health-0-rust">
5267 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
5268
5269pub fn main() {
5270
5271 let mut context = ActuatorApi::Context::default();
5272 let result = client.health(&context).wait();
5273
5274 println!("{:?}", result);
5275}
5276</code></pre>
5277 </div>
5278 </div>
5279
5280 <h2>Scopes</h2>
5281 <table>
5282
5283 </table>
5284
5285 <h2>Parameters</h2>
5286
5287
5288
5289
5290
5291
5292 <h2>Responses</h2>
5293 <h3 id="examples-Actuator-health-title-200"></h3>
5294 <p id="examples-Actuator-health-description-200" class="marked"></p>
5295 <script>
5296 var responseActuator200_description = `OK`;
5297 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
5298 if (responseActuator200_description_break == -1) {
5299 $("#examples-Actuator-health-title-200").text("Status: 200 - " + responseActuator200_description);
5300 } else {
5301 $("#examples-Actuator-health-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
5302 $("#examples-Actuator-health-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
5303 }
5304 </script>
5305
5306
5307 <ul id="responses-detail-Actuator-health-200" class="nav nav-tabs nav-tabs-examples" >
5308 <li class="active">
5309 <a data-toggle="tab" href="#responses-Actuator-health-200-schema">Schema</a>
5310 </li>
5311
5312
5313
5314
5315 </ul>
5316
5317
5318 <div class="tab-content" id="responses-Actuator-health-200-wrapper" style='margin-bottom: 10px;'>
5319 <div class="tab-pane active" id="responses-Actuator-health-200-schema">
5320 <div id="responses-Actuator-health-schema-200" class="exampleStyle">
5321 <script>
5322 $(document).ready(function() {
5323 var schemaWrapper = {
5324 "description" : "OK",
5325 "content" : {
5326 "application/vnd.spring-boot.actuator.v3+json" : {
5327 "schema" : {
5328 "type" : "object"
5329 }
5330 },
5331 "application/json" : {
5332 "schema" : {
5333 "type" : "object"
5334 }
5335 },
5336 "application/vnd.spring-boot.actuator.v2+json" : {
5337 "schema" : {
5338 "type" : "object"
5339 }
5340 }
5341 }
5342};
5343 var schema = findNode('schema',schemaWrapper).schema;
5344 if (!schema) {
5345 schema = schemaWrapper.schema;
5346 }
5347 if (schema.$ref != null) {
5348 schema = defsParser.$refs.get(schema.$ref);
5349 } else if (schema.items != null && schema.items.$ref != null) {
5350 schema.items = defsParser.$refs.get(schema.items.$ref);
5351 } else {
5352 schemaWrapper.definitions = Object.assign({}, defs);
5353 $RefParser.dereference(schemaWrapper).catch(function(err) {
5354 console.log(err);
5355 });
5356 }
5357
5358 var view = new JSONSchemaView(schema, 3);
5359 $('#responses-Actuator-health-200-schema-data').val(JSON.stringify(schema));
5360 var result = $('#responses-Actuator-health-schema-200');
5361 result.empty();
5362 result.append(view.render());
5363 });
5364 </script>
5365 </div>
5366 <input id='responses-Actuator-health-200-schema-data' type='hidden' value=''></input>
5367 </div>
5368 </div>
5369 </article>
5370 </div>
5371 <hr>
5372 <div id="api-Actuator-healthPath">
5373 <article id="api-Actuator-healthPath-0" data-group="User" data-name="healthPath" data-version="0">
5374 <div class="pull-left">
5375 <h1>healthPath</h1>
5376 <p>Actuator web endpoint &#39;health-path&#39;</p>
5377 </div>
5378 <div class="pull-right"></div>
5379 <div class="clearfix"></div>
5380 <p></p>
5381 <p class="marked"></p>
5382 <p></p>
5383 <br />
5384 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/health/**</span></code></pre>
5385 <p>
5386 <h3>Usage and SDK Samples</h3>
5387 </p>
5388 <ul class="nav nav-tabs nav-tabs-examples">
5389 <li class="active"><a href="#examples-Actuator-healthPath-0-curl">Curl</a></li>
5390 <li class=""><a href="#examples-Actuator-healthPath-0-java">Java</a></li>
5391 <li class=""><a href="#examples-Actuator-healthPath-0-android">Android</a></li>
5392 <!--<li class=""><a href="#examples-Actuator-healthPath-0-groovy">Groovy</a></li>-->
5393 <li class=""><a href="#examples-Actuator-healthPath-0-objc">Obj-C</a></li>
5394 <li class=""><a href="#examples-Actuator-healthPath-0-javascript">JavaScript</a></li>
5395 <!--<li class=""><a href="#examples-Actuator-healthPath-0-angular">Angular</a></li>-->
5396 <li class=""><a href="#examples-Actuator-healthPath-0-csharp">C#</a></li>
5397 <li class=""><a href="#examples-Actuator-healthPath-0-php">PHP</a></li>
5398 <li class=""><a href="#examples-Actuator-healthPath-0-perl">Perl</a></li>
5399 <li class=""><a href="#examples-Actuator-healthPath-0-python">Python</a></li>
5400 <li class=""><a href="#examples-Actuator-healthPath-0-rust">Rust</a></li>
5401 </ul>
5402
5403 <div class="tab-content">
5404 <div class="tab-pane active" id="examples-Actuator-healthPath-0-curl">
5405 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
5406 -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
5407 "http://localhost/actuator/health/**"
5408</code></pre>
5409 </div>
5410 <div class="tab-pane" id="examples-Actuator-healthPath-0-java">
5411 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
5412import org.openapitools.client.auth.*;
5413import org.openapitools.client.model.*;
5414import org.openapitools.client.api.ActuatorApi;
5415
5416import java.io.File;
5417import java.util.*;
5418
5419public class ActuatorApiExample {
5420 public static void main(String[] args) {
5421
5422 // Create an instance of the API class
5423 ActuatorApi apiInstance = new ActuatorApi();
5424
5425 try {
5426 Object result = apiInstance.healthPath();
5427 System.out.println(result);
5428 } catch (ApiException e) {
5429 System.err.println("Exception when calling ActuatorApi#healthPath");
5430 e.printStackTrace();
5431 }
5432 }
5433}
5434</code></pre>
5435 </div>
5436
5437 <div class="tab-pane" id="examples-Actuator-healthPath-0-android">
5438 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
5439
5440public class ActuatorApiExample {
5441 public static void main(String[] args) {
5442 ActuatorApi apiInstance = new ActuatorApi();
5443
5444 try {
5445 Object result = apiInstance.healthPath();
5446 System.out.println(result);
5447 } catch (ApiException e) {
5448 System.err.println("Exception when calling ActuatorApi#healthPath");
5449 e.printStackTrace();
5450 }
5451 }
5452}</code></pre>
5453 </div>
5454 <!--
5455 <div class="tab-pane" id="examples-Actuator-healthPath-0-groovy">
5456 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5457 </div> -->
5458 <div class="tab-pane" id="examples-Actuator-healthPath-0-objc">
5459 <pre class="prettyprint"><code class="language-cpp">
5460
5461// Create an instance of the API class
5462ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
5463
5464// Actuator web endpoint 'health-path'
5465[apiInstance healthPathWithCompletionHandler:
5466 ^(Object output, NSError* error) {
5467 if (output) {
5468 NSLog(@"%@", output);
5469 }
5470 if (error) {
5471 NSLog(@"Error: %@", error);
5472 }
5473}];
5474</code></pre>
5475 </div>
5476
5477 <div class="tab-pane" id="examples-Actuator-healthPath-0-javascript">
5478 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
5479
5480// Create an instance of the API class
5481var api = new A1PolicyManagementService.ActuatorApi()
5482var callback = function(error, data, response) {
5483 if (error) {
5484 console.error(error);
5485 } else {
5486 console.log('API called successfully. Returned data: ' + data);
5487 }
5488};
5489api.healthPath(callback);
5490</code></pre>
5491 </div>
5492
5493 <!--<div class="tab-pane" id="examples-Actuator-healthPath-0-angular">
5494 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5495 </div>-->
5496 <div class="tab-pane" id="examples-Actuator-healthPath-0-csharp">
5497 <pre class="prettyprint"><code class="language-cs">using System;
5498using System.Diagnostics;
5499using Org.OpenAPITools.Api;
5500using Org.OpenAPITools.Client;
5501using Org.OpenAPITools.Model;
5502
5503namespace Example
5504{
5505 public class healthPathExample
5506 {
5507 public void main()
5508 {
5509
5510 // Create an instance of the API class
5511 var apiInstance = new ActuatorApi();
5512
5513 try {
5514 // Actuator web endpoint 'health-path'
5515 Object result = apiInstance.healthPath();
5516 Debug.WriteLine(result);
5517 } catch (Exception e) {
5518 Debug.Print("Exception when calling ActuatorApi.healthPath: " + e.Message );
5519 }
5520 }
5521 }
5522}
5523</code></pre>
5524 </div>
5525
5526 <div class="tab-pane" id="examples-Actuator-healthPath-0-php">
5527 <pre class="prettyprint"><code class="language-php"><&#63;php
5528require_once(__DIR__ . '/vendor/autoload.php');
5529
5530// Create an instance of the API class
5531$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
5532
5533try {
5534 $result = $api_instance->healthPath();
5535 print_r($result);
5536} catch (Exception $e) {
5537 echo 'Exception when calling ActuatorApi->healthPath: ', $e->getMessage(), PHP_EOL;
5538}
5539?></code></pre>
5540 </div>
5541
5542 <div class="tab-pane" id="examples-Actuator-healthPath-0-perl">
5543 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
5544use WWW::OPenAPIClient::Configuration;
5545use WWW::OPenAPIClient::ActuatorApi;
5546
5547# Create an instance of the API class
5548my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
5549
5550eval {
5551 my $result = $api_instance->healthPath();
5552 print Dumper($result);
5553};
5554if ($@) {
5555 warn "Exception when calling ActuatorApi->healthPath: $@\n";
5556}</code></pre>
5557 </div>
5558
5559 <div class="tab-pane" id="examples-Actuator-healthPath-0-python">
5560 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
5561import time
5562import openapi_client
5563from openapi_client.rest import ApiException
5564from pprint import pprint
5565
5566# Create an instance of the API class
5567api_instance = openapi_client.ActuatorApi()
5568
5569try:
5570 # Actuator web endpoint 'health-path'
5571 api_response = api_instance.health_path()
5572 pprint(api_response)
5573except ApiException as e:
5574 print("Exception when calling ActuatorApi->healthPath: %s\n" % e)</code></pre>
5575 </div>
5576
5577 <div class="tab-pane" id="examples-Actuator-healthPath-0-rust">
5578 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
5579
5580pub fn main() {
5581
5582 let mut context = ActuatorApi::Context::default();
5583 let result = client.healthPath(&context).wait();
5584
5585 println!("{:?}", result);
5586}
5587</code></pre>
5588 </div>
5589 </div>
5590
5591 <h2>Scopes</h2>
5592 <table>
5593
5594 </table>
5595
5596 <h2>Parameters</h2>
5597
5598
5599
5600
5601
5602
5603 <h2>Responses</h2>
5604 <h3 id="examples-Actuator-healthPath-title-200"></h3>
5605 <p id="examples-Actuator-healthPath-description-200" class="marked"></p>
5606 <script>
5607 var responseActuator200_description = `OK`;
5608 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
5609 if (responseActuator200_description_break == -1) {
5610 $("#examples-Actuator-healthPath-title-200").text("Status: 200 - " + responseActuator200_description);
5611 } else {
5612 $("#examples-Actuator-healthPath-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
5613 $("#examples-Actuator-healthPath-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
5614 }
5615 </script>
5616
5617
5618 <ul id="responses-detail-Actuator-healthPath-200" class="nav nav-tabs nav-tabs-examples" >
5619 <li class="active">
5620 <a data-toggle="tab" href="#responses-Actuator-healthPath-200-schema">Schema</a>
5621 </li>
5622
5623
5624
5625
5626 </ul>
5627
5628
5629 <div class="tab-content" id="responses-Actuator-healthPath-200-wrapper" style='margin-bottom: 10px;'>
5630 <div class="tab-pane active" id="responses-Actuator-healthPath-200-schema">
5631 <div id="responses-Actuator-healthPath-schema-200" class="exampleStyle">
5632 <script>
5633 $(document).ready(function() {
5634 var schemaWrapper = {
5635 "description" : "OK",
5636 "content" : {
5637 "application/vnd.spring-boot.actuator.v3+json" : {
5638 "schema" : {
5639 "type" : "object"
5640 }
5641 },
5642 "application/json" : {
5643 "schema" : {
5644 "type" : "object"
5645 }
5646 },
5647 "application/vnd.spring-boot.actuator.v2+json" : {
5648 "schema" : {
5649 "type" : "object"
5650 }
5651 }
5652 }
5653};
5654 var schema = findNode('schema',schemaWrapper).schema;
5655 if (!schema) {
5656 schema = schemaWrapper.schema;
5657 }
5658 if (schema.$ref != null) {
5659 schema = defsParser.$refs.get(schema.$ref);
5660 } else if (schema.items != null && schema.items.$ref != null) {
5661 schema.items = defsParser.$refs.get(schema.items.$ref);
5662 } else {
5663 schemaWrapper.definitions = Object.assign({}, defs);
5664 $RefParser.dereference(schemaWrapper).catch(function(err) {
5665 console.log(err);
5666 });
5667 }
5668
5669 var view = new JSONSchemaView(schema, 3);
5670 $('#responses-Actuator-healthPath-200-schema-data').val(JSON.stringify(schema));
5671 var result = $('#responses-Actuator-healthPath-schema-200');
5672 result.empty();
5673 result.append(view.render());
5674 });
5675 </script>
5676 </div>
5677 <input id='responses-Actuator-healthPath-200-schema-data' type='hidden' value=''></input>
5678 </div>
5679 </div>
5680 </article>
5681 </div>
5682 <hr>
5683 <div id="api-Actuator-heapdump">
5684 <article id="api-Actuator-heapdump-0" data-group="User" data-name="heapdump" data-version="0">
5685 <div class="pull-left">
5686 <h1>heapdump</h1>
5687 <p>Actuator web endpoint &#39;heapdump&#39;</p>
5688 </div>
5689 <div class="pull-right"></div>
5690 <div class="clearfix"></div>
5691 <p></p>
5692 <p class="marked"></p>
5693 <p></p>
5694 <br />
5695 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/heapdump</span></code></pre>
5696 <p>
5697 <h3>Usage and SDK Samples</h3>
5698 </p>
5699 <ul class="nav nav-tabs nav-tabs-examples">
5700 <li class="active"><a href="#examples-Actuator-heapdump-0-curl">Curl</a></li>
5701 <li class=""><a href="#examples-Actuator-heapdump-0-java">Java</a></li>
5702 <li class=""><a href="#examples-Actuator-heapdump-0-android">Android</a></li>
5703 <!--<li class=""><a href="#examples-Actuator-heapdump-0-groovy">Groovy</a></li>-->
5704 <li class=""><a href="#examples-Actuator-heapdump-0-objc">Obj-C</a></li>
5705 <li class=""><a href="#examples-Actuator-heapdump-0-javascript">JavaScript</a></li>
5706 <!--<li class=""><a href="#examples-Actuator-heapdump-0-angular">Angular</a></li>-->
5707 <li class=""><a href="#examples-Actuator-heapdump-0-csharp">C#</a></li>
5708 <li class=""><a href="#examples-Actuator-heapdump-0-php">PHP</a></li>
5709 <li class=""><a href="#examples-Actuator-heapdump-0-perl">Perl</a></li>
5710 <li class=""><a href="#examples-Actuator-heapdump-0-python">Python</a></li>
5711 <li class=""><a href="#examples-Actuator-heapdump-0-rust">Rust</a></li>
5712 </ul>
5713
5714 <div class="tab-content">
5715 <div class="tab-pane active" id="examples-Actuator-heapdump-0-curl">
5716 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
5717 -H "Accept: application/octet-stream" \
5718 "http://localhost/actuator/heapdump"
5719</code></pre>
5720 </div>
5721 <div class="tab-pane" id="examples-Actuator-heapdump-0-java">
5722 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
5723import org.openapitools.client.auth.*;
5724import org.openapitools.client.model.*;
5725import org.openapitools.client.api.ActuatorApi;
5726
5727import java.io.File;
5728import java.util.*;
5729
5730public class ActuatorApiExample {
5731 public static void main(String[] args) {
5732
5733 // Create an instance of the API class
5734 ActuatorApi apiInstance = new ActuatorApi();
5735
5736 try {
5737 Object result = apiInstance.heapdump();
5738 System.out.println(result);
5739 } catch (ApiException e) {
5740 System.err.println("Exception when calling ActuatorApi#heapdump");
5741 e.printStackTrace();
5742 }
5743 }
5744}
5745</code></pre>
5746 </div>
5747
5748 <div class="tab-pane" id="examples-Actuator-heapdump-0-android">
5749 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
5750
5751public class ActuatorApiExample {
5752 public static void main(String[] args) {
5753 ActuatorApi apiInstance = new ActuatorApi();
5754
5755 try {
5756 Object result = apiInstance.heapdump();
5757 System.out.println(result);
5758 } catch (ApiException e) {
5759 System.err.println("Exception when calling ActuatorApi#heapdump");
5760 e.printStackTrace();
5761 }
5762 }
5763}</code></pre>
5764 </div>
5765 <!--
5766 <div class="tab-pane" id="examples-Actuator-heapdump-0-groovy">
5767 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5768 </div> -->
5769 <div class="tab-pane" id="examples-Actuator-heapdump-0-objc">
5770 <pre class="prettyprint"><code class="language-cpp">
5771
5772// Create an instance of the API class
5773ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
5774
5775// Actuator web endpoint 'heapdump'
5776[apiInstance heapdumpWithCompletionHandler:
5777 ^(Object output, NSError* error) {
5778 if (output) {
5779 NSLog(@"%@", output);
5780 }
5781 if (error) {
5782 NSLog(@"Error: %@", error);
5783 }
5784}];
5785</code></pre>
5786 </div>
5787
5788 <div class="tab-pane" id="examples-Actuator-heapdump-0-javascript">
5789 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
5790
5791// Create an instance of the API class
5792var api = new A1PolicyManagementService.ActuatorApi()
5793var callback = function(error, data, response) {
5794 if (error) {
5795 console.error(error);
5796 } else {
5797 console.log('API called successfully. Returned data: ' + data);
5798 }
5799};
5800api.heapdump(callback);
5801</code></pre>
5802 </div>
5803
5804 <!--<div class="tab-pane" id="examples-Actuator-heapdump-0-angular">
5805 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5806 </div>-->
5807 <div class="tab-pane" id="examples-Actuator-heapdump-0-csharp">
5808 <pre class="prettyprint"><code class="language-cs">using System;
5809using System.Diagnostics;
5810using Org.OpenAPITools.Api;
5811using Org.OpenAPITools.Client;
5812using Org.OpenAPITools.Model;
5813
5814namespace Example
5815{
5816 public class heapdumpExample
5817 {
5818 public void main()
5819 {
5820
5821 // Create an instance of the API class
5822 var apiInstance = new ActuatorApi();
5823
5824 try {
5825 // Actuator web endpoint 'heapdump'
5826 Object result = apiInstance.heapdump();
5827 Debug.WriteLine(result);
5828 } catch (Exception e) {
5829 Debug.Print("Exception when calling ActuatorApi.heapdump: " + e.Message );
5830 }
5831 }
5832 }
5833}
5834</code></pre>
5835 </div>
5836
5837 <div class="tab-pane" id="examples-Actuator-heapdump-0-php">
5838 <pre class="prettyprint"><code class="language-php"><&#63;php
5839require_once(__DIR__ . '/vendor/autoload.php');
5840
5841// Create an instance of the API class
5842$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
5843
5844try {
5845 $result = $api_instance->heapdump();
5846 print_r($result);
5847} catch (Exception $e) {
5848 echo 'Exception when calling ActuatorApi->heapdump: ', $e->getMessage(), PHP_EOL;
5849}
5850?></code></pre>
5851 </div>
5852
5853 <div class="tab-pane" id="examples-Actuator-heapdump-0-perl">
5854 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
5855use WWW::OPenAPIClient::Configuration;
5856use WWW::OPenAPIClient::ActuatorApi;
5857
5858# Create an instance of the API class
5859my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
5860
5861eval {
5862 my $result = $api_instance->heapdump();
5863 print Dumper($result);
5864};
5865if ($@) {
5866 warn "Exception when calling ActuatorApi->heapdump: $@\n";
5867}</code></pre>
5868 </div>
5869
5870 <div class="tab-pane" id="examples-Actuator-heapdump-0-python">
5871 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
5872import time
5873import openapi_client
5874from openapi_client.rest import ApiException
5875from pprint import pprint
5876
5877# Create an instance of the API class
5878api_instance = openapi_client.ActuatorApi()
5879
5880try:
5881 # Actuator web endpoint 'heapdump'
5882 api_response = api_instance.heapdump()
5883 pprint(api_response)
5884except ApiException as e:
5885 print("Exception when calling ActuatorApi->heapdump: %s\n" % e)</code></pre>
5886 </div>
5887
5888 <div class="tab-pane" id="examples-Actuator-heapdump-0-rust">
5889 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
5890
5891pub fn main() {
5892
5893 let mut context = ActuatorApi::Context::default();
5894 let result = client.heapdump(&context).wait();
5895
5896 println!("{:?}", result);
5897}
5898</code></pre>
5899 </div>
5900 </div>
5901
5902 <h2>Scopes</h2>
5903 <table>
5904
5905 </table>
5906
5907 <h2>Parameters</h2>
5908
5909
5910
5911
5912
5913
5914 <h2>Responses</h2>
5915 <h3 id="examples-Actuator-heapdump-title-200"></h3>
5916 <p id="examples-Actuator-heapdump-description-200" class="marked"></p>
5917 <script>
5918 var responseActuator200_description = `OK`;
5919 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
5920 if (responseActuator200_description_break == -1) {
5921 $("#examples-Actuator-heapdump-title-200").text("Status: 200 - " + responseActuator200_description);
5922 } else {
5923 $("#examples-Actuator-heapdump-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
5924 $("#examples-Actuator-heapdump-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
5925 }
5926 </script>
5927
5928
5929 <ul id="responses-detail-Actuator-heapdump-200" class="nav nav-tabs nav-tabs-examples" >
5930 <li class="active">
5931 <a data-toggle="tab" href="#responses-Actuator-heapdump-200-schema">Schema</a>
5932 </li>
5933
5934
5935
5936
5937 </ul>
5938
5939
5940 <div class="tab-content" id="responses-Actuator-heapdump-200-wrapper" style='margin-bottom: 10px;'>
5941 <div class="tab-pane active" id="responses-Actuator-heapdump-200-schema">
5942 <div id="responses-Actuator-heapdump-schema-200" class="exampleStyle">
5943 <script>
5944 $(document).ready(function() {
5945 var schemaWrapper = {
5946 "description" : "OK",
5947 "content" : {
5948 "application/octet-stream" : {
5949 "schema" : {
5950 "type" : "object"
5951 }
5952 }
5953 }
5954};
5955 var schema = findNode('schema',schemaWrapper).schema;
5956 if (!schema) {
5957 schema = schemaWrapper.schema;
5958 }
5959 if (schema.$ref != null) {
5960 schema = defsParser.$refs.get(schema.$ref);
5961 } else if (schema.items != null && schema.items.$ref != null) {
5962 schema.items = defsParser.$refs.get(schema.items.$ref);
5963 } else {
5964 schemaWrapper.definitions = Object.assign({}, defs);
5965 $RefParser.dereference(schemaWrapper).catch(function(err) {
5966 console.log(err);
5967 });
5968 }
5969
5970 var view = new JSONSchemaView(schema, 3);
5971 $('#responses-Actuator-heapdump-200-schema-data').val(JSON.stringify(schema));
5972 var result = $('#responses-Actuator-heapdump-schema-200');
5973 result.empty();
5974 result.append(view.render());
5975 });
5976 </script>
5977 </div>
5978 <input id='responses-Actuator-heapdump-200-schema-data' type='hidden' value=''></input>
5979 </div>
5980 </div>
5981 </article>
5982 </div>
5983 <hr>
5984 <div id="api-Actuator-info">
5985 <article id="api-Actuator-info-0" data-group="User" data-name="info" data-version="0">
5986 <div class="pull-left">
5987 <h1>info</h1>
5988 <p>Actuator web endpoint &#39;info&#39;</p>
5989 </div>
5990 <div class="pull-right"></div>
5991 <div class="clearfix"></div>
5992 <p></p>
5993 <p class="marked"></p>
5994 <p></p>
5995 <br />
5996 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/info</span></code></pre>
5997 <p>
5998 <h3>Usage and SDK Samples</h3>
5999 </p>
6000 <ul class="nav nav-tabs nav-tabs-examples">
6001 <li class="active"><a href="#examples-Actuator-info-0-curl">Curl</a></li>
6002 <li class=""><a href="#examples-Actuator-info-0-java">Java</a></li>
6003 <li class=""><a href="#examples-Actuator-info-0-android">Android</a></li>
6004 <!--<li class=""><a href="#examples-Actuator-info-0-groovy">Groovy</a></li>-->
6005 <li class=""><a href="#examples-Actuator-info-0-objc">Obj-C</a></li>
6006 <li class=""><a href="#examples-Actuator-info-0-javascript">JavaScript</a></li>
6007 <!--<li class=""><a href="#examples-Actuator-info-0-angular">Angular</a></li>-->
6008 <li class=""><a href="#examples-Actuator-info-0-csharp">C#</a></li>
6009 <li class=""><a href="#examples-Actuator-info-0-php">PHP</a></li>
6010 <li class=""><a href="#examples-Actuator-info-0-perl">Perl</a></li>
6011 <li class=""><a href="#examples-Actuator-info-0-python">Python</a></li>
6012 <li class=""><a href="#examples-Actuator-info-0-rust">Rust</a></li>
6013 </ul>
6014
6015 <div class="tab-content">
6016 <div class="tab-pane active" id="examples-Actuator-info-0-curl">
6017 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
6018 -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
6019 "http://localhost/actuator/info"
6020</code></pre>
6021 </div>
6022 <div class="tab-pane" id="examples-Actuator-info-0-java">
6023 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
6024import org.openapitools.client.auth.*;
6025import org.openapitools.client.model.*;
6026import org.openapitools.client.api.ActuatorApi;
6027
6028import java.io.File;
6029import java.util.*;
6030
6031public class ActuatorApiExample {
6032 public static void main(String[] args) {
6033
6034 // Create an instance of the API class
6035 ActuatorApi apiInstance = new ActuatorApi();
6036
6037 try {
6038 Object result = apiInstance.info();
6039 System.out.println(result);
6040 } catch (ApiException e) {
6041 System.err.println("Exception when calling ActuatorApi#info");
6042 e.printStackTrace();
6043 }
6044 }
6045}
6046</code></pre>
6047 </div>
6048
6049 <div class="tab-pane" id="examples-Actuator-info-0-android">
6050 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
6051
6052public class ActuatorApiExample {
6053 public static void main(String[] args) {
6054 ActuatorApi apiInstance = new ActuatorApi();
6055
6056 try {
6057 Object result = apiInstance.info();
6058 System.out.println(result);
6059 } catch (ApiException e) {
6060 System.err.println("Exception when calling ActuatorApi#info");
6061 e.printStackTrace();
6062 }
6063 }
6064}</code></pre>
6065 </div>
6066 <!--
6067 <div class="tab-pane" id="examples-Actuator-info-0-groovy">
6068 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6069 </div> -->
6070 <div class="tab-pane" id="examples-Actuator-info-0-objc">
6071 <pre class="prettyprint"><code class="language-cpp">
6072
6073// Create an instance of the API class
6074ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
6075
6076// Actuator web endpoint 'info'
6077[apiInstance infoWithCompletionHandler:
6078 ^(Object output, NSError* error) {
6079 if (output) {
6080 NSLog(@"%@", output);
6081 }
6082 if (error) {
6083 NSLog(@"Error: %@", error);
6084 }
6085}];
6086</code></pre>
6087 </div>
6088
6089 <div class="tab-pane" id="examples-Actuator-info-0-javascript">
6090 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
6091
6092// Create an instance of the API class
6093var api = new A1PolicyManagementService.ActuatorApi()
6094var callback = function(error, data, response) {
6095 if (error) {
6096 console.error(error);
6097 } else {
6098 console.log('API called successfully. Returned data: ' + data);
6099 }
6100};
6101api.info(callback);
6102</code></pre>
6103 </div>
6104
6105 <!--<div class="tab-pane" id="examples-Actuator-info-0-angular">
6106 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6107 </div>-->
6108 <div class="tab-pane" id="examples-Actuator-info-0-csharp">
6109 <pre class="prettyprint"><code class="language-cs">using System;
6110using System.Diagnostics;
6111using Org.OpenAPITools.Api;
6112using Org.OpenAPITools.Client;
6113using Org.OpenAPITools.Model;
6114
6115namespace Example
6116{
6117 public class infoExample
6118 {
6119 public void main()
6120 {
6121
6122 // Create an instance of the API class
6123 var apiInstance = new ActuatorApi();
6124
6125 try {
6126 // Actuator web endpoint 'info'
6127 Object result = apiInstance.info();
6128 Debug.WriteLine(result);
6129 } catch (Exception e) {
6130 Debug.Print("Exception when calling ActuatorApi.info: " + e.Message );
6131 }
6132 }
6133 }
6134}
6135</code></pre>
6136 </div>
6137
6138 <div class="tab-pane" id="examples-Actuator-info-0-php">
6139 <pre class="prettyprint"><code class="language-php"><&#63;php
6140require_once(__DIR__ . '/vendor/autoload.php');
6141
6142// Create an instance of the API class
6143$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
6144
6145try {
6146 $result = $api_instance->info();
6147 print_r($result);
6148} catch (Exception $e) {
6149 echo 'Exception when calling ActuatorApi->info: ', $e->getMessage(), PHP_EOL;
6150}
6151?></code></pre>
6152 </div>
6153
6154 <div class="tab-pane" id="examples-Actuator-info-0-perl">
6155 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
6156use WWW::OPenAPIClient::Configuration;
6157use WWW::OPenAPIClient::ActuatorApi;
6158
6159# Create an instance of the API class
6160my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
6161
6162eval {
6163 my $result = $api_instance->info();
6164 print Dumper($result);
6165};
6166if ($@) {
6167 warn "Exception when calling ActuatorApi->info: $@\n";
6168}</code></pre>
6169 </div>
6170
6171 <div class="tab-pane" id="examples-Actuator-info-0-python">
6172 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
6173import time
6174import openapi_client
6175from openapi_client.rest import ApiException
6176from pprint import pprint
6177
6178# Create an instance of the API class
6179api_instance = openapi_client.ActuatorApi()
6180
6181try:
6182 # Actuator web endpoint 'info'
6183 api_response = api_instance.info()
6184 pprint(api_response)
6185except ApiException as e:
6186 print("Exception when calling ActuatorApi->info: %s\n" % e)</code></pre>
6187 </div>
6188
6189 <div class="tab-pane" id="examples-Actuator-info-0-rust">
6190 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
6191
6192pub fn main() {
6193
6194 let mut context = ActuatorApi::Context::default();
6195 let result = client.info(&context).wait();
6196
6197 println!("{:?}", result);
6198}
6199</code></pre>
6200 </div>
6201 </div>
6202
6203 <h2>Scopes</h2>
6204 <table>
6205
6206 </table>
6207
6208 <h2>Parameters</h2>
6209
6210
6211
6212
6213
6214
6215 <h2>Responses</h2>
6216 <h3 id="examples-Actuator-info-title-200"></h3>
6217 <p id="examples-Actuator-info-description-200" class="marked"></p>
6218 <script>
6219 var responseActuator200_description = `OK`;
6220 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
6221 if (responseActuator200_description_break == -1) {
6222 $("#examples-Actuator-info-title-200").text("Status: 200 - " + responseActuator200_description);
6223 } else {
6224 $("#examples-Actuator-info-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
6225 $("#examples-Actuator-info-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
6226 }
6227 </script>
6228
6229
6230 <ul id="responses-detail-Actuator-info-200" class="nav nav-tabs nav-tabs-examples" >
6231 <li class="active">
6232 <a data-toggle="tab" href="#responses-Actuator-info-200-schema">Schema</a>
6233 </li>
6234
6235
6236
6237
6238 </ul>
6239
6240
6241 <div class="tab-content" id="responses-Actuator-info-200-wrapper" style='margin-bottom: 10px;'>
6242 <div class="tab-pane active" id="responses-Actuator-info-200-schema">
6243 <div id="responses-Actuator-info-schema-200" class="exampleStyle">
6244 <script>
6245 $(document).ready(function() {
6246 var schemaWrapper = {
6247 "description" : "OK",
6248 "content" : {
6249 "application/vnd.spring-boot.actuator.v3+json" : {
6250 "schema" : {
6251 "type" : "object"
6252 }
6253 },
6254 "application/json" : {
6255 "schema" : {
6256 "type" : "object"
6257 }
6258 },
6259 "application/vnd.spring-boot.actuator.v2+json" : {
6260 "schema" : {
6261 "type" : "object"
6262 }
6263 }
6264 }
6265};
6266 var schema = findNode('schema',schemaWrapper).schema;
6267 if (!schema) {
6268 schema = schemaWrapper.schema;
6269 }
6270 if (schema.$ref != null) {
6271 schema = defsParser.$refs.get(schema.$ref);
6272 } else if (schema.items != null && schema.items.$ref != null) {
6273 schema.items = defsParser.$refs.get(schema.items.$ref);
6274 } else {
6275 schemaWrapper.definitions = Object.assign({}, defs);
6276 $RefParser.dereference(schemaWrapper).catch(function(err) {
6277 console.log(err);
6278 });
6279 }
6280
6281 var view = new JSONSchemaView(schema, 3);
6282 $('#responses-Actuator-info-200-schema-data').val(JSON.stringify(schema));
6283 var result = $('#responses-Actuator-info-schema-200');
6284 result.empty();
6285 result.append(view.render());
6286 });
6287 </script>
6288 </div>
6289 <input id='responses-Actuator-info-200-schema-data' type='hidden' value=''></input>
6290 </div>
6291 </div>
6292 </article>
6293 </div>
6294 <hr>
6295 <div id="api-Actuator-links">
6296 <article id="api-Actuator-links-0" data-group="User" data-name="links" data-version="0">
6297 <div class="pull-left">
6298 <h1>links</h1>
6299 <p>Actuator root web endpoint</p>
6300 </div>
6301 <div class="pull-right"></div>
6302 <div class="clearfix"></div>
6303 <p></p>
6304 <p class="marked"></p>
6305 <p></p>
6306 <br />
6307 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator</span></code></pre>
6308 <p>
6309 <h3>Usage and SDK Samples</h3>
6310 </p>
6311 <ul class="nav nav-tabs nav-tabs-examples">
6312 <li class="active"><a href="#examples-Actuator-links-0-curl">Curl</a></li>
6313 <li class=""><a href="#examples-Actuator-links-0-java">Java</a></li>
6314 <li class=""><a href="#examples-Actuator-links-0-android">Android</a></li>
6315 <!--<li class=""><a href="#examples-Actuator-links-0-groovy">Groovy</a></li>-->
6316 <li class=""><a href="#examples-Actuator-links-0-objc">Obj-C</a></li>
6317 <li class=""><a href="#examples-Actuator-links-0-javascript">JavaScript</a></li>
6318 <!--<li class=""><a href="#examples-Actuator-links-0-angular">Angular</a></li>-->
6319 <li class=""><a href="#examples-Actuator-links-0-csharp">C#</a></li>
6320 <li class=""><a href="#examples-Actuator-links-0-php">PHP</a></li>
6321 <li class=""><a href="#examples-Actuator-links-0-perl">Perl</a></li>
6322 <li class=""><a href="#examples-Actuator-links-0-python">Python</a></li>
6323 <li class=""><a href="#examples-Actuator-links-0-rust">Rust</a></li>
6324 </ul>
6325
6326 <div class="tab-content">
6327 <div class="tab-pane active" id="examples-Actuator-links-0-curl">
6328 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
6329 -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
6330 "http://localhost/actuator"
6331</code></pre>
6332 </div>
6333 <div class="tab-pane" id="examples-Actuator-links-0-java">
6334 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
6335import org.openapitools.client.auth.*;
6336import org.openapitools.client.model.*;
6337import org.openapitools.client.api.ActuatorApi;
6338
6339import java.io.File;
6340import java.util.*;
6341
6342public class ActuatorApiExample {
6343 public static void main(String[] args) {
6344
6345 // Create an instance of the API class
6346 ActuatorApi apiInstance = new ActuatorApi();
6347
6348 try {
6349 map['String', map['String', Link]] result = apiInstance.links();
6350 System.out.println(result);
6351 } catch (ApiException e) {
6352 System.err.println("Exception when calling ActuatorApi#links");
6353 e.printStackTrace();
6354 }
6355 }
6356}
6357</code></pre>
6358 </div>
6359
6360 <div class="tab-pane" id="examples-Actuator-links-0-android">
6361 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
6362
6363public class ActuatorApiExample {
6364 public static void main(String[] args) {
6365 ActuatorApi apiInstance = new ActuatorApi();
6366
6367 try {
6368 map['String', map['String', Link]] result = apiInstance.links();
6369 System.out.println(result);
6370 } catch (ApiException e) {
6371 System.err.println("Exception when calling ActuatorApi#links");
6372 e.printStackTrace();
6373 }
6374 }
6375}</code></pre>
6376 </div>
6377 <!--
6378 <div class="tab-pane" id="examples-Actuator-links-0-groovy">
6379 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6380 </div> -->
6381 <div class="tab-pane" id="examples-Actuator-links-0-objc">
6382 <pre class="prettyprint"><code class="language-cpp">
6383
6384// Create an instance of the API class
6385ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
6386
6387// Actuator root web endpoint
6388[apiInstance linksWithCompletionHandler:
6389 ^(map['String', map['String', Link]] output, NSError* error) {
6390 if (output) {
6391 NSLog(@"%@", output);
6392 }
6393 if (error) {
6394 NSLog(@"Error: %@", error);
6395 }
6396}];
6397</code></pre>
6398 </div>
6399
6400 <div class="tab-pane" id="examples-Actuator-links-0-javascript">
6401 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
6402
6403// Create an instance of the API class
6404var api = new A1PolicyManagementService.ActuatorApi()
6405var callback = function(error, data, response) {
6406 if (error) {
6407 console.error(error);
6408 } else {
6409 console.log('API called successfully. Returned data: ' + data);
6410 }
6411};
6412api.links(callback);
6413</code></pre>
6414 </div>
6415
6416 <!--<div class="tab-pane" id="examples-Actuator-links-0-angular">
6417 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6418 </div>-->
6419 <div class="tab-pane" id="examples-Actuator-links-0-csharp">
6420 <pre class="prettyprint"><code class="language-cs">using System;
6421using System.Diagnostics;
6422using Org.OpenAPITools.Api;
6423using Org.OpenAPITools.Client;
6424using Org.OpenAPITools.Model;
6425
6426namespace Example
6427{
6428 public class linksExample
6429 {
6430 public void main()
6431 {
6432
6433 // Create an instance of the API class
6434 var apiInstance = new ActuatorApi();
6435
6436 try {
6437 // Actuator root web endpoint
6438 map['String', map['String', Link]] result = apiInstance.links();
6439 Debug.WriteLine(result);
6440 } catch (Exception e) {
6441 Debug.Print("Exception when calling ActuatorApi.links: " + e.Message );
6442 }
6443 }
6444 }
6445}
6446</code></pre>
6447 </div>
6448
6449 <div class="tab-pane" id="examples-Actuator-links-0-php">
6450 <pre class="prettyprint"><code class="language-php"><&#63;php
6451require_once(__DIR__ . '/vendor/autoload.php');
6452
6453// Create an instance of the API class
6454$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
6455
6456try {
6457 $result = $api_instance->links();
6458 print_r($result);
6459} catch (Exception $e) {
6460 echo 'Exception when calling ActuatorApi->links: ', $e->getMessage(), PHP_EOL;
6461}
6462?></code></pre>
6463 </div>
6464
6465 <div class="tab-pane" id="examples-Actuator-links-0-perl">
6466 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
6467use WWW::OPenAPIClient::Configuration;
6468use WWW::OPenAPIClient::ActuatorApi;
6469
6470# Create an instance of the API class
6471my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
6472
6473eval {
6474 my $result = $api_instance->links();
6475 print Dumper($result);
6476};
6477if ($@) {
6478 warn "Exception when calling ActuatorApi->links: $@\n";
6479}</code></pre>
6480 </div>
6481
6482 <div class="tab-pane" id="examples-Actuator-links-0-python">
6483 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
6484import time
6485import openapi_client
6486from openapi_client.rest import ApiException
6487from pprint import pprint
6488
6489# Create an instance of the API class
6490api_instance = openapi_client.ActuatorApi()
6491
6492try:
6493 # Actuator root web endpoint
6494 api_response = api_instance.links()
6495 pprint(api_response)
6496except ApiException as e:
6497 print("Exception when calling ActuatorApi->links: %s\n" % e)</code></pre>
6498 </div>
6499
6500 <div class="tab-pane" id="examples-Actuator-links-0-rust">
6501 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
6502
6503pub fn main() {
6504
6505 let mut context = ActuatorApi::Context::default();
6506 let result = client.links(&context).wait();
6507
6508 println!("{:?}", result);
6509}
6510</code></pre>
6511 </div>
6512 </div>
6513
6514 <h2>Scopes</h2>
6515 <table>
6516
6517 </table>
6518
6519 <h2>Parameters</h2>
6520
6521
6522
6523
6524
6525
6526 <h2>Responses</h2>
6527 <h3 id="examples-Actuator-links-title-200"></h3>
6528 <p id="examples-Actuator-links-description-200" class="marked"></p>
6529 <script>
6530 var responseActuator200_description = `OK`;
6531 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
6532 if (responseActuator200_description_break == -1) {
6533 $("#examples-Actuator-links-title-200").text("Status: 200 - " + responseActuator200_description);
6534 } else {
6535 $("#examples-Actuator-links-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
6536 $("#examples-Actuator-links-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
6537 }
6538 </script>
6539
6540
6541 <ul id="responses-detail-Actuator-links-200" class="nav nav-tabs nav-tabs-examples" >
6542 <li class="active">
6543 <a data-toggle="tab" href="#responses-Actuator-links-200-schema">Schema</a>
6544 </li>
6545
6546
6547
6548
6549 </ul>
6550
6551
6552 <div class="tab-content" id="responses-Actuator-links-200-wrapper" style='margin-bottom: 10px;'>
6553 <div class="tab-pane active" id="responses-Actuator-links-200-schema">
6554 <div id="responses-Actuator-links-schema-200" class="exampleStyle">
6555 <script>
6556 $(document).ready(function() {
6557 var schemaWrapper = {
6558 "description" : "OK",
6559 "content" : {
6560 "application/vnd.spring-boot.actuator.v3+json" : {
6561 "schema" : {
6562 "type" : "object",
6563 "additionalProperties" : {
6564 "type" : "object",
6565 "additionalProperties" : {
6566 "$ref" : "#/components/schemas/Link"
6567 }
6568 }
6569 }
6570 },
6571 "application/json" : {
6572 "schema" : {
6573 "type" : "object",
6574 "additionalProperties" : {
6575 "type" : "object",
6576 "additionalProperties" : {
6577 "$ref" : "#/components/schemas/Link"
6578 }
6579 }
6580 }
6581 },
6582 "application/vnd.spring-boot.actuator.v2+json" : {
6583 "schema" : {
6584 "type" : "object",
6585 "additionalProperties" : {
6586 "type" : "object",
6587 "additionalProperties" : {
6588 "$ref" : "#/components/schemas/Link"
6589 }
6590 }
6591 }
6592 }
6593 }
6594};
6595 var schema = findNode('schema',schemaWrapper).schema;
6596 if (!schema) {
6597 schema = schemaWrapper.schema;
6598 }
6599 if (schema.$ref != null) {
6600 schema = defsParser.$refs.get(schema.$ref);
6601 } else if (schema.items != null && schema.items.$ref != null) {
6602 schema.items = defsParser.$refs.get(schema.items.$ref);
6603 } else {
6604 schemaWrapper.definitions = Object.assign({}, defs);
6605 $RefParser.dereference(schemaWrapper).catch(function(err) {
6606 console.log(err);
6607 });
6608 }
6609
6610 var view = new JSONSchemaView(schema, 3);
6611 $('#responses-Actuator-links-200-schema-data').val(JSON.stringify(schema));
6612 var result = $('#responses-Actuator-links-schema-200');
6613 result.empty();
6614 result.append(view.render());
6615 });
6616 </script>
6617 </div>
6618 <input id='responses-Actuator-links-200-schema-data' type='hidden' value=''></input>
6619 </div>
6620 </div>
6621 </article>
6622 </div>
6623 <hr>
6624 <div id="api-Actuator-logfile">
6625 <article id="api-Actuator-logfile-0" data-group="User" data-name="logfile" data-version="0">
6626 <div class="pull-left">
6627 <h1>logfile</h1>
6628 <p>Actuator web endpoint &#39;logfile&#39;</p>
6629 </div>
6630 <div class="pull-right"></div>
6631 <div class="clearfix"></div>
6632 <p></p>
6633 <p class="marked"></p>
6634 <p></p>
6635 <br />
6636 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/logfile</span></code></pre>
6637 <p>
6638 <h3>Usage and SDK Samples</h3>
6639 </p>
6640 <ul class="nav nav-tabs nav-tabs-examples">
6641 <li class="active"><a href="#examples-Actuator-logfile-0-curl">Curl</a></li>
6642 <li class=""><a href="#examples-Actuator-logfile-0-java">Java</a></li>
6643 <li class=""><a href="#examples-Actuator-logfile-0-android">Android</a></li>
6644 <!--<li class=""><a href="#examples-Actuator-logfile-0-groovy">Groovy</a></li>-->
6645 <li class=""><a href="#examples-Actuator-logfile-0-objc">Obj-C</a></li>
6646 <li class=""><a href="#examples-Actuator-logfile-0-javascript">JavaScript</a></li>
6647 <!--<li class=""><a href="#examples-Actuator-logfile-0-angular">Angular</a></li>-->
6648 <li class=""><a href="#examples-Actuator-logfile-0-csharp">C#</a></li>
6649 <li class=""><a href="#examples-Actuator-logfile-0-php">PHP</a></li>
6650 <li class=""><a href="#examples-Actuator-logfile-0-perl">Perl</a></li>
6651 <li class=""><a href="#examples-Actuator-logfile-0-python">Python</a></li>
6652 <li class=""><a href="#examples-Actuator-logfile-0-rust">Rust</a></li>
6653 </ul>
6654
6655 <div class="tab-content">
6656 <div class="tab-pane active" id="examples-Actuator-logfile-0-curl">
6657 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
6658 -H "Accept: text/plain;charset=UTF-8" \
6659 "http://localhost/actuator/logfile"
6660</code></pre>
6661 </div>
6662 <div class="tab-pane" id="examples-Actuator-logfile-0-java">
6663 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
6664import org.openapitools.client.auth.*;
6665import org.openapitools.client.model.*;
6666import org.openapitools.client.api.ActuatorApi;
6667
6668import java.io.File;
6669import java.util.*;
6670
6671public class ActuatorApiExample {
6672 public static void main(String[] args) {
6673
6674 // Create an instance of the API class
6675 ActuatorApi apiInstance = new ActuatorApi();
6676
6677 try {
6678 Object result = apiInstance.logfile();
6679 System.out.println(result);
6680 } catch (ApiException e) {
6681 System.err.println("Exception when calling ActuatorApi#logfile");
6682 e.printStackTrace();
6683 }
6684 }
6685}
6686</code></pre>
6687 </div>
6688
6689 <div class="tab-pane" id="examples-Actuator-logfile-0-android">
6690 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
6691
6692public class ActuatorApiExample {
6693 public static void main(String[] args) {
6694 ActuatorApi apiInstance = new ActuatorApi();
6695
6696 try {
6697 Object result = apiInstance.logfile();
6698 System.out.println(result);
6699 } catch (ApiException e) {
6700 System.err.println("Exception when calling ActuatorApi#logfile");
6701 e.printStackTrace();
6702 }
6703 }
6704}</code></pre>
6705 </div>
6706 <!--
6707 <div class="tab-pane" id="examples-Actuator-logfile-0-groovy">
6708 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6709 </div> -->
6710 <div class="tab-pane" id="examples-Actuator-logfile-0-objc">
6711 <pre class="prettyprint"><code class="language-cpp">
6712
6713// Create an instance of the API class
6714ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
6715
6716// Actuator web endpoint 'logfile'
6717[apiInstance logfileWithCompletionHandler:
6718 ^(Object output, NSError* error) {
6719 if (output) {
6720 NSLog(@"%@", output);
6721 }
6722 if (error) {
6723 NSLog(@"Error: %@", error);
6724 }
6725}];
6726</code></pre>
6727 </div>
6728
6729 <div class="tab-pane" id="examples-Actuator-logfile-0-javascript">
6730 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
6731
6732// Create an instance of the API class
6733var api = new A1PolicyManagementService.ActuatorApi()
6734var callback = function(error, data, response) {
6735 if (error) {
6736 console.error(error);
6737 } else {
6738 console.log('API called successfully. Returned data: ' + data);
6739 }
6740};
6741api.logfile(callback);
6742</code></pre>
6743 </div>
6744
6745 <!--<div class="tab-pane" id="examples-Actuator-logfile-0-angular">
6746 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6747 </div>-->
6748 <div class="tab-pane" id="examples-Actuator-logfile-0-csharp">
6749 <pre class="prettyprint"><code class="language-cs">using System;
6750using System.Diagnostics;
6751using Org.OpenAPITools.Api;
6752using Org.OpenAPITools.Client;
6753using Org.OpenAPITools.Model;
6754
6755namespace Example
6756{
6757 public class logfileExample
6758 {
6759 public void main()
6760 {
6761
6762 // Create an instance of the API class
6763 var apiInstance = new ActuatorApi();
6764
6765 try {
6766 // Actuator web endpoint 'logfile'
6767 Object result = apiInstance.logfile();
6768 Debug.WriteLine(result);
6769 } catch (Exception e) {
6770 Debug.Print("Exception when calling ActuatorApi.logfile: " + e.Message );
6771 }
6772 }
6773 }
6774}
6775</code></pre>
6776 </div>
6777
6778 <div class="tab-pane" id="examples-Actuator-logfile-0-php">
6779 <pre class="prettyprint"><code class="language-php"><&#63;php
6780require_once(__DIR__ . '/vendor/autoload.php');
6781
6782// Create an instance of the API class
6783$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
6784
6785try {
6786 $result = $api_instance->logfile();
6787 print_r($result);
6788} catch (Exception $e) {
6789 echo 'Exception when calling ActuatorApi->logfile: ', $e->getMessage(), PHP_EOL;
6790}
6791?></code></pre>
6792 </div>
6793
6794 <div class="tab-pane" id="examples-Actuator-logfile-0-perl">
6795 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
6796use WWW::OPenAPIClient::Configuration;
6797use WWW::OPenAPIClient::ActuatorApi;
6798
6799# Create an instance of the API class
6800my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
6801
6802eval {
6803 my $result = $api_instance->logfile();
6804 print Dumper($result);
6805};
6806if ($@) {
6807 warn "Exception when calling ActuatorApi->logfile: $@\n";
6808}</code></pre>
6809 </div>
6810
6811 <div class="tab-pane" id="examples-Actuator-logfile-0-python">
6812 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
6813import time
6814import openapi_client
6815from openapi_client.rest import ApiException
6816from pprint import pprint
6817
6818# Create an instance of the API class
6819api_instance = openapi_client.ActuatorApi()
6820
6821try:
6822 # Actuator web endpoint 'logfile'
6823 api_response = api_instance.logfile()
6824 pprint(api_response)
6825except ApiException as e:
6826 print("Exception when calling ActuatorApi->logfile: %s\n" % e)</code></pre>
6827 </div>
6828
6829 <div class="tab-pane" id="examples-Actuator-logfile-0-rust">
6830 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
6831
6832pub fn main() {
6833
6834 let mut context = ActuatorApi::Context::default();
6835 let result = client.logfile(&context).wait();
6836
6837 println!("{:?}", result);
6838}
6839</code></pre>
6840 </div>
6841 </div>
6842
6843 <h2>Scopes</h2>
6844 <table>
6845
6846 </table>
6847
6848 <h2>Parameters</h2>
6849
6850
6851
6852
6853
6854
6855 <h2>Responses</h2>
6856 <h3 id="examples-Actuator-logfile-title-200"></h3>
6857 <p id="examples-Actuator-logfile-description-200" class="marked"></p>
6858 <script>
6859 var responseActuator200_description = `OK`;
6860 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
6861 if (responseActuator200_description_break == -1) {
6862 $("#examples-Actuator-logfile-title-200").text("Status: 200 - " + responseActuator200_description);
6863 } else {
6864 $("#examples-Actuator-logfile-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
6865 $("#examples-Actuator-logfile-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
6866 }
6867 </script>
6868
6869
6870 <ul id="responses-detail-Actuator-logfile-200" class="nav nav-tabs nav-tabs-examples" >
6871 <li class="active">
6872 <a data-toggle="tab" href="#responses-Actuator-logfile-200-schema">Schema</a>
6873 </li>
6874
6875
6876
6877
6878 </ul>
6879
6880
6881 <div class="tab-content" id="responses-Actuator-logfile-200-wrapper" style='margin-bottom: 10px;'>
6882 <div class="tab-pane active" id="responses-Actuator-logfile-200-schema">
6883 <div id="responses-Actuator-logfile-schema-200" class="exampleStyle">
6884 <script>
6885 $(document).ready(function() {
6886 var schemaWrapper = {
6887 "description" : "OK",
6888 "content" : {
6889 "text/plain;charset=UTF-8" : {
6890 "schema" : {
6891 "type" : "object"
6892 }
6893 }
6894 }
6895};
6896 var schema = findNode('schema',schemaWrapper).schema;
6897 if (!schema) {
6898 schema = schemaWrapper.schema;
6899 }
6900 if (schema.$ref != null) {
6901 schema = defsParser.$refs.get(schema.$ref);
6902 } else if (schema.items != null && schema.items.$ref != null) {
6903 schema.items = defsParser.$refs.get(schema.items.$ref);
6904 } else {
6905 schemaWrapper.definitions = Object.assign({}, defs);
6906 $RefParser.dereference(schemaWrapper).catch(function(err) {
6907 console.log(err);
6908 });
6909 }
6910
6911 var view = new JSONSchemaView(schema, 3);
6912 $('#responses-Actuator-logfile-200-schema-data').val(JSON.stringify(schema));
6913 var result = $('#responses-Actuator-logfile-schema-200');
6914 result.empty();
6915 result.append(view.render());
6916 });
6917 </script>
6918 </div>
6919 <input id='responses-Actuator-logfile-200-schema-data' type='hidden' value=''></input>
6920 </div>
6921 </div>
6922 </article>
6923 </div>
6924 <hr>
6925 <div id="api-Actuator-loggers">
6926 <article id="api-Actuator-loggers-0" data-group="User" data-name="loggers" data-version="0">
6927 <div class="pull-left">
6928 <h1>loggers</h1>
6929 <p>Actuator web endpoint &#39;loggers&#39;</p>
6930 </div>
6931 <div class="pull-right"></div>
6932 <div class="clearfix"></div>
6933 <p></p>
6934 <p class="marked"></p>
6935 <p></p>
6936 <br />
6937 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/loggers</span></code></pre>
6938 <p>
6939 <h3>Usage and SDK Samples</h3>
6940 </p>
6941 <ul class="nav nav-tabs nav-tabs-examples">
6942 <li class="active"><a href="#examples-Actuator-loggers-0-curl">Curl</a></li>
6943 <li class=""><a href="#examples-Actuator-loggers-0-java">Java</a></li>
6944 <li class=""><a href="#examples-Actuator-loggers-0-android">Android</a></li>
6945 <!--<li class=""><a href="#examples-Actuator-loggers-0-groovy">Groovy</a></li>-->
6946 <li class=""><a href="#examples-Actuator-loggers-0-objc">Obj-C</a></li>
6947 <li class=""><a href="#examples-Actuator-loggers-0-javascript">JavaScript</a></li>
6948 <!--<li class=""><a href="#examples-Actuator-loggers-0-angular">Angular</a></li>-->
6949 <li class=""><a href="#examples-Actuator-loggers-0-csharp">C#</a></li>
6950 <li class=""><a href="#examples-Actuator-loggers-0-php">PHP</a></li>
6951 <li class=""><a href="#examples-Actuator-loggers-0-perl">Perl</a></li>
6952 <li class=""><a href="#examples-Actuator-loggers-0-python">Python</a></li>
6953 <li class=""><a href="#examples-Actuator-loggers-0-rust">Rust</a></li>
6954 </ul>
6955
6956 <div class="tab-content">
6957 <div class="tab-pane active" id="examples-Actuator-loggers-0-curl">
6958 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
6959 -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
6960 "http://localhost/actuator/loggers"
6961</code></pre>
6962 </div>
6963 <div class="tab-pane" id="examples-Actuator-loggers-0-java">
6964 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
6965import org.openapitools.client.auth.*;
6966import org.openapitools.client.model.*;
6967import org.openapitools.client.api.ActuatorApi;
6968
6969import java.io.File;
6970import java.util.*;
6971
6972public class ActuatorApiExample {
6973 public static void main(String[] args) {
6974
6975 // Create an instance of the API class
6976 ActuatorApi apiInstance = new ActuatorApi();
6977
6978 try {
6979 Object result = apiInstance.loggers();
6980 System.out.println(result);
6981 } catch (ApiException e) {
6982 System.err.println("Exception when calling ActuatorApi#loggers");
6983 e.printStackTrace();
6984 }
6985 }
6986}
6987</code></pre>
6988 </div>
6989
6990 <div class="tab-pane" id="examples-Actuator-loggers-0-android">
6991 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
6992
6993public class ActuatorApiExample {
6994 public static void main(String[] args) {
6995 ActuatorApi apiInstance = new ActuatorApi();
6996
6997 try {
6998 Object result = apiInstance.loggers();
6999 System.out.println(result);
7000 } catch (ApiException e) {
7001 System.err.println("Exception when calling ActuatorApi#loggers");
7002 e.printStackTrace();
7003 }
7004 }
7005}</code></pre>
7006 </div>
7007 <!--
7008 <div class="tab-pane" id="examples-Actuator-loggers-0-groovy">
7009 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7010 </div> -->
7011 <div class="tab-pane" id="examples-Actuator-loggers-0-objc">
7012 <pre class="prettyprint"><code class="language-cpp">
7013
7014// Create an instance of the API class
7015ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
7016
7017// Actuator web endpoint 'loggers'
7018[apiInstance loggersWithCompletionHandler:
7019 ^(Object output, NSError* error) {
7020 if (output) {
7021 NSLog(@"%@", output);
7022 }
7023 if (error) {
7024 NSLog(@"Error: %@", error);
7025 }
7026}];
7027</code></pre>
7028 </div>
7029
7030 <div class="tab-pane" id="examples-Actuator-loggers-0-javascript">
7031 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
7032
7033// Create an instance of the API class
7034var api = new A1PolicyManagementService.ActuatorApi()
7035var callback = function(error, data, response) {
7036 if (error) {
7037 console.error(error);
7038 } else {
7039 console.log('API called successfully. Returned data: ' + data);
7040 }
7041};
7042api.loggers(callback);
7043</code></pre>
7044 </div>
7045
7046 <!--<div class="tab-pane" id="examples-Actuator-loggers-0-angular">
7047 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7048 </div>-->
7049 <div class="tab-pane" id="examples-Actuator-loggers-0-csharp">
7050 <pre class="prettyprint"><code class="language-cs">using System;
7051using System.Diagnostics;
7052using Org.OpenAPITools.Api;
7053using Org.OpenAPITools.Client;
7054using Org.OpenAPITools.Model;
7055
7056namespace Example
7057{
7058 public class loggersExample
7059 {
7060 public void main()
7061 {
7062
7063 // Create an instance of the API class
7064 var apiInstance = new ActuatorApi();
7065
7066 try {
7067 // Actuator web endpoint 'loggers'
7068 Object result = apiInstance.loggers();
7069 Debug.WriteLine(result);
7070 } catch (Exception e) {
7071 Debug.Print("Exception when calling ActuatorApi.loggers: " + e.Message );
7072 }
7073 }
7074 }
7075}
7076</code></pre>
7077 </div>
7078
7079 <div class="tab-pane" id="examples-Actuator-loggers-0-php">
7080 <pre class="prettyprint"><code class="language-php"><&#63;php
7081require_once(__DIR__ . '/vendor/autoload.php');
7082
7083// Create an instance of the API class
7084$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
7085
7086try {
7087 $result = $api_instance->loggers();
7088 print_r($result);
7089} catch (Exception $e) {
7090 echo 'Exception when calling ActuatorApi->loggers: ', $e->getMessage(), PHP_EOL;
7091}
7092?></code></pre>
7093 </div>
7094
7095 <div class="tab-pane" id="examples-Actuator-loggers-0-perl">
7096 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
7097use WWW::OPenAPIClient::Configuration;
7098use WWW::OPenAPIClient::ActuatorApi;
7099
7100# Create an instance of the API class
7101my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
7102
7103eval {
7104 my $result = $api_instance->loggers();
7105 print Dumper($result);
7106};
7107if ($@) {
7108 warn "Exception when calling ActuatorApi->loggers: $@\n";
7109}</code></pre>
7110 </div>
7111
7112 <div class="tab-pane" id="examples-Actuator-loggers-0-python">
7113 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
7114import time
7115import openapi_client
7116from openapi_client.rest import ApiException
7117from pprint import pprint
7118
7119# Create an instance of the API class
7120api_instance = openapi_client.ActuatorApi()
7121
7122try:
7123 # Actuator web endpoint 'loggers'
7124 api_response = api_instance.loggers()
7125 pprint(api_response)
7126except ApiException as e:
7127 print("Exception when calling ActuatorApi->loggers: %s\n" % e)</code></pre>
7128 </div>
7129
7130 <div class="tab-pane" id="examples-Actuator-loggers-0-rust">
7131 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
7132
7133pub fn main() {
7134
7135 let mut context = ActuatorApi::Context::default();
7136 let result = client.loggers(&context).wait();
7137
7138 println!("{:?}", result);
7139}
7140</code></pre>
7141 </div>
7142 </div>
7143
7144 <h2>Scopes</h2>
7145 <table>
7146
7147 </table>
7148
7149 <h2>Parameters</h2>
7150
7151
7152
7153
7154
7155
7156 <h2>Responses</h2>
7157 <h3 id="examples-Actuator-loggers-title-200"></h3>
7158 <p id="examples-Actuator-loggers-description-200" class="marked"></p>
7159 <script>
7160 var responseActuator200_description = `OK`;
7161 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
7162 if (responseActuator200_description_break == -1) {
7163 $("#examples-Actuator-loggers-title-200").text("Status: 200 - " + responseActuator200_description);
7164 } else {
7165 $("#examples-Actuator-loggers-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
7166 $("#examples-Actuator-loggers-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
7167 }
7168 </script>
7169
7170
7171 <ul id="responses-detail-Actuator-loggers-200" class="nav nav-tabs nav-tabs-examples" >
7172 <li class="active">
7173 <a data-toggle="tab" href="#responses-Actuator-loggers-200-schema">Schema</a>
7174 </li>
7175
7176
7177
7178
7179 </ul>
7180
7181
7182 <div class="tab-content" id="responses-Actuator-loggers-200-wrapper" style='margin-bottom: 10px;'>
7183 <div class="tab-pane active" id="responses-Actuator-loggers-200-schema">
7184 <div id="responses-Actuator-loggers-schema-200" class="exampleStyle">
7185 <script>
7186 $(document).ready(function() {
7187 var schemaWrapper = {
7188 "description" : "OK",
7189 "content" : {
7190 "application/vnd.spring-boot.actuator.v3+json" : {
7191 "schema" : {
7192 "type" : "object"
7193 }
7194 },
7195 "application/json" : {
7196 "schema" : {
7197 "type" : "object"
7198 }
7199 },
7200 "application/vnd.spring-boot.actuator.v2+json" : {
7201 "schema" : {
7202 "type" : "object"
7203 }
7204 }
7205 }
7206};
7207 var schema = findNode('schema',schemaWrapper).schema;
7208 if (!schema) {
7209 schema = schemaWrapper.schema;
7210 }
7211 if (schema.$ref != null) {
7212 schema = defsParser.$refs.get(schema.$ref);
7213 } else if (schema.items != null && schema.items.$ref != null) {
7214 schema.items = defsParser.$refs.get(schema.items.$ref);
7215 } else {
7216 schemaWrapper.definitions = Object.assign({}, defs);
7217 $RefParser.dereference(schemaWrapper).catch(function(err) {
7218 console.log(err);
7219 });
7220 }
7221
7222 var view = new JSONSchemaView(schema, 3);
7223 $('#responses-Actuator-loggers-200-schema-data').val(JSON.stringify(schema));
7224 var result = $('#responses-Actuator-loggers-schema-200');
7225 result.empty();
7226 result.append(view.render());
7227 });
7228 </script>
7229 </div>
7230 <input id='responses-Actuator-loggers-200-schema-data' type='hidden' value=''></input>
7231 </div>
7232 </div>
7233 </article>
7234 </div>
7235 <hr>
7236 <div id="api-Actuator-loggersName">
7237 <article id="api-Actuator-loggersName-0" data-group="User" data-name="loggersName" data-version="0">
7238 <div class="pull-left">
7239 <h1>loggersName</h1>
7240 <p>Actuator web endpoint &#39;loggers-name&#39;</p>
7241 </div>
7242 <div class="pull-right"></div>
7243 <div class="clearfix"></div>
7244 <p></p>
7245 <p class="marked"></p>
7246 <p></p>
7247 <br />
7248 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/loggers/{name}</span></code></pre>
7249 <p>
7250 <h3>Usage and SDK Samples</h3>
7251 </p>
7252 <ul class="nav nav-tabs nav-tabs-examples">
7253 <li class="active"><a href="#examples-Actuator-loggersName-0-curl">Curl</a></li>
7254 <li class=""><a href="#examples-Actuator-loggersName-0-java">Java</a></li>
7255 <li class=""><a href="#examples-Actuator-loggersName-0-android">Android</a></li>
7256 <!--<li class=""><a href="#examples-Actuator-loggersName-0-groovy">Groovy</a></li>-->
7257 <li class=""><a href="#examples-Actuator-loggersName-0-objc">Obj-C</a></li>
7258 <li class=""><a href="#examples-Actuator-loggersName-0-javascript">JavaScript</a></li>
7259 <!--<li class=""><a href="#examples-Actuator-loggersName-0-angular">Angular</a></li>-->
7260 <li class=""><a href="#examples-Actuator-loggersName-0-csharp">C#</a></li>
7261 <li class=""><a href="#examples-Actuator-loggersName-0-php">PHP</a></li>
7262 <li class=""><a href="#examples-Actuator-loggersName-0-perl">Perl</a></li>
7263 <li class=""><a href="#examples-Actuator-loggersName-0-python">Python</a></li>
7264 <li class=""><a href="#examples-Actuator-loggersName-0-rust">Rust</a></li>
7265 </ul>
7266
7267 <div class="tab-content">
7268 <div class="tab-pane active" id="examples-Actuator-loggersName-0-curl">
7269 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
7270 -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
7271 "http://localhost/actuator/loggers/{name}"
7272</code></pre>
7273 </div>
7274 <div class="tab-pane" id="examples-Actuator-loggersName-0-java">
7275 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
7276import org.openapitools.client.auth.*;
7277import org.openapitools.client.model.*;
7278import org.openapitools.client.api.ActuatorApi;
7279
7280import java.io.File;
7281import java.util.*;
7282
7283public class ActuatorApiExample {
7284 public static void main(String[] args) {
7285
7286 // Create an instance of the API class
7287 ActuatorApi apiInstance = new ActuatorApi();
7288 String name = name_example; // String |
7289
7290 try {
7291 Object result = apiInstance.loggersName(name);
7292 System.out.println(result);
7293 } catch (ApiException e) {
7294 System.err.println("Exception when calling ActuatorApi#loggersName");
7295 e.printStackTrace();
7296 }
7297 }
7298}
7299</code></pre>
7300 </div>
7301
7302 <div class="tab-pane" id="examples-Actuator-loggersName-0-android">
7303 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
7304
7305public class ActuatorApiExample {
7306 public static void main(String[] args) {
7307 ActuatorApi apiInstance = new ActuatorApi();
7308 String name = name_example; // String |
7309
7310 try {
7311 Object result = apiInstance.loggersName(name);
7312 System.out.println(result);
7313 } catch (ApiException e) {
7314 System.err.println("Exception when calling ActuatorApi#loggersName");
7315 e.printStackTrace();
7316 }
7317 }
7318}</code></pre>
7319 </div>
7320 <!--
7321 <div class="tab-pane" id="examples-Actuator-loggersName-0-groovy">
7322 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7323 </div> -->
7324 <div class="tab-pane" id="examples-Actuator-loggersName-0-objc">
7325 <pre class="prettyprint"><code class="language-cpp">
7326
7327// Create an instance of the API class
7328ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
7329String *name = name_example; // (default to null)
7330
7331// Actuator web endpoint 'loggers-name'
7332[apiInstance loggersNameWith:name
7333 completionHandler: ^(Object output, NSError* error) {
7334 if (output) {
7335 NSLog(@"%@", output);
7336 }
7337 if (error) {
7338 NSLog(@"Error: %@", error);
7339 }
7340}];
7341</code></pre>
7342 </div>
7343
7344 <div class="tab-pane" id="examples-Actuator-loggersName-0-javascript">
7345 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
7346
7347// Create an instance of the API class
7348var api = new A1PolicyManagementService.ActuatorApi()
7349var name = name_example; // {String}
7350
7351var callback = function(error, data, response) {
7352 if (error) {
7353 console.error(error);
7354 } else {
7355 console.log('API called successfully. Returned data: ' + data);
7356 }
7357};
7358api.loggersName(name, callback);
7359</code></pre>
7360 </div>
7361
7362 <!--<div class="tab-pane" id="examples-Actuator-loggersName-0-angular">
7363 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7364 </div>-->
7365 <div class="tab-pane" id="examples-Actuator-loggersName-0-csharp">
7366 <pre class="prettyprint"><code class="language-cs">using System;
7367using System.Diagnostics;
7368using Org.OpenAPITools.Api;
7369using Org.OpenAPITools.Client;
7370using Org.OpenAPITools.Model;
7371
7372namespace Example
7373{
7374 public class loggersNameExample
7375 {
7376 public void main()
7377 {
7378
7379 // Create an instance of the API class
7380 var apiInstance = new ActuatorApi();
7381 var name = name_example; // String | (default to null)
7382
7383 try {
7384 // Actuator web endpoint 'loggers-name'
7385 Object result = apiInstance.loggersName(name);
7386 Debug.WriteLine(result);
7387 } catch (Exception e) {
7388 Debug.Print("Exception when calling ActuatorApi.loggersName: " + e.Message );
7389 }
7390 }
7391 }
7392}
7393</code></pre>
7394 </div>
7395
7396 <div class="tab-pane" id="examples-Actuator-loggersName-0-php">
7397 <pre class="prettyprint"><code class="language-php"><&#63;php
7398require_once(__DIR__ . '/vendor/autoload.php');
7399
7400// Create an instance of the API class
7401$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
7402$name = name_example; // String |
7403
7404try {
7405 $result = $api_instance->loggersName($name);
7406 print_r($result);
7407} catch (Exception $e) {
7408 echo 'Exception when calling ActuatorApi->loggersName: ', $e->getMessage(), PHP_EOL;
7409}
7410?></code></pre>
7411 </div>
7412
7413 <div class="tab-pane" id="examples-Actuator-loggersName-0-perl">
7414 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
7415use WWW::OPenAPIClient::Configuration;
7416use WWW::OPenAPIClient::ActuatorApi;
7417
7418# Create an instance of the API class
7419my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
7420my $name = name_example; # String |
7421
7422eval {
7423 my $result = $api_instance->loggersName(name => $name);
7424 print Dumper($result);
7425};
7426if ($@) {
7427 warn "Exception when calling ActuatorApi->loggersName: $@\n";
7428}</code></pre>
7429 </div>
7430
7431 <div class="tab-pane" id="examples-Actuator-loggersName-0-python">
7432 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
7433import time
7434import openapi_client
7435from openapi_client.rest import ApiException
7436from pprint import pprint
7437
7438# Create an instance of the API class
7439api_instance = openapi_client.ActuatorApi()
7440name = name_example # String | (default to null)
7441
7442try:
7443 # Actuator web endpoint 'loggers-name'
7444 api_response = api_instance.loggers_name(name)
7445 pprint(api_response)
7446except ApiException as e:
7447 print("Exception when calling ActuatorApi->loggersName: %s\n" % e)</code></pre>
7448 </div>
7449
7450 <div class="tab-pane" id="examples-Actuator-loggersName-0-rust">
7451 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
7452
7453pub fn main() {
7454 let name = name_example; // String
7455
7456 let mut context = ActuatorApi::Context::default();
7457 let result = client.loggersName(name, &context).wait();
7458
7459 println!("{:?}", result);
7460}
7461</code></pre>
7462 </div>
7463 </div>
7464
7465 <h2>Scopes</h2>
7466 <table>
7467
7468 </table>
7469
7470 <h2>Parameters</h2>
7471
7472 <div class="methodsubtabletitle">Path parameters</div>
7473 <table id="methodsubtable">
7474 <tr>
7475 <th width="150px">Name</th>
7476 <th>Description</th>
7477 </tr>
7478 <tr><td style="width:150px;">name*</td>
7479<td>
7480
7481
7482 <div id="d2e199_loggersName_name">
7483 <div class="json-schema-view">
7484 <div class="primitive">
7485 <span class="type">
7486 String
7487 </span>
7488
7489 </div>
7490 <div class="inner required">
7491 Required
7492 </div>
7493 </div>
7494 </div>
7495</td>
7496</tr>
7497
7498 </table>
7499
7500
7501
7502
7503
7504 <h2>Responses</h2>
7505 <h3 id="examples-Actuator-loggersName-title-200"></h3>
7506 <p id="examples-Actuator-loggersName-description-200" class="marked"></p>
7507 <script>
7508 var responseActuator200_description = `OK`;
7509 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
7510 if (responseActuator200_description_break == -1) {
7511 $("#examples-Actuator-loggersName-title-200").text("Status: 200 - " + responseActuator200_description);
7512 } else {
7513 $("#examples-Actuator-loggersName-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
7514 $("#examples-Actuator-loggersName-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
7515 }
7516 </script>
7517
7518
7519 <ul id="responses-detail-Actuator-loggersName-200" class="nav nav-tabs nav-tabs-examples" >
7520 <li class="active">
7521 <a data-toggle="tab" href="#responses-Actuator-loggersName-200-schema">Schema</a>
7522 </li>
7523
7524
7525
7526
7527 </ul>
7528
7529
7530 <div class="tab-content" id="responses-Actuator-loggersName-200-wrapper" style='margin-bottom: 10px;'>
7531 <div class="tab-pane active" id="responses-Actuator-loggersName-200-schema">
7532 <div id="responses-Actuator-loggersName-schema-200" class="exampleStyle">
7533 <script>
7534 $(document).ready(function() {
7535 var schemaWrapper = {
7536 "description" : "OK",
7537 "content" : {
7538 "application/vnd.spring-boot.actuator.v3+json" : {
7539 "schema" : {
7540 "type" : "object"
7541 }
7542 },
7543 "application/json" : {
7544 "schema" : {
7545 "type" : "object"
7546 }
7547 },
7548 "application/vnd.spring-boot.actuator.v2+json" : {
7549 "schema" : {
7550 "type" : "object"
7551 }
7552 }
7553 }
7554};
7555 var schema = findNode('schema',schemaWrapper).schema;
7556 if (!schema) {
7557 schema = schemaWrapper.schema;
7558 }
7559 if (schema.$ref != null) {
7560 schema = defsParser.$refs.get(schema.$ref);
7561 } else if (schema.items != null && schema.items.$ref != null) {
7562 schema.items = defsParser.$refs.get(schema.items.$ref);
7563 } else {
7564 schemaWrapper.definitions = Object.assign({}, defs);
7565 $RefParser.dereference(schemaWrapper).catch(function(err) {
7566 console.log(err);
7567 });
7568 }
7569
7570 var view = new JSONSchemaView(schema, 3);
7571 $('#responses-Actuator-loggersName-200-schema-data').val(JSON.stringify(schema));
7572 var result = $('#responses-Actuator-loggersName-schema-200');
7573 result.empty();
7574 result.append(view.render());
7575 });
7576 </script>
7577 </div>
7578 <input id='responses-Actuator-loggersName-200-schema-data' type='hidden' value=''></input>
7579 </div>
7580 </div>
7581 </article>
7582 </div>
7583 <hr>
7584 <div id="api-Actuator-loggersName2">
7585 <article id="api-Actuator-loggersName2-0" data-group="User" data-name="loggersName2" data-version="0">
7586 <div class="pull-left">
7587 <h1>loggersName2</h1>
7588 <p>Actuator web endpoint &#39;loggers-name&#39;</p>
7589 </div>
7590 <div class="pull-right"></div>
7591 <div class="clearfix"></div>
7592 <p></p>
7593 <p class="marked"></p>
7594 <p></p>
7595 <br />
7596 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/actuator/loggers/{name}</span></code></pre>
7597 <p>
7598 <h3>Usage and SDK Samples</h3>
7599 </p>
7600 <ul class="nav nav-tabs nav-tabs-examples">
7601 <li class="active"><a href="#examples-Actuator-loggersName2-0-curl">Curl</a></li>
7602 <li class=""><a href="#examples-Actuator-loggersName2-0-java">Java</a></li>
7603 <li class=""><a href="#examples-Actuator-loggersName2-0-android">Android</a></li>
7604 <!--<li class=""><a href="#examples-Actuator-loggersName2-0-groovy">Groovy</a></li>-->
7605 <li class=""><a href="#examples-Actuator-loggersName2-0-objc">Obj-C</a></li>
7606 <li class=""><a href="#examples-Actuator-loggersName2-0-javascript">JavaScript</a></li>
7607 <!--<li class=""><a href="#examples-Actuator-loggersName2-0-angular">Angular</a></li>-->
7608 <li class=""><a href="#examples-Actuator-loggersName2-0-csharp">C#</a></li>
7609 <li class=""><a href="#examples-Actuator-loggersName2-0-php">PHP</a></li>
7610 <li class=""><a href="#examples-Actuator-loggersName2-0-perl">Perl</a></li>
7611 <li class=""><a href="#examples-Actuator-loggersName2-0-python">Python</a></li>
7612 <li class=""><a href="#examples-Actuator-loggersName2-0-rust">Rust</a></li>
7613 </ul>
7614
7615 <div class="tab-content">
7616 <div class="tab-pane active" id="examples-Actuator-loggersName2-0-curl">
7617 <pre class="prettyprint"><code class="language-bsh">curl -X POST \
7618 -H "Accept: */*" \
7619 -H "Content-Type: application/json" \
7620 "http://localhost/actuator/loggers/{name}" \
7621 -d ''
7622</code></pre>
7623 </div>
7624 <div class="tab-pane" id="examples-Actuator-loggersName2-0-java">
7625 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
7626import org.openapitools.client.auth.*;
7627import org.openapitools.client.model.*;
7628import org.openapitools.client.api.ActuatorApi;
7629
7630import java.io.File;
7631import java.util.*;
7632
7633public class ActuatorApiExample {
7634 public static void main(String[] args) {
7635
7636 // Create an instance of the API class
7637 ActuatorApi apiInstance = new ActuatorApi();
7638 String name = name_example; // String |
7639 String body = body_example; // String |
7640
7641 try {
7642 Object result = apiInstance.loggersName2(name, body);
7643 System.out.println(result);
7644 } catch (ApiException e) {
7645 System.err.println("Exception when calling ActuatorApi#loggersName2");
7646 e.printStackTrace();
7647 }
7648 }
7649}
7650</code></pre>
7651 </div>
7652
7653 <div class="tab-pane" id="examples-Actuator-loggersName2-0-android">
7654 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
7655
7656public class ActuatorApiExample {
7657 public static void main(String[] args) {
7658 ActuatorApi apiInstance = new ActuatorApi();
7659 String name = name_example; // String |
7660 String body = body_example; // String |
7661
7662 try {
7663 Object result = apiInstance.loggersName2(name, body);
7664 System.out.println(result);
7665 } catch (ApiException e) {
7666 System.err.println("Exception when calling ActuatorApi#loggersName2");
7667 e.printStackTrace();
7668 }
7669 }
7670}</code></pre>
7671 </div>
7672 <!--
7673 <div class="tab-pane" id="examples-Actuator-loggersName2-0-groovy">
7674 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7675 </div> -->
7676 <div class="tab-pane" id="examples-Actuator-loggersName2-0-objc">
7677 <pre class="prettyprint"><code class="language-cpp">
7678
7679// Create an instance of the API class
7680ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
7681String *name = name_example; // (default to null)
7682String *body = body_example; // (optional)
7683
7684// Actuator web endpoint 'loggers-name'
7685[apiInstance loggersName2With:name
7686 body:body
7687 completionHandler: ^(Object output, NSError* error) {
7688 if (output) {
7689 NSLog(@"%@", output);
7690 }
7691 if (error) {
7692 NSLog(@"Error: %@", error);
7693 }
7694}];
7695</code></pre>
7696 </div>
7697
7698 <div class="tab-pane" id="examples-Actuator-loggersName2-0-javascript">
7699 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
7700
7701// Create an instance of the API class
7702var api = new A1PolicyManagementService.ActuatorApi()
7703var name = name_example; // {String}
7704var opts = {
7705 'body': body_example // {String}
7706};
7707
7708var callback = function(error, data, response) {
7709 if (error) {
7710 console.error(error);
7711 } else {
7712 console.log('API called successfully. Returned data: ' + data);
7713 }
7714};
7715api.loggersName2(name, opts, callback);
7716</code></pre>
7717 </div>
7718
7719 <!--<div class="tab-pane" id="examples-Actuator-loggersName2-0-angular">
7720 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7721 </div>-->
7722 <div class="tab-pane" id="examples-Actuator-loggersName2-0-csharp">
7723 <pre class="prettyprint"><code class="language-cs">using System;
7724using System.Diagnostics;
7725using Org.OpenAPITools.Api;
7726using Org.OpenAPITools.Client;
7727using Org.OpenAPITools.Model;
7728
7729namespace Example
7730{
7731 public class loggersName2Example
7732 {
7733 public void main()
7734 {
7735
7736 // Create an instance of the API class
7737 var apiInstance = new ActuatorApi();
7738 var name = name_example; // String | (default to null)
7739 var body = body_example; // String | (optional)
7740
7741 try {
7742 // Actuator web endpoint 'loggers-name'
7743 Object result = apiInstance.loggersName2(name, body);
7744 Debug.WriteLine(result);
7745 } catch (Exception e) {
7746 Debug.Print("Exception when calling ActuatorApi.loggersName2: " + e.Message );
7747 }
7748 }
7749 }
7750}
7751</code></pre>
7752 </div>
7753
7754 <div class="tab-pane" id="examples-Actuator-loggersName2-0-php">
7755 <pre class="prettyprint"><code class="language-php"><&#63;php
7756require_once(__DIR__ . '/vendor/autoload.php');
7757
7758// Create an instance of the API class
7759$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
7760$name = name_example; // String |
7761$body = body_example; // String |
7762
7763try {
7764 $result = $api_instance->loggersName2($name, $body);
7765 print_r($result);
7766} catch (Exception $e) {
7767 echo 'Exception when calling ActuatorApi->loggersName2: ', $e->getMessage(), PHP_EOL;
7768}
7769?></code></pre>
7770 </div>
7771
7772 <div class="tab-pane" id="examples-Actuator-loggersName2-0-perl">
7773 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
7774use WWW::OPenAPIClient::Configuration;
7775use WWW::OPenAPIClient::ActuatorApi;
7776
7777# Create an instance of the API class
7778my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
7779my $name = name_example; # String |
7780my $body = WWW::OPenAPIClient::Object::String->new(); # String |
7781
7782eval {
7783 my $result = $api_instance->loggersName2(name => $name, body => $body);
7784 print Dumper($result);
7785};
7786if ($@) {
7787 warn "Exception when calling ActuatorApi->loggersName2: $@\n";
7788}</code></pre>
7789 </div>
7790
7791 <div class="tab-pane" id="examples-Actuator-loggersName2-0-python">
7792 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
7793import time
7794import openapi_client
7795from openapi_client.rest import ApiException
7796from pprint import pprint
7797
7798# Create an instance of the API class
7799api_instance = openapi_client.ActuatorApi()
7800name = name_example # String | (default to null)
7801body = body_example # String | (optional)
7802
7803try:
7804 # Actuator web endpoint 'loggers-name'
7805 api_response = api_instance.loggers_name2(name, body=body)
7806 pprint(api_response)
7807except ApiException as e:
7808 print("Exception when calling ActuatorApi->loggersName2: %s\n" % e)</code></pre>
7809 </div>
7810
7811 <div class="tab-pane" id="examples-Actuator-loggersName2-0-rust">
7812 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
7813
7814pub fn main() {
7815 let name = name_example; // String
7816 let body = body_example; // String
7817
7818 let mut context = ActuatorApi::Context::default();
7819 let result = client.loggersName2(name, body, &context).wait();
7820
7821 println!("{:?}", result);
7822}
7823</code></pre>
7824 </div>
7825 </div>
7826
7827 <h2>Scopes</h2>
7828 <table>
7829
7830 </table>
7831
7832 <h2>Parameters</h2>
7833
7834 <div class="methodsubtabletitle">Path parameters</div>
7835 <table id="methodsubtable">
7836 <tr>
7837 <th width="150px">Name</th>
7838 <th>Description</th>
7839 </tr>
7840 <tr><td style="width:150px;">name*</td>
7841<td>
7842
7843
7844 <div id="d2e199_loggersName2_name">
7845 <div class="json-schema-view">
7846 <div class="primitive">
7847 <span class="type">
7848 String
7849 </span>
7850
7851 </div>
7852 <div class="inner required">
7853 Required
7854 </div>
7855 </div>
7856 </div>
7857</td>
7858</tr>
7859
7860 </table>
7861
7862
7863 <div class="methodsubtabletitle">Body parameters</div>
7864 <table id="methodsubtable">
7865 <tr>
7866 <th width="150px">Name</th>
7867 <th>Description</th>
7868 </tr>
7869 <tr><td style="width:150px;">body </td>
7870<td>
7871<p class="marked"></p>
7872<script>
7873$(document).ready(function() {
7874 var schemaWrapper = {
7875 "content" : {
7876 "application/json" : {
7877 "schema" : {
7878 "type" : "string",
7879 "enum" : [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL", "OFF" ]
7880 }
7881 }
7882 }
7883};
7884
7885 var schema = findNode('schema',schemaWrapper).schema;
7886 if (!schema) {
7887 schema = schemaWrapper.schema;
7888 }
7889 if (schema.$ref != null) {
7890 schema = defsParser.$refs.get(schema.$ref);
7891 } else {
7892 schemaWrapper.definitions = Object.assign({}, defs);
7893 $RefParser.dereference(schemaWrapper).catch(function(err) {
7894 console.log(err);
7895 });
7896 }
7897
7898 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
7899 var result = $('#d2e199_loggersName2_body');
7900 result.empty();
7901 result.append(view.render());
7902});
7903</script>
7904<div id="d2e199_loggersName2_body"></div>
7905</td>
7906</tr>
7907
7908 </table>
7909
7910
7911
7912 <h2>Responses</h2>
7913 <h3 id="examples-Actuator-loggersName2-title-200"></h3>
7914 <p id="examples-Actuator-loggersName2-description-200" class="marked"></p>
7915 <script>
7916 var responseActuator200_description = `OK`;
7917 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
7918 if (responseActuator200_description_break == -1) {
7919 $("#examples-Actuator-loggersName2-title-200").text("Status: 200 - " + responseActuator200_description);
7920 } else {
7921 $("#examples-Actuator-loggersName2-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
7922 $("#examples-Actuator-loggersName2-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
7923 }
7924 </script>
7925
7926
7927 <ul id="responses-detail-Actuator-loggersName2-200" class="nav nav-tabs nav-tabs-examples" >
7928 <li class="active">
7929 <a data-toggle="tab" href="#responses-Actuator-loggersName2-200-schema">Schema</a>
7930 </li>
7931
7932
7933
7934
7935 </ul>
7936
7937
7938 <div class="tab-content" id="responses-Actuator-loggersName2-200-wrapper" style='margin-bottom: 10px;'>
7939 <div class="tab-pane active" id="responses-Actuator-loggersName2-200-schema">
7940 <div id="responses-Actuator-loggersName2-schema-200" class="exampleStyle">
7941 <script>
7942 $(document).ready(function() {
7943 var schemaWrapper = {
7944 "description" : "OK",
7945 "content" : {
7946 "*/*" : {
7947 "schema" : {
7948 "type" : "object"
7949 }
7950 }
7951 }
7952};
7953 var schema = findNode('schema',schemaWrapper).schema;
7954 if (!schema) {
7955 schema = schemaWrapper.schema;
7956 }
7957 if (schema.$ref != null) {
7958 schema = defsParser.$refs.get(schema.$ref);
7959 } else if (schema.items != null && schema.items.$ref != null) {
7960 schema.items = defsParser.$refs.get(schema.items.$ref);
7961 } else {
7962 schemaWrapper.definitions = Object.assign({}, defs);
7963 $RefParser.dereference(schemaWrapper).catch(function(err) {
7964 console.log(err);
7965 });
7966 }
7967
7968 var view = new JSONSchemaView(schema, 3);
7969 $('#responses-Actuator-loggersName2-200-schema-data').val(JSON.stringify(schema));
7970 var result = $('#responses-Actuator-loggersName2-schema-200');
7971 result.empty();
7972 result.append(view.render());
7973 });
7974 </script>
7975 </div>
7976 <input id='responses-Actuator-loggersName2-200-schema-data' type='hidden' value=''></input>
7977 </div>
7978 </div>
7979 </article>
7980 </div>
7981 <hr>
7982 <div id="api-Actuator-metrics">
7983 <article id="api-Actuator-metrics-0" data-group="User" data-name="metrics" data-version="0">
7984 <div class="pull-left">
7985 <h1>metrics</h1>
7986 <p>Actuator web endpoint &#39;metrics&#39;</p>
7987 </div>
7988 <div class="pull-right"></div>
7989 <div class="clearfix"></div>
7990 <p></p>
7991 <p class="marked"></p>
7992 <p></p>
7993 <br />
7994 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/metrics</span></code></pre>
7995 <p>
7996 <h3>Usage and SDK Samples</h3>
7997 </p>
7998 <ul class="nav nav-tabs nav-tabs-examples">
7999 <li class="active"><a href="#examples-Actuator-metrics-0-curl">Curl</a></li>
8000 <li class=""><a href="#examples-Actuator-metrics-0-java">Java</a></li>
8001 <li class=""><a href="#examples-Actuator-metrics-0-android">Android</a></li>
8002 <!--<li class=""><a href="#examples-Actuator-metrics-0-groovy">Groovy</a></li>-->
8003 <li class=""><a href="#examples-Actuator-metrics-0-objc">Obj-C</a></li>
8004 <li class=""><a href="#examples-Actuator-metrics-0-javascript">JavaScript</a></li>
8005 <!--<li class=""><a href="#examples-Actuator-metrics-0-angular">Angular</a></li>-->
8006 <li class=""><a href="#examples-Actuator-metrics-0-csharp">C#</a></li>
8007 <li class=""><a href="#examples-Actuator-metrics-0-php">PHP</a></li>
8008 <li class=""><a href="#examples-Actuator-metrics-0-perl">Perl</a></li>
8009 <li class=""><a href="#examples-Actuator-metrics-0-python">Python</a></li>
8010 <li class=""><a href="#examples-Actuator-metrics-0-rust">Rust</a></li>
8011 </ul>
8012
8013 <div class="tab-content">
8014 <div class="tab-pane active" id="examples-Actuator-metrics-0-curl">
8015 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
8016 -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
8017 "http://localhost/actuator/metrics"
8018</code></pre>
8019 </div>
8020 <div class="tab-pane" id="examples-Actuator-metrics-0-java">
8021 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
8022import org.openapitools.client.auth.*;
8023import org.openapitools.client.model.*;
8024import org.openapitools.client.api.ActuatorApi;
8025
8026import java.io.File;
8027import java.util.*;
8028
8029public class ActuatorApiExample {
8030 public static void main(String[] args) {
8031
8032 // Create an instance of the API class
8033 ActuatorApi apiInstance = new ActuatorApi();
8034
8035 try {
8036 Object result = apiInstance.metrics();
8037 System.out.println(result);
8038 } catch (ApiException e) {
8039 System.err.println("Exception when calling ActuatorApi#metrics");
8040 e.printStackTrace();
8041 }
8042 }
8043}
8044</code></pre>
8045 </div>
8046
8047 <div class="tab-pane" id="examples-Actuator-metrics-0-android">
8048 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
8049
8050public class ActuatorApiExample {
8051 public static void main(String[] args) {
8052 ActuatorApi apiInstance = new ActuatorApi();
8053
8054 try {
8055 Object result = apiInstance.metrics();
8056 System.out.println(result);
8057 } catch (ApiException e) {
8058 System.err.println("Exception when calling ActuatorApi#metrics");
8059 e.printStackTrace();
8060 }
8061 }
8062}</code></pre>
8063 </div>
8064 <!--
8065 <div class="tab-pane" id="examples-Actuator-metrics-0-groovy">
8066 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8067 </div> -->
8068 <div class="tab-pane" id="examples-Actuator-metrics-0-objc">
8069 <pre class="prettyprint"><code class="language-cpp">
8070
8071// Create an instance of the API class
8072ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
8073
8074// Actuator web endpoint 'metrics'
8075[apiInstance metricsWithCompletionHandler:
8076 ^(Object output, NSError* error) {
8077 if (output) {
8078 NSLog(@"%@", output);
8079 }
8080 if (error) {
8081 NSLog(@"Error: %@", error);
8082 }
8083}];
8084</code></pre>
8085 </div>
8086
8087 <div class="tab-pane" id="examples-Actuator-metrics-0-javascript">
8088 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
8089
8090// Create an instance of the API class
8091var api = new A1PolicyManagementService.ActuatorApi()
8092var callback = function(error, data, response) {
8093 if (error) {
8094 console.error(error);
8095 } else {
8096 console.log('API called successfully. Returned data: ' + data);
8097 }
8098};
8099api.metrics(callback);
8100</code></pre>
8101 </div>
8102
8103 <!--<div class="tab-pane" id="examples-Actuator-metrics-0-angular">
8104 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8105 </div>-->
8106 <div class="tab-pane" id="examples-Actuator-metrics-0-csharp">
8107 <pre class="prettyprint"><code class="language-cs">using System;
8108using System.Diagnostics;
8109using Org.OpenAPITools.Api;
8110using Org.OpenAPITools.Client;
8111using Org.OpenAPITools.Model;
8112
8113namespace Example
8114{
8115 public class metricsExample
8116 {
8117 public void main()
8118 {
8119
8120 // Create an instance of the API class
8121 var apiInstance = new ActuatorApi();
8122
8123 try {
8124 // Actuator web endpoint 'metrics'
8125 Object result = apiInstance.metrics();
8126 Debug.WriteLine(result);
8127 } catch (Exception e) {
8128 Debug.Print("Exception when calling ActuatorApi.metrics: " + e.Message );
8129 }
8130 }
8131 }
8132}
8133</code></pre>
8134 </div>
8135
8136 <div class="tab-pane" id="examples-Actuator-metrics-0-php">
8137 <pre class="prettyprint"><code class="language-php"><&#63;php
8138require_once(__DIR__ . '/vendor/autoload.php');
8139
8140// Create an instance of the API class
8141$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
8142
8143try {
8144 $result = $api_instance->metrics();
8145 print_r($result);
8146} catch (Exception $e) {
8147 echo 'Exception when calling ActuatorApi->metrics: ', $e->getMessage(), PHP_EOL;
8148}
8149?></code></pre>
8150 </div>
8151
8152 <div class="tab-pane" id="examples-Actuator-metrics-0-perl">
8153 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
8154use WWW::OPenAPIClient::Configuration;
8155use WWW::OPenAPIClient::ActuatorApi;
8156
8157# Create an instance of the API class
8158my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
8159
8160eval {
8161 my $result = $api_instance->metrics();
8162 print Dumper($result);
8163};
8164if ($@) {
8165 warn "Exception when calling ActuatorApi->metrics: $@\n";
8166}</code></pre>
8167 </div>
8168
8169 <div class="tab-pane" id="examples-Actuator-metrics-0-python">
8170 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
8171import time
8172import openapi_client
8173from openapi_client.rest import ApiException
8174from pprint import pprint
8175
8176# Create an instance of the API class
8177api_instance = openapi_client.ActuatorApi()
8178
8179try:
8180 # Actuator web endpoint 'metrics'
8181 api_response = api_instance.metrics()
8182 pprint(api_response)
8183except ApiException as e:
8184 print("Exception when calling ActuatorApi->metrics: %s\n" % e)</code></pre>
8185 </div>
8186
8187 <div class="tab-pane" id="examples-Actuator-metrics-0-rust">
8188 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
8189
8190pub fn main() {
8191
8192 let mut context = ActuatorApi::Context::default();
8193 let result = client.metrics(&context).wait();
8194
8195 println!("{:?}", result);
8196}
8197</code></pre>
8198 </div>
8199 </div>
8200
8201 <h2>Scopes</h2>
8202 <table>
8203
8204 </table>
8205
8206 <h2>Parameters</h2>
8207
8208
8209
8210
8211
8212
8213 <h2>Responses</h2>
8214 <h3 id="examples-Actuator-metrics-title-200"></h3>
8215 <p id="examples-Actuator-metrics-description-200" class="marked"></p>
8216 <script>
8217 var responseActuator200_description = `OK`;
8218 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
8219 if (responseActuator200_description_break == -1) {
8220 $("#examples-Actuator-metrics-title-200").text("Status: 200 - " + responseActuator200_description);
8221 } else {
8222 $("#examples-Actuator-metrics-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
8223 $("#examples-Actuator-metrics-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
8224 }
8225 </script>
8226
8227
8228 <ul id="responses-detail-Actuator-metrics-200" class="nav nav-tabs nav-tabs-examples" >
8229 <li class="active">
8230 <a data-toggle="tab" href="#responses-Actuator-metrics-200-schema">Schema</a>
8231 </li>
8232
8233
8234
8235
8236 </ul>
8237
8238
8239 <div class="tab-content" id="responses-Actuator-metrics-200-wrapper" style='margin-bottom: 10px;'>
8240 <div class="tab-pane active" id="responses-Actuator-metrics-200-schema">
8241 <div id="responses-Actuator-metrics-schema-200" class="exampleStyle">
8242 <script>
8243 $(document).ready(function() {
8244 var schemaWrapper = {
8245 "description" : "OK",
8246 "content" : {
8247 "application/vnd.spring-boot.actuator.v3+json" : {
8248 "schema" : {
8249 "type" : "object"
8250 }
8251 },
8252 "application/json" : {
8253 "schema" : {
8254 "type" : "object"
8255 }
8256 },
8257 "application/vnd.spring-boot.actuator.v2+json" : {
8258 "schema" : {
8259 "type" : "object"
8260 }
8261 }
8262 }
8263};
8264 var schema = findNode('schema',schemaWrapper).schema;
8265 if (!schema) {
8266 schema = schemaWrapper.schema;
8267 }
8268 if (schema.$ref != null) {
8269 schema = defsParser.$refs.get(schema.$ref);
8270 } else if (schema.items != null && schema.items.$ref != null) {
8271 schema.items = defsParser.$refs.get(schema.items.$ref);
8272 } else {
8273 schemaWrapper.definitions = Object.assign({}, defs);
8274 $RefParser.dereference(schemaWrapper).catch(function(err) {
8275 console.log(err);
8276 });
8277 }
8278
8279 var view = new JSONSchemaView(schema, 3);
8280 $('#responses-Actuator-metrics-200-schema-data').val(JSON.stringify(schema));
8281 var result = $('#responses-Actuator-metrics-schema-200');
8282 result.empty();
8283 result.append(view.render());
8284 });
8285 </script>
8286 </div>
8287 <input id='responses-Actuator-metrics-200-schema-data' type='hidden' value=''></input>
8288 </div>
8289 </div>
8290 </article>
8291 </div>
8292 <hr>
8293 <div id="api-Actuator-metricsRequiredMetricName">
8294 <article id="api-Actuator-metricsRequiredMetricName-0" data-group="User" data-name="metricsRequiredMetricName" data-version="0">
8295 <div class="pull-left">
8296 <h1>metricsRequiredMetricName</h1>
8297 <p>Actuator web endpoint &#39;metrics-requiredMetricName&#39;</p>
8298 </div>
8299 <div class="pull-right"></div>
8300 <div class="clearfix"></div>
8301 <p></p>
8302 <p class="marked"></p>
8303 <p></p>
8304 <br />
8305 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/metrics/{requiredMetricName}</span></code></pre>
8306 <p>
8307 <h3>Usage and SDK Samples</h3>
8308 </p>
8309 <ul class="nav nav-tabs nav-tabs-examples">
8310 <li class="active"><a href="#examples-Actuator-metricsRequiredMetricName-0-curl">Curl</a></li>
8311 <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-java">Java</a></li>
8312 <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-android">Android</a></li>
8313 <!--<li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-groovy">Groovy</a></li>-->
8314 <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-objc">Obj-C</a></li>
8315 <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-javascript">JavaScript</a></li>
8316 <!--<li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-angular">Angular</a></li>-->
8317 <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-csharp">C#</a></li>
8318 <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-php">PHP</a></li>
8319 <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-perl">Perl</a></li>
8320 <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-python">Python</a></li>
8321 <li class=""><a href="#examples-Actuator-metricsRequiredMetricName-0-rust">Rust</a></li>
8322 </ul>
8323
8324 <div class="tab-content">
8325 <div class="tab-pane active" id="examples-Actuator-metricsRequiredMetricName-0-curl">
8326 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
8327 -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
8328 "http://localhost/actuator/metrics/{requiredMetricName}"
8329</code></pre>
8330 </div>
8331 <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-java">
8332 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
8333import org.openapitools.client.auth.*;
8334import org.openapitools.client.model.*;
8335import org.openapitools.client.api.ActuatorApi;
8336
8337import java.io.File;
8338import java.util.*;
8339
8340public class ActuatorApiExample {
8341 public static void main(String[] args) {
8342
8343 // Create an instance of the API class
8344 ActuatorApi apiInstance = new ActuatorApi();
8345 String requiredMetricName = requiredMetricName_example; // String |
8346
8347 try {
8348 Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
8349 System.out.println(result);
8350 } catch (ApiException e) {
8351 System.err.println("Exception when calling ActuatorApi#metricsRequiredMetricName");
8352 e.printStackTrace();
8353 }
8354 }
8355}
8356</code></pre>
8357 </div>
8358
8359 <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-android">
8360 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
8361
8362public class ActuatorApiExample {
8363 public static void main(String[] args) {
8364 ActuatorApi apiInstance = new ActuatorApi();
8365 String requiredMetricName = requiredMetricName_example; // String |
8366
8367 try {
8368 Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
8369 System.out.println(result);
8370 } catch (ApiException e) {
8371 System.err.println("Exception when calling ActuatorApi#metricsRequiredMetricName");
8372 e.printStackTrace();
8373 }
8374 }
8375}</code></pre>
8376 </div>
8377 <!--
8378 <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-groovy">
8379 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8380 </div> -->
8381 <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-objc">
8382 <pre class="prettyprint"><code class="language-cpp">
8383
8384// Create an instance of the API class
8385ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
8386String *requiredMetricName = requiredMetricName_example; // (default to null)
8387
8388// Actuator web endpoint 'metrics-requiredMetricName'
8389[apiInstance metricsRequiredMetricNameWith:requiredMetricName
8390 completionHandler: ^(Object output, NSError* error) {
8391 if (output) {
8392 NSLog(@"%@", output);
8393 }
8394 if (error) {
8395 NSLog(@"Error: %@", error);
8396 }
8397}];
8398</code></pre>
8399 </div>
8400
8401 <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-javascript">
8402 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
8403
8404// Create an instance of the API class
8405var api = new A1PolicyManagementService.ActuatorApi()
8406var requiredMetricName = requiredMetricName_example; // {String}
8407
8408var callback = function(error, data, response) {
8409 if (error) {
8410 console.error(error);
8411 } else {
8412 console.log('API called successfully. Returned data: ' + data);
8413 }
8414};
8415api.metricsRequiredMetricName(requiredMetricName, callback);
8416</code></pre>
8417 </div>
8418
8419 <!--<div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-angular">
8420 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8421 </div>-->
8422 <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-csharp">
8423 <pre class="prettyprint"><code class="language-cs">using System;
8424using System.Diagnostics;
8425using Org.OpenAPITools.Api;
8426using Org.OpenAPITools.Client;
8427using Org.OpenAPITools.Model;
8428
8429namespace Example
8430{
8431 public class metricsRequiredMetricNameExample
8432 {
8433 public void main()
8434 {
8435
8436 // Create an instance of the API class
8437 var apiInstance = new ActuatorApi();
8438 var requiredMetricName = requiredMetricName_example; // String | (default to null)
8439
8440 try {
8441 // Actuator web endpoint 'metrics-requiredMetricName'
8442 Object result = apiInstance.metricsRequiredMetricName(requiredMetricName);
8443 Debug.WriteLine(result);
8444 } catch (Exception e) {
8445 Debug.Print("Exception when calling ActuatorApi.metricsRequiredMetricName: " + e.Message );
8446 }
8447 }
8448 }
8449}
8450</code></pre>
8451 </div>
8452
8453 <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-php">
8454 <pre class="prettyprint"><code class="language-php"><&#63;php
8455require_once(__DIR__ . '/vendor/autoload.php');
8456
8457// Create an instance of the API class
8458$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
8459$requiredMetricName = requiredMetricName_example; // String |
8460
8461try {
8462 $result = $api_instance->metricsRequiredMetricName($requiredMetricName);
8463 print_r($result);
8464} catch (Exception $e) {
8465 echo 'Exception when calling ActuatorApi->metricsRequiredMetricName: ', $e->getMessage(), PHP_EOL;
8466}
8467?></code></pre>
8468 </div>
8469
8470 <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-perl">
8471 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
8472use WWW::OPenAPIClient::Configuration;
8473use WWW::OPenAPIClient::ActuatorApi;
8474
8475# Create an instance of the API class
8476my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
8477my $requiredMetricName = requiredMetricName_example; # String |
8478
8479eval {
8480 my $result = $api_instance->metricsRequiredMetricName(requiredMetricName => $requiredMetricName);
8481 print Dumper($result);
8482};
8483if ($@) {
8484 warn "Exception when calling ActuatorApi->metricsRequiredMetricName: $@\n";
8485}</code></pre>
8486 </div>
8487
8488 <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-python">
8489 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
8490import time
8491import openapi_client
8492from openapi_client.rest import ApiException
8493from pprint import pprint
8494
8495# Create an instance of the API class
8496api_instance = openapi_client.ActuatorApi()
8497requiredMetricName = requiredMetricName_example # String | (default to null)
8498
8499try:
8500 # Actuator web endpoint 'metrics-requiredMetricName'
8501 api_response = api_instance.metrics_required_metric_name(requiredMetricName)
8502 pprint(api_response)
8503except ApiException as e:
8504 print("Exception when calling ActuatorApi->metricsRequiredMetricName: %s\n" % e)</code></pre>
8505 </div>
8506
8507 <div class="tab-pane" id="examples-Actuator-metricsRequiredMetricName-0-rust">
8508 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
8509
8510pub fn main() {
8511 let requiredMetricName = requiredMetricName_example; // String
8512
8513 let mut context = ActuatorApi::Context::default();
8514 let result = client.metricsRequiredMetricName(requiredMetricName, &context).wait();
8515
8516 println!("{:?}", result);
8517}
8518</code></pre>
8519 </div>
8520 </div>
8521
8522 <h2>Scopes</h2>
8523 <table>
8524
8525 </table>
8526
8527 <h2>Parameters</h2>
8528
8529 <div class="methodsubtabletitle">Path parameters</div>
8530 <table id="methodsubtable">
8531 <tr>
8532 <th width="150px">Name</th>
8533 <th>Description</th>
8534 </tr>
8535 <tr><td style="width:150px;">requiredMetricName*</td>
8536<td>
8537
8538
8539 <div id="d2e199_metricsRequiredMetricName_requiredMetricName">
8540 <div class="json-schema-view">
8541 <div class="primitive">
8542 <span class="type">
8543 String
8544 </span>
8545
8546 </div>
8547 <div class="inner required">
8548 Required
8549 </div>
8550 </div>
8551 </div>
8552</td>
8553</tr>
8554
8555 </table>
8556
8557
8558
8559
8560
8561 <h2>Responses</h2>
8562 <h3 id="examples-Actuator-metricsRequiredMetricName-title-200"></h3>
8563 <p id="examples-Actuator-metricsRequiredMetricName-description-200" class="marked"></p>
8564 <script>
8565 var responseActuator200_description = `OK`;
8566 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
8567 if (responseActuator200_description_break == -1) {
8568 $("#examples-Actuator-metricsRequiredMetricName-title-200").text("Status: 200 - " + responseActuator200_description);
8569 } else {
8570 $("#examples-Actuator-metricsRequiredMetricName-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
8571 $("#examples-Actuator-metricsRequiredMetricName-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
8572 }
8573 </script>
8574
8575
8576 <ul id="responses-detail-Actuator-metricsRequiredMetricName-200" class="nav nav-tabs nav-tabs-examples" >
8577 <li class="active">
8578 <a data-toggle="tab" href="#responses-Actuator-metricsRequiredMetricName-200-schema">Schema</a>
8579 </li>
8580
8581
8582
8583
8584 </ul>
8585
8586
8587 <div class="tab-content" id="responses-Actuator-metricsRequiredMetricName-200-wrapper" style='margin-bottom: 10px;'>
8588 <div class="tab-pane active" id="responses-Actuator-metricsRequiredMetricName-200-schema">
8589 <div id="responses-Actuator-metricsRequiredMetricName-schema-200" class="exampleStyle">
8590 <script>
8591 $(document).ready(function() {
8592 var schemaWrapper = {
8593 "description" : "OK",
8594 "content" : {
8595 "application/vnd.spring-boot.actuator.v3+json" : {
8596 "schema" : {
8597 "type" : "object"
8598 }
8599 },
8600 "application/json" : {
8601 "schema" : {
8602 "type" : "object"
8603 }
8604 },
8605 "application/vnd.spring-boot.actuator.v2+json" : {
8606 "schema" : {
8607 "type" : "object"
8608 }
8609 }
8610 }
8611};
8612 var schema = findNode('schema',schemaWrapper).schema;
8613 if (!schema) {
8614 schema = schemaWrapper.schema;
8615 }
8616 if (schema.$ref != null) {
8617 schema = defsParser.$refs.get(schema.$ref);
8618 } else if (schema.items != null && schema.items.$ref != null) {
8619 schema.items = defsParser.$refs.get(schema.items.$ref);
8620 } else {
8621 schemaWrapper.definitions = Object.assign({}, defs);
8622 $RefParser.dereference(schemaWrapper).catch(function(err) {
8623 console.log(err);
8624 });
8625 }
8626
8627 var view = new JSONSchemaView(schema, 3);
8628 $('#responses-Actuator-metricsRequiredMetricName-200-schema-data').val(JSON.stringify(schema));
8629 var result = $('#responses-Actuator-metricsRequiredMetricName-schema-200');
8630 result.empty();
8631 result.append(view.render());
8632 });
8633 </script>
8634 </div>
8635 <input id='responses-Actuator-metricsRequiredMetricName-200-schema-data' type='hidden' value=''></input>
8636 </div>
8637 </div>
8638 </article>
8639 </div>
8640 <hr>
8641 <div id="api-Actuator-shutdown">
8642 <article id="api-Actuator-shutdown-0" data-group="User" data-name="shutdown" data-version="0">
8643 <div class="pull-left">
8644 <h1>shutdown</h1>
8645 <p>Actuator web endpoint &#39;shutdown&#39;</p>
8646 </div>
8647 <div class="pull-right"></div>
8648 <div class="clearfix"></div>
8649 <p></p>
8650 <p class="marked"></p>
8651 <p></p>
8652 <br />
8653 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/actuator/shutdown</span></code></pre>
8654 <p>
8655 <h3>Usage and SDK Samples</h3>
8656 </p>
8657 <ul class="nav nav-tabs nav-tabs-examples">
8658 <li class="active"><a href="#examples-Actuator-shutdown-0-curl">Curl</a></li>
8659 <li class=""><a href="#examples-Actuator-shutdown-0-java">Java</a></li>
8660 <li class=""><a href="#examples-Actuator-shutdown-0-android">Android</a></li>
8661 <!--<li class=""><a href="#examples-Actuator-shutdown-0-groovy">Groovy</a></li>-->
8662 <li class=""><a href="#examples-Actuator-shutdown-0-objc">Obj-C</a></li>
8663 <li class=""><a href="#examples-Actuator-shutdown-0-javascript">JavaScript</a></li>
8664 <!--<li class=""><a href="#examples-Actuator-shutdown-0-angular">Angular</a></li>-->
8665 <li class=""><a href="#examples-Actuator-shutdown-0-csharp">C#</a></li>
8666 <li class=""><a href="#examples-Actuator-shutdown-0-php">PHP</a></li>
8667 <li class=""><a href="#examples-Actuator-shutdown-0-perl">Perl</a></li>
8668 <li class=""><a href="#examples-Actuator-shutdown-0-python">Python</a></li>
8669 <li class=""><a href="#examples-Actuator-shutdown-0-rust">Rust</a></li>
8670 </ul>
8671
8672 <div class="tab-content">
8673 <div class="tab-pane active" id="examples-Actuator-shutdown-0-curl">
8674 <pre class="prettyprint"><code class="language-bsh">curl -X POST \
8675 -H "Accept: application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
8676 "http://localhost/actuator/shutdown"
8677</code></pre>
8678 </div>
8679 <div class="tab-pane" id="examples-Actuator-shutdown-0-java">
8680 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
8681import org.openapitools.client.auth.*;
8682import org.openapitools.client.model.*;
8683import org.openapitools.client.api.ActuatorApi;
8684
8685import java.io.File;
8686import java.util.*;
8687
8688public class ActuatorApiExample {
8689 public static void main(String[] args) {
8690
8691 // Create an instance of the API class
8692 ActuatorApi apiInstance = new ActuatorApi();
8693
8694 try {
8695 Object result = apiInstance.shutdown();
8696 System.out.println(result);
8697 } catch (ApiException e) {
8698 System.err.println("Exception when calling ActuatorApi#shutdown");
8699 e.printStackTrace();
8700 }
8701 }
8702}
8703</code></pre>
8704 </div>
8705
8706 <div class="tab-pane" id="examples-Actuator-shutdown-0-android">
8707 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
8708
8709public class ActuatorApiExample {
8710 public static void main(String[] args) {
8711 ActuatorApi apiInstance = new ActuatorApi();
8712
8713 try {
8714 Object result = apiInstance.shutdown();
8715 System.out.println(result);
8716 } catch (ApiException e) {
8717 System.err.println("Exception when calling ActuatorApi#shutdown");
8718 e.printStackTrace();
8719 }
8720 }
8721}</code></pre>
8722 </div>
8723 <!--
8724 <div class="tab-pane" id="examples-Actuator-shutdown-0-groovy">
8725 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8726 </div> -->
8727 <div class="tab-pane" id="examples-Actuator-shutdown-0-objc">
8728 <pre class="prettyprint"><code class="language-cpp">
8729
8730// Create an instance of the API class
8731ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
8732
8733// Actuator web endpoint 'shutdown'
8734[apiInstance shutdownWithCompletionHandler:
8735 ^(Object output, NSError* error) {
8736 if (output) {
8737 NSLog(@"%@", output);
8738 }
8739 if (error) {
8740 NSLog(@"Error: %@", error);
8741 }
8742}];
8743</code></pre>
8744 </div>
8745
8746 <div class="tab-pane" id="examples-Actuator-shutdown-0-javascript">
8747 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
8748
8749// Create an instance of the API class
8750var api = new A1PolicyManagementService.ActuatorApi()
8751var callback = function(error, data, response) {
8752 if (error) {
8753 console.error(error);
8754 } else {
8755 console.log('API called successfully. Returned data: ' + data);
8756 }
8757};
8758api.shutdown(callback);
8759</code></pre>
8760 </div>
8761
8762 <!--<div class="tab-pane" id="examples-Actuator-shutdown-0-angular">
8763 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8764 </div>-->
8765 <div class="tab-pane" id="examples-Actuator-shutdown-0-csharp">
8766 <pre class="prettyprint"><code class="language-cs">using System;
8767using System.Diagnostics;
8768using Org.OpenAPITools.Api;
8769using Org.OpenAPITools.Client;
8770using Org.OpenAPITools.Model;
8771
8772namespace Example
8773{
8774 public class shutdownExample
8775 {
8776 public void main()
8777 {
8778
8779 // Create an instance of the API class
8780 var apiInstance = new ActuatorApi();
8781
8782 try {
8783 // Actuator web endpoint 'shutdown'
8784 Object result = apiInstance.shutdown();
8785 Debug.WriteLine(result);
8786 } catch (Exception e) {
8787 Debug.Print("Exception when calling ActuatorApi.shutdown: " + e.Message );
8788 }
8789 }
8790 }
8791}
8792</code></pre>
8793 </div>
8794
8795 <div class="tab-pane" id="examples-Actuator-shutdown-0-php">
8796 <pre class="prettyprint"><code class="language-php"><&#63;php
8797require_once(__DIR__ . '/vendor/autoload.php');
8798
8799// Create an instance of the API class
8800$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
8801
8802try {
8803 $result = $api_instance->shutdown();
8804 print_r($result);
8805} catch (Exception $e) {
8806 echo 'Exception when calling ActuatorApi->shutdown: ', $e->getMessage(), PHP_EOL;
8807}
8808?></code></pre>
8809 </div>
8810
8811 <div class="tab-pane" id="examples-Actuator-shutdown-0-perl">
8812 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
8813use WWW::OPenAPIClient::Configuration;
8814use WWW::OPenAPIClient::ActuatorApi;
8815
8816# Create an instance of the API class
8817my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
8818
8819eval {
8820 my $result = $api_instance->shutdown();
8821 print Dumper($result);
8822};
8823if ($@) {
8824 warn "Exception when calling ActuatorApi->shutdown: $@\n";
8825}</code></pre>
8826 </div>
8827
8828 <div class="tab-pane" id="examples-Actuator-shutdown-0-python">
8829 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
8830import time
8831import openapi_client
8832from openapi_client.rest import ApiException
8833from pprint import pprint
8834
8835# Create an instance of the API class
8836api_instance = openapi_client.ActuatorApi()
8837
8838try:
8839 # Actuator web endpoint 'shutdown'
8840 api_response = api_instance.shutdown()
8841 pprint(api_response)
8842except ApiException as e:
8843 print("Exception when calling ActuatorApi->shutdown: %s\n" % e)</code></pre>
8844 </div>
8845
8846 <div class="tab-pane" id="examples-Actuator-shutdown-0-rust">
8847 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
8848
8849pub fn main() {
8850
8851 let mut context = ActuatorApi::Context::default();
8852 let result = client.shutdown(&context).wait();
8853
8854 println!("{:?}", result);
8855}
8856</code></pre>
8857 </div>
8858 </div>
8859
8860 <h2>Scopes</h2>
8861 <table>
8862
8863 </table>
8864
8865 <h2>Parameters</h2>
8866
8867
8868
8869
8870
8871
8872 <h2>Responses</h2>
8873 <h3 id="examples-Actuator-shutdown-title-200"></h3>
8874 <p id="examples-Actuator-shutdown-description-200" class="marked"></p>
8875 <script>
8876 var responseActuator200_description = `OK`;
8877 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
8878 if (responseActuator200_description_break == -1) {
8879 $("#examples-Actuator-shutdown-title-200").text("Status: 200 - " + responseActuator200_description);
8880 } else {
8881 $("#examples-Actuator-shutdown-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
8882 $("#examples-Actuator-shutdown-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
8883 }
8884 </script>
8885
8886
8887 <ul id="responses-detail-Actuator-shutdown-200" class="nav nav-tabs nav-tabs-examples" >
8888 <li class="active">
8889 <a data-toggle="tab" href="#responses-Actuator-shutdown-200-schema">Schema</a>
8890 </li>
8891
8892
8893
8894
8895 </ul>
8896
8897
8898 <div class="tab-content" id="responses-Actuator-shutdown-200-wrapper" style='margin-bottom: 10px;'>
8899 <div class="tab-pane active" id="responses-Actuator-shutdown-200-schema">
8900 <div id="responses-Actuator-shutdown-schema-200" class="exampleStyle">
8901 <script>
8902 $(document).ready(function() {
8903 var schemaWrapper = {
8904 "description" : "OK",
8905 "content" : {
8906 "application/vnd.spring-boot.actuator.v3+json" : {
8907 "schema" : {
8908 "type" : "object"
8909 }
8910 },
8911 "application/json" : {
8912 "schema" : {
8913 "type" : "object"
8914 }
8915 },
8916 "application/vnd.spring-boot.actuator.v2+json" : {
8917 "schema" : {
8918 "type" : "object"
8919 }
8920 }
8921 }
8922};
8923 var schema = findNode('schema',schemaWrapper).schema;
8924 if (!schema) {
8925 schema = schemaWrapper.schema;
8926 }
8927 if (schema.$ref != null) {
8928 schema = defsParser.$refs.get(schema.$ref);
8929 } else if (schema.items != null && schema.items.$ref != null) {
8930 schema.items = defsParser.$refs.get(schema.items.$ref);
8931 } else {
8932 schemaWrapper.definitions = Object.assign({}, defs);
8933 $RefParser.dereference(schemaWrapper).catch(function(err) {
8934 console.log(err);
8935 });
8936 }
8937
8938 var view = new JSONSchemaView(schema, 3);
8939 $('#responses-Actuator-shutdown-200-schema-data').val(JSON.stringify(schema));
8940 var result = $('#responses-Actuator-shutdown-schema-200');
8941 result.empty();
8942 result.append(view.render());
8943 });
8944 </script>
8945 </div>
8946 <input id='responses-Actuator-shutdown-200-schema-data' type='hidden' value=''></input>
8947 </div>
8948 </div>
8949 </article>
8950 </div>
8951 <hr>
8952 <div id="api-Actuator-threaddump">
8953 <article id="api-Actuator-threaddump-0" data-group="User" data-name="threaddump" data-version="0">
8954 <div class="pull-left">
8955 <h1>threaddump</h1>
8956 <p>Actuator web endpoint &#39;threaddump&#39;</p>
8957 </div>
8958 <div class="pull-right"></div>
8959 <div class="clearfix"></div>
8960 <p></p>
8961 <p class="marked"></p>
8962 <p></p>
8963 <br />
8964 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/actuator/threaddump</span></code></pre>
8965 <p>
8966 <h3>Usage and SDK Samples</h3>
8967 </p>
8968 <ul class="nav nav-tabs nav-tabs-examples">
8969 <li class="active"><a href="#examples-Actuator-threaddump-0-curl">Curl</a></li>
8970 <li class=""><a href="#examples-Actuator-threaddump-0-java">Java</a></li>
8971 <li class=""><a href="#examples-Actuator-threaddump-0-android">Android</a></li>
8972 <!--<li class=""><a href="#examples-Actuator-threaddump-0-groovy">Groovy</a></li>-->
8973 <li class=""><a href="#examples-Actuator-threaddump-0-objc">Obj-C</a></li>
8974 <li class=""><a href="#examples-Actuator-threaddump-0-javascript">JavaScript</a></li>
8975 <!--<li class=""><a href="#examples-Actuator-threaddump-0-angular">Angular</a></li>-->
8976 <li class=""><a href="#examples-Actuator-threaddump-0-csharp">C#</a></li>
8977 <li class=""><a href="#examples-Actuator-threaddump-0-php">PHP</a></li>
8978 <li class=""><a href="#examples-Actuator-threaddump-0-perl">Perl</a></li>
8979 <li class=""><a href="#examples-Actuator-threaddump-0-python">Python</a></li>
8980 <li class=""><a href="#examples-Actuator-threaddump-0-rust">Rust</a></li>
8981 </ul>
8982
8983 <div class="tab-content">
8984 <div class="tab-pane active" id="examples-Actuator-threaddump-0-curl">
8985 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
8986 -H "Accept: text/plain;charset=UTF-8,application/vnd.spring-boot.actuator.v3+json,application/json,application/vnd.spring-boot.actuator.v2+json" \
8987 "http://localhost/actuator/threaddump"
8988</code></pre>
8989 </div>
8990 <div class="tab-pane" id="examples-Actuator-threaddump-0-java">
8991 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
8992import org.openapitools.client.auth.*;
8993import org.openapitools.client.model.*;
8994import org.openapitools.client.api.ActuatorApi;
8995
8996import java.io.File;
8997import java.util.*;
8998
8999public class ActuatorApiExample {
9000 public static void main(String[] args) {
9001
9002 // Create an instance of the API class
9003 ActuatorApi apiInstance = new ActuatorApi();
9004
9005 try {
9006 Object result = apiInstance.threaddump();
9007 System.out.println(result);
9008 } catch (ApiException e) {
9009 System.err.println("Exception when calling ActuatorApi#threaddump");
9010 e.printStackTrace();
9011 }
9012 }
9013}
9014</code></pre>
9015 </div>
9016
9017 <div class="tab-pane" id="examples-Actuator-threaddump-0-android">
9018 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ActuatorApi;
9019
9020public class ActuatorApiExample {
9021 public static void main(String[] args) {
9022 ActuatorApi apiInstance = new ActuatorApi();
9023
9024 try {
9025 Object result = apiInstance.threaddump();
9026 System.out.println(result);
9027 } catch (ApiException e) {
9028 System.err.println("Exception when calling ActuatorApi#threaddump");
9029 e.printStackTrace();
9030 }
9031 }
9032}</code></pre>
9033 </div>
9034 <!--
9035 <div class="tab-pane" id="examples-Actuator-threaddump-0-groovy">
9036 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9037 </div> -->
9038 <div class="tab-pane" id="examples-Actuator-threaddump-0-objc">
9039 <pre class="prettyprint"><code class="language-cpp">
9040
9041// Create an instance of the API class
9042ActuatorApi *apiInstance = [[ActuatorApi alloc] init];
9043
9044// Actuator web endpoint 'threaddump'
9045[apiInstance threaddumpWithCompletionHandler:
9046 ^(Object output, NSError* error) {
9047 if (output) {
9048 NSLog(@"%@", output);
9049 }
9050 if (error) {
9051 NSLog(@"Error: %@", error);
9052 }
9053}];
9054</code></pre>
9055 </div>
9056
9057 <div class="tab-pane" id="examples-Actuator-threaddump-0-javascript">
9058 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
9059
9060// Create an instance of the API class
9061var api = new A1PolicyManagementService.ActuatorApi()
9062var callback = function(error, data, response) {
9063 if (error) {
9064 console.error(error);
9065 } else {
9066 console.log('API called successfully. Returned data: ' + data);
9067 }
9068};
9069api.threaddump(callback);
9070</code></pre>
9071 </div>
9072
9073 <!--<div class="tab-pane" id="examples-Actuator-threaddump-0-angular">
9074 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9075 </div>-->
9076 <div class="tab-pane" id="examples-Actuator-threaddump-0-csharp">
9077 <pre class="prettyprint"><code class="language-cs">using System;
9078using System.Diagnostics;
9079using Org.OpenAPITools.Api;
9080using Org.OpenAPITools.Client;
9081using Org.OpenAPITools.Model;
9082
9083namespace Example
9084{
9085 public class threaddumpExample
9086 {
9087 public void main()
9088 {
9089
9090 // Create an instance of the API class
9091 var apiInstance = new ActuatorApi();
9092
9093 try {
9094 // Actuator web endpoint 'threaddump'
9095 Object result = apiInstance.threaddump();
9096 Debug.WriteLine(result);
9097 } catch (Exception e) {
9098 Debug.Print("Exception when calling ActuatorApi.threaddump: " + e.Message );
9099 }
9100 }
9101 }
9102}
9103</code></pre>
9104 </div>
9105
9106 <div class="tab-pane" id="examples-Actuator-threaddump-0-php">
9107 <pre class="prettyprint"><code class="language-php"><&#63;php
9108require_once(__DIR__ . '/vendor/autoload.php');
9109
9110// Create an instance of the API class
9111$api_instance = new OpenAPITools\Client\Api\ActuatorApi();
9112
9113try {
9114 $result = $api_instance->threaddump();
9115 print_r($result);
9116} catch (Exception $e) {
9117 echo 'Exception when calling ActuatorApi->threaddump: ', $e->getMessage(), PHP_EOL;
9118}
9119?></code></pre>
9120 </div>
9121
9122 <div class="tab-pane" id="examples-Actuator-threaddump-0-perl">
9123 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
9124use WWW::OPenAPIClient::Configuration;
9125use WWW::OPenAPIClient::ActuatorApi;
9126
9127# Create an instance of the API class
9128my $api_instance = WWW::OPenAPIClient::ActuatorApi->new();
9129
9130eval {
9131 my $result = $api_instance->threaddump();
9132 print Dumper($result);
9133};
9134if ($@) {
9135 warn "Exception when calling ActuatorApi->threaddump: $@\n";
9136}</code></pre>
9137 </div>
9138
9139 <div class="tab-pane" id="examples-Actuator-threaddump-0-python">
9140 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
9141import time
9142import openapi_client
9143from openapi_client.rest import ApiException
9144from pprint import pprint
9145
9146# Create an instance of the API class
9147api_instance = openapi_client.ActuatorApi()
9148
9149try:
9150 # Actuator web endpoint 'threaddump'
9151 api_response = api_instance.threaddump()
9152 pprint(api_response)
9153except ApiException as e:
9154 print("Exception when calling ActuatorApi->threaddump: %s\n" % e)</code></pre>
9155 </div>
9156
9157 <div class="tab-pane" id="examples-Actuator-threaddump-0-rust">
9158 <pre class="prettyprint"><code class="language-rust">extern crate ActuatorApi;
9159
9160pub fn main() {
9161
9162 let mut context = ActuatorApi::Context::default();
9163 let result = client.threaddump(&context).wait();
9164
9165 println!("{:?}", result);
9166}
9167</code></pre>
9168 </div>
9169 </div>
9170
9171 <h2>Scopes</h2>
9172 <table>
9173
9174 </table>
9175
9176 <h2>Parameters</h2>
9177
9178
9179
9180
9181
9182
9183 <h2>Responses</h2>
9184 <h3 id="examples-Actuator-threaddump-title-200"></h3>
9185 <p id="examples-Actuator-threaddump-description-200" class="marked"></p>
9186 <script>
9187 var responseActuator200_description = `OK`;
9188 var responseActuator200_description_break = responseActuator200_description.indexOf('\n');
9189 if (responseActuator200_description_break == -1) {
9190 $("#examples-Actuator-threaddump-title-200").text("Status: 200 - " + responseActuator200_description);
9191 } else {
9192 $("#examples-Actuator-threaddump-title-200").text("Status: 200 - " + responseActuator200_description.substring(0, responseActuator200_description_break));
9193 $("#examples-Actuator-threaddump-description-200").html(responseActuator200_description.substring(responseActuator200_description_break));
9194 }
9195 </script>
9196
9197
9198 <ul id="responses-detail-Actuator-threaddump-200" class="nav nav-tabs nav-tabs-examples" >
9199 <li class="active">
9200 <a data-toggle="tab" href="#responses-Actuator-threaddump-200-schema">Schema</a>
9201 </li>
9202
9203
9204
9205
9206 </ul>
9207
9208
9209 <div class="tab-content" id="responses-Actuator-threaddump-200-wrapper" style='margin-bottom: 10px;'>
9210 <div class="tab-pane active" id="responses-Actuator-threaddump-200-schema">
9211 <div id="responses-Actuator-threaddump-schema-200" class="exampleStyle">
9212 <script>
9213 $(document).ready(function() {
9214 var schemaWrapper = {
9215 "description" : "OK",
9216 "content" : {
9217 "text/plain;charset=UTF-8" : {
9218 "schema" : {
9219 "type" : "object"
9220 }
9221 },
9222 "application/vnd.spring-boot.actuator.v3+json" : {
9223 "schema" : {
9224 "type" : "object"
9225 }
9226 },
9227 "application/json" : {
9228 "schema" : {
9229 "type" : "object"
9230 }
9231 },
9232 "application/vnd.spring-boot.actuator.v2+json" : {
9233 "schema" : {
9234 "type" : "object"
9235 }
9236 }
9237 }
9238};
9239 var schema = findNode('schema',schemaWrapper).schema;
9240 if (!schema) {
9241 schema = schemaWrapper.schema;
9242 }
9243 if (schema.$ref != null) {
9244 schema = defsParser.$refs.get(schema.$ref);
9245 } else if (schema.items != null && schema.items.$ref != null) {
9246 schema.items = defsParser.$refs.get(schema.items.$ref);
9247 } else {
9248 schemaWrapper.definitions = Object.assign({}, defs);
9249 $RefParser.dereference(schemaWrapper).catch(function(err) {
9250 console.log(err);
9251 });
9252 }
9253
9254 var view = new JSONSchemaView(schema, 3);
9255 $('#responses-Actuator-threaddump-200-schema-data').val(JSON.stringify(schema));
9256 var result = $('#responses-Actuator-threaddump-schema-200');
9257 result.empty();
9258 result.append(view.render());
9259 });
9260 </script>
9261 </div>
9262 <input id='responses-Actuator-threaddump-200-schema-data' type='hidden' value=''></input>
9263 </div>
9264 </div>
9265 </article>
9266 </div>
9267 <hr>
9268 </section>
PatrikBuhrf07e4b32023-04-05 14:40:07 +02009269 <section id="api-AuthorizationAPI">
9270 <h1>AuthorizationAPI</h1>
9271 <div id="api-AuthorizationAPI-performAccessControl">
9272 <article id="api-AuthorizationAPI-performAccessControl-0" data-group="User" data-name="performAccessControl" data-version="0">
9273 <div class="pull-left">
9274 <h1>performAccessControl</h1>
9275 <p>Request for access authorization.</p>
9276 </div>
9277 <div class="pull-right"></div>
9278 <div class="clearfix"></div>
9279 <p></p>
9280 <p class="marked">The authorization function decides if access is granted.</p>
9281 <p></p>
9282 <br />
9283 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/example-authz-check</span></code></pre>
9284 <p>
9285 <h3>Usage and SDK Samples</h3>
9286 </p>
9287 <ul class="nav nav-tabs nav-tabs-examples">
9288 <li class="active"><a href="#examples-AuthorizationAPI-performAccessControl-0-curl">Curl</a></li>
9289 <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-java">Java</a></li>
9290 <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-android">Android</a></li>
9291 <!--<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-groovy">Groovy</a></li>-->
9292 <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-objc">Obj-C</a></li>
9293 <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-javascript">JavaScript</a></li>
9294 <!--<li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-angular">Angular</a></li>-->
9295 <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-csharp">C#</a></li>
9296 <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-php">PHP</a></li>
9297 <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-perl">Perl</a></li>
9298 <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-python">Python</a></li>
9299 <li class=""><a href="#examples-AuthorizationAPI-performAccessControl-0-rust">Rust</a></li>
9300 </ul>
9301
9302 <div class="tab-content">
9303 <div class="tab-pane active" id="examples-AuthorizationAPI-performAccessControl-0-curl">
9304 <pre class="prettyprint"><code class="language-bsh">curl -X POST \
9305 -H "Accept: application/json" \
9306 -H "Content-Type: application/json" \
9307 "http://localhost/example-authz-check" \
9308 -d ''
9309</code></pre>
9310 </div>
9311 <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-java">
9312 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
9313import org.openapitools.client.auth.*;
9314import org.openapitools.client.model.*;
9315import org.openapitools.client.api.AuthorizationAPIApi;
9316
9317import java.io.File;
9318import java.util.*;
9319
9320public class AuthorizationAPIApiExample {
9321 public static void main(String[] args) {
9322
9323 // Create an instance of the API class
9324 AuthorizationAPIApi apiInstance = new AuthorizationAPIApi();
9325 PolicyAuthorization policyAuthorization = ; // PolicyAuthorization |
9326
9327 try {
9328 authorization_result result = apiInstance.performAccessControl(policyAuthorization);
9329 System.out.println(result);
9330 } catch (ApiException e) {
9331 System.err.println("Exception when calling AuthorizationAPIApi#performAccessControl");
9332 e.printStackTrace();
9333 }
9334 }
9335}
9336</code></pre>
9337 </div>
9338
9339 <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-android">
9340 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.AuthorizationAPIApi;
9341
9342public class AuthorizationAPIApiExample {
9343 public static void main(String[] args) {
9344 AuthorizationAPIApi apiInstance = new AuthorizationAPIApi();
9345 PolicyAuthorization policyAuthorization = ; // PolicyAuthorization |
9346
9347 try {
9348 authorization_result result = apiInstance.performAccessControl(policyAuthorization);
9349 System.out.println(result);
9350 } catch (ApiException e) {
9351 System.err.println("Exception when calling AuthorizationAPIApi#performAccessControl");
9352 e.printStackTrace();
9353 }
9354 }
9355}</code></pre>
9356 </div>
9357 <!--
9358 <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-groovy">
9359 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9360 </div> -->
9361 <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-objc">
9362 <pre class="prettyprint"><code class="language-cpp">
9363
9364// Create an instance of the API class
9365AuthorizationAPIApi *apiInstance = [[AuthorizationAPIApi alloc] init];
9366PolicyAuthorization *policyAuthorization = ; //
9367
9368// Request for access authorization.
9369[apiInstance performAccessControlWith:policyAuthorization
9370 completionHandler: ^(authorization_result output, NSError* error) {
9371 if (output) {
9372 NSLog(@"%@", output);
9373 }
9374 if (error) {
9375 NSLog(@"Error: %@", error);
9376 }
9377}];
9378</code></pre>
9379 </div>
9380
9381 <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-javascript">
9382 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
9383
9384// Create an instance of the API class
9385var api = new A1PolicyManagementService.AuthorizationAPIApi()
9386var policyAuthorization = ; // {PolicyAuthorization}
9387
9388var callback = function(error, data, response) {
9389 if (error) {
9390 console.error(error);
9391 } else {
9392 console.log('API called successfully. Returned data: ' + data);
9393 }
9394};
9395api.performAccessControl(policyAuthorization, callback);
9396</code></pre>
9397 </div>
9398
9399 <!--<div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-angular">
9400 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9401 </div>-->
9402 <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-csharp">
9403 <pre class="prettyprint"><code class="language-cs">using System;
9404using System.Diagnostics;
9405using Org.OpenAPITools.Api;
9406using Org.OpenAPITools.Client;
9407using Org.OpenAPITools.Model;
9408
9409namespace Example
9410{
9411 public class performAccessControlExample
9412 {
9413 public void main()
9414 {
9415
9416 // Create an instance of the API class
9417 var apiInstance = new AuthorizationAPIApi();
9418 var policyAuthorization = new PolicyAuthorization(); // PolicyAuthorization |
9419
9420 try {
9421 // Request for access authorization.
9422 authorization_result result = apiInstance.performAccessControl(policyAuthorization);
9423 Debug.WriteLine(result);
9424 } catch (Exception e) {
9425 Debug.Print("Exception when calling AuthorizationAPIApi.performAccessControl: " + e.Message );
9426 }
9427 }
9428 }
9429}
9430</code></pre>
9431 </div>
9432
9433 <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-php">
9434 <pre class="prettyprint"><code class="language-php"><&#63;php
9435require_once(__DIR__ . '/vendor/autoload.php');
9436
9437// Create an instance of the API class
9438$api_instance = new OpenAPITools\Client\Api\AuthorizationAPIApi();
9439$policyAuthorization = ; // PolicyAuthorization |
9440
9441try {
9442 $result = $api_instance->performAccessControl($policyAuthorization);
9443 print_r($result);
9444} catch (Exception $e) {
9445 echo 'Exception when calling AuthorizationAPIApi->performAccessControl: ', $e->getMessage(), PHP_EOL;
9446}
9447?></code></pre>
9448 </div>
9449
9450 <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-perl">
9451 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
9452use WWW::OPenAPIClient::Configuration;
9453use WWW::OPenAPIClient::AuthorizationAPIApi;
9454
9455# Create an instance of the API class
9456my $api_instance = WWW::OPenAPIClient::AuthorizationAPIApi->new();
9457my $policyAuthorization = WWW::OPenAPIClient::Object::PolicyAuthorization->new(); # PolicyAuthorization |
9458
9459eval {
9460 my $result = $api_instance->performAccessControl(policyAuthorization => $policyAuthorization);
9461 print Dumper($result);
9462};
9463if ($@) {
9464 warn "Exception when calling AuthorizationAPIApi->performAccessControl: $@\n";
9465}</code></pre>
9466 </div>
9467
9468 <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-python">
9469 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
9470import time
9471import openapi_client
9472from openapi_client.rest import ApiException
9473from pprint import pprint
9474
9475# Create an instance of the API class
9476api_instance = openapi_client.AuthorizationAPIApi()
9477policyAuthorization = # PolicyAuthorization |
9478
9479try:
9480 # Request for access authorization.
9481 api_response = api_instance.perform_access_control(policyAuthorization)
9482 pprint(api_response)
9483except ApiException as e:
9484 print("Exception when calling AuthorizationAPIApi->performAccessControl: %s\n" % e)</code></pre>
9485 </div>
9486
9487 <div class="tab-pane" id="examples-AuthorizationAPI-performAccessControl-0-rust">
9488 <pre class="prettyprint"><code class="language-rust">extern crate AuthorizationAPIApi;
9489
9490pub fn main() {
9491 let policyAuthorization = ; // PolicyAuthorization
9492
9493 let mut context = AuthorizationAPIApi::Context::default();
9494 let result = client.performAccessControl(policyAuthorization, &context).wait();
9495
9496 println!("{:?}", result);
9497}
9498</code></pre>
9499 </div>
9500 </div>
9501
9502 <h2>Scopes</h2>
9503 <table>
9504
9505 </table>
9506
9507 <h2>Parameters</h2>
9508
9509
9510
9511 <div class="methodsubtabletitle">Body parameters</div>
9512 <table id="methodsubtable">
9513 <tr>
9514 <th width="150px">Name</th>
9515 <th>Description</th>
9516 </tr>
9517 <tr><td style="width:150px;">policyAuthorization <span style="color:red;">*</span></td>
9518<td>
9519<p class="marked"></p>
9520<script>
9521$(document).ready(function() {
9522 var schemaWrapper = {
9523 "content" : {
9524 "application/json" : {
9525 "schema" : {
9526 "$ref" : "#/components/schemas/policy_authorization"
9527 }
9528 }
9529 },
9530 "required" : true
9531};
9532
9533 var schema = findNode('schema',schemaWrapper).schema;
9534 if (!schema) {
9535 schema = schemaWrapper.schema;
9536 }
9537 if (schema.$ref != null) {
9538 schema = defsParser.$refs.get(schema.$ref);
9539 } else {
9540 schemaWrapper.definitions = Object.assign({}, defs);
9541 $RefParser.dereference(schemaWrapper).catch(function(err) {
9542 console.log(err);
9543 });
9544 }
9545
9546 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
9547 var result = $('#d2e199_performAccessControl_policyAuthorization');
9548 result.empty();
9549 result.append(view.render());
9550});
9551</script>
9552<div id="d2e199_performAccessControl_policyAuthorization"></div>
9553</td>
9554</tr>
9555
9556 </table>
9557
9558
9559
9560 <h2>Responses</h2>
9561 <h3 id="examples-AuthorizationAPI-performAccessControl-title-200"></h3>
9562 <p id="examples-AuthorizationAPI-performAccessControl-description-200" class="marked"></p>
9563 <script>
9564 var responseAuthorizationAPI200_description = `OK`;
9565 var responseAuthorizationAPI200_description_break = responseAuthorizationAPI200_description.indexOf('\n');
9566 if (responseAuthorizationAPI200_description_break == -1) {
9567 $("#examples-AuthorizationAPI-performAccessControl-title-200").text("Status: 200 - " + responseAuthorizationAPI200_description);
9568 } else {
9569 $("#examples-AuthorizationAPI-performAccessControl-title-200").text("Status: 200 - " + responseAuthorizationAPI200_description.substring(0, responseAuthorizationAPI200_description_break));
9570 $("#examples-AuthorizationAPI-performAccessControl-description-200").html(responseAuthorizationAPI200_description.substring(responseAuthorizationAPI200_description_break));
9571 }
9572 </script>
9573
9574
9575 <ul id="responses-detail-AuthorizationAPI-performAccessControl-200" class="nav nav-tabs nav-tabs-examples" >
9576 <li class="active">
9577 <a data-toggle="tab" href="#responses-AuthorizationAPI-performAccessControl-200-schema">Schema</a>
9578 </li>
9579
9580
9581
9582
9583 </ul>
9584
9585
9586 <div class="tab-content" id="responses-AuthorizationAPI-performAccessControl-200-wrapper" style='margin-bottom: 10px;'>
9587 <div class="tab-pane active" id="responses-AuthorizationAPI-performAccessControl-200-schema">
9588 <div id="responses-AuthorizationAPI-performAccessControl-schema-200" class="exampleStyle">
9589 <script>
9590 $(document).ready(function() {
9591 var schemaWrapper = {
9592 "description" : "OK",
9593 "content" : {
9594 "application/json" : {
9595 "schema" : {
9596 "$ref" : "#/components/schemas/authorization_result"
9597 }
9598 }
9599 }
9600};
9601 var schema = findNode('schema',schemaWrapper).schema;
9602 if (!schema) {
9603 schema = schemaWrapper.schema;
9604 }
9605 if (schema.$ref != null) {
9606 schema = defsParser.$refs.get(schema.$ref);
9607 } else if (schema.items != null && schema.items.$ref != null) {
9608 schema.items = defsParser.$refs.get(schema.items.$ref);
9609 } else {
9610 schemaWrapper.definitions = Object.assign({}, defs);
9611 $RefParser.dereference(schemaWrapper).catch(function(err) {
9612 console.log(err);
9613 });
9614 }
9615
9616 var view = new JSONSchemaView(schema, 3);
9617 $('#responses-AuthorizationAPI-performAccessControl-200-schema-data').val(JSON.stringify(schema));
9618 var result = $('#responses-AuthorizationAPI-performAccessControl-schema-200');
9619 result.empty();
9620 result.append(view.render());
9621 });
9622 </script>
9623 </div>
9624 <input id='responses-AuthorizationAPI-performAccessControl-200-schema-data' type='hidden' value=''></input>
9625 </div>
9626 </div>
9627 </article>
9628 </div>
9629 <hr>
9630 </section>
JohnKeeney62abcd82023-03-01 19:04:58 +00009631 <section id="api-HealthCheck">
9632 <h1>HealthCheck</h1>
9633 <div id="api-HealthCheck-getStatus">
9634 <article id="api-HealthCheck-getStatus-0" data-group="User" data-name="getStatus" data-version="0">
9635 <div class="pull-left">
9636 <h1>getStatus</h1>
9637 <p>Returns status and statistics of this service</p>
9638 </div>
9639 <div class="pull-right"></div>
9640 <div class="clearfix"></div>
9641 <p></p>
9642 <p class="marked"></p>
9643 <p></p>
9644 <br />
9645 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/status</span></code></pre>
9646 <p>
9647 <h3>Usage and SDK Samples</h3>
9648 </p>
9649 <ul class="nav nav-tabs nav-tabs-examples">
9650 <li class="active"><a href="#examples-HealthCheck-getStatus-0-curl">Curl</a></li>
9651 <li class=""><a href="#examples-HealthCheck-getStatus-0-java">Java</a></li>
9652 <li class=""><a href="#examples-HealthCheck-getStatus-0-android">Android</a></li>
9653 <!--<li class=""><a href="#examples-HealthCheck-getStatus-0-groovy">Groovy</a></li>-->
9654 <li class=""><a href="#examples-HealthCheck-getStatus-0-objc">Obj-C</a></li>
9655 <li class=""><a href="#examples-HealthCheck-getStatus-0-javascript">JavaScript</a></li>
9656 <!--<li class=""><a href="#examples-HealthCheck-getStatus-0-angular">Angular</a></li>-->
9657 <li class=""><a href="#examples-HealthCheck-getStatus-0-csharp">C#</a></li>
9658 <li class=""><a href="#examples-HealthCheck-getStatus-0-php">PHP</a></li>
9659 <li class=""><a href="#examples-HealthCheck-getStatus-0-perl">Perl</a></li>
9660 <li class=""><a href="#examples-HealthCheck-getStatus-0-python">Python</a></li>
9661 <li class=""><a href="#examples-HealthCheck-getStatus-0-rust">Rust</a></li>
9662 </ul>
9663
9664 <div class="tab-content">
9665 <div class="tab-pane active" id="examples-HealthCheck-getStatus-0-curl">
9666 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
9667 -H "Accept: application/json" \
9668 "http://localhost/a1-policy/v2/status"
9669</code></pre>
9670 </div>
9671 <div class="tab-pane" id="examples-HealthCheck-getStatus-0-java">
9672 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
9673import org.openapitools.client.auth.*;
9674import org.openapitools.client.model.*;
9675import org.openapitools.client.api.HealthCheckApi;
9676
9677import java.io.File;
9678import java.util.*;
9679
9680public class HealthCheckApiExample {
9681 public static void main(String[] args) {
9682
9683 // Create an instance of the API class
9684 HealthCheckApi apiInstance = new HealthCheckApi();
9685
9686 try {
9687 status_info_v2 result = apiInstance.getStatus();
9688 System.out.println(result);
9689 } catch (ApiException e) {
9690 System.err.println("Exception when calling HealthCheckApi#getStatus");
9691 e.printStackTrace();
9692 }
9693 }
9694}
9695</code></pre>
9696 </div>
9697
9698 <div class="tab-pane" id="examples-HealthCheck-getStatus-0-android">
9699 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.HealthCheckApi;
9700
9701public class HealthCheckApiExample {
9702 public static void main(String[] args) {
9703 HealthCheckApi apiInstance = new HealthCheckApi();
9704
9705 try {
9706 status_info_v2 result = apiInstance.getStatus();
9707 System.out.println(result);
9708 } catch (ApiException e) {
9709 System.err.println("Exception when calling HealthCheckApi#getStatus");
9710 e.printStackTrace();
9711 }
9712 }
9713}</code></pre>
9714 </div>
9715 <!--
9716 <div class="tab-pane" id="examples-HealthCheck-getStatus-0-groovy">
9717 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9718 </div> -->
9719 <div class="tab-pane" id="examples-HealthCheck-getStatus-0-objc">
9720 <pre class="prettyprint"><code class="language-cpp">
9721
9722// Create an instance of the API class
9723HealthCheckApi *apiInstance = [[HealthCheckApi alloc] init];
9724
9725// Returns status and statistics of this service
9726[apiInstance getStatusWithCompletionHandler:
9727 ^(status_info_v2 output, NSError* error) {
9728 if (output) {
9729 NSLog(@"%@", output);
9730 }
9731 if (error) {
9732 NSLog(@"Error: %@", error);
9733 }
9734}];
9735</code></pre>
9736 </div>
9737
9738 <div class="tab-pane" id="examples-HealthCheck-getStatus-0-javascript">
9739 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
9740
9741// Create an instance of the API class
9742var api = new A1PolicyManagementService.HealthCheckApi()
9743var callback = function(error, data, response) {
9744 if (error) {
9745 console.error(error);
9746 } else {
9747 console.log('API called successfully. Returned data: ' + data);
9748 }
9749};
9750api.getStatus(callback);
9751</code></pre>
9752 </div>
9753
9754 <!--<div class="tab-pane" id="examples-HealthCheck-getStatus-0-angular">
9755 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9756 </div>-->
9757 <div class="tab-pane" id="examples-HealthCheck-getStatus-0-csharp">
9758 <pre class="prettyprint"><code class="language-cs">using System;
9759using System.Diagnostics;
9760using Org.OpenAPITools.Api;
9761using Org.OpenAPITools.Client;
9762using Org.OpenAPITools.Model;
9763
9764namespace Example
9765{
9766 public class getStatusExample
9767 {
9768 public void main()
9769 {
9770
9771 // Create an instance of the API class
9772 var apiInstance = new HealthCheckApi();
9773
9774 try {
9775 // Returns status and statistics of this service
9776 status_info_v2 result = apiInstance.getStatus();
9777 Debug.WriteLine(result);
9778 } catch (Exception e) {
9779 Debug.Print("Exception when calling HealthCheckApi.getStatus: " + e.Message );
9780 }
9781 }
9782 }
9783}
9784</code></pre>
9785 </div>
9786
9787 <div class="tab-pane" id="examples-HealthCheck-getStatus-0-php">
9788 <pre class="prettyprint"><code class="language-php"><&#63;php
9789require_once(__DIR__ . '/vendor/autoload.php');
9790
9791// Create an instance of the API class
9792$api_instance = new OpenAPITools\Client\Api\HealthCheckApi();
9793
9794try {
9795 $result = $api_instance->getStatus();
9796 print_r($result);
9797} catch (Exception $e) {
9798 echo 'Exception when calling HealthCheckApi->getStatus: ', $e->getMessage(), PHP_EOL;
9799}
9800?></code></pre>
9801 </div>
9802
9803 <div class="tab-pane" id="examples-HealthCheck-getStatus-0-perl">
9804 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
9805use WWW::OPenAPIClient::Configuration;
9806use WWW::OPenAPIClient::HealthCheckApi;
9807
9808# Create an instance of the API class
9809my $api_instance = WWW::OPenAPIClient::HealthCheckApi->new();
9810
9811eval {
9812 my $result = $api_instance->getStatus();
9813 print Dumper($result);
9814};
9815if ($@) {
9816 warn "Exception when calling HealthCheckApi->getStatus: $@\n";
9817}</code></pre>
9818 </div>
9819
9820 <div class="tab-pane" id="examples-HealthCheck-getStatus-0-python">
9821 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
9822import time
9823import openapi_client
9824from openapi_client.rest import ApiException
9825from pprint import pprint
9826
9827# Create an instance of the API class
9828api_instance = openapi_client.HealthCheckApi()
9829
9830try:
9831 # Returns status and statistics of this service
9832 api_response = api_instance.get_status()
9833 pprint(api_response)
9834except ApiException as e:
9835 print("Exception when calling HealthCheckApi->getStatus: %s\n" % e)</code></pre>
9836 </div>
9837
9838 <div class="tab-pane" id="examples-HealthCheck-getStatus-0-rust">
9839 <pre class="prettyprint"><code class="language-rust">extern crate HealthCheckApi;
9840
9841pub fn main() {
9842
9843 let mut context = HealthCheckApi::Context::default();
9844 let result = client.getStatus(&context).wait();
9845
9846 println!("{:?}", result);
9847}
9848</code></pre>
9849 </div>
9850 </div>
9851
9852 <h2>Scopes</h2>
9853 <table>
9854
9855 </table>
9856
9857 <h2>Parameters</h2>
9858
9859
9860
9861
9862
9863
9864 <h2>Responses</h2>
9865 <h3 id="examples-HealthCheck-getStatus-title-200"></h3>
9866 <p id="examples-HealthCheck-getStatus-description-200" class="marked"></p>
9867 <script>
9868 var responseHealthCheck200_description = `Service is living`;
9869 var responseHealthCheck200_description_break = responseHealthCheck200_description.indexOf('\n');
9870 if (responseHealthCheck200_description_break == -1) {
9871 $("#examples-HealthCheck-getStatus-title-200").text("Status: 200 - " + responseHealthCheck200_description);
9872 } else {
9873 $("#examples-HealthCheck-getStatus-title-200").text("Status: 200 - " + responseHealthCheck200_description.substring(0, responseHealthCheck200_description_break));
9874 $("#examples-HealthCheck-getStatus-description-200").html(responseHealthCheck200_description.substring(responseHealthCheck200_description_break));
9875 }
9876 </script>
9877
9878
9879 <ul id="responses-detail-HealthCheck-getStatus-200" class="nav nav-tabs nav-tabs-examples" >
9880 <li class="active">
9881 <a data-toggle="tab" href="#responses-HealthCheck-getStatus-200-schema">Schema</a>
9882 </li>
9883
9884
9885
9886
9887 </ul>
9888
9889
9890 <div class="tab-content" id="responses-HealthCheck-getStatus-200-wrapper" style='margin-bottom: 10px;'>
9891 <div class="tab-pane active" id="responses-HealthCheck-getStatus-200-schema">
9892 <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
9893 <script>
9894 $(document).ready(function() {
9895 var schemaWrapper = {
9896 "description" : "Service is living",
9897 "content" : {
9898 "application/json" : {
9899 "schema" : {
9900 "$ref" : "#/components/schemas/status_info_v2"
9901 }
9902 }
9903 }
9904};
9905 var schema = findNode('schema',schemaWrapper).schema;
9906 if (!schema) {
9907 schema = schemaWrapper.schema;
9908 }
9909 if (schema.$ref != null) {
9910 schema = defsParser.$refs.get(schema.$ref);
9911 } else if (schema.items != null && schema.items.$ref != null) {
9912 schema.items = defsParser.$refs.get(schema.items.$ref);
9913 } else {
9914 schemaWrapper.definitions = Object.assign({}, defs);
9915 $RefParser.dereference(schemaWrapper).catch(function(err) {
9916 console.log(err);
9917 });
9918 }
9919
9920 var view = new JSONSchemaView(schema, 3);
9921 $('#responses-HealthCheck-getStatus-200-schema-data').val(JSON.stringify(schema));
9922 var result = $('#responses-HealthCheck-getStatus-schema-200');
9923 result.empty();
9924 result.append(view.render());
9925 });
9926 </script>
9927 </div>
9928 <input id='responses-HealthCheck-getStatus-200-schema-data' type='hidden' value=''></input>
9929 </div>
9930 </div>
9931 </article>
9932 </div>
9933 <hr>
9934 <div id="api-HealthCheck-getStatusV1">
9935 <article id="api-HealthCheck-getStatusV1-0" data-group="User" data-name="getStatusV1" data-version="0">
9936 <div class="pull-left">
9937 <h1>getStatusV1</h1>
9938 <p>Returns status and statistics of this service</p>
9939 </div>
9940 <div class="pull-right"></div>
9941 <div class="clearfix"></div>
9942 <p></p>
9943 <p class="marked"></p>
9944 <p></p>
9945 <br />
9946 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/status</span></code></pre>
9947 <p>
9948 <h3>Usage and SDK Samples</h3>
9949 </p>
9950 <ul class="nav nav-tabs nav-tabs-examples">
9951 <li class="active"><a href="#examples-HealthCheck-getStatusV1-0-curl">Curl</a></li>
9952 <li class=""><a href="#examples-HealthCheck-getStatusV1-0-java">Java</a></li>
9953 <li class=""><a href="#examples-HealthCheck-getStatusV1-0-android">Android</a></li>
9954 <!--<li class=""><a href="#examples-HealthCheck-getStatusV1-0-groovy">Groovy</a></li>-->
9955 <li class=""><a href="#examples-HealthCheck-getStatusV1-0-objc">Obj-C</a></li>
9956 <li class=""><a href="#examples-HealthCheck-getStatusV1-0-javascript">JavaScript</a></li>
9957 <!--<li class=""><a href="#examples-HealthCheck-getStatusV1-0-angular">Angular</a></li>-->
9958 <li class=""><a href="#examples-HealthCheck-getStatusV1-0-csharp">C#</a></li>
9959 <li class=""><a href="#examples-HealthCheck-getStatusV1-0-php">PHP</a></li>
9960 <li class=""><a href="#examples-HealthCheck-getStatusV1-0-perl">Perl</a></li>
9961 <li class=""><a href="#examples-HealthCheck-getStatusV1-0-python">Python</a></li>
9962 <li class=""><a href="#examples-HealthCheck-getStatusV1-0-rust">Rust</a></li>
9963 </ul>
9964
9965 <div class="tab-content">
9966 <div class="tab-pane active" id="examples-HealthCheck-getStatusV1-0-curl">
9967 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
9968 -H "Accept: */*" \
9969 "http://localhost/status"
9970</code></pre>
9971 </div>
9972 <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-java">
9973 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
9974import org.openapitools.client.auth.*;
9975import org.openapitools.client.model.*;
9976import org.openapitools.client.api.HealthCheckApi;
9977
9978import java.io.File;
9979import java.util.*;
9980
9981public class HealthCheckApiExample {
9982 public static void main(String[] args) {
9983
9984 // Create an instance of the API class
9985 HealthCheckApi apiInstance = new HealthCheckApi();
9986
9987 try {
9988 'String' result = apiInstance.getStatusV1();
9989 System.out.println(result);
9990 } catch (ApiException e) {
9991 System.err.println("Exception when calling HealthCheckApi#getStatusV1");
9992 e.printStackTrace();
9993 }
9994 }
9995}
9996</code></pre>
9997 </div>
9998
9999 <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-android">
10000 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.HealthCheckApi;
10001
10002public class HealthCheckApiExample {
10003 public static void main(String[] args) {
10004 HealthCheckApi apiInstance = new HealthCheckApi();
10005
10006 try {
10007 'String' result = apiInstance.getStatusV1();
10008 System.out.println(result);
10009 } catch (ApiException e) {
10010 System.err.println("Exception when calling HealthCheckApi#getStatusV1");
10011 e.printStackTrace();
10012 }
10013 }
10014}</code></pre>
10015 </div>
10016 <!--
10017 <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-groovy">
10018 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10019 </div> -->
10020 <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-objc">
10021 <pre class="prettyprint"><code class="language-cpp">
10022
10023// Create an instance of the API class
10024HealthCheckApi *apiInstance = [[HealthCheckApi alloc] init];
10025
10026// Returns status and statistics of this service
10027[apiInstance getStatusV1WithCompletionHandler:
10028 ^('String' output, NSError* error) {
10029 if (output) {
10030 NSLog(@"%@", output);
10031 }
10032 if (error) {
10033 NSLog(@"Error: %@", error);
10034 }
10035}];
10036</code></pre>
10037 </div>
10038
10039 <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-javascript">
10040 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
10041
10042// Create an instance of the API class
10043var api = new A1PolicyManagementService.HealthCheckApi()
10044var callback = function(error, data, response) {
10045 if (error) {
10046 console.error(error);
10047 } else {
10048 console.log('API called successfully. Returned data: ' + data);
10049 }
10050};
10051api.getStatusV1(callback);
10052</code></pre>
10053 </div>
10054
10055 <!--<div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-angular">
10056 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10057 </div>-->
10058 <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-csharp">
10059 <pre class="prettyprint"><code class="language-cs">using System;
10060using System.Diagnostics;
10061using Org.OpenAPITools.Api;
10062using Org.OpenAPITools.Client;
10063using Org.OpenAPITools.Model;
10064
10065namespace Example
10066{
10067 public class getStatusV1Example
10068 {
10069 public void main()
10070 {
10071
10072 // Create an instance of the API class
10073 var apiInstance = new HealthCheckApi();
10074
10075 try {
10076 // Returns status and statistics of this service
10077 'String' result = apiInstance.getStatusV1();
10078 Debug.WriteLine(result);
10079 } catch (Exception e) {
10080 Debug.Print("Exception when calling HealthCheckApi.getStatusV1: " + e.Message );
10081 }
10082 }
10083 }
10084}
10085</code></pre>
10086 </div>
10087
10088 <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-php">
10089 <pre class="prettyprint"><code class="language-php"><&#63;php
10090require_once(__DIR__ . '/vendor/autoload.php');
10091
10092// Create an instance of the API class
10093$api_instance = new OpenAPITools\Client\Api\HealthCheckApi();
10094
10095try {
10096 $result = $api_instance->getStatusV1();
10097 print_r($result);
10098} catch (Exception $e) {
10099 echo 'Exception when calling HealthCheckApi->getStatusV1: ', $e->getMessage(), PHP_EOL;
10100}
10101?></code></pre>
10102 </div>
10103
10104 <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-perl">
10105 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
10106use WWW::OPenAPIClient::Configuration;
10107use WWW::OPenAPIClient::HealthCheckApi;
10108
10109# Create an instance of the API class
10110my $api_instance = WWW::OPenAPIClient::HealthCheckApi->new();
10111
10112eval {
10113 my $result = $api_instance->getStatusV1();
10114 print Dumper($result);
10115};
10116if ($@) {
10117 warn "Exception when calling HealthCheckApi->getStatusV1: $@\n";
10118}</code></pre>
10119 </div>
10120
10121 <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-python">
10122 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
10123import time
10124import openapi_client
10125from openapi_client.rest import ApiException
10126from pprint import pprint
10127
10128# Create an instance of the API class
10129api_instance = openapi_client.HealthCheckApi()
10130
10131try:
10132 # Returns status and statistics of this service
10133 api_response = api_instance.get_status_v1()
10134 pprint(api_response)
10135except ApiException as e:
10136 print("Exception when calling HealthCheckApi->getStatusV1: %s\n" % e)</code></pre>
10137 </div>
10138
10139 <div class="tab-pane" id="examples-HealthCheck-getStatusV1-0-rust">
10140 <pre class="prettyprint"><code class="language-rust">extern crate HealthCheckApi;
10141
10142pub fn main() {
10143
10144 let mut context = HealthCheckApi::Context::default();
10145 let result = client.getStatusV1(&context).wait();
10146
10147 println!("{:?}", result);
10148}
10149</code></pre>
10150 </div>
10151 </div>
10152
10153 <h2>Scopes</h2>
10154 <table>
10155
10156 </table>
10157
10158 <h2>Parameters</h2>
10159
10160
10161
10162
10163
10164
10165 <h2>Responses</h2>
10166 <h3 id="examples-HealthCheck-getStatusV1-title-200"></h3>
10167 <p id="examples-HealthCheck-getStatusV1-description-200" class="marked"></p>
10168 <script>
10169 var responseHealthCheck200_description = `Service is living`;
10170 var responseHealthCheck200_description_break = responseHealthCheck200_description.indexOf('\n');
10171 if (responseHealthCheck200_description_break == -1) {
10172 $("#examples-HealthCheck-getStatusV1-title-200").text("Status: 200 - " + responseHealthCheck200_description);
10173 } else {
10174 $("#examples-HealthCheck-getStatusV1-title-200").text("Status: 200 - " + responseHealthCheck200_description.substring(0, responseHealthCheck200_description_break));
10175 $("#examples-HealthCheck-getStatusV1-description-200").html(responseHealthCheck200_description.substring(responseHealthCheck200_description_break));
10176 }
10177 </script>
10178
10179
10180 <ul id="responses-detail-HealthCheck-getStatusV1-200" class="nav nav-tabs nav-tabs-examples" >
10181 <li class="active">
10182 <a data-toggle="tab" href="#responses-HealthCheck-getStatusV1-200-schema">Schema</a>
10183 </li>
10184
10185
10186
10187
10188 </ul>
10189
10190
10191 <div class="tab-content" id="responses-HealthCheck-getStatusV1-200-wrapper" style='margin-bottom: 10px;'>
10192 <div class="tab-pane active" id="responses-HealthCheck-getStatusV1-200-schema">
10193 <div id="responses-HealthCheck-getStatusV1-schema-200" class="exampleStyle">
10194 <script>
10195 $(document).ready(function() {
10196 var schemaWrapper = {
10197 "description" : "Service is living",
10198 "content" : {
10199 "*/*" : {
10200 "schema" : {
10201 "type" : "string"
10202 }
10203 }
10204 }
10205};
10206 var schema = findNode('schema',schemaWrapper).schema;
10207 if (!schema) {
10208 schema = schemaWrapper.schema;
10209 }
10210 if (schema.$ref != null) {
10211 schema = defsParser.$refs.get(schema.$ref);
10212 } else if (schema.items != null && schema.items.$ref != null) {
10213 schema.items = defsParser.$refs.get(schema.items.$ref);
10214 } else {
10215 schemaWrapper.definitions = Object.assign({}, defs);
10216 $RefParser.dereference(schemaWrapper).catch(function(err) {
10217 console.log(err);
10218 });
10219 }
10220
10221 var view = new JSONSchemaView(schema, 3);
10222 $('#responses-HealthCheck-getStatusV1-200-schema-data').val(JSON.stringify(schema));
10223 var result = $('#responses-HealthCheck-getStatusV1-schema-200');
10224 result.empty();
10225 result.append(view.render());
10226 });
10227 </script>
10228 </div>
10229 <input id='responses-HealthCheck-getStatusV1-200-schema-data' type='hidden' value=''></input>
10230 </div>
10231 </div>
10232 </article>
10233 </div>
10234 <hr>
10235 </section>
10236 <section id="api-ManagementOfConfiguration">
10237 <h1>ManagementOfConfiguration</h1>
10238 <div id="api-ManagementOfConfiguration-getConfiguration">
10239 <article id="api-ManagementOfConfiguration-getConfiguration-0" data-group="User" data-name="getConfiguration" data-version="0">
10240 <div class="pull-left">
10241 <h1>getConfiguration</h1>
10242 <p>Returns the contents of the application configuration file</p>
10243 </div>
10244 <div class="pull-right"></div>
10245 <div class="clearfix"></div>
10246 <p></p>
10247 <p class="marked"></p>
10248 <p></p>
10249 <br />
10250 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/configuration</span></code></pre>
10251 <p>
10252 <h3>Usage and SDK Samples</h3>
10253 </p>
10254 <ul class="nav nav-tabs nav-tabs-examples">
10255 <li class="active"><a href="#examples-ManagementOfConfiguration-getConfiguration-0-curl">Curl</a></li>
10256 <li class=""><a href="#examples-ManagementOfConfiguration-getConfiguration-0-java">Java</a></li>
10257 <li class=""><a href="#examples-ManagementOfConfiguration-getConfiguration-0-android">Android</a></li>
10258 <!--<li class=""><a href="#examples-ManagementOfConfiguration-getConfiguration-0-groovy">Groovy</a></li>-->
10259 <li class=""><a href="#examples-ManagementOfConfiguration-getConfiguration-0-objc">Obj-C</a></li>
10260 <li class=""><a href="#examples-ManagementOfConfiguration-getConfiguration-0-javascript">JavaScript</a></li>
10261 <!--<li class=""><a href="#examples-ManagementOfConfiguration-getConfiguration-0-angular">Angular</a></li>-->
10262 <li class=""><a href="#examples-ManagementOfConfiguration-getConfiguration-0-csharp">C#</a></li>
10263 <li class=""><a href="#examples-ManagementOfConfiguration-getConfiguration-0-php">PHP</a></li>
10264 <li class=""><a href="#examples-ManagementOfConfiguration-getConfiguration-0-perl">Perl</a></li>
10265 <li class=""><a href="#examples-ManagementOfConfiguration-getConfiguration-0-python">Python</a></li>
10266 <li class=""><a href="#examples-ManagementOfConfiguration-getConfiguration-0-rust">Rust</a></li>
10267 </ul>
10268
10269 <div class="tab-content">
10270 <div class="tab-pane active" id="examples-ManagementOfConfiguration-getConfiguration-0-curl">
10271 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
10272 -H "Accept: application/json" \
10273 "http://localhost/a1-policy/v2/configuration"
10274</code></pre>
10275 </div>
10276 <div class="tab-pane" id="examples-ManagementOfConfiguration-getConfiguration-0-java">
10277 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
10278import org.openapitools.client.auth.*;
10279import org.openapitools.client.model.*;
10280import org.openapitools.client.api.ManagementOfConfigurationApi;
10281
10282import java.io.File;
10283import java.util.*;
10284
10285public class ManagementOfConfigurationApiExample {
10286 public static void main(String[] args) {
10287
10288 // Create an instance of the API class
10289 ManagementOfConfigurationApi apiInstance = new ManagementOfConfigurationApi();
10290
10291 try {
10292 Object result = apiInstance.getConfiguration();
10293 System.out.println(result);
10294 } catch (ApiException e) {
10295 System.err.println("Exception when calling ManagementOfConfigurationApi#getConfiguration");
10296 e.printStackTrace();
10297 }
10298 }
10299}
10300</code></pre>
10301 </div>
10302
10303 <div class="tab-pane" id="examples-ManagementOfConfiguration-getConfiguration-0-android">
10304 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ManagementOfConfigurationApi;
10305
10306public class ManagementOfConfigurationApiExample {
10307 public static void main(String[] args) {
10308 ManagementOfConfigurationApi apiInstance = new ManagementOfConfigurationApi();
10309
10310 try {
10311 Object result = apiInstance.getConfiguration();
10312 System.out.println(result);
10313 } catch (ApiException e) {
10314 System.err.println("Exception when calling ManagementOfConfigurationApi#getConfiguration");
10315 e.printStackTrace();
10316 }
10317 }
10318}</code></pre>
10319 </div>
10320 <!--
10321 <div class="tab-pane" id="examples-ManagementOfConfiguration-getConfiguration-0-groovy">
10322 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10323 </div> -->
10324 <div class="tab-pane" id="examples-ManagementOfConfiguration-getConfiguration-0-objc">
10325 <pre class="prettyprint"><code class="language-cpp">
10326
10327// Create an instance of the API class
10328ManagementOfConfigurationApi *apiInstance = [[ManagementOfConfigurationApi alloc] init];
10329
10330// Returns the contents of the application configuration file
10331[apiInstance getConfigurationWithCompletionHandler:
10332 ^(Object output, NSError* error) {
10333 if (output) {
10334 NSLog(@"%@", output);
10335 }
10336 if (error) {
10337 NSLog(@"Error: %@", error);
10338 }
10339}];
10340</code></pre>
10341 </div>
10342
10343 <div class="tab-pane" id="examples-ManagementOfConfiguration-getConfiguration-0-javascript">
10344 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
10345
10346// Create an instance of the API class
10347var api = new A1PolicyManagementService.ManagementOfConfigurationApi()
10348var callback = function(error, data, response) {
10349 if (error) {
10350 console.error(error);
10351 } else {
10352 console.log('API called successfully. Returned data: ' + data);
10353 }
10354};
10355api.getConfiguration(callback);
10356</code></pre>
10357 </div>
10358
10359 <!--<div class="tab-pane" id="examples-ManagementOfConfiguration-getConfiguration-0-angular">
10360 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10361 </div>-->
10362 <div class="tab-pane" id="examples-ManagementOfConfiguration-getConfiguration-0-csharp">
10363 <pre class="prettyprint"><code class="language-cs">using System;
10364using System.Diagnostics;
10365using Org.OpenAPITools.Api;
10366using Org.OpenAPITools.Client;
10367using Org.OpenAPITools.Model;
10368
10369namespace Example
10370{
10371 public class getConfigurationExample
10372 {
10373 public void main()
10374 {
10375
10376 // Create an instance of the API class
10377 var apiInstance = new ManagementOfConfigurationApi();
10378
10379 try {
10380 // Returns the contents of the application configuration file
10381 Object result = apiInstance.getConfiguration();
10382 Debug.WriteLine(result);
10383 } catch (Exception e) {
10384 Debug.Print("Exception when calling ManagementOfConfigurationApi.getConfiguration: " + e.Message );
10385 }
10386 }
10387 }
10388}
10389</code></pre>
10390 </div>
10391
10392 <div class="tab-pane" id="examples-ManagementOfConfiguration-getConfiguration-0-php">
10393 <pre class="prettyprint"><code class="language-php"><&#63;php
10394require_once(__DIR__ . '/vendor/autoload.php');
10395
10396// Create an instance of the API class
10397$api_instance = new OpenAPITools\Client\Api\ManagementOfConfigurationApi();
10398
10399try {
10400 $result = $api_instance->getConfiguration();
10401 print_r($result);
10402} catch (Exception $e) {
10403 echo 'Exception when calling ManagementOfConfigurationApi->getConfiguration: ', $e->getMessage(), PHP_EOL;
10404}
10405?></code></pre>
10406 </div>
10407
10408 <div class="tab-pane" id="examples-ManagementOfConfiguration-getConfiguration-0-perl">
10409 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
10410use WWW::OPenAPIClient::Configuration;
10411use WWW::OPenAPIClient::ManagementOfConfigurationApi;
10412
10413# Create an instance of the API class
10414my $api_instance = WWW::OPenAPIClient::ManagementOfConfigurationApi->new();
10415
10416eval {
10417 my $result = $api_instance->getConfiguration();
10418 print Dumper($result);
10419};
10420if ($@) {
10421 warn "Exception when calling ManagementOfConfigurationApi->getConfiguration: $@\n";
10422}</code></pre>
10423 </div>
10424
10425 <div class="tab-pane" id="examples-ManagementOfConfiguration-getConfiguration-0-python">
10426 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
10427import time
10428import openapi_client
10429from openapi_client.rest import ApiException
10430from pprint import pprint
10431
10432# Create an instance of the API class
10433api_instance = openapi_client.ManagementOfConfigurationApi()
10434
10435try:
10436 # Returns the contents of the application configuration file
10437 api_response = api_instance.get_configuration()
10438 pprint(api_response)
10439except ApiException as e:
10440 print("Exception when calling ManagementOfConfigurationApi->getConfiguration: %s\n" % e)</code></pre>
10441 </div>
10442
10443 <div class="tab-pane" id="examples-ManagementOfConfiguration-getConfiguration-0-rust">
10444 <pre class="prettyprint"><code class="language-rust">extern crate ManagementOfConfigurationApi;
10445
10446pub fn main() {
10447
10448 let mut context = ManagementOfConfigurationApi::Context::default();
10449 let result = client.getConfiguration(&context).wait();
10450
10451 println!("{:?}", result);
10452}
10453</code></pre>
10454 </div>
10455 </div>
10456
10457 <h2>Scopes</h2>
10458 <table>
10459
10460 </table>
10461
10462 <h2>Parameters</h2>
10463
10464
10465
10466
10467
10468
10469 <h2>Responses</h2>
10470 <h3 id="examples-ManagementOfConfiguration-getConfiguration-title-200"></h3>
10471 <p id="examples-ManagementOfConfiguration-getConfiguration-description-200" class="marked"></p>
10472 <script>
10473 var responseManagementOfConfiguration200_description = `Configuration`;
10474 var responseManagementOfConfiguration200_description_break = responseManagementOfConfiguration200_description.indexOf('\n');
10475 if (responseManagementOfConfiguration200_description_break == -1) {
10476 $("#examples-ManagementOfConfiguration-getConfiguration-title-200").text("Status: 200 - " + responseManagementOfConfiguration200_description);
10477 } else {
10478 $("#examples-ManagementOfConfiguration-getConfiguration-title-200").text("Status: 200 - " + responseManagementOfConfiguration200_description.substring(0, responseManagementOfConfiguration200_description_break));
10479 $("#examples-ManagementOfConfiguration-getConfiguration-description-200").html(responseManagementOfConfiguration200_description.substring(responseManagementOfConfiguration200_description_break));
10480 }
10481 </script>
10482
10483
10484 <ul id="responses-detail-ManagementOfConfiguration-getConfiguration-200" class="nav nav-tabs nav-tabs-examples" >
10485 <li class="active">
10486 <a data-toggle="tab" href="#responses-ManagementOfConfiguration-getConfiguration-200-schema">Schema</a>
10487 </li>
10488
10489
10490
10491
10492 </ul>
10493
10494
10495 <div class="tab-content" id="responses-ManagementOfConfiguration-getConfiguration-200-wrapper" style='margin-bottom: 10px;'>
10496 <div class="tab-pane active" id="responses-ManagementOfConfiguration-getConfiguration-200-schema">
10497 <div id="responses-ManagementOfConfiguration-getConfiguration-schema-200" class="exampleStyle">
10498 <script>
10499 $(document).ready(function() {
10500 var schemaWrapper = {
10501 "description" : "Configuration",
10502 "content" : {
10503 "application/json" : {
10504 "schema" : {
10505 "type" : "object"
10506 }
10507 }
10508 }
10509};
10510 var schema = findNode('schema',schemaWrapper).schema;
10511 if (!schema) {
10512 schema = schemaWrapper.schema;
10513 }
10514 if (schema.$ref != null) {
10515 schema = defsParser.$refs.get(schema.$ref);
10516 } else if (schema.items != null && schema.items.$ref != null) {
10517 schema.items = defsParser.$refs.get(schema.items.$ref);
10518 } else {
10519 schemaWrapper.definitions = Object.assign({}, defs);
10520 $RefParser.dereference(schemaWrapper).catch(function(err) {
10521 console.log(err);
10522 });
10523 }
10524
10525 var view = new JSONSchemaView(schema, 3);
10526 $('#responses-ManagementOfConfiguration-getConfiguration-200-schema-data').val(JSON.stringify(schema));
10527 var result = $('#responses-ManagementOfConfiguration-getConfiguration-schema-200');
10528 result.empty();
10529 result.append(view.render());
10530 });
10531 </script>
10532 </div>
10533 <input id='responses-ManagementOfConfiguration-getConfiguration-200-schema-data' type='hidden' value=''></input>
10534 </div>
10535 </div>
10536 <h3 id="examples-ManagementOfConfiguration-getConfiguration-title-404"></h3>
10537 <p id="examples-ManagementOfConfiguration-getConfiguration-description-404" class="marked"></p>
10538 <script>
10539 var responseManagementOfConfiguration404_description = `File is not found or readable`;
10540 var responseManagementOfConfiguration404_description_break = responseManagementOfConfiguration404_description.indexOf('\n');
10541 if (responseManagementOfConfiguration404_description_break == -1) {
10542 $("#examples-ManagementOfConfiguration-getConfiguration-title-404").text("Status: 404 - " + responseManagementOfConfiguration404_description);
10543 } else {
10544 $("#examples-ManagementOfConfiguration-getConfiguration-title-404").text("Status: 404 - " + responseManagementOfConfiguration404_description.substring(0, responseManagementOfConfiguration404_description_break));
10545 $("#examples-ManagementOfConfiguration-getConfiguration-description-404").html(responseManagementOfConfiguration404_description.substring(responseManagementOfConfiguration404_description_break));
10546 }
10547 </script>
10548
10549
10550 <ul id="responses-detail-ManagementOfConfiguration-getConfiguration-404" class="nav nav-tabs nav-tabs-examples" >
10551 <li class="active">
10552 <a data-toggle="tab" href="#responses-ManagementOfConfiguration-getConfiguration-404-schema">Schema</a>
10553 </li>
10554
10555
10556
10557
10558 </ul>
10559
10560
10561 <div class="tab-content" id="responses-ManagementOfConfiguration-getConfiguration-404-wrapper" style='margin-bottom: 10px;'>
10562 <div class="tab-pane active" id="responses-ManagementOfConfiguration-getConfiguration-404-schema">
10563 <div id="responses-ManagementOfConfiguration-getConfiguration-schema-404" class="exampleStyle">
10564 <script>
10565 $(document).ready(function() {
10566 var schemaWrapper = {
10567 "description" : "File is not found or readable",
10568 "content" : {
10569 "application/json" : {
10570 "schema" : {
10571 "$ref" : "#/components/schemas/error_information"
10572 }
10573 }
10574 }
10575};
10576 var schema = findNode('schema',schemaWrapper).schema;
10577 if (!schema) {
10578 schema = schemaWrapper.schema;
10579 }
10580 if (schema.$ref != null) {
10581 schema = defsParser.$refs.get(schema.$ref);
10582 } else if (schema.items != null && schema.items.$ref != null) {
10583 schema.items = defsParser.$refs.get(schema.items.$ref);
10584 } else {
10585 schemaWrapper.definitions = Object.assign({}, defs);
10586 $RefParser.dereference(schemaWrapper).catch(function(err) {
10587 console.log(err);
10588 });
10589 }
10590
10591 var view = new JSONSchemaView(schema, 3);
10592 $('#responses-ManagementOfConfiguration-getConfiguration-404-schema-data').val(JSON.stringify(schema));
10593 var result = $('#responses-ManagementOfConfiguration-getConfiguration-schema-404');
10594 result.empty();
10595 result.append(view.render());
10596 });
10597 </script>
10598 </div>
10599 <input id='responses-ManagementOfConfiguration-getConfiguration-404-schema-data' type='hidden' value=''></input>
10600 </div>
10601 </div>
10602 </article>
10603 </div>
10604 <hr>
10605 <div id="api-ManagementOfConfiguration-putConfiguration">
10606 <article id="api-ManagementOfConfiguration-putConfiguration-0" data-group="User" data-name="putConfiguration" data-version="0">
10607 <div class="pull-left">
10608 <h1>putConfiguration</h1>
10609 <p>Replace the current configuration file with the given configuration</p>
10610 </div>
10611 <div class="pull-right"></div>
10612 <div class="clearfix"></div>
10613 <p></p>
10614 <p class="marked"></p>
10615 <p></p>
10616 <br />
10617 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/configuration</span></code></pre>
10618 <p>
10619 <h3>Usage and SDK Samples</h3>
10620 </p>
10621 <ul class="nav nav-tabs nav-tabs-examples">
10622 <li class="active"><a href="#examples-ManagementOfConfiguration-putConfiguration-0-curl">Curl</a></li>
10623 <li class=""><a href="#examples-ManagementOfConfiguration-putConfiguration-0-java">Java</a></li>
10624 <li class=""><a href="#examples-ManagementOfConfiguration-putConfiguration-0-android">Android</a></li>
10625 <!--<li class=""><a href="#examples-ManagementOfConfiguration-putConfiguration-0-groovy">Groovy</a></li>-->
10626 <li class=""><a href="#examples-ManagementOfConfiguration-putConfiguration-0-objc">Obj-C</a></li>
10627 <li class=""><a href="#examples-ManagementOfConfiguration-putConfiguration-0-javascript">JavaScript</a></li>
10628 <!--<li class=""><a href="#examples-ManagementOfConfiguration-putConfiguration-0-angular">Angular</a></li>-->
10629 <li class=""><a href="#examples-ManagementOfConfiguration-putConfiguration-0-csharp">C#</a></li>
10630 <li class=""><a href="#examples-ManagementOfConfiguration-putConfiguration-0-php">PHP</a></li>
10631 <li class=""><a href="#examples-ManagementOfConfiguration-putConfiguration-0-perl">Perl</a></li>
10632 <li class=""><a href="#examples-ManagementOfConfiguration-putConfiguration-0-python">Python</a></li>
10633 <li class=""><a href="#examples-ManagementOfConfiguration-putConfiguration-0-rust">Rust</a></li>
10634 </ul>
10635
10636 <div class="tab-content">
10637 <div class="tab-pane active" id="examples-ManagementOfConfiguration-putConfiguration-0-curl">
10638 <pre class="prettyprint"><code class="language-bsh">curl -X PUT \
10639 -H "Accept: */*" \
10640 -H "Content-Type: application/json" \
10641 "http://localhost/a1-policy/v2/configuration" \
10642 -d ''
10643</code></pre>
10644 </div>
10645 <div class="tab-pane" id="examples-ManagementOfConfiguration-putConfiguration-0-java">
10646 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
10647import org.openapitools.client.auth.*;
10648import org.openapitools.client.model.*;
10649import org.openapitools.client.api.ManagementOfConfigurationApi;
10650
10651import java.io.File;
10652import java.util.*;
10653
10654public class ManagementOfConfigurationApiExample {
10655 public static void main(String[] args) {
10656
10657 // Create an instance of the API class
10658 ManagementOfConfigurationApi apiInstance = new ManagementOfConfigurationApi();
10659 Object body = Object; // Object |
10660
10661 try {
10662 Object result = apiInstance.putConfiguration(body);
10663 System.out.println(result);
10664 } catch (ApiException e) {
10665 System.err.println("Exception when calling ManagementOfConfigurationApi#putConfiguration");
10666 e.printStackTrace();
10667 }
10668 }
10669}
10670</code></pre>
10671 </div>
10672
10673 <div class="tab-pane" id="examples-ManagementOfConfiguration-putConfiguration-0-android">
10674 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ManagementOfConfigurationApi;
10675
10676public class ManagementOfConfigurationApiExample {
10677 public static void main(String[] args) {
10678 ManagementOfConfigurationApi apiInstance = new ManagementOfConfigurationApi();
10679 Object body = Object; // Object |
10680
10681 try {
10682 Object result = apiInstance.putConfiguration(body);
10683 System.out.println(result);
10684 } catch (ApiException e) {
10685 System.err.println("Exception when calling ManagementOfConfigurationApi#putConfiguration");
10686 e.printStackTrace();
10687 }
10688 }
10689}</code></pre>
10690 </div>
10691 <!--
10692 <div class="tab-pane" id="examples-ManagementOfConfiguration-putConfiguration-0-groovy">
10693 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10694 </div> -->
10695 <div class="tab-pane" id="examples-ManagementOfConfiguration-putConfiguration-0-objc">
10696 <pre class="prettyprint"><code class="language-cpp">
10697
10698// Create an instance of the API class
10699ManagementOfConfigurationApi *apiInstance = [[ManagementOfConfigurationApi alloc] init];
10700Object *body = Object; //
10701
10702// Replace the current configuration file with the given configuration
10703[apiInstance putConfigurationWith:body
10704 completionHandler: ^(Object output, NSError* error) {
10705 if (output) {
10706 NSLog(@"%@", output);
10707 }
10708 if (error) {
10709 NSLog(@"Error: %@", error);
10710 }
10711}];
10712</code></pre>
10713 </div>
10714
10715 <div class="tab-pane" id="examples-ManagementOfConfiguration-putConfiguration-0-javascript">
10716 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
10717
10718// Create an instance of the API class
10719var api = new A1PolicyManagementService.ManagementOfConfigurationApi()
10720var body = Object; // {Object}
10721
10722var callback = function(error, data, response) {
10723 if (error) {
10724 console.error(error);
10725 } else {
10726 console.log('API called successfully. Returned data: ' + data);
10727 }
10728};
10729api.putConfiguration(body, callback);
10730</code></pre>
10731 </div>
10732
10733 <!--<div class="tab-pane" id="examples-ManagementOfConfiguration-putConfiguration-0-angular">
10734 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10735 </div>-->
10736 <div class="tab-pane" id="examples-ManagementOfConfiguration-putConfiguration-0-csharp">
10737 <pre class="prettyprint"><code class="language-cs">using System;
10738using System.Diagnostics;
10739using Org.OpenAPITools.Api;
10740using Org.OpenAPITools.Client;
10741using Org.OpenAPITools.Model;
10742
10743namespace Example
10744{
10745 public class putConfigurationExample
10746 {
10747 public void main()
10748 {
10749
10750 // Create an instance of the API class
10751 var apiInstance = new ManagementOfConfigurationApi();
10752 var body = Object; // Object |
10753
10754 try {
10755 // Replace the current configuration file with the given configuration
10756 Object result = apiInstance.putConfiguration(body);
10757 Debug.WriteLine(result);
10758 } catch (Exception e) {
10759 Debug.Print("Exception when calling ManagementOfConfigurationApi.putConfiguration: " + e.Message );
10760 }
10761 }
10762 }
10763}
10764</code></pre>
10765 </div>
10766
10767 <div class="tab-pane" id="examples-ManagementOfConfiguration-putConfiguration-0-php">
10768 <pre class="prettyprint"><code class="language-php"><&#63;php
10769require_once(__DIR__ . '/vendor/autoload.php');
10770
10771// Create an instance of the API class
10772$api_instance = new OpenAPITools\Client\Api\ManagementOfConfigurationApi();
10773$body = Object; // Object |
10774
10775try {
10776 $result = $api_instance->putConfiguration($body);
10777 print_r($result);
10778} catch (Exception $e) {
10779 echo 'Exception when calling ManagementOfConfigurationApi->putConfiguration: ', $e->getMessage(), PHP_EOL;
10780}
10781?></code></pre>
10782 </div>
10783
10784 <div class="tab-pane" id="examples-ManagementOfConfiguration-putConfiguration-0-perl">
10785 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
10786use WWW::OPenAPIClient::Configuration;
10787use WWW::OPenAPIClient::ManagementOfConfigurationApi;
10788
10789# Create an instance of the API class
10790my $api_instance = WWW::OPenAPIClient::ManagementOfConfigurationApi->new();
10791my $body = WWW::OPenAPIClient::Object::Object->new(); # Object |
10792
10793eval {
10794 my $result = $api_instance->putConfiguration(body => $body);
10795 print Dumper($result);
10796};
10797if ($@) {
10798 warn "Exception when calling ManagementOfConfigurationApi->putConfiguration: $@\n";
10799}</code></pre>
10800 </div>
10801
10802 <div class="tab-pane" id="examples-ManagementOfConfiguration-putConfiguration-0-python">
10803 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
10804import time
10805import openapi_client
10806from openapi_client.rest import ApiException
10807from pprint import pprint
10808
10809# Create an instance of the API class
10810api_instance = openapi_client.ManagementOfConfigurationApi()
10811body = Object # Object |
10812
10813try:
10814 # Replace the current configuration file with the given configuration
10815 api_response = api_instance.put_configuration(body)
10816 pprint(api_response)
10817except ApiException as e:
10818 print("Exception when calling ManagementOfConfigurationApi->putConfiguration: %s\n" % e)</code></pre>
10819 </div>
10820
10821 <div class="tab-pane" id="examples-ManagementOfConfiguration-putConfiguration-0-rust">
10822 <pre class="prettyprint"><code class="language-rust">extern crate ManagementOfConfigurationApi;
10823
10824pub fn main() {
10825 let body = Object; // Object
10826
10827 let mut context = ManagementOfConfigurationApi::Context::default();
10828 let result = client.putConfiguration(body, &context).wait();
10829
10830 println!("{:?}", result);
10831}
10832</code></pre>
10833 </div>
10834 </div>
10835
10836 <h2>Scopes</h2>
10837 <table>
10838
10839 </table>
10840
10841 <h2>Parameters</h2>
10842
10843
10844
10845 <div class="methodsubtabletitle">Body parameters</div>
10846 <table id="methodsubtable">
10847 <tr>
10848 <th width="150px">Name</th>
10849 <th>Description</th>
10850 </tr>
10851 <tr><td style="width:150px;">body <span style="color:red;">*</span></td>
10852<td>
10853<p class="marked"></p>
10854<script>
10855$(document).ready(function() {
10856 var schemaWrapper = {
10857 "content" : {
10858 "application/json" : {
10859 "schema" : {
10860 "type" : "object"
10861 }
10862 }
10863 },
10864 "required" : true
10865};
10866
10867 var schema = findNode('schema',schemaWrapper).schema;
10868 if (!schema) {
10869 schema = schemaWrapper.schema;
10870 }
10871 if (schema.$ref != null) {
10872 schema = defsParser.$refs.get(schema.$ref);
10873 } else {
10874 schemaWrapper.definitions = Object.assign({}, defs);
10875 $RefParser.dereference(schemaWrapper).catch(function(err) {
10876 console.log(err);
10877 });
10878 }
10879
10880 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
10881 var result = $('#d2e199_putConfiguration_body');
10882 result.empty();
10883 result.append(view.render());
10884});
10885</script>
10886<div id="d2e199_putConfiguration_body"></div>
10887</td>
10888</tr>
10889
10890 </table>
10891
10892
10893
10894 <h2>Responses</h2>
10895 <h3 id="examples-ManagementOfConfiguration-putConfiguration-title-200"></h3>
10896 <p id="examples-ManagementOfConfiguration-putConfiguration-description-200" class="marked"></p>
10897 <script>
10898 var responseManagementOfConfiguration200_description = `Configuration updated`;
10899 var responseManagementOfConfiguration200_description_break = responseManagementOfConfiguration200_description.indexOf('\n');
10900 if (responseManagementOfConfiguration200_description_break == -1) {
10901 $("#examples-ManagementOfConfiguration-putConfiguration-title-200").text("Status: 200 - " + responseManagementOfConfiguration200_description);
10902 } else {
10903 $("#examples-ManagementOfConfiguration-putConfiguration-title-200").text("Status: 200 - " + responseManagementOfConfiguration200_description.substring(0, responseManagementOfConfiguration200_description_break));
10904 $("#examples-ManagementOfConfiguration-putConfiguration-description-200").html(responseManagementOfConfiguration200_description.substring(responseManagementOfConfiguration200_description_break));
10905 }
10906 </script>
10907
10908
10909 <ul id="responses-detail-ManagementOfConfiguration-putConfiguration-200" class="nav nav-tabs nav-tabs-examples" >
10910 <li class="active">
10911 <a data-toggle="tab" href="#responses-ManagementOfConfiguration-putConfiguration-200-schema">Schema</a>
10912 </li>
10913
10914
10915
10916
10917 </ul>
10918
10919
10920 <div class="tab-content" id="responses-ManagementOfConfiguration-putConfiguration-200-wrapper" style='margin-bottom: 10px;'>
10921 <div class="tab-pane active" id="responses-ManagementOfConfiguration-putConfiguration-200-schema">
10922 <div id="responses-ManagementOfConfiguration-putConfiguration-schema-200" class="exampleStyle">
10923 <script>
10924 $(document).ready(function() {
10925 var schemaWrapper = {
10926 "description" : "Configuration updated",
10927 "content" : {
10928 "*/*" : {
10929 "schema" : {
10930 "$ref" : "#/components/schemas/void"
10931 }
10932 }
10933 }
10934};
10935 var schema = findNode('schema',schemaWrapper).schema;
10936 if (!schema) {
10937 schema = schemaWrapper.schema;
10938 }
10939 if (schema.$ref != null) {
10940 schema = defsParser.$refs.get(schema.$ref);
10941 } else if (schema.items != null && schema.items.$ref != null) {
10942 schema.items = defsParser.$refs.get(schema.items.$ref);
10943 } else {
10944 schemaWrapper.definitions = Object.assign({}, defs);
10945 $RefParser.dereference(schemaWrapper).catch(function(err) {
10946 console.log(err);
10947 });
10948 }
10949
10950 var view = new JSONSchemaView(schema, 3);
10951 $('#responses-ManagementOfConfiguration-putConfiguration-200-schema-data').val(JSON.stringify(schema));
10952 var result = $('#responses-ManagementOfConfiguration-putConfiguration-schema-200');
10953 result.empty();
10954 result.append(view.render());
10955 });
10956 </script>
10957 </div>
10958 <input id='responses-ManagementOfConfiguration-putConfiguration-200-schema-data' type='hidden' value=''></input>
10959 </div>
10960 </div>
10961 <h3 id="examples-ManagementOfConfiguration-putConfiguration-title-400"></h3>
10962 <p id="examples-ManagementOfConfiguration-putConfiguration-description-400" class="marked"></p>
10963 <script>
10964 var responseManagementOfConfiguration400_description = `Invalid configuration provided`;
10965 var responseManagementOfConfiguration400_description_break = responseManagementOfConfiguration400_description.indexOf('\n');
10966 if (responseManagementOfConfiguration400_description_break == -1) {
10967 $("#examples-ManagementOfConfiguration-putConfiguration-title-400").text("Status: 400 - " + responseManagementOfConfiguration400_description);
10968 } else {
10969 $("#examples-ManagementOfConfiguration-putConfiguration-title-400").text("Status: 400 - " + responseManagementOfConfiguration400_description.substring(0, responseManagementOfConfiguration400_description_break));
10970 $("#examples-ManagementOfConfiguration-putConfiguration-description-400").html(responseManagementOfConfiguration400_description.substring(responseManagementOfConfiguration400_description_break));
10971 }
10972 </script>
10973
10974
10975 <ul id="responses-detail-ManagementOfConfiguration-putConfiguration-400" class="nav nav-tabs nav-tabs-examples" >
10976 <li class="active">
10977 <a data-toggle="tab" href="#responses-ManagementOfConfiguration-putConfiguration-400-schema">Schema</a>
10978 </li>
10979
10980
10981
10982
10983 </ul>
10984
10985
10986 <div class="tab-content" id="responses-ManagementOfConfiguration-putConfiguration-400-wrapper" style='margin-bottom: 10px;'>
10987 <div class="tab-pane active" id="responses-ManagementOfConfiguration-putConfiguration-400-schema">
10988 <div id="responses-ManagementOfConfiguration-putConfiguration-schema-400" class="exampleStyle">
10989 <script>
10990 $(document).ready(function() {
10991 var schemaWrapper = {
10992 "description" : "Invalid configuration provided",
10993 "content" : {
10994 "*/*" : {
10995 "schema" : {
10996 "$ref" : "#/components/schemas/error_information"
10997 }
10998 }
10999 }
11000};
11001 var schema = findNode('schema',schemaWrapper).schema;
11002 if (!schema) {
11003 schema = schemaWrapper.schema;
11004 }
11005 if (schema.$ref != null) {
11006 schema = defsParser.$refs.get(schema.$ref);
11007 } else if (schema.items != null && schema.items.$ref != null) {
11008 schema.items = defsParser.$refs.get(schema.items.$ref);
11009 } else {
11010 schemaWrapper.definitions = Object.assign({}, defs);
11011 $RefParser.dereference(schemaWrapper).catch(function(err) {
11012 console.log(err);
11013 });
11014 }
11015
11016 var view = new JSONSchemaView(schema, 3);
11017 $('#responses-ManagementOfConfiguration-putConfiguration-400-schema-data').val(JSON.stringify(schema));
11018 var result = $('#responses-ManagementOfConfiguration-putConfiguration-schema-400');
11019 result.empty();
11020 result.append(view.render());
11021 });
11022 </script>
11023 </div>
11024 <input id='responses-ManagementOfConfiguration-putConfiguration-400-schema-data' type='hidden' value=''></input>
11025 </div>
11026 </div>
11027 <h3 id="examples-ManagementOfConfiguration-putConfiguration-title-500"></h3>
11028 <p id="examples-ManagementOfConfiguration-putConfiguration-description-500" class="marked"></p>
11029 <script>
11030 var responseManagementOfConfiguration500_description = `Something went wrong when replacing the configuration. Try again.`;
11031 var responseManagementOfConfiguration500_description_break = responseManagementOfConfiguration500_description.indexOf('\n');
11032 if (responseManagementOfConfiguration500_description_break == -1) {
11033 $("#examples-ManagementOfConfiguration-putConfiguration-title-500").text("Status: 500 - " + responseManagementOfConfiguration500_description);
11034 } else {
11035 $("#examples-ManagementOfConfiguration-putConfiguration-title-500").text("Status: 500 - " + responseManagementOfConfiguration500_description.substring(0, responseManagementOfConfiguration500_description_break));
11036 $("#examples-ManagementOfConfiguration-putConfiguration-description-500").html(responseManagementOfConfiguration500_description.substring(responseManagementOfConfiguration500_description_break));
11037 }
11038 </script>
11039
11040
11041 <ul id="responses-detail-ManagementOfConfiguration-putConfiguration-500" class="nav nav-tabs nav-tabs-examples" >
11042 <li class="active">
11043 <a data-toggle="tab" href="#responses-ManagementOfConfiguration-putConfiguration-500-schema">Schema</a>
11044 </li>
11045
11046
11047
11048
11049 </ul>
11050
11051
11052 <div class="tab-content" id="responses-ManagementOfConfiguration-putConfiguration-500-wrapper" style='margin-bottom: 10px;'>
11053 <div class="tab-pane active" id="responses-ManagementOfConfiguration-putConfiguration-500-schema">
11054 <div id="responses-ManagementOfConfiguration-putConfiguration-schema-500" class="exampleStyle">
11055 <script>
11056 $(document).ready(function() {
11057 var schemaWrapper = {
11058 "description" : "Something went wrong when replacing the configuration. Try again.",
11059 "content" : {
11060 "*/*" : {
11061 "schema" : {
11062 "$ref" : "#/components/schemas/error_information"
11063 }
11064 }
11065 }
11066};
11067 var schema = findNode('schema',schemaWrapper).schema;
11068 if (!schema) {
11069 schema = schemaWrapper.schema;
11070 }
11071 if (schema.$ref != null) {
11072 schema = defsParser.$refs.get(schema.$ref);
11073 } else if (schema.items != null && schema.items.$ref != null) {
11074 schema.items = defsParser.$refs.get(schema.items.$ref);
11075 } else {
11076 schemaWrapper.definitions = Object.assign({}, defs);
11077 $RefParser.dereference(schemaWrapper).catch(function(err) {
11078 console.log(err);
11079 });
11080 }
11081
11082 var view = new JSONSchemaView(schema, 3);
11083 $('#responses-ManagementOfConfiguration-putConfiguration-500-schema-data').val(JSON.stringify(schema));
11084 var result = $('#responses-ManagementOfConfiguration-putConfiguration-schema-500');
11085 result.empty();
11086 result.append(view.render());
11087 });
11088 </script>
11089 </div>
11090 <input id='responses-ManagementOfConfiguration-putConfiguration-500-schema-data' type='hidden' value=''></input>
11091 </div>
11092 </div>
11093 </article>
11094 </div>
11095 <hr>
11096 </section>
11097 <section id="api-NearRTRICRepository">
11098 <h1>NearRTRICRepository</h1>
11099 <div id="api-NearRTRICRepository-getRic">
11100 <article id="api-NearRTRICRepository-getRic-0" data-group="User" data-name="getRic" data-version="0">
11101 <div class="pull-left">
11102 <h1>getRic</h1>
11103 <p>Returns info for one Near-RT RIC</p>
11104 </div>
11105 <div class="pull-right"></div>
11106 <div class="clearfix"></div>
11107 <p></p>
11108 <p class="marked">Either a Near-RT RIC identity or a Managed Element identity can be specified.&lt;br&gt;The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).</p>
11109 <p></p>
11110 <br />
11111 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/rics/ric</span></code></pre>
11112 <p>
11113 <h3>Usage and SDK Samples</h3>
11114 </p>
11115 <ul class="nav nav-tabs nav-tabs-examples">
11116 <li class="active"><a href="#examples-NearRTRICRepository-getRic-0-curl">Curl</a></li>
11117 <li class=""><a href="#examples-NearRTRICRepository-getRic-0-java">Java</a></li>
11118 <li class=""><a href="#examples-NearRTRICRepository-getRic-0-android">Android</a></li>
11119 <!--<li class=""><a href="#examples-NearRTRICRepository-getRic-0-groovy">Groovy</a></li>-->
11120 <li class=""><a href="#examples-NearRTRICRepository-getRic-0-objc">Obj-C</a></li>
11121 <li class=""><a href="#examples-NearRTRICRepository-getRic-0-javascript">JavaScript</a></li>
11122 <!--<li class=""><a href="#examples-NearRTRICRepository-getRic-0-angular">Angular</a></li>-->
11123 <li class=""><a href="#examples-NearRTRICRepository-getRic-0-csharp">C#</a></li>
11124 <li class=""><a href="#examples-NearRTRICRepository-getRic-0-php">PHP</a></li>
11125 <li class=""><a href="#examples-NearRTRICRepository-getRic-0-perl">Perl</a></li>
11126 <li class=""><a href="#examples-NearRTRICRepository-getRic-0-python">Python</a></li>
11127 <li class=""><a href="#examples-NearRTRICRepository-getRic-0-rust">Rust</a></li>
11128 </ul>
11129
11130 <div class="tab-content">
11131 <div class="tab-pane active" id="examples-NearRTRICRepository-getRic-0-curl">
11132 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
11133 -H "Accept: application/json" \
11134 "http://localhost/a1-policy/v2/rics/ric?managed_element_id=managedElementId_example&ric_id=ricId_example"
11135</code></pre>
11136 </div>
11137 <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-java">
11138 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
11139import org.openapitools.client.auth.*;
11140import org.openapitools.client.model.*;
11141import org.openapitools.client.api.NearRTRICRepositoryApi;
11142
11143import java.io.File;
11144import java.util.*;
11145
11146public class NearRTRICRepositoryApiExample {
11147 public static void main(String[] args) {
11148
11149 // Create an instance of the API class
11150 NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
11151 String managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
11152 String ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for.
11153
11154 try {
11155 ric_info_v2 result = apiInstance.getRic(managedElementId, ricId);
11156 System.out.println(result);
11157 } catch (ApiException e) {
11158 System.err.println("Exception when calling NearRTRICRepositoryApi#getRic");
11159 e.printStackTrace();
11160 }
11161 }
11162}
11163</code></pre>
11164 </div>
11165
11166 <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-android">
11167 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.NearRTRICRepositoryApi;
11168
11169public class NearRTRICRepositoryApiExample {
11170 public static void main(String[] args) {
11171 NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
11172 String managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
11173 String ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for.
11174
11175 try {
11176 ric_info_v2 result = apiInstance.getRic(managedElementId, ricId);
11177 System.out.println(result);
11178 } catch (ApiException e) {
11179 System.err.println("Exception when calling NearRTRICRepositoryApi#getRic");
11180 e.printStackTrace();
11181 }
11182 }
11183}</code></pre>
11184 </div>
11185 <!--
11186 <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-groovy">
11187 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11188 </div> -->
11189 <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-objc">
11190 <pre class="prettyprint"><code class="language-cpp">
11191
11192// Create an instance of the API class
11193NearRTRICRepositoryApi *apiInstance = [[NearRTRICRepositoryApi alloc] init];
11194String *managedElementId = managedElementId_example; // The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null)
11195String *ricId = ricId_example; // The identity of a Near-RT RIC to get information for. (optional) (default to null)
11196
11197// Returns info for one Near-RT RIC
11198[apiInstance getRicWith:managedElementId
11199 ricId:ricId
11200 completionHandler: ^(ric_info_v2 output, NSError* error) {
11201 if (output) {
11202 NSLog(@"%@", output);
11203 }
11204 if (error) {
11205 NSLog(@"Error: %@", error);
11206 }
11207}];
11208</code></pre>
11209 </div>
11210
11211 <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-javascript">
11212 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
11213
11214// Create an instance of the API class
11215var api = new A1PolicyManagementService.NearRTRICRepositoryApi()
11216var opts = {
11217 'managedElementId': managedElementId_example, // {String} The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
11218 'ricId': ricId_example // {String} The identity of a Near-RT RIC to get information for.
11219};
11220
11221var callback = function(error, data, response) {
11222 if (error) {
11223 console.error(error);
11224 } else {
11225 console.log('API called successfully. Returned data: ' + data);
11226 }
11227};
11228api.getRic(opts, callback);
11229</code></pre>
11230 </div>
11231
11232 <!--<div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-angular">
11233 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11234 </div>-->
11235 <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-csharp">
11236 <pre class="prettyprint"><code class="language-cs">using System;
11237using System.Diagnostics;
11238using Org.OpenAPITools.Api;
11239using Org.OpenAPITools.Client;
11240using Org.OpenAPITools.Model;
11241
11242namespace Example
11243{
11244 public class getRicExample
11245 {
11246 public void main()
11247 {
11248
11249 // Create an instance of the API class
11250 var apiInstance = new NearRTRICRepositoryApi();
11251 var managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null)
11252 var ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. (optional) (default to null)
11253
11254 try {
11255 // Returns info for one Near-RT RIC
11256 ric_info_v2 result = apiInstance.getRic(managedElementId, ricId);
11257 Debug.WriteLine(result);
11258 } catch (Exception e) {
11259 Debug.Print("Exception when calling NearRTRICRepositoryApi.getRic: " + e.Message );
11260 }
11261 }
11262 }
11263}
11264</code></pre>
11265 </div>
11266
11267 <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-php">
11268 <pre class="prettyprint"><code class="language-php"><&#63;php
11269require_once(__DIR__ . '/vendor/autoload.php');
11270
11271// Create an instance of the API class
11272$api_instance = new OpenAPITools\Client\Api\NearRTRICRepositoryApi();
11273$managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
11274$ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for.
11275
11276try {
11277 $result = $api_instance->getRic($managedElementId, $ricId);
11278 print_r($result);
11279} catch (Exception $e) {
11280 echo 'Exception when calling NearRTRICRepositoryApi->getRic: ', $e->getMessage(), PHP_EOL;
11281}
11282?></code></pre>
11283 </div>
11284
11285 <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-perl">
11286 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
11287use WWW::OPenAPIClient::Configuration;
11288use WWW::OPenAPIClient::NearRTRICRepositoryApi;
11289
11290# Create an instance of the API class
11291my $api_instance = WWW::OPenAPIClient::NearRTRICRepositoryApi->new();
11292my $managedElementId = managedElementId_example; # String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
11293my $ricId = ricId_example; # String | The identity of a Near-RT RIC to get information for.
11294
11295eval {
11296 my $result = $api_instance->getRic(managedElementId => $managedElementId, ricId => $ricId);
11297 print Dumper($result);
11298};
11299if ($@) {
11300 warn "Exception when calling NearRTRICRepositoryApi->getRic: $@\n";
11301}</code></pre>
11302 </div>
11303
11304 <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-python">
11305 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
11306import time
11307import openapi_client
11308from openapi_client.rest import ApiException
11309from pprint import pprint
11310
11311# Create an instance of the API class
11312api_instance = openapi_client.NearRTRICRepositoryApi()
11313managedElementId = managedElementId_example # String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null)
11314ricId = ricId_example # String | The identity of a Near-RT RIC to get information for. (optional) (default to null)
11315
11316try:
11317 # Returns info for one Near-RT RIC
11318 api_response = api_instance.get_ric(managedElementId=managedElementId, ricId=ricId)
11319 pprint(api_response)
11320except ApiException as e:
11321 print("Exception when calling NearRTRICRepositoryApi->getRic: %s\n" % e)</code></pre>
11322 </div>
11323
11324 <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-rust">
11325 <pre class="prettyprint"><code class="language-rust">extern crate NearRTRICRepositoryApi;
11326
11327pub fn main() {
11328 let managedElementId = managedElementId_example; // String
11329 let ricId = ricId_example; // String
11330
11331 let mut context = NearRTRICRepositoryApi::Context::default();
11332 let result = client.getRic(managedElementId, ricId, &context).wait();
11333
11334 println!("{:?}", result);
11335}
11336</code></pre>
11337 </div>
11338 </div>
11339
11340 <h2>Scopes</h2>
11341 <table>
11342
11343 </table>
11344
11345 <h2>Parameters</h2>
11346
11347
11348
11349
11350
11351 <div class="methodsubtabletitle">Query parameters</div>
11352 <table id="methodsubtable">
11353 <tr>
11354 <th width="150px">Name</th>
11355 <th>Description</th>
11356 </tr>
11357 <tr><td style="width:150px;">managed_element_id</td>
11358<td>
11359
11360
11361 <div id="d2e199_getRic_managedElementId">
11362 <div class="json-schema-view">
11363 <div class="primitive">
11364 <span class="type">
11365 String
11366 </span>
11367
11368 <div class="inner description marked">
11369The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.
11370 </div>
11371 </div>
11372 </div>
11373 </div>
11374</td>
11375</tr>
11376
11377 <tr><td style="width:150px;">ric_id</td>
11378<td>
11379
11380
11381 <div id="d2e199_getRic_ricId">
11382 <div class="json-schema-view">
11383 <div class="primitive">
11384 <span class="type">
11385 String
11386 </span>
11387
11388 <div class="inner description marked">
11389The identity of a Near-RT RIC to get information for.
11390 </div>
11391 </div>
11392 </div>
11393 </div>
11394</td>
11395</tr>
11396
11397 </table>
11398
11399 <h2>Responses</h2>
11400 <h3 id="examples-NearRTRICRepository-getRic-title-200"></h3>
11401 <p id="examples-NearRTRICRepository-getRic-description-200" class="marked"></p>
11402 <script>
11403 var responseNearRTRICRepository200_description = `Near-RT RIC is found`;
11404 var responseNearRTRICRepository200_description_break = responseNearRTRICRepository200_description.indexOf('\n');
11405 if (responseNearRTRICRepository200_description_break == -1) {
11406 $("#examples-NearRTRICRepository-getRic-title-200").text("Status: 200 - " + responseNearRTRICRepository200_description);
11407 } else {
11408 $("#examples-NearRTRICRepository-getRic-title-200").text("Status: 200 - " + responseNearRTRICRepository200_description.substring(0, responseNearRTRICRepository200_description_break));
11409 $("#examples-NearRTRICRepository-getRic-description-200").html(responseNearRTRICRepository200_description.substring(responseNearRTRICRepository200_description_break));
11410 }
11411 </script>
11412
11413
11414 <ul id="responses-detail-NearRTRICRepository-getRic-200" class="nav nav-tabs nav-tabs-examples" >
11415 <li class="active">
11416 <a data-toggle="tab" href="#responses-NearRTRICRepository-getRic-200-schema">Schema</a>
11417 </li>
11418
11419
11420
11421
11422 </ul>
11423
11424
11425 <div class="tab-content" id="responses-NearRTRICRepository-getRic-200-wrapper" style='margin-bottom: 10px;'>
11426 <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-200-schema">
11427 <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
11428 <script>
11429 $(document).ready(function() {
11430 var schemaWrapper = {
11431 "description" : "Near-RT RIC is found",
11432 "content" : {
11433 "application/json" : {
11434 "schema" : {
11435 "$ref" : "#/components/schemas/ric_info_v2"
11436 }
11437 }
11438 }
11439};
11440 var schema = findNode('schema',schemaWrapper).schema;
11441 if (!schema) {
11442 schema = schemaWrapper.schema;
11443 }
11444 if (schema.$ref != null) {
11445 schema = defsParser.$refs.get(schema.$ref);
11446 } else if (schema.items != null && schema.items.$ref != null) {
11447 schema.items = defsParser.$refs.get(schema.items.$ref);
11448 } else {
11449 schemaWrapper.definitions = Object.assign({}, defs);
11450 $RefParser.dereference(schemaWrapper).catch(function(err) {
11451 console.log(err);
11452 });
11453 }
11454
11455 var view = new JSONSchemaView(schema, 3);
11456 $('#responses-NearRTRICRepository-getRic-200-schema-data').val(JSON.stringify(schema));
11457 var result = $('#responses-NearRTRICRepository-getRic-schema-200');
11458 result.empty();
11459 result.append(view.render());
11460 });
11461 </script>
11462 </div>
11463 <input id='responses-NearRTRICRepository-getRic-200-schema-data' type='hidden' value=''></input>
11464 </div>
11465 </div>
11466 <h3 id="examples-NearRTRICRepository-getRic-title-404"></h3>
11467 <p id="examples-NearRTRICRepository-getRic-description-404" class="marked"></p>
11468 <script>
11469 var responseNearRTRICRepository404_description = `Near-RT RIC is not found`;
11470 var responseNearRTRICRepository404_description_break = responseNearRTRICRepository404_description.indexOf('\n');
11471 if (responseNearRTRICRepository404_description_break == -1) {
11472 $("#examples-NearRTRICRepository-getRic-title-404").text("Status: 404 - " + responseNearRTRICRepository404_description);
11473 } else {
11474 $("#examples-NearRTRICRepository-getRic-title-404").text("Status: 404 - " + responseNearRTRICRepository404_description.substring(0, responseNearRTRICRepository404_description_break));
11475 $("#examples-NearRTRICRepository-getRic-description-404").html(responseNearRTRICRepository404_description.substring(responseNearRTRICRepository404_description_break));
11476 }
11477 </script>
11478
11479
11480 <ul id="responses-detail-NearRTRICRepository-getRic-404" class="nav nav-tabs nav-tabs-examples" >
11481 <li class="active">
11482 <a data-toggle="tab" href="#responses-NearRTRICRepository-getRic-404-schema">Schema</a>
11483 </li>
11484
11485
11486
11487
11488 </ul>
11489
11490
11491 <div class="tab-content" id="responses-NearRTRICRepository-getRic-404-wrapper" style='margin-bottom: 10px;'>
11492 <div class="tab-pane active" id="responses-NearRTRICRepository-getRic-404-schema">
11493 <div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle">
11494 <script>
11495 $(document).ready(function() {
11496 var schemaWrapper = {
11497 "description" : "Near-RT RIC is not found",
11498 "content" : {
11499 "application/json" : {
11500 "schema" : {
11501 "$ref" : "#/components/schemas/error_information"
11502 }
11503 }
11504 }
11505};
11506 var schema = findNode('schema',schemaWrapper).schema;
11507 if (!schema) {
11508 schema = schemaWrapper.schema;
11509 }
11510 if (schema.$ref != null) {
11511 schema = defsParser.$refs.get(schema.$ref);
11512 } else if (schema.items != null && schema.items.$ref != null) {
11513 schema.items = defsParser.$refs.get(schema.items.$ref);
11514 } else {
11515 schemaWrapper.definitions = Object.assign({}, defs);
11516 $RefParser.dereference(schemaWrapper).catch(function(err) {
11517 console.log(err);
11518 });
11519 }
11520
11521 var view = new JSONSchemaView(schema, 3);
11522 $('#responses-NearRTRICRepository-getRic-404-schema-data').val(JSON.stringify(schema));
11523 var result = $('#responses-NearRTRICRepository-getRic-schema-404');
11524 result.empty();
11525 result.append(view.render());
11526 });
11527 </script>
11528 </div>
11529 <input id='responses-NearRTRICRepository-getRic-404-schema-data' type='hidden' value=''></input>
11530 </div>
11531 </div>
11532 </article>
11533 </div>
11534 <hr>
11535 <div id="api-NearRTRICRepository-getRics">
11536 <article id="api-NearRTRICRepository-getRics-0" data-group="User" data-name="getRics" data-version="0">
11537 <div class="pull-left">
11538 <h1>getRics</h1>
11539 <p>Query Near-RT RIC information</p>
11540 </div>
11541 <div class="pull-right"></div>
11542 <div class="clearfix"></div>
11543 <p></p>
11544 <p class="marked">The call returns all Near-RT RICs that supports a given policy type identity</p>
11545 <p></p>
11546 <br />
11547 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/rics</span></code></pre>
11548 <p>
11549 <h3>Usage and SDK Samples</h3>
11550 </p>
11551 <ul class="nav nav-tabs nav-tabs-examples">
11552 <li class="active"><a href="#examples-NearRTRICRepository-getRics-0-curl">Curl</a></li>
11553 <li class=""><a href="#examples-NearRTRICRepository-getRics-0-java">Java</a></li>
11554 <li class=""><a href="#examples-NearRTRICRepository-getRics-0-android">Android</a></li>
11555 <!--<li class=""><a href="#examples-NearRTRICRepository-getRics-0-groovy">Groovy</a></li>-->
11556 <li class=""><a href="#examples-NearRTRICRepository-getRics-0-objc">Obj-C</a></li>
11557 <li class=""><a href="#examples-NearRTRICRepository-getRics-0-javascript">JavaScript</a></li>
11558 <!--<li class=""><a href="#examples-NearRTRICRepository-getRics-0-angular">Angular</a></li>-->
11559 <li class=""><a href="#examples-NearRTRICRepository-getRics-0-csharp">C#</a></li>
11560 <li class=""><a href="#examples-NearRTRICRepository-getRics-0-php">PHP</a></li>
11561 <li class=""><a href="#examples-NearRTRICRepository-getRics-0-perl">Perl</a></li>
11562 <li class=""><a href="#examples-NearRTRICRepository-getRics-0-python">Python</a></li>
11563 <li class=""><a href="#examples-NearRTRICRepository-getRics-0-rust">Rust</a></li>
11564 </ul>
11565
11566 <div class="tab-content">
11567 <div class="tab-pane active" id="examples-NearRTRICRepository-getRics-0-curl">
11568 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
11569 -H "Accept: application/json" \
11570 "http://localhost/a1-policy/v2/rics?policytype_id=policytypeId_example"
11571</code></pre>
11572 </div>
11573 <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-java">
11574 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
11575import org.openapitools.client.auth.*;
11576import org.openapitools.client.model.*;
11577import org.openapitools.client.api.NearRTRICRepositoryApi;
11578
11579import java.io.File;
11580import java.util.*;
11581
11582public class NearRTRICRepositoryApiExample {
11583 public static void main(String[] args) {
11584
11585 // Create an instance of the API class
11586 NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
11587 String policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
11588
11589 try {
11590 ric_info_list_v2 result = apiInstance.getRics(policytypeId);
11591 System.out.println(result);
11592 } catch (ApiException e) {
11593 System.err.println("Exception when calling NearRTRICRepositoryApi#getRics");
11594 e.printStackTrace();
11595 }
11596 }
11597}
11598</code></pre>
11599 </div>
11600
11601 <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-android">
11602 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.NearRTRICRepositoryApi;
11603
11604public class NearRTRICRepositoryApiExample {
11605 public static void main(String[] args) {
11606 NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi();
11607 String policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
11608
11609 try {
11610 ric_info_list_v2 result = apiInstance.getRics(policytypeId);
11611 System.out.println(result);
11612 } catch (ApiException e) {
11613 System.err.println("Exception when calling NearRTRICRepositoryApi#getRics");
11614 e.printStackTrace();
11615 }
11616 }
11617}</code></pre>
11618 </div>
11619 <!--
11620 <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-groovy">
11621 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11622 </div> -->
11623 <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-objc">
11624 <pre class="prettyprint"><code class="language-cpp">
11625
11626// Create an instance of the API class
11627NearRTRICRepositoryApi *apiInstance = [[NearRTRICRepositoryApi alloc] init];
11628String *policytypeId = policytypeId_example; // The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
11629
11630// Query Near-RT RIC information
11631[apiInstance getRicsWith:policytypeId
11632 completionHandler: ^(ric_info_list_v2 output, NSError* error) {
11633 if (output) {
11634 NSLog(@"%@", output);
11635 }
11636 if (error) {
11637 NSLog(@"Error: %@", error);
11638 }
11639}];
11640</code></pre>
11641 </div>
11642
11643 <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-javascript">
11644 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
11645
11646// Create an instance of the API class
11647var api = new A1PolicyManagementService.NearRTRICRepositoryApi()
11648var opts = {
11649 'policytypeId': policytypeId_example // {String} The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
11650};
11651
11652var callback = function(error, data, response) {
11653 if (error) {
11654 console.error(error);
11655 } else {
11656 console.log('API called successfully. Returned data: ' + data);
11657 }
11658};
11659api.getRics(opts, callback);
11660</code></pre>
11661 </div>
11662
11663 <!--<div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-angular">
11664 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11665 </div>-->
11666 <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-csharp">
11667 <pre class="prettyprint"><code class="language-cs">using System;
11668using System.Diagnostics;
11669using Org.OpenAPITools.Api;
11670using Org.OpenAPITools.Client;
11671using Org.OpenAPITools.Model;
11672
11673namespace Example
11674{
11675 public class getRicsExample
11676 {
11677 public void main()
11678 {
11679
11680 // Create an instance of the API class
11681 var apiInstance = new NearRTRICRepositoryApi();
11682 var policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
11683
11684 try {
11685 // Query Near-RT RIC information
11686 ric_info_list_v2 result = apiInstance.getRics(policytypeId);
11687 Debug.WriteLine(result);
11688 } catch (Exception e) {
11689 Debug.Print("Exception when calling NearRTRICRepositoryApi.getRics: " + e.Message );
11690 }
11691 }
11692 }
11693}
11694</code></pre>
11695 </div>
11696
11697 <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-php">
11698 <pre class="prettyprint"><code class="language-php"><&#63;php
11699require_once(__DIR__ . '/vendor/autoload.php');
11700
11701// Create an instance of the API class
11702$api_instance = new OpenAPITools\Client\Api\NearRTRICRepositoryApi();
11703$policytypeId = policytypeId_example; // String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
11704
11705try {
11706 $result = $api_instance->getRics($policytypeId);
11707 print_r($result);
11708} catch (Exception $e) {
11709 echo 'Exception when calling NearRTRICRepositoryApi->getRics: ', $e->getMessage(), PHP_EOL;
11710}
11711?></code></pre>
11712 </div>
11713
11714 <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-perl">
11715 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
11716use WWW::OPenAPIClient::Configuration;
11717use WWW::OPenAPIClient::NearRTRICRepositoryApi;
11718
11719# Create an instance of the API class
11720my $api_instance = WWW::OPenAPIClient::NearRTRICRepositoryApi->new();
11721my $policytypeId = policytypeId_example; # String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
11722
11723eval {
11724 my $result = $api_instance->getRics(policytypeId => $policytypeId);
11725 print Dumper($result);
11726};
11727if ($@) {
11728 warn "Exception when calling NearRTRICRepositoryApi->getRics: $@\n";
11729}</code></pre>
11730 </div>
11731
11732 <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-python">
11733 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
11734import time
11735import openapi_client
11736from openapi_client.rest import ApiException
11737from pprint import pprint
11738
11739# Create an instance of the API class
11740api_instance = openapi_client.NearRTRICRepositoryApi()
11741policytypeId = policytypeId_example # String | The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned (optional) (default to null)
11742
11743try:
11744 # Query Near-RT RIC information
11745 api_response = api_instance.get_rics(policytypeId=policytypeId)
11746 pprint(api_response)
11747except ApiException as e:
11748 print("Exception when calling NearRTRICRepositoryApi->getRics: %s\n" % e)</code></pre>
11749 </div>
11750
11751 <div class="tab-pane" id="examples-NearRTRICRepository-getRics-0-rust">
11752 <pre class="prettyprint"><code class="language-rust">extern crate NearRTRICRepositoryApi;
11753
11754pub fn main() {
11755 let policytypeId = policytypeId_example; // String
11756
11757 let mut context = NearRTRICRepositoryApi::Context::default();
11758 let result = client.getRics(policytypeId, &context).wait();
11759
11760 println!("{:?}", result);
11761}
11762</code></pre>
11763 </div>
11764 </div>
11765
11766 <h2>Scopes</h2>
11767 <table>
11768
11769 </table>
11770
11771 <h2>Parameters</h2>
11772
11773
11774
11775
11776
11777 <div class="methodsubtabletitle">Query parameters</div>
11778 <table id="methodsubtable">
11779 <tr>
11780 <th width="150px">Name</th>
11781 <th>Description</th>
11782 </tr>
11783 <tr><td style="width:150px;">policytype_id</td>
11784<td>
11785
11786
11787 <div id="d2e199_getRics_policytypeId">
11788 <div class="json-schema-view">
11789 <div class="primitive">
11790 <span class="type">
11791 String
11792 </span>
11793
11794 <div class="inner description marked">
11795The identity of a policy type. If given, all Near-RT RICs supporting the policy type are returned
11796 </div>
11797 </div>
11798 </div>
11799 </div>
11800</td>
11801</tr>
11802
11803 </table>
11804
11805 <h2>Responses</h2>
11806 <h3 id="examples-NearRTRICRepository-getRics-title-200"></h3>
11807 <p id="examples-NearRTRICRepository-getRics-description-200" class="marked"></p>
11808 <script>
11809 var responseNearRTRICRepository200_description = `OK`;
11810 var responseNearRTRICRepository200_description_break = responseNearRTRICRepository200_description.indexOf('\n');
11811 if (responseNearRTRICRepository200_description_break == -1) {
11812 $("#examples-NearRTRICRepository-getRics-title-200").text("Status: 200 - " + responseNearRTRICRepository200_description);
11813 } else {
11814 $("#examples-NearRTRICRepository-getRics-title-200").text("Status: 200 - " + responseNearRTRICRepository200_description.substring(0, responseNearRTRICRepository200_description_break));
11815 $("#examples-NearRTRICRepository-getRics-description-200").html(responseNearRTRICRepository200_description.substring(responseNearRTRICRepository200_description_break));
11816 }
11817 </script>
11818
11819
11820 <ul id="responses-detail-NearRTRICRepository-getRics-200" class="nav nav-tabs nav-tabs-examples" >
11821 <li class="active">
11822 <a data-toggle="tab" href="#responses-NearRTRICRepository-getRics-200-schema">Schema</a>
11823 </li>
11824
11825
11826
11827
11828 </ul>
11829
11830
11831 <div class="tab-content" id="responses-NearRTRICRepository-getRics-200-wrapper" style='margin-bottom: 10px;'>
11832 <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-200-schema">
11833 <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
11834 <script>
11835 $(document).ready(function() {
11836 var schemaWrapper = {
11837 "description" : "OK",
11838 "content" : {
11839 "application/json" : {
11840 "schema" : {
11841 "$ref" : "#/components/schemas/ric_info_list_v2"
11842 }
11843 }
11844 }
11845};
11846 var schema = findNode('schema',schemaWrapper).schema;
11847 if (!schema) {
11848 schema = schemaWrapper.schema;
11849 }
11850 if (schema.$ref != null) {
11851 schema = defsParser.$refs.get(schema.$ref);
11852 } else if (schema.items != null && schema.items.$ref != null) {
11853 schema.items = defsParser.$refs.get(schema.items.$ref);
11854 } else {
11855 schemaWrapper.definitions = Object.assign({}, defs);
11856 $RefParser.dereference(schemaWrapper).catch(function(err) {
11857 console.log(err);
11858 });
11859 }
11860
11861 var view = new JSONSchemaView(schema, 3);
11862 $('#responses-NearRTRICRepository-getRics-200-schema-data').val(JSON.stringify(schema));
11863 var result = $('#responses-NearRTRICRepository-getRics-schema-200');
11864 result.empty();
11865 result.append(view.render());
11866 });
11867 </script>
11868 </div>
11869 <input id='responses-NearRTRICRepository-getRics-200-schema-data' type='hidden' value=''></input>
11870 </div>
11871 </div>
11872 <h3 id="examples-NearRTRICRepository-getRics-title-404"></h3>
11873 <p id="examples-NearRTRICRepository-getRics-description-404" class="marked"></p>
11874 <script>
11875 var responseNearRTRICRepository404_description = `Policy type is not found`;
11876 var responseNearRTRICRepository404_description_break = responseNearRTRICRepository404_description.indexOf('\n');
11877 if (responseNearRTRICRepository404_description_break == -1) {
11878 $("#examples-NearRTRICRepository-getRics-title-404").text("Status: 404 - " + responseNearRTRICRepository404_description);
11879 } else {
11880 $("#examples-NearRTRICRepository-getRics-title-404").text("Status: 404 - " + responseNearRTRICRepository404_description.substring(0, responseNearRTRICRepository404_description_break));
11881 $("#examples-NearRTRICRepository-getRics-description-404").html(responseNearRTRICRepository404_description.substring(responseNearRTRICRepository404_description_break));
11882 }
11883 </script>
11884
11885
11886 <ul id="responses-detail-NearRTRICRepository-getRics-404" class="nav nav-tabs nav-tabs-examples" >
11887 <li class="active">
11888 <a data-toggle="tab" href="#responses-NearRTRICRepository-getRics-404-schema">Schema</a>
11889 </li>
11890
11891
11892
11893
11894 </ul>
11895
11896
11897 <div class="tab-content" id="responses-NearRTRICRepository-getRics-404-wrapper" style='margin-bottom: 10px;'>
11898 <div class="tab-pane active" id="responses-NearRTRICRepository-getRics-404-schema">
11899 <div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle">
11900 <script>
11901 $(document).ready(function() {
11902 var schemaWrapper = {
11903 "description" : "Policy type is not found",
11904 "content" : {
11905 "application/json" : {
11906 "schema" : {
11907 "$ref" : "#/components/schemas/error_information"
11908 }
11909 }
11910 }
11911};
11912 var schema = findNode('schema',schemaWrapper).schema;
11913 if (!schema) {
11914 schema = schemaWrapper.schema;
11915 }
11916 if (schema.$ref != null) {
11917 schema = defsParser.$refs.get(schema.$ref);
11918 } else if (schema.items != null && schema.items.$ref != null) {
11919 schema.items = defsParser.$refs.get(schema.items.$ref);
11920 } else {
11921 schemaWrapper.definitions = Object.assign({}, defs);
11922 $RefParser.dereference(schemaWrapper).catch(function(err) {
11923 console.log(err);
11924 });
11925 }
11926
11927 var view = new JSONSchemaView(schema, 3);
11928 $('#responses-NearRTRICRepository-getRics-404-schema-data').val(JSON.stringify(schema));
11929 var result = $('#responses-NearRTRICRepository-getRics-schema-404');
11930 result.empty();
11931 result.append(view.render());
11932 });
11933 </script>
11934 </div>
11935 <input id='responses-NearRTRICRepository-getRics-404-schema-data' type='hidden' value=''></input>
11936 </div>
11937 </div>
11938 </article>
11939 </div>
11940 <hr>
11941 </section>
PatrikBuhr9f1d9492023-04-17 13:00:15 +020011942 <section id="api-ServiceCallbacks">
11943 <h1>ServiceCallbacks</h1>
11944 <div id="api-ServiceCallbacks-serviceCallback">
11945 <article id="api-ServiceCallbacks-serviceCallback-0" data-group="User" data-name="serviceCallback" data-version="0">
11946 <div class="pull-left">
11947 <h1>serviceCallback</h1>
11948 <p>Callback for Near-RT RIC status</p>
11949 </div>
11950 <div class="pull-right"></div>
11951 <div class="clearfix"></div>
11952 <p></p>
11953 <p class="marked">The URL to this call is registered at Service registration.</p>
11954 <p></p>
11955 <br />
11956 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/r-app/near-rt-ric-status</span></code></pre>
11957 <p>
11958 <h3>Usage and SDK Samples</h3>
11959 </p>
11960 <ul class="nav nav-tabs nav-tabs-examples">
11961 <li class="active"><a href="#examples-ServiceCallbacks-serviceCallback-0-curl">Curl</a></li>
11962 <li class=""><a href="#examples-ServiceCallbacks-serviceCallback-0-java">Java</a></li>
11963 <li class=""><a href="#examples-ServiceCallbacks-serviceCallback-0-android">Android</a></li>
11964 <!--<li class=""><a href="#examples-ServiceCallbacks-serviceCallback-0-groovy">Groovy</a></li>-->
11965 <li class=""><a href="#examples-ServiceCallbacks-serviceCallback-0-objc">Obj-C</a></li>
11966 <li class=""><a href="#examples-ServiceCallbacks-serviceCallback-0-javascript">JavaScript</a></li>
11967 <!--<li class=""><a href="#examples-ServiceCallbacks-serviceCallback-0-angular">Angular</a></li>-->
11968 <li class=""><a href="#examples-ServiceCallbacks-serviceCallback-0-csharp">C#</a></li>
11969 <li class=""><a href="#examples-ServiceCallbacks-serviceCallback-0-php">PHP</a></li>
11970 <li class=""><a href="#examples-ServiceCallbacks-serviceCallback-0-perl">Perl</a></li>
11971 <li class=""><a href="#examples-ServiceCallbacks-serviceCallback-0-python">Python</a></li>
11972 <li class=""><a href="#examples-ServiceCallbacks-serviceCallback-0-rust">Rust</a></li>
11973 </ul>
11974
11975 <div class="tab-content">
11976 <div class="tab-pane active" id="examples-ServiceCallbacks-serviceCallback-0-curl">
11977 <pre class="prettyprint"><code class="language-bsh">curl -X POST \
11978 -H "Accept: application/json" \
11979 -H "Content-Type: application/json" \
11980 "http://localhost/r-app/near-rt-ric-status" \
11981 -d ''
11982</code></pre>
11983 </div>
11984 <div class="tab-pane" id="examples-ServiceCallbacks-serviceCallback-0-java">
11985 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
11986import org.openapitools.client.auth.*;
11987import org.openapitools.client.model.*;
11988import org.openapitools.client.api.ServiceCallbacksApi;
11989
11990import java.io.File;
11991import java.util.*;
11992
11993public class ServiceCallbacksApiExample {
11994 public static void main(String[] args) {
11995
11996 // Create an instance of the API class
11997 ServiceCallbacksApi apiInstance = new ServiceCallbacksApi();
11998 ServiceCallbackInfoV2 serviceCallbackInfoV2 = ; // ServiceCallbackInfoV2 |
11999
12000 try {
12001 Object result = apiInstance.serviceCallback(serviceCallbackInfoV2);
12002 System.out.println(result);
12003 } catch (ApiException e) {
12004 System.err.println("Exception when calling ServiceCallbacksApi#serviceCallback");
12005 e.printStackTrace();
12006 }
12007 }
12008}
12009</code></pre>
12010 </div>
12011
12012 <div class="tab-pane" id="examples-ServiceCallbacks-serviceCallback-0-android">
12013 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceCallbacksApi;
12014
12015public class ServiceCallbacksApiExample {
12016 public static void main(String[] args) {
12017 ServiceCallbacksApi apiInstance = new ServiceCallbacksApi();
12018 ServiceCallbackInfoV2 serviceCallbackInfoV2 = ; // ServiceCallbackInfoV2 |
12019
12020 try {
12021 Object result = apiInstance.serviceCallback(serviceCallbackInfoV2);
12022 System.out.println(result);
12023 } catch (ApiException e) {
12024 System.err.println("Exception when calling ServiceCallbacksApi#serviceCallback");
12025 e.printStackTrace();
12026 }
12027 }
12028}</code></pre>
12029 </div>
12030 <!--
12031 <div class="tab-pane" id="examples-ServiceCallbacks-serviceCallback-0-groovy">
12032 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12033 </div> -->
12034 <div class="tab-pane" id="examples-ServiceCallbacks-serviceCallback-0-objc">
12035 <pre class="prettyprint"><code class="language-cpp">
12036
12037// Create an instance of the API class
12038ServiceCallbacksApi *apiInstance = [[ServiceCallbacksApi alloc] init];
12039ServiceCallbackInfoV2 *serviceCallbackInfoV2 = ; //
12040
12041// Callback for Near-RT RIC status
12042[apiInstance serviceCallbackWith:serviceCallbackInfoV2
12043 completionHandler: ^(Object output, NSError* error) {
12044 if (output) {
12045 NSLog(@"%@", output);
12046 }
12047 if (error) {
12048 NSLog(@"Error: %@", error);
12049 }
12050}];
12051</code></pre>
12052 </div>
12053
12054 <div class="tab-pane" id="examples-ServiceCallbacks-serviceCallback-0-javascript">
12055 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
12056
12057// Create an instance of the API class
12058var api = new A1PolicyManagementService.ServiceCallbacksApi()
12059var serviceCallbackInfoV2 = ; // {ServiceCallbackInfoV2}
12060
12061var callback = function(error, data, response) {
12062 if (error) {
12063 console.error(error);
12064 } else {
12065 console.log('API called successfully. Returned data: ' + data);
12066 }
12067};
12068api.serviceCallback(serviceCallbackInfoV2, callback);
12069</code></pre>
12070 </div>
12071
12072 <!--<div class="tab-pane" id="examples-ServiceCallbacks-serviceCallback-0-angular">
12073 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12074 </div>-->
12075 <div class="tab-pane" id="examples-ServiceCallbacks-serviceCallback-0-csharp">
12076 <pre class="prettyprint"><code class="language-cs">using System;
12077using System.Diagnostics;
12078using Org.OpenAPITools.Api;
12079using Org.OpenAPITools.Client;
12080using Org.OpenAPITools.Model;
12081
12082namespace Example
12083{
12084 public class serviceCallbackExample
12085 {
12086 public void main()
12087 {
12088
12089 // Create an instance of the API class
12090 var apiInstance = new ServiceCallbacksApi();
12091 var serviceCallbackInfoV2 = new ServiceCallbackInfoV2(); // ServiceCallbackInfoV2 |
12092
12093 try {
12094 // Callback for Near-RT RIC status
12095 Object result = apiInstance.serviceCallback(serviceCallbackInfoV2);
12096 Debug.WriteLine(result);
12097 } catch (Exception e) {
12098 Debug.Print("Exception when calling ServiceCallbacksApi.serviceCallback: " + e.Message );
12099 }
12100 }
12101 }
12102}
12103</code></pre>
12104 </div>
12105
12106 <div class="tab-pane" id="examples-ServiceCallbacks-serviceCallback-0-php">
12107 <pre class="prettyprint"><code class="language-php"><&#63;php
12108require_once(__DIR__ . '/vendor/autoload.php');
12109
12110// Create an instance of the API class
12111$api_instance = new OpenAPITools\Client\Api\ServiceCallbacksApi();
12112$serviceCallbackInfoV2 = ; // ServiceCallbackInfoV2 |
12113
12114try {
12115 $result = $api_instance->serviceCallback($serviceCallbackInfoV2);
12116 print_r($result);
12117} catch (Exception $e) {
12118 echo 'Exception when calling ServiceCallbacksApi->serviceCallback: ', $e->getMessage(), PHP_EOL;
12119}
12120?></code></pre>
12121 </div>
12122
12123 <div class="tab-pane" id="examples-ServiceCallbacks-serviceCallback-0-perl">
12124 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
12125use WWW::OPenAPIClient::Configuration;
12126use WWW::OPenAPIClient::ServiceCallbacksApi;
12127
12128# Create an instance of the API class
12129my $api_instance = WWW::OPenAPIClient::ServiceCallbacksApi->new();
12130my $serviceCallbackInfoV2 = WWW::OPenAPIClient::Object::ServiceCallbackInfoV2->new(); # ServiceCallbackInfoV2 |
12131
12132eval {
12133 my $result = $api_instance->serviceCallback(serviceCallbackInfoV2 => $serviceCallbackInfoV2);
12134 print Dumper($result);
12135};
12136if ($@) {
12137 warn "Exception when calling ServiceCallbacksApi->serviceCallback: $@\n";
12138}</code></pre>
12139 </div>
12140
12141 <div class="tab-pane" id="examples-ServiceCallbacks-serviceCallback-0-python">
12142 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
12143import time
12144import openapi_client
12145from openapi_client.rest import ApiException
12146from pprint import pprint
12147
12148# Create an instance of the API class
12149api_instance = openapi_client.ServiceCallbacksApi()
12150serviceCallbackInfoV2 = # ServiceCallbackInfoV2 |
12151
12152try:
12153 # Callback for Near-RT RIC status
12154 api_response = api_instance.service_callback(serviceCallbackInfoV2)
12155 pprint(api_response)
12156except ApiException as e:
12157 print("Exception when calling ServiceCallbacksApi->serviceCallback: %s\n" % e)</code></pre>
12158 </div>
12159
12160 <div class="tab-pane" id="examples-ServiceCallbacks-serviceCallback-0-rust">
12161 <pre class="prettyprint"><code class="language-rust">extern crate ServiceCallbacksApi;
12162
12163pub fn main() {
12164 let serviceCallbackInfoV2 = ; // ServiceCallbackInfoV2
12165
12166 let mut context = ServiceCallbacksApi::Context::default();
12167 let result = client.serviceCallback(serviceCallbackInfoV2, &context).wait();
12168
12169 println!("{:?}", result);
12170}
12171</code></pre>
12172 </div>
12173 </div>
12174
12175 <h2>Scopes</h2>
12176 <table>
12177
12178 </table>
12179
12180 <h2>Parameters</h2>
12181
12182
12183
12184 <div class="methodsubtabletitle">Body parameters</div>
12185 <table id="methodsubtable">
12186 <tr>
12187 <th width="150px">Name</th>
12188 <th>Description</th>
12189 </tr>
12190 <tr><td style="width:150px;">serviceCallbackInfoV2 <span style="color:red;">*</span></td>
12191<td>
12192<p class="marked"></p>
12193<script>
12194$(document).ready(function() {
12195 var schemaWrapper = {
12196 "content" : {
12197 "application/json" : {
12198 "schema" : {
12199 "$ref" : "#/components/schemas/service_callback_info_v2"
12200 }
12201 }
12202 },
12203 "required" : true
12204};
12205
12206 var schema = findNode('schema',schemaWrapper).schema;
12207 if (!schema) {
12208 schema = schemaWrapper.schema;
12209 }
12210 if (schema.$ref != null) {
12211 schema = defsParser.$refs.get(schema.$ref);
12212 } else {
12213 schemaWrapper.definitions = Object.assign({}, defs);
12214 $RefParser.dereference(schemaWrapper).catch(function(err) {
12215 console.log(err);
12216 });
12217 }
12218
12219 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
12220 var result = $('#d2e199_serviceCallback_serviceCallbackInfoV2');
12221 result.empty();
12222 result.append(view.render());
12223});
12224</script>
12225<div id="d2e199_serviceCallback_serviceCallbackInfoV2"></div>
12226</td>
12227</tr>
12228
12229 </table>
12230
12231
12232
12233 <h2>Responses</h2>
12234 <h3 id="examples-ServiceCallbacks-serviceCallback-title-200"></h3>
12235 <p id="examples-ServiceCallbacks-serviceCallback-description-200" class="marked"></p>
12236 <script>
12237 var responseServiceCallbacks200_description = `OK`;
12238 var responseServiceCallbacks200_description_break = responseServiceCallbacks200_description.indexOf('\n');
12239 if (responseServiceCallbacks200_description_break == -1) {
12240 $("#examples-ServiceCallbacks-serviceCallback-title-200").text("Status: 200 - " + responseServiceCallbacks200_description);
12241 } else {
12242 $("#examples-ServiceCallbacks-serviceCallback-title-200").text("Status: 200 - " + responseServiceCallbacks200_description.substring(0, responseServiceCallbacks200_description_break));
12243 $("#examples-ServiceCallbacks-serviceCallback-description-200").html(responseServiceCallbacks200_description.substring(responseServiceCallbacks200_description_break));
12244 }
12245 </script>
12246
12247
12248 <ul id="responses-detail-ServiceCallbacks-serviceCallback-200" class="nav nav-tabs nav-tabs-examples" >
12249 <li class="active">
12250 <a data-toggle="tab" href="#responses-ServiceCallbacks-serviceCallback-200-schema">Schema</a>
12251 </li>
12252
12253
12254
12255
12256 </ul>
12257
12258
12259 <div class="tab-content" id="responses-ServiceCallbacks-serviceCallback-200-wrapper" style='margin-bottom: 10px;'>
12260 <div class="tab-pane active" id="responses-ServiceCallbacks-serviceCallback-200-schema">
12261 <div id="responses-ServiceCallbacks-serviceCallback-schema-200" class="exampleStyle">
12262 <script>
12263 $(document).ready(function() {
12264 var schemaWrapper = {
12265 "description" : "OK",
12266 "content" : {
12267 "application/json" : {
12268 "schema" : {
12269 "$ref" : "#/components/schemas/void"
12270 }
12271 }
12272 }
12273};
12274 var schema = findNode('schema',schemaWrapper).schema;
12275 if (!schema) {
12276 schema = schemaWrapper.schema;
12277 }
12278 if (schema.$ref != null) {
12279 schema = defsParser.$refs.get(schema.$ref);
12280 } else if (schema.items != null && schema.items.$ref != null) {
12281 schema.items = defsParser.$refs.get(schema.items.$ref);
12282 } else {
12283 schemaWrapper.definitions = Object.assign({}, defs);
12284 $RefParser.dereference(schemaWrapper).catch(function(err) {
12285 console.log(err);
12286 });
12287 }
12288
12289 var view = new JSONSchemaView(schema, 3);
12290 $('#responses-ServiceCallbacks-serviceCallback-200-schema-data').val(JSON.stringify(schema));
12291 var result = $('#responses-ServiceCallbacks-serviceCallback-schema-200');
12292 result.empty();
12293 result.append(view.render());
12294 });
12295 </script>
12296 </div>
12297 <input id='responses-ServiceCallbacks-serviceCallback-200-schema-data' type='hidden' value=''></input>
12298 </div>
12299 </div>
12300 </article>
12301 </div>
12302 <hr>
12303 </section>
JohnKeeney62abcd82023-03-01 19:04:58 +000012304 <section id="api-ServiceRegistryAndSupervision">
12305 <h1>ServiceRegistryAndSupervision</h1>
12306 <div id="api-ServiceRegistryAndSupervision-deleteService">
12307 <article id="api-ServiceRegistryAndSupervision-deleteService-0" data-group="User" data-name="deleteService" data-version="0">
12308 <div class="pull-left">
12309 <h1>deleteService</h1>
12310 <p>Unregister a service</p>
12311 </div>
12312 <div class="pull-right"></div>
12313 <div class="clearfix"></div>
12314 <p></p>
12315 <p class="marked"></p>
12316 <p></p>
12317 <br />
12318 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/a1-policy/v2/services/{service_id}</span></code></pre>
12319 <p>
12320 <h3>Usage and SDK Samples</h3>
12321 </p>
12322 <ul class="nav nav-tabs nav-tabs-examples">
12323 <li class="active"><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-curl">Curl</a></li>
12324 <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-java">Java</a></li>
12325 <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-android">Android</a></li>
12326 <!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-groovy">Groovy</a></li>-->
12327 <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-objc">Obj-C</a></li>
12328 <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-javascript">JavaScript</a></li>
12329 <!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-angular">Angular</a></li>-->
12330 <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-csharp">C#</a></li>
12331 <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-php">PHP</a></li>
12332 <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-perl">Perl</a></li>
12333 <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-python">Python</a></li>
12334 <li class=""><a href="#examples-ServiceRegistryAndSupervision-deleteService-0-rust">Rust</a></li>
12335 </ul>
12336
12337 <div class="tab-content">
12338 <div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-deleteService-0-curl">
12339 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE \
12340 -H "Accept: */*" \
12341 "http://localhost/a1-policy/v2/services/{service_id}"
12342</code></pre>
12343 </div>
12344 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-java">
12345 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
12346import org.openapitools.client.auth.*;
12347import org.openapitools.client.model.*;
12348import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
12349
12350import java.io.File;
12351import java.util.*;
12352
12353public class ServiceRegistryAndSupervisionApiExample {
12354 public static void main(String[] args) {
12355
12356 // Create an instance of the API class
12357 ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
12358 String serviceId = serviceId_example; // String |
12359
12360 try {
12361 Object result = apiInstance.deleteService(serviceId);
12362 System.out.println(result);
12363 } catch (ApiException e) {
12364 System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#deleteService");
12365 e.printStackTrace();
12366 }
12367 }
12368}
12369</code></pre>
12370 </div>
12371
12372 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-android">
12373 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
12374
12375public class ServiceRegistryAndSupervisionApiExample {
12376 public static void main(String[] args) {
12377 ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
12378 String serviceId = serviceId_example; // String |
12379
12380 try {
12381 Object result = apiInstance.deleteService(serviceId);
12382 System.out.println(result);
12383 } catch (ApiException e) {
12384 System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#deleteService");
12385 e.printStackTrace();
12386 }
12387 }
12388}</code></pre>
12389 </div>
12390 <!--
12391 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-groovy">
12392 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12393 </div> -->
12394 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-objc">
12395 <pre class="prettyprint"><code class="language-cpp">
12396
12397// Create an instance of the API class
12398ServiceRegistryAndSupervisionApi *apiInstance = [[ServiceRegistryAndSupervisionApi alloc] init];
12399String *serviceId = serviceId_example; // (default to null)
12400
12401// Unregister a service
12402[apiInstance deleteServiceWith:serviceId
12403 completionHandler: ^(Object output, NSError* error) {
12404 if (output) {
12405 NSLog(@"%@", output);
12406 }
12407 if (error) {
12408 NSLog(@"Error: %@", error);
12409 }
12410}];
12411</code></pre>
12412 </div>
12413
12414 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-javascript">
12415 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
12416
12417// Create an instance of the API class
12418var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
12419var serviceId = serviceId_example; // {String}
12420
12421var callback = function(error, data, response) {
12422 if (error) {
12423 console.error(error);
12424 } else {
12425 console.log('API called successfully. Returned data: ' + data);
12426 }
12427};
12428api.deleteService(serviceId, callback);
12429</code></pre>
12430 </div>
12431
12432 <!--<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-angular">
12433 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12434 </div>-->
12435 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-csharp">
12436 <pre class="prettyprint"><code class="language-cs">using System;
12437using System.Diagnostics;
12438using Org.OpenAPITools.Api;
12439using Org.OpenAPITools.Client;
12440using Org.OpenAPITools.Model;
12441
12442namespace Example
12443{
12444 public class deleteServiceExample
12445 {
12446 public void main()
12447 {
12448
12449 // Create an instance of the API class
12450 var apiInstance = new ServiceRegistryAndSupervisionApi();
12451 var serviceId = serviceId_example; // String | (default to null)
12452
12453 try {
12454 // Unregister a service
12455 Object result = apiInstance.deleteService(serviceId);
12456 Debug.WriteLine(result);
12457 } catch (Exception e) {
12458 Debug.Print("Exception when calling ServiceRegistryAndSupervisionApi.deleteService: " + e.Message );
12459 }
12460 }
12461 }
12462}
12463</code></pre>
12464 </div>
12465
12466 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-php">
12467 <pre class="prettyprint"><code class="language-php"><&#63;php
12468require_once(__DIR__ . '/vendor/autoload.php');
12469
12470// Create an instance of the API class
12471$api_instance = new OpenAPITools\Client\Api\ServiceRegistryAndSupervisionApi();
12472$serviceId = serviceId_example; // String |
12473
12474try {
12475 $result = $api_instance->deleteService($serviceId);
12476 print_r($result);
12477} catch (Exception $e) {
12478 echo 'Exception when calling ServiceRegistryAndSupervisionApi->deleteService: ', $e->getMessage(), PHP_EOL;
12479}
12480?></code></pre>
12481 </div>
12482
12483 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-perl">
12484 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
12485use WWW::OPenAPIClient::Configuration;
12486use WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi;
12487
12488# Create an instance of the API class
12489my $api_instance = WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi->new();
12490my $serviceId = serviceId_example; # String |
12491
12492eval {
12493 my $result = $api_instance->deleteService(serviceId => $serviceId);
12494 print Dumper($result);
12495};
12496if ($@) {
12497 warn "Exception when calling ServiceRegistryAndSupervisionApi->deleteService: $@\n";
12498}</code></pre>
12499 </div>
12500
12501 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-python">
12502 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
12503import time
12504import openapi_client
12505from openapi_client.rest import ApiException
12506from pprint import pprint
12507
12508# Create an instance of the API class
12509api_instance = openapi_client.ServiceRegistryAndSupervisionApi()
12510serviceId = serviceId_example # String | (default to null)
12511
12512try:
12513 # Unregister a service
12514 api_response = api_instance.delete_service(serviceId)
12515 pprint(api_response)
12516except ApiException as e:
12517 print("Exception when calling ServiceRegistryAndSupervisionApi->deleteService: %s\n" % e)</code></pre>
12518 </div>
12519
12520 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-deleteService-0-rust">
12521 <pre class="prettyprint"><code class="language-rust">extern crate ServiceRegistryAndSupervisionApi;
12522
12523pub fn main() {
12524 let serviceId = serviceId_example; // String
12525
12526 let mut context = ServiceRegistryAndSupervisionApi::Context::default();
12527 let result = client.deleteService(serviceId, &context).wait();
12528
12529 println!("{:?}", result);
12530}
12531</code></pre>
12532 </div>
12533 </div>
12534
12535 <h2>Scopes</h2>
12536 <table>
12537
12538 </table>
12539
12540 <h2>Parameters</h2>
12541
12542 <div class="methodsubtabletitle">Path parameters</div>
12543 <table id="methodsubtable">
12544 <tr>
12545 <th width="150px">Name</th>
12546 <th>Description</th>
12547 </tr>
12548 <tr><td style="width:150px;">service_id*</td>
12549<td>
12550
12551
12552 <div id="d2e199_deleteService_serviceId">
12553 <div class="json-schema-view">
12554 <div class="primitive">
12555 <span class="type">
12556 String
12557 </span>
12558
12559 </div>
12560 <div class="inner required">
12561 Required
12562 </div>
12563 </div>
12564 </div>
12565</td>
12566</tr>
12567
12568 </table>
12569
12570
12571
12572
12573
12574 <h2>Responses</h2>
12575 <h3 id="examples-ServiceRegistryAndSupervision-deleteService-title-200"></h3>
12576 <p id="examples-ServiceRegistryAndSupervision-deleteService-description-200" class="marked"></p>
12577 <script>
12578 var responseServiceRegistryAndSupervision200_description = `Not used`;
12579 var responseServiceRegistryAndSupervision200_description_break = responseServiceRegistryAndSupervision200_description.indexOf('\n');
12580 if (responseServiceRegistryAndSupervision200_description_break == -1) {
12581 $("#examples-ServiceRegistryAndSupervision-deleteService-title-200").text("Status: 200 - " + responseServiceRegistryAndSupervision200_description);
12582 } else {
12583 $("#examples-ServiceRegistryAndSupervision-deleteService-title-200").text("Status: 200 - " + responseServiceRegistryAndSupervision200_description.substring(0, responseServiceRegistryAndSupervision200_description_break));
12584 $("#examples-ServiceRegistryAndSupervision-deleteService-description-200").html(responseServiceRegistryAndSupervision200_description.substring(responseServiceRegistryAndSupervision200_description_break));
12585 }
12586 </script>
12587
12588
12589 <ul id="responses-detail-ServiceRegistryAndSupervision-deleteService-200" class="nav nav-tabs nav-tabs-examples" >
12590 <li class="active">
12591 <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-deleteService-200-schema">Schema</a>
12592 </li>
12593
12594
12595
12596
12597 </ul>
12598
12599
12600 <div class="tab-content" id="responses-ServiceRegistryAndSupervision-deleteService-200-wrapper" style='margin-bottom: 10px;'>
12601 <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-200-schema">
12602 <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-200" class="exampleStyle">
12603 <script>
12604 $(document).ready(function() {
12605 var schemaWrapper = {
12606 "description" : "Not used",
12607 "content" : {
12608 "*/*" : {
12609 "schema" : {
12610 "$ref" : "#/components/schemas/void"
12611 }
12612 }
12613 }
12614};
12615 var schema = findNode('schema',schemaWrapper).schema;
12616 if (!schema) {
12617 schema = schemaWrapper.schema;
12618 }
12619 if (schema.$ref != null) {
12620 schema = defsParser.$refs.get(schema.$ref);
12621 } else if (schema.items != null && schema.items.$ref != null) {
12622 schema.items = defsParser.$refs.get(schema.items.$ref);
12623 } else {
12624 schemaWrapper.definitions = Object.assign({}, defs);
12625 $RefParser.dereference(schemaWrapper).catch(function(err) {
12626 console.log(err);
12627 });
12628 }
12629
12630 var view = new JSONSchemaView(schema, 3);
12631 $('#responses-ServiceRegistryAndSupervision-deleteService-200-schema-data').val(JSON.stringify(schema));
12632 var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-200');
12633 result.empty();
12634 result.append(view.render());
12635 });
12636 </script>
12637 </div>
12638 <input id='responses-ServiceRegistryAndSupervision-deleteService-200-schema-data' type='hidden' value=''></input>
12639 </div>
12640 </div>
12641 <h3 id="examples-ServiceRegistryAndSupervision-deleteService-title-204"></h3>
12642 <p id="examples-ServiceRegistryAndSupervision-deleteService-description-204" class="marked"></p>
12643 <script>
12644 var responseServiceRegistryAndSupervision204_description = `Service unregistered`;
12645 var responseServiceRegistryAndSupervision204_description_break = responseServiceRegistryAndSupervision204_description.indexOf('\n');
12646 if (responseServiceRegistryAndSupervision204_description_break == -1) {
12647 $("#examples-ServiceRegistryAndSupervision-deleteService-title-204").text("Status: 204 - " + responseServiceRegistryAndSupervision204_description);
12648 } else {
12649 $("#examples-ServiceRegistryAndSupervision-deleteService-title-204").text("Status: 204 - " + responseServiceRegistryAndSupervision204_description.substring(0, responseServiceRegistryAndSupervision204_description_break));
12650 $("#examples-ServiceRegistryAndSupervision-deleteService-description-204").html(responseServiceRegistryAndSupervision204_description.substring(responseServiceRegistryAndSupervision204_description_break));
12651 }
12652 </script>
12653
12654
12655 <ul id="responses-detail-ServiceRegistryAndSupervision-deleteService-204" class="nav nav-tabs nav-tabs-examples" >
12656 <li class="active">
12657 <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-deleteService-204-schema">Schema</a>
12658 </li>
12659
12660
12661
12662
12663 </ul>
12664
12665
12666 <div class="tab-content" id="responses-ServiceRegistryAndSupervision-deleteService-204-wrapper" style='margin-bottom: 10px;'>
12667 <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-204-schema">
12668 <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
12669 <script>
12670 $(document).ready(function() {
12671 var schemaWrapper = {
12672 "description" : "Service unregistered",
12673 "content" : {
12674 "*/*" : {
12675 "schema" : {
12676 "type" : "object"
12677 }
12678 }
12679 }
12680};
12681 var schema = findNode('schema',schemaWrapper).schema;
12682 if (!schema) {
12683 schema = schemaWrapper.schema;
12684 }
12685 if (schema.$ref != null) {
12686 schema = defsParser.$refs.get(schema.$ref);
12687 } else if (schema.items != null && schema.items.$ref != null) {
12688 schema.items = defsParser.$refs.get(schema.items.$ref);
12689 } else {
12690 schemaWrapper.definitions = Object.assign({}, defs);
12691 $RefParser.dereference(schemaWrapper).catch(function(err) {
12692 console.log(err);
12693 });
12694 }
12695
12696 var view = new JSONSchemaView(schema, 3);
12697 $('#responses-ServiceRegistryAndSupervision-deleteService-204-schema-data').val(JSON.stringify(schema));
12698 var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-204');
12699 result.empty();
12700 result.append(view.render());
12701 });
12702 </script>
12703 </div>
12704 <input id='responses-ServiceRegistryAndSupervision-deleteService-204-schema-data' type='hidden' value=''></input>
12705 </div>
12706 </div>
12707 <h3 id="examples-ServiceRegistryAndSupervision-deleteService-title-404"></h3>
12708 <p id="examples-ServiceRegistryAndSupervision-deleteService-description-404" class="marked"></p>
12709 <script>
12710 var responseServiceRegistryAndSupervision404_description = `Service not found`;
12711 var responseServiceRegistryAndSupervision404_description_break = responseServiceRegistryAndSupervision404_description.indexOf('\n');
12712 if (responseServiceRegistryAndSupervision404_description_break == -1) {
12713 $("#examples-ServiceRegistryAndSupervision-deleteService-title-404").text("Status: 404 - " + responseServiceRegistryAndSupervision404_description);
12714 } else {
12715 $("#examples-ServiceRegistryAndSupervision-deleteService-title-404").text("Status: 404 - " + responseServiceRegistryAndSupervision404_description.substring(0, responseServiceRegistryAndSupervision404_description_break));
12716 $("#examples-ServiceRegistryAndSupervision-deleteService-description-404").html(responseServiceRegistryAndSupervision404_description.substring(responseServiceRegistryAndSupervision404_description_break));
12717 }
12718 </script>
12719
12720
12721 <ul id="responses-detail-ServiceRegistryAndSupervision-deleteService-404" class="nav nav-tabs nav-tabs-examples" >
12722 <li class="active">
12723 <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-deleteService-404-schema">Schema</a>
12724 </li>
12725
12726
12727
12728
12729 </ul>
12730
12731
12732 <div class="tab-content" id="responses-ServiceRegistryAndSupervision-deleteService-404-wrapper" style='margin-bottom: 10px;'>
12733 <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-deleteService-404-schema">
12734 <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle">
12735 <script>
12736 $(document).ready(function() {
12737 var schemaWrapper = {
12738 "description" : "Service not found",
12739 "content" : {
12740 "*/*" : {
12741 "schema" : {
12742 "$ref" : "#/components/schemas/error_information"
12743 }
12744 }
12745 }
12746};
12747 var schema = findNode('schema',schemaWrapper).schema;
12748 if (!schema) {
12749 schema = schemaWrapper.schema;
12750 }
12751 if (schema.$ref != null) {
12752 schema = defsParser.$refs.get(schema.$ref);
12753 } else if (schema.items != null && schema.items.$ref != null) {
12754 schema.items = defsParser.$refs.get(schema.items.$ref);
12755 } else {
12756 schemaWrapper.definitions = Object.assign({}, defs);
12757 $RefParser.dereference(schemaWrapper).catch(function(err) {
12758 console.log(err);
12759 });
12760 }
12761
12762 var view = new JSONSchemaView(schema, 3);
12763 $('#responses-ServiceRegistryAndSupervision-deleteService-404-schema-data').val(JSON.stringify(schema));
12764 var result = $('#responses-ServiceRegistryAndSupervision-deleteService-schema-404');
12765 result.empty();
12766 result.append(view.render());
12767 });
12768 </script>
12769 </div>
12770 <input id='responses-ServiceRegistryAndSupervision-deleteService-404-schema-data' type='hidden' value=''></input>
12771 </div>
12772 </div>
12773 </article>
12774 </div>
12775 <hr>
12776 <div id="api-ServiceRegistryAndSupervision-getServices">
12777 <article id="api-ServiceRegistryAndSupervision-getServices-0" data-group="User" data-name="getServices" data-version="0">
12778 <div class="pull-left">
12779 <h1>getServices</h1>
12780 <p>Returns service information</p>
12781 </div>
12782 <div class="pull-right"></div>
12783 <div class="clearfix"></div>
12784 <p></p>
12785 <p class="marked">Either information about a registered service with given identity or all registered services are returned.</p>
12786 <p></p>
12787 <br />
12788 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/a1-policy/v2/services</span></code></pre>
12789 <p>
12790 <h3>Usage and SDK Samples</h3>
12791 </p>
12792 <ul class="nav nav-tabs nav-tabs-examples">
12793 <li class="active"><a href="#examples-ServiceRegistryAndSupervision-getServices-0-curl">Curl</a></li>
12794 <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-java">Java</a></li>
12795 <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-android">Android</a></li>
12796 <!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-groovy">Groovy</a></li>-->
12797 <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-objc">Obj-C</a></li>
12798 <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-javascript">JavaScript</a></li>
12799 <!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-angular">Angular</a></li>-->
12800 <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-csharp">C#</a></li>
12801 <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-php">PHP</a></li>
12802 <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-perl">Perl</a></li>
12803 <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-python">Python</a></li>
12804 <li class=""><a href="#examples-ServiceRegistryAndSupervision-getServices-0-rust">Rust</a></li>
12805 </ul>
12806
12807 <div class="tab-content">
12808 <div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-getServices-0-curl">
12809 <pre class="prettyprint"><code class="language-bsh">curl -X GET \
12810 -H "Accept: application/json" \
12811 "http://localhost/a1-policy/v2/services?service_id=serviceId_example"
12812</code></pre>
12813 </div>
12814 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-java">
12815 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
12816import org.openapitools.client.auth.*;
12817import org.openapitools.client.model.*;
12818import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
12819
12820import java.io.File;
12821import java.util.*;
12822
12823public class ServiceRegistryAndSupervisionApiExample {
12824 public static void main(String[] args) {
12825
12826 // Create an instance of the API class
12827 ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
12828 String serviceId = serviceId_example; // String | The identity of the service
12829
12830 try {
12831 service_list_v2 result = apiInstance.getServices(serviceId);
12832 System.out.println(result);
12833 } catch (ApiException e) {
12834 System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#getServices");
12835 e.printStackTrace();
12836 }
12837 }
12838}
12839</code></pre>
12840 </div>
12841
12842 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-android">
12843 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
12844
12845public class ServiceRegistryAndSupervisionApiExample {
12846 public static void main(String[] args) {
12847 ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
12848 String serviceId = serviceId_example; // String | The identity of the service
12849
12850 try {
12851 service_list_v2 result = apiInstance.getServices(serviceId);
12852 System.out.println(result);
12853 } catch (ApiException e) {
12854 System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#getServices");
12855 e.printStackTrace();
12856 }
12857 }
12858}</code></pre>
12859 </div>
12860 <!--
12861 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-groovy">
12862 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12863 </div> -->
12864 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-objc">
12865 <pre class="prettyprint"><code class="language-cpp">
12866
12867// Create an instance of the API class
12868ServiceRegistryAndSupervisionApi *apiInstance = [[ServiceRegistryAndSupervisionApi alloc] init];
12869String *serviceId = serviceId_example; // The identity of the service (optional) (default to null)
12870
12871// Returns service information
12872[apiInstance getServicesWith:serviceId
12873 completionHandler: ^(service_list_v2 output, NSError* error) {
12874 if (output) {
12875 NSLog(@"%@", output);
12876 }
12877 if (error) {
12878 NSLog(@"Error: %@", error);
12879 }
12880}];
12881</code></pre>
12882 </div>
12883
12884 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-javascript">
12885 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
12886
12887// Create an instance of the API class
12888var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
12889var opts = {
12890 'serviceId': serviceId_example // {String} The identity of the service
12891};
12892
12893var callback = function(error, data, response) {
12894 if (error) {
12895 console.error(error);
12896 } else {
12897 console.log('API called successfully. Returned data: ' + data);
12898 }
12899};
12900api.getServices(opts, callback);
12901</code></pre>
12902 </div>
12903
12904 <!--<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-angular">
12905 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12906 </div>-->
12907 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-csharp">
12908 <pre class="prettyprint"><code class="language-cs">using System;
12909using System.Diagnostics;
12910using Org.OpenAPITools.Api;
12911using Org.OpenAPITools.Client;
12912using Org.OpenAPITools.Model;
12913
12914namespace Example
12915{
12916 public class getServicesExample
12917 {
12918 public void main()
12919 {
12920
12921 // Create an instance of the API class
12922 var apiInstance = new ServiceRegistryAndSupervisionApi();
12923 var serviceId = serviceId_example; // String | The identity of the service (optional) (default to null)
12924
12925 try {
12926 // Returns service information
12927 service_list_v2 result = apiInstance.getServices(serviceId);
12928 Debug.WriteLine(result);
12929 } catch (Exception e) {
12930 Debug.Print("Exception when calling ServiceRegistryAndSupervisionApi.getServices: " + e.Message );
12931 }
12932 }
12933 }
12934}
12935</code></pre>
12936 </div>
12937
12938 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-php">
12939 <pre class="prettyprint"><code class="language-php"><&#63;php
12940require_once(__DIR__ . '/vendor/autoload.php');
12941
12942// Create an instance of the API class
12943$api_instance = new OpenAPITools\Client\Api\ServiceRegistryAndSupervisionApi();
12944$serviceId = serviceId_example; // String | The identity of the service
12945
12946try {
12947 $result = $api_instance->getServices($serviceId);
12948 print_r($result);
12949} catch (Exception $e) {
12950 echo 'Exception when calling ServiceRegistryAndSupervisionApi->getServices: ', $e->getMessage(), PHP_EOL;
12951}
12952?></code></pre>
12953 </div>
12954
12955 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-perl">
12956 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
12957use WWW::OPenAPIClient::Configuration;
12958use WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi;
12959
12960# Create an instance of the API class
12961my $api_instance = WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi->new();
12962my $serviceId = serviceId_example; # String | The identity of the service
12963
12964eval {
12965 my $result = $api_instance->getServices(serviceId => $serviceId);
12966 print Dumper($result);
12967};
12968if ($@) {
12969 warn "Exception when calling ServiceRegistryAndSupervisionApi->getServices: $@\n";
12970}</code></pre>
12971 </div>
12972
12973 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-python">
12974 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
12975import time
12976import openapi_client
12977from openapi_client.rest import ApiException
12978from pprint import pprint
12979
12980# Create an instance of the API class
12981api_instance = openapi_client.ServiceRegistryAndSupervisionApi()
12982serviceId = serviceId_example # String | The identity of the service (optional) (default to null)
12983
12984try:
12985 # Returns service information
12986 api_response = api_instance.get_services(serviceId=serviceId)
12987 pprint(api_response)
12988except ApiException as e:
12989 print("Exception when calling ServiceRegistryAndSupervisionApi->getServices: %s\n" % e)</code></pre>
12990 </div>
12991
12992 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-getServices-0-rust">
12993 <pre class="prettyprint"><code class="language-rust">extern crate ServiceRegistryAndSupervisionApi;
12994
12995pub fn main() {
12996 let serviceId = serviceId_example; // String
12997
12998 let mut context = ServiceRegistryAndSupervisionApi::Context::default();
12999 let result = client.getServices(serviceId, &context).wait();
13000
13001 println!("{:?}", result);
13002}
13003</code></pre>
13004 </div>
13005 </div>
13006
13007 <h2>Scopes</h2>
13008 <table>
13009
13010 </table>
13011
13012 <h2>Parameters</h2>
13013
13014
13015
13016
13017
13018 <div class="methodsubtabletitle">Query parameters</div>
13019 <table id="methodsubtable">
13020 <tr>
13021 <th width="150px">Name</th>
13022 <th>Description</th>
13023 </tr>
13024 <tr><td style="width:150px;">service_id</td>
13025<td>
13026
13027
13028 <div id="d2e199_getServices_serviceId">
13029 <div class="json-schema-view">
13030 <div class="primitive">
13031 <span class="type">
13032 String
13033 </span>
13034
13035 <div class="inner description marked">
13036The identity of the service
13037 </div>
13038 </div>
13039 </div>
13040 </div>
13041</td>
13042</tr>
13043
13044 </table>
13045
13046 <h2>Responses</h2>
13047 <h3 id="examples-ServiceRegistryAndSupervision-getServices-title-200"></h3>
13048 <p id="examples-ServiceRegistryAndSupervision-getServices-description-200" class="marked"></p>
13049 <script>
13050 var responseServiceRegistryAndSupervision200_description = `OK`;
13051 var responseServiceRegistryAndSupervision200_description_break = responseServiceRegistryAndSupervision200_description.indexOf('\n');
13052 if (responseServiceRegistryAndSupervision200_description_break == -1) {
13053 $("#examples-ServiceRegistryAndSupervision-getServices-title-200").text("Status: 200 - " + responseServiceRegistryAndSupervision200_description);
13054 } else {
13055 $("#examples-ServiceRegistryAndSupervision-getServices-title-200").text("Status: 200 - " + responseServiceRegistryAndSupervision200_description.substring(0, responseServiceRegistryAndSupervision200_description_break));
13056 $("#examples-ServiceRegistryAndSupervision-getServices-description-200").html(responseServiceRegistryAndSupervision200_description.substring(responseServiceRegistryAndSupervision200_description_break));
13057 }
13058 </script>
13059
13060
13061 <ul id="responses-detail-ServiceRegistryAndSupervision-getServices-200" class="nav nav-tabs nav-tabs-examples" >
13062 <li class="active">
13063 <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-getServices-200-schema">Schema</a>
13064 </li>
13065
13066
13067
13068
13069 </ul>
13070
13071
13072 <div class="tab-content" id="responses-ServiceRegistryAndSupervision-getServices-200-wrapper" style='margin-bottom: 10px;'>
13073 <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-200-schema">
13074 <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
13075 <script>
13076 $(document).ready(function() {
13077 var schemaWrapper = {
13078 "description" : "OK",
13079 "content" : {
13080 "application/json" : {
13081 "schema" : {
13082 "$ref" : "#/components/schemas/service_list_v2"
13083 }
13084 }
13085 }
13086};
13087 var schema = findNode('schema',schemaWrapper).schema;
13088 if (!schema) {
13089 schema = schemaWrapper.schema;
13090 }
13091 if (schema.$ref != null) {
13092 schema = defsParser.$refs.get(schema.$ref);
13093 } else if (schema.items != null && schema.items.$ref != null) {
13094 schema.items = defsParser.$refs.get(schema.items.$ref);
13095 } else {
13096 schemaWrapper.definitions = Object.assign({}, defs);
13097 $RefParser.dereference(schemaWrapper).catch(function(err) {
13098 console.log(err);
13099 });
13100 }
13101
13102 var view = new JSONSchemaView(schema, 3);
13103 $('#responses-ServiceRegistryAndSupervision-getServices-200-schema-data').val(JSON.stringify(schema));
13104 var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-200');
13105 result.empty();
13106 result.append(view.render());
13107 });
13108 </script>
13109 </div>
13110 <input id='responses-ServiceRegistryAndSupervision-getServices-200-schema-data' type='hidden' value=''></input>
13111 </div>
13112 </div>
13113 <h3 id="examples-ServiceRegistryAndSupervision-getServices-title-404"></h3>
13114 <p id="examples-ServiceRegistryAndSupervision-getServices-description-404" class="marked"></p>
13115 <script>
13116 var responseServiceRegistryAndSupervision404_description = `Service is not found`;
13117 var responseServiceRegistryAndSupervision404_description_break = responseServiceRegistryAndSupervision404_description.indexOf('\n');
13118 if (responseServiceRegistryAndSupervision404_description_break == -1) {
13119 $("#examples-ServiceRegistryAndSupervision-getServices-title-404").text("Status: 404 - " + responseServiceRegistryAndSupervision404_description);
13120 } else {
13121 $("#examples-ServiceRegistryAndSupervision-getServices-title-404").text("Status: 404 - " + responseServiceRegistryAndSupervision404_description.substring(0, responseServiceRegistryAndSupervision404_description_break));
13122 $("#examples-ServiceRegistryAndSupervision-getServices-description-404").html(responseServiceRegistryAndSupervision404_description.substring(responseServiceRegistryAndSupervision404_description_break));
13123 }
13124 </script>
13125
13126
13127 <ul id="responses-detail-ServiceRegistryAndSupervision-getServices-404" class="nav nav-tabs nav-tabs-examples" >
13128 <li class="active">
13129 <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-getServices-404-schema">Schema</a>
13130 </li>
13131
13132
13133
13134
13135 </ul>
13136
13137
13138 <div class="tab-content" id="responses-ServiceRegistryAndSupervision-getServices-404-wrapper" style='margin-bottom: 10px;'>
13139 <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-getServices-404-schema">
13140 <div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle">
13141 <script>
13142 $(document).ready(function() {
13143 var schemaWrapper = {
13144 "description" : "Service is not found",
13145 "content" : {
13146 "application/json" : {
13147 "schema" : {
13148 "$ref" : "#/components/schemas/error_information"
13149 }
13150 }
13151 }
13152};
13153 var schema = findNode('schema',schemaWrapper).schema;
13154 if (!schema) {
13155 schema = schemaWrapper.schema;
13156 }
13157 if (schema.$ref != null) {
13158 schema = defsParser.$refs.get(schema.$ref);
13159 } else if (schema.items != null && schema.items.$ref != null) {
13160 schema.items = defsParser.$refs.get(schema.items.$ref);
13161 } else {
13162 schemaWrapper.definitions = Object.assign({}, defs);
13163 $RefParser.dereference(schemaWrapper).catch(function(err) {
13164 console.log(err);
13165 });
13166 }
13167
13168 var view = new JSONSchemaView(schema, 3);
13169 $('#responses-ServiceRegistryAndSupervision-getServices-404-schema-data').val(JSON.stringify(schema));
13170 var result = $('#responses-ServiceRegistryAndSupervision-getServices-schema-404');
13171 result.empty();
13172 result.append(view.render());
13173 });
13174 </script>
13175 </div>
13176 <input id='responses-ServiceRegistryAndSupervision-getServices-404-schema-data' type='hidden' value=''></input>
13177 </div>
13178 </div>
13179 </article>
13180 </div>
13181 <hr>
13182 <div id="api-ServiceRegistryAndSupervision-keepAliveService">
13183 <article id="api-ServiceRegistryAndSupervision-keepAliveService-0" data-group="User" data-name="keepAliveService" data-version="0">
13184 <div class="pull-left">
13185 <h1>keepAliveService</h1>
13186 <p>Heartbeat indicates that the service is running</p>
13187 </div>
13188 <div class="pull-right"></div>
13189 <div class="clearfix"></div>
13190 <p></p>
13191 <p class="marked">A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke this operation before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. (This timeout can be set or disabled when each service is initially registered)</p>
13192 <p></p>
13193 <br />
13194 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/services/{service_id}/keepalive</span></code></pre>
13195 <p>
13196 <h3>Usage and SDK Samples</h3>
13197 </p>
13198 <ul class="nav nav-tabs nav-tabs-examples">
13199 <li class="active"><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-curl">Curl</a></li>
13200 <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-java">Java</a></li>
13201 <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-android">Android</a></li>
13202 <!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-groovy">Groovy</a></li>-->
13203 <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-objc">Obj-C</a></li>
13204 <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-javascript">JavaScript</a></li>
13205 <!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-angular">Angular</a></li>-->
13206 <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-csharp">C#</a></li>
13207 <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-php">PHP</a></li>
13208 <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-perl">Perl</a></li>
13209 <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-python">Python</a></li>
13210 <li class=""><a href="#examples-ServiceRegistryAndSupervision-keepAliveService-0-rust">Rust</a></li>
13211 </ul>
13212
13213 <div class="tab-content">
13214 <div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-curl">
13215 <pre class="prettyprint"><code class="language-bsh">curl -X PUT \
13216 -H "Accept: */*" \
13217 "http://localhost/a1-policy/v2/services/{service_id}/keepalive"
13218</code></pre>
13219 </div>
13220 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-java">
13221 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
13222import org.openapitools.client.auth.*;
13223import org.openapitools.client.model.*;
13224import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
13225
13226import java.io.File;
13227import java.util.*;
13228
13229public class ServiceRegistryAndSupervisionApiExample {
13230 public static void main(String[] args) {
13231
13232 // Create an instance of the API class
13233 ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
13234 String serviceId = serviceId_example; // String |
13235
13236 try {
13237 Object result = apiInstance.keepAliveService(serviceId);
13238 System.out.println(result);
13239 } catch (ApiException e) {
13240 System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#keepAliveService");
13241 e.printStackTrace();
13242 }
13243 }
13244}
13245</code></pre>
13246 </div>
13247
13248 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-android">
13249 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
13250
13251public class ServiceRegistryAndSupervisionApiExample {
13252 public static void main(String[] args) {
13253 ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
13254 String serviceId = serviceId_example; // String |
13255
13256 try {
13257 Object result = apiInstance.keepAliveService(serviceId);
13258 System.out.println(result);
13259 } catch (ApiException e) {
13260 System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#keepAliveService");
13261 e.printStackTrace();
13262 }
13263 }
13264}</code></pre>
13265 </div>
13266 <!--
13267 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-groovy">
13268 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13269 </div> -->
13270 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-objc">
13271 <pre class="prettyprint"><code class="language-cpp">
13272
13273// Create an instance of the API class
13274ServiceRegistryAndSupervisionApi *apiInstance = [[ServiceRegistryAndSupervisionApi alloc] init];
13275String *serviceId = serviceId_example; // (default to null)
13276
13277// Heartbeat indicates that the service is running
13278[apiInstance keepAliveServiceWith:serviceId
13279 completionHandler: ^(Object output, NSError* error) {
13280 if (output) {
13281 NSLog(@"%@", output);
13282 }
13283 if (error) {
13284 NSLog(@"Error: %@", error);
13285 }
13286}];
13287</code></pre>
13288 </div>
13289
13290 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-javascript">
13291 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
13292
13293// Create an instance of the API class
13294var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
13295var serviceId = serviceId_example; // {String}
13296
13297var callback = function(error, data, response) {
13298 if (error) {
13299 console.error(error);
13300 } else {
13301 console.log('API called successfully. Returned data: ' + data);
13302 }
13303};
13304api.keepAliveService(serviceId, callback);
13305</code></pre>
13306 </div>
13307
13308 <!--<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-angular">
13309 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13310 </div>-->
13311 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-csharp">
13312 <pre class="prettyprint"><code class="language-cs">using System;
13313using System.Diagnostics;
13314using Org.OpenAPITools.Api;
13315using Org.OpenAPITools.Client;
13316using Org.OpenAPITools.Model;
13317
13318namespace Example
13319{
13320 public class keepAliveServiceExample
13321 {
13322 public void main()
13323 {
13324
13325 // Create an instance of the API class
13326 var apiInstance = new ServiceRegistryAndSupervisionApi();
13327 var serviceId = serviceId_example; // String | (default to null)
13328
13329 try {
13330 // Heartbeat indicates that the service is running
13331 Object result = apiInstance.keepAliveService(serviceId);
13332 Debug.WriteLine(result);
13333 } catch (Exception e) {
13334 Debug.Print("Exception when calling ServiceRegistryAndSupervisionApi.keepAliveService: " + e.Message );
13335 }
13336 }
13337 }
13338}
13339</code></pre>
13340 </div>
13341
13342 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-php">
13343 <pre class="prettyprint"><code class="language-php"><&#63;php
13344require_once(__DIR__ . '/vendor/autoload.php');
13345
13346// Create an instance of the API class
13347$api_instance = new OpenAPITools\Client\Api\ServiceRegistryAndSupervisionApi();
13348$serviceId = serviceId_example; // String |
13349
13350try {
13351 $result = $api_instance->keepAliveService($serviceId);
13352 print_r($result);
13353} catch (Exception $e) {
13354 echo 'Exception when calling ServiceRegistryAndSupervisionApi->keepAliveService: ', $e->getMessage(), PHP_EOL;
13355}
13356?></code></pre>
13357 </div>
13358
13359 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-perl">
13360 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
13361use WWW::OPenAPIClient::Configuration;
13362use WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi;
13363
13364# Create an instance of the API class
13365my $api_instance = WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi->new();
13366my $serviceId = serviceId_example; # String |
13367
13368eval {
13369 my $result = $api_instance->keepAliveService(serviceId => $serviceId);
13370 print Dumper($result);
13371};
13372if ($@) {
13373 warn "Exception when calling ServiceRegistryAndSupervisionApi->keepAliveService: $@\n";
13374}</code></pre>
13375 </div>
13376
13377 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-python">
13378 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
13379import time
13380import openapi_client
13381from openapi_client.rest import ApiException
13382from pprint import pprint
13383
13384# Create an instance of the API class
13385api_instance = openapi_client.ServiceRegistryAndSupervisionApi()
13386serviceId = serviceId_example # String | (default to null)
13387
13388try:
13389 # Heartbeat indicates that the service is running
13390 api_response = api_instance.keep_alive_service(serviceId)
13391 pprint(api_response)
13392except ApiException as e:
13393 print("Exception when calling ServiceRegistryAndSupervisionApi->keepAliveService: %s\n" % e)</code></pre>
13394 </div>
13395
13396 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-rust">
13397 <pre class="prettyprint"><code class="language-rust">extern crate ServiceRegistryAndSupervisionApi;
13398
13399pub fn main() {
13400 let serviceId = serviceId_example; // String
13401
13402 let mut context = ServiceRegistryAndSupervisionApi::Context::default();
13403 let result = client.keepAliveService(serviceId, &context).wait();
13404
13405 println!("{:?}", result);
13406}
13407</code></pre>
13408 </div>
13409 </div>
13410
13411 <h2>Scopes</h2>
13412 <table>
13413
13414 </table>
13415
13416 <h2>Parameters</h2>
13417
13418 <div class="methodsubtabletitle">Path parameters</div>
13419 <table id="methodsubtable">
13420 <tr>
13421 <th width="150px">Name</th>
13422 <th>Description</th>
13423 </tr>
13424 <tr><td style="width:150px;">service_id*</td>
13425<td>
13426
13427
13428 <div id="d2e199_keepAliveService_serviceId">
13429 <div class="json-schema-view">
13430 <div class="primitive">
13431 <span class="type">
13432 String
13433 </span>
13434
13435 </div>
13436 <div class="inner required">
13437 Required
13438 </div>
13439 </div>
13440 </div>
13441</td>
13442</tr>
13443
13444 </table>
13445
13446
13447
13448
13449
13450 <h2>Responses</h2>
13451 <h3 id="examples-ServiceRegistryAndSupervision-keepAliveService-title-200"></h3>
13452 <p id="examples-ServiceRegistryAndSupervision-keepAliveService-description-200" class="marked"></p>
13453 <script>
13454 var responseServiceRegistryAndSupervision200_description = `Service supervision timer refreshed, OK`;
13455 var responseServiceRegistryAndSupervision200_description_break = responseServiceRegistryAndSupervision200_description.indexOf('\n');
13456 if (responseServiceRegistryAndSupervision200_description_break == -1) {
13457 $("#examples-ServiceRegistryAndSupervision-keepAliveService-title-200").text("Status: 200 - " + responseServiceRegistryAndSupervision200_description);
13458 } else {
13459 $("#examples-ServiceRegistryAndSupervision-keepAliveService-title-200").text("Status: 200 - " + responseServiceRegistryAndSupervision200_description.substring(0, responseServiceRegistryAndSupervision200_description_break));
13460 $("#examples-ServiceRegistryAndSupervision-keepAliveService-description-200").html(responseServiceRegistryAndSupervision200_description.substring(responseServiceRegistryAndSupervision200_description_break));
13461 }
13462 </script>
13463
13464
13465 <ul id="responses-detail-ServiceRegistryAndSupervision-keepAliveService-200" class="nav nav-tabs nav-tabs-examples" >
13466 <li class="active">
13467 <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-keepAliveService-200-schema">Schema</a>
13468 </li>
13469
13470
13471
13472
13473 </ul>
13474
13475
13476 <div class="tab-content" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-wrapper" style='margin-bottom: 10px;'>
13477 <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-200-schema">
13478 <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
13479 <script>
13480 $(document).ready(function() {
13481 var schemaWrapper = {
13482 "description" : "Service supervision timer refreshed, OK",
13483 "content" : {
13484 "*/*" : {
13485 "schema" : {
13486 "type" : "object"
13487 }
13488 }
13489 }
13490};
13491 var schema = findNode('schema',schemaWrapper).schema;
13492 if (!schema) {
13493 schema = schemaWrapper.schema;
13494 }
13495 if (schema.$ref != null) {
13496 schema = defsParser.$refs.get(schema.$ref);
13497 } else if (schema.items != null && schema.items.$ref != null) {
13498 schema.items = defsParser.$refs.get(schema.items.$ref);
13499 } else {
13500 schemaWrapper.definitions = Object.assign({}, defs);
13501 $RefParser.dereference(schemaWrapper).catch(function(err) {
13502 console.log(err);
13503 });
13504 }
13505
13506 var view = new JSONSchemaView(schema, 3);
13507 $('#responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data').val(JSON.stringify(schema));
13508 var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-200');
13509 result.empty();
13510 result.append(view.render());
13511 });
13512 </script>
13513 </div>
13514 <input id='responses-ServiceRegistryAndSupervision-keepAliveService-200-schema-data' type='hidden' value=''></input>
13515 </div>
13516 </div>
13517 <h3 id="examples-ServiceRegistryAndSupervision-keepAliveService-title-404"></h3>
13518 <p id="examples-ServiceRegistryAndSupervision-keepAliveService-description-404" class="marked"></p>
13519 <script>
13520 var responseServiceRegistryAndSupervision404_description = `The service is not found, needs re-registration`;
13521 var responseServiceRegistryAndSupervision404_description_break = responseServiceRegistryAndSupervision404_description.indexOf('\n');
13522 if (responseServiceRegistryAndSupervision404_description_break == -1) {
13523 $("#examples-ServiceRegistryAndSupervision-keepAliveService-title-404").text("Status: 404 - " + responseServiceRegistryAndSupervision404_description);
13524 } else {
13525 $("#examples-ServiceRegistryAndSupervision-keepAliveService-title-404").text("Status: 404 - " + responseServiceRegistryAndSupervision404_description.substring(0, responseServiceRegistryAndSupervision404_description_break));
13526 $("#examples-ServiceRegistryAndSupervision-keepAliveService-description-404").html(responseServiceRegistryAndSupervision404_description.substring(responseServiceRegistryAndSupervision404_description_break));
13527 }
13528 </script>
13529
13530
13531 <ul id="responses-detail-ServiceRegistryAndSupervision-keepAliveService-404" class="nav nav-tabs nav-tabs-examples" >
13532 <li class="active">
13533 <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-keepAliveService-404-schema">Schema</a>
13534 </li>
13535
13536
13537
13538
13539 </ul>
13540
13541
13542 <div class="tab-content" id="responses-ServiceRegistryAndSupervision-keepAliveService-404-wrapper" style='margin-bottom: 10px;'>
13543 <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-keepAliveService-404-schema">
13544 <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle">
13545 <script>
13546 $(document).ready(function() {
13547 var schemaWrapper = {
13548 "description" : "The service is not found, needs re-registration",
13549 "content" : {
13550 "*/*" : {
13551 "schema" : {
13552 "$ref" : "#/components/schemas/error_information"
13553 }
13554 }
13555 }
13556};
13557 var schema = findNode('schema',schemaWrapper).schema;
13558 if (!schema) {
13559 schema = schemaWrapper.schema;
13560 }
13561 if (schema.$ref != null) {
13562 schema = defsParser.$refs.get(schema.$ref);
13563 } else if (schema.items != null && schema.items.$ref != null) {
13564 schema.items = defsParser.$refs.get(schema.items.$ref);
13565 } else {
13566 schemaWrapper.definitions = Object.assign({}, defs);
13567 $RefParser.dereference(schemaWrapper).catch(function(err) {
13568 console.log(err);
13569 });
13570 }
13571
13572 var view = new JSONSchemaView(schema, 3);
13573 $('#responses-ServiceRegistryAndSupervision-keepAliveService-404-schema-data').val(JSON.stringify(schema));
13574 var result = $('#responses-ServiceRegistryAndSupervision-keepAliveService-schema-404');
13575 result.empty();
13576 result.append(view.render());
13577 });
13578 </script>
13579 </div>
13580 <input id='responses-ServiceRegistryAndSupervision-keepAliveService-404-schema-data' type='hidden' value=''></input>
13581 </div>
13582 </div>
13583 </article>
13584 </div>
13585 <hr>
13586 <div id="api-ServiceRegistryAndSupervision-putService">
13587 <article id="api-ServiceRegistryAndSupervision-putService-0" data-group="User" data-name="putService" data-version="0">
13588 <div class="pull-left">
13589 <h1>putService</h1>
13590 <p>Register a service</p>
13591 </div>
13592 <div class="pull-right"></div>
13593 <div class="clearfix"></div>
13594 <p></p>
13595 <p class="marked">Registering a service is needed to:&lt;ul&gt;&lt;li&gt;Get callbacks about available NearRT RICs.&lt;/li&gt;&lt;li&gt;Activate supervision of the service. If a service is inactive, its policies will automatically be deleted.&lt;/li&gt;&lt;/ul&gt;Policies can be created even if the service is not registerred. This is a feature which it is optional to use.</p>
13596 <p></p>
13597 <br />
13598 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/a1-policy/v2/services</span></code></pre>
13599 <p>
13600 <h3>Usage and SDK Samples</h3>
13601 </p>
13602 <ul class="nav nav-tabs nav-tabs-examples">
13603 <li class="active"><a href="#examples-ServiceRegistryAndSupervision-putService-0-curl">Curl</a></li>
13604 <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-java">Java</a></li>
13605 <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-android">Android</a></li>
13606 <!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-groovy">Groovy</a></li>-->
13607 <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-objc">Obj-C</a></li>
13608 <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-javascript">JavaScript</a></li>
13609 <!--<li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-angular">Angular</a></li>-->
13610 <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-csharp">C#</a></li>
13611 <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-php">PHP</a></li>
13612 <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-perl">Perl</a></li>
13613 <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-python">Python</a></li>
13614 <li class=""><a href="#examples-ServiceRegistryAndSupervision-putService-0-rust">Rust</a></li>
13615 </ul>
13616
13617 <div class="tab-content">
13618 <div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-putService-0-curl">
13619 <pre class="prettyprint"><code class="language-bsh">curl -X PUT \
13620 -H "Accept: */*" \
13621 -H "Content-Type: application/json" \
13622 "http://localhost/a1-policy/v2/services" \
13623 -d ''
13624</code></pre>
13625 </div>
13626 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-java">
13627 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.*;
13628import org.openapitools.client.auth.*;
13629import org.openapitools.client.model.*;
13630import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
13631
13632import java.io.File;
13633import java.util.*;
13634
13635public class ServiceRegistryAndSupervisionApiExample {
13636 public static void main(String[] args) {
13637
13638 // Create an instance of the API class
13639 ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
13640 ServiceRegistrationInfoV2 serviceRegistrationInfoV2 = ; // ServiceRegistrationInfoV2 |
13641
13642 try {
13643 Object result = apiInstance.putService(serviceRegistrationInfoV2);
13644 System.out.println(result);
13645 } catch (ApiException e) {
13646 System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#putService");
13647 e.printStackTrace();
13648 }
13649 }
13650}
13651</code></pre>
13652 </div>
13653
13654 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-android">
13655 <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.ServiceRegistryAndSupervisionApi;
13656
13657public class ServiceRegistryAndSupervisionApiExample {
13658 public static void main(String[] args) {
13659 ServiceRegistryAndSupervisionApi apiInstance = new ServiceRegistryAndSupervisionApi();
13660 ServiceRegistrationInfoV2 serviceRegistrationInfoV2 = ; // ServiceRegistrationInfoV2 |
13661
13662 try {
13663 Object result = apiInstance.putService(serviceRegistrationInfoV2);
13664 System.out.println(result);
13665 } catch (ApiException e) {
13666 System.err.println("Exception when calling ServiceRegistryAndSupervisionApi#putService");
13667 e.printStackTrace();
13668 }
13669 }
13670}</code></pre>
13671 </div>
13672 <!--
13673 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-groovy">
13674 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13675 </div> -->
13676 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-objc">
13677 <pre class="prettyprint"><code class="language-cpp">
13678
13679// Create an instance of the API class
13680ServiceRegistryAndSupervisionApi *apiInstance = [[ServiceRegistryAndSupervisionApi alloc] init];
13681ServiceRegistrationInfoV2 *serviceRegistrationInfoV2 = ; //
13682
13683// Register a service
13684[apiInstance putServiceWith:serviceRegistrationInfoV2
13685 completionHandler: ^(Object output, NSError* error) {
13686 if (output) {
13687 NSLog(@"%@", output);
13688 }
13689 if (error) {
13690 NSLog(@"Error: %@", error);
13691 }
13692}];
13693</code></pre>
13694 </div>
13695
13696 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-javascript">
13697 <pre class="prettyprint"><code class="language-js">var A1PolicyManagementService = require('a1_policy_management_service');
13698
13699// Create an instance of the API class
13700var api = new A1PolicyManagementService.ServiceRegistryAndSupervisionApi()
13701var serviceRegistrationInfoV2 = ; // {ServiceRegistrationInfoV2}
13702
13703var callback = function(error, data, response) {
13704 if (error) {
13705 console.error(error);
13706 } else {
13707 console.log('API called successfully. Returned data: ' + data);
13708 }
13709};
13710api.putService(serviceRegistrationInfoV2, callback);
13711</code></pre>
13712 </div>
13713
13714 <!--<div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-angular">
13715 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13716 </div>-->
13717 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-csharp">
13718 <pre class="prettyprint"><code class="language-cs">using System;
13719using System.Diagnostics;
13720using Org.OpenAPITools.Api;
13721using Org.OpenAPITools.Client;
13722using Org.OpenAPITools.Model;
13723
13724namespace Example
13725{
13726 public class putServiceExample
13727 {
13728 public void main()
13729 {
13730
13731 // Create an instance of the API class
13732 var apiInstance = new ServiceRegistryAndSupervisionApi();
13733 var serviceRegistrationInfoV2 = new ServiceRegistrationInfoV2(); // ServiceRegistrationInfoV2 |
13734
13735 try {
13736 // Register a service
13737 Object result = apiInstance.putService(serviceRegistrationInfoV2);
13738 Debug.WriteLine(result);
13739 } catch (Exception e) {
13740 Debug.Print("Exception when calling ServiceRegistryAndSupervisionApi.putService: " + e.Message );
13741 }
13742 }
13743 }
13744}
13745</code></pre>
13746 </div>
13747
13748 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-php">
13749 <pre class="prettyprint"><code class="language-php"><&#63;php
13750require_once(__DIR__ . '/vendor/autoload.php');
13751
13752// Create an instance of the API class
13753$api_instance = new OpenAPITools\Client\Api\ServiceRegistryAndSupervisionApi();
13754$serviceRegistrationInfoV2 = ; // ServiceRegistrationInfoV2 |
13755
13756try {
13757 $result = $api_instance->putService($serviceRegistrationInfoV2);
13758 print_r($result);
13759} catch (Exception $e) {
13760 echo 'Exception when calling ServiceRegistryAndSupervisionApi->putService: ', $e->getMessage(), PHP_EOL;
13761}
13762?></code></pre>
13763 </div>
13764
13765 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-perl">
13766 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
13767use WWW::OPenAPIClient::Configuration;
13768use WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi;
13769
13770# Create an instance of the API class
13771my $api_instance = WWW::OPenAPIClient::ServiceRegistryAndSupervisionApi->new();
13772my $serviceRegistrationInfoV2 = WWW::OPenAPIClient::Object::ServiceRegistrationInfoV2->new(); # ServiceRegistrationInfoV2 |
13773
13774eval {
13775 my $result = $api_instance->putService(serviceRegistrationInfoV2 => $serviceRegistrationInfoV2);
13776 print Dumper($result);
13777};
13778if ($@) {
13779 warn "Exception when calling ServiceRegistryAndSupervisionApi->putService: $@\n";
13780}</code></pre>
13781 </div>
13782
13783 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-python">
13784 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
13785import time
13786import openapi_client
13787from openapi_client.rest import ApiException
13788from pprint import pprint
13789
13790# Create an instance of the API class
13791api_instance = openapi_client.ServiceRegistryAndSupervisionApi()
13792serviceRegistrationInfoV2 = # ServiceRegistrationInfoV2 |
13793
13794try:
13795 # Register a service
13796 api_response = api_instance.put_service(serviceRegistrationInfoV2)
13797 pprint(api_response)
13798except ApiException as e:
13799 print("Exception when calling ServiceRegistryAndSupervisionApi->putService: %s\n" % e)</code></pre>
13800 </div>
13801
13802 <div class="tab-pane" id="examples-ServiceRegistryAndSupervision-putService-0-rust">
13803 <pre class="prettyprint"><code class="language-rust">extern crate ServiceRegistryAndSupervisionApi;
13804
13805pub fn main() {
13806 let serviceRegistrationInfoV2 = ; // ServiceRegistrationInfoV2
13807
13808 let mut context = ServiceRegistryAndSupervisionApi::Context::default();
13809 let result = client.putService(serviceRegistrationInfoV2, &context).wait();
13810
13811 println!("{:?}", result);
13812}
13813</code></pre>
13814 </div>
13815 </div>
13816
13817 <h2>Scopes</h2>
13818 <table>
13819
13820 </table>
13821
13822 <h2>Parameters</h2>
13823
13824
13825
13826 <div class="methodsubtabletitle">Body parameters</div>
13827 <table id="methodsubtable">
13828 <tr>
13829 <th width="150px">Name</th>
13830 <th>Description</th>
13831 </tr>
13832 <tr><td style="width:150px;">serviceRegistrationInfoV2 <span style="color:red;">*</span></td>
13833<td>
13834<p class="marked"></p>
13835<script>
13836$(document).ready(function() {
13837 var schemaWrapper = {
13838 "content" : {
13839 "application/json" : {
13840 "schema" : {
13841 "$ref" : "#/components/schemas/service_registration_info_v2"
13842 }
13843 }
13844 },
13845 "required" : true
13846};
13847
13848 var schema = findNode('schema',schemaWrapper).schema;
13849 if (!schema) {
13850 schema = schemaWrapper.schema;
13851 }
13852 if (schema.$ref != null) {
13853 schema = defsParser.$refs.get(schema.$ref);
13854 } else {
13855 schemaWrapper.definitions = Object.assign({}, defs);
13856 $RefParser.dereference(schemaWrapper).catch(function(err) {
13857 console.log(err);
13858 });
13859 }
13860
13861 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
13862 var result = $('#d2e199_putService_serviceRegistrationInfoV2');
13863 result.empty();
13864 result.append(view.render());
13865});
13866</script>
13867<div id="d2e199_putService_serviceRegistrationInfoV2"></div>
13868</td>
13869</tr>
13870
13871 </table>
13872
13873
13874
13875 <h2>Responses</h2>
13876 <h3 id="examples-ServiceRegistryAndSupervision-putService-title-200"></h3>
13877 <p id="examples-ServiceRegistryAndSupervision-putService-description-200" class="marked"></p>
13878 <script>
13879 var responseServiceRegistryAndSupervision200_description = `Service updated`;
13880 var responseServiceRegistryAndSupervision200_description_break = responseServiceRegistryAndSupervision200_description.indexOf('\n');
13881 if (responseServiceRegistryAndSupervision200_description_break == -1) {
13882 $("#examples-ServiceRegistryAndSupervision-putService-title-200").text("Status: 200 - " + responseServiceRegistryAndSupervision200_description);
13883 } else {
13884 $("#examples-ServiceRegistryAndSupervision-putService-title-200").text("Status: 200 - " + responseServiceRegistryAndSupervision200_description.substring(0, responseServiceRegistryAndSupervision200_description_break));
13885 $("#examples-ServiceRegistryAndSupervision-putService-description-200").html(responseServiceRegistryAndSupervision200_description.substring(responseServiceRegistryAndSupervision200_description_break));
13886 }
13887 </script>
13888
13889
13890 <ul id="responses-detail-ServiceRegistryAndSupervision-putService-200" class="nav nav-tabs nav-tabs-examples" >
13891 <li class="active">
13892 <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-putService-200-schema">Schema</a>
13893 </li>
13894
13895
13896
13897
13898 </ul>
13899
13900
13901 <div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-200-wrapper" style='margin-bottom: 10px;'>
13902 <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-200-schema">
13903 <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
13904 <script>
13905 $(document).ready(function() {
13906 var schemaWrapper = {
13907 "description" : "Service updated",
13908 "content" : {
13909 "*/*" : {
13910 "schema" : {
13911 "type" : "object"
13912 }
13913 }
13914 }
13915};
13916 var schema = findNode('schema',schemaWrapper).schema;
13917 if (!schema) {
13918 schema = schemaWrapper.schema;
13919 }
13920 if (schema.$ref != null) {
13921 schema = defsParser.$refs.get(schema.$ref);
13922 } else if (schema.items != null && schema.items.$ref != null) {
13923 schema.items = defsParser.$refs.get(schema.items.$ref);
13924 } else {
13925 schemaWrapper.definitions = Object.assign({}, defs);
13926 $RefParser.dereference(schemaWrapper).catch(function(err) {
13927 console.log(err);
13928 });
13929 }
13930
13931 var view = new JSONSchemaView(schema, 3);
13932 $('#responses-ServiceRegistryAndSupervision-putService-200-schema-data').val(JSON.stringify(schema));
13933 var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-200');
13934 result.empty();
13935 result.append(view.render());
13936 });
13937 </script>
13938 </div>
13939 <input id='responses-ServiceRegistryAndSupervision-putService-200-schema-data' type='hidden' value=''></input>
13940 </div>
13941 </div>
13942 <h3 id="examples-ServiceRegistryAndSupervision-putService-title-201"></h3>
13943 <p id="examples-ServiceRegistryAndSupervision-putService-description-201" class="marked"></p>
13944 <script>
13945 var responseServiceRegistryAndSupervision201_description = `Service created`;
13946 var responseServiceRegistryAndSupervision201_description_break = responseServiceRegistryAndSupervision201_description.indexOf('\n');
13947 if (responseServiceRegistryAndSupervision201_description_break == -1) {
13948 $("#examples-ServiceRegistryAndSupervision-putService-title-201").text("Status: 201 - " + responseServiceRegistryAndSupervision201_description);
13949 } else {
13950 $("#examples-ServiceRegistryAndSupervision-putService-title-201").text("Status: 201 - " + responseServiceRegistryAndSupervision201_description.substring(0, responseServiceRegistryAndSupervision201_description_break));
13951 $("#examples-ServiceRegistryAndSupervision-putService-description-201").html(responseServiceRegistryAndSupervision201_description.substring(responseServiceRegistryAndSupervision201_description_break));
13952 }
13953 </script>
13954
13955
13956 <ul id="responses-detail-ServiceRegistryAndSupervision-putService-201" class="nav nav-tabs nav-tabs-examples" >
13957 <li class="active">
13958 <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-putService-201-schema">Schema</a>
13959 </li>
13960
13961
13962
13963
13964 </ul>
13965
13966
13967 <div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-201-wrapper" style='margin-bottom: 10px;'>
13968 <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-201-schema">
13969 <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
13970 <script>
13971 $(document).ready(function() {
13972 var schemaWrapper = {
13973 "description" : "Service created",
13974 "content" : {
13975 "*/*" : {
13976 "schema" : {
13977 "type" : "object"
13978 }
13979 }
13980 }
13981};
13982 var schema = findNode('schema',schemaWrapper).schema;
13983 if (!schema) {
13984 schema = schemaWrapper.schema;
13985 }
13986 if (schema.$ref != null) {
13987 schema = defsParser.$refs.get(schema.$ref);
13988 } else if (schema.items != null && schema.items.$ref != null) {
13989 schema.items = defsParser.$refs.get(schema.items.$ref);
13990 } else {
13991 schemaWrapper.definitions = Object.assign({}, defs);
13992 $RefParser.dereference(schemaWrapper).catch(function(err) {
13993 console.log(err);
13994 });
13995 }
13996
13997 var view = new JSONSchemaView(schema, 3);
13998 $('#responses-ServiceRegistryAndSupervision-putService-201-schema-data').val(JSON.stringify(schema));
13999 var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-201');
14000 result.empty();
14001 result.append(view.render());
14002 });
14003 </script>
14004 </div>
14005 <input id='responses-ServiceRegistryAndSupervision-putService-201-schema-data' type='hidden' value=''></input>
14006 </div>
14007 </div>
14008 <h3 id="examples-ServiceRegistryAndSupervision-putService-title-400"></h3>
14009 <p id="examples-ServiceRegistryAndSupervision-putService-description-400" class="marked"></p>
14010 <script>
14011 var responseServiceRegistryAndSupervision400_description = `The ServiceRegistrationInfo is not accepted`;
14012 var responseServiceRegistryAndSupervision400_description_break = responseServiceRegistryAndSupervision400_description.indexOf('\n');
14013 if (responseServiceRegistryAndSupervision400_description_break == -1) {
14014 $("#examples-ServiceRegistryAndSupervision-putService-title-400").text("Status: 400 - " + responseServiceRegistryAndSupervision400_description);
14015 } else {
14016 $("#examples-ServiceRegistryAndSupervision-putService-title-400").text("Status: 400 - " + responseServiceRegistryAndSupervision400_description.substring(0, responseServiceRegistryAndSupervision400_description_break));
14017 $("#examples-ServiceRegistryAndSupervision-putService-description-400").html(responseServiceRegistryAndSupervision400_description.substring(responseServiceRegistryAndSupervision400_description_break));
14018 }
14019 </script>
14020
14021
14022 <ul id="responses-detail-ServiceRegistryAndSupervision-putService-400" class="nav nav-tabs nav-tabs-examples" >
14023 <li class="active">
14024 <a data-toggle="tab" href="#responses-ServiceRegistryAndSupervision-putService-400-schema">Schema</a>
14025 </li>
14026
14027
14028
14029
14030 </ul>
14031
14032
14033 <div class="tab-content" id="responses-ServiceRegistryAndSupervision-putService-400-wrapper" style='margin-bottom: 10px;'>
14034 <div class="tab-pane active" id="responses-ServiceRegistryAndSupervision-putService-400-schema">
14035 <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
14036 <script>
14037 $(document).ready(function() {
14038 var schemaWrapper = {
14039 "description" : "The ServiceRegistrationInfo is not accepted",
14040 "content" : {
14041 "*/*" : {
14042 "schema" : {
14043 "$ref" : "#/components/schemas/error_information"
14044 }
14045 }
14046 }
14047};
14048 var schema = findNode('schema',schemaWrapper).schema;
14049 if (!schema) {
14050 schema = schemaWrapper.schema;
14051 }
14052 if (schema.$ref != null) {
14053 schema = defsParser.$refs.get(schema.$ref);
14054 } else if (schema.items != null && schema.items.$ref != null) {
14055 schema.items = defsParser.$refs.get(schema.items.$ref);
14056 } else {
14057 schemaWrapper.definitions = Object.assign({}, defs);
14058 $RefParser.dereference(schemaWrapper).catch(function(err) {
14059 console.log(err);
14060 });
14061 }
14062
14063 var view = new JSONSchemaView(schema, 3);
14064 $('#responses-ServiceRegistryAndSupervision-putService-400-schema-data').val(JSON.stringify(schema));
14065 var result = $('#responses-ServiceRegistryAndSupervision-putService-schema-400');
14066 result.empty();
14067 result.append(view.render());
14068 });
14069 </script>
14070 </div>
14071 <input id='responses-ServiceRegistryAndSupervision-putService-400-schema-data' type='hidden' value=''></input>
14072 </div>
14073 </div>
14074 </article>
14075 </div>
14076 <hr>
14077 </section>
14078 </div>
14079 <div id="footer">
14080 <div id="api-_footer">
14081 <p>Suggestions, contact, support and error reporting;
14082 <div class="app-desc">Information URL: <a href="https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP">https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP</a></div>
14083 <div class="app-desc">Contact Info: <a href="team@openapitools.org">team@openapitools.org</a></div>
14084 </p>
14085 <div class="license-info">Copyright (C) 2020-2023 Nordix Foundation. Licensed under the Apache License.</div>
14086 <div class="license-url">http://www.apache.org/licenses/LICENSE-2.0</div>
14087 </div>
14088 </div>
14089 </div>
14090 </div>
14091 </div>
14092 <script>
14093(function webpackUniversalModuleDefinition(root, factory) {
14094 if(typeof exports === 'object' && typeof module === 'object')
14095 module.exports = factory();
14096 else if(typeof define === 'function' && define.amd)
14097 define("JSONFormatter", [], factory);
14098 else if(typeof exports === 'object')
14099 exports["JSONFormatter"] = factory();
14100 else
14101 root["JSONFormatter"] = factory();
14102})(this, function() {
14103return /******/ (function(modules) { // webpackBootstrap
14104/******/ // The module cache
14105/******/ var installedModules = {};
14106/******/
14107/******/ // The require function
14108/******/ function __webpack_require__(moduleId) {
14109/******/
14110/******/ // Check if module is in cache
14111/******/ if(installedModules[moduleId])
14112/******/ return installedModules[moduleId].exports;
14113/******/
14114/******/ // Create a new module (and put it into the cache)
14115/******/ var module = installedModules[moduleId] = {
14116/******/ exports: {},
14117/******/ id: moduleId,
14118/******/ loaded: false
14119/******/ };
14120/******/
14121/******/ // Execute the module function
14122/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
14123/******/
14124/******/ // Flag the module as loaded
14125/******/ module.loaded = true;
14126/******/
14127/******/ // Return the exports of the module
14128/******/ return module.exports;
14129/******/ }
14130/******/
14131/******/
14132/******/ // expose the modules object (__webpack_modules__)
14133/******/ __webpack_require__.m = modules;
14134/******/
14135/******/ // expose the module cache
14136/******/ __webpack_require__.c = installedModules;
14137/******/
14138/******/ // __webpack_public_path__
14139/******/ __webpack_require__.p = "dist";
14140/******/
14141/******/ // Load entry module and return exports
14142/******/ return __webpack_require__(0);
14143/******/ })
14144/************************************************************************/
14145/******/ ([
14146/* 0 */
14147/***/ function(module, exports, __webpack_require__) {
14148
14149 module.exports = __webpack_require__(1);
14150
14151
14152/***/ },
14153/* 1 */
14154/***/ function(module, exports, __webpack_require__) {
14155
14156 "use strict";
14157 __webpack_require__(2);
14158 var helpers_ts_1 = __webpack_require__(6);
14159 var DATE_STRING_REGEX = /(^\d{1,4}[\.|\\/|-]\d{1,2}[\.|\\/|-]\d{1,4})(\s*(?:0?[1-9]:[0-5]|1(?=[012])\d:[0-5])\d\s*[ap]m)?$/;
14160 var PARTIAL_DATE_REGEX = /\d{2}:\d{2}:\d{2} GMT-\d{4}/;
14161 var JSON_DATE_REGEX = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;
14162 // When toggling, don't animated removal or addition of more than a few items
14163 var MAX_ANIMATED_TOGGLE_ITEMS = 10;
14164 var requestAnimationFrame = window.requestAnimationFrame || function (cb) { cb(); return 0; };
14165 ;
14166 var _defaultConfig = {
14167 hoverPreviewEnabled: false,
14168 hoverPreviewArrayCount: 100,
14169 hoverPreviewFieldCount: 5,
14170 animateOpen: true,
14171 animateClose: true,
14172 theme: null
14173 };
14174 module.exports = (function () {
14175 /**
14176 * @param {object} json The JSON object you want to render. It has to be an
14177 * object or array. Do NOT pass raw JSON string.
14178 *
14179 * @param {number} [open=1] his number indicates up to how many levels the
14180 * rendered tree should expand. Set it to `0` to make the whole tree collapsed
14181 * or set it to `Infinity` to expand the tree deeply
14182 *
14183 * @param {object} [config=defaultConfig] -
14184 * defaultConfig = {
14185 * hoverPreviewEnabled: false,
14186 * hoverPreviewArrayCount: 100,
14187 * hoverPreviewFieldCount: 5
14188 * }
14189 *
14190 * Available configurations:
14191 * #####Hover Preview
14192 * * `hoverPreviewEnabled`: enable preview on hover
14193 * * `hoverPreviewArrayCount`: number of array items to show in preview Any
14194 * array larger than this number will be shown as `Array[XXX]` where `XXX`
14195 * is length of the array.
14196 * * `hoverPreviewFieldCount`: number of object properties to show for object
14197 * preview. Any object with more properties that thin number will be
14198 * truncated.
14199 *
14200 * @param {string} [key=undefined] The key that this object in it's parent
14201 * context
14202 */
14203 function JSONFormatter(json, open, config, key) {
14204 if (open === void 0) { open = 1; }
14205 if (config === void 0) { config = _defaultConfig; }
14206 this.json = json;
14207 this.open = open;
14208 this.config = config;
14209 this.key = key;
14210 // Hold the open state after the toggler is used
14211 this._isOpen = null;
14212 // Setting default values for config object
14213 if (this.config.hoverPreviewEnabled === undefined) {
14214 this.config.hoverPreviewEnabled = _defaultConfig.hoverPreviewEnabled;
14215 }
14216 if (this.config.hoverPreviewArrayCount === undefined) {
14217 this.config.hoverPreviewArrayCount = _defaultConfig.hoverPreviewArrayCount;
14218 }
14219 if (this.config.hoverPreviewFieldCount === undefined) {
14220 this.config.hoverPreviewFieldCount = _defaultConfig.hoverPreviewFieldCount;
14221 }
14222 }
14223 Object.defineProperty(JSONFormatter.prototype, "isOpen", {
14224 /*
14225 * is formatter open?
14226 */
14227 get: function () {
14228 if (this._isOpen !== null) {
14229 return this._isOpen;
14230 }
14231 else {
14232 return this.open > 0;
14233 }
14234 },
14235 /*
14236 * set open state (from toggler)
14237 */
14238 set: function (value) {
14239 this._isOpen = value;
14240 },
14241 enumerable: true,
14242 configurable: true
14243 });
14244 Object.defineProperty(JSONFormatter.prototype, "isDate", {
14245 /*
14246 * is this a date string?
14247 */
14248 get: function () {
14249 return (this.type === 'string') &&
14250 (DATE_STRING_REGEX.test(this.json) ||
14251 JSON_DATE_REGEX.test(this.json) ||
14252 PARTIAL_DATE_REGEX.test(this.json));
14253 },
14254 enumerable: true,
14255 configurable: true
14256 });
14257 Object.defineProperty(JSONFormatter.prototype, "isUrl", {
14258 /*
14259 * is this a URL string?
14260 */
14261 get: function () {
14262 return this.type === 'string' && (this.json.indexOf('http') === 0);
14263 },
14264 enumerable: true,
14265 configurable: true
14266 });
14267 Object.defineProperty(JSONFormatter.prototype, "isArray", {
14268 /*
14269 * is this an array?
14270 */
14271 get: function () {
14272 return Array.isArray(this.json);
14273 },
14274 enumerable: true,
14275 configurable: true
14276 });
14277 Object.defineProperty(JSONFormatter.prototype, "isObject", {
14278 /*
14279 * is this an object?
14280 * Note: In this context arrays are object as well
14281 */
14282 get: function () {
14283 return helpers_ts_1.isObject(this.json);
14284 },
14285 enumerable: true,
14286 configurable: true
14287 });
14288 Object.defineProperty(JSONFormatter.prototype, "isEmptyObject", {
14289 /*
14290 * is this an empty object with no properties?
14291 */
14292 get: function () {
14293 return !this.keys.length && !this.isArray;
14294 },
14295 enumerable: true,
14296 configurable: true
14297 });
14298 Object.defineProperty(JSONFormatter.prototype, "isEmpty", {
14299 /*
14300 * is this an empty object or array?
14301 */
14302 get: function () {
14303 return this.isEmptyObject || (this.keys && !this.keys.length && this.isArray);
14304 },
14305 enumerable: true,
14306 configurable: true
14307 });
14308 Object.defineProperty(JSONFormatter.prototype, "hasKey", {
14309 /*
14310 * did we receive a key argument?
14311 * This means that the formatter was called as a sub formatter of a parent formatter
14312 */
14313 get: function () {
14314 return typeof this.key !== 'undefined';
14315 },
14316 enumerable: true,
14317 configurable: true
14318 });
14319 Object.defineProperty(JSONFormatter.prototype, "constructorName", {
14320 /*
14321 * if this is an object, get constructor function name
14322 */
14323 get: function () {
14324 return helpers_ts_1.getObjectName(this.json);
14325 },
14326 enumerable: true,
14327 configurable: true
14328 });
14329 Object.defineProperty(JSONFormatter.prototype, "type", {
14330 /*
14331 * get type of this value
14332 * Possible values: all JavaScript primitive types plus "array" and "null"
14333 */
14334 get: function () {
14335 return helpers_ts_1.getType(this.json);
14336 },
14337 enumerable: true,
14338 configurable: true
14339 });
14340 Object.defineProperty(JSONFormatter.prototype, "keys", {
14341 /*
14342 * get object keys
14343 * If there is an empty key we pad it wit quotes to make it visible
14344 */
14345 get: function () {
14346 if (this.isObject) {
14347 return Object.keys(this.json).map(function (key) { return key ? key : '""'; });
14348 }
14349 else {
14350 return [];
14351 }
14352 },
14353 enumerable: true,
14354 configurable: true
14355 });
14356 /**
14357 * Toggles `isOpen` state
14358 *
14359 */
14360 JSONFormatter.prototype.toggleOpen = function () {
14361 this.isOpen = !this.isOpen;
14362 if (this.element) {
14363 if (this.isOpen) {
14364 this.appendChildren(this.config.animateOpen);
14365 }
14366 else {
14367 this.removeChildren(this.config.animateClose);
14368 }
14369 this.element.classList.toggle(helpers_ts_1.cssClass('open'));
14370 }
14371 };
14372 /**
14373 * Open all children up to a certain depth.
14374 * Allows actions such as expand all/collapse all
14375 *
14376 */
14377 JSONFormatter.prototype.openAtDepth = function (depth) {
14378 if (depth === void 0) { depth = 1; }
14379 if (depth < 0) {
14380 return;
14381 }
14382 this.open = depth;
14383 this.isOpen = (depth !== 0);
14384 if (this.element) {
14385 this.removeChildren(false);
14386 if (depth === 0) {
14387 this.element.classList.remove(helpers_ts_1.cssClass('open'));
14388 }
14389 else {
14390 this.appendChildren(this.config.animateOpen);
14391 this.element.classList.add(helpers_ts_1.cssClass('open'));
14392 }
14393 }
14394 };
14395 /**
14396 * Generates inline preview
14397 *
14398 * @returns {string}
14399 */
14400 JSONFormatter.prototype.getInlinepreview = function () {
14401 var _this = this;
14402 if (this.isArray) {
14403 // if array length is greater then 100 it shows "Array[101]"
14404 if (this.json.length > this.config.hoverPreviewArrayCount) {
14405 return "Array[" + this.json.length + "]";
14406 }
14407 else {
14408 return "[" + this.json.map(helpers_ts_1.getPreview).join(', ') + "]";
14409 }
14410 }
14411 else {
14412 var keys = this.keys;
14413 // the first five keys (like Chrome Developer Tool)
14414 var narrowKeys = keys.slice(0, this.config.hoverPreviewFieldCount);
14415 // json value schematic information
14416 var kvs = narrowKeys.map(function (key) { return (key + ":" + helpers_ts_1.getPreview(_this.json[key])); });
14417 // if keys count greater then 5 then show ellipsis
14418 var ellipsis = keys.length >= this.config.hoverPreviewFieldCount ? '…' : '';
14419 return "{" + kvs.join(', ') + ellipsis + "}";
14420 }
14421 };
14422 /**
14423 * Renders an HTML element and installs event listeners
14424 *
14425 * @returns {HTMLDivElement}
14426 */
14427 JSONFormatter.prototype.render = function () {
14428 // construct the root element and assign it to this.element
14429 this.element = helpers_ts_1.createElement('div', 'row');
14430 // construct the toggler link
14431 var togglerLink = helpers_ts_1.createElement('a', 'toggler-link');
14432 // if this is an object we need a wrapper span (toggler)
14433 if (this.isObject) {
14434 togglerLink.appendChild(helpers_ts_1.createElement('span', 'toggler'));
14435 }
14436 // if this is child of a parent formatter we need to append the key
14437 if (this.hasKey) {
14438 togglerLink.appendChild(helpers_ts_1.createElement('span', 'key', this.key + ":"));
14439 }
14440 // Value for objects and arrays
14441 if (this.isObject) {
14442 // construct the value holder element
14443 var value = helpers_ts_1.createElement('span', 'value');
14444 // we need a wrapper span for objects
14445 var objectWrapperSpan = helpers_ts_1.createElement('span');
14446 // get constructor name and append it to wrapper span
14447 var constructorName = helpers_ts_1.createElement('span', 'constructor-name', this.constructorName);
14448 objectWrapperSpan.appendChild(constructorName);
14449 // if it's an array append the array specific elements like brackets and length
14450 if (this.isArray) {
14451 var arrayWrapperSpan = helpers_ts_1.createElement('span');
14452 arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'bracket', '['));
14453 arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'number', (this.json.length)));
14454 arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'bracket', ']'));
14455 objectWrapperSpan.appendChild(arrayWrapperSpan);
14456 }
14457 // append object wrapper span to toggler link
14458 value.appendChild(objectWrapperSpan);
14459 togglerLink.appendChild(value);
14460 }
14461 else {
14462 // make a value holder element
14463 var value = this.isUrl ? helpers_ts_1.createElement('a') : helpers_ts_1.createElement('span');
14464 // add type and other type related CSS classes
14465 value.classList.add(helpers_ts_1.cssClass(this.type));
14466 if (this.isDate) {
14467 value.classList.add(helpers_ts_1.cssClass('date'));
14468 }
14469 if (this.isUrl) {
14470 value.classList.add(helpers_ts_1.cssClass('url'));
14471 value.setAttribute('href', this.json);
14472 }
14473 // Append value content to value element
14474 var valuePreview = helpers_ts_1.getValuePreview(this.json, this.json);
14475 value.appendChild(document.createTextNode(valuePreview));
14476 // append the value element to toggler link
14477 togglerLink.appendChild(value);
14478 }
14479 // if hover preview is enabled, append the inline preview element
14480 if (this.isObject && this.config.hoverPreviewEnabled) {
14481 var preview = helpers_ts_1.createElement('span', 'preview-text');
14482 preview.appendChild(document.createTextNode(this.getInlinepreview()));
14483 togglerLink.appendChild(preview);
14484 }
14485 // construct a children element
14486 var children = helpers_ts_1.createElement('div', 'children');
14487 // set CSS classes for children
14488 if (this.isObject) {
14489 children.classList.add(helpers_ts_1.cssClass('object'));
14490 }
14491 if (this.isArray) {
14492 children.classList.add(helpers_ts_1.cssClass('array'));
14493 }
14494 if (this.isEmpty) {
14495 children.classList.add(helpers_ts_1.cssClass('empty'));
14496 }
14497 // set CSS classes for root element
14498 if (this.config && this.config.theme) {
14499 this.element.classList.add(helpers_ts_1.cssClass(this.config.theme));
14500 }
14501 if (this.isOpen) {
14502 this.element.classList.add(helpers_ts_1.cssClass('open'));
14503 }
14504 // append toggler and children elements to root element
14505 this.element.appendChild(togglerLink);
14506 this.element.appendChild(children);
14507 // if formatter is set to be open call appendChildren
14508 if (this.isObject && this.isOpen) {
14509 this.appendChildren();
14510 }
14511 // add event listener for toggling
14512 if (this.isObject) {
14513 togglerLink.addEventListener('click', this.toggleOpen.bind(this));
14514 }
14515 return this.element;
14516 };
14517 /**
14518 * Appends all the children to children element
14519 * Animated option is used when user triggers this via a click
14520 */
14521 JSONFormatter.prototype.appendChildren = function (animated) {
14522 var _this = this;
14523 if (animated === void 0) { animated = false; }
14524 var children = this.element.querySelector("div." + helpers_ts_1.cssClass('children'));
14525 if (!children || this.isEmpty) {
14526 return;
14527 }
14528 if (animated) {
14529 var index_1 = 0;
14530 var addAChild_1 = function () {
14531 var key = _this.keys[index_1];
14532 var formatter = new JSONFormatter(_this.json[key], _this.open - 1, _this.config, key);
14533 children.appendChild(formatter.render());
14534 index_1 += 1;
14535 if (index_1 < _this.keys.length) {
14536 if (index_1 > MAX_ANIMATED_TOGGLE_ITEMS) {
14537 addAChild_1();
14538 }
14539 else {
14540 requestAnimationFrame(addAChild_1);
14541 }
14542 }
14543 };
14544 requestAnimationFrame(addAChild_1);
14545 }
14546 else {
14547 this.keys.forEach(function (key) {
14548 var formatter = new JSONFormatter(_this.json[key], _this.open - 1, _this.config, key);
14549 children.appendChild(formatter.render());
14550 });
14551 }
14552 };
14553 /**
14554 * Removes all the children from children element
14555 * Animated option is used when user triggers this via a click
14556 */
14557 JSONFormatter.prototype.removeChildren = function (animated) {
14558 if (animated === void 0) { animated = false; }
14559 var childrenElement = this.element.querySelector("div." + helpers_ts_1.cssClass('children'));
14560 if (animated) {
14561 var childrenRemoved_1 = 0;
14562 var removeAChild_1 = function () {
14563 if (childrenElement && childrenElement.children.length) {
14564 childrenElement.removeChild(childrenElement.children[0]);
14565 childrenRemoved_1 += 1;
14566 if (childrenRemoved_1 > MAX_ANIMATED_TOGGLE_ITEMS) {
14567 removeAChild_1();
14568 }
14569 else {
14570 requestAnimationFrame(removeAChild_1);
14571 }
14572 }
14573 };
14574 requestAnimationFrame(removeAChild_1);
14575 }
14576 else {
14577 if (childrenElement) {
14578 childrenElement.innerHTML = '';
14579 }
14580 }
14581 };
14582 return JSONFormatter;
14583 }());
14584
14585
14586/***/ },
14587/* 2 */
14588/***/ function(module, exports, __webpack_require__) {
14589
14590 // style-loader: Adds some css to the DOM by adding a <style> tag
14591
14592 // load the styles
14593 var content = __webpack_require__(3);
14594 if(typeof content === 'string') content = [[module.id, content, '']];
14595 // add the styles to the DOM
14596 var update = __webpack_require__(5)(content, {"sourceMap":true});
14597 if(content.locals) module.exports = content.locals;
14598 // Hot Module Replacement
14599 if(false) {
14600 // When the styles change, update the <style> tags
14601 if(!content.locals) {
14602 module.hot.accept("!!./../node_modules/css-loader/index.js?sourceMap!./../node_modules/less-loader/index.js?sourceMap!./style.less", function() {
14603 var newContent = require("!!./../node_modules/css-loader/index.js?sourceMap!./../node_modules/less-loader/index.js?sourceMap!./style.less");
14604 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];
14605 update(newContent);
14606 });
14607 }
14608 // When the module is disposed, remove the <style> tags
14609 module.hot.dispose(function() { update(); });
14610 }
14611
14612/***/ },
14613/* 3 */
14614/***/ function(module, exports, __webpack_require__) {
14615
14616 exports = module.exports = __webpack_require__(4)();
14617 // imports
14618
14619
14620 // module
14621 exports.push([module.id, ".json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-row,\n.json-formatter-row a,\n.json-formatter-row a:hover {\n color: black;\n text-decoration: none;\n}\n.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-row .json-formatter-string {\n color: green;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-row .json-formatter-number {\n color: blue;\n}\n.json-formatter-row .json-formatter-boolean {\n color: red;\n}\n.json-formatter-row .json-formatter-null {\n color: #855A00;\n}\n.json-formatter-row .json-formatter-undefined {\n color: #ca0b69;\n}\n.json-formatter-row .json-formatter-function {\n color: #FF20ED;\n}\n.json-formatter-row .json-formatter-date {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: blue;\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-bracket {\n color: blue;\n}\n.json-formatter-row .json-formatter-key {\n color: #00008B;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"\\25BA\";\n}\n.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n.json-formatter-dark.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-dark.json-formatter-row,\n.json-formatter-dark.json-formatter-row a,\n.json-formatter-dark.json-formatter-row a:hover {\n color: white;\n text-decoration: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-string {\n color: #31F031;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-number {\n color: #66C2FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-boolean {\n color: #EC4242;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-null {\n color: #EEC97D;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-undefined {\n color: #ef8fbe;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-function {\n color: #FD48CB;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-date {\n background-color: rgba(255, 255, 255, 0.05);\n}\n.json-formatter-dark.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: #027BFF;\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-bracket {\n color: #9494FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-key {\n color: #23A0DB;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"\\25BA\";\n}\n.json-formatter-dark.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-dark.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n", "", {"version":3,"sources":["/./src/style.less","/./src/style.less"],"names":[],"mappings":"AA0GA;EA3FE,uBAAA;CCbD;ADcC;;;EACE,aAAA;EACA,sBAAA;CCVH;ADkGD;EApFI,kBAAA;CCXH;ADeG;EACE,aAAA;EACA,kBAAA;CCbL;ADeK;EAAU,cAAA;CCZf;ADaK;EAAgC,yBAAA;CCVrC;ADWK;EAA+B,cAAA;CCRpC;ADkFD;EArEI,aAAA;EACA,iBAAA;EACA,sBAAA;CCVH;AD6ED;EAjE2B,YAAA;CCT1B;AD0ED;EAhE4B,WAAA;CCP3B;ADuED;EA/DyB,eAAA;CCLxB;ADoED;EA9D8B,eAAA;CCH7B;ADiED;EA7D6B,eAAA;CCD5B;AD8DD;EA5DyB,sCAAA;CCCxB;AD2DD;EA1DI,2BAAA;EACA,YAAA;EACA,gBAAA;CCEH;ADsDD;EArD4B,YAAA;CCE3B;ADmDD;EAnDI,eAAA;EACA,gBAAA;EACA,sBAAA;CCGH;AD8CD;EA9CI,gBAAA;CCGH;AD2CD;EA1CI,oBAAA;EACA,kBAAA;EACA,uBAAA;EACA,aAAA;EACA,gBAAA;EACA,sBAAA;CCEH;ADAG;EACE,sBAAA;EACA,oCAAA;EACA,iBAAA;CCEL;AD8BD;EA1BI,WAAA;EACA,kCAAA;EACA,mBAAA;CCDH;ADGC;EACE,aAAA;CCDH;ADKC;EAEI,yBAAA;CCJL;ADEC;EAKI,sBAAA;CCJL;ADDC;EAQI,cAAA;CCJL;ADMG;EACE,eAAA;CCJL;ADeD;EAhGE,uBAAA;CCoFD;ADnFC;;;EACE,aAAA;EACA,sBAAA;CCuFH;ADMD;EAzFI,kBAAA;CCsFH;ADlFG;EACE,aAAA;EACA,kBAAA;CCoFL;ADlFK;EAAU,cAAA;CCqFf;ADpFK;EAAgC,yBAAA;CCuFrC;ADtFK;EAA+B,cAAA;CCyFpC;ADVD;EA1EI,eAAA;EACA,iBAAA;EACA,sBAAA;CCuFH;ADfD;EAtE2B,eAAA;CCwF1B;ADlBD;EArE4B,eAAA;CC0F3B;ADrBD;EApEyB,eAAA;CC4FxB;ADxBD;EAnE8B,eAAA;CC8F7B;AD3BD;EAlE6B,eAAA;CCgG5B;AD9BD;EAjEyB,4CAAA;CCkGxB;ADjCD;EA/DI,2BAAA;EACA,eAAA;EACA,gBAAA;CCmGH;ADtCD;EA1D4B,eAAA;CCmG3B;ADzCD;EAxDI,eAAA;EACA,gBAAA;EACA,sBAAA;CCoGH;AD9CD;EAnDI,gBAAA;CCoGH;ADjDD;EA/CI,oBAAA;EACA,kBAAA;EACA,uBAAA;EACA,aAAA;EACA,gBAAA;EACA,sBAAA;CCmGH;ADjGG;EACE,sBAAA;EACA,oCAAA;EACA,iBAAA;CCmGL;AD9DD;EA/BI,WAAA;EACA,kCAAA;EACA,mBAAA;CCgGH;AD9FC;EACE,aAAA;CCgGH;AD5FC;EAEI,yBAAA;CC6FL;AD/FC;EAKI,sBAAA;CC6FL;ADlGC;EAQI,cAAA;CC6FL;AD3FG;EACE,eAAA;CC6FL","file":"style.less","sourcesContent":[".theme(\n @default-color: black,\n @string-color: green,\n @number-color: blue,\n @boolean-color: red,\n @null-color: #855A00,\n @undefined-color: rgb(202, 11, 105),\n @function-color: #FF20ED,\n @rotate-time: 100ms,\n @toggler-opacity: 0.6,\n @toggler-color: #45376F,\n @bracket-color: blue,\n @key-color: #00008B,\n @url-color: blue ){\n\n font-family: monospace;\n &, a, a:hover {\n color: @default-color;\n text-decoration: none;\n }\n\n .json-formatter-row {\n margin-left: 1rem;\n }\n\n .json-formatter-children {\n &.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n\n &:after { display: none; }\n &.json-formatter-object:after { content: \"No properties\"; }\n &.json-formatter-array:after { content: \"[]\"; }\n }\n }\n\n .json-formatter-string {\n color: @string-color;\n white-space: pre;\n word-wrap: break-word;\n }\n .json-formatter-number { color: @number-color; }\n .json-formatter-boolean { color: @boolean-color; }\n .json-formatter-null { color: @null-color; }\n .json-formatter-undefined { color: @undefined-color; }\n .json-formatter-function { color: @function-color; }\n .json-formatter-date { background-color: fade(@default-color, 5%); }\n .json-formatter-url {\n text-decoration: underline;\n color: @url-color;\n cursor: pointer;\n }\n\n .json-formatter-bracket { color: @bracket-color; }\n .json-formatter-key {\n color: @key-color;\n cursor: pointer;\n padding-right: 0.2rem;\n }\n .json-formatter-constructor-name {\n cursor: pointer;\n }\n\n .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: @toggler-opacity;\n cursor: pointer;\n padding-right: 0.2rem;\n\n &:after {\n display: inline-block;\n transition: transform @rotate-time ease-in;\n content: \"►\";\n }\n }\n\n // Inline preview on hover (optional)\n > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity .15s ease-in;\n font-style: italic;\n }\n &:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n }\n\n // Open state\n &.json-formatter-open {\n > .json-formatter-toggler-link .json-formatter-toggler:after{\n transform: rotate(90deg);\n }\n > .json-formatter-children:after {\n display: inline-block;\n }\n > a > .json-formatter-preview-text {\n display: none;\n }\n &.json-formatter-empty:after {\n display: block;\n }\n }\n}\n\n// Default theme\n.json-formatter-row {\n .theme();\n}\n\n// Dark theme\n.json-formatter-dark.json-formatter-row {\n .theme(\n @default-color: white,\n @string-color: #31F031,\n @number-color: #66C2FF,\n @boolean-color: #EC4242,\n @null-color: #EEC97D,\n @undefined-color: rgb(239, 143, 190),\n @function-color: #FD48CB,\n @rotate-time: 100ms,\n @toggler-opacity: 0.6,\n @toggler-color: #45376F,\n @bracket-color: #9494FF,\n @key-color: #23A0DB,\n @url-color: #027BFF);\n}\n",".json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-row,\n.json-formatter-row a,\n.json-formatter-row a:hover {\n color: black;\n text-decoration: none;\n}\n.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-row .json-formatter-string {\n color: green;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-row .json-formatter-number {\n color: blue;\n}\n.json-formatter-row .json-formatter-boolean {\n color: red;\n}\n.json-formatter-row .json-formatter-null {\n color: #855A00;\n}\n.json-formatter-row .json-formatter-undefined {\n color: #ca0b69;\n}\n.json-formatter-row .json-formatter-function {\n color: #FF20ED;\n}\n.json-formatter-row .json-formatter-date {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: blue;\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-bracket {\n color: blue;\n}\n.json-formatter-row .json-formatter-key {\n color: #00008B;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"►\";\n}\n.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n.json-formatter-dark.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-dark.json-formatter-row,\n.json-formatter-dark.json-formatter-row a,\n.json-formatter-dark.json-formatter-row a:hover {\n color: white;\n text-decoration: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-string {\n color: #31F031;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-number {\n color: #66C2FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-boolean {\n color: #EC4242;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-null {\n color: #EEC97D;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-undefined {\n color: #ef8fbe;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-function {\n color: #FD48CB;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-date {\n background-color: rgba(255, 255, 255, 0.05);\n}\n.json-formatter-dark.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: #027BFF;\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-bracket {\n color: #9494FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-key {\n color: #23A0DB;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"►\";\n}\n.json-formatter-dark.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-dark.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n"],"sourceRoot":"webpack://"}]);
14622
14623 // exports
14624
14625
14626/***/ },
14627/* 4 */
14628/***/ function(module, exports) {
14629
14630 /*
14631 MIT License http://www.opensource.org/licenses/mit-license.php
14632 Author Tobias Koppers @sokra
14633 */
14634 // css base code, injected by the css-loader
14635 module.exports = function() {
14636 var list = [];
14637
14638 // return the list of modules as css string
14639 list.toString = function toString() {
14640 var result = [];
14641 for(var i = 0; i < this.length; i++) {
14642 var item = this[i];
14643 if(item[2]) {
14644 result.push("@media " + item[2] + "{" + item[1] + "}");
14645 } else {
14646 result.push(item[1]);
14647 }
14648 }
14649 return result.join("");
14650 };
14651
14652 // import a list of modules into the list
14653 list.i = function(modules, mediaQuery) {
14654 if(typeof modules === "string")
14655 modules = [[null, modules, ""]];
14656 var alreadyImportedModules = {};
14657 for(var i = 0; i < this.length; i++) {
14658 var id = this[i][0];
14659 if(typeof id === "number")
14660 alreadyImportedModules[id] = true;
14661 }
14662 for(i = 0; i < modules.length; i++) {
14663 var item = modules[i];
14664 // skip already imported module
14665 // this implementation is not 100% perfect for weird media query combinations
14666 // when a module is imported multiple times with different media queries.
14667 // I hope this will never occur (Hey this way we have smaller bundles)
14668 if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
14669 if(mediaQuery && !item[2]) {
14670 item[2] = mediaQuery;
14671 } else if(mediaQuery) {
14672 item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
14673 }
14674 list.push(item);
14675 }
14676 }
14677 };
14678 return list;
14679 };
14680
14681
14682/***/ },
14683/* 5 */
14684/***/ function(module, exports, __webpack_require__) {
14685
14686 /*
14687 MIT License http://www.opensource.org/licenses/mit-license.php
14688 Author Tobias Koppers @sokra
14689 */
14690 var stylesInDom = {},
14691 memoize = function(fn) {
14692 var memo;
14693 return function () {
14694 if (typeof memo === "undefined") memo = fn.apply(this, arguments);
14695 return memo;
14696 };
14697 },
14698 isOldIE = memoize(function() {
14699 return /msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase());
14700 }),
14701 getHeadElement = memoize(function () {
14702 return document.head || document.getElementsByTagName("head")[0];
14703 }),
14704 singletonElement = null,
14705 singletonCounter = 0,
14706 styleElementsInsertedAtTop = [];
14707
14708 module.exports = function(list, options) {
14709 if(false) {
14710 if(typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment");
14711 }
14712
14713 options = options || {};
14714 // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
14715 // tags it will allow on a page
14716 if (typeof options.singleton === "undefined") options.singleton = isOldIE();
14717
14718 // By default, add <style> tags to the bottom of <head>.
14719 if (typeof options.insertAt === "undefined") options.insertAt = "bottom";
14720
14721 var styles = listToStyles(list);
14722 addStylesToDom(styles, options);
14723
14724 return function update(newList) {
14725 var mayRemove = [];
14726 for(var i = 0; i < styles.length; i++) {
14727 var item = styles[i];
14728 var domStyle = stylesInDom[item.id];
14729 domStyle.refs--;
14730 mayRemove.push(domStyle);
14731 }
14732 if(newList) {
14733 var newStyles = listToStyles(newList);
14734 addStylesToDom(newStyles, options);
14735 }
14736 for(var i = 0; i < mayRemove.length; i++) {
14737 var domStyle = mayRemove[i];
14738 if(domStyle.refs === 0) {
14739 for(var j = 0; j < domStyle.parts.length; j++)
14740 domStyle.parts[j]();
14741 delete stylesInDom[domStyle.id];
14742 }
14743 }
14744 };
14745 }
14746
14747 function addStylesToDom(styles, options) {
14748 for(var i = 0; i < styles.length; i++) {
14749 var item = styles[i];
14750 var domStyle = stylesInDom[item.id];
14751 if(domStyle) {
14752 domStyle.refs++;
14753 for(var j = 0; j < domStyle.parts.length; j++) {
14754 domStyle.parts[j](item.parts[j]);
14755 }
14756 for(; j < item.parts.length; j++) {
14757 domStyle.parts.push(addStyle(item.parts[j], options));
14758 }
14759 } else {
14760 var parts = [];
14761 for(var j = 0; j < item.parts.length; j++) {
14762 parts.push(addStyle(item.parts[j], options));
14763 }
14764 stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};
14765 }
14766 }
14767 }
14768
14769 function listToStyles(list) {
14770 var styles = [];
14771 var newStyles = {};
14772 for(var i = 0; i < list.length; i++) {
14773 var item = list[i];
14774 var id = item[0];
14775 var css = item[1];
14776 var media = item[2];
14777 var sourceMap = item[3];
14778 var part = {css: css, media: media, sourceMap: sourceMap};
14779 if(!newStyles[id])
14780 styles.push(newStyles[id] = {id: id, parts: [part]});
14781 else
14782 newStyles[id].parts.push(part);
14783 }
14784 return styles;
14785 }
14786
14787 function insertStyleElement(options, styleElement) {
14788 var head = getHeadElement();
14789 var lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];
14790 if (options.insertAt === "top") {
14791 if(!lastStyleElementInsertedAtTop) {
14792 head.insertBefore(styleElement, head.firstChild);
14793 } else if(lastStyleElementInsertedAtTop.nextSibling) {
14794 head.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);
14795 } else {
14796 head.appendChild(styleElement);
14797 }
14798 styleElementsInsertedAtTop.push(styleElement);
14799 } else if (options.insertAt === "bottom") {
14800 head.appendChild(styleElement);
14801 } else {
14802 throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");
14803 }
14804 }
14805
14806 function removeStyleElement(styleElement) {
14807 styleElement.parentNode.removeChild(styleElement);
14808 var idx = styleElementsInsertedAtTop.indexOf(styleElement);
14809 if(idx >= 0) {
14810 styleElementsInsertedAtTop.splice(idx, 1);
14811 }
14812 }
14813
14814 function createStyleElement(options) {
14815 var styleElement = document.createElement("style");
14816 styleElement.type = "text/css";
14817 insertStyleElement(options, styleElement);
14818 return styleElement;
14819 }
14820
14821 function createLinkElement(options) {
14822 var linkElement = document.createElement("link");
14823 linkElement.rel = "stylesheet";
14824 insertStyleElement(options, linkElement);
14825 return linkElement;
14826 }
14827
14828 function addStyle(obj, options) {
14829 var styleElement, update, remove;
14830
14831 if (options.singleton) {
14832 var styleIndex = singletonCounter++;
14833 styleElement = singletonElement || (singletonElement = createStyleElement(options));
14834 update = applyToSingletonTag.bind(null, styleElement, styleIndex, false);
14835 remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);
14836 } else if(obj.sourceMap &&
14837 typeof URL === "function" &&
14838 typeof URL.createObjectURL === "function" &&
14839 typeof URL.revokeObjectURL === "function" &&
14840 typeof Blob === "function" &&
14841 typeof btoa === "function") {
14842 styleElement = createLinkElement(options);
14843 update = updateLink.bind(null, styleElement);
14844 remove = function() {
14845 removeStyleElement(styleElement);
14846 if(styleElement.href)
14847 URL.revokeObjectURL(styleElement.href);
14848 };
14849 } else {
14850 styleElement = createStyleElement(options);
14851 update = applyToTag.bind(null, styleElement);
14852 remove = function() {
14853 removeStyleElement(styleElement);
14854 };
14855 }
14856
14857 update(obj);
14858
14859 return function updateStyle(newObj) {
14860 if(newObj) {
14861 if(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)
14862 return;
14863 update(obj = newObj);
14864 } else {
14865 remove();
14866 }
14867 };
14868 }
14869
14870 var replaceText = (function () {
14871 var textStore = [];
14872
14873 return function (index, replacement) {
14874 textStore[index] = replacement;
14875 return textStore.filter(Boolean).join('\n');
14876 };
14877 })();
14878
14879 function applyToSingletonTag(styleElement, index, remove, obj) {
14880 var css = remove ? "" : obj.css;
14881
14882 if (styleElement.styleSheet) {
14883 styleElement.styleSheet.cssText = replaceText(index, css);
14884 } else {
14885 var cssNode = document.createTextNode(css);
14886 var childNodes = styleElement.childNodes;
14887 if (childNodes[index]) styleElement.removeChild(childNodes[index]);
14888 if (childNodes.length) {
14889 styleElement.insertBefore(cssNode, childNodes[index]);
14890 } else {
14891 styleElement.appendChild(cssNode);
14892 }
14893 }
14894 }
14895
14896 function applyToTag(styleElement, obj) {
14897 var css = obj.css;
14898 var media = obj.media;
14899
14900 if(media) {
14901 styleElement.setAttribute("media", media)
14902 }
14903
14904 if(styleElement.styleSheet) {
14905 styleElement.styleSheet.cssText = css;
14906 } else {
14907 while(styleElement.firstChild) {
14908 styleElement.removeChild(styleElement.firstChild);
14909 }
14910 styleElement.appendChild(document.createTextNode(css));
14911 }
14912 }
14913
14914 function updateLink(linkElement, obj) {
14915 var css = obj.css;
14916 var sourceMap = obj.sourceMap;
14917
14918 if(sourceMap) {
14919 // https://developer.mozilla.org/en/docs/Web/API/WindowBase64/Base64_encoding_and_decoding
14920 css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
14921 }
14922
14923 var blob = new Blob([css], { type: "text/css" });
14924
14925 var oldSrc = linkElement.href;
14926
14927 linkElement.href = URL.createObjectURL(blob);
14928
14929 if(oldSrc)
14930 URL.revokeObjectURL(oldSrc);
14931 }
14932
14933
14934/***/ },
14935/* 6 */
14936/***/ function(module, exports) {
14937
14938 "use strict";
14939 /*
14940 * Escapes `"` characters from string
14941 */
14942 function escapeString(str) {
14943 return str.replace('"', '\"');
14944 }
14945 /*
14946 * Determines if a value is an object
14947 */
14948 function isObject(value) {
14949 var type = typeof value;
14950 return !!value && (type == 'object');
14951 }
14952 exports.isObject = isObject;
14953 /*
14954 * Gets constructor name of an object.
14955 *
14956 */
14957 function getObjectName(object) {
14958 if (object === undefined) {
14959 return '';
14960 }
14961 if (object === null || (typeof object === 'object' && !object.constructor)) {
14962 return 'Object';
14963 }
14964 var funcNameRegex = /function ([^(]*)/;
14965 var results = (funcNameRegex).exec((object).constructor.toString());
14966 if (results && results.length > 1) {
14967 return results[1];
14968 } else {
14969 return '';
14970 }
14971 }
14972 exports.getObjectName = getObjectName;
14973 /*
14974 * Gets type of an object. Returns "null" for null objects
14975 */
14976 function getType(object) {
14977 if (object === null) {
14978 return 'null';
14979 }
14980 return typeof object;
14981 }
14982 exports.getType = getType;
14983 /*
14984 * Generates inline preview for a JavaScript object based on a value
14985 */
14986 function getValuePreview(object, value) {
14987 var type = getType(object);
14988 if (type === 'null' || type === 'undefined') {
14989 return type;
14990 }
14991 if (type === 'string') {
14992 value = '"' + escapeString(value) + '"';
14993 }
14994 if (type === 'function') {
14995 // Remove content of the function
14996 return object.toString()
14997 .replace(/[\r\n]/g, '')
14998 .replace(/\{.*\}/, '') + '{…}';
14999 }
15000 return value;
15001 }
15002 exports.getValuePreview = getValuePreview;
15003 /*
15004 * Generates inline preview for a JavaScript object
15005 */
15006 function getPreview(object) {
15007 var value = '';
15008 if (isObject(object)) {
15009 value = getObjectName(object);
15010 if (Array.isArray(object))
15011 value += '[' + object.length + ']';
15012 }
15013 else {
15014 value = getValuePreview(object, object);
15015 }
15016 return value;
15017 }
15018 exports.getPreview = getPreview;
15019 /*
15020 * Generates a prefixed CSS class name
15021 */
15022 function cssClass(className) {
15023 return "json-formatter-" + className;
15024 }
15025 exports.cssClass = cssClass;
15026 /*
15027 * Creates a new DOM element with given type and class
15028 * TODO: move me to helpers
15029 */
15030 function createElement(type, className, content) {
15031 var el = document.createElement(type);
15032 if (className) {
15033 el.classList.add(cssClass(className));
15034 }
15035 if (content !== undefined) {
15036 if (content instanceof Node) {
15037 el.appendChild(content);
15038 }
15039 else {
15040 el.appendChild(document.createTextNode(String(content)));
15041 }
15042 }
15043 return el;
15044 }
15045 exports.createElement = createElement;
15046
15047
15048/***/ }
15049/******/ ])
15050});
15051;
15052//# sourceMappingURL=json-formatter.js.map
15053
15054</script>
15055
15056 <script>
15057
15058(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSONSchemaView = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
15059'use strict';
15060/*
15061 * Converts anyOf, allOf and oneOf to human readable string
15062*/
15063Object.defineProperty(exports, '__esModule', {
15064 value: true
15065});
15066exports.convertXOf = convertXOf;
15067exports._if = _if;
15068
15069function convertXOf(type) {
15070 return type.substring(0, 3) + ' of';
15071}
15072
15073/*
15074 * if condition for ES6 template strings
15075 * to be used only in template string
15076 *
15077 * @example mystr = `Random is ${_if(Math.random() > 0.5)`greater than 0.5``
15078 *
15079 * @param {boolean} condition
15080 *
15081 * @returns {function} the template function
15082*/
15083
15084function _if(condition) {
15085 return condition ? normal : empty;
15086}
15087
15088function empty() {
15089 return '';
15090}
15091function normal(template) {
15092 for (var _len = arguments.length, expressions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
15093 expressions[_key - 1] = arguments[_key];
15094 }
15095
15096 return template.slice(1).reduce(function (accumulator, part, i) {
15097 return accumulator + expressions[i] + part;
15098 }, template[0]);
15099}
15100
15101},{}],2:[function(require,module,exports){
15102'use strict';
15103
15104/* globals JSONSchemaView */
15105
15106Object.defineProperty(exports, '__esModule', {
15107 value: true
15108});
15109
15110var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
15111
15112var _templateObject = _taggedTemplateLiteral(['\n <div class="any">\n ', '\n\n <span class="type type-any">&lt;any&gt;</span>\n\n ', '\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n </div>\n '], ['\n <div class="any">\n ', '\n\n <span class="type type-any">&lt;any&gt;</span>\n\n ', '\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n </div>\n ']),
15113 _templateObject2 = _taggedTemplateLiteral(['\n <a class="title"><span class="toggle-handle"></span>', ' </a>\n '], ['\n <a class="title"><span class="toggle-handle"></span>', ' </a>\n ']),
15114 _templateObject3 = _taggedTemplateLiteral(['\n <div class="inner description marked">', '</div>\n '], ['\n <div class="inner description marked">', '</div>\n ']),
15115 _templateObject4 = _taggedTemplateLiteral(['\n <div class="inner required">Required: ', '</div>\n '], ['\n <div class="inner required">Required: ', '</div>\n ']),
15116 _templateObject5 = _taggedTemplateLiteral(['\n <div class="inner default">Default: ', '</div>\n '], ['\n <div class="inner default">Default: ', '</div>\n ']),
15117 _templateObject6 = _taggedTemplateLiteral(['\n <div class="inner pattern">Pattern: ', '</div>\n '], ['\n <div class="inner pattern">Pattern: ', '</div>\n ']),
15118 _templateObject7 = _taggedTemplateLiteral(['\n <div class="primitive">\n ', '\n\n <span class="type">', '</span>\n\n \n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\t\t \n\t\t \n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n\n ', '\n\n ', '\n ', '\n ', '\n </div>\n '], ['\n <div class="primitive">\n ', '\n\n <span class="type">', '</span>\n\n \n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\t\t \n\t\t \n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n\n ', '\n\n ', '\n ', '\n ', '\n </div>\n ']),
15119 _templateObject8 = _taggedTemplateLiteral(['\n <span class="format">(', ')</span>\n '], ['\n <span class="format">(', ')</span>\n ']),
15120 _templateObject9 = _taggedTemplateLiteral(['\n <span class="range minimum">minimum:', '</span>\n '], ['\n <span class="range minimum">minimum:', '</span>\n ']),
15121 _templateObject10 = _taggedTemplateLiteral(['\n <span class="range exclusiveMinimum">(ex)minimum:', '</span>\n '], ['\n <span class="range exclusiveMinimum">(ex)minimum:', '</span>\n ']),
15122 _templateObject11 = _taggedTemplateLiteral(['\n <span class="range maximum">maximum:', '</span>\n '], ['\n <span class="range maximum">maximum:', '</span>\n ']),
15123 _templateObject12 = _taggedTemplateLiteral(['\n <span class="range exclusiveMaximum">(ex)maximum:', '</span>\n '], ['\n <span class="range exclusiveMaximum">(ex)maximum:', '</span>\n ']),
15124 _templateObject13 = _taggedTemplateLiteral(['\n <span class="range minLength">minLength:', '</span>\n '], ['\n <span class="range minLength">minLength:', '</span>\n ']),
15125 _templateObject14 = _taggedTemplateLiteral(['\n <span class="range maxLength">maxLength:', '</span>\n '], ['\n <span class="range maxLength">maxLength:', '</span>\n ']),
15126 _templateObject15 = _taggedTemplateLiteral(['\n <div class="inner required">Required</div>\n '], ['\n <div class="inner required">Required</div>\n ']),
15127 _templateObject16 = _taggedTemplateLiteral(['\n ', '\n '], ['\n ', '\n ']),
15128 _templateObject17 = _taggedTemplateLiteral(['', ''], ['', '']),
15129 _templateObject18 = _taggedTemplateLiteral(['\n <div class="array">\n <a class="title"><span class="toggle-handle"></span>', '<span class="opening bracket">[</span>', '</a>\n ', '\n <div class="inner">\n ', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n '], ['\n <div class="array">\n <a class="title"><span class="toggle-handle"></span>', '<span class="opening bracket">[</span>', '</a>\n ', '\n <div class="inner">\n ', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n ']),
15130 _templateObject19 = _taggedTemplateLiteral(['<span class="closing bracket">]</span>'], ['<span class="closing bracket">]</span>']),
15131 _templateObject20 = _taggedTemplateLiteral(['\n <span>\n <span title="items range">(', '..', ')</span>\n ', '\n </span>\n '], ['\n <span>\n <span title="items range">(', '..', ')</span>\n ', '\n </span>\n ']),
15132 _templateObject21 = _taggedTemplateLiteral(['<span title="unique" class="uniqueItems">♦</span>'], ['<span title="unique" class="uniqueItems">♦</span>']),
15133 _templateObject22 = _taggedTemplateLiteral(['\n <div class="description">', '</div>\n '], ['\n <div class="description">', '</div>\n ']),
15134 _templateObject23 = _taggedTemplateLiteral(['\n <span class="closing bracket">]</span>\n '], ['\n <span class="closing bracket">]</span>\n ']),
15135 _templateObject24 = _taggedTemplateLiteral(['\n <div class="object">\n <a class="title"><span\n class="toggle-handle"></span>', ' <span\n class="opening brace">{</span>', '</a>\n\n <div class="inner">\n ', '\n <!-- children go here -->\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t \n\t\t\t', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n '], ['\n <div class="object">\n <a class="title"><span\n class="toggle-handle"></span>', ' <span\n class="opening brace">{</span>', '</a>\n\n <div class="inner">\n ', '\n <!-- children go here -->\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t \n\t\t\t', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n ']),
15136 _templateObject25 = _taggedTemplateLiteral(['\n <span class="closing brace" ng-if="isCollapsed">}</span>\n '], ['\n <span class="closing brace" ng-if="isCollapsed">}</span>\n ']),
15137 _templateObject26 = _taggedTemplateLiteral(['\n <div class="required">Required: ', '</div>\n '], ['\n <div class="required">Required: ', '</div>\n ']),
15138 _templateObject266 = _taggedTemplateLiteral(['\n <div class="required">Required: ', '</div>\n '], ['\n <div class="required">Required: ', '</div>\n ']),
15139 _templateObject27 = _taggedTemplateLiteral(['\n <div class="default">Default: ', '</div>\n '], ['\n <div class="default">Default: ', '</div>\n ']),
15140 _templateObject28 = _taggedTemplateLiteral(['\n <div class="pattern">Pattern: ', '</div>\n '], ['\n <div class="pattern">Pattern: ', '</div>\n ']),
15141 _templateObject29 = _taggedTemplateLiteral(['\n <span class="closing brace">}</span>\n '], ['\n <span class="closing brace">}</span>\n ']),
15142 _templateObject30 = _taggedTemplateLiteral(['\n <div class="inner enums">\n <b>Enum:</b>\n </div>\n '], ['\n <div class="inner enums">\n <b>Enum:</b>\n </div>\n ']),
15143 _templateObject31 = _taggedTemplateLiteral(['\n <div class="inner example">Example: ', '</div>\n '], ['\n <div class="inner example">Example: ', '</div>\n ']),
15144 _templateObject32 = _taggedTemplateLiteral(['\n <div class="inner readOnly">Read Only</div>\n '], ['\n <div class="inner readOnly">Read Only</div>\n ']),
15145 _templateObject33 = _taggedTemplateLiteral(['\n <div class="inner nullable">Nullable</div>\n '], ['\n <div class="inner nullable">Nullable</div>\n ']);
15146
15147function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
15148
15149function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
15150
15151var _helpersJs = require('./helpers.js');
15152
15153/**
15154 * @class JSONSchemaView
15155 *
15156 * A pure JavaScript component for rendering JSON Schema in HTML.
15157*/
15158
15159var JSONSchemaView = (function () {
15160
15161 /**
15162 * @param {object} schema The JSON Schema object
15163 *
15164 * @param {number} [open=1] his number indicates up to how many levels the
15165 * rendered tree should expand. Set it to `0` to make the whole tree collapsed
15166 * or set it to `Infinity` to expand the tree deeply
15167 * @param {object} options.
15168 * theme {string}: one of the following options: ['dark']
15169 */
15170
15171 function JSONSchemaView(schema, open) {
15172 var _this = this;
15173
15174 var options = arguments.length <= 2 || arguments[2] === undefined ? { theme: null } : arguments[2];
15175
15176 _classCallCheck(this, JSONSchemaView);
15177
15178 this.schema = schema; //console.log(schema);
15179 this.open = open;
15180 this.options = options;
15181 this.isCollapsed = open <= 0;
15182
15183 // if schema is an empty object which means any JSON
15184 this.isAny = typeof schema === 'object' && !Array.isArray(schema) && !Object.keys(schema).filter(function (k) {
15185 return ['title', 'description'].indexOf(k) === -1;
15186 }).length;
15187
15188 // Determine if a schema is an array
15189 this.isArray = !this.isAny && this.schema && this.schema.type === 'array';
15190
15191 this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneof || this.schema.allOf);
15192
15193 // Determine if a schema is a primitive
15194 this.isPrimitive = !this.isAny && !this.isArray && !this.isObject;
15195
15196 //
15197 this.showToggle = this.schema.description || this.schema.title || this.isPrimitive && (this.schema.minimum || this.schema.maximum || this.schema.exclusiveMinimum || this.schema.exclusiveMaximum);
15198
15199 // populate isRequired property down to properties
15200 if (this.schema && Array.isArray(this.schema.required)) {
15201 this.schema.required.forEach(function (requiredProperty) {
15202 if (typeof _this.schema.properties[requiredProperty] === 'object') {
15203 _this.schema.properties[requiredProperty].isRequired = true;
15204 }
15205 });
15206 }
15207
15208 // Determine if a schema is a read-only
15209 this.isReadOnly = this.schema && this.schema.readOnly === true;
15210
15211 // Determine if a schema is nullable
15212 this.isNullable = this.schema && this.schema["x-nullable"] === true;
15213 }
15214
15215 /*
15216 * Returns the template with populated properties.
15217 * This template does not have the children
15218 */
15219
15220 _createClass(JSONSchemaView, [{
15221 key: 'template',
15222 value: function template() {
15223 if (!this.schema) {
15224 return '';
15225 }
15226
15227 return ('\n <!-- Any -->\n ' + (0, _helpersJs._if)(this.isAny)(_templateObject, (0, _helpersJs._if)(this.showToggle)(_templateObject2, this.schema.title || ''), (0, _helpersJs._if)(this.schema.description && !this.isCollapsed)(_templateObject3, marked(this.schema.description || "")), (0, _helpersJs._if)(this.schema.required && !this.isCollapsed)(_templateObject4, this.schema.required), (0, _helpersJs._if)(this.schema['default'] && !this.isCollapsed)(_templateObject5, this.schema['default']), (0, _helpersJs._if)(this.schema.pattern && !this.isCollapsed)(_templateObject6, this.schema.pattern), (0, _helpersJs._if)(this.schema.example && !this.isCollapsed)(_templateObject31, this.schema.example)) + '\n\n <!-- Primitive -->\n ' + (0, _helpersJs._if)(this.isPrimitive)(_templateObject7, (0, _helpersJs._if)(this.showToggle)(_templateObject2, this.schema.title || ''), this.schema.type, (0, _helpersJs._if)(!this.isCollapsed && this.schema.format)(_templateObject8, this.schema.format), (0, _helpersJs._if)(!this.isCollapsed && this.schema.minimum)(_templateObject9, this.schema.minimum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.exclusiveMinimum)(_templateObject10, this.schema.exclusiveMinimum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.maximum)(_templateObject11, this.schema.maximum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.exclusiveMaximum)(_templateObject12, this.schema.exclusiveMaximum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.minLength)(_templateObject13, this.schema.minLength), (0, _helpersJs._if)(!this.isCollapsed && this.schema.maxLength)(_templateObject14, this.schema.maxLength), (0, _helpersJs._if)(this.schema.description && !this.isCollapsed)(_templateObject3, marked(this.schema.description || "")), (0, _helpersJs._if)(this.schema.required && !this.isCollapsed)(_templateObject15), (0, _helpersJs._if)(this.schema.readOnly && !this.isCollapsed)(_templateObject32), (0, _helpersJs._if)(this.schema["x-nullable"] === true && !this.isCollapsed)(_templateObject33), (0, _helpersJs._if)(this.schema['default'] && !this.isCollapsed)(_templateObject5, this.schema['default']), (0, _helpersJs._if)(this.schema.pattern && !this.isCollapsed)(_templateObject6, this.schema.pattern), (0, _helpersJs._if)(this.schema.example && !this.isCollapsed)(_templateObject31, this.schema.example), (0, _helpersJs._if)(!this.isCollapsed && this.schema['enum'])(_templateObject16, this['enum'](this.schema, this.isCollapsed, this.open)), (0, _helpersJs._if)(this.schema.allOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'allOf')), (0, _helpersJs._if)(this.schema.oneOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'oneOf')), (0, _helpersJs._if)(this.schema.anyOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'anyOf'))) + '\n\n\n <!-- Array -->\n ' + (0, _helpersJs._if)(this.isArray)(_templateObject18, this.schema.title || '', (0, _helpersJs._if)(this.isCollapsed)(_templateObject19), (0, _helpersJs._if)(!this.isCollapsed && (this.schema.uniqueItems || this.schema.minItems || this.schema.maxItems))(_templateObject20, this.schema.minItems || 0, this.schema.maxItems || '∞', (0, _helpersJs._if)(!this.isCollapsed && this.schema.uniqueItems)(_templateObject21)), (0, _helpersJs._if)(!this.isCollapsed && this.schema.description)(_templateObject22, marked(this.schema.description || "")), (0, _helpersJs._if)(!this.isCollapsed && this.schema['enum'])(_templateObject16, this['enum'](this.schema, this.isCollapsed, this.open)), (0, _helpersJs._if)(this.schema.allOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'allOf')), (0, _helpersJs._if)(this.schema.oneOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'oneOf')), (0, _helpersJs._if)(this.schema.anyOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'anyOf')), (0, _helpersJs._if)(!this.isCollapsed)(_templateObject23)) + '\n\n <!-- Object -->\n ' + (0, _helpersJs._if)(!this.isPrimitive && !this.isArray && !this.isAny)(_templateObject24, this.schema.title || '', (0, _helpersJs._if)(this.isCollapsed)(_templateObject25), (0, _helpersJs._if)(!this.isCollapsed && this.schema.description)(_templateObject22, marked(this.schema.description || "")),
15228
15229 (0, _helpersJs._if)(this.schema.required && !this.isCollapsed && this.options.isBodyParam != true)(_templateObject26, this.schema.required),
15230 (0, _helpersJs._if)(this.schema.required && !this.isCollapsed && this.options.isBodyParam == true)(_templateObject266, this.schema.required),
15231
15232 (0, _helpersJs._if)(this.schema['default'] && !this.isCollapsed)(_templateObject27, this.schema['default']),
15233 (0, _helpersJs._if)(!this.isCollapsed && this.schema.pattern)(_templateObject28, this.schema.pattern),
15234 (0, _helpersJs._if)(!this.isCollapsed && this.schema.example)(_templateObject31, "<pre>" + JSON.stringify(this.schema.example, null, 4) + "</pre>"),
15235 (0, _helpersJs._if)(!this.isCollapsed && this.schema['enum'])(_templateObject16, this['enum'](this.schema, this.isCollapsed, this.open)), (0, _helpersJs._if)(this.schema.allOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'allOf')), (0, _helpersJs._if)(this.schema.oneOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'oneOf')), (0, _helpersJs._if)(this.schema.anyOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'anyOf')), (0, _helpersJs._if)(!this.isCollapsed)(_templateObject29)) + '\n').replace(/\s*\n/g, '\n').replace(/(\<\!\-\-).+/g, '').trim();
15236 }
15237
15238 /*
15239 * Template for oneOf, anyOf and allOf
15240 */
15241 }, {
15242 key: 'xOf',
15243 value: function xOf(schema, type) {
15244 return '\n <div class="inner ' + type + '">\n <b>' + (0, _helpersJs.convertXOf)(type) + ':</b>\n </div>\n ';
15245 }
15246
15247 /*
15248 * Template for enums
15249 */
15250 }, {
15251 key: 'enum',
15252 value: function _enum(schema, isCollapsed, open) {
15253 return '\n ' + (0, _helpersJs._if)(!isCollapsed && schema['enum'])(_templateObject30) + '\n ';
15254 }
15255
15256 /*
15257 * Toggles the 'collapsed' state
15258 */
15259 }, {
15260 key: 'toggle',
15261 value: function toggle() {
15262 this.isCollapsed = !this.isCollapsed;
15263 this.render();
15264 }
15265
15266 /*
15267 * Renders the element and returns it
15268 */
15269 }, {
15270 key: 'render',
15271 value: function render() {
15272 if (!this.element) {
15273 this.element = document.createElement('div');
15274 this.element.classList.add('json-schema-view');
15275 }
15276
15277 if (this.isCollapsed) {
15278 this.element.classList.add('collapsed');
15279 } else {
15280 this.element.classList.remove('collapsed');
15281 }
15282
15283 if (this.options.theme) {
15284 this.element.classList.add('json-schema-view-' + this.options.theme);
15285 }
15286
15287 this.element.innerHTML = this.template();
15288
15289 if (!this.schema) {
15290 return this.element;
15291 }
15292
15293 if (!this.isCollapsed) {
15294 this.appendChildren(this.element);
15295 }
15296
15297 // add event listener for toggling
15298 if (this.element.querySelector('a.title')) {
15299 this.element.querySelector('a.title').addEventListener('click', this.toggle.bind(this));
15300 }
15301 return this.element;
15302 }
15303
15304 /*
15305 * Appends children to given element based on current schema
15306 */
15307 }, {
15308 key: 'appendChildren',
15309 value: function appendChildren(element) {
15310 var _this2 = this;
15311
15312 var inner = element.querySelector('.inner');
15313
15314 if (!inner) {
15315 return;
15316 }
15317
15318 if (this.schema['enum']) {
15319 var tempDiv = document.createElement('span');;
15320 tempDiv.classList.add('inner');
15321 tempDiv.innerHTML = '<code>' + this.schema['enum'].join('</code>, <code>') + '</code>';
15322 element.querySelector('.enums.inner').appendChild(tempDiv);
15323 }
15324
15325 if (this.isArray) {
15326 var view = new JSONSchemaView(this.schema.items, Infinity);
15327 inner.appendChild(view.render());
15328 }
15329
15330 if (typeof this.schema.properties === 'object') {
15331 Object.keys(this.schema.properties).forEach(function (propertyName) {
15332 var property = _this2.schema.properties[propertyName];
15333 var tempDiv = document.createElement('div');;
15334 tempDiv.innerHTML = '<div class="property">\n <span class="name">' + propertyName + ':</span>\n </div>';
15335 var view = new JSONSchemaView(property, _this2.open - 1);
15336 tempDiv.querySelector('.property').appendChild(view.render());
15337
15338 inner.appendChild(tempDiv.querySelector('.property'));
15339 });
15340 }
15341
15342 if (this.schema.allOf) {
15343 appendXOf.call(this, 'allOf');
15344 }
15345 if (this.schema.oneOf) {
15346 appendXOf.call(this, 'oneOf');
15347 }
15348 if (this.schema.anyOf) {
15349 appendXOf.call(this, 'anyOf');
15350 }
15351
15352 function appendXOf(type) {
15353 var _this3 = this;
15354
15355 var innerAllOf = element.querySelector('.inner.' + type);
15356
15357 this.schema[type].forEach(function (schema) {
15358 var inner = document.createElement('div');
15359 inner.classList.add('inner');
15360 var view = new JSONSchemaView(schema, _this3.open - 1);
15361 inner.appendChild(view.render());
15362 innerAllOf.appendChild(inner);
15363 });
15364 }
15365 }
15366 }]);
15367
15368 return JSONSchemaView;
15369})();
15370
15371exports['default'] = JSONSchemaView;
15372module.exports = exports['default'];
15373
15374},{"./helpers.js":1}]},{},[2])(2)
15375});
15376//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyaWZ5L25vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJDOi9Vc2Vycy9qYW1lc2hpL0Rlc2t0b3AvanNvbi1zY2hlbWEtdmlldy1qcy1tYXN0ZXIvc3JjL2hlbHBlcnMuanMiLCJDOi9Vc2Vycy9qYW1lc2hpL0Rlc2t0b3AvanNvbi1zY2hlbWEtdmlldy1qcy1tYXN0ZXIvc3JjL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FDQUEsWUFBWSxDQUFDOzs7Ozs7Ozs7O0FBSU4sU0FBUyxVQUFVLENBQUMsSUFBSSxFQUFFO0FBQy9CLFNBQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEdBQUcsS0FBSyxDQUFDO0NBQ3JDOzs7Ozs7Ozs7Ozs7O0FBWU0sU0FBUyxHQUFHLENBQUMsU0FBUyxFQUFFO0FBQzdCLFNBQU8sU0FBUyxHQUFHLE1BQU0sR0FBRyxLQUFLLENBQUM7Q0FDbkM7O0FBQ0QsU0FBUyxLQUFLLEdBQUU7QUFDZCxTQUFPLEVBQUUsQ0FBQztDQUNYO0FBQ0QsU0FBUyxNQUFNLENBQUUsUUFBUSxFQUFrQjtvQ0FBYixXQUFXO0FBQVgsZUFBVzs7O0FBQ3ZDLFNBQU8sUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsVUFBQyxXQUFXLEVBQUUsSUFBSSxFQUFFLENBQUMsRUFBSztBQUN4RCxXQUFPLFdBQVcsR0FBRyxXQUFXLENBQUMsQ0FBQyxDQUFDLEdBQUcsSUFBSSxDQUFDO0dBQzVDLEVBQUUsUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7Q0FDakI7OztBQzVCRCxZQUFZLENBQUM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozt5QkFPTixjQUFjOzs7Ozs7OztJQVFBLGNBQWM7Ozs7Ozs7Ozs7OztBQVd0QixXQVhRLGNBQWMsQ0FXckIsTUFBTSxFQUFFLElBQUksRUFBMkI7OztRQUF6QixPQUFPLHlEQUFHLEVBQUMsS0FBSyxFQUFFLElBQUksRUFBQzs7MEJBWDlCLGNBQWM7O0FBWS9CLFFBQUksQ0FBQyxNQUFNLEdBQUcsTUFBTSxDQUFDO0FBQ3JCLFFBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDO0FBQ2pCLFFBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO0FBQ3ZCLFFBQUksQ0FBQyxXQUFXLEdBQUcsSUFBSSxJQUFJLENBQUMsQ0FBQzs7O0FBRzdCLFFBQUksQ0FBQyxLQUFLLEdBQUcsT0FBTyxNQUFNLEtBQUssUUFBUSxJQUNyQyxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLElBQ3RCLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FDbkIsTUFBTSxDQUFDLFVBQUEsQ0FBQzthQUFHLENBQUMsT0FBTyxFQUFFLGFBQWEsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUM7S0FBQSxDQUFDLENBQUMsTUFBTSxDQUFDOzs7QUFHakUsUUFBSSxDQUFDLE9BQU8sR0FBRyxDQUFDLElBQUksQ0FBQyxLQUFLLElBQUksSUFBSSxDQUFDLE1BQU0sSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLElBQUksS0FBSyxPQUFPLENBQUM7O0FBRTFFLFFBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxDQUFDLE1BQU0sS0FDeEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLEtBQUssUUFBUSxJQUM3QixJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsSUFDdEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxJQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQSxBQUFDLENBQUM7OztBQUd0QixRQUFJLENBQUMsV0FBVyxHQUFHLENBQUMsSUFBSSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDOzs7QUFHbEUsUUFBSSxDQUFDLFVBQVUsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLFdBQVcsSUFDdkMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQ2hCLElBQUksQ0FBQyxXQUFXLEtBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLElBQ25CLElBQUksQ0FBQyxNQUFNLENBQUMsT0FBTyxJQUNuQixJQUFJLENBQUMsTUFBTSxDQUFDLGdCQUFnQixJQUM1QixJQUFJLENBQUMsTUFBTSxDQUFDLGdCQUFnQixDQUFBLEFBQUMsQUFDOUIsQ0FBQzs7O0FBR0osUUFBSSxJQUFJLENBQUMsTUFBTSxJQUFJLEtBQUssQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxRQUFRLENBQUMsRUFBRTtBQUN0RCxVQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsQ0FBQyxPQUFPLENBQUMsVUFBQSxnQkFBZ0IsRUFBSTtBQUMvQyxZQUFJLE9BQU8sTUFBSyxNQUFNLENBQUMsVUFBVSxDQUFDLGdCQUFnQixDQUFDLEtBQUssUUFBUSxFQUFFO0FBQ2hFLGdCQUFLLE1BQU0sQ0FBQyxVQUFVLENBQUMsZ0JBQWdCLENBQUMsQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDO1NBQzVEO09BQ0YsQ0FBQyxDQUFDO0tBQ0o7R0FDRjs7Ozs7OztlQXREa0IsY0FBYzs7V0E0RHpCLG9CQUFHO0FBQ1QsVUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUU7QUFDaEIsZUFBTyxFQUFFLENBQUM7T0FDWDs7QUFFRCxhQUFPLGtDQUVILG9CQUFJLElBQUksQ0FBQyxLQUFLLENBQUMsa0JBRVgsb0JBQUksSUFBSSxDQUFDLFVBQVUsQ0FBQyxtQkFDa0MsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksRUFBRSxHQUs3RSxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLFdBQVcsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ2hCLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxHQUc5RCxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ0EsSUFBSSxDQUFDLE1BQU0sQ0FBQyxRQUFRLEdBRWxFLG9CQUFJLElBQUksQ0FBQyxNQUFNLFdBQVEsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ0QsSUFBSSxDQUFDLE1BQU0sV0FBUSxHQUU5RCxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ0YsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLDhDQU03RCxvQkFBSSxJQUFJLENBQUMsV0FBVyxDQUFDLG1CQUVqQixvQkFBSSxJQUFJLENBQUMsVUFBVSxDQUFDLG1CQUNrQyxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxFQUFFLEdBR3hELElBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxFQUlyQyxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsbUJBQ3BCLElBQUksQ0FBQyxNQUFNLENBQUMsTUFBTSxHQUcxQyxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsbUJBQ1AsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLEdBR3pELG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLGdCQUFnQixDQUFDLG9CQUNILElBQUksQ0FBQyxNQUFNLENBQUMsZ0JBQWdCLEdBRy9FLG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxvQkFDUCxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sR0FHekQsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsZ0JBQWdCLENBQUMsb0JBQ0gsSUFBSSxDQUFDLE1BQU0sQ0FBQyxnQkFBZ0IsR0FHL0Usb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsU0FBUyxDQUFDLG9CQUNMLElBQUksQ0FBQyxNQUFNLENBQUMsU0FBUyxHQUcvRCxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsb0JBQ0wsSUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFTLEdBRy9ELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxtQkFDaEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxXQUFXLEdBSzdELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxxQkFHL0Msb0JBQUksSUFBSSxDQUFDLE1BQU0sV0FBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxtQkFDRCxJQUFJLENBQUMsTUFBTSxXQUFRLEdBRTlELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxtQkFDRixJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sR0FHekQsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLFFBQUssQ0FBQyxvQkFDeEMsSUFBSSxRQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsV0FBVyxFQUFFLElBQUksQ0FBQyxJQUFJLENBQUMsR0FHckQsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsNENBTWhGLG9CQUFJLElBQUksQ0FBQyxPQUFPLENBQUMsb0JBRXVDLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxJQUFJLEVBQUUsRUFBeUMsb0JBQUksSUFBSSxDQUFDLFdBQVcsQ0FBQyxxQkFDekksb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxLQUFLLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxDQUFBLEFBQUMsQ0FBQyxvQkFFdEUsSUFBSSxDQUFDLE1BQU0sQ0FBQyxRQUFRLElBQUksQ0FBQyxFQUFLLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLEdBQUcsRUFDcEYsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxDQUFDLHNCQUlqRCxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxXQUFXLENBQUMsb0JBQ3RCLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxHQUlwRCxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sUUFBSyxDQUFDLG9CQUN4QyxJQUFJLFFBQUssQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLElBQUksQ0FBQyxXQUFXLEVBQUUsSUFBSSxDQUFDLElBQUksQ0FBQyxHQUdyRCxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsb0JBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxHQUM1RSxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsb0JBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxHQUM1RSxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsb0JBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxHQUU1RSxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsNkRBTzFCLG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLG9CQUduQixJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxFQUFFLEVBQ3RCLG9CQUFJLElBQUksQ0FBQyxXQUFXLENBQUMscUJBS25ELG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxvQkFDdEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxXQUFXLEdBSXpELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxvQkFDRCxJQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsR0FFbEUsb0JBQUksSUFBSSxDQUFDLE1BQU0sV0FBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxvQkFDUCxJQUFJLENBQUMsTUFBTSxXQUFRLEdBRzFELG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxvQkFDSixJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sR0FJckQsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLFFBQUssQ0FBQyxvQkFDeEMsSUFBSSxRQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsV0FBVyxFQUFFLElBQUksQ0FBQyxJQUFJLENBQUMsR0FHckQsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FFNUUsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLDZCQUtoQyxPQUFPLENBQUMsUUFBUSxFQUFFLElBQUksQ0FBQyxDQUFDLE9BQU8sQ0FBQyxlQUFlLEVBQUUsRUFBRSxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUM7S0FDM0Q7Ozs7Ozs7V0FLRSxhQUFDLE1BQU0sRUFBRSxJQUFJLEVBQUU7QUFDaEIsNENBQ3NCLElBQUksdUJBQ2pCLDJCQUFXLElBQUksQ0FBQywrQkFFdkI7S0FDSDs7Ozs7OztXQUtHLGVBQUMsTUFBTSxFQUFFLFdBQVcsRUFBRSxJQUFJLEVBQUU7QUFDOUIsMEJBQ0ksb0JBQUksQ0FBQyxXQUFXLElBQUksTUFBTSxRQUFLLENBQUMsK0JBS2xDO0tBQ0g7Ozs7Ozs7V0FLSyxrQkFBRztBQUNQLFVBQUksQ0FBQyxXQUFXLEdBQUcsQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDO0FBQ3JDLFVBQUksQ0FBQyxNQUFNLEVBQUUsQ0FBQztLQUNmOzs7Ozs7O1dBS0ssa0JBQUc7QUFDUCxVQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sRUFBRTtBQUNqQixZQUFJLENBQUMsT0FBTyxHQUFHLFFBQVEsQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDN0MsWUFBSSxDQUFDLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLGtCQUFrQixDQUFDLENBQUM7T0FDaEQ7O0FBRUQsVUFBSSxJQUFJLENBQUMsV0FBVyxFQUFFO0FBQ3BCLFlBQUksQ0FBQyxPQUFPLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxXQUFXLENBQUMsQ0FBQztPQUN6QyxNQUFNO0FBQ0wsWUFBSSxDQUFDLE9BQU8sQ0FBQyxTQUFTLENBQUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxDQUFDO09BQzVDOztBQUVELFVBQUksSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLEVBQUU7QUFDdEIsWUFBSSxDQUFDLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyx1QkFBcUIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUcsQ0FBQztPQUN0RTs7QUFFRCxVQUFJLENBQUMsT0FBTyxDQUFDLFNBQVMsR0FBRyxJQUFJLENBQUMsUUFBUSxFQUFFLENBQUM7O0FBRXpDLFVBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFO0FBQ2hCLGVBQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQztPQUNyQjs7QUFFRCxVQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsRUFBRTtBQUNyQixZQUFJLENBQUMsY0FBYyxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsQ0FBQztPQUNuQzs7O0FBR0QsVUFBSSxJQUFJLENBQUMsT0FBTyxDQUFDLGFBQWEsQ0FBQyxTQUFTLENBQUMsRUFBRTtBQUN6QyxZQUFJLENBQUMsT0FBTyxDQUFDLGFBQWEsQ0FBQyxTQUFTLENBQUMsQ0FBQyxnQkFBZ0IsQ0FBQyxPQUFPLEVBQUUsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQztPQUN6RjtBQUNELGFBQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQztLQUNyQjs7Ozs7OztXQUthLHdCQUFDLE9BQU8sRUFBRTs7O0FBQ3RCLFVBQU0sS0FBSyxHQUFHLE9BQU8sQ0FBQyxhQUFhLENBQUMsUUFBUSxDQUFDLENBQUM7O0FBRTlDLFVBQUksQ0FBQyxLQUFLLEVBQUU7QUFDVixlQUFPO09BQ1I7O0FBRUQsVUFBSSxJQUFJLENBQUMsTUFBTSxRQUFLLEVBQUU7QUFDcEIsWUFBTSxTQUFTLEdBQUcsSUFBSSxhQUFhLENBQUMsSUFBSSxDQUFDLE1BQU0sUUFBSyxFQUFFLElBQUksQ0FBQyxJQUFJLEdBQUcsQ0FBQyxDQUFDLENBQUM7QUFDckUsWUFBTSxXQUFXLEdBQUcsU0FBUyxDQUFDLE1BQU0sRUFBRSxDQUFDO0FBQ3ZDLG1CQUFXLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsQ0FBQztBQUNuQyxlQUFPLENBQUMsYUFBYSxDQUFDLGNBQWMsQ0FBQyxDQUFDLFdBQVcsQ0FBQyxXQUFXLENBQUMsQ0FBQztPQUVoRTs7QUFFRCxVQUFJLElBQUksQ0FBQyxPQUFPLEVBQUU7QUFDaEIsWUFBTSxJQUFJLEdBQUcsSUFBSSxjQUFjLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLEVBQUUsSUFBSSxDQUFDLElBQUksR0FBRyxDQUFDLENBQUMsQ0FBQTtBQUNqRSxhQUFLLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDO09BQ2xDOztBQUVELFVBQUksT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsS0FBSyxRQUFRLEVBQUU7QUFDOUMsY0FBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxVQUFBLFlBQVksRUFBSTtBQUMxRCxjQUFNLFFBQVEsR0FBRyxPQUFLLE1BQU0sQ0FBQyxVQUFVLENBQUMsWUFBWSxDQUFDLENBQUM7QUFDdEQsY0FBTSxPQUFPLEdBQUcsUUFBUSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDO0FBQy9DLGlCQUFPLENBQUMsU0FBUyw2REFDTSxZQUFZLDZCQUM1QixDQUFDO0FBQ1IsY0FBTSxJQUFJLEdBQUcsSUFBSSxjQUFjLENBQUMsUUFBUSxFQUFFLE9BQUssSUFBSSxHQUFHLENBQUMsQ0FBQyxDQUFDO0FBQ3pELGlCQUFPLENBQUMsYUFBYSxDQUFDLFdBQVcsQ0FBQyxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQzs7QUFFOUQsZUFBSyxDQUFDLFdBQVcsQ0FBQyxPQUFPLENBQUMsYUFBYSxDQUFDLFdBQVcsQ0FBQyxDQUFDLENBQUM7U0FDdkQsQ0FBQyxDQUFDO09BQ0o7O0FBRUQsVUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssRUFBRTtBQUFFLGlCQUFTLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxPQUFPLENBQUMsQ0FBQztPQUFFO0FBQ3pELFVBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLEVBQUU7QUFBRSxpQkFBUyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsT0FBTyxDQUFDLENBQUM7T0FBRTtBQUN6RCxVQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxFQUFFO0FBQUUsaUJBQVMsQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLE9BQU8sQ0FBQyxDQUFDO09BQUU7O0FBRXpELGVBQVMsU0FBUyxDQUFDLElBQUksRUFBRTs7O0FBQ3ZCLFlBQU0sVUFBVSxHQUFHLE9BQU8sQ0FBQyxhQUFhLGFBQVcsSUFBSSxDQUFHLENBQUM7O0FBRTNELFlBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsT0FBTyxDQUFDLFVBQUEsTUFBTSxFQUFJO0FBQ2xDLGNBQU0sS0FBSyxHQUFHLFFBQVEsQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDNUMsZUFBSyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLENBQUM7QUFDN0IsY0FBTSxJQUFJLEdBQUcsSUFBSSxjQUFjLENBQUMsTUFBTSxFQUFFLE9BQUssSUFBSSxHQUFHLENBQUMsQ0FBQyxDQUFDO0FBQ3ZELGVBQUssQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUM7QUFDakMsb0JBQVUsQ0FBQyxXQUFXLENBQUMsS0FBSyxDQUFDLENBQUM7U0FDL0IsQ0FBQyxDQUFDO09BQ0o7S0FDRjs7O1NBOVZrQixjQUFjOzs7cUJBQWQsY0FBYyIsImZpbGUiOiJnZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlc0NvbnRlbnQiOlsiKGZ1bmN0aW9uIGUodCxuLHIpe2Z1bmN0aW9uIHMobyx1KXtpZighbltvXSl7aWYoIXRbb10pe3ZhciBhPXR5cGVvZiByZXF1aXJlPT1cImZ1bmN0aW9uXCImJnJlcXVpcmU7aWYoIXUmJmEpcmV0dXJuIGEobywhMCk7aWYoaSlyZXR1cm4gaShvLCEwKTt2YXIgZj1uZXcgRXJyb3IoXCJDYW5ub3QgZmluZCBtb2R1bGUgJ1wiK28rXCInXCIpO3Rocm93IGYuY29kZT1cIk1PRFVMRV9OT1RfRk9VTkRcIixmfXZhciBsPW5bb109e2V4cG9ydHM6e319O3Rbb11bMF0uY2FsbChsLmV4cG9ydHMsZnVuY3Rpb24oZSl7dmFyIG49dFtvXVsxXVtlXTtyZXR1cm4gcyhuP246ZSl9LGwsbC5leHBvcnRzLGUsdCxuLHIpfXJldHVybiBuW29dLmV4cG9ydHN9dmFyIGk9dHlwZW9mIHJlcXVpcmU9PVwiZnVuY3Rpb25cIiYmcmVxdWlyZTtmb3IodmFyIG89MDtvPHIubGVuZ3RoO28rKylzKHJbb10pO3JldHVybiBzfSkiLCIndXNlIHN0cmljdCc7XG4vKlxuICogQ29udmVydHMgYW55T2YsIGFsbE9mIGFuZCBvbmVPZiB0byBodW1hbiByZWFkYWJsZSBzdHJpbmdcbiovXG5leHBvcnQgZnVuY3Rpb24gY29udmVydFhPZih0eXBlKSB7XG4gIHJldHVybiB0eXBlLnN1YnN0cmluZygwLCAzKSArICcgb2YnO1xufVxuXG4vKlxuICogaWYgY29uZGl0aW9uIGZvciBFUzYgdGVtcGxhdGUgc3RyaW5nc1xuICogdG8gYmUgdXNlZCBvbmx5IGluIHRlbXBsYXRlIHN0cmluZ1xuICpcbiAqIEBleGFtcGxlIG15c3RyID0gYFJhbmRvbSBpcyAke19pZihNYXRoLnJhbmRvbSgpID4gMC41KWBncmVhdGVyIHRoYW4gMC41YGBcbiAqXG4gKiBAcGFyYW0ge2Jvb2xlYW59IGNvbmRpdGlvblxuICpcbiAqIEByZXR1cm5zIHtmdW5jdGlvbn0gdGhlIHRlbXBsYXRlIGZ1bmN0aW9uXG4qL1xuZXhwb3J0IGZ1bmN0aW9uIF9pZihjb25kaXRpb24pIHtcbiAgcmV0dXJuIGNvbmRpdGlvbiA/IG5vcm1hbCA6IGVtcHR5O1xufVxuZnVuY3Rpb24gZW1wdHkoKXtcbiAgcmV0dXJuICcnO1xufVxuZnVuY3Rpb24gbm9ybWFsICh0ZW1wbGF0ZSwgLi4uZXhwcmVzc2lvbnMpIHtcbiAgcmV0dXJuIHRlbXBsYXRlLnNsaWNlKDEpLnJlZHVjZSgoYWNjdW11bGF0b3IsIHBhcnQsIGkpID0+IHtcbiAgICByZXR1cm4gYWNjdW11bGF0b3IgKyBleHByZXNzaW9uc1tpXSArIHBhcnQ7XG4gIH0sIHRlbXBsYXRlWzBdKTtcbn0iLCIndXNlIHN0cmljdCc7XG5cbi8qIGdsb2JhbHMgSlNPTlNjaGVtYVZpZXcgKi9cblxuaW1wb3J0IHtcbiAgY29udmVydFhPZixcbiAgX2lmXG59IGZyb20gJy4vaGVscGVycy5qcyc7XG5cblxuLyoqXG4gKiBAY2xhc3MgSlNPTlNjaGVtYVZpZXdcbiAqXG4gKiBBIHB1cmUgSmF2YVNjcmlwdCBjb21wb25lbnQgZm9yIHJlbmRlcmluZyBKU09OIFNjaGVtYSBpbiBIVE1MLlxuKi9cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIEpTT05TY2hlbWFWaWV3IHtcblxuICAvKipcbiAgICogQHBhcmFtIHtvYmplY3R9IHNjaGVtYSBUaGUgSlNPTiBTY2hlbWEgb2JqZWN0XG4gICAqXG4gICAqIEBwYXJhbSB7bnVtYmVyfSBbb3Blbj0xXSBoaXMgbnVtYmVyIGluZGljYXRlcyB1cCB0byBob3cgbWFueSBsZXZlbHMgdGhlXG4gICAqIHJlbmRlcmVkIHRyZWUgc2hvdWxkIGV4cGFuZC4gU2V0IGl0IHRvIGAwYCB0byBtYWtlIHRoZSB3aG9sZSB0cmVlIGNvbGxhcHNlZFxuICAgKiBvciBzZXQgaXQgdG8gYEluZmluaXR5YCB0byBleHBhbmQgdGhlIHRyZWUgZGVlcGx5XG4gICAqIEBwYXJhbSB7b2JqZWN0fSBvcHRpb25zLlxuICAgKiAgdGhlbWUge3N0cmluZ306IG9uZSBvZiB0aGUgZm9sbG93aW5nIG9wdGlvbnM6IFsnZGFyayddXG4gICovXG4gIGNvbnN0cnVjdG9yKHNjaGVtYSwgb3Blbiwgb3B0aW9ucyA9IHt0aGVtZTogbnVsbH0pIHtcbiAgICB0aGlzLnNjaGVtYSA9IHNjaGVtYTtcbiAgICB0aGlzLm9wZW4gPSBvcGVuO1xuICAgIHRoaXMub3B0aW9ucyA9IG9wdGlvbnM7XG4gICAgdGhpcy5pc0NvbGxhcHNlZCA9IG9wZW4gPD0gMDtcblxuICAgIC8vIGlmIHNjaGVtYSBpcyBhbiBlbXB0eSBvYmplY3Qgd2hpY2ggbWVhbnMgYW55IEpPU05cbiAgICB0aGlzLmlzQW55ID0gdHlwZW9mIHNjaGVtYSA9PT0gJ29iamVjdCcgJiZcbiAgICAgICFBcnJheS5pc0FycmF5KHNjaGVtYSkgJiZcbiAgICAgICFPYmplY3Qua2V5cyhzY2hlbWEpXG4gICAgICAuZmlsdGVyKGs9PiBbJ3RpdGxlJywgJ2Rlc2NyaXB0aW9uJ10uaW5kZXhPZihrKSA9PT0gLTEpLmxlbmd0aDtcblxuICAgIC8vIERldGVybWluZSBpZiBhIHNjaGVtYSBpcyBhbiBhcnJheVxuICAgIHRoaXMuaXNBcnJheSA9ICF0aGlzLmlzQW55ICYmIHRoaXMuc2NoZW1hICYmIHRoaXMuc2NoZW1hLnR5cGUgPT09ICdhcnJheSc7XG5cbiAgICB0aGlzLmlzT2JqZWN0ID0gdGhpcy5zY2hlbWEgJiZcbiAgICAgICh0aGlzLnNjaGVtYS50eXBlID09PSAnb2JqZWN0JyB8fFxuICAgICAgIHRoaXMuc2NoZW1hLnByb3BlcnRpZXMgfHxcbiAgICAgICB0aGlzLnNjaGVtYS5hbnlPZiB8fFxuICAgICAgIHRoaXMuc2NoZW1hLm9uZW9mIHx8XG4gICAgICAgdGhpcy5zY2hlbWEuYWxsT2YpO1xuXG4gICAgLy8gRGV0ZXJtaW5lIGlmIGEgc2NoZW1hIGlzIGEgcHJpbWl0aXZlXG4gICAgdGhpcy5pc1ByaW1pdGl2ZSA9ICF0aGlzLmlzQW55ICYmICF0aGlzLmlzQXJyYXkgJiYgIXRoaXMuaXNPYmplY3Q7XG5cbiAgICAvL1xuICAgIHRoaXMuc2hvd1RvZ2dsZSA9IHRoaXMuc2NoZW1hLmRlc2NyaXB0aW9uIHx8XG4gICAgICB0aGlzLnNjaGVtYS50aXRsZSB8fFxuICAgICAgKHRoaXMuaXNQcmltaXRpdmUgJiYgKFxuICAgICAgICB0aGlzLnNjaGVtYS5taW5pbXVtIHx8XG4gICAgICAgIHRoaXMuc2NoZW1hLm1heGltdW0gfHxcbiAgICAgICAgdGhpcy5zY2hlbWEuZXhjbHVzaXZlTWluaW11bSB8fFxuICAgICAgICB0aGlzLnNjaGVtYS5leGNsdXNpdmVNYXhpbXVtKVxuICAgICAgKTtcblxuICAgIC8vIHBvcHVsYXRlIGlzUmVxdWlyZWQgcHJvcGVydHkgZG93biB0byBwcm9wZXJ0aWVzXG4gICAgaWYgKHRoaXMuc2NoZW1hICYmIEFycmF5LmlzQXJyYXkodGhpcy5zY2hlbWEucmVxdWlyZWQpKSB7XG4gICAgICB0aGlzLnNjaGVtYS5yZXF1aXJlZC5mb3JFYWNoKHJlcXVpcmVkUHJvcGVydHkgPT4ge1xuICAgICAgICBpZiAodHlwZW9mIHRoaXMuc2NoZW1hLnByb3BlcnRpZXNbcmVxdWlyZWRQcm9wZXJ0eV0gPT09ICdvYmplY3QnKSB7XG4gICAgICAgICAgdGhpcy5zY2hlbWEucHJvcGVydGllc1tyZXF1aXJlZFByb3BlcnR5XS5pc1JlcXVpcmVkID0gdHJ1ZTtcbiAgICAgICAgfVxuICAgICAgfSk7XG4gICAgfVxuICB9XG5cbiAgLypcbiAgICogUmV0dXJucyB0aGUgdGVtcGxhdGUgd2l0aCBwb3B1bGF0ZWQgcHJvcGVydGllcy5cbiAgICogVGhpcyB0ZW1wbGF0ZSBkb2VzIG5vdCBoYXZlIHRoZSBjaGlsZHJlblxuICAqL1xuICB0ZW1wbGF0ZSgpIHtcbiAgICBpZiAoIXRoaXMuc2NoZW1hKSB7XG4gICAgICByZXR1cm4gJyc7XG4gICAgfVxuXG4gICAgcmV0dXJuIGBcbiAgICAgIDwhLS0gQW55IC0tPlxuICAgICAgJHtfaWYodGhpcy5pc0FueSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJhbnlcIj5cbiAgICAgICAgICAke19pZih0aGlzLnNob3dUb2dnbGUpYFxuICAgICAgICAgICAgPGEgY2xhc3M9XCJ0aXRsZVwiPjxzcGFuIGNsYXNzPVwidG9nZ2xlLWhhbmRsZVwiPjwvc3Bhbj4ke3RoaXMuc2NoZW1hLnRpdGxlIHx8ICcnfSA8L2E+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgIDxzcGFuIGNsYXNzPVwidHlwZSB0eXBlLWFueVwiPiZsdDthbnkmZ3Q7PC9zcGFuPlxuXG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEuZGVzY3JpcHRpb24gJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIGRlc2NyaXB0aW9uXCI+JHt0aGlzLnNjaGVtYS5kZXNjcmlwdGlvbn08L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCBcblx0XHQgICR7X2lmKHRoaXMuc2NoZW1hLnJlcXVpcmVkICYmICF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lciByZXF1aXJlZFwiPlJlcXVpcmVkOiAke3RoaXMuc2NoZW1hLnJlcXVpcmVkfTwvZGl2PlxuICAgICAgICAgIGB9XG5cdFx0ICAke19pZih0aGlzLnNjaGVtYS5kZWZhdWx0ICYmICF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lciBkZWZhdWx0XCI+RGVmYXVsdDogJHt0aGlzLnNjaGVtYS5kZWZhdWx0fTwvZGl2PlxuICAgICAgICAgIGB9XG5cdFx0ICAgJHtfaWYodGhpcy5zY2hlbWEucGF0dGVybiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW5uZXIgcGF0dGVyblwiPlBhdHRlcm46ICR7dGhpcy5zY2hlbWEucGF0dGVybn08L2Rpdj5cbiAgICAgICAgICBgfVxuICAgICAgICA8L2Rpdj5cbiAgICAgIGB9XG5cdFx0ICAgJHtfaWYodGhpcy5zY2hlbWEuZXhhbXBsZSAmJiAhdGhpcy5pc0NvbGxhcHNlZClgXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW5uZXIgZXhhbXBsZVwiPkV4YW1wbGU6ICR7dGhpcy5zY2hlbWEuZXhhbXBsZX08L2Rpdj5cbiAgICAgICAgICBgfVxuICAgICAgICA8L2Rpdj5cbiAgICAgIGB9XG5cbiAgICAgIDwhLS0gUHJpbWl0aXZlIC0tPlxuICAgICAgJHtfaWYodGhpcy5pc1ByaW1pdGl2ZSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJwcmltaXRpdmVcIj5cbiAgICAgICAgICAke19pZih0aGlzLnNob3dUb2dnbGUpYFxuICAgICAgICAgICAgPGEgY2xhc3M9XCJ0aXRsZVwiPjxzcGFuIGNsYXNzPVwidG9nZ2xlLWhhbmRsZVwiPjwvc3Bhbj4ke3RoaXMuc2NoZW1hLnRpdGxlIHx8ICcnfSA8L2E+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJ0eXBlXCI+JHt0aGlzLnNjaGVtYS50eXBlfTwvc3Bhbj5cblxuICAgICAgICAgXG5cbiAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS5mb3JtYXQpYFxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJmb3JtYXRcIj4oJHt0aGlzLnNjaGVtYS5mb3JtYXR9KTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWluaW11bSlgXG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cInJhbmdlIG1pbmltdW1cIj5taW5pbXVtOiR7dGhpcy5zY2hlbWEubWluaW11bX08L3NwYW4+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLmV4Y2x1c2l2ZU1pbmltdW0pYFxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJyYW5nZSBleGNsdXNpdmVNaW5pbXVtXCI+KGV4KW1pbmltdW06JHt0aGlzLnNjaGVtYS5leGNsdXNpdmVNaW5pbXVtfTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWF4aW11bSlgXG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cInJhbmdlIG1heGltdW1cIj5tYXhpbXVtOiR7dGhpcy5zY2hlbWEubWF4aW11bX08L3NwYW4+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLmV4Y2x1c2l2ZU1heGltdW0pYFxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJyYW5nZSBleGNsdXNpdmVNYXhpbXVtXCI+KGV4KW1heGltdW06JHt0aGlzLnNjaGVtYS5leGNsdXNpdmVNYXhpbXVtfTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWluTGVuZ3RoKWBcbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicmFuZ2UgbWluTGVuZ3RoXCI+bWluTGVuZ3RoOiR7dGhpcy5zY2hlbWEubWluTGVuZ3RofTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWF4TGVuZ3RoKWBcbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicmFuZ2UgbWF4TGVuZ3RoXCI+bWF4TGVuZ3RoOiR7dGhpcy5zY2hlbWEubWF4TGVuZ3RofTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEuZGVzY3JpcHRpb24gJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIGRlc2NyaXB0aW9uXCI+JHt0aGlzLnNjaGVtYS5kZXNjcmlwdGlvbn08L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCAgXG5cdFx0IFxuXHRcdCAgXG5cdFx0ICAgJHtfaWYodGhpcy5zY2hlbWEucmVxdWlyZWQgJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIHJlcXVpcmVkXCI+UmVxdWlyZWQ8L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCAgJHtfaWYodGhpcy5zY2hlbWEuZGVmYXVsdCAmJiAhdGhpcy5pc0NvbGxhcHNlZClgXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW5uZXIgZGVmYXVsdFwiPkRlZmF1bHQ6ICR7dGhpcy5zY2hlbWEuZGVmYXVsdH08L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCAgICR7X2lmKHRoaXMuc2NoZW1hLnBhdHRlcm4gJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIHBhdHRlcm5cIj5QYXR0ZXJuOiAke3RoaXMuc2NoZW1hLnBhdHRlcm59PC9kaXY+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLmVudW0pYFxuICAgICAgICAgICAgJHt0aGlzLmVudW0odGhpcy5zY2hlbWEsIHRoaXMuaXNDb2xsYXBzZWQsIHRoaXMub3Blbil9XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKHRoaXMuc2NoZW1hLmFsbE9mICYmICF0aGlzLmlzQ29sbGFwc2VkKWAke3RoaXMueE9mKHRoaXMuc2NoZW1hLCAnYWxsT2YnKX1gfVxuICAgICAgICAgICR7X2lmKHRoaXMuc2NoZW1hLm9uZU9mICYmICF0aGlzLmlzQ29sbGFwc2VkKWAke3RoaXMueE9mKHRoaXMuc2NoZW1hLCAnb25lT2YnKX1gfVxuICAgICAgICAgICR7X2lmKHRoaXMuc2NoZW1hLmFueU9mICYmICF0aGlzLmlzQ29sbGFwc2VkKWAke3RoaXMueE9mKHRoaXMuc2NoZW1hLCAnYW55T2YnKX1gfVxuICAgICAgICA8L2Rpdj5cbiAgICAgIGB9XG5cblxuICAgICAgPCEtLSBBcnJheSAtLT5cbiAgICAgICR7X2lmKHRoaXMuaXNBcnJheSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJhcnJheVwiPlxuICAgICAgICAgIDxhIGNsYXNzPVwidGl0bGVcIj48c3BhbiBjbGFzcz1cInRvZ2dsZS1oYW5kbGVcIj48L3NwYW4+JHt0aGlzLnNjaGVtYS50aXRsZSB8fCAnJ308c3BhbiBjbGFzcz1cIm9wZW5pbmcgYnJhY2tldFwiPls8L3NwYW4+JHtfaWYodGhpcy5pc0NvbGxhcHNlZClgPHNwYW4gY2xhc3M9XCJjbG9zaW5nIGJyYWNrZXRcIj5dPC9zcGFuPmB9PC9hPlxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmICh0aGlzLnNjaGVtYS51bmlxdWVJdGVtcyB8fCB0aGlzLnNjaGVtYS5taW5JdGVtcyB8fCB0aGlzLnNjaGVtYS5tYXhJdGVtcykpYFxuICAgICAgICAgIDxzcGFuPlxuICAgICAgICAgICAgPHNwYW4gdGl0bGU9XCJpdGVtcyByYW5nZVwiPigke3RoaXMuc2NoZW1hLm1pbkl0ZW1zIHx8IDB9Li4ke3RoaXMuc2NoZW1hLm1heEl0ZW1zIHx8ICc4J30pPC9zcGFuPlxuICAgICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEudW5pcXVlSXRlbXMpYDxzcGFuIHRpdGxlPVwidW5pcXVlXCIgY2xhc3M9XCJ1bmlxdWVJdGVtc1wiPj88L3NwYW4+YH1cbiAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgYH1cbiAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW5uZXJcIj5cbiAgICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLmRlc2NyaXB0aW9uKWBcbiAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImRlc2NyaXB0aW9uXCI+JHt0aGlzLnNjaGVtYS5kZXNjcmlwdGlvbn08L2Rpdj5cbiAgICAgICAgICAgIGB9XG4gICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS5lbnVtKWBcbiAgICAgICAgICAgICR7dGhpcy5lbnVtKHRoaXMuc2NoZW1hLCB0aGlzLmlzQ29sbGFwc2VkLCB0aGlzLm9wZW4pfVxuICAgICAgICAgIGB9XG5cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5hbGxPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ2FsbE9mJyl9YH1cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5vbmVPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ29uZU9mJyl9YH1cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5hbnlPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ2FueU9mJyl9YH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICA8c3BhbiBjbGFzcz1cImNsb3NpbmcgYnJhY2tldFwiPl08L3NwYW4+XG4gICAgICAgICAgYH1cbiAgICAgICAgPC9kaXY+XG4gICAgICBgfVxuXG4gICAgICA8IS0tIE9iamVjdCAtLT5cbiAgICAgICR7X2lmKCF0aGlzLmlzUHJpbWl0aXZlICYmICF0aGlzLmlzQXJyYXkgJiYgIXRoaXMuaXNBbnkpYFxuICAgICAgICA8ZGl2IGNsYXNzPVwib2JqZWN0XCI+XG4gICAgICAgICAgPGEgY2xhc3M9XCJ0aXRsZVwiPjxzcGFuXG4gICAgICAgICAgICBjbGFzcz1cInRvZ2dsZS1oYW5kbGVcIj48L3NwYW4+JHt0aGlzLnNjaGVtYS50aXRsZSB8fCAnJ30gPHNwYW5cbiAgICAgICAgICAgIGNsYXNzPVwib3BlbmluZyBicmFjZVwiPns8L3NwYW4+JHtfaWYodGhpcy5pc0NvbGxhcHNlZClgXG4gICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwiY2xvc2luZyBicmFjZVwiIG5nLWlmPVwiaXNDb2xsYXBzZWRcIj59PC9zcGFuPlxuICAgICAgICAgIGB9PC9hPlxuXG4gICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyXCI+XG4gICAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS5kZXNjcmlwdGlvbilgXG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJkZXNjcmlwdGlvblwiPiR7dGhpcy5zY2hlbWEuZGVzY3JpcHRpb259PC9kaXY+XG4gICAgICAgICAgICBgfVxuICAgICAgICAgICAgPCEtLSBjaGlsZHJlbiBnbyBoZXJlIC0tPlxuXHRcdCAgXG5cdFx0ICAgJHtfaWYodGhpcy5zY2hlbWEucmVxdWlyZWQgJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInJlcXVpcmVkXCI+RGVmYXVsdCBGaWVsZHM6ICR7dGhpcy5zY2hlbWEucmVxdWlyZWR9PC9kaXY+XG4gICAgICAgICAgYH1cblx0XHQgICR7X2lmKHRoaXMuc2NoZW1hLmRlZmF1bHQgJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImRlZmF1bHRcIj5EZWZhdWx0OiAke3RoaXMuc2NoZW1hLmRlZmF1bHR9PC9kaXY+XG4gICAgICAgICAgYH1cblx0XHQgIFxuXHRcdFx0JHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEucGF0dGVybilgXG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJwYXR0ZXJuXCI+UGF0dGVybjogJHt0aGlzLnNjaGVtYS5wYXR0ZXJufTwvZGl2PlxuICAgICAgICAgICAgYH1cblx0XHRcdCR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLmV4YW1wbGUpYFxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZXhhbXBsZVwiPkV4YW1wbGU6ICR7dGhpcy5zY2hlbWEuZXhhbXBsZX08L2Rpdj5cbiAgICAgICAgICAgIGB9XG4gICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS5lbnVtKWBcbiAgICAgICAgICAgICR7dGhpcy5lbnVtKHRoaXMuc2NoZW1hLCB0aGlzLmlzQ29sbGFwc2VkLCB0aGlzLm9wZW4pfVxuICAgICAgICAgIGB9XG5cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5hbGxPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ2FsbE9mJyl9YH1cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5vbmVPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ29uZU9mJyl9YH1cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5hbnlPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ2FueU9mJyl9YH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICA8c3BhbiBjbGFzcz1cImNsb3NpbmcgYnJhY2VcIj59PC9zcGFuPlxuICAgICAgICAgIGB9XG4gICAgICAgIDwvZGl2PlxuICAgICAgYH1cbmAucmVwbGFjZSgvXFxzKlxcbi9nLCAnXFxuJykucmVwbGFjZSgvKFxcPFxcIVxcLVxcLSkuKy9nLCAnJykudHJpbSgpO1xuICB9XG5cbiAgLypcbiAgICogVGVtcGxhdGUgZm9yIG9uZU9mLCBhbnlPZiBhbmQgYWxsT2ZcbiAgKi9cbiAgeE9mKHNjaGVtYSwgdHlwZSkge1xuICAgIHJldHVybiBgXG4gICAgICA8ZGl2IGNsYXNzPVwiaW5uZXIgJHt0eXBlfVwiPlxuICAgICAgICA8Yj4ke2NvbnZlcnRYT2YodHlwZSl9OjwvYj5cbiAgICAgIDwvZGl2PlxuICAgIGA7XG4gIH1cblxuICAvKlxuICAgKiBUZW1wbGF0ZSBmb3IgZW51bXNcbiAgKi9cbiAgZW51bShzY2hlbWEsIGlzQ29sbGFwc2VkLCBvcGVuKSB7XG4gICAgcmV0dXJuIGBcbiAgICAgICR7X2lmKCFpc0NvbGxhcHNlZCAmJiBzY2hlbWEuZW51bSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lciBlbnVtc1wiPlxuICAgICAgICAgIDxiPkVudW06PC9iPlxuICAgICAgICA8L2Rpdj5cbiAgICAgIGB9XG4gICAgYDtcbiAgfVxuXG4gIC8qXG4gICAqIFRvZ2dsZXMgdGhlICdjb2xsYXBzZWQnIHN0YXRlXG4gICovXG4gIHRvZ2dsZSgpIHtcbiAgICB0aGlzLmlzQ29sbGFwc2VkID0gIXRoaXMuaXNDb2xsYXBzZWQ7XG4gICAgdGhpcy5yZW5kZXIoKTtcbiAgfVxuXG4gIC8qXG4gICAqIFJlbmRlcnMgdGhlIGVsZW1lbnQgYW5kIHJldHVybnMgaXRcbiAgKi9cbiAgcmVuZGVyKCkge1xuICAgIGlmICghdGhpcy5lbGVtZW50KSB7XG4gICAgICB0aGlzLmVsZW1lbnQgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdkaXYnKTtcbiAgICAgIHRoaXMuZWxlbWVudC5jbGFzc0xpc3QuYWRkKCdqc29uLXNjaGVtYS12aWV3Jyk7XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuaXNDb2xsYXBzZWQpIHtcbiAgICAgIHRoaXMuZWxlbWVudC5jbGFzc0xpc3QuYWRkKCdjb2xsYXBzZWQnKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5lbGVtZW50LmNsYXNzTGlzdC5yZW1vdmUoJ2NvbGxhcHNlZCcpO1xuICAgIH1cblxuICAgIGlmICh0aGlzLm9wdGlvbnMudGhlbWUpIHtcbiAgICAgIHRoaXMuZWxlbWVudC5jbGFzc0xpc3QuYWRkKGBqc29uLXNjaGVtYS12aWV3LSR7dGhpcy5vcHRpb25zLnRoZW1lfWApO1xuICAgIH1cblxuICAgIHRoaXMuZWxlbWVudC5pbm5lckhUTUwgPSB0aGlzLnRlbXBsYXRlKCk7XG5cbiAgICBpZiAoIXRoaXMuc2NoZW1hKSB7XG4gICAgICByZXR1cm4gdGhpcy5lbGVtZW50O1xuICAgIH1cblxuICAgIGlmICghdGhpcy5pc0NvbGxhcHNlZCkge1xuICAgICAgdGhpcy5hcHBlbmRDaGlsZHJlbih0aGlzLmVsZW1lbnQpO1xuICAgIH1cblxuICAgIC8vIGFkZCBldmVudCBsaXN0ZW5lciBmb3IgdG9nZ2xpbmdcbiAgICBpZiAodGhpcy5lbGVtZW50LnF1ZXJ5U2VsZWN0b3IoJ2EudGl0bGUnKSkge1xuICAgICAgdGhpcy5lbGVtZW50LnF1ZXJ5U2VsZWN0b3IoJ2EudGl0bGUnKS5hZGRFdmVudExpc3RlbmVyKCdjbGljaycsIHRoaXMudG9nZ2xlLmJpbmQodGhpcykpO1xuICAgIH1cbiAgICByZXR1cm4gdGhpcy5lbGVtZW50O1xuICB9XG5cbiAgLypcbiAgICogQXBwZW5kcyBjaGlsZHJlbiB0byBnaXZlbiBlbGVtZW50IGJhc2VkIG9uIGN1cnJlbnQgc2NoZW1hXG4gICovXG4gIGFwcGVuZENoaWxkcmVuKGVsZW1lbnQpIHtcbiAgICBjb25zdCBpbm5lciA9IGVsZW1lbnQucXVlcnlTZWxlY3RvcignLmlubmVyJyk7XG5cbiAgICBpZiAoIWlubmVyKSB7XG4gICAgICByZXR1cm47XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuc2NoZW1hLmVudW0pIHtcbiAgICAgIGNvbnN0IGZvcm1hdHRlciA9IG5ldyBKU09ORm9ybWF0dGVyKHRoaXMuc2NoZW1hLmVudW0sIHRoaXMub3BlbiAtIDEpO1xuICAgICAgY29uc3QgZm9ybWF0dGVyRWwgPSBmb3JtYXR0ZXIucmVuZGVyKCk7XG4gICAgICBmb3JtYXR0ZXJFbC5jbGFzc0xpc3QuYWRkKCdpbm5lcicpO1xuICAgICAgZWxlbWVudC5xdWVyeVNlbGVjdG9yKCcuZW51bXMuaW5uZXInKS5hcHBlbmRDaGlsZChmb3JtYXR0ZXJFbCk7XG5cbiAgICB9XG5cbiAgICBpZiAodGhpcy5pc0FycmF5KSB7XG4gICAgICBjb25zdCB2aWV3ID0gbmV3IEpTT05TY2hlbWFWaWV3KHRoaXMuc2NoZW1hLml0ZW1zLCB0aGlzLm9wZW4gLSAxKVxuICAgICAgaW5uZXIuYXBwZW5kQ2hpbGQodmlldy5yZW5kZXIoKSk7XG4gICAgfVxuXG4gICAgaWYgKHR5cGVvZiB0aGlzLnNjaGVtYS5wcm9wZXJ0aWVzID09PSAnb2JqZWN0Jykge1xuICAgICAgT2JqZWN0LmtleXModGhpcy5zY2hlbWEucHJvcGVydGllcykuZm9yRWFjaChwcm9wZXJ0eU5hbWUgPT4ge1xuICAgICAgICBjb25zdCBwcm9wZXJ0eSA9IHRoaXMuc2NoZW1hLnByb3BlcnRpZXNbcHJvcGVydHlOYW1lXTtcbiAgICAgICAgY29uc3QgdGVtcERpdiA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2RpdicpOztcbiAgICAgICAgdGVtcERpdi5pbm5lckhUTUwgPSBgPGRpdiBjbGFzcz1cInByb3BlcnR5XCI+XG4gICAgICAgICAgPHNwYW4gY2xhc3M9XCJuYW1lXCI+JHtwcm9wZXJ0eU5hbWV9Ojwvc3Bhbj5cbiAgICAgICAgPC9kaXY+YDtcbiAgICAgICAgY29uc3QgdmlldyA9IG5ldyBKU09OU2NoZW1hVmlldyhwcm9wZXJ0eSwgdGhpcy5vcGVuIC0gMSk7XG4gICAgICAgIHRlbXBEaXYucXVlcnlTZWxlY3RvcignLnByb3BlcnR5JykuYXBwZW5kQ2hpbGQodmlldy5yZW5kZXIoKSk7XG5cbiAgICAgICAgaW5uZXIuYXBwZW5kQ2hpbGQodGVtcERpdi5xdWVyeVNlbGVjdG9yKCcucHJvcGVydHknKSk7XG4gICAgICB9KTtcbiAgICB9XG5cbiAgICBpZiAodGhpcy5zY2hlbWEuYWxsT2YpIHsgYXBwZW5kWE9mLmNhbGwodGhpcywgJ2FsbE9mJyk7IH1cbiAgICBpZiAodGhpcy5zY2hlbWEub25lT2YpIHsgYXBwZW5kWE9mLmNhbGwodGhpcywgJ29uZU9mJyk7IH1cbiAgICBpZiAodGhpcy5zY2hlbWEuYW55T2YpIHsgYXBwZW5kWE9mLmNhbGwodGhpcywgJ2FueU9mJyk7IH1cblxuICAgIGZ1bmN0aW9uIGFwcGVuZFhPZih0eXBlKSB7XG4gICAgICBjb25zdCBpbm5lckFsbE9mID0gZWxlbWVudC5xdWVyeVNlbGVjdG9yKGAuaW5uZXIuJHt0eXBlfWApO1xuXG4gICAgICB0aGlzLnNjaGVtYVt0eXBlXS5mb3JFYWNoKHNjaGVtYSA9PiB7XG4gICAgICAgIGNvbnN0IGlubmVyID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnZGl2Jyk7XG4gICAgICAgIGlubmVyLmNsYXNzTGlzdC5hZGQoJ2lubmVyJyk7XG4gICAgICAgIGNvbnN0IHZpZXcgPSBuZXcgSlNPTlNjaGVtYVZpZXcoc2NoZW1hLCB0aGlzLm9wZW4gLSAxKTtcbiAgICAgICAgaW5uZXIuYXBwZW5kQ2hpbGQodmlldy5yZW5kZXIoKSk7XG4gICAgICAgIGlubmVyQWxsT2YuYXBwZW5kQ2hpbGQoaW5uZXIpO1xuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iXX0=
15377
15378</script>
15379
15380 <script>
15381(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.$RefParser = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
15382/** !
15383 * JSON Schema $Ref Parser v3.1.2
15384 *
15385 * @link https://github.com/BigstickCarpet/json-schema-ref-parser
15386 * @license MIT
15387 */
15388"use strict";function bundle(e,r){debug("Bundling $ref pointers in %s",e.$refs._root$Ref.path);var t=[];crawl(e,"schema",e.$refs._root$Ref.path+"#","#",t,e.$refs,r),remap(t)}function crawl(e,r,t,f,n,i,a){var o=null===r?e:e[r];if(o&&"object"==typeof o)if($Ref.is$Ref(o))inventory$Ref(e,r,t,f,n,i,a);else{var l=Object.keys(o),u=l.indexOf("definitions");u>0&&l.splice(0,0,l.splice(u,1)[0]),l.forEach(function(e){var r=Pointer.join(t,e),l=Pointer.join(f,e),u=o[e];$Ref.is$Ref(u)?inventory$Ref(o,e,t,l,n,i,a):crawl(o,e,r,l,n,i,a)})}}function inventory$Ref(e,r,t,f,n,i,a){if(!n.some(function(t){return t.parent===e&&t.key===r})){var o=null===r?e:e[r],l=url.resolve(t,o.$ref),u=i._resolve(l,a),h=Pointer.parse(f).length,s=url.stripHash(u.path),$=url.getHash(u.path),c=s!==i._root$Ref.path,p=$Ref.isExtended$Ref(o);n.push({$ref:o,parent:e,key:r,pathFromRoot:f,depth:h,file:s,hash:$,value:u.value,circular:u.circular,extended:p,external:c}),crawl(u.value,null,u.path,f,n,i,a)}}function remap(e){e.sort(function(e,r){return e.file!==r.file?e.file<r.file?-1:1:e.hash!==r.hash?e.hash<r.hash?-1:1:e.circular!==r.circular?e.circular?-1:1:e.extended!==r.extended?e.extended?1:-1:e.depth!==r.depth?e.depth-r.depth:r.pathFromRoot.lastIndexOf("/definitions")-e.pathFromRoot.lastIndexOf("/definitions")});var r,t,f;e.forEach(function(e){debug('Re-mapping $ref pointer "%s" at %s',e.$ref.$ref,e.pathFromRoot),e.external?e.file===r&&e.hash===t?e.$ref.$ref=f:e.file===r&&0===e.hash.indexOf(t+"/")?e.$ref.$ref=Pointer.join(f,Pointer.parse(e.hash)):(r=e.file,t=e.hash,f=e.pathFromRoot,e.$ref=e.parent[e.key]=$Ref.dereference(e.$ref,e.value),e.circular&&(e.$ref.$ref=e.pathFromRoot)):e.$ref.$ref=e.hash,debug(" new value: %s",e.$ref&&e.$ref.$ref?e.$ref.$ref:"[object Object]")})}var $Ref=require("./ref"),Pointer=require("./pointer"),debug=require("./util/debug"),url=require("./util/url");module.exports=bundle;
15389
15390},{"./pointer":10,"./ref":11,"./util/debug":16,"./util/url":19}],2:[function(require,module,exports){
15391"use strict";function dereference(e,r){debug("Dereferencing $ref pointers in %s",e.$refs._root$Ref.path);var c=crawl(e.schema,e.$refs._root$Ref.path,"#",[],e.$refs,r);e.$refs.circular=c.circular,e.schema=c.value}function crawl(e,r,c,u,f,i){var n,a={value:e,circular:!1};return e&&"object"==typeof e&&(u.push(e),$Ref.isAllowed$Ref(e,i)?(n=dereference$Ref(e,r,c,u,f,i),a.circular=n.circular,a.value=n.value):Object.keys(e).forEach(function(l){var o=Pointer.join(r,l),t=Pointer.join(c,l),d=e[l],$=!1;$Ref.isAllowed$Ref(d,i)?(n=dereference$Ref(d,o,t,u,f,i),$=n.circular,e[l]=n.value):-1===u.indexOf(d)?(n=crawl(d,o,t,u,f,i),$=n.circular,e[l]=n.value):$=foundCircularReference(o,f,i),a.circular=a.circular||$}),u.pop()),a}function dereference$Ref(e,r,c,u,f,i){debug('Dereferencing $ref pointer "%s" at %s',e.$ref,r);var n=url.resolve(r,e.$ref),a=f._resolve(n,i),l=a.circular,o=l||-1!==u.indexOf(a.value);o&&foundCircularReference(r,f,i);var t=$Ref.dereference(e,a.value);if(!o){var d=crawl(t,a.path,c,u,f,i);o=d.circular,t=d.value}return o&&!l&&"ignore"===i.dereference.circular&&(t=e),l&&(t.$ref=c),{circular:o,value:t}}function foundCircularReference(e,r,c){if(r.circular=!0,!c.dereference.circular)throw ono.reference("Circular $ref pointer found at %s",e);return!0}var $Ref=require("./ref"),Pointer=require("./pointer"),ono=require("ono"),debug=require("./util/debug"),url=require("./util/url");module.exports=dereference;
15392
15393},{"./pointer":10,"./ref":11,"./util/debug":16,"./util/url":19,"ono":69}],3:[function(require,module,exports){
15394(function (Buffer){
15395"use strict";function $RefParser(){this.schema=null,this.$refs=new $Refs}function normalizeArgs(e){var r,t,a,s;return e=Array.prototype.slice.call(e),"function"==typeof e[e.length-1]&&(s=e.pop()),"string"==typeof e[0]?(r=e[0],"object"==typeof e[2]?(t=e[1],a=e[2]):(t=void 0,a=e[1])):(r="",t=e[0],a=e[1]),a instanceof Options||(a=new Options(a)),{path:r,schema:t,options:a,callback:s}}var Promise=require("./util/promise"),Options=require("./options"),$Refs=require("./refs"),parse=require("./parse"),resolveExternal=require("./resolve-external"),bundle=require("./bundle"),dereference=require("./dereference"),url=require("./util/url"),maybe=require("call-me-maybe"),ono=require("ono");module.exports=$RefParser,module.exports.YAML=require("./util/yaml"),$RefParser.parse=function(e,r,t){var a=this,s=new a;return s.parse.apply(s,arguments)},$RefParser.prototype.parse=function(e,r,t){var a,s=normalizeArgs(arguments);if(!s.path&&!s.schema){var n=ono("Expected a file path, URL, or object. Got %s",s.path||s.schema);return maybe(s.callback,Promise.reject(n))}this.schema=null,this.$refs=new $Refs,url.isFileSystemPath(s.path)&&(s.path=url.fromFileSystemPath(s.path)),s.path=url.resolve(url.cwd(),s.path),s.schema&&"object"==typeof s.schema?(this.$refs._add(s.path,s.schema),a=Promise.resolve(s.schema)):a=parse(s.path,this.$refs,s.options);var o=this;return a.then(function(e){if(!e||"object"!=typeof e||Buffer.isBuffer(e))throw ono.syntax('"%s" is not a valid JSON Schema',o.$refs._root$Ref.path||e);return o.schema=e,maybe(s.callback,Promise.resolve(o.schema))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})},$RefParser.resolve=function(e,r,t){var a=this,s=new a;return s.resolve.apply(s,arguments)},$RefParser.prototype.resolve=function(e,r,t){var a=this,s=normalizeArgs(arguments);return this.parse(s.path,s.schema,s.options).then(function(){return resolveExternal(a,s.options)}).then(function(){return maybe(s.callback,Promise.resolve(a.$refs))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})},$RefParser.bundle=function(e,r,t){var a=this,s=new a;return s.bundle.apply(s,arguments)},$RefParser.prototype.bundle=function(e,r,t){var a=this,s=normalizeArgs(arguments);return this.resolve(s.path,s.schema,s.options).then(function(){return bundle(a,s.options),maybe(s.callback,Promise.resolve(a.schema))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})},$RefParser.dereference=function(e,r,t){var a=this,s=new a;return s.dereference.apply(s,arguments)},$RefParser.prototype.dereference=function(e,r,t){var a=this,s=normalizeArgs(arguments);return this.resolve(s.path,s.schema,s.options).then(function(){return dereference(a,s.options),maybe(s.callback,Promise.resolve(a.schema))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})};
15396
15397}).call(this,{"isBuffer":require("../node_modules/is-buffer/index.js")})
15398
15399},{"../node_modules/is-buffer/index.js":36,"./bundle":1,"./dereference":2,"./options":4,"./parse":5,"./refs":12,"./resolve-external":13,"./util/promise":18,"./util/url":19,"./util/yaml":20,"call-me-maybe":27,"ono":69}],4:[function(require,module,exports){
15400"use strict";function $RefParserOptions(e){merge(this,$RefParserOptions.defaults),merge(this,e)}function merge(e,r){if(isMergeable(r))for(var s=Object.keys(r),a=0;a<s.length;a++){var t=s[a],i=r[t],o=e[t];isMergeable(i)?e[t]=merge(o||{},i):void 0!==i&&(e[t]=i)}return e}function isMergeable(e){return e&&"object"==typeof e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}var jsonParser=require("./parsers/json"),yamlParser=require("./parsers/yaml"),textParser=require("./parsers/text"),binaryParser=require("./parsers/binary"),fileResolver=require("./resolvers/file"),httpResolver=require("./resolvers/http"),zschemaValidator=require("./validators/z-schema");module.exports=$RefParserOptions,$RefParserOptions.defaults={parse:{json:jsonParser,yaml:yamlParser,text:textParser,binary:binaryParser},resolve:{file:fileResolver,http:httpResolver,external:!0},dereference:{circular:!0},validate:{zschema:zschemaValidator}};
15401
15402},{"./parsers/binary":6,"./parsers/json":7,"./parsers/text":8,"./parsers/yaml":9,"./resolvers/file":14,"./resolvers/http":15,"./validators/z-schema":21}],5:[function(require,module,exports){
15403(function (Buffer){
15404"use strict";function parse(r,e,n){try{r=url.stripHash(r);var t=e._add(r),u={url:r,extension:url.getExtension(r)};return readFile(u,n).then(function(r){return t.pathType=r.plugin.name,u.data=r.result,parseFile(u,n)}).then(function(r){return t.value=r.result,r.result})}catch(i){return Promise.reject(i)}}function readFile(r,e){return new Promise(function(n,t){function u(e){t(!e||e instanceof SyntaxError?ono.syntax('Unable to resolve $ref pointer "%s"',r.url):e)}debug("Reading %s",r.url);var i=plugins.all(e.resolve);i=plugins.filter(i,"canRead",r),plugins.sort(i),plugins.run(i,"read",r).then(n,u)})}function parseFile(r,e){return new Promise(function(n,t){function u(e){!e.plugin.allowEmpty&&isEmpty(e.result)?t(ono.syntax('Error parsing "%s" as %s. \nParsed value is empty',r.url,e.plugin.name)):n(e)}function i(e){e?(e=e instanceof Error?e:new Error(e),t(ono.syntax(e,"Error parsing %s",r.url))):t(ono.syntax("Unable to parse %s",r.url))}debug("Parsing %s",r.url);var s=plugins.all(e.parse),l=plugins.filter(s,"canParse",r),o=l.length>0?l:s;plugins.sort(o),plugins.run(o,"parse",r).then(u,i)})}function isEmpty(r){return void 0===r||"object"==typeof r&&0===Object.keys(r).length||"string"==typeof r&&0===r.trim().length||Buffer.isBuffer(r)&&0===r.length}var ono=require("ono"),debug=require("./util/debug"),url=require("./util/url"),plugins=require("./util/plugins"),Promise=require("./util/promise");module.exports=parse;
15405
15406}).call(this,{"isBuffer":require("../node_modules/is-buffer/index.js")})
15407
15408},{"../node_modules/is-buffer/index.js":36,"./util/debug":16,"./util/plugins":17,"./util/promise":18,"./util/url":19,"ono":69}],6:[function(require,module,exports){
15409(function (Buffer){
15410"use strict";var BINARY_REGEXP=/\.(jpeg|jpg|gif|png|bmp|ico)$/i;module.exports={order:400,allowEmpty:!0,canParse:function(r){return Buffer.isBuffer(r.data)&&BINARY_REGEXP.test(r.url)},parse:function(r){return Buffer.isBuffer(r.data)?r.data:new Buffer(r.data)}};
15411
15412}).call(this,require("buffer").Buffer)
15413
15414},{"buffer":25}],7:[function(require,module,exports){
15415(function (Buffer){
15416"use strict";var Promise=require("../util/promise");module.exports={order:100,allowEmpty:!0,canParse:".json",parse:function(r){return new Promise(function(e,t){var i=r.data;Buffer.isBuffer(i)&&(i=i.toString()),e("string"==typeof i?0===i.trim().length?void 0:JSON.parse(i):i)})}};
15417
15418}).call(this,{"isBuffer":require("../../node_modules/is-buffer/index.js")})
15419
15420},{"../../node_modules/is-buffer/index.js":36,"../util/promise":18}],8:[function(require,module,exports){
15421(function (Buffer){
15422"use strict";var TEXT_REGEXP=/\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;module.exports={order:300,allowEmpty:!0,encoding:"utf8",canParse:function(t){return("string"==typeof t.data||Buffer.isBuffer(t.data))&&TEXT_REGEXP.test(t.url)},parse:function(t){if("string"==typeof t.data)return t.data;if(Buffer.isBuffer(t.data))return t.data.toString(this.encoding);throw new Error("data is not text")}};
15423
15424}).call(this,{"isBuffer":require("../../node_modules/is-buffer/index.js")})
15425
15426},{"../../node_modules/is-buffer/index.js":36}],9:[function(require,module,exports){
15427(function (Buffer){
15428"use strict";var Promise=require("../util/promise"),YAML=require("../util/yaml");module.exports={order:200,allowEmpty:!0,canParse:[".yaml",".yml",".json"],parse:function(r){return new Promise(function(e,t){var i=r.data;Buffer.isBuffer(i)&&(i=i.toString()),e("string"==typeof i?YAML.parse(i):i)})}};
15429
15430}).call(this,{"isBuffer":require("../../node_modules/is-buffer/index.js")})
15431
15432},{"../../node_modules/is-buffer/index.js":36,"../util/promise":18,"../util/yaml":20}],10:[function(require,module,exports){
15433"use strict";function Pointer(e,r){this.$ref=e,this.path=r,this.value=void 0,this.circular=!1}function resolveIf$Ref(e,r){if($Ref.isAllowed$Ref(e.value,r)){var t=url.resolve(e.path,e.value.$ref);if(t!==e.path){var s=e.$ref.$refs._resolve(t,r);return $Ref.isExtended$Ref(e.value)?e.value=$Ref.dereference(e.value,s.value):(e.$ref=s.$ref,e.path=s.path,e.value=s.value),!0}e.circular=!0}}function setValue(e,r,t){if(!e.value||"object"!=typeof e.value)throw ono.syntax('Error assigning $ref pointer "%s". \nCannot set "%s" of a non-object.',e.path,r);return"-"===r&&Array.isArray(e.value)?e.value.push(t):e.value[r]=t,t}module.exports=Pointer;var $Ref=require("./ref"),url=require("./util/url"),ono=require("ono"),slashes=/\//g,tildes=/~/g,escapedSlash=/~1/g,escapedTilde=/~0/g;Pointer.prototype.resolve=function(e,r){var t=Pointer.parse(this.path);this.value=e;for(var s=0;s<t.length;s++){resolveIf$Ref(this,r)&&(this.path=Pointer.join(this.path,t.slice(s)));var i=t[s];if(void 0===this.value[i])throw ono.syntax('Error resolving $ref pointer "%s". \nToken "%s" does not exist.',this.path,i);this.value=this.value[i]}return resolveIf$Ref(this,r),this},Pointer.prototype.set=function(e,r,t){var s,i=Pointer.parse(this.path);if(0===i.length)return this.value=r,r;this.value=e;for(var a=0;a<i.length-1;a++)resolveIf$Ref(this,t),s=i[a],this.value&&void 0!==this.value[s]?this.value=this.value[s]:this.value=setValue(this,s,{});return resolveIf$Ref(this,t),s=i[i.length-1],setValue(this,s,r),e},Pointer.parse=function(e){var r=url.getHash(e).substr(1);if(!r)return[];r=r.split("/");for(var t=0;t<r.length;t++)r[t]=decodeURI(r[t].replace(escapedSlash,"/").replace(escapedTilde,"~"));if(""!==r[0])throw ono.syntax('Invalid $ref pointer "%s". Pointers must begin with "#/"',r);return r.slice(1)},Pointer.join=function(e,r){-1===e.indexOf("#")&&(e+="#"),r=Array.isArray(r)?r:[r];for(var t=0;t<r.length;t++){var s=r[t];e+="/"+encodeURI(s.replace(tildes,"~0").replace(slashes,"~1"))}return e};
15434
15435},{"./ref":11,"./util/url":19,"ono":69}],11:[function(require,module,exports){
15436"use strict";function $Ref(){this.path=void 0,this.value=void 0,this.$refs=void 0,this.pathType=void 0}module.exports=$Ref;var Pointer=require("./pointer");$Ref.prototype.exists=function(e,t){try{return this.resolve(e,t),!0}catch(r){return!1}},$Ref.prototype.get=function(e,t){return this.resolve(e,t).value},$Ref.prototype.resolve=function(e,t){var r=new Pointer(this,e);return r.resolve(this.value,t)},$Ref.prototype.set=function(e,t){var r=new Pointer(this,e);this.value=r.set(this.value,t)},$Ref.is$Ref=function(e){return e&&"object"==typeof e&&"string"==typeof e.$ref&&e.$ref.length>0},$Ref.isExternal$Ref=function(e){return $Ref.is$Ref(e)&&"#"!==e.$ref[0]},$Ref.isAllowed$Ref=function(e,t){return!$Ref.is$Ref(e)||"#"!==e.$ref[0]&&t&&!t.resolve.external?void 0:!0},$Ref.isExtended$Ref=function(e){return $Ref.is$Ref(e)&&Object.keys(e).length>1},$Ref.dereference=function(e,t){if(t&&"object"==typeof t&&$Ref.isExtended$Ref(e)){var r={};return Object.keys(e).forEach(function(t){"$ref"!==t&&(r[t]=e[t])}),Object.keys(t).forEach(function(e){e in r||(r[e]=t[e])}),r}return t};
15437
15438},{"./pointer":10}],12:[function(require,module,exports){
15439"use strict";function $Refs(){this.circular=!1,this._$refs={},this._root$Ref=null}function getPaths(e,r){var t=Object.keys(e);return r=Array.isArray(r[0])?r[0]:Array.prototype.slice.call(r),r.length>0&&r[0]&&(t=t.filter(function(t){return-1!==r.indexOf(e[t].pathType)})),t.map(function(r){return{encoded:r,decoded:"file"===e[r].pathType?url.toFileSystemPath(r,!0):r}})}var ono=require("ono"),$Ref=require("./ref"),url=require("./util/url");module.exports=$Refs,$Refs.prototype.paths=function(e){var r=getPaths(this._$refs,arguments);return r.map(function(e){return e.decoded})},$Refs.prototype.values=function(e){var r=this._$refs,t=getPaths(r,arguments);return t.reduce(function(e,t){return e[t.decoded]=r[t.encoded].value,e},{})},$Refs.prototype.toJSON=$Refs.prototype.values,$Refs.prototype.exists=function(e,r){try{return this._resolve(e,r),!0}catch(t){return!1}},$Refs.prototype.get=function(e,r){return this._resolve(e,r).value},$Refs.prototype.set=function(e,r){e=url.resolve(this._root$Ref.path,e);var t=url.stripHash(e),o=this._$refs[t];if(!o)throw ono('Error resolving $ref pointer "%s". \n"%s" not found.',e,t);o.set(e,r)},$Refs.prototype._add=function(e,r){var t=url.stripHash(e),o=new $Ref;return o.path=t,o.value=r,o.$refs=this,this._$refs[t]=o,this._root$Ref=this._root$Ref||o,o},$Refs.prototype._resolve=function(e,r){e=url.resolve(this._root$Ref.path,e);var t=url.stripHash(e),o=this._$refs[t];if(!o)throw ono('Error resolving $ref pointer "%s". \n"%s" not found.',e,t);return o.resolve(e,r)},$Refs.prototype._get$Ref=function(e){e=url.resolve(this._root$Ref.path,e);var r=url.stripHash(e);return this._$refs[r]};
15440
15441},{"./ref":11,"./util/url":19,"ono":69}],13:[function(require,module,exports){
15442"use strict";function resolveExternal(e,r){if(!r.resolve.external)return Promise.resolve();try{debug("Resolving $ref pointers in %s",e.$refs._root$Ref.path);var s=crawl(e.schema,e.$refs._root$Ref.path+"#",e.$refs,r);return Promise.all(s)}catch(t){return Promise.reject(t)}}function crawl(e,r,s,t){var o=[];return e&&"object"==typeof e&&($Ref.isExternal$Ref(e)?o.push(resolve$Ref(e,r,s,t)):Object.keys(e).forEach(function(i){var n=Pointer.join(r,i),l=e[i];$Ref.isExternal$Ref(l)?o.push(resolve$Ref(l,n,s,t)):o=o.concat(crawl(l,n,s,t))})),o}function resolve$Ref(e,r,s,t){debug('Resolving $ref pointer "%s" at %s',e.$ref,r);var o=url.resolve(r,e.$ref),i=url.stripHash(o);return e=s._$refs[i],e?Promise.resolve(e.value):parse(o,s,t).then(function(e){debug("Resolving $ref pointers in %s",i);var r=crawl(e,i+"#",s,t);return Promise.all(r)})}var Promise=require("./util/promise"),$Ref=require("./ref"),Pointer=require("./pointer"),parse=require("./parse"),debug=require("./util/debug"),url=require("./util/url");module.exports=resolveExternal;
15443
15444},{"./parse":5,"./pointer":10,"./ref":11,"./util/debug":16,"./util/promise":18,"./util/url":19}],14:[function(require,module,exports){
15445"use strict";var fs=require("fs"),ono=require("ono"),Promise=require("../util/promise"),url=require("../util/url"),debug=require("../util/debug");module.exports={order:100,canRead:function(r){return url.isFileSystemPath(r.url)},read:function(r){return new Promise(function(e,i){var u;try{u=url.toFileSystemPath(r.url)}catch(o){i(ono.uri(o,"Malformed URI: %s",r.url))}debug("Opening file: %s",u);try{fs.readFile(u,function(r,o){r?i(ono(r,'Error opening file "%s"',u)):e(o)})}catch(o){i(ono(o,'Error opening file "%s"',u))}})}};
15446
15447},{"../util/debug":16,"../util/promise":18,"../util/url":19,"fs":24,"ono":69}],15:[function(require,module,exports){
15448(function (process,Buffer){
15449"use strict";function download(e,t,o){return new Promise(function(r,n){e=url.parse(e),o=o||[],o.push(e.href),get(e,t).then(function(s){if(s.statusCode>=400)throw ono({status:s.statusCode},"HTTP ERROR %d",s.statusCode);if(s.statusCode>=300)if(o.length>t.redirects)n(ono({status:s.statusCode},"Error downloading %s. \nToo many redirects: \n %s",o[0],o.join(" \n ")));else{if(!s.headers.location)throw ono({status:s.statusCode},"HTTP %d redirect with no location header",s.statusCode);debug("HTTP %d redirect %s -> %s",s.statusCode,e.href,s.headers.location);var u=url.resolve(e,s.headers.location);download(u,t,o).then(r,n)}else r(s.body||new Buffer(0))})["catch"](function(t){n(ono(t,"Error downloading",e.href))})})}function get(e,t){return new Promise(function(o,r){debug("GET",e.href);var n="https:"===e.protocol?https:http,s=n.get({hostname:e.hostname,port:e.port,path:e.path,auth:e.auth,headers:t.headers||{},withCredentials:t.withCredentials});"function"==typeof s.setTimeout&&s.setTimeout(t.timeout),s.on("timeout",function(){s.abort()}),s.on("error",r),s.once("response",function(e){e.body=new Buffer(0),e.on("data",function(t){e.body=Buffer.concat([e.body,new Buffer(t)])}),e.on("error",r),e.on("end",function(){o(e)})})})}var http=require("http"),https=require("https"),ono=require("ono"),url=require("../util/url"),debug=require("../util/debug"),Promise=require("../util/promise");module.exports={order:200,headers:null,timeout:5e3,redirects:5,withCredentials:!1,canRead:function(e){return url.isHttp(e.url)},read:function(e){var t=url.parse(e.url);return process.browser&&!t.protocol&&(t.protocol=url.parse(location.href).protocol),download(t,this)}};
15450
15451}).call(this,require('_process'),require("buffer").Buffer)
15452
15453},{"../util/debug":16,"../util/promise":18,"../util/url":19,"_process":71,"buffer":25,"http":87,"https":33,"ono":69}],16:[function(require,module,exports){
15454"use strict";var debug=require("debug");module.exports=debug("json-schema-ref-parser");
15455
15456},{"debug":29}],17:[function(require,module,exports){
15457"use strict";function getResult(e,r,t,n){var u=e[r];if("function"==typeof u)return u.apply(e,[t,n]);if(!n){if(u instanceof RegExp)return u.test(t.url);if("string"==typeof u)return u===t.extension;if(Array.isArray(u))return-1!==u.indexOf(t.extension)}return u}var Promise=require("./promise"),debug=require("./debug");exports.all=function(e){return Object.keys(e).filter(function(r){return"object"==typeof e[r]}).map(function(r){return e[r].name=r,e[r]})},exports.filter=function(e,r,t){return e.filter(function(e){return!!getResult(e,r,t)})},exports.sort=function(e){return e.forEach(function(e){e.order=e.order||Number.MAX_SAFE_INTEGER}),e.sort(function(e,r){return e.order-r.order})},exports.run=function(e,r,t){var n,u,i=0;return new Promise(function(o,f){function s(){if(n=e[i++],!n)return f(u);try{debug(" %s",n.name);var o=getResult(n,r,t,c);o&&"function"==typeof o.then?o.then(a,p):void 0!==o&&a(o)}catch(s){p(s)}}function c(e,r){e?p(e):a(r)}function a(e){debug(" success"),o({plugin:n,result:e})}function p(e){debug(" %s",e.message||e),u=e,s()}s()})};
15458
15459},{"./debug":16,"./promise":18}],18:[function(require,module,exports){
15460"use strict";module.exports="function"==typeof Promise?Promise:require("es6-promise").Promise;
15461
15462},{"es6-promise":31}],19:[function(require,module,exports){
15463(function (process){
15464"use strict";var isWindows=/^win/.test(process.platform),forwardSlashPattern=/\//g,protocolPattern=/^([a-z0-9.+-]+):\/\//i,url=module.exports,urlEncodePatterns=[/\?/g,"%3F",/\#/g,"%23",isWindows?/\\/g:/\//,"/"],urlDecodePatterns=[/\%23/g,"#",/\%24/g,"$",/\%26/g,"&",/\%2C/g,",",/\%40/g,"@"];exports.parse=require("url").parse,exports.resolve=require("url").resolve,exports.cwd=function(){return process.browser?location.href:process.cwd()+"/"},exports.getProtocol=function(r){var e=protocolPattern.exec(r);return e?e[1].toLowerCase():void 0},exports.getExtension=function(r){var e=r.lastIndexOf(".");return e>=0?r.substr(e).toLowerCase():""},exports.getHash=function(r){var e=r.indexOf("#");return e>=0?r.substr(e):"#"},exports.stripHash=function(r){var e=r.indexOf("#");return e>=0&&(r=r.substr(0,e)),r},exports.isHttp=function(r){var e=url.getProtocol(r);return"http"===e||"https"===e?!0:void 0===e?process.browser:!1},exports.isFileSystemPath=function(r){if(process.browser)return!1;var e=url.getProtocol(r);return void 0===e||"file"===e},exports.fromFileSystemPath=function(r){for(var e=0;e<urlEncodePatterns.length;e+=2)r=r.replace(urlEncodePatterns[e],urlEncodePatterns[e+1]);return encodeURI(r)},exports.toFileSystemPath=function(r,e){r=decodeURI(r);for(var t=0;t<urlDecodePatterns.length;t+=2)r=r.replace(urlDecodePatterns[t],urlDecodePatterns[t+1]);var o="file://"===r.substr(0,7).toLowerCase();return o&&(r="/"===r[7]?r.substr(8):r.substr(7),isWindows&&"/"===r[1]&&(r=r[0]+":"+r.substr(1)),e?r="file:///"+r:(o=!1,r=isWindows?r:"/"+r)),isWindows&&!o&&(r=r.replace(forwardSlashPattern,"\\")),r};
15465
15466}).call(this,require('_process'))
15467
15468},{"_process":71,"url":93}],20:[function(require,module,exports){
15469"use strict";var yaml=require("js-yaml"),ono=require("ono");module.exports={parse:function(r,e){try{return yaml.safeLoad(r)}catch(o){throw o instanceof Error?o:ono(o,o.message)}},stringify:function(r,e,o){try{var t=("string"==typeof o?o.length:o)||2;return yaml.safeDump(r,{indent:t})}catch(n){throw n instanceof Error?n:ono(n,n.message)}}};
15470
15471},{"js-yaml":38,"ono":69}],21:[function(require,module,exports){
15472"use strict";module.exports={order:100,canValidate:function(e){return!!e.resolved},validate:function(e){}};
15473
15474},{}],22:[function(require,module,exports){
15475var lookup="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(t){"use strict";function r(t){var r=t.charCodeAt(0);return r===h||r===u?62:r===c||r===f?63:o>r?-1:o+10>r?r-o+26+26:i+26>r?r-i:A+26>r?r-A+26:void 0}function e(t){function e(t){i[f++]=t}var n,h,c,o,A,i;if(t.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=t.length;A="="===t.charAt(u-2)?2:"="===t.charAt(u-1)?1:0,i=new a(3*t.length/4-A),c=A>0?t.length-4:t.length;var f=0;for(n=0,h=0;c>n;n+=4,h+=3)o=r(t.charAt(n))<<18|r(t.charAt(n+1))<<12|r(t.charAt(n+2))<<6|r(t.charAt(n+3)),e((16711680&o)>>16),e((65280&o)>>8),e(255&o);return 2===A?(o=r(t.charAt(n))<<2|r(t.charAt(n+1))>>4,e(255&o)):1===A&&(o=r(t.charAt(n))<<10|r(t.charAt(n+1))<<4|r(t.charAt(n+2))>>2,e(o>>8&255),e(255&o)),i}function n(t){function r(t){return lookup.charAt(t)}function e(t){return r(t>>18&63)+r(t>>12&63)+r(t>>6&63)+r(63&t)}var n,a,h,c=t.length%3,o="";for(n=0,h=t.length-c;h>n;n+=3)a=(t[n]<<16)+(t[n+1]<<8)+t[n+2],o+=e(a);switch(c){case 1:a=t[t.length-1],o+=r(a>>2),o+=r(a<<4&63),o+="==";break;case 2:a=(t[t.length-2]<<8)+t[t.length-1],o+=r(a>>10),o+=r(a>>4&63),o+=r(a<<2&63),o+="="}return o}var a="undefined"!=typeof Uint8Array?Uint8Array:Array,h="+".charCodeAt(0),c="/".charCodeAt(0),o="0".charCodeAt(0),A="a".charCodeAt(0),i="A".charCodeAt(0),u="-".charCodeAt(0),f="_".charCodeAt(0);t.toByteArray=e,t.fromByteArray=n}("undefined"==typeof exports?this.base64js={}:exports);
15476
15477},{}],23:[function(require,module,exports){
15478
15479},{}],24:[function(require,module,exports){
15480
15481},{}],25:[function(require,module,exports){
15482(function (global){
15483/*!
15484 * The buffer module from node.js, for the browser.
15485 *
15486 * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
15487 * @license MIT
15488 */
15489"use strict";function typedArraySupport(){function t(){}try{var e=new Uint8Array(1);return e.foo=function(){return 42},e.constructor=t,42===e.foo()&&e.constructor===t&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(r){return!1}}function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Buffer(t){return this instanceof Buffer?(Buffer.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof t?fromNumber(this,t):"string"==typeof t?fromString(this,t,arguments.length>1?arguments[1]:"utf8"):fromObject(this,t)):arguments.length>1?new Buffer(t,arguments[1]):new Buffer(t)}function fromNumber(t,e){if(t=allocate(t,0>e?0:0|checked(e)),!Buffer.TYPED_ARRAY_SUPPORT)for(var r=0;e>r;r++)t[r]=0;return t}function fromString(t,e,r){"string"==typeof r&&""!==r||(r="utf8");var n=0|byteLength(e,r);return t=allocate(t,n),t.write(e,r),t}function fromObject(t,e){if(Buffer.isBuffer(e))return fromBuffer(t,e);if(isArray(e))return fromArray(t,e);if(null==e)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(e.buffer instanceof ArrayBuffer)return fromTypedArray(t,e);if(e instanceof ArrayBuffer)return fromArrayBuffer(t,e)}return e.length?fromArrayLike(t,e):fromJsonObject(t,e)}function fromBuffer(t,e){var r=0|checked(e.length);return t=allocate(t,r),e.copy(t,0,0,r),t}function fromArray(t,e){var r=0|checked(e.length);t=allocate(t,r);for(var n=0;r>n;n+=1)t[n]=255&e[n];return t}function fromTypedArray(t,e){var r=0|checked(e.length);t=allocate(t,r);for(var n=0;r>n;n+=1)t[n]=255&e[n];return t}function fromArrayBuffer(t,e){return Buffer.TYPED_ARRAY_SUPPORT?(e.byteLength,t=Buffer._augment(new Uint8Array(e))):t=fromTypedArray(t,new Uint8Array(e)),t}function fromArrayLike(t,e){var r=0|checked(e.length);t=allocate(t,r);for(var n=0;r>n;n+=1)t[n]=255&e[n];return t}function fromJsonObject(t,e){var r,n=0;"Buffer"===e.type&&isArray(e.data)&&(r=e.data,n=0|checked(r.length)),t=allocate(t,n);for(var f=0;n>f;f+=1)t[f]=255&r[f];return t}function allocate(t,e){Buffer.TYPED_ARRAY_SUPPORT?(t=Buffer._augment(new Uint8Array(e)),t.__proto__=Buffer.prototype):(t.length=e,t._isBuffer=!0);var r=0!==e&&e<=Buffer.poolSize>>>1;return r&&(t.parent=rootParent),t}function checked(t){if(t>=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|t}function SlowBuffer(t,e){if(!(this instanceof SlowBuffer))return new SlowBuffer(t,e);var r=new Buffer(t,e);return delete r.parent,r}function byteLength(t,e){"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"binary":case"raw":case"raws":return r;case"utf8":case"utf-8":return utf8ToBytes(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return base64ToBytes(t).length;default:if(n)return utf8ToBytes(t).length;e=(""+e).toLowerCase(),n=!0}}function slowToString(t,e,r){var n=!1;if(e=0|e,r=void 0===r||r===1/0?this.length:0|r,t||(t="utf8"),0>e&&(e=0),r>this.length&&(r=this.length),e>=r)return"";for(;;)switch(t){case"hex":return hexSlice(this,e,r);case"utf8":case"utf-8":return utf8Slice(this,e,r);case"ascii":return asciiSlice(this,e,r);case"binary":return binarySlice(this,e,r);case"base64":return base64Slice(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function hexWrite(t,e,r,n){r=Number(r)||0;var f=t.length-r;n?(n=Number(n),n>f&&(n=f)):n=f;var i=e.length;if(i%2!==0)throw new Error("Invalid hex string");n>i/2&&(n=i/2);for(var o=0;n>o;o++){var u=parseInt(e.substr(2*o,2),16);if(isNaN(u))throw new Error("Invalid hex string");t[r+o]=u}return o}function utf8Write(t,e,r,n){return blitBuffer(utf8ToBytes(e,t.length-r),t,r,n)}function asciiWrite(t,e,r,n){return blitBuffer(asciiToBytes(e),t,r,n)}function binaryWrite(t,e,r,n){return asciiWrite(t,e,r,n)}function base64Write(t,e,r,n){return blitBuffer(base64ToBytes(e),t,r,n)}function ucs2Write(t,e,r,n){return blitBuffer(utf16leToBytes(e,t.length-r),t,r,n)}function base64Slice(t,e,r){return 0===e&&r===t.length?base64.fromByteArray(t):base64.fromByteArray(t.slice(e,r))}function utf8Slice(t,e,r){r=Math.min(t.length,r);for(var n=[],f=e;r>f;){var i=t[f],o=null,u=i>239?4:i>223?3:i>191?2:1;if(r>=f+u){var s,a,h,c;switch(u){case 1:128>i&&(o=i);break;case 2:s=t[f+1],128===(192&s)&&(c=(31&i)<<6|63&s,c>127&&(o=c));break;case 3:s=t[f+1],a=t[f+2],128===(192&s)&&128===(192&a)&&(c=(15&i)<<12|(63&s)<<6|63&a,c>2047&&(55296>c||c>57343)&&(o=c));break;case 4:s=t[f+1],a=t[f+2],h=t[f+3],128===(192&s)&&128===(192&a)&&128===(192&h)&&(c=(15&i)<<18|(63&s)<<12|(63&a)<<6|63&h,c>65535&&1114112>c&&(o=c))}}null===o?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),f+=u}return decodeCodePointsArray(n)}function decodeCodePointsArray(t){var e=t.length;if(MAX_ARGUMENTS_LENGTH>=e)return String.fromCharCode.apply(String,t);for(var r="",n=0;e>n;)r+=String.fromCharCode.apply(String,t.slice(n,n+=MAX_ARGUMENTS_LENGTH));return r}function asciiSlice(t,e,r){var n="";r=Math.min(t.length,r);for(var f=e;r>f;f++)n+=String.fromCharCode(127&t[f]);return n}function binarySlice(t,e,r){var n="";r=Math.min(t.length,r);for(var f=e;r>f;f++)n+=String.fromCharCode(t[f]);return n}function hexSlice(t,e,r){var n=t.length;(!e||0>e)&&(e=0),(!r||0>r||r>n)&&(r=n);for(var f="",i=e;r>i;i++)f+=toHex(t[i]);return f}function utf16leSlice(t,e,r){for(var n=t.slice(e,r),f="",i=0;i<n.length;i+=2)f+=String.fromCharCode(n[i]+256*n[i+1]);return f}function checkOffset(t,e,r){if(t%1!==0||0>t)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function checkInt(t,e,r,n,f,i){if(!Buffer.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");if(e>f||i>e)throw new RangeError("value is out of bounds");if(r+n>t.length)throw new RangeError("index out of range")}function objectWriteUInt16(t,e,r,n){0>e&&(e=65535+e+1);for(var f=0,i=Math.min(t.length-r,2);i>f;f++)t[r+f]=(e&255<<8*(n?f:1-f))>>>8*(n?f:1-f)}function objectWriteUInt32(t,e,r,n){0>e&&(e=4294967295+e+1);for(var f=0,i=Math.min(t.length-r,4);i>f;f++)t[r+f]=e>>>8*(n?f:3-f)&255}function checkIEEE754(t,e,r,n,f,i){if(e>f||i>e)throw new RangeError("value is out of bounds");if(r+n>t.length)throw new RangeError("index out of range");if(0>r)throw new RangeError("index out of range")}function writeFloat(t,e,r,n,f){return f||checkIEEE754(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),ieee754.write(t,e,r,n,23,4),r+4}function writeDouble(t,e,r,n,f){return f||checkIEEE754(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),ieee754.write(t,e,r,n,52,8),r+8}function base64clean(t){if(t=stringtrim(t).replace(INVALID_BASE64_RE,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function stringtrim(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function toHex(t){return 16>t?"0"+t.toString(16):t.toString(16)}function utf8ToBytes(t,e){e=e||1/0;for(var r,n=t.length,f=null,i=[],o=0;n>o;o++){if(r=t.charCodeAt(o),r>55295&&57344>r){if(!f){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&i.push(239,191,189);continue}f=r;continue}if(56320>r){(e-=3)>-1&&i.push(239,191,189),f=r;continue}r=(f-55296<<10|r-56320)+65536}else f&&(e-=3)>-1&&i.push(239,191,189);if(f=null,128>r){if((e-=1)<0)break;i.push(r)}else if(2048>r){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(65536>r){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(1114112>r))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function asciiToBytes(t){for(var e=[],r=0;r<t.length;r++)e.push(255&t.charCodeAt(r));return e}function utf16leToBytes(t,e){for(var r,n,f,i=[],o=0;o<t.length&&!((e-=2)<0);o++)r=t.charCodeAt(o),n=r>>8,f=r%256,i.push(f),i.push(n);return i}function base64ToBytes(t){return base64.toByteArray(base64clean(t))}function blitBuffer(t,e,r,n){for(var f=0;n>f&&!(f+r>=e.length||f>=t.length);f++)e[f+r]=t[f];return f}var base64=require("base64-js"),ieee754=require("ieee754"),isArray=require("isarray");exports.Buffer=Buffer,exports.SlowBuffer=SlowBuffer,exports.INSPECT_MAX_BYTES=50,Buffer.poolSize=8192;var rootParent={};Buffer.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:typedArraySupport(),Buffer.TYPED_ARRAY_SUPPORT?(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array):(Buffer.prototype.length=void 0,Buffer.prototype.parent=void 0),Buffer.isBuffer=function(t){return!(null==t||!t._isBuffer)},Buffer.compare=function(t,e){if(!Buffer.isBuffer(t)||!Buffer.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,f=0,i=Math.min(r,n);i>f&&t[f]===e[f];)++f;return f!==i&&(r=t[f],n=e[f]),n>r?-1:r>n?1:0},Buffer.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function(t,e){if(!isArray(t))throw new TypeError("list argument must be an Array of Buffers.");if(0===t.length)return new Buffer(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;r++)e+=t[r].length;var n=new Buffer(e),f=0;for(r=0;r<t.length;r++){var i=t[r];i.copy(n,f),f+=i.length}return n},Buffer.byteLength=byteLength,Buffer.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?utf8Slice(this,0,t):slowToString.apply(this,arguments)},Buffer.prototype.equals=function(t){if(!Buffer.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:0===Buffer.compare(this,t)},Buffer.prototype.inspect=function(){var t="",e=exports.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},Buffer.prototype.compare=function(t){if(!Buffer.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?0:Buffer.compare(this,t)},Buffer.prototype.indexOf=function(t,e){function r(t,e,r){for(var n=-1,f=0;r+f<t.length;f++)if(t[r+f]===e[-1===n?0:f-n]){if(-1===n&&(n=f),f-n+1===e.length)return r+n}else n=-1;return-1}if(e>2147483647?e=2147483647:-2147483648>e&&(e=-2147483648),e>>=0,0===this.length)return-1;if(e>=this.length)return-1;if(0>e&&(e=Math.max(this.length+e,0)),"string"==typeof t)return 0===t.length?-1:String.prototype.indexOf.call(this,t,e);if(Buffer.isBuffer(t))return r(this,t,e);if("number"==typeof t)return Buffer.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,e):r(this,[t],e);throw new TypeError("val must be string, number or Buffer")},Buffer.prototype.get=function(t){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(t)},Buffer.prototype.set=function(t,e){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(t,e)},Buffer.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e=0|e,isFinite(r)?(r=0|r,void 0===n&&(n="utf8")):(n=r,r=void 0);else{var f=n;n=e,e=0|r,r=f}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(0>r||0>e)||e>this.length)throw new RangeError("attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return hexWrite(this,t,e,r);case"utf8":case"utf-8":return utf8Write(this,t,e,r);case"ascii":return asciiWrite(this,t,e,r);case"binary":return binaryWrite(this,t,e,r);case"base64":return base64Write(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var MAX_ARGUMENTS_LENGTH=4096;Buffer.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>e?(e+=r,0>e&&(e=0)):e>r&&(e=r),t>e&&(e=t);var n;if(Buffer.TYPED_ARRAY_SUPPORT)n=Buffer._augment(this.subarray(t,e));else{var f=e-t;n=new Buffer(f,void 0);for(var i=0;f>i;i++)n[i]=this[i+t]}return n.length&&(n.parent=this.parent||this),n},Buffer.prototype.readUIntLE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=this[t],f=1,i=0;++i<e&&(f*=256);)n+=this[t+i]*f;return n},Buffer.prototype.readUIntBE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=this[t+--e],f=1;e>0&&(f*=256);)n+=this[t+--e]*f;return n},Buffer.prototype.readUInt8=function(t,e){return e||checkOffset(t,1,this.length),this[t]},Buffer.prototype.readUInt16LE=function(t,e){return e||checkOffset(t,2,this.length),this[t]|this[t+1]<<8},Buffer.prototype.readUInt16BE=function(t,e){return e||checkOffset(t,2,this.length),this[t]<<8|this[t+1]},Buffer.prototype.readUInt32LE=function(t,e){return e||checkOffset(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Buffer.prototype.readUInt32BE=function(t,e){return e||checkOffset(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Buffer.prototype.readIntLE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=this[t],f=1,i=0;++i<e&&(f*=256);)n+=this[t+i]*f;return f*=128,n>=f&&(n-=Math.pow(2,8*e)),n},Buffer.prototype.readIntBE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=e,f=1,i=this[t+--n];n>0&&(f*=256);)i+=this[t+--n]*f;return f*=128,i>=f&&(i-=Math.pow(2,8*e)),i},Buffer.prototype.readInt8=function(t,e){return e||checkOffset(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Buffer.prototype.readInt16LE=function(t,e){e||checkOffset(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt16BE=function(t,e){e||checkOffset(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt32LE=function(t,e){return e||checkOffset(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Buffer.prototype.readInt32BE=function(t,e){return e||checkOffset(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Buffer.prototype.readFloatLE=function(t,e){return e||checkOffset(t,4,this.length),ieee754.read(this,t,!0,23,4)},Buffer.prototype.readFloatBE=function(t,e){return e||checkOffset(t,4,this.length),ieee754.read(this,t,!1,23,4)},Buffer.prototype.readDoubleLE=function(t,e){return e||checkOffset(t,8,this.length),ieee754.read(this,t,!0,52,8)},Buffer.prototype.readDoubleBE=function(t,e){return e||checkOffset(t,8,this.length),ieee754.read(this,t,!1,52,8)},Buffer.prototype.writeUIntLE=function(t,e,r,n){t=+t,e=0|e,r=0|r,n||checkInt(this,t,e,r,Math.pow(2,8*r),0);var f=1,i=0;for(this[e]=255&t;++i<r&&(f*=256);)this[e+i]=t/f&255;return e+r},Buffer.prototype.writeUIntBE=function(t,e,r,n){t=+t,e=0|e,r=0|r,n||checkInt(this,t,e,r,Math.pow(2,8*r),0);var f=r-1,i=1;for(this[e+f]=255&t;--f>=0&&(i*=256);)this[e+f]=t/i&255;return e+r},Buffer.prototype.writeUInt8=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Buffer.prototype.writeUInt16LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):objectWriteUInt16(this,t,e,!0),e+2},Buffer.prototype.writeUInt16BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):objectWriteUInt16(this,t,e,!1),e+2},Buffer.prototype.writeUInt32LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):objectWriteUInt32(this,t,e,!0),e+4},Buffer.prototype.writeUInt32BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):objectWriteUInt32(this,t,e,!1),e+4},Buffer.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e=0|e,!n){var f=Math.pow(2,8*r-1);checkInt(this,t,e,r,f-1,-f)}var i=0,o=1,u=0>t?1:0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=(t/o>>0)-u&255;return e+r},Buffer.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e=0|e,!n){var f=Math.pow(2,8*r-1);checkInt(this,t,e,r,f-1,-f)}var i=r-1,o=1,u=0>t?1:0;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=(t/o>>0)-u&255;return e+r},Buffer.prototype.writeInt8=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[e]=255&t,e+1},Buffer.prototype.writeInt16LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):objectWriteUInt16(this,t,e,!0),e+2},Buffer.prototype.writeInt16BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):objectWriteUInt16(this,t,e,!1),e+2},Buffer.prototype.writeInt32LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):objectWriteUInt32(this,t,e,!0),e+4},Buffer.prototype.writeInt32BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):objectWriteUInt32(this,t,e,!1),e+4},Buffer.prototype.writeFloatLE=function(t,e,r){return writeFloat(this,t,e,!0,r)},Buffer.prototype.writeFloatBE=function(t,e,r){return writeFloat(this,t,e,!1,r)},Buffer.prototype.writeDoubleLE=function(t,e,r){return writeDouble(this,t,e,!0,r)},Buffer.prototype.writeDoubleBE=function(t,e,r){return writeDouble(this,t,e,!1,r)},Buffer.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&r>n&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(0>e)throw new RangeError("targetStart out of bounds");if(0>r||r>=this.length)throw new RangeError("sourceStart out of bounds");if(0>n)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var f,i=n-r;if(this===t&&e>r&&n>e)for(f=i-1;f>=0;f--)t[f+e]=this[f+r];else if(1e3>i||!Buffer.TYPED_ARRAY_SUPPORT)for(f=0;i>f;f++)t[f+e]=this[f+r];else t._set(this.subarray(r,r+i),e);return i},Buffer.prototype.fill=function(t,e,r){if(t||(t=0),e||(e=0),r||(r=this.length),e>r)throw new RangeError("end < start");if(r!==e&&0!==this.length){if(0>e||e>=this.length)throw new RangeError("start out of bounds");if(0>r||r>this.length)throw new RangeError("end out of bounds");var n;if("number"==typeof t)for(n=e;r>n;n++)this[n]=t;else{var f=utf8ToBytes(t.toString()),i=f.length;for(n=e;r>n;n++)this[n]=f[n%i]}return this}},Buffer.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(Buffer.TYPED_ARRAY_SUPPORT)return new Buffer(this).buffer;for(var t=new Uint8Array(this.length),e=0,r=t.length;r>e;e+=1)t[e]=this[e];return t.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var BP=Buffer.prototype;Buffer._augment=function(t){return t.constructor=Buffer,t._isBuffer=!0,t._set=t.set,t.get=BP.get,t.set=BP.set,t.write=BP.write,t.toString=BP.toString,t.toLocaleString=BP.toString,t.toJSON=BP.toJSON,t.equals=BP.equals,t.compare=BP.compare,t.indexOf=BP.indexOf,t.copy=BP.copy,t.slice=BP.slice,t.readUIntLE=BP.readUIntLE,t.readUIntBE=BP.readUIntBE,t.readUInt8=BP.readUInt8,t.readUInt16LE=BP.readUInt16LE,t.readUInt16BE=BP.readUInt16BE,t.readUInt32LE=BP.readUInt32LE,t.readUInt32BE=BP.readUInt32BE,t.readIntLE=BP.readIntLE,t.readIntBE=BP.readIntBE,t.readInt8=BP.readInt8,t.readInt16LE=BP.readInt16LE,t.readInt16BE=BP.readInt16BE,t.readInt32LE=BP.readInt32LE,t.readInt32BE=BP.readInt32BE,t.readFloatLE=BP.readFloatLE,t.readFloatBE=BP.readFloatBE,t.readDoubleLE=BP.readDoubleLE,t.readDoubleBE=BP.readDoubleBE,t.writeUInt8=BP.writeUInt8,t.writeUIntLE=BP.writeUIntLE,t.writeUIntBE=BP.writeUIntBE,t.writeUInt16LE=BP.writeUInt16LE,t.writeUInt16BE=BP.writeUInt16BE,t.writeUInt32LE=BP.writeUInt32LE,t.writeUInt32BE=BP.writeUInt32BE,t.writeIntLE=BP.writeIntLE,t.writeIntBE=BP.writeIntBE,t.writeInt8=BP.writeInt8,t.writeInt16LE=BP.writeInt16LE,t.writeInt16BE=BP.writeInt16BE,t.writeInt32LE=BP.writeInt32LE,t.writeInt32BE=BP.writeInt32BE,t.writeFloatLE=BP.writeFloatLE,t.writeFloatBE=BP.writeFloatBE,t.writeDoubleLE=BP.writeDoubleLE,t.writeDoubleBE=BP.writeDoubleBE,t.fill=BP.fill,t.inspect=BP.inspect,t.toArrayBuffer=BP.toArrayBuffer,t};var INVALID_BASE64_RE=/[^+\/0-9A-Za-z-_]/g;
15490
15491}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
15492
15493},{"base64-js":22,"ieee754":34,"isarray":37}],26:[function(require,module,exports){
15494module.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};
15495
15496},{}],27:[function(require,module,exports){
15497(function (process,global){
15498"use strict";var next=global.process&&process.nextTick||global.setImmediate||function(n){setTimeout(n,0)};module.exports=function(n,t){return n?void t.then(function(t){next(function(){n(null,t)})},function(t){next(function(){n(t)})}):t};
15499
15500}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
15501
15502},{"_process":71}],28:[function(require,module,exports){
15503(function (Buffer){
15504function isArray(r){return Array.isArray?Array.isArray(r):"[object Array]"===objectToString(r)}function isBoolean(r){return"boolean"==typeof r}function isNull(r){return null===r}function isNullOrUndefined(r){return null==r}function isNumber(r){return"number"==typeof r}function isString(r){return"string"==typeof r}function isSymbol(r){return"symbol"==typeof r}function isUndefined(r){return void 0===r}function isRegExp(r){return"[object RegExp]"===objectToString(r)}function isObject(r){return"object"==typeof r&&null!==r}function isDate(r){return"[object Date]"===objectToString(r)}function isError(r){return"[object Error]"===objectToString(r)||r instanceof Error}function isFunction(r){return"function"==typeof r}function isPrimitive(r){return null===r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"symbol"==typeof r||"undefined"==typeof r}function objectToString(r){return Object.prototype.toString.call(r)}exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=isNullOrUndefined,exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=isSymbol,exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=isPrimitive,exports.isBuffer=Buffer.isBuffer;
15505
15506}).call(this,{"isBuffer":require("../../is-buffer/index.js")})
15507
15508},{"../../is-buffer/index.js":36}],29:[function(require,module,exports){
15509function useColors(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function formatArgs(){var o=arguments,e=this.useColors;if(o[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+o[0]+(e?"%c ":" ")+"+"+exports.humanize(this.diff),!e)return o;var r="color: "+this.color;o=[o[0],r,"color: inherit"].concat(Array.prototype.slice.call(o,1));var t=0,s=0;return o[0].replace(/%[a-z%]/g,function(o){"%%"!==o&&(t++,"%c"===o&&(s=t))}),o.splice(s,0,r),o}function log(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function save(o){try{null==o?exports.storage.removeItem("debug"):exports.storage.debug=o}catch(e){}}function load(){var o;try{o=exports.storage.debug}catch(e){}return o}function localstorage(){try{return window.localStorage}catch(o){}}exports=module.exports=require("./debug"),exports.log=log,exports.formatArgs=formatArgs,exports.save=save,exports.load=load,exports.useColors=useColors,exports.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:localstorage(),exports.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],exports.formatters.j=function(o){return JSON.stringify(o)},exports.enable(load());
15510
15511},{"./debug":30}],30:[function(require,module,exports){
15512function selectColor(){return exports.colors[prevColor++%exports.colors.length]}function debug(e){function r(){}function o(){var e=o,r=+new Date,s=r-(prevTime||r);e.diff=s,e.prev=prevTime,e.curr=r,prevTime=r,null==e.useColors&&(e.useColors=exports.useColors()),null==e.color&&e.useColors&&(e.color=selectColor());var t=Array.prototype.slice.call(arguments);t[0]=exports.coerce(t[0]),"string"!=typeof t[0]&&(t=["%o"].concat(t));var n=0;t[0]=t[0].replace(/%([a-z%])/g,function(r,o){if("%%"===r)return r;n++;var s=exports.formatters[o];if("function"==typeof s){var p=t[n];r=s.call(e,p),t.splice(n,1),n--}return r}),"function"==typeof exports.formatArgs&&(t=exports.formatArgs.apply(e,t));var p=o.log||exports.log||console.log.bind(console);p.apply(e,t)}r.enabled=!1,o.enabled=!0;var s=exports.enabled(e)?o:r;return s.namespace=e,s}function enable(e){exports.save(e);for(var r=(e||"").split(/[\s,]+/),o=r.length,s=0;o>s;s++)r[s]&&(e=r[s].replace(/\*/g,".*?"),"-"===e[0]?exports.skips.push(new RegExp("^"+e.substr(1)+"$")):exports.names.push(new RegExp("^"+e+"$")))}function disable(){exports.enable("")}function enabled(e){var r,o;for(r=0,o=exports.skips.length;o>r;r++)if(exports.skips[r].test(e))return!1;for(r=0,o=exports.names.length;o>r;r++)if(exports.names[r].test(e))return!0;return!1}function coerce(e){return e instanceof Error?e.stack||e.message:e}exports=module.exports=debug,exports.coerce=coerce,exports.disable=disable,exports.enable=enable,exports.enabled=enabled,exports.humanize=require("ms"),exports.names=[],exports.skips=[],exports.formatters={};var prevColor=0,prevTime;
15513
15514},{"ms":68}],31:[function(require,module,exports){
15515(function (process,global){
15516/*!
15517 * @overview es6-promise - a tiny implementation of Promises/A+.
15518 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
15519 * @license Licensed under MIT license
15520 * See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE
15521 * @version 3.1.2
15522 */
15523(function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function e(t){return"function"==typeof t}function n(t){W=t}function r(t){H=t}function o(){return function(){process.nextTick(a)}}function i(){return function(){U(a)}}function s(){var t=0,e=new Q(a),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function u(){var t=new MessageChannel;return t.port1.onmessage=a,function(){t.port2.postMessage(0)}}function c(){return function(){setTimeout(a,1)}}function a(){for(var t=0;G>t;t+=2){var e=X[t],n=X[t+1];e(n),X[t]=void 0,X[t+1]=void 0}G=0}function f(){try{var t=require,e=t("vertx");return U=e.runOnLoop||e.runOnContext,i()}catch(n){return c()}}function l(t,e){var n=this,r=n._state;if(r===et&&!t||r===nt&&!e)return this;var o=new this.constructor(p),i=n._result;if(r){var s=arguments[r-1];H(function(){C(r,o,s,i)})}else j(n,o,t,e);return o}function h(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(p);return g(n,t),n}function p(){}function _(){return new TypeError("You cannot resolve a promise with itself")}function v(){return new TypeError("A promises callback cannot return that same promise.")}function d(t){try{return t.then}catch(e){return rt.error=e,rt}}function y(t,e,n,r){try{t.call(e,n,r)}catch(o){return o}}function m(t,e,n){H(function(t){var r=!1,o=y(n,e,function(n){r||(r=!0,e!==n?g(t,n):E(t,n))},function(e){r||(r=!0,S(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,S(t,o))},t)}function w(t,e){e._state===et?E(t,e._result):e._state===nt?S(t,e._result):j(e,void 0,function(e){g(t,e)},function(e){S(t,e)})}function b(t,n,r){n.constructor===t.constructor&&r===Z&&constructor.resolve===$?w(t,n):r===rt?S(t,rt.error):void 0===r?E(t,n):e(r)?m(t,n,r):E(t,n)}function g(e,n){e===n?S(e,_()):t(n)?b(e,n,d(n)):E(e,n)}function A(t){t._onerror&&t._onerror(t._result),T(t)}function E(t,e){t._state===tt&&(t._result=e,t._state=et,0!==t._subscribers.length&&H(T,t))}function S(t,e){t._state===tt&&(t._state=nt,t._result=e,H(A,t))}function j(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+et]=n,o[i+nt]=r,0===i&&t._state&&H(T,t)}function T(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,o,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?C(n,r,o,i):o(i);t._subscribers.length=0}}function P(){this.error=null}function x(t,e){try{return t(e)}catch(n){return ot.error=n,ot}}function C(t,n,r,o){var i,s,u,c,a=e(r);if(a){if(i=x(r,o),i===ot?(c=!0,s=i.error,i=null):u=!0,n===i)return void S(n,v())}else i=o,u=!0;n._state!==tt||(a&&u?g(n,i):c?S(n,s):t===et?E(n,i):t===nt&&S(n,i))}function M(t,e){try{e(function(e){g(t,e)},function(e){S(t,e)})}catch(n){S(t,n)}}function O(t){return new ft(this,t).promise}function k(t){function e(t){g(o,t)}function n(t){S(o,t)}var r=this,o=new r(p);if(!B(t))return S(o,new TypeError("You must pass an array to race.")),o;for(var i=t.length,s=0;o._state===tt&&i>s;s++)j(r.resolve(t[s]),void 0,e,n);return o}function Y(t){var e=this,n=new e(p);return S(n,t),n}function q(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function F(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function D(t){this._id=ct++,this._state=void 0,this._result=void 0,this._subscribers=[],p!==t&&("function"!=typeof t&&q(),this instanceof D?M(this,t):F())}function K(t,e){this._instanceConstructor=t,this.promise=new t(p),Array.isArray(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&E(this.promise,this._result))):S(this.promise,this._validationError())}function L(){var t;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;n&&"[object Promise]"===Object.prototype.toString.call(n.resolve())&&!n.cast||(t.Promise=at)}var N;N=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var U,W,z,B=N,G=0,H=function(t,e){X[G]=t,X[G+1]=e,G+=2,2===G&&(W?W(a):z())},I="undefined"!=typeof window?window:void 0,J=I||{},Q=J.MutationObserver||J.WebKitMutationObserver,R="undefined"!=typeof process&&"[object process]"==={}.toString.call(process),V="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,X=new Array(1e3);z=R?o():Q?s():V?u():void 0===I&&"function"==typeof require?f():c();var Z=l,$=h,tt=void 0,et=1,nt=2,rt=new P,ot=new P,it=O,st=k,ut=Y,ct=0,at=D;D.all=it,D.race=st,D.resolve=$,D.reject=ut,D._setScheduler=n,D._setAsap=r,D._asap=H,D.prototype={constructor:D,then:Z,"catch":function(t){return this.then(null,t)}};var ft=K;K.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},K.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===tt&&t>n;n++)this._eachEntry(e[n],n)},K.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===$){var o=d(t);if(o===Z&&t._state!==tt)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(n===at){var i=new n(p);b(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){e(t)}),e)}else this._willSettleAt(r(t),e)},K.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===tt&&(this._remaining--,t===nt?S(r,n):this._result[e]=n),0===this._remaining&&E(r,this._result)},K.prototype._willSettleAt=function(t,e){var n=this;j(t,void 0,function(t){n._settledAt(et,e,t)},function(t){n._settledAt(nt,e,t)})};var lt=L,ht={Promise:at,polyfill:lt};"function"==typeof define&&define.amd?define(function(){return ht}):"undefined"!=typeof module&&module.exports?module.exports=ht:"undefined"!=typeof this&&(this.ES6Promise=ht),lt()}).call(this);
15524
15525}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
15526
15527},{"_process":71}],32:[function(require,module,exports){
15528function EventEmitter(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function isFunction(e){return"function"==typeof e}function isNumber(e){return"number"==typeof e}function isObject(e){return"object"==typeof e&&null!==e}function isUndefined(e){return void 0===e}module.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(e){if(!isNumber(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},EventEmitter.prototype.emit=function(e){var t,i,n,s,r,o;if(this._events||(this._events={}),"error"===e&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;throw TypeError('Uncaught, unspecified "error" event.')}if(i=this._events[e],isUndefined(i))return!1;if(isFunction(i))switch(arguments.length){case 1:i.call(this);break;case 2:i.call(this,arguments[1]);break;case 3:i.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),i.apply(this,s)}else if(isObject(i))for(s=Array.prototype.slice.call(arguments,1),o=i.slice(),n=o.length,r=0;n>r;r++)o[r].apply(this,s);return!0},EventEmitter.prototype.addListener=function(e,t){var i;if(!isFunction(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,isFunction(t.listener)?t.listener:t),this._events[e]?isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,isObject(this._events[e])&&!this._events[e].warned&&(i=isUndefined(this._maxListeners)?EventEmitter.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(e,t){function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}if(!isFunction(t))throw TypeError("listener must be a function");var n=!1;return i.listener=t,this.on(e,i),this},EventEmitter.prototype.removeListener=function(e,t){var i,n,s,r;if(!isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=this._events[e],s=i.length,n=-1,i===t||isFunction(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(isObject(i)){for(r=s;r-- >0;)if(i[r]===t||i[r].listener&&i[r].listener===t){n=r;break}if(0>n)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},EventEmitter.prototype.removeAllListeners=function(e){var t,i;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(i=this._events[e],isFunction(i))this.removeListener(e,i);else if(i)for(;i.length;)this.removeListener(e,i[i.length-1]);return delete this._events[e],this},EventEmitter.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},EventEmitter.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(isFunction(t))return 1;if(t)return t.length}return 0},EventEmitter.listenerCount=function(e,t){return e.listenerCount(t)};
15529
15530},{}],33:[function(require,module,exports){
15531var http=require("http"),https=module.exports;for(var key in http)http.hasOwnProperty(key)&&(https[key]=http[key]);https.request=function(t,e){return t||(t={}),t.scheme="https",t.protocol="https:",http.request.call(this,t,e)};
15532
15533},{"http":87}],34:[function(require,module,exports){
15534exports.read=function(a,o,t,r,h){var M,p,w=8*h-r-1,f=(1<<w)-1,e=f>>1,i=-7,N=t?h-1:0,n=t?-1:1,s=a[o+N];for(N+=n,M=s&(1<<-i)-1,s>>=-i,i+=w;i>0;M=256*M+a[o+N],N+=n,i-=8);for(p=M&(1<<-i)-1,M>>=-i,i+=r;i>0;p=256*p+a[o+N],N+=n,i-=8);if(0===M)M=1-e;else{if(M===f)return p?NaN:(s?-1:1)*(1/0);p+=Math.pow(2,r),M-=e}return(s?-1:1)*p*Math.pow(2,M-r)},exports.write=function(a,o,t,r,h,M){var p,w,f,e=8*M-h-1,i=(1<<e)-1,N=i>>1,n=23===h?Math.pow(2,-24)-Math.pow(2,-77):0,s=r?0:M-1,u=r?1:-1,l=0>o||0===o&&0>1/o?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(w=isNaN(o)?1:0,p=i):(p=Math.floor(Math.log(o)/Math.LN2),o*(f=Math.pow(2,-p))<1&&(p--,f*=2),o+=p+N>=1?n/f:n*Math.pow(2,1-N),o*f>=2&&(p++,f/=2),p+N>=i?(w=0,p=i):p+N>=1?(w=(o*f-1)*Math.pow(2,h),p+=N):(w=o*Math.pow(2,N-1)*Math.pow(2,h),p=0));h>=8;a[t+s]=255&w,s+=u,w/=256,h-=8);for(p=p<<h|w,e+=h;e>0;a[t+s]=255&p,s+=u,p/=256,e-=8);a[t+s-u]|=128*l};
15535
15536},{}],35:[function(require,module,exports){
15537"function"==typeof Object.create?module.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:module.exports=function(t,e){t.super_=e;var o=function(){};o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t};
15538
15539},{}],36:[function(require,module,exports){
15540module.exports=function(r){return!(null==r||!(r._isBuffer||r.constructor&&"function"==typeof r.constructor.isBuffer&&r.constructor.isBuffer(r)))};
15541
15542},{}],37:[function(require,module,exports){
15543var toString={}.toString;module.exports=Array.isArray||function(r){return"[object Array]"==toString.call(r)};
15544
15545},{}],38:[function(require,module,exports){
15546"use strict";var yaml=require("./lib/js-yaml.js");module.exports=yaml;
15547
15548},{"./lib/js-yaml.js":39}],39:[function(require,module,exports){
15549"use strict";function deprecated(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}var loader=require("./js-yaml/loader"),dumper=require("./js-yaml/dumper");module.exports.Type=require("./js-yaml/type"),module.exports.Schema=require("./js-yaml/schema"),module.exports.FAILSAFE_SCHEMA=require("./js-yaml/schema/failsafe"),module.exports.JSON_SCHEMA=require("./js-yaml/schema/json"),module.exports.CORE_SCHEMA=require("./js-yaml/schema/core"),module.exports.DEFAULT_SAFE_SCHEMA=require("./js-yaml/schema/default_safe"),module.exports.DEFAULT_FULL_SCHEMA=require("./js-yaml/schema/default_full"),module.exports.load=loader.load,module.exports.loadAll=loader.loadAll,module.exports.safeLoad=loader.safeLoad,module.exports.safeLoadAll=loader.safeLoadAll,module.exports.dump=dumper.dump,module.exports.safeDump=dumper.safeDump,module.exports.YAMLException=require("./js-yaml/exception"),module.exports.MINIMAL_SCHEMA=require("./js-yaml/schema/failsafe"),module.exports.SAFE_SCHEMA=require("./js-yaml/schema/default_safe"),module.exports.DEFAULT_SCHEMA=require("./js-yaml/schema/default_full"),module.exports.scan=deprecated("scan"),module.exports.parse=deprecated("parse"),module.exports.compose=deprecated("compose"),module.exports.addConstructor=deprecated("addConstructor");
15550
15551},{"./js-yaml/dumper":41,"./js-yaml/exception":42,"./js-yaml/loader":43,"./js-yaml/schema":45,"./js-yaml/schema/core":46,"./js-yaml/schema/default_full":47,"./js-yaml/schema/default_safe":48,"./js-yaml/schema/failsafe":49,"./js-yaml/schema/json":50,"./js-yaml/type":51}],40:[function(require,module,exports){
15552"use strict";function isNothing(e){return"undefined"==typeof e||null===e}function isObject(e){return"object"==typeof e&&null!==e}function toArray(e){return Array.isArray(e)?e:isNothing(e)?[]:[e]}function extend(e,t){var r,o,n,i;if(t)for(i=Object.keys(t),r=0,o=i.length;o>r;r+=1)n=i[r],e[n]=t[n];return e}function repeat(e,t){var r,o="";for(r=0;t>r;r+=1)o+=e;return o}function isNegativeZero(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e}module.exports.isNothing=isNothing,module.exports.isObject=isObject,module.exports.toArray=toArray,module.exports.repeat=repeat,module.exports.isNegativeZero=isNegativeZero,module.exports.extend=extend;
15553
15554},{}],41:[function(require,module,exports){
15555"use strict";function compileStyleMap(e,t){var n,i,r,E,o,l,a;if(null===t)return{};for(n={},i=Object.keys(t),r=0,E=i.length;E>r;r+=1)o=i[r],l=String(t[o]),"!!"===o.slice(0,2)&&(o="tag:yaml.org,2002:"+o.slice(2)),a=e.compiledTypeMap[o],a&&_hasOwnProperty.call(a.styleAliases,l)&&(l=a.styleAliases[l]),n[o]=l;return n}function encodeHex(e){var t,n,i;if(t=e.toString(16).toUpperCase(),255>=e)n="x",i=2;else if(65535>=e)n="u",i=4;else{if(!(4294967295>=e))throw new YAMLException("code point within a string may not be greater than 0xFFFFFFFF");n="U",i=8}return"\\"+n+common.repeat("0",i-t.length)+t}function State(e){this.schema=e.schema||DEFAULT_FULL_SCHEMA,this.indent=Math.max(1,e.indent||2),this.skipInvalid=e.skipInvalid||!1,this.flowLevel=common.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=compileStyleMap(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function indentString(e,t){for(var n,i=common.repeat(" ",t),r=0,E=-1,o="",l=e.length;l>r;)E=e.indexOf("\n",r),-1===E?(n=e.slice(r),r=l):(n=e.slice(r,E+1),r=E+1),n.length&&"\n"!==n&&(o+=i),o+=n;return o}function generateNextLine(e,t){return"\n"+common.repeat(" ",e.indent*t)}function testImplicitResolving(e,t){var n,i,r;for(n=0,i=e.implicitTypes.length;i>n;n+=1)if(r=e.implicitTypes[n],r.resolve(t))return!0;return!1}function isWhitespace(e){return e===CHAR_SPACE||e===CHAR_TAB}function isPrintable(e){return e>=32&&126>=e||e>=161&&55295>=e&&8232!==e&&8233!==e||e>=57344&&65533>=e&&65279!==e||e>=65536&&1114111>=e}function isPlainSafe(e){return isPrintable(e)&&65279!==e&&e!==CHAR_COMMA&&e!==CHAR_LEFT_SQUARE_BRACKET&&e!==CHAR_RIGHT_SQUARE_BRACKET&&e!==CHAR_LEFT_CURLY_BRACKET&&e!==CHAR_RIGHT_CURLY_BRACKET&&e!==CHAR_COLON&&e!==CHAR_SHARP}function isPlainSafeFirst(e){return isPrintable(e)&&65279!==e&&!isWhitespace(e)&&e!==CHAR_MINUS&&e!==CHAR_QUESTION&&e!==CHAR_COLON&&e!==CHAR_COMMA&&e!==CHAR_LEFT_SQUARE_BRACKET&&e!==CHAR_RIGHT_SQUARE_BRACKET&&e!==CHAR_LEFT_CURLY_BRACKET&&e!==CHAR_RIGHT_CURLY_BRACKET&&e!==CHAR_SHARP&&e!==CHAR_AMPERSAND&&e!==CHAR_ASTERISK&&e!==CHAR_EXCLAMATION&&e!==CHAR_VERTICAL_LINE&&e!==CHAR_GREATER_THAN&&e!==CHAR_SINGLE_QUOTE&&e!==CHAR_DOUBLE_QUOTE&&e!==CHAR_PERCENT&&e!==CHAR_COMMERCIAL_AT&&e!==CHAR_GRAVE_ACCENT}function chooseScalarStyle(e,t,n,i,r){var E,o,l=!1,a=!1,s=-1!==i,c=-1,A=isPlainSafeFirst(e.charCodeAt(0))&&!isWhitespace(e.charCodeAt(e.length-1));if(t)for(E=0;E<e.length;E++){if(o=e.charCodeAt(E),!isPrintable(o))return STYLE_DOUBLE;A=A&&isPlainSafe(o)}else{for(E=0;E<e.length;E++){if(o=e.charCodeAt(E),o===CHAR_LINE_FEED)l=!0,s&&(a=a||E-c-1>i&&" "!==e[c+1],c=E);else if(!isPrintable(o))return STYLE_DOUBLE;A=A&&isPlainSafe(o)}a=a||s&&E-c-1>i&&" "!==e[c+1]}return l||a?" "===e[0]&&n>9?STYLE_DOUBLE:a?STYLE_FOLDED:STYLE_LITERAL:A&&!r(e)?STYLE_PLAIN:STYLE_SINGLE}function writeScalar(e,t,n,i){e.dump=function(){function r(t){return testImplicitResolving(e,t)}if(0===t.length)return"''";if(!e.noCompatMode&&-1!==DEPRECATED_BOOLEANS_SYNTAX.indexOf(t))return"'"+t+"'";var E=e.indent*Math.max(1,n),o=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-E),l=i||e.flowLevel>-1&&n>=e.flowLevel;switch(chooseScalarStyle(t,l,e.indent,o,r)){case STYLE_PLAIN:return t;case STYLE_SINGLE:return"'"+t.replace(/'/g,"''")+"'";case STYLE_LITERAL:return"|"+blockHeader(t,e.indent)+dropEndingNewline(indentString(t,E));case STYLE_FOLDED:return">"+blockHeader(t,e.indent)+dropEndingNewline(indentString(foldString(t,o),E));case STYLE_DOUBLE:return'"'+escapeString(t,o)+'"';default:throw new YAMLException("impossible error: invalid scalar style")}}()}function blockHeader(e,t){var n=" "===e[0]?String(t):"",i="\n"===e[e.length-1],r=i&&("\n"===e[e.length-2]||"\n"===e),E=r?"+":i?"":"-";return n+E+"\n"}function dropEndingNewline(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function foldString(e,t){for(var n,i,r=/(\n+)([^\n]*)/g,E=function(){var n=e.indexOf("\n");return n=-1!==n?n:e.length,r.lastIndex=n,foldLine(e.slice(0,n),t)}(),o="\n"===e[0]||" "===e[0];i=r.exec(e);){var l=i[1],a=i[2];n=" "===a[0],E+=l+(o||n||""===a?"":"\n")+foldLine(a,t),o=n}return E}function foldLine(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,E=0,o=0,l=0,a="";n=r.exec(e);)l=n.index,l-E>t&&(i=o>E?o:l,a+="\n"+e.slice(E,i),E=i+1),o=l;return a+="\n",a+=e.length-E>t&&o>E?e.slice(E,o)+"\n"+e.slice(o+1):e.slice(E),a.slice(1)}function escapeString(e){for(var t,n,i="",r=0;r<e.length;r++)t=e.charCodeAt(r),n=ESCAPE_SEQUENCES[t],i+=!n&&isPrintable(t)?e[r]:n||encodeHex(t);return i}function writeFlowSequence(e,t,n){var i,r,E="",o=e.tag;for(i=0,r=n.length;r>i;i+=1)writeNode(e,t,n[i],!1,!1)&&(0!==i&&(E+=", "),E+=e.dump);e.tag=o,e.dump="["+E+"]"}function writeBlockSequence(e,t,n,i){var r,E,o="",l=e.tag;for(r=0,E=n.length;E>r;r+=1)writeNode(e,t+1,n[r],!0,!0)&&(i&&0===r||(o+=generateNextLine(e,t)),o+="- "+e.dump);e.tag=l,e.dump=o||"[]"}function writeFlowMapping(e,t,n){var i,r,E,o,l,a="",s=e.tag,c=Object.keys(n);for(i=0,r=c.length;r>i;i+=1)l="",0!==i&&(l+=", "),E=c[i],o=n[E],writeNode(e,t,E,!1,!1)&&(e.dump.length>1024&&(l+="? "),l+=e.dump+": ",writeNode(e,t,o,!1,!1)&&(l+=e.dump,a+=l));e.tag=s,e.dump="{"+a+"}"}function writeBlockMapping(e,t,n,i){var r,E,o,l,a,s,c="",A=e.tag,u=Object.keys(n);if(e.sortKeys===!0)u.sort();else if("function"==typeof e.sortKeys)u.sort(e.sortKeys);else if(e.sortKeys)throw new YAMLException("sortKeys must be a boolean or a function");for(r=0,E=u.length;E>r;r+=1)s="",i&&0===r||(s+=generateNextLine(e,t)),o=u[r],l=n[o],writeNode(e,t+1,o,!0,!0,!0)&&(a=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024,a&&(s+=e.dump&&CHAR_LINE_FEED===e.dump.charCodeAt(0)?"?":"? "),s+=e.dump,a&&(s+=generateNextLine(e,t)),writeNode(e,t+1,l,!0,a)&&(s+=e.dump&&CHAR_LINE_FEED===e.dump.charCodeAt(0)?":":": ",s+=e.dump,c+=s));e.tag=A,e.dump=c||"{}"}function detectType(e,t,n){var i,r,E,o,l,a;for(r=n?e.explicitTypes:e.implicitTypes,E=0,o=r.length;o>E;E+=1)if(l=r[E],(l.instanceOf||l.predicate)&&(!l.instanceOf||"object"==typeof t&&t instanceof l.instanceOf)&&(!l.predicate||l.predicate(t))){if(e.tag=n?l.tag:"?",l.represent){if(a=e.styleMap[l.tag]||l.defaultStyle,"[object Function]"===_toString.call(l.represent))i=l.represent(t,a);else{if(!_hasOwnProperty.call(l.represent,a))throw new YAMLException("!<"+l.tag+'> tag resolver accepts not "'+a+'" style');i=l.represent[a](t,a)}e.dump=i}return!0}return!1}function writeNode(e,t,n,i,r,E){e.tag=null,e.dump=n,detectType(e,n,!1)||detectType(e,n,!0);var o=_toString.call(e.dump);i&&(i=e.flowLevel<0||e.flowLevel>t);var l,a,s="[object Object]"===o||"[object Array]"===o;if(s&&(l=e.duplicates.indexOf(n),a=-1!==l),(null!==e.tag&&"?"!==e.tag||a||2!==e.indent&&t>0)&&(r=!1),a&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(s&&a&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===o)i&&0!==Object.keys(e.dump).length?(writeBlockMapping(e,t,e.dump,r),a&&(e.dump="&ref_"+l+e.dump)):(writeFlowMapping(e,t,e.dump),a&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===o)i&&0!==e.dump.length?(writeBlockSequence(e,t,e.dump,r),a&&(e.dump="&ref_"+l+e.dump)):(writeFlowSequence(e,t,e.dump),a&&(e.dump="&ref_"+l+" "+e.dump));else{if("[object String]"!==o){if(e.skipInvalid)return!1;throw new YAMLException("unacceptable kind of an object to dump "+o)}"?"!==e.tag&&writeScalar(e,e.dump,t,E)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function getDuplicateReferences(e,t){var n,i,r=[],E=[];for(inspectNode(e,r,E),n=0,i=E.length;i>n;n+=1)t.duplicates.push(r[E[n]]);t.usedDuplicates=new Array(i)}function inspectNode(e,t,n){var i,r,E;if(null!==e&&"object"==typeof e)if(r=t.indexOf(e),-1!==r)-1===n.indexOf(r)&&n.push(r);else if(t.push(e),Array.isArray(e))for(r=0,E=e.length;E>r;r+=1)inspectNode(e[r],t,n);else for(i=Object.keys(e),r=0,E=i.length;E>r;r+=1)inspectNode(e[i[r]],t,n)}function dump(e,t){t=t||{};var n=new State(t);return n.noRefs||getDuplicateReferences(e,n),writeNode(n,0,e,!0,!0)?n.dump+"\n":""}function safeDump(e,t){return dump(e,common.extend({schema:DEFAULT_SAFE_SCHEMA},t))}var common=require("./common"),YAMLException=require("./exception"),DEFAULT_FULL_SCHEMA=require("./schema/default_full"),DEFAULT_SAFE_SCHEMA=require("./schema/default_safe"),_toString=Object.prototype.toString,_hasOwnProperty=Object.prototype.hasOwnProperty,CHAR_TAB=9,CHAR_LINE_FEED=10,CHAR_SPACE=32,CHAR_EXCLAMATION=33,CHAR_DOUBLE_QUOTE=34,CHAR_SHARP=35,CHAR_PERCENT=37,CHAR_AMPERSAND=38,CHAR_SINGLE_QUOTE=39,CHAR_ASTERISK=42,CHAR_COMMA=44,CHAR_MINUS=45,CHAR_COLON=58,CHAR_GREATER_THAN=62,CHAR_QUESTION=63,CHAR_COMMERCIAL_AT=64,CHAR_LEFT_SQUARE_BRACKET=91,CHAR_RIGHT_SQUARE_BRACKET=93,CHAR_GRAVE_ACCENT=96,CHAR_LEFT_CURLY_BRACKET=123,CHAR_VERTICAL_LINE=124,CHAR_RIGHT_CURLY_BRACKET=125,ESCAPE_SEQUENCES={};ESCAPE_SEQUENCES[0]="\\0",ESCAPE_SEQUENCES[7]="\\a",ESCAPE_SEQUENCES[8]="\\b",ESCAPE_SEQUENCES[9]="\\t",ESCAPE_SEQUENCES[10]="\\n",ESCAPE_SEQUENCES[11]="\\v",ESCAPE_SEQUENCES[12]="\\f",ESCAPE_SEQUENCES[13]="\\r",ESCAPE_SEQUENCES[27]="\\e",ESCAPE_SEQUENCES[34]='\\"',ESCAPE_SEQUENCES[92]="\\\\",ESCAPE_SEQUENCES[133]="\\N",ESCAPE_SEQUENCES[160]="\\_",ESCAPE_SEQUENCES[8232]="\\L",ESCAPE_SEQUENCES[8233]="\\P";var DEPRECATED_BOOLEANS_SYNTAX=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],STYLE_PLAIN=1,STYLE_SINGLE=2,STYLE_LITERAL=3,STYLE_FOLDED=4,STYLE_DOUBLE=5;module.exports.dump=dump,module.exports.safeDump=safeDump;
15556
15557},{"./common":40,"./exception":42,"./schema/default_full":47,"./schema/default_safe":48}],42:[function(require,module,exports){
15558"use strict";function YAMLException(t,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||"",this.name="YAMLException",this.reason=t,this.mark=r,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"")}YAMLException.prototype=Object.create(Error.prototype),YAMLException.prototype.constructor=YAMLException,YAMLException.prototype.toString=function(t){var r=this.name+": ";return r+=this.reason||"(unknown reason)",!t&&this.mark&&(r+=" "+this.mark.toString()),r},module.exports=YAMLException;
15559
15560},{}],43:[function(require,module,exports){
15561"use strict";function is_EOL(e){return 10===e||13===e}function is_WHITE_SPACE(e){return 9===e||32===e}function is_WS_OR_EOL(e){return 9===e||32===e||10===e||13===e}function is_FLOW_INDICATOR(e){return 44===e||91===e||93===e||123===e||125===e}function fromHexCode(e){var t;return e>=48&&57>=e?e-48:(t=32|e,t>=97&&102>=t?t-97+10:-1)}function escapedHexLen(e){return 120===e?2:117===e?4:85===e?8:0}function fromDecimalCode(e){return e>=48&&57>=e?e-48:-1}function simpleEscapeSequence(e){return 48===e?"\x00":97===e?"":98===e?"\b":116===e?" ":9===e?" ":110===e?"\n":118===e?"\x0B":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function charFromCodepoint(e){return 65535>=e?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function State(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||DEFAULT_FULL_SCHEMA,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function generateError(e,t){return new YAMLException(t,new Mark(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){e.onWarning&&e.onWarning.call(null,generateError(e,t))}function captureSegment(e,t,n,i){var o,r,a,s;if(n>t){if(s=e.input.slice(t,n),i)for(o=0,r=s.length;r>o;o+=1)a=s.charCodeAt(o),9===a||a>=32&&1114111>=a||throwError(e,"expected valid JSON character");else PATTERN_NON_PRINTABLE.test(s)&&throwError(e,"the stream contains non-printable characters");e.result+=s}}function mergeMappings(e,t,n,i){var o,r,a,s;for(common.isObject(n)||throwError(e,"cannot merge mappings; the provided source object is unacceptable"),o=Object.keys(n),a=0,s=o.length;s>a;a+=1)r=o[a],_hasOwnProperty.call(t,r)||(t[r]=n[r],i[r]=!0)}function storeMappingPair(e,t,n,i,o,r){var a,s;if(o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(r))for(a=0,s=r.length;s>a;a+=1)mergeMappings(e,t,r[a],n);else mergeMappings(e,t,r,n);else e.json||_hasOwnProperty.call(n,o)||!_hasOwnProperty.call(t,o)||throwError(e,"duplicated mapping key"),t[o]=r,delete n[o];return t}function readLineBreak(e){var t;t=e.input.charCodeAt(e.position),10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):throwError(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function skipSeparationSpace(e,t,n){for(var i=0,o=e.input.charCodeAt(e.position);0!==o;){for(;is_WHITE_SPACE(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do o=e.input.charCodeAt(++e.position);while(10!==o&&13!==o&&0!==o);if(!is_EOL(o))break;for(readLineBreak(e),o=e.input.charCodeAt(e.position),i++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==n&&0!==i&&e.lineIndent<n&&throwWarning(e,"deficient indentation"),i}function testDocumentSeparator(e){var t,n=e.position;return t=e.input.charCodeAt(n),(45===t||46===t)&&t===e.input.charCodeAt(n+1)&&t===e.input.charCodeAt(n+2)&&(n+=3,t=e.input.charCodeAt(n),0===t||is_WS_OR_EOL(t))}function writeFoldedLines(e,t){1===t?e.result+=" ":t>1&&(e.result+=common.repeat("\n",t-1))}function readPlainScalar(e,t,n){var i,o,r,a,s,p,c,l,u,d=e.kind,h=e.result;if(u=e.input.charCodeAt(e.position),is_WS_OR_EOL(u)||is_FLOW_INDICATOR(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o)))return!1;for(e.kind="scalar",e.result="",r=a=e.position,s=!1;0!==u;){if(58===u){if(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o))break}else if(35===u){if(i=e.input.charCodeAt(e.position-1),is_WS_OR_EOL(i))break}else{if(e.position===e.lineStart&&testDocumentSeparator(e)||n&&is_FLOW_INDICATOR(u))break;if(is_EOL(u)){if(p=e.line,c=e.lineStart,l=e.lineIndent,skipSeparationSpace(e,!1,-1),e.lineIndent>=t){s=!0,u=e.input.charCodeAt(e.position);continue}e.position=a,e.line=p,e.lineStart=c,e.lineIndent=l;break}}s&&(captureSegment(e,r,a,!1),writeFoldedLines(e,e.line-p),r=a=e.position,s=!1),is_WHITE_SPACE(u)||(a=e.position+1),u=e.input.charCodeAt(++e.position)}return captureSegment(e,r,a,!1),e.result?!0:(e.kind=d,e.result=h,!1)}function readSingleQuotedScalar(e,t){var n,i,o;if(n=e.input.charCodeAt(e.position),39!==n)return!1;for(e.kind="scalar",e.result="",e.position++,i=o=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(captureSegment(e,i,e.position,!0),n=e.input.charCodeAt(++e.position),39!==n)return!0;i=o=e.position,e.position++}else is_EOL(n)?(captureSegment(e,i,o,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),i=o=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var n,i,o,r,a,s;if(s=e.input.charCodeAt(e.position),34!==s)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return captureSegment(e,n,e.position,!0),e.position++,!0;if(92===s){if(captureSegment(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),is_EOL(s))skipSeparationSpace(e,!1,t);else if(256>s&&simpleEscapeCheck[s])e.result+=simpleEscapeMap[s],e.position++;else if((a=escapedHexLen(s))>0){for(o=a,r=0;o>0;o--)s=e.input.charCodeAt(++e.position),(a=fromHexCode(s))>=0?r=(r<<4)+a:throwError(e,"expected hexadecimal character");e.result+=charFromCodepoint(r),e.position++}else throwError(e,"unknown escape sequence");n=i=e.position}else is_EOL(s)?(captureSegment(e,n,i,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),n=i=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var n,i,o,r,a,s,p,c,l,u,d,h=!0,f=e.tag,_=e.anchor,A={};if(d=e.input.charCodeAt(e.position),91===d)r=93,p=!1,i=[];else{if(123!==d)return!1;r=125,p=!0,i={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),d=e.input.charCodeAt(++e.position);0!==d;){if(skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),d===r)return e.position++,e.tag=f,e.anchor=_,e.kind=p?"mapping":"sequence",e.result=i,!0;h||throwError(e,"missed comma between flow collection entries"),l=c=u=null,a=s=!1,63===d&&(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)&&(a=s=!0,e.position++,skipSeparationSpace(e,!0,t))),n=e.line,composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),l=e.tag,c=e.result,skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),!s&&e.line!==n||58!==d||(a=!0,d=e.input.charCodeAt(++e.position),skipSeparationSpace(e,!0,t),composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),u=e.result),p?storeMappingPair(e,i,A,l,c,u):a?i.push(storeMappingPair(e,null,A,l,c,u)):i.push(c),skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),44===d?(h=!0,d=e.input.charCodeAt(++e.position)):h=!1}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var n,i,o,r,a=CHOMPING_CLIP,s=!1,p=!1,c=t,l=0,u=!1;if(r=e.input.charCodeAt(e.position),124===r)i=!1;else{if(62!==r)return!1;i=!0}for(e.kind="scalar",e.result="";0!==r;)if(r=e.input.charCodeAt(++e.position),43===r||45===r)CHOMPING_CLIP===a?a=43===r?CHOMPING_KEEP:CHOMPING_STRIP:throwError(e,"repeat of a chomping mode identifier");else{if(!((o=fromDecimalCode(r))>=0))break;0===o?throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):p?throwError(e,"repeat of an indentation width identifier"):(c=t+o-1,p=!0)}if(is_WHITE_SPACE(r)){do r=e.input.charCodeAt(++e.position);while(is_WHITE_SPACE(r));if(35===r)do r=e.input.charCodeAt(++e.position);while(!is_EOL(r)&&0!==r)}for(;0!==r;){for(readLineBreak(e),e.lineIndent=0,r=e.input.charCodeAt(e.position);(!p||e.lineIndent<c)&&32===r;)e.lineIndent++,r=e.input.charCodeAt(++e.position);if(!p&&e.lineIndent>c&&(c=e.lineIndent),is_EOL(r))l++;else{if(e.lineIndent<c){a===CHOMPING_KEEP?e.result+=common.repeat("\n",s?1+l:l):a===CHOMPING_CLIP&&s&&(e.result+="\n");break}for(i?is_WHITE_SPACE(r)?(u=!0,e.result+=common.repeat("\n",s?1+l:l)):u?(u=!1,e.result+=common.repeat("\n",l+1)):0===l?s&&(e.result+=" "):e.result+=common.repeat("\n",l):e.result+=common.repeat("\n",s?1+l:l),s=!0,p=!0,l=0,n=e.position;!is_EOL(r)&&0!==r;)r=e.input.charCodeAt(++e.position);captureSegment(e,n,e.position,!1)}}return!0}function readBlockSequence(e,t){var n,i,o,r=e.tag,a=e.anchor,s=[],p=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=s),o=e.input.charCodeAt(e.position);0!==o&&45===o&&(i=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(i));)if(p=!0,e.position++,skipSeparationSpace(e,!0,-1)&&e.lineIndent<=t)s.push(null),o=e.input.charCodeAt(e.position);else if(n=e.line,composeNode(e,t,CONTEXT_BLOCK_IN,!1,!0),s.push(e.result),skipSeparationSpace(e,!0,-1),o=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==o)throwError(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return p?(e.tag=r,e.anchor=a,e.kind="sequence",e.result=s,!0):!1}function readBlockMapping(e,t,n){var i,o,r,a,s=e.tag,p=e.anchor,c={},l={},u=null,d=null,h=null,f=!1,_=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=c),a=e.input.charCodeAt(e.position);0!==a;){if(i=e.input.charCodeAt(e.position+1),r=e.line,63!==a&&58!==a||!is_WS_OR_EOL(i)){if(!composeNode(e,n,CONTEXT_FLOW_OUT,!1,!0))break;if(e.line===r){for(a=e.input.charCodeAt(e.position);is_WHITE_SPACE(a);)a=e.input.charCodeAt(++e.position);if(58===a)a=e.input.charCodeAt(++e.position),is_WS_OR_EOL(a)||throwError(e,"a whitespace character is expected after the key-value separator within a block mapping"),f&&(storeMappingPair(e,c,l,u,d,null),u=d=h=null),_=!0,f=!1,o=!1,u=e.tag,d=e.result;else{if(!_)return e.tag=s,e.anchor=p,!0;throwError(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!_)return e.tag=s,e.anchor=p,!0;throwError(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===a?(f&&(storeMappingPair(e,c,l,u,d,null),u=d=h=null),_=!0,f=!0,o=!0):f?(f=!1,o=!0):throwError(e,"incomplete explicit mapping pair; a key node is missed"),e.position+=1,a=i;if((e.line===r||e.lineIndent>t)&&(composeNode(e,t,CONTEXT_BLOCK_OUT,!0,o)&&(f?d=e.result:h=e.result),f||(storeMappingPair(e,c,l,u,d,h),u=d=h=null),skipSeparationSpace(e,!0,-1),a=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==a)throwError(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return f&&storeMappingPair(e,c,l,u,d,null),_&&(e.tag=s,e.anchor=p,e.kind="mapping",e.result=c),_}function readTagProperty(e){var t,n,i,o,r=!1,a=!1;if(o=e.input.charCodeAt(e.position),33!==o)return!1;if(null!==e.tag&&throwError(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),60===o?(r=!0,o=e.input.charCodeAt(++e.position)):33===o?(a=!0,n="!!",o=e.input.charCodeAt(++e.position)):n="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(0!==o&&62!==o);e.position<e.length?(i=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):throwError(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!is_WS_OR_EOL(o);)33===o&&(a?throwError(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),PATTERN_TAG_HANDLE.test(n)||throwError(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);i=e.input.slice(t,e.position),PATTERN_FLOW_INDICATORS.test(i)&&throwError(e,"tag suffix cannot contain flow indicator characters")}return i&&!PATTERN_TAG_URI.test(i)&&throwError(e,"tag name cannot contain such characters: "+i),r?e.tag=i:_hasOwnProperty.call(e.tagMap,n)?e.tag=e.tagMap[n]+i:"!"===n?e.tag="!"+i:"!!"===n?e.tag="tag:yaml.org,2002:"+i:throwError(e,'undeclared tag handle "'+n+'"'),!0}function readAnchorProperty(e){var t,n;if(n=e.input.charCodeAt(e.position),38!==n)return!1;for(null!==e.anchor&&throwError(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!is_WS_OR_EOL(n)&&!is_FLOW_INDICATOR(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&throwError(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function readAlias(e){var t,n,i;if(i=e.input.charCodeAt(e.position),42!==i)return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!is_WS_OR_EOL(i)&&!is_FLOW_INDICATOR(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&throwError(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),e.anchorMap.hasOwnProperty(n)||throwError(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],skipSeparationSpace(e,!0,-1),!0}function composeNode(e,t,n,i,o){var r,a,s,p,c,l,u,d,h=1,f=!1,_=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,r=a=s=CONTEXT_BLOCK_OUT===n||CONTEXT_BLOCK_IN===n,i&&skipSeparationSpace(e,!0,-1)&&(f=!0,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)),1===h)for(;readTagProperty(e)||readAnchorProperty(e);)skipSeparationSpace(e,!0,-1)?(f=!0,s=r,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)):s=!1;if(s&&(s=f||o),1!==h&&CONTEXT_BLOCK_OUT!==n||(u=CONTEXT_FLOW_IN===n||CONTEXT_FLOW_OUT===n?t:t+1,d=e.position-e.lineStart,1===h?s&&(readBlockSequence(e,d)||readBlockMapping(e,d,u))||readFlowCollection(e,u)?_=!0:(a&&readBlockScalar(e,u)||readSingleQuotedScalar(e,u)||readDoubleQuotedScalar(e,u)?_=!0:readAlias(e)?(_=!0,null===e.tag&&null===e.anchor||throwError(e,"alias node should not have any properties")):readPlainScalar(e,u,CONTEXT_FLOW_IN===n)&&(_=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(_=s&&readBlockSequence(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(p=0,c=e.implicitTypes.length;c>p;p+=1)if(l=e.implicitTypes[p],l.resolve(e.result)){e.result=l.construct(e.result),e.tag=l.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else _hasOwnProperty.call(e.typeMap,e.tag)?(l=e.typeMap[e.tag],null!==e.result&&l.kind!==e.kind&&throwError(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+l.kind+'", not "'+e.kind+'"'),l.resolve(e.result)?(e.result=l.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):throwError(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||_}function readDocument(e){var t,n,i,o,r=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(skipSeparationSpace(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!is_WS_OR_EOL(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(t,e.position),i=[],n.length<1&&throwError(e,"directive name must not be less than one character in length");0!==o;){for(;is_WHITE_SPACE(o);)o=e.input.charCodeAt(++e.position);if(35===o){do o=e.input.charCodeAt(++e.position);while(0!==o&&!is_EOL(o));break}if(is_EOL(o))break;for(t=e.position;0!==o&&!is_WS_OR_EOL(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==o&&readLineBreak(e),_hasOwnProperty.call(directiveHandlers,n)?directiveHandlers[n](e,n,i):throwWarning(e,'unknown document directive "'+n+'"')}return skipSeparationSpace(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,skipSeparationSpace(e,!0,-1)):a&&throwError(e,"directives end mark is expected"),composeNode(e,e.lineIndent-1,CONTEXT_BLOCK_OUT,!1,!0),skipSeparationSpace(e,!0,-1),e.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(e.input.slice(r,e.position))&&throwWarning(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&testDocumentSeparator(e)?void(46===e.input.charCodeAt(e.position)&&(e.position+=3,skipSeparationSpace(e,!0,-1))):void(e.position<e.length-1&&throwError(e,"end of the stream or a document separator is expected"))}function loadDocuments(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new State(e,t);for(n.input+="\x00";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)readDocument(n);return n.documents}function loadAll(e,t,n){var i,o,r=loadDocuments(e,n);for(i=0,o=r.length;o>i;i+=1)t(r[i])}function load(e,t){var n=loadDocuments(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new YAMLException("expected a single document in the stream, but found more")}}function safeLoadAll(e,t,n){loadAll(e,t,common.extend({schema:DEFAULT_SAFE_SCHEMA},n))}function safeLoad(e,t){return load(e,common.extend({schema:DEFAULT_SAFE_SCHEMA},t))}for(var common=require("./common"),YAMLException=require("./exception"),Mark=require("./mark"),DEFAULT_SAFE_SCHEMA=require("./schema/default_safe"),DEFAULT_FULL_SCHEMA=require("./schema/default_full"),_hasOwnProperty=Object.prototype.hasOwnProperty,CONTEXT_FLOW_IN=1,CONTEXT_FLOW_OUT=2,CONTEXT_BLOCK_IN=3,CONTEXT_BLOCK_OUT=4,CHOMPING_CLIP=1,CHOMPING_STRIP=2,CHOMPING_KEEP=3,PATTERN_NON_PRINTABLE=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,PATTERN_NON_ASCII_LINE_BREAKS=/[\x85\u2028\u2029]/,PATTERN_FLOW_INDICATORS=/[,\[\]\{\}]/,PATTERN_TAG_HANDLE=/^(?:!|!!|![a-z\-]+!)$/i,PATTERN_TAG_URI=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,simpleEscapeCheck=new Array(256),simpleEscapeMap=new Array(256),i=0;256>i;i++)simpleEscapeCheck[i]=simpleEscapeSequence(i)?1:0,simpleEscapeMap[i]=simpleEscapeSequence(i);var directiveHandlers={YAML:function(e,t,n){var i,o,r;null!==e.version&&throwError(e,"duplication of %YAML directive"),1!==n.length&&throwError(e,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),null===i&&throwError(e,"ill-formed argument of the YAML directive"),o=parseInt(i[1],10),r=parseInt(i[2],10),1!==o&&throwError(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=2>r,1!==r&&2!==r&&throwWarning(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,o;2!==n.length&&throwError(e,"TAG directive accepts exactly two arguments"),i=n[0],o=n[1],PATTERN_TAG_HANDLE.test(i)||throwError(e,"ill-formed tag handle (first argument) of the TAG directive"),_hasOwnProperty.call(e.tagMap,i)&&throwError(e,'there is a previously declared suffix for "'+i+'" tag handle'),PATTERN_TAG_URI.test(o)||throwError(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=o}};module.exports.loadAll=loadAll,module.exports.load=load,module.exports.safeLoadAll=safeLoadAll,module.exports.safeLoad=safeLoad;
15562
15563},{"./common":40,"./exception":42,"./mark":44,"./schema/default_full":47,"./schema/default_safe":48}],44:[function(require,module,exports){
15564"use strict";function Mark(t,i,n,e,r){this.name=t,this.buffer=i,this.position=n,this.line=e,this.column=r}var common=require("./common");Mark.prototype.getSnippet=function(t,i){var n,e,r,o,s;if(!this.buffer)return null;for(t=t||4,i=i||75,n="",e=this.position;e>0&&-1==="\x00\r\n…\u2028\u2029".indexOf(this.buffer.charAt(e-1));)if(e-=1,this.position-e>i/2-1){n=" ... ",e+=5;break}for(r="",o=this.position;o<this.buffer.length&&-1==="\x00\r\n…\u2028\u2029".indexOf(this.buffer.charAt(o));)if(o+=1,o-this.position>i/2-1){r=" ... ",o-=5;break}return s=this.buffer.slice(e,o),common.repeat(" ",t)+n+s+r+"\n"+common.repeat(" ",t+this.position-e+n.length)+"^"},Mark.prototype.toString=function(t){var i,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),t||(i=this.getSnippet(),i&&(n+=":\n"+i)),n},module.exports=Mark;
15565
15566},{"./common":40}],45:[function(require,module,exports){
15567"use strict";function compileList(i,e,t){var c=[];return i.include.forEach(function(i){t=compileList(i,e,t)}),i[e].forEach(function(i){t.forEach(function(e,t){e.tag===i.tag&&c.push(t)}),t.push(i)}),t.filter(function(i,e){return-1===c.indexOf(e)})}function compileMap(){function i(i){c[i.tag]=i}var e,t,c={};for(e=0,t=arguments.length;t>e;e+=1)arguments[e].forEach(i);return c}function Schema(i){this.include=i.include||[],this.implicit=i.implicit||[],this.explicit=i.explicit||[],this.implicit.forEach(function(i){if(i.loadKind&&"scalar"!==i.loadKind)throw new YAMLException("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=compileList(this,"implicit",[]),this.compiledExplicit=compileList(this,"explicit",[]),this.compiledTypeMap=compileMap(this.compiledImplicit,this.compiledExplicit)}var common=require("./common"),YAMLException=require("./exception"),Type=require("./type");Schema.DEFAULT=null,Schema.create=function(){var i,e;switch(arguments.length){case 1:i=Schema.DEFAULT,e=arguments[0];break;case 2:i=arguments[0],e=arguments[1];break;default:throw new YAMLException("Wrong number of arguments for Schema.create function")}if(i=common.toArray(i),e=common.toArray(e),!i.every(function(i){return i instanceof Schema}))throw new YAMLException("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!e.every(function(i){return i instanceof Type}))throw new YAMLException("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new Schema({include:i,explicit:e})},module.exports=Schema;
15568
15569},{"./common":40,"./exception":42,"./type":51}],46:[function(require,module,exports){
15570"use strict";var Schema=require("../schema");module.exports=new Schema({include:[require("./json")]});
15571
15572},{"../schema":45,"./json":50}],47:[function(require,module,exports){
15573"use strict";var Schema=require("../schema");module.exports=Schema.DEFAULT=new Schema({include:[require("./default_safe")],explicit:[require("../type/js/undefined"),require("../type/js/regexp"),require("../type/js/function")]});
15574
15575},{"../schema":45,"../type/js/function":56,"../type/js/regexp":57,"../type/js/undefined":58,"./default_safe":48}],48:[function(require,module,exports){
15576"use strict";var Schema=require("../schema");module.exports=new Schema({include:[require("./core")],implicit:[require("../type/timestamp"),require("../type/merge")],explicit:[require("../type/binary"),require("../type/omap"),require("../type/pairs"),require("../type/set")]});
15577
15578},{"../schema":45,"../type/binary":52,"../type/merge":60,"../type/omap":62,"../type/pairs":63,"../type/set":65,"../type/timestamp":67,"./core":46}],49:[function(require,module,exports){
15579"use strict";var Schema=require("../schema");module.exports=new Schema({explicit:[require("../type/str"),require("../type/seq"),require("../type/map")]});
15580
15581},{"../schema":45,"../type/map":59,"../type/seq":64,"../type/str":66}],50:[function(require,module,exports){
15582"use strict";var Schema=require("../schema");module.exports=new Schema({include:[require("./failsafe")],implicit:[require("../type/null"),require("../type/bool"),require("../type/int"),require("../type/float")]});
15583
15584},{"../schema":45,"../type/bool":53,"../type/float":54,"../type/int":55,"../type/null":61,"./failsafe":49}],51:[function(require,module,exports){
15585"use strict";function compileStyleAliases(e){var t={};return null!==e&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function Type(e,t){if(t=t||{},Object.keys(t).forEach(function(t){if(-1===TYPE_CONSTRUCTOR_OPTIONS.indexOf(t))throw new YAMLException('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=compileStyleAliases(t.styleAliases||null),-1===YAML_NODE_KINDS.indexOf(this.kind))throw new YAMLException('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var YAMLException=require("./exception"),TYPE_CONSTRUCTOR_OPTIONS=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],YAML_NODE_KINDS=["scalar","sequence","mapping"];module.exports=Type;
15586
15587},{"./exception":42}],52:[function(require,module,exports){
15588"use strict";function resolveYamlBinary(r){if(null===r)return!1;var e,n,u=0,t=r.length,a=BASE64_MAP;for(n=0;t>n;n++)if(e=a.indexOf(r.charAt(n)),!(e>64)){if(0>e)return!1;u+=6}return u%8===0}function constructYamlBinary(r){var e,n,u=r.replace(/[\r\n=]/g,""),t=u.length,a=BASE64_MAP,f=0,i=[];for(e=0;t>e;e++)e%4===0&&e&&(i.push(f>>16&255),i.push(f>>8&255),i.push(255&f)),f=f<<6|a.indexOf(u.charAt(e));return n=t%4*6,0===n?(i.push(f>>16&255),i.push(f>>8&255),i.push(255&f)):18===n?(i.push(f>>10&255),i.push(f>>2&255)):12===n&&i.push(f>>4&255),NodeBuffer?new NodeBuffer(i):i}function representYamlBinary(r){var e,n,u="",t=0,a=r.length,f=BASE64_MAP;for(e=0;a>e;e++)e%3===0&&e&&(u+=f[t>>18&63],u+=f[t>>12&63],u+=f[t>>6&63],u+=f[63&t]),t=(t<<8)+r[e];return n=a%3,0===n?(u+=f[t>>18&63],u+=f[t>>12&63],u+=f[t>>6&63],u+=f[63&t]):2===n?(u+=f[t>>10&63],u+=f[t>>4&63],u+=f[t<<2&63],u+=f[64]):1===n&&(u+=f[t>>2&63],u+=f[t<<4&63],u+=f[64],u+=f[64]),u}function isBinary(r){return NodeBuffer&&NodeBuffer.isBuffer(r)}var NodeBuffer;try{var _require=require;NodeBuffer=_require("buffer").Buffer}catch(__){}var Type=require("../type"),BASE64_MAP="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";module.exports=new Type("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary});
15589
15590},{"../type":51}],53:[function(require,module,exports){
15591"use strict";function resolveYamlBoolean(e){if(null===e)return!1;var r=e.length;return 4===r&&("true"===e||"True"===e||"TRUE"===e)||5===r&&("false"===e||"False"===e||"FALSE"===e)}function constructYamlBoolean(e){return"true"===e||"True"===e||"TRUE"===e}function isBoolean(e){return"[object Boolean]"===Object.prototype.toString.call(e)}var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});
15592
15593},{"../type":51}],54:[function(require,module,exports){
15594"use strict";function resolveYamlFloat(e){return null===e?!1:!!YAML_FLOAT_PATTERN.test(e)}function constructYamlFloat(e){var r,t,a,n;return r=e.replace(/_/g,"").toLowerCase(),t="-"===r[0]?-1:1,n=[],"+-".indexOf(r[0])>=0&&(r=r.slice(1)),".inf"===r?1===t?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===r?NaN:r.indexOf(":")>=0?(r.split(":").forEach(function(e){n.unshift(parseFloat(e,10))}),r=0,a=1,n.forEach(function(e){r+=e*a,a*=60}),t*r):t*parseFloat(r,10)}function representYamlFloat(e,r){var t;if(isNaN(e))switch(r){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(r){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(r){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(common.isNegativeZero(e))return"-0.0";return t=e.toString(10),SCIENTIFIC_WITHOUT_DOT.test(t)?t.replace("e",".e"):t}function isFloat(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!==0||common.isNegativeZero(e))}var common=require("../common"),Type=require("../type"),YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?|\\.[0-9_]+(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),SCIENTIFIC_WITHOUT_DOT=/^[-+]?[0-9]+e/;module.exports=new Type("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"});
15595
15596},{"../common":40,"../type":51}],55:[function(require,module,exports){
15597"use strict";function isHexCode(e){return e>=48&&57>=e||e>=65&&70>=e||e>=97&&102>=e}function isOctCode(e){return e>=48&&55>=e}function isDecCode(e){return e>=48&&57>=e}function resolveYamlInteger(e){if(null===e)return!1;var r,t=e.length,n=0,i=!1;if(!t)return!1;if(r=e[n],"-"!==r&&"+"!==r||(r=e[++n]),"0"===r){if(n+1===t)return!0;if(r=e[++n],"b"===r){for(n++;t>n;n++)if(r=e[n],"_"!==r){if("0"!==r&&"1"!==r)return!1;i=!0}return i}if("x"===r){for(n++;t>n;n++)if(r=e[n],"_"!==r){if(!isHexCode(e.charCodeAt(n)))return!1;i=!0}return i}for(;t>n;n++)if(r=e[n],"_"!==r){if(!isOctCode(e.charCodeAt(n)))return!1;i=!0}return i}for(;t>n;n++)if(r=e[n],"_"!==r){if(":"===r)break;if(!isDecCode(e.charCodeAt(n)))return!1;i=!0}return i?":"!==r?!0:/^(:[0-5]?[0-9])+$/.test(e.slice(n)):!1}function constructYamlInteger(e){var r,t,n=e,i=1,o=[];return-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),r=n[0],"-"!==r&&"+"!==r||("-"===r&&(i=-1),n=n.slice(1),r=n[0]),"0"===n?0:"0"===r?"b"===n[1]?i*parseInt(n.slice(2),2):"x"===n[1]?i*parseInt(n,16):i*parseInt(n,8):-1!==n.indexOf(":")?(n.split(":").forEach(function(e){o.unshift(parseInt(e,10))}),n=0,t=1,o.forEach(function(e){n+=e*t,t*=60}),i*n):i*parseInt(n,10)}function isInteger(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1===0&&!common.isNegativeZero(e)}var common=require("../common"),Type=require("../type");module.exports=new Type("tag:yaml.org,2002:int",{kind:"scalar",resolve:resolveYamlInteger,construct:constructYamlInteger,predicate:isInteger,represent:{binary:function(e){return"0b"+e.toString(2)},octal:function(e){return"0"+e.toString(8)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return"0x"+e.toString(16).toUpperCase()}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}});
15598
15599},{"../common":40,"../type":51}],56:[function(require,module,exports){
15600"use strict";function resolveJavascriptFunction(e){if(null===e)return!1;try{var r="("+e+")",n=esprima.parse(r,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&"FunctionExpression"===n.body[0].expression.type}catch(t){return!1}}function constructJavascriptFunction(e){var r,n="("+e+")",t=esprima.parse(n,{range:!0}),o=[];if("Program"!==t.type||1!==t.body.length||"ExpressionStatement"!==t.body[0].type||"FunctionExpression"!==t.body[0].expression.type)throw new Error("Failed to resolve function");return t.body[0].expression.params.forEach(function(e){o.push(e.name)}),r=t.body[0].expression.body.range,new Function(o,n.slice(r[0]+1,r[1]-1))}function representJavascriptFunction(e){return e.toString()}function isFunction(e){return"[object Function]"===Object.prototype.toString.call(e)}var esprima;try{var _require=require;esprima=_require("esprima")}catch(_){"undefined"!=typeof window&&(esprima=window.esprima)}var Type=require("../../type");module.exports=new Type("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction,represent:representJavascriptFunction});
15601
15602},{"../../type":51}],57:[function(require,module,exports){
15603"use strict";function resolveJavascriptRegExp(e){if(null===e)return!1;if(0===e.length)return!1;var r=e,t=/\/([gim]*)$/.exec(e),n="";if("/"===r[0]){if(t&&(n=t[1]),n.length>3)return!1;if("/"!==r[r.length-n.length-1])return!1}return!0}function constructJavascriptRegExp(e){var r=e,t=/\/([gim]*)$/.exec(e),n="";return"/"===r[0]&&(t&&(n=t[1]),r=r.slice(1,r.length-n.length-1)),new RegExp(r,n)}function representJavascriptRegExp(e){var r="/"+e.source+"/";return e.global&&(r+="g"),e.multiline&&(r+="m"),e.ignoreCase&&(r+="i"),r}function isRegExp(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var Type=require("../../type");module.exports=new Type("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp});
15604
15605},{"../../type":51}],58:[function(require,module,exports){
15606"use strict";function resolveJavascriptUndefined(){return!0}function constructJavascriptUndefined(){}function representJavascriptUndefined(){return""}function isUndefined(e){return"undefined"==typeof e}var Type=require("../../type");module.exports=new Type("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined});
15607
15608},{"../../type":51}],59:[function(require,module,exports){
15609"use strict";var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}});
15610
15611},{"../type":51}],60:[function(require,module,exports){
15612"use strict";function resolveYamlMerge(e){return"<<"===e||null===e}var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge});
15613
15614},{"../type":51}],61:[function(require,module,exports){
15615"use strict";function resolveYamlNull(l){if(null===l)return!0;var e=l.length;return 1===e&&"~"===l||4===e&&("null"===l||"Null"===l||"NULL"===l)}function constructYamlNull(){return null}function isNull(l){return null===l}var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"});
15616
15617},{"../type":51}],62:[function(require,module,exports){
15618"use strict";function resolveYamlOmap(r){if(null===r)return!0;var t,e,n,o,u,a=[],l=r;for(t=0,e=l.length;e>t;t+=1){if(n=l[t],u=!1,"[object Object]"!==_toString.call(n))return!1;for(o in n)if(_hasOwnProperty.call(n,o)){if(u)return!1;u=!0}if(!u)return!1;if(-1!==a.indexOf(o))return!1;a.push(o)}return!0}function constructYamlOmap(r){return null!==r?r:[]}var Type=require("../type"),_hasOwnProperty=Object.prototype.hasOwnProperty,_toString=Object.prototype.toString;module.exports=new Type("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOmap});
15619
15620},{"../type":51}],63:[function(require,module,exports){
15621"use strict";function resolveYamlPairs(r){if(null===r)return!0;var e,t,n,l,o,a=r;for(o=new Array(a.length),e=0,t=a.length;t>e;e+=1){if(n=a[e],"[object Object]"!==_toString.call(n))return!1;if(l=Object.keys(n),1!==l.length)return!1;o[e]=[l[0],n[l[0]]]}return!0}function constructYamlPairs(r){if(null===r)return[];var e,t,n,l,o,a=r;for(o=new Array(a.length),e=0,t=a.length;t>e;e+=1)n=a[e],l=Object.keys(n),o[e]=[l[0],n[l[0]]];return o}var Type=require("../type"),_toString=Object.prototype.toString;module.exports=new Type("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs,construct:constructYamlPairs});
15622
15623},{"../type":51}],64:[function(require,module,exports){
15624"use strict";var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}});
15625
15626},{"../type":51}],65:[function(require,module,exports){
15627"use strict";function resolveYamlSet(e){if(null===e)return!0;var r,t=e;for(r in t)if(_hasOwnProperty.call(t,r)&&null!==t[r])return!1;return!0}function constructYamlSet(e){return null!==e?e:{}}var Type=require("../type"),_hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=new Type("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet});
15628
15629},{"../type":51}],66:[function(require,module,exports){
15630"use strict";var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:str",{kind:"scalar",construct:function(r){return null!==r?r:""}});
15631
15632},{"../type":51}],67:[function(require,module,exports){
15633"use strict";function resolveYamlTimestamp(e){return null===e?!1:null!==YAML_DATE_REGEXP.exec(e)?!0:null!==YAML_TIMESTAMP_REGEXP.exec(e)}function constructYamlTimestamp(e){var t,r,n,l,a,m,s,T,i,E,u=0,o=null;if(t=YAML_DATE_REGEXP.exec(e),null===t&&(t=YAML_TIMESTAMP_REGEXP.exec(e)),null===t)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,l=+t[3],!t[4])return new Date(Date.UTC(r,n,l));if(a=+t[4],m=+t[5],s=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+="0";u=+u}return t[9]&&(T=+t[10],i=+(t[11]||0),o=6e4*(60*T+i),"-"===t[9]&&(o=-o)),E=new Date(Date.UTC(r,n,l,a,m,s,u)),o&&E.setTime(E.getTime()-o),E}function representYamlTimestamp(e){return e.toISOString()}var Type=require("../type"),YAML_DATE_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),YAML_TIMESTAMP_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");module.exports=new Type("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp});
15634
15635},{"../type":51}],68:[function(require,module,exports){
15636function parse(e){if(e=""+e,!(e.length>1e4)){var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(a){var r=parseFloat(a[1]),c=(a[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return r*y;case"days":case"day":case"d":return r*d;case"hours":case"hour":case"hrs":case"hr":case"h":return r*h;case"minutes":case"minute":case"mins":case"min":case"m":return r*m;case"seconds":case"second":case"secs":case"sec":case"s":return r*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r}}}}function short(e){return e>=d?Math.round(e/d)+"d":e>=h?Math.round(e/h)+"h":e>=m?Math.round(e/m)+"m":e>=s?Math.round(e/s)+"s":e+"ms"}function long(e){return plural(e,d,"day")||plural(e,h,"hour")||plural(e,m,"minute")||plural(e,s,"second")||e+" ms"}function plural(s,e,a){return e>s?void 0:1.5*e>s?Math.floor(s/e)+" "+a:Math.ceil(s/e)+" "+a+"s"}var s=1e3,m=60*s,h=60*m,d=24*h,y=365.25*d;module.exports=function(s,e){return e=e||{},"string"==typeof s?parse(s):e["long"]?long(s):short(s)};
15637
15638},{}],69:[function(require,module,exports){
15639/**!
15640 * Ono v2.2.1
15641 *
15642 * @link https://github.com/BigstickCarpet/ono
15643 * @license MIT
15644 */
15645"use strict";function create(e){return function(r,t,o,n){var c,a=module.exports.formatter;"string"==typeof r?(c=a.apply(null,arguments),r=t=void 0):c="string"==typeof t?a.apply(null,slice.call(arguments,1)):a.apply(null,slice.call(arguments,2)),r instanceof Error||(t=r,r=void 0),r&&(c+=(c?" \n":"")+r.message);var i=new e(c);return extendError(i,r),extendToJSON(i),extend(i,t),i}}function extendError(e,r){r&&(extendStack(e,r),extend(e,r,!0))}function extendToJSON(e){e.toJSON=errorToJSON,e.inspect=errorToString}function extend(e,r,t){if(r&&"object"==typeof r)for(var o=Object.keys(r),n=0;n<o.length;n++){var c=o[n];if(!(t&&vendorSpecificErrorProperties.indexOf(c)>=0))try{e[c]=r[c]}catch(a){}}}function errorToJSON(){var e={},r=Object.keys(this);r=r.concat(vendorSpecificErrorProperties);for(var t=0;t<r.length;t++){var o=r[t],n=this[o],c=typeof n;"undefined"!==c&&"function"!==c&&(e[o]=n)}return e}function errorToString(){return JSON.stringify(this,null,2).replace(/\\n/g,"\n")}function extendStack(e,r){if(hasLazyStack(r))extendStackProperty(e,r);else{var t=r.stack;t&&(e.stack+=" \n\n"+r.stack)}}function hasLazyStack(e){if(!supportsLazyStack)return!1;var r=Object.getOwnPropertyDescriptor(e,"stack");return r?"function"==typeof r.get:!1}function extendStackProperty(e,r){var t=Object.getOwnPropertyDescriptor(r,"stack");if(t){var o=Object.getOwnPropertyDescriptor(e,"stack");Object.defineProperty(e,"stack",{get:function(){return o.get.apply(e)+" \n\n"+r.stack},enumerable:!1,configurable:!0})}}var util=require("util"),slice=Array.prototype.slice,vendorSpecificErrorProperties=["name","message","description","number","fileName","lineNumber","columnNumber","sourceURL","line","column","stack"];module.exports=create(Error),module.exports.error=create(Error),module.exports.eval=create(EvalError),module.exports.range=create(RangeError),module.exports.reference=create(ReferenceError),module.exports.syntax=create(SyntaxError),module.exports.type=create(TypeError),module.exports.uri=create(URIError),module.exports.formatter=util.format;var supportsLazyStack=function(){return!(!Object.getOwnPropertyDescriptor||!Object.defineProperty||"undefined"!=typeof navigator&&/Android/.test(navigator.userAgent))}();
15646
15647},{"util":97}],70:[function(require,module,exports){
15648(function (process){
15649"use strict";function nextTick(e){for(var s=new Array(arguments.length-1),n=0;n<s.length;)s[n++]=arguments[n];process.nextTick(function(){e.apply(null,s)})}!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?module.exports=nextTick:module.exports=process.nextTick;
15650
15651}).call(this,require('_process'))
15652
15653},{"_process":71}],71:[function(require,module,exports){
15654function cleanUpNextTick(){draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue()}function drainQueue(){if(!draining){var e=setTimeout(cleanUpNextTick);draining=!0;for(var n=queue.length;n;){for(currentQueue=queue,queue=[];++queueIndex<n;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,n=queue.length}currentQueue=null,draining=!1,clearTimeout(e)}}function Item(e,n){this.fun=e,this.array=n}function noop(){}var process=module.exports={},queue=[],draining=!1,currentQueue,queueIndex=-1;process.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)n[r-1]=arguments[r];queue.push(new Item(e,n)),1!==queue.length||draining||setTimeout(drainQueue,0)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.binding=function(e){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(e){throw new Error("process.chdir is not supported")},process.umask=function(){return 0};
15655
15656},{}],72:[function(require,module,exports){
15657(function (global){
15658/*! https://mths.be/punycode v1.4.1 by @mathias */
15659!function(e){function o(e){throw new RangeError(T[e])}function n(e,o){for(var n=e.length,r=[];n--;)r[n]=o(e[n]);return r}function r(e,o){var r=e.split("@"),t="";r.length>1&&(t=r[0]+"@",e=r[1]),e=e.replace(S,".");var u=e.split("."),i=n(u,o).join(".");return t+i}function t(e){for(var o,n,r=[],t=0,u=e.length;u>t;)o=e.charCodeAt(t++),o>=55296&&56319>=o&&u>t?(n=e.charCodeAt(t++),56320==(64512&n)?r.push(((1023&o)<<10)+(1023&n)+65536):(r.push(o),t--)):r.push(o);return r}function u(e){return n(e,function(e){var o="";return e>65535&&(e-=65536,o+=P(e>>>10&1023|55296),e=56320|1023&e),o+=P(e)}).join("")}function i(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:b}function f(e,o){return e+22+75*(26>e)-((0!=o)<<5)}function c(e,o,n){var r=0;for(e=n?M(e/j):e>>1,e+=M(e/o);e>L*C>>1;r+=b)e=M(e/L);return M(r+(L+1)*e/(e+m))}function l(e){var n,r,t,f,l,s,d,a,p,h,v=[],g=e.length,w=0,m=I,j=A;for(r=e.lastIndexOf(E),0>r&&(r=0),t=0;r>t;++t)e.charCodeAt(t)>=128&&o("not-basic"),v.push(e.charCodeAt(t));for(f=r>0?r+1:0;g>f;){for(l=w,s=1,d=b;f>=g&&o("invalid-input"),a=i(e.charCodeAt(f++)),(a>=b||a>M((x-w)/s))&&o("overflow"),w+=a*s,p=j>=d?y:d>=j+C?C:d-j,!(p>a);d+=b)h=b-p,s>M(x/h)&&o("overflow"),s*=h;n=v.length+1,j=c(w-l,n,0==l),M(w/n)>x-m&&o("overflow"),m+=M(w/n),w%=n,v.splice(w++,0,m)}return u(v)}function s(e){var n,r,u,i,l,s,d,a,p,h,v,g,w,m,j,F=[];for(e=t(e),g=e.length,n=I,r=0,l=A,s=0;g>s;++s)v=e[s],128>v&&F.push(P(v));for(u=i=F.length,i&&F.push(E);g>u;){for(d=x,s=0;g>s;++s)v=e[s],v>=n&&d>v&&(d=v);for(w=u+1,d-n>M((x-r)/w)&&o("overflow"),r+=(d-n)*w,n=d,s=0;g>s;++s)if(v=e[s],n>v&&++r>x&&o("overflow"),v==n){for(a=r,p=b;h=l>=p?y:p>=l+C?C:p-l,!(h>a);p+=b)j=a-h,m=b-h,F.push(P(f(h+j%m,0))),a=M(j/m);F.push(P(f(a,0))),l=c(r,w,u==i),r=0,++u}++r,++n}return F.join("")}function d(e){return r(e,function(e){return F.test(e)?l(e.slice(4).toLowerCase()):e})}function a(e){return r(e,function(e){return O.test(e)?"xn--"+s(e):e})}var p="object"==typeof exports&&exports&&!exports.nodeType&&exports,h="object"==typeof module&&module&&!module.nodeType&&module,v="object"==typeof global&&global;v.global!==v&&v.window!==v&&v.self!==v||(e=v);var g,w,x=2147483647,b=36,y=1,C=26,m=38,j=700,A=72,I=128,E="-",F=/^xn--/,O=/[^\x20-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,T={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=b-y,M=Math.floor,P=String.fromCharCode;if(g={version:"1.4.1",ucs2:{decode:t,encode:u},decode:l,encode:s,toASCII:a,toUnicode:d},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return g});else if(p&&h)if(module.exports==p)h.exports=g;else for(w in g)g.hasOwnProperty(w)&&(p[w]=g[w]);else e.punycode=g}(this);
15660
15661}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
15662
15663},{}],73:[function(require,module,exports){
15664"use strict";function hasOwnProperty(r,e){return Object.prototype.hasOwnProperty.call(r,e)}module.exports=function(r,e,t,n){e=e||"&",t=t||"=";var o={};if("string"!=typeof r||0===r.length)return o;var a=/\+/g;r=r.split(e);var s=1e3;n&&"number"==typeof n.maxKeys&&(s=n.maxKeys);var p=r.length;s>0&&p>s&&(p=s);for(var y=0;p>y;++y){var u,c,i,l,f=r[y].replace(a,"%20"),v=f.indexOf(t);v>=0?(u=f.substr(0,v),c=f.substr(v+1)):(u=f,c=""),i=decodeURIComponent(u),l=decodeURIComponent(c),hasOwnProperty(o,i)?isArray(o[i])?o[i].push(l):o[i]=[o[i],l]:o[i]=l}return o};var isArray=Array.isArray||function(r){return"[object Array]"===Object.prototype.toString.call(r)};
15665
15666},{}],74:[function(require,module,exports){
15667"use strict";function map(r,e){if(r.map)return r.map(e);for(var t=[],n=0;n<r.length;n++)t.push(e(r[n],n));return t}var stringifyPrimitive=function(r){switch(typeof r){case"string":return r;case"boolean":return r?"true":"false";case"number":return isFinite(r)?r:"";default:return""}};module.exports=function(r,e,t,n){return e=e||"&",t=t||"=",null===r&&(r=void 0),"object"==typeof r?map(objectKeys(r),function(n){var i=encodeURIComponent(stringifyPrimitive(n))+t;return isArray(r[n])?map(r[n],function(r){return i+encodeURIComponent(stringifyPrimitive(r))}).join(e):i+encodeURIComponent(stringifyPrimitive(r[n]))}).join(e):n?encodeURIComponent(stringifyPrimitive(n))+t+encodeURIComponent(stringifyPrimitive(r)):""};var isArray=Array.isArray||function(r){return"[object Array]"===Object.prototype.toString.call(r)},objectKeys=Object.keys||function(r){var e=[];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.push(t);return e};
15668
15669},{}],75:[function(require,module,exports){
15670"use strict";exports.decode=exports.parse=require("./decode"),exports.encode=exports.stringify=require("./encode");
15671
15672},{"./decode":73,"./encode":74}],76:[function(require,module,exports){
15673module.exports=require("./lib/_stream_duplex.js");
15674
15675},{"./lib/_stream_duplex.js":77}],77:[function(require,module,exports){
15676"use strict";function Duplex(e){return this instanceof Duplex?(Readable.call(this,e),Writable.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",onend)):new Duplex(e)}function onend(){this.allowHalfOpen||this._writableState.ended||processNextTick(onEndNT,this)}function onEndNT(e){e.end()}function forEach(e,t){for(var r=0,i=e.length;i>r;r++)t(e[r],r)}var objectKeys=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};module.exports=Duplex;var processNextTick=require("process-nextick-args"),util=require("core-util-is");util.inherits=require("inherits");var Readable=require("./_stream_readable"),Writable=require("./_stream_writable");util.inherits(Duplex,Readable);for(var keys=objectKeys(Writable.prototype),v=0;v<keys.length;v++){var method=keys[v];Duplex.prototype[method]||(Duplex.prototype[method]=Writable.prototype[method])}
15677
15678},{"./_stream_readable":79,"./_stream_writable":81,"core-util-is":28,"inherits":35,"process-nextick-args":70}],78:[function(require,module,exports){
15679"use strict";function PassThrough(r){return this instanceof PassThrough?void Transform.call(this,r):new PassThrough(r)}module.exports=PassThrough;var Transform=require("./_stream_transform"),util=require("core-util-is");util.inherits=require("inherits"),util.inherits(PassThrough,Transform),PassThrough.prototype._transform=function(r,s,i){i(null,r)};
15680
15681},{"./_stream_transform":80,"core-util-is":28,"inherits":35}],79:[function(require,module,exports){
15682(function (process){
15683"use strict";function ReadableState(e,t){Duplex=Duplex||require("./_stream_duplex"),e=e||{},this.objectMode=!!e.objectMode,t instanceof Duplex&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(StringDecoder||(StringDecoder=require("string_decoder/").StringDecoder),this.decoder=new StringDecoder(e.encoding),this.encoding=e.encoding)}function Readable(e){return Duplex=Duplex||require("./_stream_duplex"),this instanceof Readable?(this._readableState=new ReadableState(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),void Stream.call(this)):new Readable(e)}function readableAddChunk(e,t,r,n,a){var i=chunkInvalid(t,r);if(i)e.emit("error",i);else if(null===r)t.reading=!1,onEofChunk(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!a){var d=new Error("stream.push() after EOF");e.emit("error",d)}else if(t.endEmitted&&a){var d=new Error("stream.unshift() after end event");e.emit("error",d)}else{var o;!t.decoder||a||n||(r=t.decoder.write(r),o=!t.objectMode&&0===r.length),a||(t.reading=!1),o||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,a?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&emitReadable(e))),maybeReadMore(e,t)}else a||(t.reading=!1);return needMoreData(t)}function needMoreData(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function computeNewHighWaterMark(e){return e>=MAX_HWM?e=MAX_HWM:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function howMuchToRead(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=computeNewHighWaterMark(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function chunkInvalid(e,t){var r=null;return Buffer.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function onEofChunk(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,emitReadable(e)}}function emitReadable(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(debug("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?processNextTick(emitReadable_,e):emitReadable_(e))}function emitReadable_(e){debug("emit readable"),e.emit("readable"),flow(e)}function maybeReadMore(e,t){t.readingMore||(t.readingMore=!0,processNextTick(maybeReadMore_,e,t))}function maybeReadMore_(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(debug("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function pipeOnDrain(e){return function(){var t=e._readableState;debug("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&EElistenerCount(e,"data")&&(t.flowing=!0,flow(e))}}function nReadingNextTick(e){debug("readable nexttick read 0"),e.read(0)}function resume(e,t){t.resumeScheduled||(t.resumeScheduled=!0,processNextTick(resume_,e,t))}function resume_(e,t){t.reading||(debug("resume read 0"),e.read(0)),t.resumeScheduled=!1,e.emit("resume"),flow(e),t.flowing&&!t.reading&&e.read(0)}function flow(e){var t=e._readableState;if(debug("flow",t.flowing),t.flowing)do var r=e.read();while(null!==r&&t.flowing)}function fromList(e,t){var r,n=t.buffer,a=t.length,i=!!t.decoder,d=!!t.objectMode;if(0===n.length)return null;if(0===a)r=null;else if(d)r=n.shift();else if(!e||e>=a)r=i?n.join(""):1===n.length?n[0]:Buffer.concat(n,a),n.length=0;else if(e<n[0].length){var o=n[0];r=o.slice(0,e),n[0]=o.slice(e)}else if(e===n[0].length)r=n.shift();else{r=i?"":new Buffer(e);for(var l=0,u=0,s=n.length;s>u&&e>l;u++){var o=n[0],h=Math.min(e-l,o.length);i?r+=o.slice(0,h):o.copy(r,l,0,h),h<o.length?n[0]=o.slice(h):n.shift(),l+=h}}return r}function endReadable(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,processNextTick(endReadableNT,t,e))}function endReadableNT(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function forEach(e,t){for(var r=0,n=e.length;n>r;r++)t(e[r],r)}function indexOf(e,t){for(var r=0,n=e.length;n>r;r++)if(e[r]===t)return r;return-1}module.exports=Readable;var processNextTick=require("process-nextick-args"),isArray=require("isarray"),Buffer=require("buffer").Buffer;Readable.ReadableState=ReadableState;var EE=require("events"),EElistenerCount=function(e,t){return e.listeners(t).length},Stream;!function(){try{Stream=require("stream")}catch(e){}finally{Stream||(Stream=require("events").EventEmitter)}}();var Buffer=require("buffer").Buffer,util=require("core-util-is");util.inherits=require("inherits");var debugUtil=require("util"),debug=void 0;debug=debugUtil&&debugUtil.debuglog?debugUtil.debuglog("stream"):function(){};var StringDecoder;util.inherits(Readable,Stream);var Duplex,Duplex;Readable.prototype.push=function(e,t){var r=this._readableState;return r.objectMode||"string"!=typeof e||(t=t||r.defaultEncoding,t!==r.encoding&&(e=new Buffer(e,t),t="")),readableAddChunk(this,r,e,t,!1)},Readable.prototype.unshift=function(e){var t=this._readableState;return readableAddChunk(this,t,e,"",!0)},Readable.prototype.isPaused=function(){return this._readableState.flowing===!1},Readable.prototype.setEncoding=function(e){return StringDecoder||(StringDecoder=require("string_decoder/").StringDecoder),this._readableState.decoder=new StringDecoder(e),this._readableState.encoding=e,this};var MAX_HWM=8388608;Readable.prototype.read=function(e){debug("read",e);var t=this._readableState,r=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return debug("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?endReadable(this):emitReadable(this),null;if(e=howMuchToRead(e,t),0===e&&t.ended)return 0===t.length&&endReadable(this),null;var n=t.needReadable;debug("need readable",n),(0===t.length||t.length-e<t.highWaterMark)&&(n=!0,debug("length less than watermark",n)),(t.ended||t.reading)&&(n=!1,debug("reading or ended",n)),n&&(debug("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),n&&!t.reading&&(e=howMuchToRead(r,t));var a;return a=e>0?fromList(e,t):null,null===a&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),r!==e&&t.ended&&0===t.length&&endReadable(this),null!==a&&this.emit("data",a),a},Readable.prototype._read=function(e){this.emit("error",new Error("not implemented"))},Readable.prototype.pipe=function(e,t){function r(e){debug("onunpipe"),e===s&&a()}function n(){debug("onend"),e.end()}function a(){debug("cleanup"),e.removeListener("close",o),e.removeListener("finish",l),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",r),s.removeListener("end",n),s.removeListener("end",a),s.removeListener("data",i),b=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||c()}function i(t){debug("ondata");var r=e.write(t);!1===r&&(1!==h.pipesCount||h.pipes[0]!==e||1!==s.listenerCount("data")||b||(debug("false write response, pause",s._readableState.awaitDrain),s._readableState.awaitDrain++),s.pause())}function d(t){debug("onerror",t),u(),e.removeListener("error",d),0===EElistenerCount(e,"error")&&e.emit("error",t)}function o(){e.removeListener("finish",l),u()}function l(){debug("onfinish"),e.removeListener("close",o),u()}function u(){debug("unpipe"),s.unpipe(e)}var s=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,debug("pipe count=%d opts=%j",h.pipesCount,t);var f=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,p=f?n:a;h.endEmitted?processNextTick(p):s.once("end",p),e.on("unpipe",r);var c=pipeOnDrain(s);e.on("drain",c);var b=!1;return s.on("data",i),e._events&&e._events.error?isArray(e._events.error)?e._events.error.unshift(d):e._events.error=[d,e._events.error]:e.on("error",d),e.once("close",o),e.once("finish",l),e.emit("pipe",s),h.flowing||(debug("pipe resume"),s.resume()),e},Readable.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;n>a;a++)r[a].emit("unpipe",this);return this}var i=indexOf(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},Readable.prototype.on=function(e,t){var r=Stream.prototype.on.call(this,e,t);if("data"===e&&!1!==this._readableState.flowing&&this.resume(),"readable"===e&&!this._readableState.endEmitted){var n=this._readableState;n.readableListening||(n.readableListening=!0,n.emittedReadable=!1,n.needReadable=!0,n.reading?n.length&&emitReadable(this,n):processNextTick(nReadingNextTick,this))}return r},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.resume=function(){var e=this._readableState;return e.flowing||(debug("resume"),e.flowing=!0,resume(this,e)),this},Readable.prototype.pause=function(){return debug("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(debug("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Readable.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;e.on("end",function(){if(debug("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(a){if(debug("wrapped data"),t.decoder&&(a=t.decoder.write(a)),(!t.objectMode||null!==a&&void 0!==a)&&(t.objectMode||a&&a.length)){var i=n.push(a);i||(r=!0,e.pause())}});for(var a in e)void 0===this[a]&&"function"==typeof e[a]&&(this[a]=function(t){return function(){return e[t].apply(e,arguments)}}(a));var i=["error","close","destroy","pause","resume"];return forEach(i,function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(t){debug("wrapped _read",t),r&&(r=!1,e.resume())},n},Readable._fromList=fromList;
15684
15685}).call(this,require('_process'))
15686
15687},{"./_stream_duplex":77,"_process":71,"buffer":25,"core-util-is":28,"events":32,"inherits":35,"isarray":37,"process-nextick-args":70,"stream":86,"string_decoder/":91,"util":23}],80:[function(require,module,exports){
15688"use strict";function TransformState(r){this.afterTransform=function(t,n){return afterTransform(r,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function afterTransform(r,t,n){var e=r._transformState;e.transforming=!1;var i=e.writecb;if(!i)return r.emit("error",new Error("no writecb in Transform class"));e.writechunk=null,e.writecb=null,null!==n&&void 0!==n&&r.push(n),i(t);var a=r._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&r._read(a.highWaterMark)}function Transform(r){if(!(this instanceof Transform))return new Transform(r);Duplex.call(this,r),this._transformState=new TransformState(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,r&&("function"==typeof r.transform&&(this._transform=r.transform),"function"==typeof r.flush&&(this._flush=r.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(r){done(t,r)}):done(t)})}function done(r,t){if(t)return r.emit("error",t);var n=r._writableState,e=r._transformState;if(n.length)throw new Error("calling transform done when ws.length != 0");if(e.transforming)throw new Error("calling transform done when still transforming");return r.push(null)}module.exports=Transform;var Duplex=require("./_stream_duplex"),util=require("core-util-is");util.inherits=require("inherits"),util.inherits(Transform,Duplex),Transform.prototype.push=function(r,t){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,r,t)},Transform.prototype._transform=function(r,t,n){throw new Error("not implemented")},Transform.prototype._write=function(r,t,n){var e=this._transformState;if(e.writecb=n,e.writechunk=r,e.writeencoding=t,!e.transforming){var i=this._readableState;(e.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},Transform.prototype._read=function(r){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};
15689
15690},{"./_stream_duplex":77,"core-util-is":28,"inherits":35}],81:[function(require,module,exports){
15691(function (process){
15692"use strict";function nop(){}function WriteReq(e,t,r){this.chunk=e,this.encoding=t,this.callback=r,this.next=null}function WritableState(e,t){Duplex=Duplex||require("./_stream_duplex"),e=e||{},this.objectMode=!!e.objectMode,t instanceof Duplex&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){onwrite(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this),this.corkedRequestsFree.next=new CorkedRequest(this)}function Writable(e){return Duplex=Duplex||require("./_stream_duplex"),this instanceof Writable||this instanceof Duplex?(this._writableState=new WritableState(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),void Stream.call(this)):new Writable(e)}function writeAfterEnd(e,t){var r=new Error("write after end");e.emit("error",r),processNextTick(t,r)}function validChunk(e,t,r,i){var n=!0;if(!Buffer.isBuffer(r)&&"string"!=typeof r&&null!==r&&void 0!==r&&!t.objectMode){var s=new TypeError("Invalid non-string/buffer chunk");e.emit("error",s),processNextTick(i,s),n=!1}return n}function decodeChunk(e,t,r){return e.objectMode||e.decodeStrings===!1||"string"!=typeof t||(t=new Buffer(t,r)),t}function writeOrBuffer(e,t,r,i,n){r=decodeChunk(t,r,i),Buffer.isBuffer(r)&&(i="buffer");var s=t.objectMode?1:r.length;t.length+=s;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest=new WriteReq(r,i,n),u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else doWrite(e,t,!1,s,r,i,n);return f}function doWrite(e,t,r,i,n,s,f){t.writelen=i,t.writecb=f,t.writing=!0,t.sync=!0,r?e._writev(n,t.onwrite):e._write(n,s,t.onwrite),t.sync=!1}function onwriteError(e,t,r,i,n){--t.pendingcb,r?processNextTick(n,i):n(i),e._writableState.errorEmitted=!0,e.emit("error",i)}function onwriteStateUpdate(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function onwrite(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(onwriteStateUpdate(r),t)onwriteError(e,r,i,t,n);else{var s=needFinish(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||clearBuffer(e,r),i?asyncWrite(afterWrite,e,r,s,n):afterWrite(e,r,s,n)}}function afterWrite(e,t,r,i){r||onwriteDrain(e,t),t.pendingcb--,i(),finishMaybe(e,t)}function onwriteDrain(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function clearBuffer(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,n=new Array(i),s=t.corkedRequestsFree;s.entry=r;for(var f=0;r;)n[f]=r,r=r.next,f+=1;doWrite(e,t,!0,t.length,n,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=s.next,s.next=null}else{for(;r;){var u=r.chunk,o=r.encoding,a=r.callback,c=t.objectMode?1:u.length;if(doWrite(e,t,!1,c,u,o,a),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function needFinish(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function prefinish(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function finishMaybe(e,t){var r=needFinish(t);return r&&(0===t.pendingcb?(prefinish(e,t),t.finished=!0,e.emit("finish")):prefinish(e,t)),r}function endWritable(e,t,r){t.ending=!0,finishMaybe(e,t),r&&(t.finished?processNextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function CorkedRequest(e){var t=this;this.next=null,this.entry=null,this.finish=function(r){var i=t.entry;for(t.entry=null;i;){var n=i.callback;e.pendingcb--,n(r),i=i.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}module.exports=Writable;var processNextTick=require("process-nextick-args"),asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:processNextTick,Buffer=require("buffer").Buffer;Writable.WritableState=WritableState;var util=require("core-util-is");util.inherits=require("inherits");var internalUtil={deprecate:require("util-deprecate")},Stream;!function(){try{Stream=require("stream")}catch(e){}finally{Stream||(Stream=require("events").EventEmitter)}}();var Buffer=require("buffer").Buffer;util.inherits(Writable,Stream);var Duplex;WritableState.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var Duplex;Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},Writable.prototype.write=function(e,t,r){var i=this._writableState,n=!1;return"function"==typeof t&&(r=t,t=null),Buffer.isBuffer(e)?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=nop),i.ended?writeAfterEnd(this,r):validChunk(this,i,e,r)&&(i.pendingcb++,n=writeOrBuffer(this,i,e,t,r)),n},Writable.prototype.cork=function(){var e=this._writableState;e.corked++},Writable.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||clearBuffer(this,e))},Writable.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e},Writable.prototype._write=function(e,t,r){r(new Error("not implemented"))},Writable.prototype._writev=null,Writable.prototype.end=function(e,t,r){var i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||endWritable(this,i,r)};
15693
15694}).call(this,require('_process'))
15695
15696},{"./_stream_duplex":77,"_process":71,"buffer":25,"core-util-is":28,"events":32,"inherits":35,"process-nextick-args":70,"stream":86,"util-deprecate":95}],82:[function(require,module,exports){
15697module.exports=require("./lib/_stream_passthrough.js");
15698
15699},{"./lib/_stream_passthrough.js":78}],83:[function(require,module,exports){
15700var Stream=function(){try{return require("stream")}catch(r){}}();exports=module.exports=require("./lib/_stream_readable.js"),exports.Stream=Stream||exports,exports.Readable=exports,exports.Writable=require("./lib/_stream_writable.js"),exports.Duplex=require("./lib/_stream_duplex.js"),exports.Transform=require("./lib/_stream_transform.js"),exports.PassThrough=require("./lib/_stream_passthrough.js");
15701
15702},{"./lib/_stream_duplex.js":77,"./lib/_stream_passthrough.js":78,"./lib/_stream_readable.js":79,"./lib/_stream_transform.js":80,"./lib/_stream_writable.js":81,"stream":86}],84:[function(require,module,exports){
15703module.exports=require("./lib/_stream_transform.js");
15704
15705},{"./lib/_stream_transform.js":80}],85:[function(require,module,exports){
15706module.exports=require("./lib/_stream_writable.js");
15707
15708},{"./lib/_stream_writable.js":81}],86:[function(require,module,exports){
15709function Stream(){EE.call(this)}module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("inherits");inherits(Stream,EE),Stream.Readable=require("readable-stream/readable.js"),Stream.Writable=require("readable-stream/writable.js"),Stream.Duplex=require("readable-stream/duplex.js"),Stream.Transform=require("readable-stream/transform.js"),Stream.PassThrough=require("readable-stream/passthrough.js"),Stream.Stream=Stream,Stream.prototype.pipe=function(e,r){function t(r){e.writable&&!1===e.write(r)&&m.pause&&m.pause()}function n(){m.readable&&m.resume&&m.resume()}function a(){u||(u=!0,e.end())}function o(){u||(u=!0,"function"==typeof e.destroy&&e.destroy())}function i(e){if(s(),0===EE.listenerCount(this,"error"))throw e}function s(){m.removeListener("data",t),e.removeListener("drain",n),m.removeListener("end",a),m.removeListener("close",o),m.removeListener("error",i),e.removeListener("error",i),m.removeListener("end",s),m.removeListener("close",s),e.removeListener("close",s)}var m=this;m.on("data",t),e.on("drain",n),e._isStdio||r&&r.end===!1||(m.on("end",a),m.on("close",o));var u=!1;return m.on("error",i),e.on("error",i),m.on("end",s),m.on("close",s),e.on("close",s),e.emit("pipe",m),e};
15710
15711},{"events":32,"inherits":35,"readable-stream/duplex.js":76,"readable-stream/passthrough.js":82,"readable-stream/readable.js":83,"readable-stream/transform.js":84,"readable-stream/writable.js":85}],87:[function(require,module,exports){
15712(function (global){
15713var ClientRequest=require("./lib/request"),extend=require("xtend"),statusCodes=require("builtin-status-codes"),url=require("url"),http=exports;http.request=function(t,e){t="string"==typeof t?url.parse(t):extend(t);var r=-1===global.location.protocol.search(/^https?:$/)?"http:":"",s=t.protocol||r,o=t.hostname||t.host,n=t.port,u=t.path||"/";o&&-1!==o.indexOf(":")&&(o="["+o+"]"),t.url=(o?s+"//"+o:"")+(n?":"+n:"")+u,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var C=new ClientRequest(t);return e&&C.on("response",e),C},http.get=function(t,e){var r=http.request(t,e);return r.end(),r},http.Agent=function(){},http.Agent.defaultMaxSockets=4,http.STATUS_CODES=statusCodes,http.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"];
15714
15715}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
15716
15717},{"./lib/request":89,"builtin-status-codes":26,"url":93,"xtend":98}],88:[function(require,module,exports){
15718(function (global){
15719function checkTypeSupport(e){try{return xhr.responseType=e,xhr.responseType===e}catch(r){}return!1}function isFunction(e){return"function"==typeof e}exports.fetch=isFunction(global.fetch)&&isFunction(global.ReadableByteStream),exports.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),exports.blobConstructor=!0}catch(e){}var xhr=new global.XMLHttpRequest;xhr.open("GET",global.location.host?"/":"https://example.com");var haveArrayBuffer="undefined"!=typeof global.ArrayBuffer,haveSlice=haveArrayBuffer&&isFunction(global.ArrayBuffer.prototype.slice);exports.arraybuffer=haveArrayBuffer&&checkTypeSupport("arraybuffer"),exports.msstream=!exports.fetch&&haveSlice&&checkTypeSupport("ms-stream"),exports.mozchunkedarraybuffer=!exports.fetch&&haveArrayBuffer&&checkTypeSupport("moz-chunked-arraybuffer"),exports.overrideMimeType=isFunction(xhr.overrideMimeType),exports.vbArray=isFunction(global.VBArray),xhr=null;
15720
15721}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
15722
15723},{}],89:[function(require,module,exports){
15724(function (process,global,Buffer){
15725function decideMode(e){return capability.fetch?"fetch":capability.mozchunkedarraybuffer?"moz-chunked-arraybuffer":capability.msstream?"ms-stream":capability.arraybuffer&&e?"arraybuffer":capability.vbArray&&e?"text:vbarray":"text"}function statusValid(e){try{var t=e.status;return null!==t&&0!==t}catch(r){return!1}}var capability=require("./capability"),inherits=require("inherits"),response=require("./response"),stream=require("stream"),toArrayBuffer=require("to-arraybuffer"),IncomingMessage=response.IncomingMessage,rStates=response.readyStates,ClientRequest=module.exports=function(e){var t=this;stream.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+new Buffer(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(r){t.setHeader(r,e.headers[r])});var r;if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!capability.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}t._mode=decideMode(r),t.on("finish",function(){t._onFinish()})};inherits(ClientRequest,stream.Writable),ClientRequest.prototype.setHeader=function(e,t){var r=this,o=e.toLowerCase();-1===unsafeHeaders.indexOf(o)&&(r._headers[o]={name:e,value:t})},ClientRequest.prototype.getHeader=function(e){var t=this;return t._headers[e.toLowerCase()].value},ClientRequest.prototype.removeHeader=function(e){var t=this;delete t._headers[e.toLowerCase()]},ClientRequest.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t,r=e._opts,o=e._headers;if("POST"!==r.method&&"PUT"!==r.method&&"PATCH"!==r.method||(t=capability.blobConstructor?new global.Blob(e._body.map(function(e){return toArrayBuffer(e)}),{type:(o["content-type"]||{}).value||""}):Buffer.concat(e._body).toString()),"fetch"===e._mode){var n=Object.keys(o).map(function(e){return[o[e].name,o[e].value]});global.fetch(e._opts.url,{method:e._opts.method,headers:n,body:t,mode:"cors",credentials:r.withCredentials?"include":"same-origin"}).then(function(t){e._fetchResponse=t,e._connect()},function(t){e.emit("error",t)})}else{var s=e._xhr=new global.XMLHttpRequest;try{s.open(e._opts.method,e._opts.url,!0)}catch(i){return void process.nextTick(function(){e.emit("error",i)})}"responseType"in s&&(s.responseType=e._mode.split(":")[0]),"withCredentials"in s&&(s.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in s&&s.overrideMimeType("text/plain; charset=x-user-defined"),Object.keys(o).forEach(function(e){s.setRequestHeader(o[e].name,o[e].value)}),e._response=null,s.onreadystatechange=function(){switch(s.readyState){case rStates.LOADING:case rStates.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(s.onprogress=function(){e._onXHRProgress()}),s.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{s.send(t)}catch(i){return void process.nextTick(function(){e.emit("error",i)})}}}},ClientRequest.prototype._onXHRProgress=function(){var e=this;statusValid(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},ClientRequest.prototype._connect=function(){var e=this;e._destroyed||(e._response=new IncomingMessage(e._xhr,e._fetchResponse,e._mode),e.emit("response",e._response))},ClientRequest.prototype._write=function(e,t,r){var o=this;o._body.push(e),r()},ClientRequest.prototype.abort=ClientRequest.prototype.destroy=function(){var e=this;e._destroyed=!0,e._response&&(e._response._destroyed=!0),e._xhr&&e._xhr.abort()},ClientRequest.prototype.end=function(e,t,r){var o=this;"function"==typeof e&&(r=e,e=void 0),stream.Writable.prototype.end.call(o,e,t,r)},ClientRequest.prototype.flushHeaders=function(){},ClientRequest.prototype.setTimeout=function(){},ClientRequest.prototype.setNoDelay=function(){},ClientRequest.prototype.setSocketKeepAlive=function(){};var unsafeHeaders=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"];
15726
15727}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
15728
15729},{"./capability":88,"./response":90,"_process":71,"buffer":25,"inherits":35,"stream":86,"to-arraybuffer":92}],90:[function(require,module,exports){
15730(function (process,global,Buffer){
15731var capability=require("./capability"),inherits=require("inherits"),stream=require("stream"),rStates=exports.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},IncomingMessage=exports.IncomingMessage=function(e,r,s){function a(){u.read().then(function(e){if(!t._destroyed){if(e.done)return void t.push(null);t.push(new Buffer(e.value)),a()}})}var t=this;if(stream.Readable.call(t),t._mode=s,t.headers={},t.rawHeaders=[],t.trailers={},t.rawTrailers=[],t.on("end",function(){process.nextTick(function(){t.emit("close")})}),"fetch"===s){t._fetchResponse=r,t.statusCode=r.status,t.statusMessage=r.statusText;for(var n,o,i=r.headers[Symbol.iterator]();n=(o=i.next()).value,!o.done;)t.headers[n[0].toLowerCase()]=n[1],t.rawHeaders.push(n[0],n[1]);var u=r.body.getReader();a()}else{t._xhr=e,t._pos=0,t.statusCode=e.status,t.statusMessage=e.statusText;var h=e.getAllResponseHeaders().split(/\r?\n/);if(h.forEach(function(e){var r=e.match(/^([^:]+):\s*(.*)/);if(r){var s=r[1].toLowerCase();"set-cookie"===s?(void 0===t.headers[s]&&(t.headers[s]=[]),t.headers[s].push(r[2])):void 0!==t.headers[s]?t.headers[s]+=", "+r[2]:t.headers[s]=r[2],t.rawHeaders.push(r[1],r[2])}}),t._charset="x-user-defined",!capability.overrideMimeType){var d=t.rawHeaders["mime-type"];if(d){var f=d.match(/;\s*charset=([^;])(;|$)/);f&&(t._charset=f[1].toLowerCase())}t._charset||(t._charset="utf-8")}}};inherits(IncomingMessage,stream.Readable),IncomingMessage.prototype._read=function(){},IncomingMessage.prototype._onXHRProgress=function(){var e=this,r=e._xhr,s=null;switch(e._mode){case"text:vbarray":if(r.readyState!==rStates.DONE)break;try{s=new global.VBArray(r.responseBody).toArray()}catch(a){}if(null!==s){e.push(new Buffer(s));break}case"text":try{s=r.responseText}catch(a){e._mode="text:vbarray";break}if(s.length>e._pos){var t=s.substr(e._pos);if("x-user-defined"===e._charset){for(var n=new Buffer(t.length),o=0;o<t.length;o++)n[o]=255&t.charCodeAt(o);e.push(n)}else e.push(t,e._charset);e._pos=s.length}break;case"arraybuffer":if(r.readyState!==rStates.DONE)break;s=r.response,e.push(new Buffer(new Uint8Array(s)));break;case"moz-chunked-arraybuffer":if(s=r.response,r.readyState!==rStates.LOADING||!s)break;e.push(new Buffer(new Uint8Array(s)));break;case"ms-stream":if(s=r.response,r.readyState!==rStates.LOADING)break;var i=new global.MSStreamReader;i.onprogress=function(){i.result.byteLength>e._pos&&(e.push(new Buffer(new Uint8Array(i.result.slice(e._pos)))),e._pos=i.result.byteLength)},i.onload=function(){e.push(null)},i.readAsArrayBuffer(s)}e._xhr.readyState===rStates.DONE&&"ms-stream"!==e._mode&&e.push(null)};
15732
15733}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
15734
15735},{"./capability":88,"_process":71,"buffer":25,"inherits":35,"stream":86}],91:[function(require,module,exports){
15736function assertEncoding(e){if(e&&!isBufferEncoding(e))throw new Error("Unknown encoding: "+e)}function passThroughWrite(e){return e.toString(this.encoding)}function utf16DetectIncompleteChar(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function base64DetectIncompleteChar(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var Buffer=require("buffer").Buffer,isBufferEncoding=Buffer.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},StringDecoder=exports.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),assertEncoding(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=utf16DetectIncompleteChar;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=base64DetectIncompleteChar;break;default:return void(this.write=passThroughWrite)}this.charBuffer=new Buffer(6),this.charReceived=0,this.charLength=0};StringDecoder.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";e=e.slice(r,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var h=t.charCodeAt(t.length-1);if(!(h>=55296&&56319>=h)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,h=t.charCodeAt(i);if(h>=55296&&56319>=h){var c=this.surrogateSize;return this.charLength+=c,this.charReceived+=c,this.charBuffer.copy(this.charBuffer,c,0,c),e.copy(this.charBuffer,0,0,c),t.substring(0,i)}return t},StringDecoder.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(2>=t&&r>>4==14){this.charLength=3;break}if(3>=t&&r>>3==30){this.charLength=4;break}}this.charReceived=t},StringDecoder.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,h=this.charBuffer,i=this.encoding;t+=h.slice(0,r).toString(i)}return t};
15737
15738},{"buffer":25}],92:[function(require,module,exports){
15739var Buffer=require("buffer").Buffer;module.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(Buffer.isBuffer(e)){for(var f=new Uint8Array(e.length),r=e.length,t=0;r>t;t++)f[t]=e[t];return f.buffer}throw new Error("Argument must be a Buffer")};
15740
15741},{"buffer":25}],93:[function(require,module,exports){
15742"use strict";function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function urlParse(t,s,e){if(t&&util.isObject(t)&&t instanceof Url)return t;var h=new Url;return h.parse(t,s,e),h}function urlFormat(t){return util.isString(t)&&(t=urlParse(t)),t instanceof Url?t.format():Url.prototype.format.call(t)}function urlResolve(t,s){return urlParse(t,!1,!0).resolve(s)}function urlResolveObject(t,s){return t?urlParse(t,!1,!0).resolveObject(s):s}var punycode=require("punycode"),util=require("./util");exports.parse=urlParse,exports.resolve=urlResolve,exports.resolveObject=urlResolveObject,exports.format=urlFormat,exports.Url=Url;var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r","\n"," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring=require("querystring");Url.prototype.parse=function(t,s,e){if(!util.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var h=t.indexOf("?"),r=-1!==h&&h<t.indexOf("#")?"?":"#",a=t.split(r),o=/\\/g;a[0]=a[0].replace(o,"/"),t=a.join(r);var n=t;if(n=n.trim(),!e&&1===t.split("#").length){var i=simplePathPattern.exec(n);if(i)return this.path=n,this.href=n,this.pathname=i[1],i[2]?(this.search=i[2],s?this.query=querystring.parse(this.search.substr(1)):this.query=this.search.substr(1)):s&&(this.search="",this.query={}),this}var l=protocolPattern.exec(n);if(l){l=l[0];var u=l.toLowerCase();this.protocol=u,n=n.substr(l.length)}if(e||l||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var p="//"===n.substr(0,2);!p||l&&hostlessProtocol[l]||(n=n.substr(2),this.slashes=!0)}if(!hostlessProtocol[l]&&(p||l&&!slashedProtocol[l])){for(var c=-1,f=0;f<hostEndingChars.length;f++){var m=n.indexOf(hostEndingChars[f]);-1!==m&&(-1===c||c>m)&&(c=m)}var v,g;g=-1===c?n.lastIndexOf("@"):n.lastIndexOf("@",c),-1!==g&&(v=n.slice(0,g),n=n.slice(g+1),this.auth=decodeURIComponent(v)),c=-1;for(var f=0;f<nonHostChars.length;f++){var m=n.indexOf(nonHostChars[f]);-1!==m&&(-1===c||c>m)&&(c=m)}-1===c&&(c=n.length),this.host=n.slice(0,c),n=n.slice(c),this.parseHost(),this.hostname=this.hostname||"";var y="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!y)for(var P=this.hostname.split(/\./),f=0,d=P.length;d>f;f++){var q=P[f];if(q&&!q.match(hostnamePartPattern)){for(var b="",O=0,j=q.length;j>O;O++)b+=q.charCodeAt(O)>127?"x":q[O];if(!b.match(hostnamePartPattern)){var x=P.slice(0,f),U=P.slice(f+1),C=q.match(hostnamePartStart);C&&(x.push(C[1]),U.unshift(C[2])),U.length&&(n="/"+U.join(".")+n),this.hostname=x.join(".");break}}}this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase(),y||(this.hostname=punycode.toASCII(this.hostname));var A=this.port?":"+this.port:"",w=this.hostname||"";this.host=w+A,this.href+=this.host,y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==n[0]&&(n="/"+n))}if(!unsafeProtocol[u])for(var f=0,d=autoEscape.length;d>f;f++){var E=autoEscape[f];if(-1!==n.indexOf(E)){var I=encodeURIComponent(E);I===E&&(I=escape(E)),n=n.split(E).join(I)}}var R=n.indexOf("#");-1!==R&&(this.hash=n.substr(R),n=n.slice(0,R));var S=n.indexOf("?");if(-1!==S?(this.search=n.substr(S),this.query=n.substr(S+1),s&&(this.query=querystring.parse(this.query)),n=n.slice(0,S)):s&&(this.search="",this.query={}),n&&(this.pathname=n),slashedProtocol[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var A=this.pathname||"",k=this.search||"";this.path=A+k}return this.href=this.format(),this},Url.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var s=this.protocol||"",e=this.pathname||"",h=this.hash||"",r=!1,a="";this.host?r=t+this.host:this.hostname&&(r=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&util.isObject(this.query)&&Object.keys(this.query).length&&(a=querystring.stringify(this.query));var o=this.search||a&&"?"+a||"";return s&&":"!==s.substr(-1)&&(s+=":"),this.slashes||(!s||slashedProtocol[s])&&r!==!1?(r="//"+(r||""),e&&"/"!==e.charAt(0)&&(e="/"+e)):r||(r=""),h&&"#"!==h.charAt(0)&&(h="#"+h),o&&"?"!==o.charAt(0)&&(o="?"+o),e=e.replace(/[?#]/g,function(t){return encodeURIComponent(t)}),o=o.replace("#","%23"),s+r+e+o+h},Url.prototype.resolve=function(t){return this.resolveObject(urlParse(t,!1,!0)).format()},Url.prototype.resolveObject=function(t){if(util.isString(t)){var s=new Url;s.parse(t,!1,!0),t=s}for(var e=new Url,h=Object.keys(this),r=0;r<h.length;r++){var a=h[r];e[a]=this[a]}if(e.hash=t.hash,""===t.href)return e.href=e.format(),e;if(t.slashes&&!t.protocol){for(var o=Object.keys(t),n=0;n<o.length;n++){var i=o[n];"protocol"!==i&&(e[i]=t[i])}return slashedProtocol[e.protocol]&&e.hostname&&!e.pathname&&(e.path=e.pathname="/"),e.href=e.format(),e}if(t.protocol&&t.protocol!==e.protocol){if(!slashedProtocol[t.protocol]){for(var l=Object.keys(t),u=0;u<l.length;u++){var p=l[u];e[p]=t[p]}return e.href=e.format(),e}if(e.protocol=t.protocol,t.host||hostlessProtocol[t.protocol])e.pathname=t.pathname;else{for(var c=(t.pathname||"").split("/");c.length&&!(t.host=c.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==c[0]&&c.unshift(""),c.length<2&&c.unshift(""),e.pathname=c.join("/")}if(e.search=t.search,e.query=t.query,e.host=t.host||"",e.auth=t.auth,e.hostname=t.hostname||t.host,e.port=t.port,e.pathname||e.search){var f=e.pathname||"",m=e.search||"";e.path=f+m}return e.slashes=e.slashes||t.slashes,e.href=e.format(),e}var v=e.pathname&&"/"===e.pathname.charAt(0),g=t.host||t.pathname&&"/"===t.pathname.charAt(0),y=g||v||e.host&&t.pathname,P=y,d=e.pathname&&e.pathname.split("/")||[],c=t.pathname&&t.pathname.split("/")||[],q=e.protocol&&!slashedProtocol[e.protocol];if(q&&(e.hostname="",e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===c[0]?c[0]=t.host:c.unshift(t.host)),t.host=null),y=y&&(""===c[0]||""===d[0])),g)e.host=t.host||""===t.host?t.host:e.host,e.hostname=t.hostname||""===t.hostname?t.hostname:e.hostname,e.search=t.search,e.query=t.query,d=c;else if(c.length)d||(d=[]),d.pop(),d=d.concat(c),e.search=t.search,e.query=t.query;else if(!util.isNullOrUndefined(t.search)){if(q){e.hostname=e.host=d.shift();var b=e.host&&e.host.indexOf("@")>0?e.host.split("@"):!1;b&&(e.auth=b.shift(),e.host=e.hostname=b.shift())}return e.search=t.search,e.query=t.query,util.isNull(e.pathname)&&util.isNull(e.search)||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.href=e.format(),e}if(!d.length)return e.pathname=null,e.search?e.path="/"+e.search:e.path=null,e.href=e.format(),e;for(var O=d.slice(-1)[0],j=(e.host||t.host||d.length>1)&&("."===O||".."===O)||""===O,x=0,U=d.length;U>=0;U--)O=d[U],"."===O?d.splice(U,1):".."===O?(d.splice(U,1),x++):x&&(d.splice(U,1),x--);if(!y&&!P)for(;x--;x)d.unshift("..");!y||""===d[0]||d[0]&&"/"===d[0].charAt(0)||d.unshift(""),j&&"/"!==d.join("/").substr(-1)&&d.push("");var C=""===d[0]||d[0]&&"/"===d[0].charAt(0);if(q){e.hostname=e.host=C?"":d.length?d.shift():"";var b=e.host&&e.host.indexOf("@")>0?e.host.split("@"):!1;b&&(e.auth=b.shift(),e.host=e.hostname=b.shift())}return y=y||e.host&&d.length,y&&!C&&d.unshift(""),d.length?e.pathname=d.join("/"):(e.pathname=null,e.path=null),util.isNull(e.pathname)&&util.isNull(e.search)||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.auth=t.auth||e.auth,e.slashes=e.slashes||t.slashes,e.href=e.format(),e},Url.prototype.parseHost=function(){var t=this.host,s=portPattern.exec(t);s&&(s=s[0],":"!==s&&(this.port=s.substr(1)),t=t.substr(0,t.length-s.length)),t&&(this.hostname=t)};
15743
15744},{"./util":94,"punycode":72,"querystring":75}],94:[function(require,module,exports){
15745"use strict";module.exports={isString:function(n){return"string"==typeof n},isObject:function(n){return"object"==typeof n&&null!==n},isNull:function(n){return null===n},isNullOrUndefined:function(n){return null==n}};
15746
15747},{}],95:[function(require,module,exports){
15748(function (global){
15749function deprecate(r,e){function o(){if(!t){if(config("throwDeprecation"))throw new Error(e);config("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}if(config("noDeprecation"))return r;var t=!1;return o}function config(r){try{if(!global.localStorage)return!1}catch(e){return!1}var o=global.localStorage[r];return null==o?!1:"true"===String(o).toLowerCase()}module.exports=deprecate;
15750
15751}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
15752
15753},{}],96:[function(require,module,exports){
15754module.exports=function(o){return o&&"object"==typeof o&&"function"==typeof o.copy&&"function"==typeof o.fill&&"function"==typeof o.readUInt8};
15755
15756},{}],97:[function(require,module,exports){
15757(function (process,global){
15758function inspect(e,r){var t={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),isBoolean(r)?t.showHidden=r:r&&exports._extend(t,r),isUndefined(t.showHidden)&&(t.showHidden=!1),isUndefined(t.depth)&&(t.depth=2),isUndefined(t.colors)&&(t.colors=!1),isUndefined(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=stylizeWithColor),formatValue(t,e,t.depth)}function stylizeWithColor(e,r){var t=inspect.styles[r];return t?"["+inspect.colors[t][0]+"m"+e+"["+inspect.colors[t][1]+"m":e}function stylizeNoColor(e,r){return e}function arrayToHash(e){var r={};return e.forEach(function(e,t){r[e]=!0}),r}function formatValue(e,r,t){if(e.customInspect&&r&&isFunction(r.inspect)&&r.inspect!==exports.inspect&&(!r.constructor||r.constructor.prototype!==r)){var n=r.inspect(t,e);return isString(n)||(n=formatValue(e,n,t)),n}var i=formatPrimitive(e,r);if(i)return i;var o=Object.keys(r),s=arrayToHash(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),isError(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return formatError(r);if(0===o.length){if(isFunction(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(isRegExp(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(isDate(r))return e.stylize(Date.prototype.toString.call(r),"date");if(isError(r))return formatError(r)}var c="",a=!1,l=["{","}"];if(isArray(r)&&(a=!0,l=["[","]"]),isFunction(r)){var p=r.name?": "+r.name:"";c=" [Function"+p+"]"}if(isRegExp(r)&&(c=" "+RegExp.prototype.toString.call(r)),isDate(r)&&(c=" "+Date.prototype.toUTCString.call(r)),isError(r)&&(c=" "+formatError(r)),0===o.length&&(!a||0==r.length))return l[0]+c+l[1];if(0>t)return isRegExp(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var f;return f=a?formatArray(e,r,t,s,o):o.map(function(n){return formatProperty(e,r,t,s,n,a)}),e.seen.pop(),reduceToSingleString(f,c,l)}function formatPrimitive(e,r){if(isUndefined(r))return e.stylize("undefined","undefined");if(isString(r)){var t="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(t,"string")}return isNumber(r)?e.stylize(""+r,"number"):isBoolean(r)?e.stylize(""+r,"boolean"):isNull(r)?e.stylize("null","null"):void 0}function formatError(e){return"["+Error.prototype.toString.call(e)+"]"}function formatArray(e,r,t,n,i){for(var o=[],s=0,u=r.length;u>s;++s)hasOwnProperty(r,String(s))?o.push(formatProperty(e,r,t,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(formatProperty(e,r,t,n,i,!0))}),o}function formatProperty(e,r,t,n,i,o){var s,u,c;if(c=Object.getOwnPropertyDescriptor(r,i)||{value:r[i]},c.get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),hasOwnProperty(n,i)||(s="["+i+"]"),u||(e.seen.indexOf(c.value)<0?(u=isNull(t)?formatValue(e,c.value,null):formatValue(e,c.value,t-1),u.indexOf("\n")>-1&&(u=o?u.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return" "+e}).join("\n"))):u=e.stylize("[Circular]","special")),isUndefined(s)){if(o&&i.match(/^\d+$/))return u;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+u}function reduceToSingleString(e,r,t){var n=0,i=e.reduce(function(e,r){return n++,r.indexOf("\n")>=0&&n++,e+r.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?t[0]+(""===r?"":r+"\n ")+" "+e.join(",\n ")+" "+t[1]:t[0]+r+" "+e.join(", ")+" "+t[1]}function isArray(e){return Array.isArray(e)}function isBoolean(e){return"boolean"==typeof e}function isNull(e){return null===e}function isNullOrUndefined(e){return null==e}function isNumber(e){return"number"==typeof e}function isString(e){return"string"==typeof e}function isSymbol(e){return"symbol"==typeof e}function isUndefined(e){return void 0===e}function isRegExp(e){return isObject(e)&&"[object RegExp]"===objectToString(e)}function isObject(e){return"object"==typeof e&&null!==e}function isDate(e){return isObject(e)&&"[object Date]"===objectToString(e)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(e){return"function"==typeof e}function isPrimitive(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function objectToString(e){return Object.prototype.toString.call(e)}function pad(e){return 10>e?"0"+e.toString(10):e.toString(10)}function timestamp(){var e=new Date,r=[pad(e.getHours()),pad(e.getMinutes()),pad(e.getSeconds())].join(":");return[e.getDate(),months[e.getMonth()],r].join(" ")}function hasOwnProperty(e,r){return Object.prototype.hasOwnProperty.call(e,r)}var formatRegExp=/%[sdj%]/g;exports.format=function(e){if(!isString(e)){for(var r=[],t=0;t<arguments.length;t++)r.push(inspect(arguments[t]));return r.join(" ")}for(var t=1,n=arguments,i=n.length,o=String(e).replace(formatRegExp,function(e){if("%%"===e)return"%";if(t>=i)return e;switch(e){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(r){return"[Circular]"}default:return e}}),s=n[t];i>t;s=n[++t])o+=isNull(s)||!isObject(s)?" "+s:" "+inspect(s);return o},exports.deprecate=function(e,r){function t(){if(!n){if(process.throwDeprecation)throw new Error(r);process.traceDeprecation?console.trace(r):console.error(r),n=!0}return e.apply(this,arguments)}if(isUndefined(global.process))return function(){return exports.deprecate(e,r).apply(this,arguments)};if(process.noDeprecation===!0)return e;var n=!1;return t};var debugs={},debugEnviron;exports.debuglog=function(e){if(isUndefined(debugEnviron)&&(debugEnviron=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!debugs[e])if(new RegExp("\\b"+e+"\\b","i").test(debugEnviron)){var r=process.pid;debugs[e]=function(){var t=exports.format.apply(exports,arguments);console.error("%s %d: %s",e,r,t)}}else debugs[e]=function(){};return debugs[e]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=isNullOrUndefined,exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=isSymbol,exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=isPrimitive,exports.isBuffer=require("./support/isBuffer");var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))},exports.inherits=require("inherits"),exports._extend=function(e,r){if(!r||!isObject(r))return e;for(var t=Object.keys(r),n=t.length;n--;)e[t[n]]=r[t[n]];return e};
15759
15760}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
15761
15762},{"./support/isBuffer":96,"_process":71,"inherits":35}],98:[function(require,module,exports){
15763function extend(){for(var r={},e=0;e<arguments.length;e++){var t=arguments[e];for(var n in t)hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r}module.exports=extend;var hasOwnProperty=Object.prototype.hasOwnProperty;
15764
15765},{}]},{},[3])(3)
15766});
15767</script>
15768
15769 <script>
15770// https://github.com/isaacs/json-stringify-safe v5.0.1
15771function stringify(obj, replacer, spaces, cycleReplacer) {
15772 return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces)
15773}
15774
15775function serializer(replacer, cycleReplacer) {
15776 var stack = [], keys = []
15777
15778 if (cycleReplacer == null) cycleReplacer = function(key, value) {
15779 if (stack[0] === value) return "[Circular ~]"
15780 return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]"
15781 }
15782
15783 return function(key, value) {
15784 if (stack.length > 0) {
15785 var thisPos = stack.indexOf(this)
15786 ~thisPos ? stack.splice(thisPos + 1) : stack.push(this)
15787 ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key)
15788 if (~stack.indexOf(value)) value = cycleReplacer.call(this, key, value)
15789 }
15790 else stack.push(value)
15791
15792 return replacer == null ? value : replacer.call(this, key, value)
15793 }
15794}
15795</script>
15796
15797 <script>
15798/* Web Font Loader v1.6.24 - (c) Adobe Systems, Google. License: Apache 2.0 */
15799(function(){function aa(a,b,d){return a.call.apply(a.bind,arguments)}function ba(a,b,d){if(!a)throw Error();if(2<arguments.length){var c=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,c);return a.apply(b,d)}}return function(){return a.apply(b,arguments)}}function p(a,b,d){p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?aa:ba;return p.apply(null,arguments)}var q=Date.now||function(){return+new Date};function ca(a,b){this.a=a;this.m=b||a;this.c=this.m.document}var da=!!window.FontFace;function t(a,b,d,c){b=a.c.createElement(b);if(d)for(var e in d)d.hasOwnProperty(e)&&("style"==e?b.style.cssText=d[e]:b.setAttribute(e,d[e]));c&&b.appendChild(a.c.createTextNode(c));return b}function u(a,b,d){a=a.c.getElementsByTagName(b)[0];a||(a=document.documentElement);a.insertBefore(d,a.lastChild)}function v(a){a.parentNode&&a.parentNode.removeChild(a)}
15800function w(a,b,d){b=b||[];d=d||[];for(var c=a.className.split(/\s+/),e=0;e<b.length;e+=1){for(var f=!1,g=0;g<c.length;g+=1)if(b[e]===c[g]){f=!0;break}f||c.push(b[e])}b=[];for(e=0;e<c.length;e+=1){f=!1;for(g=0;g<d.length;g+=1)if(c[e]===d[g]){f=!0;break}f||b.push(c[e])}a.className=b.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function y(a,b){for(var d=a.className.split(/\s+/),c=0,e=d.length;c<e;c++)if(d[c]==b)return!0;return!1}
15801function z(a){if("string"===typeof a.f)return a.f;var b=a.m.location.protocol;"about:"==b&&(b=a.a.location.protocol);return"https:"==b?"https:":"http:"}function ea(a){return a.m.location.hostname||a.a.location.hostname}
15802function A(a,b,d){function c(){k&&e&&f&&(k(g),k=null)}b=t(a,"link",{rel:"stylesheet",href:b,media:"all"});var e=!1,f=!0,g=null,k=d||null;da?(b.onload=function(){e=!0;c()},b.onerror=function(){e=!0;g=Error("Stylesheet failed to load");c()}):setTimeout(function(){e=!0;c()},0);u(a,"head",b)}
15803function B(a,b,d,c){var e=a.c.getElementsByTagName("head")[0];if(e){var f=t(a,"script",{src:b}),g=!1;f.onload=f.onreadystatechange=function(){g||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(g=!0,d&&d(null),f.onload=f.onreadystatechange=null,"HEAD"==f.parentNode.tagName&&e.removeChild(f))};e.appendChild(f);setTimeout(function(){g||(g=!0,d&&d(Error("Script load timeout")))},c||5E3);return f}return null};function C(){this.a=0;this.c=null}function D(a){a.a++;return function(){a.a--;E(a)}}function F(a,b){a.c=b;E(a)}function E(a){0==a.a&&a.c&&(a.c(),a.c=null)};function G(a){this.a=a||"-"}G.prototype.c=function(a){for(var b=[],d=0;d<arguments.length;d++)b.push(arguments[d].replace(/[\W_]+/g,"").toLowerCase());return b.join(this.a)};function H(a,b){this.c=a;this.f=4;this.a="n";var d=(b||"n4").match(/^([nio])([1-9])$/i);d&&(this.a=d[1],this.f=parseInt(d[2],10))}function fa(a){return I(a)+" "+(a.f+"00")+" 300px "+J(a.c)}function J(a){var b=[];a=a.split(/,\s*/);for(var d=0;d<a.length;d++){var c=a[d].replace(/['"]/g,"");-1!=c.indexOf(" ")||/^\d/.test(c)?b.push("'"+c+"'"):b.push(c)}return b.join(",")}function K(a){return a.a+a.f}function I(a){var b="normal";"o"===a.a?b="oblique":"i"===a.a&&(b="italic");return b}
15804function ga(a){var b=4,d="n",c=null;a&&((c=a.match(/(normal|oblique|italic)/i))&&c[1]&&(d=c[1].substr(0,1).toLowerCase()),(c=a.match(/([1-9]00|normal|bold)/i))&&c[1]&&(/bold/i.test(c[1])?b=7:/[1-9]00/.test(c[1])&&(b=parseInt(c[1].substr(0,1),10))));return d+b};function ha(a,b){this.c=a;this.f=a.m.document.documentElement;this.h=b;this.a=new G("-");this.j=!1!==b.events;this.g=!1!==b.classes}function ia(a){a.g&&w(a.f,[a.a.c("wf","loading")]);L(a,"loading")}function M(a){if(a.g){var b=y(a.f,a.a.c("wf","active")),d=[],c=[a.a.c("wf","loading")];b||d.push(a.a.c("wf","inactive"));w(a.f,d,c)}L(a,"inactive")}function L(a,b,d){if(a.j&&a.h[b])if(d)a.h[b](d.c,K(d));else a.h[b]()};function ja(){this.c={}}function ka(a,b,d){var c=[],e;for(e in b)if(b.hasOwnProperty(e)){var f=a.c[e];f&&c.push(f(b[e],d))}return c};function N(a,b){this.c=a;this.f=b;this.a=t(this.c,"span",{"aria-hidden":"true"},this.f)}function O(a){u(a.c,"body",a.a)}function P(a){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+J(a.c)+";"+("font-style:"+I(a)+";font-weight:"+(a.f+"00")+";")};function Q(a,b,d,c,e,f){this.g=a;this.j=b;this.a=c;this.c=d;this.f=e||3E3;this.h=f||void 0}Q.prototype.start=function(){var a=this.c.m.document,b=this,d=q(),c=new Promise(function(c,e){function k(){q()-d>=b.f?e():a.fonts.load(fa(b.a),b.h).then(function(a){1<=a.length?c():setTimeout(k,25)},function(){e()})}k()}),e=new Promise(function(a,c){setTimeout(c,b.f)});Promise.race([e,c]).then(function(){b.g(b.a)},function(){b.j(b.a)})};function R(a,b,d,c,e,f,g){this.v=a;this.B=b;this.c=d;this.a=c;this.s=g||"BESbswy";this.f={};this.w=e||3E3;this.u=f||null;this.o=this.j=this.h=this.g=null;this.g=new N(this.c,this.s);this.h=new N(this.c,this.s);this.j=new N(this.c,this.s);this.o=new N(this.c,this.s);a=new H(this.a.c+",serif",K(this.a));a=P(a);this.g.a.style.cssText=a;a=new H(this.a.c+",sans-serif",K(this.a));a=P(a);this.h.a.style.cssText=a;a=new H("serif",K(this.a));a=P(a);this.j.a.style.cssText=a;a=new H("sans-serif",K(this.a));a=
15805P(a);this.o.a.style.cssText=a;O(this.g);O(this.h);O(this.j);O(this.o)}var S={D:"serif",C:"sans-serif"},T=null;function U(){if(null===T){var a=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);T=!!a&&(536>parseInt(a[1],10)||536===parseInt(a[1],10)&&11>=parseInt(a[2],10))}return T}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth;this.f["sans-serif"]=this.o.a.offsetWidth;this.A=q();la(this)};
15806function ma(a,b,d){for(var c in S)if(S.hasOwnProperty(c)&&b===a.f[S[c]]&&d===a.f[S[c]])return!0;return!1}function la(a){var b=a.g.a.offsetWidth,d=a.h.a.offsetWidth,c;(c=b===a.f.serif&&d===a.f["sans-serif"])||(c=U()&&ma(a,b,d));c?q()-a.A>=a.w?U()&&ma(a,b,d)&&(null===a.u||a.u.hasOwnProperty(a.a.c))?V(a,a.v):V(a,a.B):na(a):V(a,a.v)}function na(a){setTimeout(p(function(){la(this)},a),50)}function V(a,b){setTimeout(p(function(){v(this.g.a);v(this.h.a);v(this.j.a);v(this.o.a);b(this.a)},a),0)};function W(a,b,d){this.c=a;this.a=b;this.f=0;this.o=this.j=!1;this.s=d}var X=null;W.prototype.g=function(a){var b=this.a;b.g&&w(b.f,[b.a.c("wf",a.c,K(a).toString(),"active")],[b.a.c("wf",a.c,K(a).toString(),"loading"),b.a.c("wf",a.c,K(a).toString(),"inactive")]);L(b,"fontactive",a);this.o=!0;oa(this)};
15807W.prototype.h=function(a){var b=this.a;if(b.g){var d=y(b.f,b.a.c("wf",a.c,K(a).toString(),"active")),c=[],e=[b.a.c("wf",a.c,K(a).toString(),"loading")];d||c.push(b.a.c("wf",a.c,K(a).toString(),"inactive"));w(b.f,c,e)}L(b,"fontinactive",a);oa(this)};function oa(a){0==--a.f&&a.j&&(a.o?(a=a.a,a.g&&w(a.f,[a.a.c("wf","active")],[a.a.c("wf","loading"),a.a.c("wf","inactive")]),L(a,"active")):M(a.a))};function pa(a){this.j=a;this.a=new ja;this.h=0;this.f=this.g=!0}pa.prototype.load=function(a){this.c=new ca(this.j,a.context||this.j);this.g=!1!==a.events;this.f=!1!==a.classes;qa(this,new ha(this.c,a),a)};
15808function ra(a,b,d,c,e){var f=0==--a.h;(a.f||a.g)&&setTimeout(function(){var a=e||null,k=c||null||{};if(0===d.length&&f)M(b.a);else{b.f+=d.length;f&&(b.j=f);var h,m=[];for(h=0;h<d.length;h++){var l=d[h],n=k[l.c],r=b.a,x=l;r.g&&w(r.f,[r.a.c("wf",x.c,K(x).toString(),"loading")]);L(r,"fontloading",x);r=null;null===X&&(X=window.FontFace?(x=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent))?42<parseInt(x[1],10):!0:!1);X?r=new Q(p(b.g,b),p(b.h,b),b.c,l,b.s,n):r=new R(p(b.g,b),p(b.h,b),b.c,l,b.s,a,
15809n);m.push(r)}for(h=0;h<m.length;h++)m[h].start()}},0)}function qa(a,b,d){var c=[],e=d.timeout;ia(b);var c=ka(a.a,d,a.c),f=new W(a.c,b,e);a.h=c.length;b=0;for(d=c.length;b<d;b++)c[b].load(function(b,c,d){ra(a,f,b,c,d)})};function sa(a,b){this.c=a;this.a=b}function ta(a,b,d){var c=z(a.c);a=(a.a.api||"fast.fonts.net/jsapi").replace(/^.*http(s?):(\/\/)?/,"");return c+"//"+a+"/"+b+".js"+(d?"?v="+d:"")}
15810sa.prototype.load=function(a){function b(){if(e["__mti_fntLst"+d]){var c=e["__mti_fntLst"+d](),g=[],k;if(c)for(var h=0;h<c.length;h++){var m=c[h].fontfamily;void 0!=c[h].fontStyle&&void 0!=c[h].fontWeight?(k=c[h].fontStyle+c[h].fontWeight,g.push(new H(m,k))):g.push(new H(m))}a(g)}else setTimeout(function(){b()},50)}var d=this.a.projectId,c=this.a.version;if(d){var e=this.c.m;B(this.c,ta(this,d,c),function(c){c?a([]):b()}).id="__MonotypeAPIScript__"+d}else a([])};function ua(a,b){this.c=a;this.a=b}ua.prototype.load=function(a){var b,d,c=this.a.urls||[],e=this.a.families||[],f=this.a.testStrings||{},g=new C;b=0;for(d=c.length;b<d;b++)A(this.c,c[b],D(g));var k=[];b=0;for(d=e.length;b<d;b++)if(c=e[b].split(":"),c[1])for(var h=c[1].split(","),m=0;m<h.length;m+=1)k.push(new H(c[0],h[m]));else k.push(new H(c[0]));F(g,function(){a(k,f)})};function va(a,b,d){a?this.c=a:this.c=b+wa;this.a=[];this.f=[];this.g=d||""}var wa="//fonts.googleapis.com/css";function xa(a,b){for(var d=b.length,c=0;c<d;c++){var e=b[c].split(":");3==e.length&&a.f.push(e.pop());var f="";2==e.length&&""!=e[1]&&(f=":");a.a.push(e.join(f))}}
15811function ya(a){if(0==a.a.length)throw Error("No fonts to load!");if(-1!=a.c.indexOf("kit="))return a.c;for(var b=a.a.length,d=[],c=0;c<b;c++)d.push(a.a[c].replace(/ /g,"+"));b=a.c+"?family="+d.join("%7C");0<a.f.length&&(b+="&subset="+a.f.join(","));0<a.g.length&&(b+="&text="+encodeURIComponent(a.g));return b};function za(a){this.f=a;this.a=[];this.c={}}
15812var Aa={latin:"BESbswy",cyrillic:"\u0439\u044f\u0416",greek:"\u03b1\u03b2\u03a3",khmer:"\u1780\u1781\u1782",Hanuman:"\u1780\u1781\u1782"},Ba={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},Ca={i:"i",italic:"i",n:"n",normal:"n"},Da=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
15813function Ea(a){for(var b=a.f.length,d=0;d<b;d++){var c=a.f[d].split(":"),e=c[0].replace(/\+/g," "),f=["n4"];if(2<=c.length){var g;var k=c[1];g=[];if(k)for(var k=k.split(","),h=k.length,m=0;m<h;m++){var l;l=k[m];if(l.match(/^[\w-]+$/)){var n=Da.exec(l.toLowerCase());if(null==n)l="";else{l=n[2];l=null==l||""==l?"n":Ca[l];n=n[1];if(null==n||""==n)n="4";else var r=Ba[n],n=r?r:isNaN(n)?"4":n.substr(0,1);l=[l,n].join("")}}else l="";l&&g.push(l)}0<g.length&&(f=g);3==c.length&&(c=c[2],g=[],c=c?c.split(","):
15814g,0<c.length&&(c=Aa[c[0]])&&(a.c[e]=c))}a.c[e]||(c=Aa[e])&&(a.c[e]=c);for(c=0;c<f.length;c+=1)a.a.push(new H(e,f[c]))}};function Fa(a,b){this.c=a;this.a=b}var Ga={Arimo:!0,Cousine:!0,Tinos:!0};Fa.prototype.load=function(a){var b=new C,d=this.c,c=new va(this.a.api,z(d),this.a.text),e=this.a.families;xa(c,e);var f=new za(e);Ea(f);A(d,ya(c),D(b));F(b,function(){a(f.a,f.c,Ga)})};function Ha(a,b){this.c=a;this.a=b}Ha.prototype.load=function(a){var b=this.a.id,d=this.c.m;b?B(this.c,(this.a.api||"https://use.typekit.net")+"/"+b+".js",function(b){if(b)a([]);else if(d.Typekit&&d.Typekit.config&&d.Typekit.config.fn){b=d.Typekit.config.fn;for(var e=[],f=0;f<b.length;f+=2)for(var g=b[f],k=b[f+1],h=0;h<k.length;h++)e.push(new H(g,k[h]));try{d.Typekit.load({events:!1,classes:!1,async:!0})}catch(m){}a(e)}},2E3):a([])};function Ia(a,b){this.c=a;this.f=b;this.a=[]}Ia.prototype.load=function(a){var b=this.f.id,d=this.c.m,c=this;b?(d.__webfontfontdeckmodule__||(d.__webfontfontdeckmodule__={}),d.__webfontfontdeckmodule__[b]=function(b,d){for(var g=0,k=d.fonts.length;g<k;++g){var h=d.fonts[g];c.a.push(new H(h.name,ga("font-weight:"+h.weight+";font-style:"+h.style)))}a(c.a)},B(this.c,z(this.c)+(this.f.api||"//f.fontdeck.com/s/css/js/")+ea(this.c)+"/"+b+".js",function(b){b&&a([])})):a([])};var Y=new pa(window);Y.a.c.custom=function(a,b){return new ua(b,a)};Y.a.c.fontdeck=function(a,b){return new Ia(b,a)};Y.a.c.monotype=function(a,b){return new sa(b,a)};Y.a.c.typekit=function(a,b){return new Ha(b,a)};Y.a.c.google=function(a,b){return new Fa(b,a)};var Z={load:p(Y.load,Y)};"function"===typeof define&&define.amd?define(function(){return Z}):"undefined"!==typeof module&&module.exports?module.exports=Z:(window.WebFont=Z,window.WebFontConfig&&Y.load(window.WebFontConfig));}());
15815</script>
15816
15817 <script>
15818 var schemaWrapper = { "components": { "schemas" : defs}};
15819 defsParser = new $RefParser();
15820 defsParser.dereference(schemaWrapper).catch(function(err) {
15821 console.log(err);
15822 });
15823 </script>
15824 <script>
15825 $(document).ready(function () {
15826 $('.nav-tabs-examples').find('a:first').tab('show');
15827 $(this).scrollspy({ target: '#scrollingNav', offset: 18 });
15828 });
15829 </script>
15830</body>
15831</html>