1import{a as B}from"./chunk-MN3KKUVQ.js";import{b as G,c as y,d as R,e as $,i as P,j as W,m as Y,n as Q,o as J,p as K,q as X,v as Z,w as ee,x as te}from"./chunk-AKLJIQ4U.js";import{a as N}from"./chunk-JMSTJQLG.js";import{a as U}from"./chunk-VXW2PJG6.js";import{$ as F,Bc as D,Cc as L,Db as w,Dc as z,Eb as m,Fb as c,Ob as o,Oc as O,Pb as p,Qb as k,Vb as A,W as T,Wb as M,Xa as n,Xb as V,Zb as j,Zc as H,ab as S,ga as g,gb as I,ha as h,ia as f,ja as x,lb as b,rb as C,sb as u,tb as E,ub as q,xb as t,yb as r,zb as d}from"./chunk-PSOX23HM.js";import"./chunk-TSRGIXR5.js";var _=class s{constructor(i){this.http=i}apiUrl=`${N.apiUrl}/api/SupportTicket`;createTicket(i){return this.http.post(this.apiUrl,i)}updateTicket(i,e){return this.http.put(`${this.apiUrl}/${i}`,e)}getTicket(i){return this.http.get(`${this.apiUrl}/${i}`)}getMyTickets(){return this.http.get(`${this.apiUrl}/my-tickets`)}getAllTickets(i){let e=i?`${this.apiUrl}?status=${i}`:this.apiUrl;return this.http.get(e)}deleteTicket(i){return this.http.delete(`${this.apiUrl}/${i}`)}static \u0275fac=function(e){return new(e||s)(F(H))};static \u0275prov=T({token:s,factory:s.\u0275fac,providedIn:"root"})};var ae=()=>({standalone:!0});function oe(s,i){if(s&1){let e=w();t(0,"button",39),m("click",function(){let l=g(e).$implicit,v=c();return h(v.activeFaqCat=l.key)}),d(1,"i",40),t(2,"span"),o(3),r()()}if(s&2){let e=i.$implicit,a=c();q("active",a.activeFaqCat===e.key),n(),u("ngClass",e.icon),n(2),p(a.isRTL()?e.ar:e.en)}}function se(s,i){if(s&1&&(t(0,"div",49),o(1),r()),s&2){let e=c().$implicit,a=c();n(),p(a.isRTL()?e.ar.a:e.en.a)}}function pe(s,i){if(s&1){let e=w();t(0,"div",41)(1,"button",42),m("click",function(){let l=g(e).index,v=c();return h(v.toggleFaq(l))}),f(),t(2,"svg",43),d(3,"polyline",44),r(),x(),t(4,"span",45),o(5),r(),t(6,"span",46),f(),t(7,"svg",47),d(8,"circle",4)(9,"path",5),r()()(),b(10,se,2,1,"div",48),r()}if(s&2){let e=i.$implicit,a=i.index,l=c();q("open",l.openFaqIndex===a),n(5),p(l.isRTL()?e.ar.q:e.en.q),n(),E("background-color",l.faqDotColor(a)),n(4),u("ngIf",l.openFaqIndex===a)}}function le(s,i){if(s&1&&(t(0,"div",50),o(1),r()),s&2){let e=c();n(),p(e.t("\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C \u0645\u0637\u0627\u0628\u0642\u0629","No matching results"))}}function ue(s,i){if(s&1&&(t(0,"div",72),o(1),r()),s&2){let e=c(2);n(),p(e.success)}}function ce(s,i){if(s&1&&(t(0,"div",73),o(1),r()),s&2){let e=c(2);n(),p(e.error)}}function de(s,i){if(s&1&&(t(0,"option",74),o(1),r()),s&2){let e=i.$implicit;u("value",e.value),n(),p(e.label)}}function me(s,i){if(s&1&&(t(0,"option",74),o(1),r()),s&2){let e=i.$implicit;u("value",e.value),n(),p(e.label)}}function fe(s,i){if(s&1){let e=w();t(0,"div",51),m("click",function(){g(e);let l=c();return h(l.closeContact())}),t(1,"div",52),m("click",function(l){return g(e),h(l.stopPropagation())}),t(2,"div",53)(3,"h2"),o(4),r(),t(5,"button",54),m("click",function(){g(e);let l=c();return h(l.closeContact())}),f(),t(6,"svg",55),d(7,"line",56)(8,"line",57),r()()(),x(),t(9,"div",58),b(10,ue,2,1,"div",59)(11,ce,2,1,"div",60),t(12,"form",61),m("ngSubmit",function(){g(e);let l=c();return h(l.onSubmit())}),t(13,"label",62)(14,"span"),o(15),r(),d(16,"input",63),r(),t(17,"label",62)(18,"span"),o(19),r(),d(20,"textarea",64),r(),t(21,"div",65)(22,"label",62)(23,"span"),o(24),r(),t(25,"select",66),b(26,de,2,2,"option",67),r()(),t(27,"label",62)(28,"span"),o(29),r(),t(30,"select",68),b(31,me,2,2,"option",67),r()()(),t(32,"div",69)(33,"button",70),m("click",function(){g(e);let l=c();return h(l.closeContact())}),o(34),r(),t(35,"button",71),o(36),r()()()()()()}if(s&2){let e=c();C("dir",e.isRTL()?"rtl":"ltr"),n(4),p(e.t("\u062A\u0648\u0627\u0635\u0644 \u0645\u0639 \u0627\u0644\u062F\u0639\u0645","Contact support")),n(6),u("ngIf",e.success),n(),u("ngIf",e.error),n(),u("formGroup",e.supportForm),n(3),p(e.t("\u0627\u0644\u0645\u0648\u0636\u0648\u0639","Subject")),n(),u("placeholder",e.t("\u0627\u0643\u062A\u0628 \u0645\u0648\u0636\u0648\u0639 \u0627\u0644\u0645\u0634\u0643\u0644\u0629\u2026","Subject\u2026")),n(3),p(e.t("\u0627\u0644\u0648\u0635\u0641","Description")),n(),u("placeholder",e.t("\u0635\u0641 \u0645\u0634\u0643\u0644\u062A\u0643 \u0628\u0627\u0644\u062A\u0641\u0635\u064A\u0644\u2026","Describe your issue\u2026")),n(4),p(e.t("\u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0629","Priority")),n(2),u("ngForOf",e.priorities),n(3),p(e.t("\u0627\u0644\u0641\u0626\u0629","Category")),n(2),u("ngForOf",e.categories),n(3),p(e.t("\u0625\u0644\u063A\u0627\u0621","Cancel")),n(),u("disabled",e.submitting),n(),k(" ",e.submitting?e.t("\u062C\u0627\u0631\u064D \u0627\u0644\u0625\u0631\u0633\u0627\u0644\u2026","Sending\u2026"):e.t("\u0625\u0631\u0633\u0627\u0644","Send")," ")}}var ie=class s{constructor(i,e,a,l){this.fb=i;this.supportService=e;this.translationService=a;this.sidebarService=l;this.supportForm=this.fb.group({subject:["",[y.required,y.maxLength(200)]],description:["",[y.required,y.minLength(10)]],priority:["Medium",y.required],category:["General",y.required]})}supportForm;tickets=[];loading=!1;submitting=!1;error=null;success=null;showForm=!0;priorities=[{value:"Low",label:"Low"},{value:"Medium",label:"Medium"},{value:"High",label:"High"},{value:"Urgent",label:"Urgent"}];categories=[{value:"General",label:"General"},{value:"Technical",label:"Technical"},{value:"Billing",label:"Billing"},{value:"Feature Request",label:"Feature Request"}];isRTL(){return this.translationService.isRTL()}t(i,e){return this.isRTL()?i:e}faqSearch="";activeFaqCat="all";openFaqIndex=null;showContactModal=!1;faqCategories=[{key:"all",ar:"\u0627\u0644\u0643\u0644",en:"All",icon:"fa-desktop"},{key:"account",ar:"\u0627\u0644\u062D\u0633\u0627\u0628",en:"Account",icon:"fa-user"},{key:"billing",ar:"\u0627\u0644\u0641\u0648\u062A\u0631\u0629",en:"Billing",icon:"fa-credit-card"},{key:"security",ar:"\u0627\u0644\u0623\u0645\u0627\u0646",en:"Security",icon:"fa-shield-halved"},{key:"features",ar:"\u0627\u0644\u0645\u0632\u0627\u064A\u0627",en:"Features",icon:"fa-bolt"},{key:"settings",ar:"\u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A",en:"Settings",icon:"fa-gear"}];faqs=[{cat:"account",ar:{q:"\u0643\u064A\u0641 \u0623\u0642\u0648\u0645 \u0628\u0625\u0646\u0634\u0627\u0621 \u062D\u0633\u0627\u0628 \u062C\u062F\u064A\u062F\u061F",a:'\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 "\u0625\u0646\u0634\u0627\u0621 \u062D\u0633\u0627\u0628" \u0641\u064A \u0635\u0641\u062D\u0629 \u0627\u0644\u062F\u062E\u0648\u0644\u060C \u0623\u062F\u062E\u0644 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0648\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u062B\u0645 \u0623\u0643\u0651\u062F \u0628\u0631\u064A\u062F\u0643.'},en:{q:"How do I create a new account?",a:'Click "Create account" on the login page, enter your email and password, then confirm your email.'}},{cat:"account",ar:{q:"\u0643\u064A\u0641 \u064A\u0645\u0643\u0646\u0646\u064A \u062A\u063A\u064A\u064A\u0631 \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u062D\u0633\u0627\u0628\u064A\u061F",a:"\u0645\u0646 \u0635\u0641\u062D\u0629 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0634\u062E\u0635\u064A \u064A\u0645\u0643\u0646\u0643 \u062A\u062D\u062F\u064A\u062B \u0627\u0633\u0645\u0643 \u0648\u0628\u0631\u064A\u062F\u0643 \u0648\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631."},en:{q:"How can I change my account info?",a:"Update your name, email and password from the Profile page."}},{cat:"security",ar:{q:"\u0646\u0633\u064A\u062A \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631\u060C \u0645\u0627\u0630\u0627 \u0623\u0641\u0639\u0644\u061F",a:'\u0627\u0633\u062A\u062E\u062F\u0645 \u0631\u0627\u0628\u0637 "\u0646\u0633\u064A\u062A \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631" \u0641\u064A \u0635\u0641\u062D\u0629 \u0627\u0644\u062F\u062E\u0648\u0644 \u0644\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646 \u0639\u0628\u0631 \u0628\u0631\u064A\u062F\u0643.'},en:{q:"I forgot my password \u2014 what do I do?",a:'Use the "Forgot password" link on the login page to reset it via email.'}},{cat:"billing",ar:{q:"\u0645\u0627 \u0647\u064A \u0637\u0631\u0642 \u0627\u0644\u062F\u0641\u0639 \u0627\u0644\u0645\u062A\u0627\u062D\u0629\u
1061F",a:"\u0646\u062F\u0639\u0645 \u0627\u0644\u0628\u0637\u0627\u0642\u0627\u062A \u0627\u0644\u0627\u0626\u062A\u0645\u0627\u0646\u064A\u0629 \u0648\u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0627\u0644\u0645\u062D\u0644\u064A\u0629 \u062D\u0633\u0628 \u0628\u0644\u062F\u0643."},en:{q:"What payment methods are available?",a:"We support credit cards and local payment methods depending on your country."}},{cat:"billing",ar:{q:"\u0647\u0644 \u064A\u0645\u0643\u0646\u0646\u064A \u062A\u063A\u064A\u064A\u0631 \u062E\u0637\u0629 \u0627\u0644\u0627\u0634\u062A\u0631\u0627\u0643\u061F",a:"\u0646\u0639\u0645\u060C \u0645\u0646 \u0635\u0641\u062D\u0629 \u0627\u0644\u0627\u0634\u062A\u0631\u0627\u0643\u0627\u062A \u064A\u0645\u0643\u0646\u0643 \u0627\u0644\u062A\u0631\u0642\u064A\u0629 \u0623\u0648 \u0627\u0644\u062A\u062E\u0641\u064A\u0636 \u0641\u064A \u0623\u064A \u0648\u0642\u062A."},en:{q:"Can I change my subscription plan?",a:"Yes \u2014 upgrade or downgrade anytime from the Subscriptions page."}},{cat:"billing",ar:{q:"\u0643\u064A\u0641 \u0623\u062D\u0635\u0644 \u0639\u0644\u0649 \u0641\u0627\u062A\u0648\u0631\u0629\u061F",a:"\u062A\u062A\u0648\u0641\u0631 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0641\u064A \u0635\u0641\u062D\u0629 \u0627\u0644\u0627\u0634\u062A\u0631\u0627\u0643\u0627\u062A \u0628\u0639\u062F \u0643\u0644 \u0639\u0645\u0644\u064A\u0629 \u062F\u0641\u0639."},en:{q:"How do I get an invoice?",a:"Invoices are available on the Subscriptions page after each payment."}},{cat:"billing",ar:{q:"\u0647\u0644 \u062A\u0648\u062C\u062F \u0641\u062A\u0631\u0629 \u062A\u062C\u0631\u0628\u0629 \u0645\u062C\u0627\u0646\u064A\u0629\u061F",a:"\u062A\u062A\u0636\u0645\u0646 \u0627\u0644\u062E\u0637\u0629 \u0627\u0644\u0645\u062C\u0627\u0646\u064A\u0629 \u0631\u0635\u064A\u062F\u0627\u064B \u0634\u0647\u0631\u064A\u0627\u064B \u0644\u062A\u062C\u0631\u0628\u0629 \u0627\u0644\u0645\u0646\u0635\u0629 \u062F\u0648\u0646 \u062F\u0641\u0639."},en:{q:"Is there a free trial?",a:"The free plan includes monthly credits so you can try the platform at no cost."}},{cat:"security",ar:{q:"\u0643\u064A\u0641 \u062A\u062D\u0645\u0648\u0646 \u0628\u064A\u0627\u0646\u0627\u062A\u064A\u061F",a:"\u0646\u0633\u062A\u062E\u062F\u0645 \u0627\u0644\u062A\u0634\u0641\u064A\u0631 \u0623\u062B\u0646\u0627\u0621 \u0627\u0644\u0646\u0642\u0644 \u0648\u0627\u0644\u062A\u062E\u0632\u064A\u0646 \u0648\u0646\u062A\u0628\u0639 \u0623\u0641\u0636\u0644 \u0645\u0645\u0627\u0631\u0633\u0627\u062A \u0627\u0644\u0623\u0645\u0627\u0646."},en:{q:"How is my data protected?",a:"We encrypt data in transit and at rest and follow security best practices."}},{cat:"security",ar:{q:"\u0647\u0644 \u062A\u062F\u0639\u0645\u0648\u0646 \u0627\u0644\u0645\u0635\u0627\u062F\u0642\u0629 \u0627\u0644\u062B\u0646\u0627\u0626\u064A\u0629\u061F",a:"\u0646\u0639\u0645\u0644 \u0639\u0644\u0649 \u0625\u062A\u0627\u062D\u0629 \u0627\u0644\u0645\u0635\u0627\u062F\u0642\u0629 \u0627\u0644\u062B\u0646\u0627\u0626\u064A\u0629 \u0642\u0631\u064A\u0628\u0627\u064B \u0644\u062C\u0645\u064A\u0639 \u0627\u0644\u062D\u0633\u0627\u0628\u0627\u062A."},en:{q:"Do you support two-factor auth?",a:"Two-factor authentication is coming soon for all accounts."}},{cat:"settings",ar:{q:"\u0645\u0627\u0630\u0627 \u062A\u0641\u0639\u0644\u0648\u0646 \u0628\u0628\u064A\u0627\u0646\u0627\u062A\u064A \u0627\u0644\u0634\u062E\u0635\u064A\u0629\u061F",a:"\u062A\u064F\u0633\u062A\u062E\u062F\u0645 \u0628\u064A\u0627\u0646\u0627\u062A\u0643 \u0644\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u062E\u062F\u0645\u0629 \u0641\u0642\u0637 \u0648\u0641\u0642 \u0633\u064A\u0627\u0633\u0629 \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629."},en:{q:"What do you do with my personal data?",a:"Your data is used only to operate the service, per our Privacy Policy."}},{cat:"features",ar:{q:"\u0643\u064A\u0641 \u0623\u0633\u062A\u062E\u062F\u0645 \u0645\u064A\u0632\u0629 \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064A\u061F",a:"\u0627\u0643\u062A\u0628 \u0641\u0643\u0631\u062A\u0643 \u0641\u064A \u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645 \u0648\u0627\u062E\u062A\u0631 \u0627\u0644\u0646\u0645\u0648\u0630\u062C \u0627\u0644\u0645\u0646\u0627\u0633\u0628 \u062B\u0645 \u0627\u0628\u062F\u0623 \u0627\u0644\u062A\u0646\u0641\u064A\u0630."},en:{q:"How do I use the AI feature?",a:"Describe your idea on the dashboard, pick a model, then start building."}},{cat:"features",ar:{q:"\u0645\u0627 \u0647\u0648 \u0639\u062F\u062F \u0627\u0644\u0645\u0634\u0627\u0631\u064A\u0639 \u0627\u0644\u062A\u064A \u064A\u0645\u0643\u0646\u0646\u064A \u0625\u0646\u0634\u0627\u0624\u0647\u0627\u061F",a:"\u064A\u0639\u062A\u0645\u062F \u0639\u0644\u0649 \u062E\u0637\u062A\u0643 \u0627\u0644\u062D\u0627\u0644\u064A\u0629 \u2014 \u0631\u0627\u062C\u0639 \u0635\u0641\u062D\u0629 \u0627\u0644\u0627\u0634\u062A\u0631\u0627\u0643\u0627\u062A \u0644\u0644\u062A\u0641\u0627\u0635\u064A\u0644."},en:{q:"How many projects can I create?",a:"It depends on your plan \u2014 see the Subscriptions page for details."}},{cat:"features",ar:{q:"\u0647\u0644 \u064A\u0645\u0643\u0646\u0646\u064A \u0627\u0644\u062A\u0639\u0627\u0648\u0646 \u0645\u0639 \u0641\u0631\u064A\u0642\u064A\u061F",a:"\u062A\u062A\u064A\u062D \u062E\u0637\u0637 \u0627\u0644\u0641\u0631\u0642 \u062F\u0639\u0648\u0629 \u0627\u0644\u0623\u0639\u0636\u0627\u0621 \u0648\u0627\u0644\u0639\u0645\u0644 \u0627\u0644\u0645\u0634\u062A\u0631\u0643 \u0639\u0644\u0649 \u0627\u0644\u0645\u0634\u0627\u0631\u064A\u0639."},en:{q:"Can I collaborate with my team?",a:"Team plans let you invite members and collaborate on projects."}},{cat:"settings",ar:{q:"\u0643\u064A\u0641 \u0623\u063A\u064A\u0631 \u0644\u063A\u0629 \u0627\u0644\u0648\u0627\u062C\u0647\u0629\u
1061F",a:"\u0628\u062F\u0651\u0644 \u0627\u0644\u0644\u063A\u0629 \u0645\u0646 \u0645\u0628\u062F\u0651\u0644 \u0627\u0644\u0644\u063A\u0629 \u0641\u064A \u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0641\u064A \u0623\u064A \u0648\u0642\u062A."},en:{q:"How do I change the interface language?",a:"Switch the language from the language switcher in Settings anytime."}},{cat:"account",ar:{q:"\u0643\u064A\u0641 \u0623\u062D\u0630\u0641 \u062D\u0633\u0627\u0628\u064A \u0646\u0647\u0627\u0626\u064A\u0627\u064B\u061F",a:"\u062A\u0648\u0627\u0635\u0644 \u0645\u0639 \u0641\u0631\u064A\u0642 \u0627\u0644\u062F\u0639\u0645 \u0644\u0637\u0644\u0628 \u062D\u0630\u0641 \u0627\u0644\u062D\u0633\u0627\u0628 \u0648\u0628\u064A\u0627\u0646\u0627\u062A\u0647 \u0646\u0647\u0627\u0626\u064A\u0627\u064B."},en:{q:"How do I permanently delete my account?",a:"Contact support to request permanent deletion of your account and data."}}];get filteredFaqs(){let i=this.faqSearch.trim().toLowerCase();return this.faqs.filter(e=>{let a=this.activeFaqCat==="all"||e.cat===this.activeFaqCat,l=(this.isRTL()?e.ar.q+" "+e.ar.a:e.en.q+" "+e.en.a).toLowerCase();return a&&(!i||l.includes(i))})}toggleFaq(i){this.openFaqIndex=this.openFaqIndex===i?null:i}openContact(){this.showContactModal=!0,this.error=null,this.success=null}closeContact(){this.showContactModal=!1}faqDotColor(i){let e=["#2e97e5","#22c55e","#ef4444","#a855f7","#ff9000","#14b8a6"];return e[i%e.length]}ngOnInit(){this.loadTickets()}loadTickets(){this.loading=!0,this.error=null,this.supportService.getMyTickets().subscribe({next:i=>{this.tickets=i,this.loading=!1},error:i=>{this.error="Failed to load tickets",this.loading=!1,console.error("Error loading tickets:",i)}})}
1onSubmit(){if(this.supportForm.invalid){Object.keys(this.supportForm.controls).forEach(e=>{this.supportForm.get(e)?.markAsTouched()});return}this.submitting=!0,this.error=null,this.success=null;let i=this.supportForm.value;this.supportService.createTicket(i).subscribe({next:e=>{this.success="Ticket created successfully!",this.submitting=!1,this.supportForm.reset({priority:"Medium",category:"General"}),this.loadTickets(),this.showForm=!1,setTimeout(()=>{this.success=null},5e3)},error:e=>{this.error=e.error?.message||"Failed to create ticket",this.submitting=!1,console.error("Error creating ticket:",e)}})}getStatusClass(i){return{Open:"status-open",InProgress:"status-in-progress",Resolved:"status-resolved",Closed:"status-closed"}[i]||"status-open"}getPriorityClass(i){return{Low:"priority-low",Medium:"priority-medium",High:"priority-high",Urgent:"priority-urgent"}[i]||"priority-medium"}formatDate(i){return i?new Date(i).toLocaleDateString():"N/A"}toggleForm(){this.showForm=!this.showForm,this.showForm&&(this.error=null,this.success=null)}translateDynamic(i){return this.translationService.translate(i)}toggleSidebar(){this.sidebarService.toggleSidebar()}static \u0275fac=function(e){return new(e||s)(S(Z),S(_),S(U),S(B))};static \u0275cmp=I({type:s,selectors:[["app-support"]],decls:73,vars:25,consts:[[1,"sp"],[1,"sp-hero"],[1,"sp-badge"],["width","14","height","14","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["cx","12","cy","12","r","10"],["d","M12 16v-4M12 8h.01"],[1,"sp-search"],["width","20","height","20","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","1.8","stroke-linecap","round","stroke-linejoin","round"],["cx","11","cy","11","r","8"],["d","m21 21-4.3-4.3"],["type","text",3,"ngModelChange","ngModel","ngModelOptions","placeholder"],[1,"sp-contacts"],[1,"sp-contact","sp-contact--dark"],[1,"sp-contact-top"],[1,"sp-contact-name"],[1,"sp-contact-ic"],["width","22","height","22","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","1.8","stroke-linecap","round","stroke-linejoin","round"],["d","M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13 1 .37 1.96.72 2.88a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.2-1.21a2 2 0 0 1 2.11-.45c.92.35 1.88.59 2.88.72A2 2 0 0 1 22 16.92z"],["href","tel:+966123456789",1,"sp-contact-value"],[1,"sp-contact-sub"],[1,"sp-contact","sp-contact--purple"],["x","2","y","4","width","20","height","16","rx","2"],["d","m22 7-10 7L2 7"],[1,"sp-contact-value"],[1,"sp-contact-btn",3,"click"],[1,"sp-contact","sp-contact--orange"],["d","M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"],[1,"sp-section-title"],[1,"sp-cats"],["class","sp-cat",3,"active","click",4,"ngFor","ngForOf"],[1,"sp-faq-title"],[1,"sp-faq"],["class","sp-faq-item",3,"open",4,"ngFor","ngForOf"],["class","sp-faq-empty",4,"ngIf"],[1,"sp-foot"],[1,"sp-foot-text"],[1,"sp-foot-btn",3,"click"],["width","18","height","18","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","1.8","stroke-linecap","round","stroke-linejoin","round"],["class","sp-modal-overlay",3,"click",4,"ngIf"],[1,"sp-cat",3,"click"],["aria-hidden","true",1,"fa-solid",3,"ngClass"],[1,"sp-faq-item"],[1,"sp-faq-q",3,"click"],["width","18","height","18","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"sp-faq-chevron"],["points","6 9 12 15 18 9"],[1,"sp-faq-text"],[1,"sp-faq-dot"],["width","14","height","14","viewBox","0 0 24 24","fill","none","stroke","#fff","stroke-width","2.4","stroke-linecap","round","stroke-linejoin","round"],["class","sp-faq-a",4,"ngIf"],[1,"sp-faq-a"],[1,"sp-faq-empty"],[1,"sp-modal-overlay",3,"click"],[1,"sp-modal",3,"click"],[1,"sp-modal-head"],[1,"sp-modal-close",3,"click"],["width","20","height","20","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round"],["x1","18","y1","6","x2","6","y2","18"],["x1","6","y1","6","x2","18","y2","18"],[1,"sp-modal-body"],["class","sp-alert ok",4,"ngIf"],["class","sp-alert err",4,"ngIf"],[3,"ngSubmit","formGroup"],[1,"sp-field"],["type","text","formControlName","subject",3,"placeholder"],["formControlName","description","rows","4",3,"placeholder"],[1,"sp-field-row"],["formControlName","priority"],[3,"value",4,"ngFor","ngForOf"],["formControlName","category"],[1,"sp-modal-foot"],["type","button",1,"sp-btn","ghost",3,"click"],["type","submit",1,"sp-btn","primary",3,"disabled"],[1,"sp-alert","ok"],[1,"sp-alert","err"],[3,"value"]],template:function(e,a){e&1&&(t(0,"div",0)(1,"header",1)(2,"span",2),f(),t(3,"svg",3),d(4,"circle",4)(5,"path",5),r(),o(6),r(),x(),t(7,"h1"),o(8),r(),t(9,"p"),o(10),r(),t(11,"div",6),f(),t(12,"
1svg",7),d(13,"circle",8)(14,"path",9),r(),x(),t(15,"input",10),V("ngModelChange",function(v){return M(a.faqSearch,v)||(a.faqSearch=v),v}),r()()(),t(16,"div",11)(17,"div",12)(18,"div",13)(19,"span",14),o(20),r(),t(21,"span",15),f(),t(22,"svg",16),d(23,"path",17),r()()(),x(),t(24,"a",18),o(25,"+966 12 345 6789"),r(),t(26,"span",19),o(27),r()(),t(28,"div",20)(29,"div",13)(30,"span",14),o(31),r(),t(32,"span",15),f(),t(33,"svg",16),d(34,"rect",21)(35,"path",22),r()()(),x(),t(36,"span",23),o(37,"[email protected]"),r(),t(38,"button",24),m("click",function(){return a.openContact()}),o(39),r()(),t(40,"div",25)(41,"div",13)(42,"span",14),o(43),r(),t(44,"span",15),f(),t(45,"svg",16),d(46,"path",26),r()()(),x(),t(47,"span",23),o(48),r(),t(49,"button",24),m("click",function(){return a.openContact()}),o(50),r()()(),t(51,"h2",27),o(52),r(),t(53,"nav",28),b(54,oe,4,4,"button",29),r(),t(55,"h3",30),o(56),t(57,"span"),o(58),r()(),t(59,"div",31),b(60,pe,11,6,"div",32)(61,le,2,1,"div",33),r(),t(62,"div",34)(63,"div",35)(64,"h3"),o(65),r(),t(66,"p"),o(67),r()(),t(68,"button",36),m("click",function(){return a.openContact()}),f(),t(69,"svg",37),d(70,"path",26),r(),o(71),r()()(),b(72,fe,37,16,"div",38)),e&2&&(C("dir",a.isRTL()?"rtl":"ltr"),n(6),k(" ",a.t("\u0645\u0631\u0643\u0632 \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629","Help centre")," "),n(2),p(a.t("\u0643\u064A\u0641 \u064A\u0645\u0643\u0646\u0646\u0627 \u0645\u0633\u0627\u0639\u062F\u062A\u0643\u061F","How can we help you?")),n(2),p(a.t("\u0627\u0628\u062D\u062B \u0639\u0646 \u0625\u062C\u0627\u0628\u0627\u062A \u0627\u0644\u0623\u0633\u0626\u0644\u0629 \u0627\u0644\u0634\u0627\u0626\u0639\u0629 \u0623\u0648 \u062A\u0648\u0627\u0635\u0644 \u0645\u0639 \u0641\u0631\u064A\u0642 \u0627\u0644\u062F\u0639\u0645","Search the FAQ or get in touch with our support team")),n(5),A("ngModel",a.faqSearch),u("ngModelOptions",j(24,ae))("placeholder",a.t("\u0627\u0628\u062D\u062B \u0639\u0646 \u0633\u0624\u0627\u0644\u0643 \u0647\u0646\u0627\u2026","Search your question\u2026")),n(5),p(a.t("\u0627\u0644\u0647\u0627\u062A\u0641","Phone")),n(7),p(a.t("\u0645\u062F\u0629 \u0627\u0644\u0639\u0645\u0644: 9 \u0635 - 6 \u0645","Working hours: 9am \u2013 6pm")),n(4),p(a.t("\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A","Email")),n(8),p(a.t("\u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u0629","Send a message")),n(4),p(a.t("\u0627\u0644\u062F\u0631\u062F\u0634\u0629 \u0627\u0644\u062D\u064A\u0629","Live chat")),n(5),p(a.t("\u0641\u0631\u064A\u0642 \u0627\u0644\u062F\u0639\u0645 \u0645\u062A\u0627\u062D \u0627\u0644\u0622\u0646","Our team is online now")),n(2),p(a.t("\u0627\u0628\u062F\u0623 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629","Start chat")),n(2),p(a.t("\u062A\u0635\u0641\u062D \u062D\u0633\u0628 \u0627\u0644\u0641\u0626\u0629","Browse by category")),n(2),u("ngForOf",a.faqCategories),n(2),k("",a.t("\u0627\u0644\u0623\u0633\u0626\u0644\u0629 \u0627\u0644\u0634\u0627\u0626\u0639\u0629","Frequently asked questions")," "),n(2),k("(",a.filteredFaqs.length,")"),n(2),u("ngForOf",a.filteredFaqs),n(),u("ngIf",a.filteredFaqs.length===0),n(4),p(a.t("\u0644\u0645 \u062A\u062C\u062F \u0645\u0627 \u062A\u0628\u062D\u062B \u0639\u0646\u0647\u061F","Didn\u2019t find what you were looking for?")),n(2),p(a.t("\u0641\u0631\u064A\u0642\u0646\u0627 \u062C\u0627\u0647\u0632 \u0644\u0645\u0633\u0627\u0639\u062F\u062A\u0643 \u0639\u0644\u0649 \u0645\u062F\u0627\u0631 \u0627\u0644\u0633\u0627\u0639\u0629","Our team is ready to help around the clock")),n(4),k(" ",a.t("\u062A\u0648\u0627\u0635\u0644 \u0645\u0639 \u0627\u0644\u062F\u0639\u0645","Contact support")," "),n(),u("ngIf",a.showContactModal))},dependencies:[O,D,L,z,ee,W,K,X,G,J,R,$,P,te,Y,Q],styles:[`.sp{--canvas: var(--ds-bg-canvas, #0c0d12);--surface: var(--ds-bg-surface, #14161d);--card: var(--ds-bg-elevated, #0f1116);--subtle: var(--ds-bg-subtle, #191b22);--txt: var(--ds-text-primary, #fff);--txt-2: var(--ds-text-secondary, #d7d8dc);--txt-3: var(--ds-text-tertiary, #ffffffb2);--orange: #ff9000;--purple: #5b47ff;--bd: var(--ds-border-subtle, rgba(255, 255, 255, .08));min-height:100vh;background:var(--canvas);color:var(--txt);font-family:Cairo,Almarai,Segoe UI,sans-serif;padding:32px 28px 56px;max-width:1040px;margin:0 auto}.sp *,.sp *:before,.sp *:after{box-sizing:border-box}.sp .sp-hero{text-align:center;margin-bottom:28px}.sp .sp-badge{display:inline-flex;align-items:center;gap:6px;background:#ff900024;color:var(--orange);border:1px solid rgba(255,144,0,.3);font-size:13px;font-weight:600;padding:5px 12px;border-radius:999px;margin-bottom:14px}.sp .sp-hero h1{font-size:2rem;font-weight:700;margin:0 0 8px}.sp .sp-hero>p{color:var(--txt-3);margin:0 0 22px}.sp .sp-search{max-width:620px;margin:0 auto;display:flex;align-items:center;gap:10px;height:50px;padding-inline:18px;background:var(--surface);border:1px solid var(--bd);border-radius:12px;transition:border-color .15s ease}.sp .sp-search:focus-within{border-color:#ff900080}.sp .sp-search svg{color:var(--txt-3);flex:none}.sp .sp-search input{flex:1;min-width:0;background:transparent;border:none;outline:none;color:var(--txt);font-family:inherit;font-size:15px}.sp .sp-search input::placeholder{color:var(--txt-3)}.sp .sp-contacts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:36px}@media (max-width: 820px){.sp .sp-contacts{grid-template-columns:1fr}}.sp .sp-contact{border-radius:16px;padding:18px 20px;min-height:132px;display:flex;flex-direction:column;gap:10px;border:1px solid var(--bd)}.sp .sp-contact--dark{background:linear-gradient(135deg,#1b1e27,#0f1116)}.sp .sp-contact--dark .sp-contact-name{color:#fff}.sp .sp-contact--dark .sp-contact-ic{background:#ffffff2e;color:#fff}.sp .sp-contact--dark .sp-contact-btn{background:#fff3;color:#fff}.sp .sp-contact--dark .sp-contact-btn:hover{background:#ffffff4d}.sp :host-context(body.light-theme) .sp-contact--dark,body.light-theme .sp .sp-contact--dark{background:var(--ds-bg-subtle);border:1px solid var(--ds-border-default)}.sp :host-context(body.light-theme) .sp-contact--dark .sp-contact-name,body.light-theme .sp .sp-contact--dark .sp-contact-name{color:var(--txt)}.sp :host-context(body.light-theme) .sp-contact--dark .sp-contact-ic,body.light-theme .sp .sp-contact--dark .sp-contact-ic{background:var(--ds-bg-card-hover);color:var(--txt-2)}.sp :host-context(body.light-theme) .sp-contact--dark .sp-contact-btn,body.light-theme .sp .sp-contact--dark .sp-contact-btn{background:var(--ds-bg-card-hover);color:var(--txt)}.sp :host-context(body.light-theme) .sp-contact--dark .sp-contact-btn:hover,body.light-theme .sp .sp-contact--dark .sp-contact-btn:hover{background:var(--ds-border-default)}.sp .sp-contact--purple{background:linear-gradient(135deg,#6a5cff,#4a3cc4);border-color:transparent}.sp .sp-contact--orange{background:linear-gradient(135deg,#ffa42a,#ef7e00);border-color:transparent}.sp .sp-contact-top{display:flex;align-items:center;justify-content:space-between}.sp .sp-contact-name{font-size:15px;font-weight:700;color:#fff}.sp .sp-contact-ic{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#ffffff2e;color:#fff}.sp .sp-contact-value{font-size:14px;color:#ffffffeb;text-decoration:none}.sp .sp-contact--dark .sp-contact-value{color:var(--txt-2)}.sp .sp-contact-sub{font-size:12px;color:#ffffffb3}.sp .sp-contact--dark .sp-contact-sub{color:var(--txt-3)}.sp .sp-contact-btn{margin-top:auto;height:36px;border-radius:8px;
1cursor:pointer;font-family:inherit;font-size:13px;font-weight:600;background:#fff3;border:none;color:#fff}.sp .sp-contact-btn:hover{background:#ffffff4d}.sp .sp-section-title{font-size:1.15rem;font-weight:700;margin:0 0 14px;text-align:start}.sp .sp-cats{display:flex;flex-wrap:wrap;gap:8px 18px;border-bottom:1px solid var(--bd);margin-bottom:24px;justify-content:flex-start}.sp .sp-cat{display:inline-flex;align-items:center;gap:8px;background:transparent;border:none;color:var(--txt-3);font-family:inherit;font-size:14px;font-weight:600;padding:8px 4px 14px;margin-bottom:-1px;cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap;transition:color .15s ease,border-color .15s ease}.sp .sp-cat i{font-size:13px;line-height:1}.sp .sp-cat:hover{color:var(--txt)}.sp .sp-cat.active{color:var(--orange);border-bottom-color:var(--orange)}.sp .sp-faq-title{font-size:1rem;font-weight:700;margin:0 0 14px;text-align:start}.sp .sp-faq-title span{color:var(--txt-3);font-weight:500}.sp .sp-faq{display:flex;flex-direction:column;gap:10px}.sp .sp-faq-item{background:var(--surface);border:1px solid var(--bd);border-radius:12px;overflow:hidden}.sp .sp-faq-item.open{border-color:#ffffff29}.sp .sp-faq-q{display:flex;align-items:center;gap:12px;width:100%;background:transparent;border:none;cursor:pointer;padding:16px 18px;text-align:start}.sp .sp-faq-q .sp-faq-chevron{color:var(--txt-3);flex:none;transition:transform .2s ease}.sp .sp-faq-q .sp-faq-text{flex:1;min-width:0;color:var(--txt);font-family:inherit;font-size:15px;font-weight:600}.sp .sp-faq-q .sp-faq-dot{width:28px;height:28px;flex:none;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}.sp .sp-faq-item.open .sp-faq-chevron{transform:rotate(180deg)}.sp .sp-faq-a{padding:0 18px 16px 48px;color:var(--txt-3);line-height:1.7;font-size:14px;text-align:start}.sp .sp-faq-empty{padding:40px;text-align:center;color:var(--txt-3)}.sp .sp-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:28px;padding:20px 24px;background:var(--surface);border:1px solid var(--bd);border-radius:14px}.sp .sp-foot .sp-foot-text{text-align:start}.sp .sp-foot .sp-foot-text h3{margin:0 0 4px;font-size:1.05rem;font-weight:700}.sp .sp-foot .sp-foot-text p{margin:0;color:var(--txt-3);font-size:14px}.sp .sp-foot-btn{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:10px;cursor:pointer;background:var(--orange);color:#1a1300;border:none;font-family:inherit;font-size:14px;font-weight:700;white-space:nowrap}.sp .sp-foot-btn:hover{filter:brightness(1.05)}.sp-modal-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:24px;background:#040610b8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-family:Cairo,Almarai,Segoe UI,sans-serif}.sp-modal{width:100%;max-width:560px;background:var(--ds-bg-surface);color:var(--ds-text-primary);border:1px solid var(--ds-border-subtle);border-radius:16px;box-shadow:0 40px 120px #0009;overflow:hidden}.sp-modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid var(--ds-border-subtle)}.sp-modal-head h2{margin:0;font-size:1.2rem;font-weight:700}.sp-modal-close{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;background:var(--ds-bg-subtle);border:1px solid var(--ds-border-subtle);border-radius:10px;color:var(--ds-text-secondary);cursor:pointer}.sp-modal-close:hover{background:var(--ds-bg-card-hover);color:var(--ds-text-primary)}.sp-modal-body{padding:24px}.sp-alert{padding:10px 14px;border-radius:10px;font-size:14px;margin-bottom:16px}.sp-alert.ok{background:#22c55e1f;border:1px solid rgba(34,197,94,.4);color:#86efac}.sp-alert.err{background:#ef44441a;border:1px solid rgba(239,68,68,.4);color:#fca5a5}body.light-theme .sp-alert.ok{color:#15803d}body.light-theme .sp-alert.err{color:#b91c1c}.sp-field{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.sp-field span{font-size:.9rem;font-weight:600;color:var(--ds-text-secondary);text-align:start}.sp-field input,.sp-field textarea,.sp-field select{width:100%;background:var(--ds-bg-subtle);border:1px solid var(--ds-border-subtle);border-radius:10px;color:var(--ds-text-primary);font-family:inherit;font-size:1rem;outline:none}.sp-field input::placeholder,.sp-field textarea::placeholder,.sp-field select::placeholder{color:var(--ds-text-tertiary)}.sp-field input:focus,.sp-field textarea:focus,.sp-field select:focus{border-color:#5b47ff}.sp-field input,.sp-field select{height:48px;padding:0 16px}.sp-field textarea{padding:12px 16px;resize:vertical;min-height:96px}.sp-field select{appearance:none;cursor:pointer}.sp-field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media (max-width: 480px){.sp-field-row{grid-template-columns:1fr}}.sp-modal-foot{display:flex;justify-content:flex-end;
1gap:12px;margin-top:8px}.sp-btn{height:44px;padding:0 22px;border-radius:10px;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;border:1px solid transparent}.sp-btn.ghost{background:transparent;border-color:var(--ds-border-strong);color:var(--ds-text-secondary)}.sp-btn.ghost:hover{background:var(--ds-bg-subtle);color:var(--ds-text-primary)}.sp-btn.primary{background:var(--orange, #ff9000);color:#1a1300}.sp-btn.primary:hover{filter:brightness(1.05)}.sp-btn.primary:disabled{opacity:.6;cursor:not-allowed} 2`],encapsulation:2})};export{ie as SupportComponent};
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.