PageSourceSearch

https://www.qima.ae/_next/static/chunks/1goidwjan81jg.js

js qima.ae collected 2026-10-05 03:23:26 UTC 17,272 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,589472,465218,735825,452888,820646,e=>{"use strict";var t,n,r,i,a,o=e.i(299749),s=e.i(540316),u=((t={}).DOCUMENT="document",t.PARAGRAPH="paragraph",t.HEADING_1="heading-1",t.HEADING_2="heading-2",t.HEADING_3="heading-3",t.HEADING_4="heading-4",t.HEADING_5="heading-5",t.HEADING_6="heading-6",t.OL_LIST="ordered-list",t.UL_LIST="unordered-list",t.LIST_ITEM="list-item",t.HR="hr",t.QUOTE="blockquote",t.EMBEDDED_ENTRY="embedded-entry-block",t.EMBEDDED_ASSET="embedded-asset-block",t.EMBEDDED_RESOURCE="embedded-resource-block",t.TABLE="table",t.TABLE_ROW="table-row",t.TABLE_CELL="table-cell",t.TABLE_HEADER_CELL="table-header-cell",t);e.s(["BLOCKS",0,u],465218);var l=((n={}).ASSET_HYPERLINK="asset-hyperlink",n.EMBEDDED_ENTRY="embedded-entry-inline",n.EMBEDDED_RESOURCE="embedded-resource-inline",n.ENTRY_HYPERLINK="entry-hyperlink",n.HYPERLINK="hyperlink",n.RESOURCE_HYPERLINK="resource-hyperlink",n);e.s(["INLINES",0,l],735825);var c=((r={}).BOLD="bold",r.ITALIC="italic",r.UNDERLINE="underline",r.CODE="code",r.SUPERSCRIPT="superscript",r.SUBSCRIPT="subscript",r.STRIKETHROUGH="strikethrough",r);e.s(["MARKS",0,c],452888);var d=[u.PARAGRAPH,u.HEADING_1,u.HEADING_2,u.HEADING_3,u.HEADING_4,u.HEADING_5,u.HEADING_6,u.OL_LIST,u.UL_LIST,u.HR,u.QUOTE,u.EMBEDDED_ENTRY,u.EMBEDDED_ASSET,u.EMBEDDED_RESOURCE,u.TABLE],E=[u.PARAGRAPH,u.HEADING_1,u.HEADING_2,u.HEADING_3,u.HEADING_4,u.HEADING_5,u.HEADING_6,u.OL_LIST,u.UL_LIST,u.HR,u.QUOTE,u.EMBEDDED_ENTRY,u.EMBEDDED_ASSET,u.EMBEDDED_RESOURCE];u.TABLE,u.TABLE_ROW,u.TABLE_CELL,u.TABLE_HEADER_CELL,u.HR,u.EMBEDDED_ENTRY,u.EMBEDDED_ASSET,u.EMBEDDED_RESOURCE;var f=(i={},(0,o._)(i,u.OL_LIST,[u.LIST_ITEM]),(0,o._)(i,u.UL_LIST,[u.LIST_ITEM]),(0,o._)(i,u.LIST_ITEM,E),(0,o._)(i,u.QUOTE,[u.PARAGRAPH]),(0,o._)(i,u.TABLE,[u.TABLE_ROW]),(0,o._)(i,u.TABLE_ROW,[u.TABLE_CELL,u.TABLE_HEADER_CELL]),(0,o._)(i,u.TABLE_CELL,[u.PARAGRAPH,u.UL_LIST,u.OL_LIST]),(0,o._)(i,u.TABLE_HEADER_CELL,[u.PARAGRAPH]),i),p=[u.HEADING_1,u.HEADING_2,u.HEADING_3,u.HEADING_4,u.HEADING_5,u.HEADING_6];[u.PARAGRAPH].concat((0,s._)(p)),u.DOCUMENT,u.PARAGRAPH,u.HEADING_1,u.HEADING_2,u.HEADING_3,u.HEADING_4,u.HEADING_5,u.HEADING_6,u.OL_LIST,u.UL_LIST,u.LIST_ITEM,u.HR,u.QUOTE,u.EMBEDDED_ENTRY,u.EMBEDDED_ASSET,l.HYPERLINK,l.ENTRY_HYPERLINK,l.ASSET_HYPERLINK,l.EMBEDDED_ENTRY,c.BOLD,c.CODE,c.ITALIC,c.UNDERLINE;var _=e.i(120786),h=e.i(92808),m=e.i(500075);function v(e,t){var n=!0,r=!1,i=void 0;try{for(var a,o=Object.keys(e)[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;if(t===e[s])return!0}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return!1}function y(e){if(e.nodeType!==u.PARAGRAPH||1!==e.content.length)return!1;var t=e.content[0];return"text"===t.nodeType&&""===t.value}e.s(["isBlock",0,function(e){return v(u,e.nodeType)},"isEmptyParagraph",0,y,"isInline",0,function(e){return v(l,e.nodeType)},"isText",0,function(e){return"text"===e.nodeType},"stripEmptyTrailingParagraphFromDocument",0,function(e){return!(null!=e&&(void 0===e?"undefined":(0,m._)(e))==="object"&&"content"in e&&Array.isArray(e.content))||e.content.length<2?e:y(e.content[e.content.length-1])?(0,h._)((0,_._)({},e),{content:e.content.slice(0,-1)}):e}],937584);var A=e.i(937584),D=e.i(292955),T=e.i(780646),L=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}},R=function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}},x=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},N=function(e){var t=e.expected,n=e.value,r=e.path;return{details:"Value must be one of expected values",name:"in",expected:(0,s._)(t).sort(),path:r.toArray(),value:n}},b=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},I=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}},g=function(){function e(t,n){var r=this,i=this;(0,D._)(this,e),(0,o._)(this,"obj",void 0),(0,o._)(this,"path",void 0),(0,o._)(this,"_errors",[]),(0,o._)(this,"catch",function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=i._errors).push.apply(e,(0,s._)(n))}),(0,o._)(this,"exists",function(e){return e in r.obj||(r.catch(I({property:e,path:r.path.of(e)})),!1)}),(0,o._)(this,"object",function(e){var t,n=e?r.obj[e]:r.obj;if(e&&!r.exists(e))return!1;if((void 0===n?"undefined":(0,m._)(n))==="object"&&!Array.isArray(n)&&null!==n)return!0;var i=e?r.path.of(e):r.path,a=null!=(t=null!=e?e:r.path.last())?t:"value";return r.catch(L({typeName:"Object",property:a,path:i,value:n})),!1}),(0,o._)(this,"string",function(e){var t=r.obj[e];return(!e||!!r.exists(e))&&("string"==typeof t||(r.catch(L({typeName:"String",property:e,path:r.path.of(e),value:t})),!1))}),(0,o._)(this,"number",function(e,t){var n=r.obj[e];return!!t&&!(e in r.obj)||!!r.exists(e)&&(!("number"!=typeof n||Number.isNaN(n))||(r.catch(L({typeName:"Number",property:e,path:r.path.of(e),value:n})),!1))}),(0,o._)(this,"array",function(e){var t=r.obj[e];return(!e||!!r.exists(e))&&(!!Array.isArray(t)||(r.catch(L({typeName:"Array",property:e,path:r.path.of(e),value:t})),!1))}),(0,o._)(this,"enum",function(e,t){var n=r.obj[e];return!!("string"==typeof n&&t.includes(n))||(r.catch(N({expected:t,value:n,path:r.path.of(e)})),!1)}),(0,o._)(this,"empty",function(e){if(!r.array(e))return!1;var t=r.obj[e];return 0===t.length||(r.catch(x({max:0,value:t,path:r.path.of(e)})),!1)}),(0,o._)(this,"minLength",function(e,t){if(!r.array(e))return!1;var n=r.obj[e];return n.length>=t||(r.catch(R({min:t,value:n,path:r.path.of(e)})),!1)}),(0,o._)(this,"noAdditionalProperties",function(e){var t=Object.keys(r.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return r.catch(b({property:e,path:r.path.of(e)}))}),0===t.length}),(0,o._)(this,"each",function(e,t){if(r.array(e)){var n=r.obj[e],i=!1;
1n.forEach(function(n,a){if(!i){var o=t(n,r.path.of(e).of(a));o.length>0&&(i=!0),r.catch.apply(r,(0,s._)(o))}})}}),this.obj=t,this.path=n}return(0,T._)(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}(),S=e.i(251461),H=e.i(811192),j=e.i(64217),w=[],B=function(){function e(t,n){(0,D._)(this,e),(0,o._)(this,"contentRule",void 0),(0,o._)(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return(0,T._)(e,[{key:"assert",value:function(e,t){var n=new g(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var r=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),i=r.nodeTypes,a=r.min,o=void 0===a?0:a;if(0===i.length&&o>0)throw Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(o," with no nodeTypes"));if(n.minLength("content",o),0===i.length?n.empty("content"):n.each("content",function(e,t){var n=new g(e,t);return n.object()&&n.enum("nodeType",i),n.errors}),n.object("data")){var u,l,c=null!=(u=null==(l=this.validateData)?void 0:l.call(this,e.data,t.of("data")))?u:[];n.catch.apply(n,(0,s._)(c))}return n.errors}}]),e}(),O=function(e){function t(e,n){var r;return(0,D._)(this,t),r=(0,H._)(this,t,[n,function(e,t){return(0,S._)(r).assertLink(e,t)}]),(0,o._)(r,"linkType",void 0),(0,o._)(r,"type",void 0),(0,o._)(r,"assertLink",function(e,t){var n=new g(e,t);if(n.object("target")){var i=new g(e.target.sys,t.of("target").of("sys"));i.object()&&(i.enum("type",[r.type]),i.enum("linkType",[r.linkType]),"Link"===r.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),n.catch.apply(n,(0,s._)(i.errors))}return n.noAdditionalProperties(["target"]),n.errors}),r.linkType=e,r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return(0,j._)(t,e),t}(B),G=function(e){function t(){var e;return(0,D._)(this,t),e=(0,H._)(this,t,[["text"],function(t,n){return(0,S._)(e).assertLink(t,n)}]),(0,o._)(e,"assertLink",function(e,t){var n=new g(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return(0,j._)(t,e),t}(B),P=function(e,t){return new B(e,t)},C=function(e,t){return new O(e,t)},M=P((0,s._)(Object.values(l)).concat(["text"]).sort()),U=P([u.LIST_ITEM]),k=C("Entry",w),Y=P(function(){return{nodeTypes:[u.PARAGRAPH],min:1}},function(e,t){var n=new g(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});a={},(0,o._)(a,u.DOCUMENT,P(d)),(0,o._)(a,u.PARAGRAPH,M),(0,o._)(a,u.HEADING_1,M),(0,o._)(a,u.HEADING_2,M),(0,o._)(a,u.HEADING_3,M),(0,o._)(a,u.HEADING_4,M),(0,o._)(a,u.HEADING_5,M),(0,o._)(a,u.HEADING_6,M),(0,o._)(a,u.QUOTE,P(f[u.QUOTE])),(0,o._)(a,u.EMBEDDED_ENTRY,k),(0,o._)(a,u.EMBEDDED_ASSET,C("Asset",w)),(0,o._)(a,u.EMBEDDED_RESOURCE,C("Contentful:Entry",w)),(0,o._)(a,u.HR,P(w)),(0,o._)(a,u.OL_LIST,U),(0,o._)(a,u.UL_LIST,U),(0,o._)(a,u.LIST_ITEM,P((0,s._)(E).sort())),(0,o._)(a,u.TABLE,P(function(){return{nodeTypes:[u.TABLE_ROW],min:1}})),(0,o._)(a,u.TABLE_ROW,P(function(){return{nodeTypes:[u.TABLE_CELL,u.TABLE_HEADER_CELL],min:1}})),(0,o._)(a,u.TABLE_CELL,Y),(0,o._)(a,u.TABLE_HEADER_CELL,Y),(0,o._)(a,l.HYPERLINK,new G),(0,o._)(a,l.EMBEDDED_ENTRY,k),(0,o._)(a,l.EMBEDDED_RESOURCE,C("Contentful:Entry",w)),(0,o._)(a,l.ENTRY_HYPERLINK,C("Entry",["text"])),(0,o._)(a,l.ASSET_HYPERLINK,C("Asset",["text"])),(0,o._)(a,l.RESOURCE_HYPERLINK,C("Contentful:Entry",["text"])),e.s([],589472),e.s(["helpers",0,A],820646)},474447,e=>{"use strict";var t=e.i(120786),n=e.i(92808),r=e.i(651682),i=e.i(50630),a=e.i(648311),o=e.i(555028),s=e.i(89406);let u=function(e){var t=e.isOpen,n=e.onClose,r=e.title,u=e.content,l=e.imageUrl,c=(0,a.useRef)(null);return((0,a.useEffect)(function(){!t&&c.current&&c.current.closeModal()},[t]),t)?(0,i.jsx)(o.default,{ref:c,onDismiss:n,containerClassesProp:"absolute block bg-panelLight px-10 pt-[72px] pb-[24px] md:py-[60px] px-[16px] md:px-[48px] mx-auto top-1/2 left-1/2 xy-50 pointer-events-auto rounded-xl shadow-xl",children:(0,i.jsx)(s.default,{modalTitle:r,message:u,imageUrl:l,onDismiss:n})}):null};e.s(["default",0,function(e){var o,s=e.equipmentButtonAsset,l=e.labLocations,c=e.translations,d=(0,r._)((0,a.useState)(l[0]),2),E=d[0],f=d[1],p=(0,r._)((0,a.useState)(l[0].sys.id),2),_=p[0],h=p[1],m=(0,r._)((0,a.useState)(l[0].fields.rooms[0].sys.id),2),v=m[0],y=m[1],A=(0,r._)((0,a.useState)(l[0].fields.rooms[0].fields.equipments||[]),2),D=A[0],T=A[1],L=(0,r._)((0,a.useState)(0),2),R=L[0],x=L[1],N=(0,r._)((0,a.useState)(!1),2),b=N[0],I=N[1],g=(0,r._)((0,a.useState)(null),2),S=g[0],H=g[1],j=(0,r._)((0,a.useState)(!0),2),w=j[0],B=j[1],O=(0,r._)((0,a.useState)(0),2),G=O[0],P=O[1],C=(0,r._)((0,a.useState)(0),2),M=C[0],U=C[1],k=(0,r._)((0,a.useState)(0),2),Y=k[0],K=k[1],q=(0,r._)((0,a.useState)({isOpen:!1,title:"",content:"",imageUrl:""}),2),W=q[0],F=q[1],Q=(0,a.useRef)(null),z=(0,a.useRef)(null),X=(0,a.useRef)(null),V=(0,a.useRef)(0),J=(0,a.useRef)(null),Z=(0,a.useRef)(0);(0,a.useEffect)(function(){if(!w||b){X.current&&cancelAnimationFrame(X.current);return}var e=function(){V.current+=.5,x(V.current),X.current=requestAnimationFrame(e)};return null!==J.current&&clearTimeout(J.current),J.current=window.setTimeout(function(){X.current=requestAnimationFrame(e),J.current=null},200),function(){X.current&&cancelAnimationFrame(X.current),J.current&&clearTimeout(J.current)}},[w,b]),(0,a.useEffect)(function(){var e=function(){if(Q.current){if(E){var e=E.fields.rooms.find(function(e){return e.sys.id===v});e&&(P($(e.fields.panoramicImageWidth)),U(Q.current.offsetWidth),K(Q.current.offsetHeight))}}};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[_,v]),(0,a.useEffect)(function(){var e=function(){w&&(0===Z.current&&(Z.current=window.scrollY),Math.abs(window.scrollY-Z.current)>250&&(B(!0),Z.current=0))};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}},[w]),(0,a.useEffect)(function(){var e=function(){b&&eo()};return window.addEventListener("mouseup",e),window.addEventListener("touchend",e),function(){window.removeEventListener("mouseup",e),window.removeEventListener("touchend",e)}},[b]);var $=function(e){return 320===Y?Math.round(.64*e):e},ee=function(e){if(e>G)return e%G;if(e<0){for(var t=e;t<0;)t+=G;return t%G}return e},et=function(e){return ee(Math.round(e+R))},en=function(e){var t=et(e);return t>5&&t<M-27},er=function(e){return"touches"in e},ei=function(e){I(!0),B(!1),er(e)&&H(e.touches[0].pageX),e.preventDefault()},ea=function(e){if(b){var t=0;er(e)?null!==S&&(t=e.touches[0].pageX-S,H(e.touches[0].pageX)):t=e.movementX,V.current+=t,x(V.current)}},eo=function(){I(!1),H(null)},es=function(e){B(!1),F({isOpen:!0,title:e.fields.title,content:e.fields.content,imageUrl:e.fields.closeUpImage})},eu=(0,r._)((0,a.useState)(!1),2),el=eu[0];eu[1];var ec=(0,r._)((0,a.useState)({x:0,y:0}),2),ed=ec[0],eE=ec[1];return(0,i.jsxs)("div",{"data-testid":"lab-locations",children:[(0,i.jsxs)("div",{className:"bg-accentColorLight py-10 rounded-3xl",children:[(0,i.jsxs)("form",{ref:z,onSubmit:function(e){if(e.preventDefault(),z.current){var t=new FormData(z.current),n=t.get("lab-location"),r=t.get("labs");if(_!==n){var i=l.find(function(e){return e.sys.id===n});f(i),h(n),y(i.fields.rooms[0].sys.id),T(i.fields.rooms[0].fields.equipments||[])}if(v!==r){var a=E.fields.rooms.find(function(e){return e.sys.id===r});y(a.sys.id),T(a.fields.equipments||[])}}},onInput:function(){z.current&&z.current.requestSubmit()},children:[(0,i.jsxs)("div",{className:"px-6 md:px-10",children:[(0,i.jsx)("div",{className:"mb-4 lg:w-1/2 w-full",children:(0,i.jsx)("select",{className:"w-full rounded lg:text-base text-[0.875rem] leading-5",name:"lab-location",id:"lab-location",defaultValue:_,children:Object.values(l).map(function(e){return(0,i.jsx)("option",{value:e.sys.id,children:e.fields.title},e.sys.id)})})}),(0,i.jsx)("div",{className:"mb-3 flex flex-nowrap gap-4 snap-x overflow-x-auto overflow-y-hidden",children:E&&Object.values(E.fields.rooms).map(function(e){return(0,i.jsxs)("div",{className:"snap-start",children:[(0,i.jsx)("input",{type:"radio",id:e.sys.id,name:"labs",value:e.sys.id,className:"hidden peer",defaultChecked:e.sys.id===v}),(0,i.jsxs)("label",{htmlFor:e.sys.id,className:"inline-flex items-center justify-between w-full p-1 text-gray-500 cursor-pointer dark:hover:text-gray-300 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700 relative",children:[(0,i.jsx)("div",{className:"block text-[0.875rem] leading-5",children:(0,i.jsx)("div",{className:"pb-4 truncate",children:e.fields.title})}),(0,i.jsx)("div",{className:"".concat(e.sys.id===v?"":"hidden"," text-primary absolute top-6 left-[50%] transform translate-x-[-50%]"),children:"●"})]})]},e.sys.id)})})]}),(0,i.jsx)("div",{id:"panoramic-image",ref:Q,className:"w-full md:h-[500px] h-[320px] ".concat(b?"cursor-grabbing":el?"cursor-pointer":"cursor-grab"),style:{background:"url(".concat((null==(o=E.fields.rooms.find(function(e){return e.sys.id===v}))?void 0:o.fields.panoramicImage)||"","?fm=jpg&q=80) ").concat(R,"px center / cover repeat")},onMouseDown:el?function(e){if(el&&"panoramic-image"===e.currentTarget.id){e.preventDefault();var t=e.currentTarget.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;eE({x:ee(n-R),y:r})}}:ei,onMouseMove:ea,onMouseLeave:function(){b&&(I(!1),H(null))},onTouchStart:ei,onTouchMove:ea,children:(0,i.jsxs)("div",{className:"relative",children:[el&&(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("span",{className:"text-primary m-auto pl-24 text-lg font-bold",children:["X: ",ed.x," Y: ",ed.y]})}),D.map(function(e){return en($(e.fields.x))?(0,i.jsx)("a",{role:"button",onClick:function(){return es(e)}
1,className:"inline-block absolute cursor-pointer",style:{top:"".concat($(e.fields.y),"px"),left:"".concat(et($(e.fields.x)),"px")},children:(0,i.jsx)("img",{alt:e.fields.title,className:"w-[25px]",src:"".concat(s,"?w=25&fm=png&q=60")})},e.sys.id):null})]})})]}),(0,i.jsxs)("div",{className:"px-6 md:px-10",children:[(0,i.jsx)("div",{className:"w-full",children:(0,i.jsx)("h3",{children:(null==E?void 0:E.fields.title)||""})}),(0,i.jsx)("div",{className:"w-full mb-14 [&_ul]:list-disc [&_ul]:pl-10",children:(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:(null==E?void 0:E.fields.content)||""}})}),(0,i.jsx)("div",{children:(0,i.jsx)("a",{className:"text-primary",href:(null==E?void 0:E.fields.mapUrl)||"",target:"_blank",rel:"noopener noreferrer",children:(void 0===c?{}:c)["global-lab-location"]||"View on map"})})]})]}),(0,i.jsx)(u,{isOpen:W.isOpen,onClose:function(){F((0,n._)((0,t._)({},W),{isOpen:!1})),B(!0)},title:W.title,content:W.content,imageUrl:W.imageUrl})]})}],474447)}]);

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.