PageSourceSearch

https://icelanddriver.com/_next/static/chunks/7-fef72f2c6471cdab.js

js icelanddriver.com collected 2026-10-08 04:14:27 UTC 10,853 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7],{4054:function(e,t,n){function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{F:function(){return R}});let u=i(function(){return o(/^Mac/i)}),s=i(function(){return o(/^iPhone/i)}),a=i(function(){return o(/^iPad/i)||u()&&navigator.maxTouchPoints>1}),l=i(function(){return s()||a()});i(function(){return u()||l()}),i(function(){return r(/AppleWebKit/i)&&!d()});let d=i(function(){return r(/Chrome/i)}),c=i(function(){return r(/Android/i)});i(function(){return r(/Firefox/i)});let v=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},f=e=>e&&"window"in e&&e.window===e?e:v(e).defaultView||window;var p=n(5271);let g=null,E=new Set,m=new Map,b=!1,h=!1,w={Tab:!0,Escape:!0};function y(e,t){for(let n of E)n(e,t)}function T(e){b=!0,e.metaKey||!u()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(g="keyboard",y("keyboard",e))}
1function L(e){g="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(b=!0,y("pointer",e))}function F(e){(0===e.mozInputSource&&e.isTrusted||(c()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(b=!0,g="virtual")}function P(e){e.target!==window&&e.target!==document&&(b||h||(g="virtual",y("virtual",e)),b=!1,h=!1)}function k(){b=!1,h=!0}function M(e){if("undefined"==typeof window||m.get(f(e)))return;let t=f(e),n=v(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){b=!0,r.apply(this,arguments)},n.addEventListener("keydown",T,!0),n.addEventListener("keyup",T,!0),n.addEventListener("click",F,!0),t.addEventListener("focus",P,!0),t.addEventListener("blur",k,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",L,!0),n.addEventListener("pointermove",L,!0),n.addEventListener("pointerup",L,!0)):(n.addEventListener("mousedown",L,!0),n.addEventListener("mousemove",L,!0),n.addEventListener("mouseup",L,!0)),t.addEventListener("beforeunload",()=>{C(e)},{once:!0}),m.set(t,{focus:r})}let C=(e,t)=>{let n=f(e),r=v(e);t&&r.removeEventListener("DOMContentLoaded",t),m.has(n)&&(n.HTMLElement.prototype.focus=m.get(n).focus,r.removeEventListener("keydown",T,!0),r.removeEventListener("keyup",T,!0),r.removeEventListener("click",F,!0),n.removeEventListener("focus",P,!0),n.removeEventListener("blur",k,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",L,!0),r.removeEventListener("pointermove",L,!0),r.removeEventListener("pointerup",L,!0)):(r.removeEventListener("mousedown",L,!0),r.removeEventListener("mousemove",L,!0),r.removeEventListener("mouseup",L,!0)),m.delete(n))};function H(){return"pointer"!==g}"undefined"!=typeof document&&function(e){let t;let n=v(void 0);"loading"!==n.readyState?M(void 0):(t=()=>{M(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>C(e,t)}();let S=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),D="undefined"!=typeof document?p.useLayoutEffect:()=>{};class W{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function x(e){let t=(0,p.useRef)({isFocused:!1,observer:null});D(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=function(e){let t=(0,p.useRef)(null);return D(()=>{t.current=e},[e]),(0,p.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}(t=>{null==e||e(t)});return(0,p.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new W("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function R(e={}){var t,n,r;let{autoFocus:o=!1,isTextInput:i,within:u}=e,s=(0,p.useRef)({isFocused:!1,isFocusVisible:o||H()}),[a,l]=(0,p.useState)(!1),[d,c]=(0,p.useState)(()=>s.current.isFocused&&s.current.isFocusVisible),g=(0,p.useCallback)(()=>c(s.current.isFocused&&s.current.isFocusVisible),[]),m=(0,p.useCallback)(e=>{s.current.isFocused=e,l(e),g()},[g]);t=e=>{s.current.isFocusVisible=e,g()},n=[],r={isTextInput:i},M(),(0,p.useEffect)(()=>
1{let e=(e,n)=>{(function(e,t,n){var r;let o="undefined"!=typeof window?f(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,i="undefined"!=typeof window?f(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,u="undefined"!=typeof window?f(null==n?void 0:n.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?f(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof o&&!S.has(null==n?void 0:null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof i||(null==n?void 0:n.target)instanceof u&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof s&&!w[n.key])})(!!(null==r?void 0:r.isTextInput),e,n)&&t(H())};return E.add(e),()=>{E.delete(e)}},n);let{focusProps:b}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e,i=(0,p.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),o&&o(!1),!0},[r,o]),u=x(i),s=(0,p.useCallback)(e=>{let t=v(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),o&&o(!0),u(e))},[o,n,u]);return{focusProps:{onFocus:!t&&(n||o||r)?s:void 0,onBlur:!t&&(r||o)?i:void 0}}}({isDisabled:u,onFocusChange:m}),{focusWithinProps:h}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,i=(0,p.useRef)({isFocusWithin:!1}),u=(0,p.useCallback)(e=>{i.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(i.current.isFocusWithin=!1,n&&n(e),o&&o(!1))},[n,o,i]),s=x(u),a=(0,p.useCallback)(e=>{i.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),o&&o(!0),i.current.isFocusWithin=!0,s(e))},[r,o,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:a,onBlur:u}}}({isDisabled:!u,onFocusWithinChange:m});return{isFocused:a,isFocusVisible:d,focusProps:u?h:b}}},5794:function(e,t,n){n.d(t,{X:function(){return l}});var r=n(5271);let o=!1,i=0;function u(){o=!0,setTimeout(()=>{o=!1},50)}function s(e){"touch"===e.pointerType&&u()}function a(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",s):document.addEventListener("touchend",u),i++,()=>{--i>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",s):document.removeEventListener("touchend",u))}}function l(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:u}=e,[s,l]=(0,r.useState)(!1),d=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(a,[]);let{hoverProps:c,triggerHoverEnd:v}=(0,r.useMemo)(()=>{let e=(e,r)=>{if(d.pointerType=r,u||"touch"===r||d.isHovered||!e.currentTarget.contains(e.target))return;d.isHovered=!0;let o=e.currentTarget;d.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),l(!0)},r=(e,t)=>{if(d.pointerType="",d.target=null,"touch"===t||!d.isHovered)return;d.isHovered=!1;let r=e.currentTarget;i&&i({type:"hoverend",target:r,pointerType:t}),n&&n(!1),l(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{o&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!u&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(s.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{d.ignoreEmulatedMouseEvents||o||e(t,"mouse"),d.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!u&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:s,triggerHoverEnd:r}},[t,n,i,u,d]);return(0,r.useEffect)(()=>{u&&v({currentTarget:d.target},d.pointerType)},[u]),{hoverProps:c,isHovered:s}}},6224:function(e,t,n){n.d(t,{x:function(){return s}});var r=n(5271),o=n(4347),i=n(7184),u=n(7493);function s(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.useRef)(null),[n,s]=(0,r.useState)(!1),a=(0,i.G)(),l=(0,u.z)(()=>{t.current=null,s(!1),a.dispose()}),d=(0,u.z)(e=>{if(a.dispose(),null===t.current){t.current=e.currentTarget,s(!0);{let n=(0,o.r)(e.currentTarget);a.addEventListener(n,"pointerup",l,!1),a.addEventListener(n,"pointermove",e=>{if(t.current){var n,r;let o,i;s((o=e.width/2,i=e.height/2,n={top:e.clientY-i,right:e.clientX+o,bottom:e.clientY+i,left:e.clientX-o},r=t.current.getBoundingClientRect(),!(!n||!r||n.right<r.left||n.left>r.right||n.bottom<r.top||n.top>r.bottom)))}},!1),a.addEventListener(n,"pointercancel",l,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:d,onPointerUp:l,onClick:l}}}},5299:function(e,t,n){n.d(t,{f:function(){return o}});var r=n(5271);function o(e,t){return(0,r.useMemo)(()=>{var n;if(e.type)return e.type;let r=null!=(n=e.as)?n:"button";if("string"==typeof r&&"button"===r.toLowerCase()||(null==t?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}},7807:function(e,t,n){var r=n(5271);let o=r.forwardRef(function(e,t){let{title:n,titleId:o,...i}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":o},i),n?r.createElement("title",{id:o},n):null,r.createElement("path",{fillRule:"evenodd",d:"M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z",clipRule:"evenodd"}))});t.Z=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.