PageSourceSearch

https://alkhameestravel.com.kw/9297.1d4b3834a621592f.js

js alkhameestravel.com.kw collected 2026-10-09 04:50:27 UTC 2,794 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkalkhamees=self.webpackChunkalkhamees||[]).push([[9297],{9297:($,g,h)=>{h.r(g),h.d(g,{TimeFormatPipe:()=>f});var y=h(8912),l=h(3297),u=h(3214);let f=(()=>{class c{#t=(0,u.WQX)(y.d);transform(t,r="dateTime",o="default",d){return t?"localized"===o?this.#a(t,r,d):this.#e(t,r):""}#e(t,r){const d=this.#t.selectedLanguage()===l.A.Arabic?"ar-EG":"en-GB",i=t instanceof Date?t:new Date(t);if(isNaN(i.getTime()))return"";let n;switch(r){case"timeOnly":case"time":n={hour:"2-digit",minute:"2-digit",hour12:!1};break;case"fullDate":n={day:"2-digit",month:"long",year:"numeric"};break;case"shortDate":n={day:"2-digit",month:"short",year:"numeric"};break;case"shortDateWeekdayShort":n={weekday:"short",day:"2-digit",month:"short",year:"numeric"};break;case"dayMonth":n={day:"2-digit",month:"short"};break;case"dateTimeWeekdayShort":n={weekday:"short",day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1};break;default:n={day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}}const m=new Intl.DateTimeFormat(d,n).formatToParts(i),a=new Map(m.map(s=>[s.type,s.value])),e=[];return a.has("weekday")&&e.push(a.get("weekday")),a.has("day")&&e.push(a.get("day")),a.has("month")&&e.push(a.get("month")),a.has("year")&&e.push(a.get("year")),a.has("hour")&&a.has("minute")&&e.push(`${a.get("hour")}:${a.get("minute")}`),e.join(" ")}#a(t,r,o){const i=this.#t.selectedLanguage()===l.A.Arabic,n=i?"ar-SA-u-nu-latn":"en-US";if("string"==typeof t&&this.#r(t))return this.#n(t,r);const m=t instanceof Date?t:new Date(t);if(isNaN(m.getTime()))return"";const a=e=>Object.fromEntries(new Intl.DateTimeFormat(n,e).formatToParts(m).map(s=>[s.type,s.value]));switch(r){case"timeOnly":case"time":{const e=a({hour:"2-digit",minute:"2-digit",hour12:!1});return`${e.hour}:${e.minute}`}case"fullDate":{const e=a({day:"2-digit",month:"long",year:"numeric"});return`${e.day} ${e.month} ${e.year}`}case"shortDate":{const e=a({day:"2-digit",month:"short",year:"numeric"});return`${e.day} ${e.month} ${e.year}`}default:{const e=a({day:"2-digit",month:"long",year:"numeric"}),s=a({hour:"2-digit",minute:"2-digit",hour12:!1});return`\u200f${e.day} ${e.month} ${e.year} ${o??(i?"\u0641\u064a":"at")} ${s.hour}:${s.minute}\u200f`}}}#r(t){return/[\u0600-\u06ff]/.test(t)&&/\d{1,2}/.test(t)}#n(t,r){const o=t.match(/(\d{1,2}:\d{2})$/),d=o?o[1]:"";switch(r){case"timeOnly":return d;case"fullDate":return t.replace(/-\s*\d{1,2}:\d{2}$/,"").trim();case"shortDate":{const i=t.match(/(\d{1,2}\s*[\u0600-\u06ff]+\s*\d{4})/);return i?i[1]:t}default:return t}}static \u0275fac=function(r){return new(r||c)};static \u0275pipe=u.EJ8({name:"timeFormat",type:c,pure:!1});static \u0275prov=u.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()}}]);

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.