PageSourceSearch

https://www.twiv.ai/_next/static/immutable/chunks/0xizwzq-zohb_.js

js twiv.ai collected 2026-10-05 15:18:05 UTC 12,257 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="1ef2036a-0b5f-c8ae-d9bb-d07726a295eb")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,430482,e=>{"use strict";var t=e.i(843476),r=e.i(136266);e.s(["default",0,function({className:e=""}){let{locale:n,setLocale:l}=(0,r.useT)();return(0,t.jsx)("button",{onClick:()=>l("ar"===n?"en":"ar"),className:`px-2.5 py-1.5 rounded-lg border text-xs font-bold transition hover:bg-gray-100 ${e}`,title:"ar"===n?"Switch to English":"التبديل للعربية",children:"ar"===n?"EN":"ع"})}])},918085,e=>{"use strict";var t=e.i(843476),r=e.i(522016),n=e.i(136266);e.s(["default",0,function(){let{t:e,locale:l}=(0,n.useT)(),i="ar"===l;return(0,t.jsx)("footer",{className:"border-t border-rule py-10 text-ink-3",children:(0,t.jsxs)("div",{className:"max-w-[1180px] mx-auto px-4 sm:px-7",children:[(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row justify-between items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("div",{className:"w-[34px] h-[34px] bg-teal-solid rounded-[10px] flex items-center justify-center",children:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 1000 1000",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"255",y:"270",width:"150",height:"150",rx:"24",fill:"#fff"}),(0,t.jsx)("rect",{x:"425",y:"270",width:"150",height:"150",rx:"24",fill:"#fff"}),(0,t.jsx)("rect",{x:"595",y:"270",width:"150",height:"150",rx:"24",fill:"#f0b03e"}),(0,t.jsx)("rect",{x:"425",y:"440",width:"150",height:"150",rx:"24",fill:"#fff"}),(0,t.jsx)("rect",{x:"425",y:"610",width:"150",height:"150",rx:"24",fill:"#fff"})]})}),(0,t.jsx)("div",{className:"text-xl font-black text-ink font-[family-name:var(--font-geist-sans)]",children:"TWIV"})]}),(0,t.jsxs)("ul",{className:"flex gap-5 list-none flex-wrap justify-center",children:[(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/",children:i?"الرئيسية":"Home"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/loyalty",children:i?"نظام الولاء":"Loyalty"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/pos",children:i?"نظام الكاشير":"POS"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/ordering",children:i?"الطلبات أونلاين":"Ordering"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/invoicing",children:i?"الفوترة الإلكترونية":"E-invoicing"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/blog",children:i?"المدونة":"Blog"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/pricing",children:e("nav.pricing")})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/terms",children:e("nav.terms")})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/privacy",children:e("nav.privacy")})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/data-deletion",children:i?"حذف البيانات":"Delete My Data"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/refund-policy",children:i?"سياسة الاسترداد":"Refund Policy"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{className:"text-ink-3 no-underline text-[13px] transition hover:text-ink",href:"/contact",children:e("nav.contact")})})]})]}),(0,t.jsxs)("div",{className:"text-center mt-5 pt-4 border-t border-rule text-xs",children:["© ",new Date().getFullYear()," TWIV"]})]})})}])},842634,e=>{"use strict";var t=e.i(843476),r=e.i(522016),n=e.i(564681),l=e.i(430482),i=e.i(136266);e.s(["default",0,function(){let{t:e}=(0,i.useT)();return(0,t.jsx)("nav",{className:"fixed top-0 w-full z-[1000] py-3.5 bg-page/88 backdrop-blur-2xl border-b border-rule",children:(0,t.jsxs)("div",{className:"max-w-[1180px] mx-auto px-4 sm:px-7 flex items-center justify-between",children:[(0,t.jsxs)(r.default,{href:"/",className:"flex items-center gap-2.5 no-underline",children:[(0,t.jsx)("div",{className:"w-10 h-10 bg-teal-solid rounded-xl flex items-center justify-center",children:(0,t.jsxs)("svg",{width:"26",height:"26",viewBox:"0 0 1000 1000",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"255",y:"270",width:"150",height:"150",rx:"24",fill:"#fff"}),(0,t.jsx)("rect",{x:"425",y:"270",width:"150",height:"150",rx:"24",fill:"#fff"}),(0,t.jsx)("rect",{x:"595",y:"270",width:"150",height:"150",rx:"24",fill:"#f0b03e"}),(0,t.jsx)("rect",{x:"425",y:"440",width:"150",height:"150",rx:"24",fill:"#fff"}),(0,t.jsx)("rect",{x:"425",y:"610",width:"150",height:"150",rx:"24",fill:"#fff"})]})}),(0,t.jsx)("div",{className:"text-2xl font-black text-ink tracking-tight font-[family-name:var
2(--font-geist-sans)]",children:"TWIV"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(n.default,{className:"!border-rule hover:!border-teal hover:!text-teal"}),(0,t.jsx)(l.default,{className:"hidden sm:block bg-pane border border-rule text-ink-2 px-4 py-2 rounded-full text-[13px] font-semibold hover:border-teal hover:text-teal transition cursor-pointer font-[family-name:var(--font-geist-sans)]"}),(0,t.jsx)(r.default,{href:"/login",className:"hidden sm:inline-flex px-4 py-2 rounded-full border border-rule text-ink-2 text-sm font-semibold hover:border-teal hover:text-teal transition",children:e("auth.login")}),(0,t.jsx)(r.default,{href:"/register",className:"inline-flex px-5 py-2.5 rounded-full bg-teal-solid text-white font-bold text-sm transition shadow-[0_4px_20px] shadow-teal-glow hover:-translate-y-0.5",children:e("auth.register")})]})]})})}])},564681,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function n(e){let t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),()=>t.disconnect()}e.s(["default",0,function({className:e=""}){let l=(0,r.useSyncExternalStore)(n,()=>document.documentElement.classList.contains("dark"),()=>!1),i=(0,r.useCallback)(()=>{let e=!l;document.documentElement.classList.toggle("dark",e),localStorage.setItem("theme",e?"dark":"light")},[l]);return(0,t.jsx)("button",{onClick:i,className:`p-2 rounded-xl border border-rule text-ink-2 hover:border-teal hover:text-teal transition cursor-pointer ${e}`,"aria-label":"Toggle dark mode",children:l?(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"4"}),(0,t.jsx)("path",{d:"M12 2v2"}),(0,t.jsx)("path",{d:"M12 20v2"}),(0,t.jsx)("path",{d:"m4.93 4.93 1.41 1.41"}),(0,t.jsx)("path",{d:"m17.66 17.66 1.41 1.41"}),(0,t.jsx)("path",{d:"M2 12h2"}),(0,t.jsx)("path",{d:"M20 12h2"}),(0,t.jsx)("path",{d:"m6.34 17.66-1.41 1.41"}),(0,t.jsx)("path",{d:"m19.07 4.93-1.41 1.41"})]}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"})})})}])},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return v},useLinkStatus:function(){return j}};for(var l in n)Object.defineProperty(r,l,{enumerable:!0,get:n[l]});let i=e.r(190809),o=e.r(843476),s=i._(e.r(271645)),a=e.r(195057),c=e.r(8372),u=e.r(818581),d=e.r(718967),f=e.r(405550),x=e.r(388540),h=e.r(769688),p=e.r(573668),m=e.r(509396);function v(t){var r;let n,l,i,[v,j]=(0,s.useOptimistic)(h.IDLE_LINK_STATUS),y=(0,s.useRef)(null),{href:b,as:k,children:w,prefetch:N=null,passHref:T,replace:S,shallow:_,scroll:C,onClick:E,onMouseEnter:M,onTouchStart:P,legacyBehavior:L=!1,onNavigate:O,transitionTypes:R,ref:B,unstable_dynamicOnHover:I,...D}=t;n=w,L&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let A=s.default.useContext(c.AppRouterContext),K=!1!==N,U=!1===N?"none":!0===N?"full":"auto",F="none"!==U?"auto"===U?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,W="string"==typeof(r=k||b)?r:(0,a.formatUrl)(r);if(L){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});l=s.default.Children.only(n)}let $=L?l&&"object"==typeof l&&l.ref:B,z,V=s.default.useCallback(e=>(null!==A&&(y.current=(0,h.mountLinkInstance)(e,W,A,F,K,j,z)),()=>{y.current&&((0,h.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,h.unmountPrefetchableInstance)(e)}),[K,W,A,F,j,z]),X={ref:(0,u.useMergedRef)(V,$),onClick(t){L||"function"!=typeof E||E(t),L&&l.props&&"function"==typeof l.props.onClick&&l.props.onClick(t),!A||t.defaultPrevented||function(t,r,n,l,i,o,a,c="none"){if("u">typeof window){let u,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){l&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(699781);s.default.startTransition(()=>{f(r,l?"replace":"push",!1===i?x.ScrollBehavior.NoScroll:x.ScrollBehavior.Default,n.current,a,c)})}}(t,W,y,S,C,O,R,U)},onMouseEnter(e){L||"function"!=typeof M||M(e),L&&l.props&&"function"==typeof l.props.onMouseEnter&&l.props.onMouseEnter(e),A&&K&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){L||"function"!=typeof P||P(e),L&&l.props&&"function"==typeof l.props.onTouchStart&&l.props.onTouchStart(e),A&&K&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)(W)?X.href=W:L&&!T&&("a"!==l.type||"href"in l.props)||(X.href=(0,f.addBasePath)(W)),i=L?s.default.cloneElement(l,X):(0,o.jsx)("a",{...D,...X,children:n}),(0,o.jsx)(g.Provider,{value:v,children:i})}let g=(0,s.createContext)(h.IDLE_LINK_STATUS),j=()=>(0,s.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
2dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return l}});let n=e.r(271645);function l(e,t){let r=(0,n.useRef)(null),l=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=l.current;t&&(l.current=null,t())}else e&&(r.current=i(e,n)),t&&(l.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]);
3
4//# debugId=1ef2036a-0b5f-c8ae-d9bb-d07726a295eb

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.