PageSourceSearch

https://safarni.vercel.app/_next/static/chunks/pages/sfarny-offers-1338793855220e2d4f6f.js

js safarni.vercel.app collected 2026-10-03 07:39:32 UTC 11,381 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4123],{92140:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(92809),i=(n(67294),n(41664)),a=n(85893);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=function(e){return(0,a.jsxs)("svg",o(o({},e),{},{children:[(0,a.jsx)("path",{d:"m3.989 14.66-1.52-1.52a1.606 1.606 0 0 1 0-2.26l1.52-1.52a1.845 1.845 0 0 0 .47-1.13V6.08a1.6 1.6 0 0 1 1.6-1.6h2.145a1.845 1.845 0 0 0 1.13-.47l1.525-1.52a1.606 1.606 0 0 1 2.26 0l1.52 1.52a1.845 1.845 0 0 0 1.13.47h2.15a1.6 1.6 0 0 1 1.6 1.6v2.145a1.845 1.845 0 0 0 .47 1.13l1.52 1.52a1.606 1.606 0 0 1 0 2.26l-1.52 1.52a1.845 1.845 0 0 0-.47 1.13v2.15a1.6 1.6 0 0 1-1.6 1.6h-2.15a1.845 1.845 0 0 0-1.13.47l-1.52 1.52a1.606 1.606 0 0 1-2.26 0l-1.52-1.52a1.845 1.845 0 0 0-1.13-.47h-2.15a1.6 1.6 0 0 1-1.6-1.6v-2.15a1.8 1.8 0 0 0-.47-1.125Z",fill:"none",stroke:"#ff7a7a",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,a.jsx)("path",{"'data-name'":"Vector",d:"m9 15 6-6",fill:"none",stroke:"#ff7a7a",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,a.jsx)("path",{"'data-name'":"Vector",d:"M14.495 14.5h.005M9.495 9.5H9.5",fill:"none",stroke:"#ff7a7a",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]}))};function u(e){var t=e.trip,n=t.tripImage,r=(n=void 0===n?{}:n).imageUrl,c=void 0===r?"":r,o=t.name,u=t.phoneNumber,l=t.price,p=t.sale,d=e.url,f=e.disabled,v=e.containerStyle;return(0,a.jsx)(i.default,{href:d||"/",children:(0,a.jsxs)("div",{className:"trip-card ".concat(f?"disabled":""),style:v,children:[(0,a.jsx)("div",{className:"trip-card__img-cont",children:(0,a.jsx)("img",{src:c,alt:"private-trip"})}),(0,a.jsxs)("div",{className:"trip-card__data-cont",children:[(0,a.jsx)("div",{className:"trip-card__data-cont__title",children:o}),(0,a.jsx)("div",{className:"trip-card__data-cont__subtitle",children:u}),(0,a.jsxs)("div",{className:"trip-card__data-cont__subtitle",children:[(0,a.jsx)("span",{className:p?"line-through-text":"",children:"".concat(l," \u062c\u0646\u064a\u0647")}),!!p&&(0,a.jsx)("span",{children:"".concat(Math.ceil(l*(100-p)/100)," \u062c\u0646\u064a\u0647")})]}),!!p&&(0,a.jsxs)("div",{className:"trip-card__data-cont__sale",children:[(0,a.jsx)(s,{}),(0,a.jsx)("span",{children:"\u062e\u0635\u0645 ".concat(p,"% \u0639\u0644\u064a \u0627\u0644\u0631\u062d\u0644\u0647")})]})]})]})})}s.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"}},73034:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(92809),i=n(67294),a=n(11163),c=n(93942),o=n(92955),s=n(25271),u=n(92140),l=n(76302),p=n(37080),d=n(85893);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){var t,n=e.saleFiltered,v=void 0!==n&&n,g=(0,c.I0)(),h=(0,a.useRouter)().query,j=(h=void 0===h?{}:h).categoryId,x=void 0===j?"":j,m=(0,c.v9)((function(e){return e.entertainmentTrips})).entertainmentTripsList,y=(0,i.useState)(!0),O=y[0],b=y[1],P=(0,l.Z)(10),_=P.goNextPage,T=P.pagingRequestParam
1s,w=P.setPageInfo,E=P.isLastPage;return(0,i.useEffect)((function(){b(!0),(x||v)&&g((0,p.Oo)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({sale:v,category:x},T),(function(e){b(!1),w({next:e.next,previous:e.previous})})))}),[T,x]),(0,i.useEffect)((function(){return function(){return g((0,p.e9)())}}),[x]),(0,d.jsxs)("div",{className:"general-container ",style:{paddingBlock:"2rem"},children:[(0,d.jsx)("div",{className:"grid-cont",style:{paddingBlock:"2rem"},children:null===m||void 0===m||null===(t=m.map)||void 0===t?void 0:t.call(m,(function(e){return(0,d.jsx)(u.Z,{trip:e,url:"/entertainment-trips/".concat(x,"/").concat(e._id)},e._id)}))}),(0,d.jsx)(s.Z,{show:O}),(0,d.jsx)(o.Z,{isLastPage:E,goNextPage:_})]})}},31253:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(92809),i=n(67294),a=n(24971),c=n(93942),o=n(92955),s=n(25271),u=n(92140),l=n(76302),p=n(93434),d=n(85893);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var v=a.Z.TabPane,g=[{value:1,text:"\u0645\u064a\u0643\u0631\u0648\u0628\u0627\u0635"},{value:2,text:"\u0644\u064a\u0645\u0648\u0632\u064a\u0646"},{value:3,text:"\u0627\u0648\u062a\u0648\u0628\u064a\u0633"}];function h(e){var t=e.saleFiltered,n=void 0!==t&&t,h=(0,c.I0)(),j=(0,i.useState)(1),x=j[0],m=j[1],y=(0,c.v9)((function(e){return e.privateTrips})).privateTripsList,O=(0,i.useState)(!0),b=O[0],P=O[1],_=(0,l.Z)(10),T=_.goNextPage,w=_.pagingRequestParam
1s,E=_.setPageInfo,Z=_.isLastPage,N=_.goFirstPage;(0,i.useEffect)((function(){P(!0),h((0,p.aG)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({sale:n,type:x},w),(function(e){P(!1),E({next:e.next,previous:e.previous})})))}),[w,x]),(0,i.useEffect)((function(){return function(){return h((0,p.U0)())}}),[x]);return(0,d.jsxs)("div",{className:"general-container ",style:{paddingBlock:"2rem"},children:[(0,d.jsx)(a.Z,{defaultActiveKey:"1",type:"card",size:"large",onChange:function(e){h((0,p.U0)()),N(),m(e)},children:g.map((function(e){var t;return(0,d.jsx)(v,{tab:e.text,className:"grid-cont",children:null===y||void 0===y||null===(t=y.map)||void 0===t?void 0:t.call(y,(function(e){return(0,d.jsx)(u.Z,{trip:e,url:"/private-trips/".concat(e._id)},e._id)}))},e.value)}))}),(0,d.jsx)(s.Z,{show:b}),(0,d.jsx)(o.Z,{isLastPage:Z,goNextPage:T})]})}},65842:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var r=n(67294),i=n(80779),a=n(24971),c=n(9008),o=n(11163),s=n(11851),u=n(73034),l=n(31253),p=n(8493),d=n(85893);function f(e){var t=e.selectedSection;return(0,d.jsx)("div",{className:"general-container ",style:{paddingBlock:"2rem"},children:"privateTrips"===t?(0,d.jsx)(l.Z,{saleFiltered:!0}):"entertainmentTrips"===t?(0,d.jsx)(u.Z,{saleFiltered:!0}):(0,d.jsx)(p.Z,{discountedTrips:!0})})}function v(){var e=(0,o.useRouter)(),t=(0,r.useState)("tickets"),n=t[0],a=t[1];return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(c.default,{children:(0,d.jsx)("title",{children:"\u0633\u0641\u0631\u0646\u064a | \u0639\u0631\u0648\u0636 \u0633\u0641\u0631\u0646\u064a"})}),(0,d.jsxs)(s.Z,{children:[(0,d.jsx)(i.Z,{ghost:!1,onBack:function(){return e.push("/")},title:"\u0639\u0631\u0648\u0636 \u0633\u0641\u0631\u0646\u064a",style:{marginTop:"2rem"},className:"general-container",footer:(0,d.jsx)(g,{setSelectedSection:a,selectedSection:n})}),(0,d.jsx)(f,{selectedSection:n})]})]})}function g(e){var t=e.selectedSection,n=e.setSelectedSection,r=(0,o.useRouter)();return(0,d.jsx)(a.Z,{defaultActiveKey:t,centered:!0,onChange:function(e){n(e),r.push({query:{}})},children:[{value:"tickets",text:"\u062a\u0630\u0627\u0643\u0631 \u0627\u0644\u0633\u0641\u0631"},{value:"privateTrips",text:"\u0633\u0641\u0631\u0646\u064a \u0645\u062e\u0635\u0648\u0635"},{value:"entertainmentTrips",text:"\u0627\u0644\u0631\u062d\u0644\u0627\u062a \u0627\u0644\u062a\u0631\u0641\u064a\u0647\u064a\u0629"}].map((function(e){return(0,d.jsx)(a.Z.TabPane,{tab:e.text},e.value)}))})}},37080:function(e,t,n){"use strict";n.d(t,{Al:function(){return s},Oo:function(){return u},iC:function(){return p},e9:function(){return d},wT:function(){return l}});var r=n(30266),i=n(809),a=n.n(i),c=n(29113),o=n(74159),s=function(e,t){return function(){var n=(0,r.Z)(a().mark((function n(r){return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.Z)().get("/entertainmentCategories/allActiveEntertainmentCategories",{params:e}).then((function(e){var n=e.data.model;null===t||void 0===t||t(n),r({type:o.Z.GET_ENTERTAINMENT_TRIPS_CATEGORIES,payload:null===n||void 0===n?void 0:n.EntertainmentCategories})})).catch((function(e){console.log("failed to get trips",e)}));case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},u=function(e,t){return function(){var n=(0,r.Z)(a().mark((function n(r){return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.Z)().get("/entertainmentTrips/allActiveTrips",{params:e}).then((function(e){var n=e.data.model;null===t||void 0===t||t(n),r({type:o.Z.GET_ENTERTAINMENT_TRIPS,payload:null===n||void 0===n?void 0:n.trips})})).catch((function(e){console.log("failed to get trips",e)}));case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},l=function(e){return(0,r.Z)(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.Z)().patch("/entertainmentTrips/newVisitor",{id:e}).catch((function(e){console.log("failed to get trips",e)}));case 2:case"end":return t.stop()}}),t)})))},p=function(){return{type:o.Z.CLEAN_ENTERTAINMENT_TRIPS_CATEGORIES}},d=function(){return{type:o.Z.CLEAN_ENTERTAINMENT_TRIPS}}},93434:function(e,t,n){"use strict";n.d(t,{aG:function(){return s},U0:function(){return l},wT:function(){return u}});var r=n(30266),i=n(809),a=n.n(i),c=n(29113),o=n(74159),s=function(e,t){return function(){var n=(0,r.Z)(a().mark((function n(r){return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.Z)().get("/privateTrips/allActiveTrips",{params:e}).then((function(e){var n=e.data.model;null===t||void 0===t||t(n),r({type:o.Z.GET_PRIVATE_TRIPS,payload:null===n||void 0===n?void 0:n.trips})})).catch((function(e){console.log("failed to get trips",e)}));case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},u=function(e){return(0,r.Z)(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.Z)().patch("/privateTrips/newVisitor",{id:e}).catch((function(e){console.log("failed to get trips",e)}));case 2:case"end":return t.stop()}}),t)})))},l=function(){return{type:o.Z.CLEAN_PRIVATE_TRIPS}}},75809:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sfarny-offers",function(){return n(65842)}])}},function(e){e.O(0,[4885,2637,2030,9708,7363,1505,4971,584,8493,9774,2888,179],(function(){return t=75809,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.