\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n\n \n \n \n\n \n \n \n\n \n ');var t=window.location.origin+window.location.pathname+"/spec.yaml",n=window.SwaggerUIBundle({url:t,dom_id:"#swagger-ui",validationUrl:!1,requestInterceptor:function(e){if(n&&e.loadSpec){var t=n.extendingSelectors.credentials();t&&(e.headers.Authorization="Basic "+btoa(t.username+":"+t.password))}return e},responseInterceptor:function(e){var t=document.createElement("a");if(t.href=e.url,200==e.status&&t.pathname.match(/\/tours(\/[^/]+)?$/)){var n=t.pathname.match(/tours$/)?"tours.json":"tour-options.json",a=JSON.stringify(e.body,null,2),i="function"==typeof File?new File([a],n,{type:"application/json"}):new Blob([a],{type:"application/json"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(i,n);else{var o=window.URL||window.webkitURL,r=o.createObjectURL(i);if(n){var s=document.createElement("a");void 0===s.download?window.location=r:(s.href=r,s.download=n,document.body.appendChild(s),s.click())}else window.location=r;setTimeout((function(){o.revokeObjectURL(r)}),100)}e.body={},e.obj={},e.data="{}",e.text="{}"}return e},presets:[window.SwaggerUIBundle.presets.apis],plugins:[window.SwaggerUIBundle.plugins.DownloadUrl,e],jsonEditor:!0,showRequestHeaders:!0,displayRequestDuration:!0});window.ui=n}))})()