PageSourceSearch

https://www.optifly.ai/_next/static/chunks/0-w-z_u~3ecu1.js?dpl=dpl_BnJvAN6dvq9LzZAUKcdTZb2uskyW

js optifly.ai collected 2026-10-05 14:49:31 UTC 31,488 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,65491,3536,85369,86312,e=>{"use strict";let t;var r,n,o,i,a,l,s,u=e.i(71645),c=e.i(20783),d=e.i(48425),f=e.i(30207),p=e.i(43476),h="focusScope.autoFocusOnMount",v="focusScope.autoFocusOnUnmount",m={bubbles:!1,cancelable:!0},g=u.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=u.useState(null),g=(0,f.useCallbackRef)(o),R=(0,f.useCallbackRef)(i),C=u.useRef(null),x=(0,c.useComposedRefs)(t,e=>s(e)),S=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(n){let e=function(e){if(S.paused||!l)return;let t=e.target;l.contains(t)?C.current=t:w(C.current,{select:!0})},t=function(e){if(S.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||w(C.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&w(l)});return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,l,S.paused]),u.useEffect(()=>{if(l){E.add(S);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(h,m);l.addEventListener(h,g),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(w(n,{select:t}),document.activeElement!==r)return}(y(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&w(l))}return()=>{l.removeEventListener(h,g),setTimeout(()=>{let t=new CustomEvent(v,m);l.addEventListener(v,R),l.dispatchEvent(t),t.defaultPrevented||w(e??document.body,{select:!0}),l.removeEventListener(v,R),E.remove(S)},0)}}},[l,g,R,S]);let k=u.useCallback(e=>{if(!r&&!n||S.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var i;let t,n=e.currentTarget,[a,l]=[b(t=y(i=n),i),b(t.reverse(),i)];a&&l?e.shiftKey||o!==l?e.shiftKey&&o===a&&(e.preventDefault(),r&&w(l,{select:!0})):(e.preventDefault(),r&&w(a,{select:!0})):o===n&&e.preventDefault()}},[r,n,S.paused]);return(0,p.jsx)(d.Primitive.div,{tabIndex:-1,...a,ref:x,onKeyDown:k})});function y(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function b(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function w(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}g.displayName="FocusScope";var E=(t=[],{add(e){let r=t[0];e!==r&&r?.pause(),(t=R(t,e)).unshift(e)},remove(e){t=R(t,e),t[0]?.resume()}});function R(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}e.s(["FocusScope",0,g],65491);var C=0;function x(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}e.s(["useFocusGuards",0,function(){u.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??x()),document.body.insertAdjacentElement("beforeend",e[1]??x()),C++,()=>{1===C&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),C--}},[])}],3536);var S=function(){return(S=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function k(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var A=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),D="width-before-scroll-bar";function I(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var P="u">typeof window?u.useLayoutEffect:u.useEffect,O=new WeakMap,T=(void 0===r&&(r={}),(void 0===n&&(n=function(e){return e}),o=[],i=!1,a={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=n(e,i);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){i=!0;var t=[];if(o.length){var r=o;o=[],r.forEach(e),t=o}var n=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(n)};a(),o={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),o}}}}).options=S({async:!0,ssr:!1},r),a),M=function(){},N=u.forwardRef(function(e,t){var r,n,o,i,a=u.useRef(null),l=u.useState({onScrollCapture:M,onWheelCapture:M,onTouchMoveCapture:M}),s=l[0],c=l[1],d=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,v=e.enabled,m=e.shards,g=e.sideCar,y=e.noRelative,b=e.noIsolation,w=e.inert,E=e.allowPinchZoom,R=e.as,C=e.gapMode,x=k(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(r=[a,t],n=function(e){return r.forEach(function(t){return I(t,e)})},(o=(0,u.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,i=o.facade,P(function(){var e=O.get(i);if(e){var t=new Set(e),n=new Set(r),o=i.current;t.forEach(function(e){n.has(e)||I(e,null)}
1),n.forEach(function(e){t.has(e)||I(e,o)})}O.set(i,r)},[r]),i),D=S(S({},x),s);return u.createElement(u.Fragment,null,v&&u.createElement(g,{sideCar:T,removeScrollBar:h,shards:m,noRelative:y,noIsolation:b,inert:w,setCallbacks:c,allowPinchZoom:!!E,lockRef:a,gapMode:C}),d?u.cloneElement(u.Children.only(f),S(S({},D),{ref:A})):u.createElement(void 0===R?"div":R,S({},D,{className:p,ref:A}),f))});N.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},N.classNames={fullWidth:D,zeroRight:A};var F=function(e){var t=e.sideCar,r=k(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return u.createElement(n,S({},r))};F.isSideCarExport=!0;var j=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var n,o;(n=t).styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},L=function(){var e=j();return function(t,r){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},_=function(){var e=L();return function(t){return e(t.styles,t.dynamic),null}},W={left:0,top:0,right:0,gap:0},z=function(e){return parseInt(e||"",10)||0},K=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[z(r),z(n),z(o)]},B=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return W;var t=K(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},H=_(),G="data-scroll-locked",U=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(l,"px ").concat(n,";\n  }\n  body[").concat(G,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(A," {\n    right: ").concat(l,"px ").concat(n,";\n  }\n  \n  .").concat(D," {\n    margin-right: ").concat(l,"px ").concat(n,";\n  }\n  \n  .").concat(A," .").concat(A," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(D," .").concat(D," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(G,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n  }\n")},X=function(){var e=parseInt(document.body.getAttribute(G)||"0",10);return isFinite(e)?e:0},Y=function(){u.useEffect(function(){return document.body.setAttribute(G,(X()+1).toString()),function(){var e=X()-1;e<=0?document.body.removeAttribute(G):document.body.setAttribute(G,e.toString())}},[])},q=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;Y();var i=u.useMemo(function(){return B(o)},[o]);return u.createElement(H,{styles:U(i,!t,o,r?"":"!important")})},$=!1;if("u">typeof window)try{var Z=Object.defineProperty({},"passive",{get:function(){return $=!0,!0}});window.addEventListener("test",Z,Z),window.removeEventListener("test",Z,Z)}catch(e){$=!1}var V=!!$&&{passive:!1},J=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},Q=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),ee(e,n)){var o=et(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},ee=function(e,t){return"v"===e?J(t,"overflowY"):J(t,"overflowX")},et=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},er=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*n,s=r.target,u=t.contains(s),c=!1,d=l>0,f=0,p=0;
1do{if(!s)break;var h=et(e,s),v=h[0],m=h[1]-h[2]-a*v;(v||m)&&ee(e,s)&&(f+=m,p+=v);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!u&&s!==document.body||u&&(t.contains(s)||t===s))return d&&(o&&1>Math.abs(f)||!o&&l>f)?c=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(c=!0),c},en=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eo=function(e){return[e.deltaX,e.deltaY]},ei=function(e){return e&&"current"in e?e.current:e},ea=0,el=[];let es=(l=function(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),o=u.useState(ea++)[0],i=u.useState(_)[0],a=u.useRef(e);u.useEffect(function(){a.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(ei),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=en(e),l=r.current,s="deltaX"in e?e.deltaX:l[0]-i[0],u="deltaY"in e?e.deltaY:l[1]-i[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var h=Q(d,c);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=Q(d,c)),!h)return!1;if(!n.current&&"changedTouches"in e&&(s||u)&&(n.current=o),!o)return!0;var v=n.current||o;return er(v,t,e,"h"===v?s:u,!0)},[]),s=u.useCallback(function(e){if(el.length&&el[el.length-1]===i){var r="deltaY"in e?eo(e):en(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(a.current.shards||[]).map(ei).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=u.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=u.useCallback(function(e){r.current=en(e),n.current=void 0},[]),f=u.useCallback(function(t){c(t.type,eo(t),t.target,l(t,e.lockRef.current))},[]),p=u.useCallback(function(t){c(t.type,en(t),t.target,l(t,e.lockRef.current))},[]);u.useEffect(function(){return el.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",s,V),document.addEventListener("touchmove",s,V),document.addEventListener("touchstart",d,V),function(){el=el.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,V),document.removeEventListener("touchmove",s,V),document.removeEventListener("touchstart",d,V)}},[]);var h=e.removeScrollBar,v=e.inert;return u.createElement(u.Fragment,null,v?u.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?u.createElement(q,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},T.useMedium(l),F);var eu=u.forwardRef(function(e,t){return u.createElement(N,S({},e,{ref:t,sideCar:es}))});eu.classNames=N.classNames,e.s(["RemoveScroll",0,eu],85369);var ec=new WeakMap,ed=new WeakMap,ef={},ep=0,eh=function(e){return e&&(e.host||eh(e.parentNode))},ev=function(e,t,r,n){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=eh(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});ef[r]||(ef[r]=new WeakMap);var i=ef[r],a=[],l=new Set,s=new Set(o),u=function(e){!e||l.has(e)||(l.add(e),u(e.parentNode))};o.forEach(u);var c=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))c(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,s=(ec.get(e)||0)+1,u=(i.get(e)||0)+1;ec.set(e,s),i.set(e,u),a.push(e),1===s&&o&&ed.set(e,!0),1===u&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),l.clear(),ep++,function(){a.forEach(function(e){var t=ec.get(e)-1,o=i.get(e)-1;ec.set(e,t),i.set(e,o),t||(ed.has(e)||e.removeAttribute(n),ed.delete(e)),o||e.removeAttribute(r)}),--ep||(ec=new WeakMap,ec=new WeakMap,ed=new WeakMap,ef={})}};e.s(["hideOthers",0,function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),ev(n,o,r,"aria-hidden")):function(){return null}}],86312)},64053,60964,e=>{"use strict";var t=e.i(71645),r=e.i(81140),n=e.i(20783),o=e.i(30030),i=e.i(10772),a=e.i(69340),l=e.i(26330),s=e.i(6
15491),u=e.i(74606),c=e.i(96626),d=e.i(48425),f=e.i(3536),p=e.i(85369),h=e.i(86312),v=e.i(91918),m=e.i(43476),g="Dialog",[y,b]=(0,o.createContextScope)(g),[w,E]=y(g),R=e=>{let{__scopeDialog:r,children:n,open:o,defaultOpen:l,onOpenChange:s,modal:u=!0}=e,c=t.useRef(null),d=t.useRef(null),[f,p]=(0,a.useControllableState)({prop:o,defaultProp:l??!1,onChange:s,caller:g});return(0,m.jsx)(w,{scope:r,triggerRef:c,contentRef:d,contentId:(0,i.useId)(),titleId:(0,i.useId)(),descriptionId:(0,i.useId)(),open:f,onOpenChange:p,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})};R.displayName=g;var C="DialogTrigger",x=t.forwardRef((e,t)=>{let{__scopeDialog:o,...i}=e,a=E(C,o),l=(0,n.useComposedRefs)(t,a.triggerRef);return(0,m.jsx)(d.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":G(a.open),...i,ref:l,onClick:(0,r.composeEventHandlers)(e.onClick,a.onOpenToggle)})});x.displayName=C;var S="DialogPortal",[k,A]=y(S,{forceMount:void 0}),D=e=>{let{__scopeDialog:r,forceMount:n,children:o,container:i}=e,a=E(S,r);return(0,m.jsx)(k,{scope:r,forceMount:n,children:t.Children.map(o,e=>(0,m.jsx)(c.Presence,{present:n||a.open,children:(0,m.jsx)(u.Portal,{asChild:!0,container:i,children:e})}))})};D.displayName=S;var I="DialogOverlay",P=t.forwardRef((e,t)=>{let r=A(I,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=E(I,e.__scopeDialog);return i.modal?(0,m.jsx)(c.Presence,{present:n||i.open,children:(0,m.jsx)(T,{...o,ref:t})}):null});P.displayName=I;var O=(0,v.createSlot)("DialogOverlay.RemoveScroll"),T=t.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=E(I,r);return(0,m.jsx)(p.RemoveScroll,{as:O,allowPinchZoom:!0,shards:[o.contentRef],children:(0,m.jsx)(d.Primitive.div,{"data-state":G(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),M="DialogContent",N=t.forwardRef((e,t)=>{let r=A(M,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=E(M,e.__scopeDialog);return(0,m.jsx)(c.Presence,{present:n||i.open,children:i.modal?(0,m.jsx)(F,{...o,ref:t}):(0,m.jsx)(j,{...o,ref:t})})});N.displayName=M;var F=t.forwardRef((e,o)=>{let i=E(M,e.__scopeDialog),a=t.useRef(null),l=(0,n.useComposedRefs)(o,i.contentRef,a);return t.useEffect(()=>{let e=a.current;if(e)return(0,h.hideOthers)(e)},[]),(0,m.jsx)(L,{...e,ref:l,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),j=t.forwardRef((e,r)=>{let n=E(M,e.__scopeDialog),o=t.useRef(!1),i=t.useRef(!1);return(0,m.jsx)(L,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||n.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),L=t.forwardRef((e,r)=>{let{__scopeDialog:o,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:u,...c}=e,d=E(M,o),p=t.useRef(null),h=(0,n.useComposedRefs)(r,p);return(0,f.useFocusGuards)(),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.FocusScope,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:u,children:(0,m.jsx)(l.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":G(d.open),...c,ref:h,onDismiss:()=>d.onOpenChange(!1)})}),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(q,{titleId:d.titleId}),(0,m.jsx)($,{contentRef:p,descriptionId:d.descriptionId})]})]})}),_="DialogTitle",W=t.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=E(_,r);return(0,m.jsx)(d.Primitive.h2,{id:o.titleId,...n,ref:t})});W.displayName=_;var z="DialogDescription",K=t.forwardRef((e,t)=>
1{let{__scopeDialog:r,...n}=e,o=E(z,r);return(0,m.jsx)(d.Primitive.p,{id:o.descriptionId,...n,ref:t})});K.displayName=z;var B="DialogClose",H=t.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,i=E(B,n);return(0,m.jsx)(d.Primitive.button,{type:"button",...o,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});function G(e){return e?"open":"closed"}H.displayName=B;var U="DialogTitleWarning",[X,Y]=(0,o.createContext)(U,{contentName:M,titleName:_,docsSlug:"dialog"}),q=({titleId:e})=>{let r=Y(U),n=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return t.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},$=({contentRef:e,descriptionId:r})=>{let n=Y("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return t.useEffect(()=>{let t=e.current?.getAttribute("aria-describedby");r&&t&&(document.getElementById(r)||console.warn(o))},[o,e,r]),null};e.s(["Close",0,H,"Content",0,N,"Description",0,K,"Dialog",0,R,"DialogClose",0,H,"DialogContent",0,N,"DialogDescription",0,K,"DialogOverlay",0,P,"DialogPortal",0,D,"DialogTitle",0,W,"DialogTrigger",0,x,"Overlay",0,P,"Portal",0,D,"Root",0,R,"Title",0,W,"Trigger",0,x,"WarningProvider",0,X,"createDialogScope",0,b],26999);var Z=e.i(26999);e.s(["Dialog",0,Z],64053);let V=(0,e.i(56420).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["XIcon",0,V],60964)},94909,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(55682),a=e.r(8927),l=e.r(5500),s=i._(e.r(1948));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=l.Image},57688,(e,t,r)=>{t.exports=e.r(94909)},65306,e=>{"use strict";e.s(["optiflyAgentAvatar",0,"/brand/final-logo/optifly-logo-mark.png","optiflyLogoMark",0,"/brand/final-logo/optifly-logo-mark.png","optiflyLogoWordmark",0,"/brand/final-logo/optifly-logo-final-text.png","optiflyTravelerAvatar",0,""])},42727,75830,86318,e=>{"use strict";var t=e.i(71645),r=e.i(81140),n=e.i(30030),o=e.i(20783),i=e.i(91918),a=e.i(43476);function l(e){let r=e+"CollectionProvider",[l,s]=(0,n.createContextScope)(r),[u,c]=l(r,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:n}=e,o=t.default.useRef(null),i=t.default.useRef(new Map).current;return(0,a.jsx)(u,{scope:r,itemMap:i,collectionRef:o,children:n})};d.displayName=r;let f=e+"CollectionSlot",p=(0,i.createSlot)(f),h=t.default.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=c(f,r),l=(0,o.useComposedRefs)(t,i.collectionRef);return(0,a.jsx)(p,{ref:l,children:n})});h.displayName=f;let v=e+"CollectionItemSlot",m="data-radix-collection-item",g=(0,i.createSlot)(v),y=t.default.forwardRef((e,r)=>{let{scope:n,children:i,...l}=e,s=t.default.useRef(null),u=(0,o.useComposedRefs)(r,s),d=c(v,n);return t.default.useEffect(()=>(d.itemMap.set(s,{ref:s,...l}),()=>void d.itemMap.delete(s))),(0,a.jsx)(g,{...{[m]:""},ref:u,children:i})});return y.displayName=v,[{Provider:d,Slot:h,ItemSlot:y},function(r){let n=c(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},s]}var s=new WeakMap;function u(e,t){var r,n;let o,i,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(r=e,n=t,o=r.length,(a=(i=c(n))>=0?i:o+i)<0||a>=o?-1:a);return -1===l?void 0:e[l]}function c(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],s.set(this,!0)}set(e,t){return s.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,o=this.has(t),i=this.#e.length,a=c(e),l=a>=0?a:i+a,s=l<0||l>=i?-1:l;if(s===this.size||o&&s===this.size-1||-1===s)return this.set(t,r),this;let u=this.size+ +!o;a<0&&l++;let d=[...this.#e],f=!1;for(let e=l;e<u;e++)if(l===e){let i=d[e];d[e]===t&&(i=d[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{f||d[e-1]!==t||(f=!0);let r=d[f?e:e-1],o=n;n=this.get(r),this.delete(r),this.set(r,o)}return this}with(t,r,n){let o=new e(this);return o.insert(t,r,n),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=u(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=u(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return u(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],o=0;for(let e of this)Reflect.apply(t,r,[e,o,this])&&n.push(e),o++;return new e(n)}map(t,r){let n=[],o=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,o,this])]),o++;return new e(n)}reduce(...e){let[t,r]=e,n=0,o=r??this.at(0);for(let r of this)o=0===n&&1===e.length?r:Reflect.apply(t,this,[o,r,n,this]),n++;return o}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let o=this.at(r);n=r===this.size-1&&1===e.length?o:Reflect.apply(t,this,[n,o,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,o=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(o=r-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}
5),e.s(["createCollection",0,l],75830);var d=e.i(10772),f=e.i(48425),p=e.i(30207),h=e.i(69340),v=t.createContext(void 0);function m(e){let r=t.useContext(v);return e||r||"ltr"}e.s(["useDirection",0,m],86318);var g="rovingFocusGroup.onEntryFocus",y={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[w,E,R]=l(b),[C,x]=(0,n.createContextScope)(b,[R]),[S,k]=C(b),A=t.forwardRef((e,t)=>(0,a.jsx)(w.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,a.jsx)(w.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,a.jsx)(D,{...e,ref:t})})}));A.displayName=b;var D=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:i,orientation:l,loop:s=!1,dir:u,currentTabStopId:c,defaultCurrentTabStopId:d,onCurrentTabStopIdChange:v,onEntryFocus:w,preventScrollOnEntryFocus:R=!1,...C}=e,x=t.useRef(null),k=(0,o.useComposedRefs)(n,x),A=m(u),[D,I]=(0,h.useControllableState)({prop:c,defaultProp:d??null,onChange:v,caller:b}),[P,O]=t.useState(!1),M=(0,p.useCallbackRef)(w),N=E(i),F=t.useRef(!1),[j,L]=t.useState(0);return t.useEffect(()=>{let e=x.current;if(e)return e.addEventListener(g,M),()=>e.removeEventListener(g,M)},[M]),(0,a.jsx)(S,{scope:i,orientation:l,dir:A,loop:s,currentTabStopId:D,onItemFocus:t.useCallback(e=>I(e),[I]),onItemShiftTab:t.useCallback(()=>O(!0),[]),onFocusableItemAdd:t.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>L(e=>e-1),[]),children:(0,a.jsx)(f.Primitive.div,{tabIndex:P||0===j?-1:0,"data-orientation":l,...C,ref:k,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{F.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!F.current;if(e.target===e.currentTarget&&t&&!P){let t=new CustomEvent(g,y);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=N().filter(e=>e.focusable);T([e.find(e=>e.active),e.find(e=>e.id===D),...e].filter(Boolean).map(e=>e.ref.current),R)}}F.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>O(!1))})})}),I="RovingFocusGroupItem",P=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:o,focusable:i=!0,active:l=!1,tabStopId:s,children:u,...c}=e,p=(0,d.useId)(),h=s||p,v=k(I,o),m=v.currentTabStopId===h,g=E(o),{onFocusableItemAdd:y,onFocusableItemRemove:b,currentTabStopId:R}=v;return t.useEffect(()=>{if(i)return y(),()=>b()},[i,y,b]),(0,a.jsx)(w.ItemSlot,{scope:o,id:h,focusable:i,active:l,children:(0,a.jsx)(f.Primitive.span,{tabIndex:m?0:-1,"data-orientation":v.orientation,...c,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{i?v.onItemFocus(h):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>v.onItemFocus(h)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void v.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return O[o]}(e,v.orientation,v.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=v.loop?(r=o,n=i+1,r.map((e,t)=>r[(n+t)%r.length])):o.slice(i+1)}setTimeout(()=>T(o))}}),children:"function"==typeof u?u({isCurrentTabStop:m,hasTabStop:null!=R}):u})})});P.displayName=I;var O={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function T(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",0,P,"Root",0,A,"createRovingFocusGroupScope",0,x],42727)}]);

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.