1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1903],{13937:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement(a.Fragment,null,a.createElement("circle",{cx:"12",cy:"4",r:"2"}),a.createElement("path",{d:"M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.35-.2-.75-.3-1.19-.26C10.76 7.11 10 8.04 10 9.09V15c0 1.1.9 2 2 2h5v5h2v-5.5c0-1.1-.9-2-2-2h-3v-3.45c1.29 1.07 3.25 1.94 5 1.95zm-6.17 5c-.41 1.16-1.52 2-2.83 2-1.66 0-3-1.34-3-3 0-1.31.84-2.41 2-2.83V12.1c-2.28.46-4 2.48-4 4.9 0 2.76 2.24 5 5 5 2.42 0 4.44-1.72 4.9-4h-2.07z"})),"Accessible");t.Z=o},42691:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");t.Z=o},15528:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}),"ArrowUpward");t.Z=o},68371:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z"}),"AttachMoney");t.Z=o},74320:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"}),"BookmarkBorderOutlined");t.Z=o},52693:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"}),"BookmarkOutlined");t.Z=o},39993:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"}),"Cached");t.Z=o},70765:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"}),"CameraAltOutlined");t.Z=o},57206:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M20 21c-1.39 0-2.78-.47-4-1.32-2.44 1.71-5.56 1.71-8 0C6.78 20.53 5.39 21 4 21H2v2h2c1.38 0 2.74-.35 4-.99 2.52 1.29 5.48 1.29 8 0 1.26.65 2.62.99 4 .99h2v-2h-2zM3.95 19H4c1.6 0 3.02-.88 4-2 .98 1.12 2.4 2 4 2s3.02-.88 4-2c.98 1.12 2.4 2 4 2h.05l1.89-6.68c.08-.26.06-.54-.06-.78s-.34-.42-.6-.5L20 10.62V6c0-1.1-.9-2-2-2h-3V1H9v3H6c-1.1 0-2 .9-2 2v4.62l-1.29.42c-.26.08-.48.26-.6.5s-.15.52-.06.78L3.95 19zM6 6h12v3.97L12 8 6 9.97V6z"}),"DirectionsBoat");t.Z=o},85542:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M12 2c-4.42 0-8 .5-8 4v9.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h12v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V6c0-3.5-3.58-4-8-4zM7.5 17c-.83 0-1.5-.67-1.5-1.5S6.67 14 7.5 14s1.5.67 1.5 1.5S8.33 17 7.5 17zm3.5-6H6V6h5v5zm5.5 6c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm1.5-6h-5V6h5v5z"}),"DirectionsSubway");t.Z=o},46397:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M12 2c-4.42 0-8 .5-8 4v9.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h12v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V6c0-3.5-3.58-4-8-4zM7.5 17c-.83 0-1.5-.67-1.5-1.5S6.67 14 7.5 14s1.5.67 1.5 1.5S8.33 17 7.5 17zm3.5-6H6V6h5v5zm5.5 6c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm1.5-6h-5V6h5v5z"}),"DirectionsTransit");t.Z=o},31002:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");t.Z=o},92292:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58
1L18 14z"}),"ExpandLess");t.Z=o},88659:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"}),"Explore");t.Z=o},30276:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M7 2v11h3v9l7-12h-4l4-8z"}),"FlashOn");t.Z=o},17884:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"}),"HelpOutline");t.Z=o},13264:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M20 11H6.83l2.88-2.88c.39-.39.39-1.02 0-1.41a.9959.9959 0 00-1.41 0L3.71 11.3c-.39.39-.39 1.02 0 1.41L8.3 17.3c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L6.83 13H20c.55 0 1-.45 1-1s-.45-1-1-1z"}),"KeyboardBackspaceRounded");t.Z=o},53920:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M20 12c0-1.1.9-2 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-1.99.9-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2zm-4.42 4.8L12 14.5l-3.58 2.3 1.08-4.12-3.29-2.69 4.24-.25L12 5.8l1.54 3.95 4.24.25-3.29 2.69 1.09 4.11z"}),"LocalActivity");t.Z=o},48434:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M19.77 7.23l.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45-1-1V14c0-1.1-.9-2-2-2h-1V5c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v16h10v-7.5h1.5v5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V9c0-.69-.28-1.32-.73-1.77zM12 10H6V5h6v5zm6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"}),"LocalGasStation");t.Z=o},65807:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"}),"PersonOutlineOutlined");t.Z=o},41930:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M18.5 4c.83 0 1.5.67 1.5 1.5v13c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5v-13c0-.83.67-1.5 1.5-1.5zm-12 10c.83 0 1.5.67 1.5 1.5v3c0 .83-.67 1.5-1.5 1.5S5 19.33 5 18.5v-3c0-.83.67-1.5 1.5-1.5zm6-5c.83 0 1.5.67 1.5 1.5v8c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5v-8c0-.83.67-1.5 1.5-1.5z"}),"SignalCellularAltRounded");t.Z=o},10722:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M21 3.41c0-.89-1.08-1.34-1.71-.71l-6.6 6.6L21 17.61V3.41zm.44 17.47L5.62 5.06a.9959.9959 0 00-1.41 0c-.39.39-.39 1.02 0 1.41l5.66 5.66-7.16 7.16c-.63.63-.19 1.71.7 1.71h15.32l1.29 1.29c.39.39 1.02.39 1.41 0 .4-.39.4-1.02.01-1.41z"}),"SignalCellularOffRounded");t.Z=o},34031:function(e,t,n){"use strict";var i=n(51605),r=n(98308);t.Z=void 0;var a=r(n(63008)),o=(0,i(n(75657)).default)(a.createElement("path",{d:"M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4c-1.29-1.29-2.84-2.13-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24C7.81 10.89 6.27 11.73 5 13v.01L6.99 15c1.36-1.36 3.14-2.04 4.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3c-1.65-1.66-4.34-1.66-6 0z"}),"WifiOff");t.Z=o},51805:function(e,t,n){"use strict";n.d(t,{Z:function(){return i.Z}});var i=n(27292)},424:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var i=n(749),r=n(34515),a=n(51805),o=n(63008),c=n(85435),s=function(e){var t=e.classes,n=e.children,i=e.layoutId,s=e.title,l=(0,o.useRef)(null);return(0,o.useEffect)((function(){var e=document.getElementById("hub-box");if(e){var t=e.getBoundingClientRect();if(l.current){var n=l.current.getBoundingClientRect(),i=(t.width-n.width)/2,r=(t.height-n.height)/2;l.current.style.top="".concat(r,"px"),l.current.style.left="".concat(i,"px"),l.current.style.width="".concat(n.width,"px"),l.current.style.position="absolute",e.style.display="block"}}}),[]),(0,c.jsx)(a.Z,{layoutId:i,variant:"design2",children:(0,c.jsxs)("div",{className:t.toolbar,ref:l,children:[(0,c.jsx)(r.Z,{className:t.title,component:"h1",children:"\u062a\u0648\u0631\u200c\u0647\u0627\u06cc ".concat(s||("tour-domestic"===i?"\u062f\u0627\u062e\u0644\u06cc":"\u062e\u0627\u0631\u062c\u06cc"))}),n]})})}
1,l=n(62875),d=(0,n(59049).Z)((function(e){return{title:(0,l.Z)({fontSize:36,fontWeight:"bold",marginBottom:e.spacing(3),marginTop:-80,fontFamily:"kalameh"},e.breakpoints.down("md"),{marginTop:-50,fontSize:24,marginBottom:e.spacing(2),paddingLeft:e.spacing()}),toolbar:{maxWidth:600}}})),u=n(82560),p=(0,i.qC)(u.Z,d)(s)},85278:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return T},default:function(){return L}});var i=n(62875),r=n(13462),a=n(66107),o=n(61259),c=n(36163),s=n(91797),l=n(88953),d=n.n(l),u=n(64862),p=n(63008),h=n(18881),m=n.n(h);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function g(e,t){var n=e.toQueryParams();return"/tour/".concat(n.origin,"-to-").concat(n.destination).concat(m().stringify(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,i.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}({start:n.start,end:n.end,occupancies:n.occupancies},t),{addQueryPrefix:!0}))}var v=n(85435);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z=n(91720),j=n(6734),w=n(424),y=n(89887),C=n(21511),O=new a.VKt({basePath:"".concat("https://www.karnaval.ir","/api/gateway/tour")}),A=(new a.ND8(O,void 0,C.C),new a.G3$(O,void 0,C.C),new a.H_o(O,void 0,C.C)),S=n(26805),k=n.n(S),N=n(32090);function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=function(e){var t=e.tourSpecApi,n=e.Router,i=function(){var e=(0,s.Z)(d().mark((function e(n){var i,r,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n.query.type,r=n.query["holding-type"],e.next=4,t.tourSpecControllerRoutes({tripType:i,tourHoldingType:r});case 4:return a=e.sent,e.abrupt("return",{props:{routes:a.data}});case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{Component:function(e){var t=e.routes,i=e.tourHoldingType,r=e.withTourHoldingType,o=e.className,l=e.withRecentSearch,h=e.icon,m=e.initialDestination,f=(0,u.useRouter)(),b=f.query.type,Z=f.query["holding-type"],j="domestic"===b?"tourDomesticRecentSearch".concat(Z?"-".concat(Z):""):"tourInternationalRecentSearch".concat(Z?"-".concat(Z):""),w=(0,p.useCallback)(function(){var e=(0,s.Z)(d().mark((function e(i){var r,o,s;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(0,c.findRouteDestinationByValue)(i.originDestination,t),o=r&&(r.isHubPage||r.tourHoldingType===a.MBs.Group)?c.AvailabilityInput.fromToolbarFormValues(x(x({},i),{},{tripDate:void 0,occupancies:void 0})):c.AvailabilityInput.fromToolbarFormValues(i),s=g(o),!n){e.next=8;break}return e.next=6,n.pushRoute(s);case 6:e.next=10;break;case 8:return e.next=10,f.push(s);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[f,t]);return(0,v.jsx)(c.NavigationContext.Provider,{value:new c.NextNavigationContext({indexPageUrlWithTripType:!0}
1),children:r?(0,v.jsx)(c.IndexFormWithTourHoldingType,{routes:t,onSubmit:w,localStorageKey:j,tourHoldingType:i,className:o,withRecentSearch:l,icon:h,initialDestination:m}):(0,v.jsx)(c.IndexForm,{routes:t,onSubmit:w,localStorageKey:j,className:o,withRecentSearch:l,icon:h,initialDestination:m})})},getServerSideProps:i}}({tourSpecApi:A,Router:r.Router}),E=P.Component,R=[C.C],T=!0;var L=(0,Z.default)((function(e){return{recentSearch:(0,i.Z)({},e.breakpoints.up("md"),{borderColor:e.palette.common.white,color:e.palette.common.white}),recentSearchTab:(0,i.Z)({},e.breakpoints.up("md"),{borderColor:e.palette.common.white,color:e.palette.common.white,"&:hover":{background:e.palette.common.white,color:e.palette.common.black}}),"@global":{"*":{boxSizing:"border-box",fontFamily:"dana"}}}}))((0,y.Z)((function(e){var t=e.pageUrl,n=(0,u.useRouter)(),i=function(){var e=(0,u.useRouter)(),t=String(e.query["holding-type"]),n=(0,p.useState)(!t||"normal"!==t&&"group"!==t?a.MBs.Normal:t),i=n[0],r=n[1];return(0,p.useMemo)((function(){return{value:i,onChange:r}}),[i])}(),r="domestic"===n.query.type,s=r?"tour-domestic":i.value===a.MBs.Group?"tour-international-group":"tour-international";return(0,v.jsx)(N.Z,_(_({},e),{},{children:(0,v.jsxs)(j.Z,{withToolbar:!1,withFooterMargin:!1,children:[(0,v.jsx)(k(),{children:(0,v.jsx)("link",{rel:"canonical",href:t},"canonical")}),(0,v.jsx)(o.l,{instances:R,children:(0,v.jsx)(c.NavigationContext.Provider,{value:new c.DefaultNavigationContext({indexPageUrlWithTripType:!0}),children:(0,v.jsx)(w.Z,{layoutId:s,children:(0,v.jsx)(E,_(_({},e),{},{withTourHoldingType:!r,tourHoldingType:i}))})})})]})}))})))},11004:function(e,t,n){"use strict";n.d(t,{Z:function(){return i.Z}});var i=n(52576)},63614:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var i=n(63008),r=(0,n(96648).Z)((function(e){return{dialogTitle:{display:"flex",alignItems:"center"},title:{fontWeight:"bold",fontSize:16},iconButton:{background:e.palette.grey[200],padding:8,"&:hover":{background:e.palette.grey[200]}},closeButton:{position:"absolute",left:15,background:e.palette.action.hover},dialogContent:{padding:e.spacing(3,2)},icon:{marginLeft:6,marginTop:-2},leftSpacing:{marginLeft:8,marginTop:-2}}}),{flip:!1,index:10}),a=n(3488),o=n(84540),c=n(79405),s=n(14970),l=n(99312),d=n(44627),u=n(94935),p=n(34515),h=n(65173),m=n(63597),f=n(20998),g=n(94745),v=n(97223),b=n(33585),x=n(85435),Z=function(e){var t=e.text,Z=r(),j=(0,a.d)(),w=(0,i.useState)(!1),y=w[0],C=w[1],O=(0,i.useState)(!1),A=O[0],S=O[1],k=function(){C(!1)},N=function(){S(!0);var e=window.location.href;window.navigator.clipboard.writeText(e),setTimeout((function(){S(!1)}),2e3)};return(0,x.jsxs)("div",{children:[(0,x.jsx)(o.ZP,{title:"\u0627\u0634\u062a\u0631\u0627\u06a9 \u06af\u0630\u0627\u0631\u06cc",children:(0,x.jsx)(s.Z,{color:"secondary",className:Z.iconButton,onClick:function(){return C(!0)},children:(0,x.jsx)(c.Z,{color:"primary"})})}),j?(0,x.jsx)(g.Z,{open:y,closeHandler:k,title:"\u0627\u0634\u062a\u0631\u0627\u06a9 \u06af\u0630\u0627\u0631\u06cc",children:(0,x.jsxs)(v.Z,{container:!0,spacing:1,children:[(0,x.jsx)(v.Z,{item:!0,xs:12,children:(0,x.jsxs)(h.Z,{variant:"outlined",fullWidth:!0,onClick:N,size:"small",children:[(0,x.jsx)(m.Z,{className:Z.icon}),A?"\u06a9\u067e\u06cc \u0634\u062f":"\u06a9\u067e\u06cc \u06a9\u0631\u062f\u0646 \u0644\u06cc\u0646\u06a9"]})}),(0,x.jsx)(v.Z,{item:!0,xs:12,children:(0,x.jsxs)(h.Z,{variant:"outlined",fullWidth:!0,href:function(){var e=encodeURIComponent(window.location.href),n=t?encodeURIComponent(t):void 0;return"https://wa.me/?".concat(n?"text=".concat(n):"").concat(e)}(),target:"_blank",size:"small",children:[(0,x.jsx)(b.Z,{className:Z.leftSpacing,src:n(92931).Z}),"\u0648\u0627\u062a\u0633\u0627\u067e"]})}),(0,x.jsx)(v.Z,{item:!0,xs:12,children:(0,x.jsxs)(h.Z,{variant:"outlined",fullWidth:!0,href:function(){var e=encodeURIComponent(window.location.href),n=t?encodeURIComponent(t):void 0;return"https://t.me/share/url?url=".concat(e).concat(n?"&text=".concat(n):"")}(),target:"_blank",size:"small",children:[(0,x.jsx)(b.Z,{className:Z.leftSpacing,src:n(18016).Z}),"\u062a\u0644\u06af\u0631\u0627\u0645"]})})]})}):(0,x.jsxs)(l.Z,{open:y,onClose:k,maxWidth:"sm",fullWidth:!0,children:[(0,x.jsx)(u.Z,{children:(0,x.jsxs)("div",{className:Z.dialogTitle,children:[(0,x.jsx)(p.Z,{className:Z.title,children:"\u0627\u0634\u062a\u0631\u0627\u06a9 \u06af\u0630\u0627\u0631\u06cc"}),(0,x.jsx)(s.Z,{color:"inherit",onClick:k,className:Z.closeButton,"data-testid":"close",size:"small",children:(0,x.jsx)(f.Z,{})})]})}),(0,x.jsx)(d.Z,{className:Z.dialogContent,children:(0,x.jsxs)(h.Z,{variant:"outlined",fullWidth:!0,onClick:N,children:[(0,x.jsx)(m.Z,{className:Z.icon}),A?"\u06a9\u067e\u06cc \u0634\u062f":"\u06a9\u067e\u06cc \u06a9\u0631\u062f\u0646 \u0644\u06cc\u0646\u06a9"]})})]})]})}},88370:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(57839),r=(n(63008),n(76096)),a=n(17293),o=n(33065),c=(0,n(96648).Z)((function(e){return{container:{display:"inline-block"},star:{fontSize:20,marginLeft:e.spacing(-.5),marginBottom:e.spacing(-.5)},rotateStar:{transform:"scaleX(-1)"}}}),{flip:!1}),s=n(51520),l=n(85435),d=function(e){var t=e.star,n=e.className,d=e.starClassName,u=Math.floor(t),p=t-u,h=!1;(p>=.25&&p<=.75||p>=.75&&p<1)&&(h=!0);var m=Math.floor(5-u-(h?1:0)),f=c();return(0,l.jsxs)("div",{className:(0,s.default)(f.container,n),children:[u>0?(0,i.Z)(Array(u)).map((function(e,t){return(0,l.jsx)(r.Z,{className:(0,s.default)(f.star,d)},"full-".concat(t))})):null,h&&(0,l.jsx)(o.Z,{className:(0,s.default)(f.star,f.rotateStar,d)},"half-star"),m>0?(0,i.Z)(Array(m)).map((function(e,t){return(0,l.jsx)(a.Z,{className:(0,s.default)(f.star,d)},"empty-".concat(t))})):null]})}},48346:function(e,t,n){"use strict";n.d(t,{Z:function(){return i.Z}});var i=n(88370)},10473:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var i=n(62875),r=n(11471),a=n(57839),o=n(63008),c=n(32227),s=n(45717),l=n(24319),d=n(96648),u=n(85852),p=(0,d.Z)((function(e){return{textAlign:{textAlign:"center"},icon:{fontSize:21},contentSpacing:{padding:e.spacing(0,2,2,2)},paperPopper:{marginTop:e.spacing(),minWidth:270},room:{borderBottom:"1px solid ".concat(e.palette.divider),paddingBottom:e.spacing(1.5),userSelect:"none"},trashContainer:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:e.spacing(.5)},trashIcon:{marginBottom:e.spacing(-1.5),marginLeft:e.spacing(.4),cursor:"pointer"},roomsTitle:{color:e.palette.primary.main,marginTop:e.spacing(2),fontSize:14,fontWeight:"bold",paddingRight:2,paddingLeft:8,paddingBottom:4,borderBottom:"2px s
1olid ".concat(e.palette.primary.main)},addRemoveContainer:{display:"flex",alignItems:"center",justifyContent:"flex-end",width:"100%"},addRemoveBtn:{padding:e.spacing(.3),minWidth:0,background:e.palette.action.hover,color:e.palette.action.active},count:{display:"inline-block",margin:e.spacing(0,2),width:8,fontSize:14},addRoomsBtn:{marginTop:e.spacing(2),background:(0,u.lighten)(e.palette.primary.main,.95),"&:hover":{background:(0,u.lighten)(e.palette.primary.main,.95)}},selectContainer:{display:"flex",justifyContent:"space-between",alignItems:"center"},zIndex:{zIndex:2e3},roomsFooter:{borderTop:"1px solid ".concat(e.palette.divider),padding:e.spacing(2,1)}}}),{flip:!1}),h=n(3488),m=n(84434),f=n(94745),g=n(85054),v=n(41313),b=n(97223),x=n(34515),Z=n(41474),j=n(94778),w=n(69546),y=n(14970),C=n(88175),O=n(74357),A=n(65173),S=n(85435);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z=function(e){var t,n=e.value,i=e.onChange,r=e.open,d=e.onOpenChange,u=e.onConfirm,k=(0,o.useState)(!1),z=k[0],_=k[1],P=void 0!==r?r:z,E=function(e){d&&d(e),void 0===r&&_(e)},R=(0,h.d)(),T=(0,o.useRef)(null),L=p(),B=function(e,t){if(n)if("childAges"===e){var r=N(N({},n[t]),{},{childAges:[].concat((0,a.Z)(n[t].childAges),[3])});i([].concat((0,a.Z)(n.slice(0,t)),[r],(0,a.Z)(n.slice(t+1))))}else{var o=N(N({},n[t]),{},{adultCount:n[t].adultCount+1});i([].concat((0,a.Z)(n.slice(0,t)),[o],(0,a.Z)(n.slice(t+1))))}},M=function(e,t){if(n)if("childAges"===e){var r=N(N({},n[t]),{},{childAges:n[t].childAges.slice(0,-1)});i([].concat((0,a.Z)(n.slice(0,t)),[r],(0,a.Z)(n.slice(t+1))))}else{var o=N(N({},n[t]),{},{adultCount:n[t].adultCount-1});i([].concat((0,a.Z)(n.slice(0,t)),[o],(0,a.Z)(n.slice(t+1))))}},I=function(e,t,r){if(n){var o=N(N({},n[e]),{},{childAges:[].concat((0,a.Z)(n[e].childAges.slice(0,t)),[r],(0,a.Z)(n[e].childAges.slice(t+1)))});i([].concat((0,a.Z)(n.slice(0,e)),[o],(0,a.Z)(n.slice(e+1))))}},D=(n||[]).map((function(e){return e.adultCount+e.childAges.length})).reduce((function(e,t){return e+t}),0),H=(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:L.contentSpacing,children:[null===n||void 0===n?void 0:n.map((function(e,t){return(0,S.jsx)("div",{className:L.room,children:(0,S.jsxs)(b.Z,{container:!0,spacing:1,children:[(0,S.jsx)(b.Z,{item:!0,xs:12,children:(0,S.jsxs)("div",{className:L.trashContainer,children:[(0,S.jsxs)(x.Z,{className:L.roomsTitle,children:["\u0627\u062a\u0627\u0642 ",t+1]}),((null===n||void 0===n?void 0:n.length)||0)>1&&(0,S.jsx)(C.Z,{color:"action",className:L.trashIcon,onClick:function(){return function(e){n&&i([].concat((0,a.Z)(n.slice(0,e)),(0,a.Z)(n.slice(e+1))))}(t)}})]})}),(0,S.jsx)(b.Z,{item:!0,xs:12,children:(0,S.jsxs)(b.Z,{container:!0,justifyContent:"space-between",spacing:1,alignItems:"center",children:[(0,S.jsx)(b.Z,{item:!0,xs:6,children:(0,S.jsx)(x.Z,{children:"\u062a\u0639\u062f\u0627\u062f \u0628\u0632\u0631\u06af\u0633\u0627\u0644"})}),(0,S.jsx)(b.Z,{item:!0,xs:6,children:(0,S.jsxs)("div",{className:L.addRemoveContainer,children:[(0,S.jsx)(y.Z,{className:L.addRemoveBtn,color:"default",onClick:function(){return B("adultCount",t)},children:(0,S.jsx)(j.Z,{color:"inherit"})}),(0,S.jsx)("span",{className:L.count,children:e.adultCount}),(0,S.jsx)(y.Z,{className:L.addRemoveBtn,disabled:1===e.adultCount,onClick:function(){return M("adultCount",t)},children:(0,S.jsx)(w.Z,{color:"inherit"})})]})})]})}),(0,S.jsx)(b.Z,{item:!0,xs:12,children:(0,S.jsxs)(b.Z,{container:!0,justifyContent:"space-between",spacing:1,alignItems:"center",children:[(0,S.jsx)(b.Z,{item:!0,xs:6,children:(0,S.jsx)(x.Z,{children:"\u062a\u0639\u062f\u0627\u062f \u06a9\u0648\u062f\u06a9"})}),(0,S.jsx)(b.Z,{item:!0,xs:6,children:(0,S.jsxs)("div",{className:L.addRemoveContainer,children:[(0,S.jsx)(y.Z,{className:L.addRemoveBtn,color:"default",onClick:function(){return B("childAges",t)},children:(0,S.jsx)(j.Z,{color:"inherit"})}),(0,S.jsx)("span",{className:L.count,children:e.childAges.length}),(0,S.jsx)(y.Z,{className:L.addRemoveBtn,disabled:0===e.childAges.length,onClick:function(){return M("childAges",t)},children:(0,S.jsx)(w.Z,{color:"inherit"})})]})})]})}),e.childAges.length>0&&e.childAges.map((function(e,n){return(0,S.jsx)(b.Z,{item:!0,xs:12,children:(0,S.jsxs)("div",{className:L.selectContainer,children:[(0,S.jsxs)(x.Z,{children:["\u0633\u0646 \u06a9\u0648\u062f\u06a9 ",n+1]}),(0,S.jsx)(O.Z,{native:!0,value:e,disableUnderline:!0,onChange:function(e){var i=e.target.value;I(t,n,Number(i))},children:(0,a.Z)(Array(12)).map((function(e,t){return(0,S.jsx)("option",{value:t,children:0===t?"\u0632\u06cc\u0631 \u06cc\u06a9 \u0633\u0627\u0644":"".concat(t," \u0633\u0627\u0644")},t)}))})]})},n)}))]})},t)})),(0,S.jsxs)(Z.Z,{color:"primary",className:L.addRoomsBtn,onClick:function(){i([].concat((0,a.Z)(n||[]),[{adultCount:1,childAges:[]}]))},children:[(0,S.jsx)(j.Z,{}),"\u0627\u0641\u0632\u0648\u062f\u0646 \u0627\u062a\u0627\u0642"]})]}),(0,S.jsx)("div",{className:L.roomsFooter,children:(0,S.jsx)(A.Z,{variant:"outlined",color:"primary",onClick:function(){E(!1),null===u||void 0===u||u()},fullWidth:!0,children:"\u062a\u0627\u06cc\u06cc\u062f"})})]}),V=(0,S.jsxs)("div",{ref:T,children:[(0,S.jsx)(c.Z,{variant:"outlined",fullWidth:!0,value:n?"".concat(n.length," \u0627\u062a\u0627\u0642 - ").concat(D," \u0646\u0641\u0631"):void 0,InputProps:{classes:{input:L.textAlign},startAdornment:(0,S.jsx)(l.Z,{position:"start",children:(0,S.jsx)(s.Z,{className:L.icon,color:"action"})})},onFocus:function(){return E(!0)}}),R?(0,S.jsx)(f.Z,{open:P,closeHandler:function(){return E(!1)},title:"\u0645\u0633\u0627\u0641\u0631\u0627\u0646",children:H}):(0,S.jsx)(m.Z,{open:P,anchorEl:T.current,placement:"bottom",modifiers:{flip:{enabled:!1}},className:L.zIndex,children:(0,S.jsx)(g.Z,{className:L.paperPopper,style:{width:(null===(t=T.current)||void 0===t?void 0:t.offsetWidth)||0},children:H})})]});return R?V:(0,S.jsx)(v.Z,{onClickAway:function(){return E(!1)},children:V})},_=["meta","input"];function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?P(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R=function(e){var t=e.meta,n=e.input,i=(0,r.Z)(e,_),a=t.error,o=t.touched,c=n.value;return(0,S.jsx)(z,E(E(E({},i),n),{},{value:c||void 0,error:o&&!!a,helperText:o?a:void 0}))}},93552:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var i=n(62875),r=n(60866),a=n(3488),o=n(41474),c=n(99312),s=n(44627),l=n(96410),d=n(57352),u=n(15520),p=n(37618),h=n(94382),m=n(45596),f=n(51520),g=n(62440),v=n(63008),b=(0,n(96648).Z)((function(e){var t,n,r,a;return{content:{background:"#000",padding:e.spacing(0),height:"100%",display:"flex",justifyContent:"center","&:first-child":{paddingTop:0}},container:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},header:{position:"absolute",top:0,right:0,left:0,height:50,zIndex:5,display:"flex",alignItems:"center",transform:"translateY(0)",transition:"transform ".concat(e.transitions.duration.shorter,"ms ").concat(e.transitions.easing.easeInOut," 0ms")},background:{background:"rgba(26, 26, 26, 0.7)"},hide:{transform:"translateY(-50px)"},download:{display:"flex",alignItems:"center"},icon:{fontSize:22,color:e.palette.grey[600],cursor:"pointer",marginRight:e.spacing(2),transition:"all ".concat(e.transitions.duration.shorter,"ms ").concat(e.transitions.easing.easeInOut," 0ms"),"&:hover":{color:e.palette.common.white}},thumbs:(t={padding:e.spacing(0,1),position:"absolute",left:0,bottom:0,width:"100%",transition:"all ".concat(e.transitions.duration.shortest,"ms ").concat(e.transitions.easing.easeInOut," 0ms")},(0,i.Z)(t,e.breakpoints.up("md"),{padding:e.spacing(0,2),left:0,top:0,height:"100%",width:"unset"}),(0,i.Z)(t,e.breakpoints.down("md"),{paddingBottom:e.spacing(1)}),t),closeThumbnails:(n={},(0,i.Z)(n,e.breakpoints.up("md"),{transform:"translateX(-136px)"}),(0,i.Z)(n,e.breakpoints.down("md"),{transform:"translateY(112px)"}),n),listIcon:(0,i.Z)({position:"absolute",bottom:10,right:-10,cursor:"pointer",color:e.palette.grey[600],fontSize:22,transition:"all ".concat(e.transitions.duration.shorter,"ms ").concat(e.transitions.easing.easeInOut," 0ms"),"&:hover":{color:e.palette.common.white}},e.breakpoints.down("md"),{top:-30,right:10}),embla:{position:"relative",marginLeft:"auto",marginRight:"auto",height:"100%"},embla__viewport:{overflow:"hidden",width:"100%",height:"100%"},embla__container:(0,i.Z)({display:"flex",userSelect:"none",height:"100%"},e.breakpoints.up("md"),{flexDirection:"column"}),embla__slide:(0,i.Z)({position:"relative",paddingLeft:e.spacing(),flex:"0 0 135px",height:100,width:"auto"},e.breakpoints.up("md"),{flex:"0 0 90px",paddingTop:e.spacing(),paddingLeft:0,height:"auto",width:120}),embla__slide__inner:{position:"relative",overflow:"hidden",height:"100%",borderRadius:15,border:"2px solid ".concat(e.palette.grey[800]),filter:"brightness(50%)"},embla__slide__img:{position:"absolute",display:"block",top:"50%",left:"50%",width:"auto",height:"100%",minWidth:"100%",maxWidth:"none",transform:"translate(-50%, -50%)",objectFit:"cover",cursor:"pointer"},is_selected:{border:"2px solid ".concat(e.palette.common.white),filter:"brightness(100%)"},embla__button:{outline:0,cursor:"pointer",backgroundColor:"transparent",touchAction:"manipulation",position:"absolute",zIndex:1,top:"50%",transform:"translateY(-50%)",border:0,width:30,height:30,justifyContent:"center",alignItems:"center",fill:"#1bcacd",padding:0},embla__button__svg:{width:"100%",height:"100%"},main:(r={height:"100%",paddingBottom:e.spacing(21)},(0,i.Z)(r,e.breakpoints.up("md"),{paddingLeft:e.spacing(21),paddingBottom:0}),(0,i.Z)(r,e.breakpoints.down("md"),{paddingTop:e.spacing(10),paddingRight:e.spacing(1.5),paddingLeft:e.spacing(1.5)}),(0,i.Z)(r,"& .embla",(0,i.Z)({position:"relative",width:"80%",marginLeft:"auto",marginRight:"auto",height:"100%",display:"flex",alignItems:"center"},e.breakpoints.down("sm"),{width:"100%"}
1)),(0,i.Z)(r,"& .embla__viewport",{overflow:"hidden",width:"100%",height:"fit-content"}),(0,i.Z)(r,"& .embla__container",{display:"flex",alignItems:"center",userSelect:"none",marginLeft:-10,height:"100%"}),(0,i.Z)(r,"& .embla__slide",{paddingLeft:10,minWidth:"100%",position:"relative",height:"100%"}),(0,i.Z)(r,"& .embla__slide__inner",{position:"relative",overflow:"hidden",height:"100%"}),(0,i.Z)(r,"& .embla__slide__img",{display:"block",width:"100%",objectFit:"contain",cursor:"grab","&:active":{cursor:"grabbing"}}),r),btn:(a={position:"absolute",top:"calc(50% - 18px)",width:55,height:55,borderRadius:"100%",zIndex:10,background:"rgba(0,0,0,.4)",padding:e.spacing(.5,.1),minWidth:0},(0,i.Z)(a,e.breakpoints.down("sm"),{width:40,height:40}),(0,i.Z)(a,"&:hover",{background:"rgba(0,0,0,.4)"}),(0,i.Z)(a,"& span",{width:20,height:32}),(0,i.Z)(a,"& svg",{color:"#fff",fontSize:32}),a),prevBtn:{right:15},nextBtn:{left:15}}}),{flip:!1}),x=function(){var e=(0,v.useState)(!1),t=e[0],n=e[1];return[t,function(){var e=document.documentElement;t?(n(!1),document.exitFullscreen&&document.exitFullscreen()):(n(!0),e.requestFullscreen&&e.requestFullscreen())}]},Z=n(85435),j=(0,v.forwardRef)((function(e,t){var n,j=e.items,w=e.open,y=e.closeHandler,C=e.noFullScreen,O=(0,v.useState)(!1),A=O[0],S=O[1],k=(0,v.useState)(0),N=k[0],z=k[1],_=(0,v.useState)(!1),P=_[0],E=_[1],R=x(),T=(0,r.Z)(R,2),L=T[0],B=T[1],M=(0,v.useRef)(),I=(0,g.Z)({skipSnaps:!1,direction:"rtl",loop:!0}),D=(0,r.Z)(I,2),H=D[0],V=D[1],W=(0,g.Z)({breakpoints:{"(min-width: 1024px)":{axis:"y",align:"start"},"(max-width: 1025px)":{direction:"rtl"}},dragFree:!0,containScroll:"keepSnaps"}),U=(0,r.Z)(W,2),F=U[0],K=U[1],Y=(0,v.useCallback)((function(){V&&V.scrollPrev()}),[V]),J=(0,v.useCallback)((function(){V&&V.scrollNext()}),[V]),G=(0,v.useCallback)((function(e){V&&K&&V.scrollTo(e)}),[V,K]),Q=(0,a.d)(),q=(0,v.useCallback)((function(){V&&K&&(z(V.selectedScrollSnap()),K.scrollTo(V.selectedScrollSnap()))}),[V,K,z]);(0,v.useEffect)((function(){V&&(q(),V.on("select",q))}),[V,q]),(0,v.useEffect)((function(){var e,t=0,n=function(){S(!0),t+=1,e=window.setTimeout((function(){1===t&&S(!1),t-=1}),3e3)};return window.addEventListener("mousemove",n),function(){e&&clearTimeout(e),window.removeEventListener("mousemove",n)}}),[]);var X=b();return(0,v.useImperativeHandle)(t,(function(){return{embla:V,emblaThumbs:K,scrollTo:function(e,t){null===V||void 0===V||V.scrollTo(e,t),null===K||void 0===K||K.scrollTo(e,t)}}})),(0,Z.jsx)(c.Z,{fullScreen:!C||Q,fullWidth:C&&!Q,maxWidth:C&&!Q?"md":void 0,open:w,onClose:y,children:(0,Z.jsx)(s.Z,{className:X.content,ref:M,children:(0,Z.jsxs)("div",{className:X.container,children:[(0,Z.jsxs)("div",{"data-testid":"header",className:(0,f.default)(X.header,(n={},(0,i.Z)(n,X.hide,!1===A&&!C),(0,i.Z)(n,X.background,!C),n)),children:[(0,Z.jsx)(u.Z,{"data-testid":"closeBtn",className:X.icon,onClick:y}),L?(0,Z.jsx)(h.Z,{className:X.icon,onClick:B,"data-testid":"fullscreenExit"}):(0,Z.jsx)(m.Z,{className:X.icon,onClick:B,"data-testid":"fullscreenIcon"})]}),(0,Z.jsx)("div",{className:X.main,children:(0,Z.jsxs)("div",{className:"embla",children:[(0,Z.jsx)(o.Z,{className:(0,f.default)(X.prevBtn,X.btn),onClick:Y,role:"prev",children:(0,Z.jsx)(d.Z,{})}),(0,Z.jsx)(o.Z,{className:(0,f.default)(X.nextBtn,X.btn),onClick:J,role:"next",children:(0,Z.jsx)(l.Z,{})}),(0,Z.jsx)("div",{className:"embla__viewport",ref:H,children:(0,Z.jsx)("div",{className:"embla__container",children:j.map((function(e,t){return(0,Z.jsx)("div",{className:"embla__slide",children:(0,Z.jsx)("div",{className:"embla__slide__inner",children:(0,Z.jsx)("img",{className:"embla__slide__img",src:e.src,alt:e.alt,width:"100%",height:"100%"})})},t)}))})})]})}),(0,Z.jsxs)("div",{className:(0,f.default)(X.thumbs,(0,i.Z)({},X.closeThumbnails,P)),"data-testid":"thumbs",children:[(0,Z.jsx)(p.Z,{onClick:function(){return E(!P)},className:X.listIcon,"data-testid":"listBtn"}),(0,Z.jsx)("div",{className:X.embla,children:(0,Z.jsx)("div",{className:X.embla__viewport,ref:F,children:(0,Z.jsx)("div",{className:X.embla__container,children:j.map((function(e,t){return(0,Z.jsx)("div",{className:X.embla__slide,children:(0,Z.jsx)("div",{className:(0,f.default)(X.embla__slide__inner,(0,i.Z)({},X.is_selected,t===N)),children:(0,Z.jsx)("img",{className:X.embla__slide__img,src:e.src,alt:e.alt,onClick:function(){return G(t)},width:"100%",height:"100%"})})},t)}))})})})]})]})})})}))},38852:function(e,t,n){"use strict";n.d(t,{Hx:function(){return r},dU:function(){return a},HD:function(){return i}});n(81418);var i=function(e){var t=unescape(encodeURIComponent(JSON.stringify(e)));return window.btoa(t)},r=function(e){return JSON.parse(decodeURIComponent(escape(function(e){return window.atob(e)}(e))))},a=function(e){try{return r(e)}catch(t){return}}},96580:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tour-2",function(){return n(85278)}])},18016:function(e,t){"use strict";t.Z={src:"https://cdn.karnaval.ir/_next/static/media/telegram.b18b3e3a.png",height:24,width:24,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA7klEQVR42g3DPS9DURjA8f9z+ua20sRQg6SNRKO9BhKrYPZNDHwOuzuZGjGIqbutQ1nYbkIQQ019cdNQtKf3nEd/yU8AwptREzQC2QsM5OA+8XoCPMnmdT/MCJ2iSGWmEFsPwFZehnPlwGTx0cS5yuO3tXGacrae43I7sBP1lYy6SGpXH78bBRMcN0rUVnKLebzzVNt9dgvmz/RSR70olJeE4U/K2nKWXmJh7jDq1YQZ7bZHU45uB/YiHvP+OeUtmVnUIeq6Um29NgORTtmw+mAVFHbywtgzKAiHAlBvvTRS5TwQ9g3ol+euJJwCz/8Pc2bYFK/7sAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},92931:function(e,t){"use strict";t.Z={src:"https://cdn.karnaval.ir/_next/static/media/whatsapp.c95c9455.png",height:24,width:24,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA7klEQVR42h2Nu04
1CYRSE521c34JggWLjNSH6ElKgJtpYWBltwF1AZRVtjL8S6HR3DdcC2AChgRJCBT0kWw3n35NMMpnvZAb6tr+jBopwUMBKS7y3o6KbIoFiJFgkyoe0e88sDmyeVo6ps7jaMiDGTZQP2JzVgtvGDa+8C1YnXnBSOWLYChurbDfDn/EXC/0n4g68/r/ka/+Fei58yPkmU+4ZrU6aH8M3Wn6aed+isCWQh2O1M2xNG8G5m6QafbI1qwf7pV3iHX/APYyUm5xn24/MdU2a0rJXims4j6mIgfAesCFNv3pO1wp0NIypCNZ3XYVu7K9/8AAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}}},function(e){e.O(0,[3883,2567,2429,4543,944,1408,1071,9552,8881,2303,6966,135,2440,9859,9267,2951,3108,2452,6827,3886,5435,9830,5516,7278,9356,7767,7299,6734,9,7823,4683,6942,6398,2535,7827,6206,2608,2316,82,3766,5105,5792,9834,7292,6163,9774,2888,179],(function(){return t=96580,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.