1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5478],{3181:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var n=r(85418),a=r(35879),o=r(91801),c=r(72655),i=r(18914),s=r(51711),u=r.n(s),l=r(7371),p=r(3803),d=r(81774),f=r(57332),y=r(70404),h=r(65970),m=r(68826),g=["component","_uid","_editable"];function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){(0,i.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var j=function(e){var t=e.stories;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(f.p,{title:"Storyblok status page"}),(0,m.jsx)(p.V,{space:"space-200",asElement:"main","data-selector":"fs-show",style:{padding:"var(--space-200)"},children:t.map(function(e){return(0,m.jsx)(x,v({},e),e.id)})})]})},x=function(e){var t=e.name,r=e.content;return(0,m.jsxs)(p.V,{space:"space-200",style:{border:"solid 1px var(--grey-700)",padding:"var(--space-150)",borderRadius:"4px"},children:[(0,m.jsx)(l.E,{typeStyle:"heading3",children:t}),(0,m.jsxs)(p.V,{space:"space-100",children:[Array.isArray(r.children)&&r.children.map(function(e,t){return(0,h.createElement)(O,v(v({},e),{},{key:e.component+t}))}),Array.isArray(r.footerChildren)&&r.footerChildren.map(function(e,t){return(0,h.createElement)(O,v(v({},e),{},{key:e.component+t}))})]})]})},O=function(e){var t=e.component,r=e._uid,n=e._editable,i=(0,c.A)(e,g),s=(0,y.partition)(Object.entries(i),function(e){var t=(0,o.A)(e,2);return t[0],!!t[1]}),u=(0,o.A)(s,2),d=u[0],f=u[1],b=[].concat((0,a.A)(d),(0,a.A)(f));return(0,m.jsxs)(p.V,{space:"space-100",style:{border:"solid 1px var(--grey-700)",padding:"var(--space-100)",borderRadius:"4px"},children:[(0,m.jsxs)(p.V,{space:"space-25",children:[(0,m.jsxs)(l.E,{typeStyle:"bodyLarge",children:[t," (",r,")"]}),(0,m.jsx)(l.E,{typeStyle:"bodySmall",color:"grey-400",children:n})]}),b.length>=1&&(0,m.jsx)("div",{style:{display:"grid",gridTemplateColumns:"auto 1fr",gridGap:"var(--space-50)"},children:b.map(function(e){var t=(0,o.A)(e,2),r=t[0],n=t[1],a=null;return""===n?a=(0,m.jsx)(_,{}):null===n?a=(0,m.jsx)(P,{}):"string"==typeof n?a=(0,m.jsx)(C,{children:n}):"boolean"==typeof n?a=(0,m.jsx)(E,{value:n}):"number"==typeof n?a=(0,m.jsx)(A,{children:n}):Array.isArray(n)&&r.toLowerCase().includes("children")?a=(0,m.jsx)(p.V,{space:"space-50",children:n.map(function(e,t){return(0,h.createElement)(O,v(v({},e),{},{key:t}))})}):Array.isArray(n)?a=n.length>=1?n.map(function(e,t){return(0,m.jsx)(k,v({},e),t)}):(0,m.jsx)(D,{}):"object"==typeof n&&"asset"===n.fieldtype?a=(0,m.jsx)(k,v({},n)):(console.log(n),a=(0,m.jsx)(S,{})),(0,m.jsxs)(h.Fragment,{children:[(0,m.jsxs)(l.E,{typeStyle:"bodySmall",children:[r,": "]}),(0,m.jsx)("div",{children:a})]},r)})})]})};j.getInitialProps=(0,n.A)(u().mark(function e(){var t;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.$)();case 2:return t=e.sent.sort(function(e,t){return e.content.component<t.content.component?1:-1}),e.abrupt("return",{stories:t});case 4:case"end":return e.stop()}},e)}));let w=j;var _=function(){return(0,m.jsx)(l.E,{typeStyle:"bodySmall",color:"grey-300",fontWeight:"bold",children:"Empty"})},S=function(){return(0,m.jsx)(l.E,{typeStyle:"bodySmall",color:"pink-600",fontWeight:"bold",children:"UNKNOWN"})},P=function(){return(0,m.jsx)(l.E,{typeStyle:"bodySmall",color:"grey-300",fontWeight:"bold",children:"Null"})},A=function(e){var t=e.children;return(0,m.jsx)(l.E,{typeStyle:"bodySmall",color:"blue-700",fontWeight:"bold",children:t})},E=function(e){var t=e.value;return(0,m.jsx)(l.E,{typeStyle:"bodySmall",color:"green-800",fontWeight:"bold",children:t?"true":"false"})},k=function(e){var t=e.filename,r=e.alt;return(0,m.jsxs)(l.E,{typeStyle:"bodySmall",color:"green-800",fontWeight:"bold",children:["Image",(0,m.jsx)("img",{src:t,alt:r,style:{height:"3em",display:"inline-block",marginLeft:"var(--space-50)",border:"solid 1px var(--grey-200)"}})]})},C=function(e){var t=e.children;return(0,m.jsx)(l.E,{typeStyle:"bodySmall",color:"grey-700",fontWeight:"bold",children:t})},D=function(){return(0,m.jsx)(l.E,{typeStyle:"bodySmall",color:"grey-700",fontWeight:"bold",children:"No values"})}},34576:(e,t)=>{"use strict";function r(e){var t=void 0===e?{}:e,r=t.ampFirst,n=t.hybrid,a=t.hasQuery;return void 0!==r&&r||void 0!==n&&n&&void 0!==a&&a}
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},43710:(e,t,r)=>{"use strict";function n(e,t){var r=new URL(t,new URL(e,"resolve://"));return"resolve:"===r.protocol?r.pathname+r.search+r.hash:r.toString()}r.d(t,{h:()=>n})},56529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});var n=r(65970),a=n.useLayoutEffect,o=n.useEffect;function c(e){var t=e.headManager,r=e.reduceComponentsToState;function c(){if(t&&t.mountedInstances){var a=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(a,e))}}return a(function(){var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),function(){var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),a(function(){return t&&(t._pendingUpdate=c),function(){t&&(t._pendingUpdate=c)}}),o(function(){return t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),function(){t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}}),null}},57332:(e,t,r)=>{"use strict";r.d(t,{p:()=>d});var n=r(18914);r(65970);var a=r(78781),o=r.n(a),c=r(43710),i=r(29126),s=r(68826);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var p={title:"Duffel - The best API for selling travel",description:"Any business - from travel startups to financial enterprises - can build with Duffel. Shop flights and accommodation, purchase extras, manage bookings and more.",url:"https://duffel.com",image:"https://storage.googleapis.com/duffel-assets/img/hq-assets/open-graph-default.png"},d=function(e){var t=l(l({},p),e),r=t.url,n=t.title,a=e.image&&e.image.length>0?e.image:p.image,u=e.description&&e.description.length>0?e.description:p.description,d=n&&n.length>0?"Duffel - ".concat(n):p.title,f=(0,i.useRouter)().asPath;return(0,s.jsxs)(o(),{children:[(0,s.jsx)("meta",{charSet:"utf-8"}),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,s.jsx)("title",{children:d}),u&&(0,s.jsx)("meta",{name:"description",content:u}),(0,s.jsx)("meta",{property:"og:title",content:d}),u&&(0,s.jsx)("meta",{property:"og:description",content:u}),(0,s.jsx)("meta",{property:"og:url",content:(0,c.h)(r,f)}),(0,s.jsx)("meta",{property:"og:image",content:(0,c.h)(r,a)}),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{name:"twitter:image",content:(0,c.h)(r,a)}),(0,s.jsx)("meta",{name:"twitter:site",content:"@duffelhq"}),(0,s.jsx)("meta",{name:"twitter:title",content:d}),u&&(0,s.jsx)("meta",{name:"twitter:description",content:u})]})}},64504:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});var n=r(62348)._(r(65970)).default.createContext({})},65516:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return h},defaultHead:function(){return p}});var n=r(62348),a=r(40989),o=r(68826),c=a._(r(65970)),i=n._(r(56529)),s=r(64504),u=r(44898),l=r(34576);function p(e){void 0===e&&(e=!1);var t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===c.default.Fragment?e.concat(c.default.Children.toArray(t.props.children).reduce(function(e,t){return"string"==typeof t||"number"==typeof t?e:e.concat(t)},[])):e.concat(t)}r(65506);var f=["name","httpEquiv","charSet","itemProp"];function y(e,t){var r,n,a,o,i=t.inAmpMode;return e.reduce(d,[]).reverse().concat(p(i).reverse()).filter((r=new Set,n=new Set,a=new Set,o={},function(e){var t=!0,c=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){c=!0;var i=e.key.slice(e.key.indexOf("$")+1);
1r.has(i)?t=!1:r.add(i)}switch(e.type){case"title":case"base":n.has(e.type)?t=!1:n.add(e.type);break;case"meta":for(var s=0,u=f.length;s<u;s++){var l=f[s];if(e.props.hasOwnProperty(l))if("charSet"===l)a.has(l)?t=!1:a.add(l);else{var p=e.props[l],d=o[l]||new Set;("name"!==l||!c)&&d.has(p)?t=!1:(d.add(p),o[l]=d)}}}return t})).reverse().map(function(e,t){var r=e.key||t;return c.default.cloneElement(e,{key:r})})}var h=function(e){var t=e.children,r=(0,c.useContext)(s.AmpStateContext),n=(0,c.useContext)(u.HeadManagerContext);return(0,o.jsx)(i.default,{reduceComponentsToState:y,headManager:n,inAmpMode:(0,l.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78781:(e,t,r)=>{e.exports=r(65516)},81774:(e,t,r)=>{"use strict";r.d(t,{$:()=>b,d:()=>x});var n=r(35879),a=r(18914),o=r(85418),c=r(51711),i=r.n(c),s=r(81853),u=r(51753),l="https://api.storyblok.com/v2/cdn/";u.env.STORYBLOK_API_KEY_FOR_MANAGEMENT;var p={token:u.env.STORYBLOK_API_KEY};function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){(0,a.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var y={Accept:"application/json","Content-Type":"application/json"},h=function(e){var t=e.trim();return""===t||"/"===t?"/":"/".concat(t.replace(/^\/+/,"").replace(/\/+$/,""))},m=function(e){var t=h(e);return"/"===t?"home":t.slice(1)};function g(){return(g=(0,o.A)(i().mark(function e(t){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.A.get("".concat(l,"stories/"),{headers:y,params:f({page:t,per_page:100,version:"draft",cv:Date.now().toString()},p)});case 2:return e.abrupt("return",e.sent.data.stories);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function b(){return v.apply(this,arguments)}function v(){return(v=(0,o.A)(i().mark(function e(){var t,r,a,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=[],r=1,a=!0;case 3:if(!a){e.next=12;break}return e.next=6,function(e){return g.apply(this,arguments)}(r);case 6:o=e.sent,t.push.apply(t,(0,n.A)(o)),a=100===o.length,r+=1,e.next=3;break;case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}},e)}))).apply(this,arguments)}function j(){return(j=(0,o.A)(i().mark(function e(t){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.A.get("".concat(l,"stories/").concat(t),{headers:y,params:f({version:"draft",cv:Date.now().toString()},p)});case 2:return e.abrupt("return",e.sent.data.story);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function x(e){return O.apply(this,arguments)}function O(){return(O=(0,o.A)(i().mark(function e(t){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=h(t),e.prev=1,e.next=4,function(e){return j.apply(this,arguments)}(m(r));case 4:return e.abrupt("return",e.sent);case 7:e.prev=7,e.t0=e.catch(1);case 9:return e.next=11,b();case 11:if(n=e.sent.find(function(e){return(e.path?h(e.path):"home"===e.full_slug||"home"===e.slug?"/":e.full_slug?h(e.full_slug):null)===r})){e.next=15;break}throw Error('There was no match found for the path "'.concat(t,'"'));case 15:return e.abrupt("return",n);case 16:case"end":return e.stop()}},e,null,[[1,7]])}))).apply(this,arguments)}},94413:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_cms-overview",function(){return r(3181)}])}},e=>{e.O(0,[8706,636,6593,8792],()=>e(e.s=94413)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.