PageSourceSearch

https://lidomatrip.com/_next/static/chunks/2238-fa316825d18f898d.js

js lidomatrip.com collected 2026-10-02 20:25:24 UTC 14,142 bytes, 43 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2238],{99062:function(t,e,r){r.d(e,{Me:function(){return i},PE:function(){return s},Ti:function(){return o}});var n=r(63383),l=r(57149);let s={Complaint:"complaint",Contact:"contact"},i={name:"",phone:"",email:"",content:"",form_type:s.Complaint||s.Contact,image:null},o=async t=>{let e={name:t.name,phone:t.phone,content:t.content,form_type:t.form_type};return t.email&&(e.email=t.email),t.image&&(e.image=(0,n.O)(t.image)),l.Z.setUrl("/api/submit_contact_form").setCallMethod("POST").setJsonRpcMethod("call").setBody(e).call()}},28855:function(t,e,r){r.d(e,{n:function(){return m}});var n=r(85893),l=r(67294),s=r(70707),i=r(5152),o=r.n(i);let u=" و ",a=[["","یک","دو","سه","چهار","پنج","شش","هفت","هشت","نه"],["ده","یازده","دوازده","سیزده","چهارده","پانزده","شانزده","هفده","هجده","نوزده","بیست"],["","","بیست","سی","چهل","پنجاه","شصت","هفتاد","هشتاد","نود"],["","یکصد","دویست","سیصد","چهارصد","پانصد","ششصد","هفتصد","هشتصد","نهصد"],[""," هزار"," میلیون"," میلیارد"," بیلیون"," بیلیارد"," تریلیون"," تریلیارد"," کوآدریلیون"," کادریلیارد"," کوینتیلیون"," کوانتینیارد"," سکستیلیون"," سکستیلیارد"," سپتیلیون"," سپتیلیارد"," اکتیلیون"," اکتیلیارد"," نانیلیون"," نانیلیارد"," دسیلیون"," دسیلیارد"]],c=["","دهم","صدم","هزارم","ده‌هزارم","صد‌هزارم","میلیونوم","ده‌میلیونوم","صدمیلیونوم","میلیاردم","ده‌میلیاردم","صد‌‌میلیاردم"],d=t=>{let e=t;return"number"==typeof e&&(e=e.toString()),e.length%3==1?e=`00${e}`:e.length%3==2&&(e=`0${e}`),e.replace(/\d{3}(?=\d)/g,"$&*").split("*")},h=t=>{if(0===parseInt(t,0))return"";let e=parseInt(t,0);if(e<10)return a[0][e];if(e<=20)return a[1][e-10];if(e<100){let t=e%10,r=(e-t)/10;return t>0?a[2][r]+u+a[0][t]:a[2][r]}let r=e%10,n=(e-e%100)/100,l=(e-(100*n+r))/10,s=[a[3][n]],i=10*l+r;return 0===i||(i<10?s.push(a[0][i]):i<=20?s.push(a[1][i-10]):(s.push(a[2][l]),r>0&&s.push(a[0][r]))),s.join(u)},p=t=>""===(t=t.replace(/0*$/,""))?"":(t.length>11&&(t=t.substr(0,11))," ممیز "+f(t)+" "+c[t.length]),f=t=>{t=t.toString().replace(/[^0-9.-]/g,"");let e=!1,r=parseFloat(t);if(isNaN(r)||0===r)return"صفر";r<0&&(e=!0,t=t.replace(/-/g,""));let n="",l=t,s=t.indexOf(".");if(s>-1&&(l=t.substring(0,s),n=t.substring(s+1,t.length)),l.length>66)return"خارج از محدوده";let i=d(l),o=[];for(let t=0;t<i.length;t+=1){let e=h(i[t]);""!==e&&o.push(e+a[4][i.length-(t+1)])}return n.length>0&&(n=p(n)),(e?"منفی ":"")+o.join(u)+n},b=o()(()=>r.e(9905).then(r.bind(r,99905)),{loadableGenerated:{webpack:()=>[99905]},ssr:!0}),m=(0,l.forwardRef)(function(t,e){var r,i,o,u,a,c;let{isFullWidth:d=!0,onClick:h,label:p,label2:m,label2ClassName:g,labelInBorder:v=!1,placeholder:x,placeholderClassname:N,customError:y,customValue:R,customOnChange:O,disabled:C,formik:M,name:j,fillFrom:k,leftIcon:$,rightIcon:E,readonly:w,autofocus:S,autoComplete:A=!0,isPassword:_,maxCharsN:D,type:B="text",fieldIsOptional:U=!1,inputClassname:L,wrapperClassname:F,subLable:H,labelClassname:P,wordifyNumbers:T=!1,noValidationErrorText:I=!1,hasPrimaryColorBorderBottom:V,inputmode:G="text",applyCommaSeperation:K,applyAllDigitsToEnFeature:Q}=t,[W,Y]=(0,l.useState)(!1),z=(0,l.useMemo)(()=>M&&M.touched[j]&&M.errors[j]?"object"!=typeof M.errors[j]?M.errors[j]:M.errors[j][Object.keys(M.errors[j])[0]]:y||null,[M,y]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("label",{ref:e,onClick:h,className:`${d?"w-full":""}
2        ${v?"relative":""}`,children:[!!p&&(0,n.jsxs)("span",{className:`
3              text-12 leading-21 text-black font-r mb-8 flex items-center gap-x-4
4              ${P||""}
5              ${v?"absolute top-0 -translate-y-1/2 text-gray-959FA7 leading-16 px-4 bg-white z-1 right-20":""}
6            `,children:[p,!!m&&(0,n.jsx)("span",{className:`text-10 leading-17 text-black font-r ${g||""}`,children:m}),!!U&&(0,n.jsx)("span",{className:"text-[#1C2E4599] text-10",children:"(اختیاری)"})]}),!!H&&(0,n.jsx)("p",{className:"text-10 leading-17 text-black font-l mb-4",children:H}),(0,n.jsxs)("div",{className:`
7          w-full py-10 pr-12 pl-16 bg-white
8          border-1 border-solid border-gray-C4CAD3 rounded-8
9          ${C?"opacity-60 cursor-not-allowed":""}
10          ${z?"!border-error-light":""}
11          focus-within:!border-black
12          flex items-center gap-x-10
13          transition-all
14          ease-in-out
15          ${V?"border-b-2 border-solid border-b-primary-main":""}
16          ${F||""}
17        `,children:[!!E&&(0,n.jsx)("span",{className:"flex items-center shrink-0",children:E}),(0,n.jsx)("input",{dir:k||("number"===B||"numeric"===G?"ltr":"rtl"),className:`
18            w-full focus-visible:outline-none
19            ${N}
20            placeholder:text-12 placeholder:leading-21 placeholder:font-l placeholder:text-[rgba(28,46,69,0.6
20)]
21            text-14 leading-24 font-m text-black
22            ${C?"cursor-not-allowed":""}
23            ${"rtl"===k?"text-right":"ltr"===k?"text-left":"number"===B||"numeric"===G?"text-left":"text-right"}
24            ${z?"!text-error-light":""}
25            ${L||""}
26            ${w?"cursor-pointer":""}
27          `,autoFocus:S,autoComplete:_||!A?"off":"on",readOnly:w,type:_?W?"text":"password":B,inputMode:G,placeholder:x||"",disabled:C,name:j,value:(M?"numeric"===G||K?null===(r=Number(null==M?void 0:null===(i=M.values)||void 0===i?void 0:i[j]))||void 0===r?void 0:r.toLocaleString("en-US"):null==M?void 0:null===(o=M.values)||void 0===o?void 0:o[j]:"numeric"===G||K?R?null===(u=Number(R))||void 0===u?void 0:u.toLocaleString("en-US"):"":R)??"",onChange:t=>{var e;let r=null==t?void 0:null===(e=t.target)||void 0===e?void 0:e.value;("number"===B||"numeric"===G||"tel"===B||Q)&&(r=(r=(0,s.cQ)(r)).replace(/\D/g,"")),M&&(null==M||M.setFieldValue(j,"numeric"===G||K?r.split(",").join(""):r)),O&&O("numeric"===G||K?r.split(",").join(""):r)},onBlur:t=>{M&&!w&&(null==M||M.handleBlur(t))},onKeyPress:t=>{if(D){var e,r,n;M?(null===(e=null===(r=null==M?void 0:M.values[j])||void 0===r?void 0:r.toString())||void 0===e?void 0:e.length)===D&&t.preventDefault():O&&(null===(n=null==R?void 0:R.toString())||void 0===n?void 0:n.length)===D&&t.preventDefault()}"number"!==B||(0,s.c4)(t.key)||t.preventDefault()}}),!!$&&(0,n.jsx)("span",{className:"flex items-center shrink-0",children:$}),!!_&&(0,n.jsx)("span",{className:`
28                flex items-center shrink-0
29                ${C?"cursor-not-allowed":"cursor-pointer"}
30              `,onClick:()=>{C||Y(t=>!t)},children:W?(0,n.jsx)("i",{className:"icon-Hide text-24 text-black"}):(0,n.jsx)("i",{className:"icon-See text-24 text-black"})})]}),!!T&&(!!(null==M?void 0:null===(a=M.values)||void 0===a?void 0:a[j])||!!R)&&(0,n.jsxs)("p",{className:"text-10 leading-17 text-black font-l mt-4",children:[M?!!f&&(null==f?void 0:f(null==M?void 0:null===(c=M.values)||void 0===c?void 0:c[j])):R?!!f&&(null==f?void 0:f(R)):null," ","تومان"]})]}),!I&&(0,n.jsx)(b,{errorMessage:z})]})})},2534:function(t,e,r){r.d(e,{g:function(){return u}});var n=r(85893),l=r(5152),s=r.n(l),i=r(67294);let o=s()(()=>r.e(9905).then(r.bind(r,99905)),{loadableGenerated:{webpack:()=>[99905]},ssr:!0});function u(t){let{label:e,placeholder:r,customError:l,customValue:s,customOnChange:u,disabled:a,formik:c,name:d,fillFrom:h="rtl",readonly:p,maxCharsN:f,autoComplete:b,rows:m=3,cols:g,autoFocus:v,labelClassname:x,styles:N,textareaClassnames:y,subLable:R,autoResize:O}=t,C=(0,i.useRef)(null),M=(0,i.useMemo)(()=>c&&c.touched[d]&&c.errors[d]?"object"!=typeof c.errors[d]?c.errors[d]:c.errors[d][Object.keys(c.errors[d])[0]]:l||null,[c,l]);return(0,i.useEffect)(()=>{O&&C.current&&(C.current.style.height=C.current.scrollHeight+"px")},[O]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("label",{className:"w-full",children:[!!e&&(0,n.jsx)("span",{className:`text-12 leading-21 text-black font-r mb-8 block ${x||""}`,children:e}),!!R&&(0,n.jsx)("p",{className:"text-10 leading-17 text-black font-l mb-4",children:R}),(0,n.jsx)("div",{children:(0,n.jsx)("textarea",{ref:C,className:`
31            w-full bg-white focus-visible:outline-none
32            placeholder:text-12 placeholder:leading-21 placeholder:font-l placeholder:text-[rgba(28,46,69,0.6)]
33            text-14 leading-24 font-m text-black
34            py-10 pr-12 pl-16
35            border-1 border-solid border-gray-C4CAD3 rounded-8
36            focus-within:!border-black
37            ${a?"cursor-not-allowed":""}
38            ${"ltr"===h?"text-left":"rtl"===h?"text-right":""}
39            ${M?"!text-error-light":""}
40            ${a?"opacity-60 cursor-not-allowed":""}
41            ${M?"!border-error-light":""}
42            ${y||""}
43          `,rows:m,cols:g,autoComplete:b,autoFocus:v,readOnly:p,placeholder:r||"",disabled:a,name:d,value:(null==c?void 0:c.values[d])||s||"",onChange:t=>{c&&(null==c||c.handleChange(t)),u&&u(t.target.value),O&&C.current&&(C.current.style.height=t.target.scrollHeight+"px")},onBlur:t=>{c&&!p&&(null==c||c.handleBlur(t))},onKeyPress:t=>{if(f){if(c){var e;(null===(e=null==c?void 0:c.values[d])||void 0===e?void 0:e.length)===f&&t.preventDefault()}else u&&(null==s?void 0:s.length)===f&&t.preventDefault()}},style:N})})]}),!!M&&(0,n.jsx)(o,{errorMessage:M})]})}},427:function(t,e,r){r.d(e,{NV:function(){return n},un:function(){return l}});let n="لیدوما تریپ",l="https://lidomatrip.com"},77178:function(t,e,r){var n,l;r.d(e,{N:function(){return n}}),(l=n||(n={})).REQUIRED="فیلد الزامی",l.EMAIL="ایمیل نامعتبر",l.PHONE="شماره Ù
43‡Ù…راه نامعتبر",l.GENERAL_PHONE="شماره نامعتبر",l.NATIONALCODE="کد ملی نامعتبر",l.POSTALCODE="کد پستی نامعتبر",l.BANKCARTNUMBER="شماره کارت نامعتبر",l.SHABANUMBER="شماره شبا نامعتبر",l.ONLY_EN_NUMBERS="لطفا فقط اعداد انگلیسی وارد کنید.",l.PASSWORDS_DO_NOT_MATCH="رمز عبور و تکرار رمز عبور یکسان نیستند",l.ONLY_NUMBER_CHARS="لطفا فقط مقادیر عددی وارد نمایید."},70707:function(t,e,r){r.d(e,{EU:function(){return u},W_:function(){return a},c4:function(){return o},cQ:function(){return i}});let n=["Û°","Û±","Û²","Û³","Û´","Ûµ","Û¶","Û·","Û¸","Û¹"],l=["Ù ","Ù¡","Ù¢","Ù£","Ù¤","Ù¥","Ù¦","Ù§","Ù¨","Ù©"],s=["0","1","2","3","4","5","6","7","8","9"];function i(t){return t.replace(/[\u0660-\u0669\u06f0-\u06f9]/g,t=>15&t.charCodeAt(0))}function o(t){return!!(s.includes(t)||n.includes(t)||l.includes(t))}function u(t){return Number(i(t).replace(/[^\d]/g,""))||0}function a(t){let e=i(t).replace(/[٫،]/g,".").replace(/[^0-9.-]/g,"");if(!e||"-"===e||"."===e||"-."===e)return null;let r=Number(e);return Number.isFinite(r)?r:null}},63383:function(t,e,r){r.d(e,{O:function(){return n}});function n(t){e=t.split(",")[0].indexOf("base64")>=0?atob(t.split(",")[1]):unescape(t.split(",")[1]);for(var e,r=t.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(e.length),l=0;l<e.length;l++)n[l]=e.charCodeAt(l);return new Blob([n],{type:r})}},48228:function(t,e,r){r.d(e,{D:function(){return h}});var n=r(67294),l=r(464),s=r(32161),i=r(89886),o=r(30081),u=r(33989);class a extends u.l{constructor(t,e){super(),this.client=t,this.setOptions(e),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var e;let r=this.options;this.options=this.client.defaultMutationOptions(t),(0,s.VS)(r,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(e=this.currentMutation)||e.setOptions(this.options)}onUnsubscribe(){if(!this.listeners.length){var t;null==(t=this.currentMutation)||t.removeObserver(this)}}onMutationUpdate(t){this.updateResult();let e={listeners:!0};"success"===t.type?e.onSuccess=!0:"error"===t.type&&(e.onError=!0),this.notify(e)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(t,e){return this.mutateOptions=e,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==t?t:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let t=this.currentMutation?this.currentMutation.state:(0,i.R)(),e={...t,isLoading:"loading"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset};this.currentResult=e}notify(t){o.V.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var e,r,n,l,s,i,o,u;t.onSuccess?(null==(e=(r=this.mutateOptions).onSuccess)||e.call(r,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(n=(l=this.mutateOptions).onSettled)||n.call(l,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):t.onError&&(null==(s=(i=this.mutateOptions).onError)||s.call(i,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(o=(u=this.mutateOptions).onSettled)||o.call(u,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}t.listeners&&this.listeners.forEach(t=>{t(this.currentResult)})})}}var c=r(85945),d=r(24798);function h(t,e,r){let i=(0,s.lV)(t,e,r),u=(0,c.NL)({context:i.context}),[h]=n.useState(()=>new a(u,i));n.useEffect(()=>{h.setOptions(i)},[h,i]);let f=(0,l.$)(n.useCallback(t=>h.subscribe(o.V.batchCalls(t)),[h]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),b=n.useCallback((t,e)=>{h.mutate(t,e).catch(p)},[h]);if(f.error&&(0,d.L)(h.options.useErrorBoundary,[f.error]))throw f.error;return{...f,mutate:b,mutateAsync:f.mutate}}function p(){}}}]);

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.