1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8998],{65085:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/traffic/boat/components/Flight/cks",function(){return n(92909)}])},92909:function(e,t,n){"use strict";n.r(t);var r=n(85893),i=n(67294),a=n(8566),o=n(6088),c=n(49414),l=n(29549),s=n.n(l),d=n(27484),p=n.n(d),u=n(2223),f=n(11163);function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(l){i=!0,a=l}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var m=a.Z.Item;t.default=function(e){e.productData,e.cid;var t=e.cury,n=e.useDate,l=e.priceData,d=e.defaultOpenKey,h=(e.isActive,e.startTime),x=e.from,v=e.to,g=e.fromCode,_=e.toCode,b=e.onBookCallback,O=(0,i.useState)(""),j=(O[0],O[1],(0,i.useState)(!1)),E=(j[0],j[1],(0,i.useState)(0)),N=(E[0],E[1],(0,i.useState)({})),P=(N[0],N[1],(0,i.useState)("")),w=P[0],I=P[1],C=((0,f.useRouter)(),y((0,u.Z)("bookParam","{}"),2));return C[0],C[1],(0,i.useEffect)((function(){I(p()("1970-01-01 "+h,"HH:mm").add(60,"minute").format("HH:mm"))}),[h]),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(a.Z,{lazyload:!0,destroyOnHide:!0,expandIconPosition:"right",style:{maxWidth:1180,borderTop:"none"},expandIcon:(0,r.jsx)(c.Z,{style:{fontSize:"20px"}}),defaultActiveKey:d,children:(0,r.jsx)(m,{name:h,style:{backgroundColor:"#fff"},destroyOnHide:!0,header:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:s()["price-type-title"],children:[(0,r.jsxs)("div",{className:s()["price-type-title-left"],children:[(0,r.jsx)("img",{width:50,height:50,src:"https://m.citsmacao.com/m/static/img/cks.30d47f3d.png"}),(0,r.jsxs)("div",{style:{marginLeft:15},children:[(0,r.jsx)("div",{children:h}),(0,r.jsx)("div",{className:s()["exp-label"],children:x})]})]}),(0,r.jsxs)("div",{className:s().exp,children:[(0,r.jsx)("div",{children:"\u7ea61\u6642"}),(0,r.jsx)("img",{style:{width:"100px",height:5},src:"http://img.tongyue.com/fromto.png"})]}),(0,r.jsx)("div",{className:s()["price-type-title-left"],children:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:w}),(0,r.jsx)("div",{className:s()["exp-label"],children:v})]})}),(0,r.jsx)("div",{className:s()["price-type-btn"],children:(0,r.jsxs)("div",{className:s().price,children:[(0,r.jsx)("span",{className:s()["price-type-currency"],children:t}),(0,r.jsx)("span",{className:s()["price-num"],children:l.price[117].audit}),(0,r.jsx)("span",{className:s()["price-type-currency"],children:"\u8d77"})]})})]})}),children:(0,r.jsx)("div",{className:s().flex,children:function(){var e=function(e){t.push((0,r.jsxs)("div",{className:s()["flight-item"],children:[(0,r.jsx)("div",{className:s()["flight-title"],children:l.price[e].seatRankName}),(0,r.jsxs)("div",{className:s()["price-type-btn"],children:[(0,r.jsx)("div",{className:s().price,children:l.price[e].audit}),(0,r.jsx)(o.Z,{type:"primary",status:"warning",onClick:function(){var t;(t=l.price[e]).from=x,t.to=v,t.fromCode=g,t.toCode=_,t.useDate=n,t.startTime=h,t.endTime=w,b(t)},children:"\u9884\u8ba2"})]})]},e))},t=[];for(var i in l.price)e(i);return t}()})})})})}},8566:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(67294),i=n(40980),a=n(58324),o=n(98885),c=n(9617),l=n(10515),s=n(98342),d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function u(e,t){var n,i,u,f,y,m,h=(0,r.useContext)(c.E).getPrefixCls,x=(0,r.useRef)(),v=(0,r.useContext)(P),g=(0,s.Z)(),_=e.children,b=e.name,O=e.header,j=e.className,E=e.style,N=e.contentStyle,w=e.extra,I=e.disabled,C=e.destroyOnHide,Z=e.expandIcon,k=e.showExpandIcon,H=void 0===k||k,S=p(e,["children","name","header","className","style","contentStyle","extra","disabled","destroyOnHide","expandIcon","showExpandIcon"]),T=h("collapse-item"),K=(null===(m=v.activeKeys)||void 0===m?void 0:m.indexOf(b))>-1,R=H?"expandIcon"in e?Z:v.expandIcon:null,z=function(e,t){if(!I){var n=v.triggerRegion;(t===("icon"===n?0:"header"===n?1:2)||"header"===n&&[0,1].includes(t))&&v.onToggle(b,e)}};return r.createElement("div",d({ref:t},S,{className:(0,a.Z)(T,(n={},n[T+"-active"]=K,n[T+"-no-icon"]=!R,n[T+"-disabled"]=I,n),j),style:E}),r.createElement("div",d({role:"button","aria-disabled":I,"aria-expanded":K,"data-active-region":v.triggerRegion,tabIndex:I?-1:0,className:(0,a.Z)(T+"-header",T+"-header-"+v.expandIconPosition,(i={},i[T+"-header-disabled"]=I,i)),onClick:function(e){return z(e,2)}},g({onPressEnter:function(e){!I&&v.onToggle(b,e)}})),R&&r.createElement(l.Z,{prefix:T,disabled:I,className:(0,a.Z)((u
1={},u[T+"-icon-hover-right"]="right"===v.expandIconPosition,u[T+"-header-icon-right"]="right"===v.expandIconPosition,u)),onClick:function(e){return z(e,0)}},r.createElement("span",{className:(0,a.Z)(T+"-header-icon",(f={},f[T+"-header-icon-down"]=K,f))},R)),r.createElement("div",{className:T+"-header-title",onClick:function(e){return z(e,1)}},O),w&&r.createElement("div",{className:T+"-header-extra",onClick:function(e){e.stopPropagation()}},w)),r.createElement(o.ZP,{nodeRef:x,in:K,addEndListener:function(e){var t;null===(t=x.current)||void 0===t||t.addEventListener("transitionend",e,!1)},mountOnEnter:"destroyOnHide"in e?C:v.destroyOnHide||v.lazyload,unmountOnExit:"destroyOnHide"in e?C:v.destroyOnHide,onEnter:function(){var e=x.current;e&&(e.style.height="0",e.style.display="block")},onEntering:function(){var e=x.current;e&&(e.style.height=e.scrollHeight+"px")},onEntered:function(){var e=x.current;e&&(e.style.height="auto")},onExit:function(){var e=x.current;e&&(e.style.display="block",e.style.height=e.offsetHeight+"px",e.offsetHeight)},onExiting:function(){var e=x.current;e&&(e.style.height="0")},onExited:function(){var e=x.current;e&&(e.style.display="none",e.style.height="auto")}},r.createElement("div",{role:"region",className:(0,a.Z)(T+"-content",(y={},y[T+"-content-expanded"]=K,y)),ref:x},r.createElement("div",{style:N,className:T+"-content-box"},_))))}var f=r.forwardRef(u);f.displayName="CollapseItem";var y=f,m=n(34378),h=n(62545),x=n(69587),v=n(80080),g=n(26051),_=function(){return(_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},O=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(c){i={error:c}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},j=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},E=function(e,t){var n=[].concat(e);return t?n.slice(0,1):n},N={bordered:!0,lazyload:!0,expandIconPosition:"left"},P=(0,r.createContext)({expandIconPosition:"left",expandIcon:r.createElement(h.Z,null),activeKeys:[],onToggle:function(){}});function w(e,t){var n,o=(0,r.useContext)(c.E),l=o.getPrefixCls,s=o.componentConfig,d=o.rtl,p=(0,g.Z)(e,N,null===s||void 0===s?void 0:s.Collapse),u=O((0,x.Z)([],{defaultValue:"defaultActiveKey"in p?E(p.defaultActiveKey,p.accordion):void 0,value:"activeKey"in p?E(p.activeKey,p.accordion):void 0}),2),f=u[0],y=u[1],w=p.children,I=p.className,C=p.style,Z=p.bordered,k=p.lazyload,H=p.expandIcon,S=p.expandIconPosition,T=p.destroyOnHide,K=p.accordion,R=p.triggerRegion,z=p.onChange,A=b(p,["children","className","style","bordered","lazyload","expandIcon","expandIconPosition","destroyOnHide","accordion","triggerRegion","onChange"]),D=l("collapse");return r.createElement(P.Provider,{value:{activeKeys:f,triggerRegion:R,lazyload:k,destroyOnHide:T,expandIconPosition:S,onToggle:function(e,t){var n=j([],O(f||[]),!1),r=null===f||void 0===f?void 0:f.indexOf(e);r>-1?n.splice(r,1):K?n=[e]:n.push(e),"activeKey"in p||y(n),(0,i.mf)(z)&&z(e,n,t)},expandIcon:"expandIcon"in p?H:"right"===S?r.createElement(v.Z,null):r.createElement(h.Z,null)}},r.createElement("div",_({ref:t},(0,m.Z)(A,["activeKey","defaultActiveKey"]),{className:(0,a.Z)(D,D+"-"+(Z?"border":"borderless"),(n={},n[D+"-rtl"]=d,n),I),style:C}),w))}var I=r.forwardRef(w);I.displayName="Collapse",I.Item=y;var C=I},49414:function(e,t,n){"use strict";var r=n(87462),i=n(4942),a=n(67294),o=n(39146);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 l(e){for(var t=arguments,n=function(n){var r=null!=t[n]?t[n]:{};
1n%2?c(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))},r=1;r<arguments.length;r++)n(r);return e}function s(e,t){var n=(0,a.useContext)(o.P).prefixCls,i=void 0===n?"arco":n,c=e.spin,s=e.className,d=l(l({"aria-hidden":!0,focusable:!1,ref:t},e),{},{className:"".concat(s?s+" ":"").concat(i,"-icon ").concat(i,"-icon-left-circle")});return c&&(d.className="".concat(d.className," ").concat(i,"-icon-loading")),delete d.spin,delete d.isIcon,a.createElement("svg",(0,r.Z)({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},d),a.createElement("circle",{cx:"24",cy:"24",r:"18"}),a.createElement("path",{d:"M28.485 32.485 20 24l8.485-8.485"}))}var d=a.forwardRef(s);d.defaultProps={isIcon:!0},d.displayName="IconLeftCircle",t.Z=d},29549:function(e){e.exports={"price-type-list":"index_price-type-list__M4xTO",price:"index_price__zzf_K","price-num":"index_price-num__VTchJ","price-type-currency":"index_price-type-currency__q1G4L",bottom20:"index_bottom20__tvIMH",cnt:"index_cnt__mgMlG",active:"index_active__WS4sV","price-type-name":"index_price-type-name__31D0i","price-type-btn":"index_price-type-btn__vT4bk","price-type-amount":"index_price-type-amount__rF24S","calder-day":"index_calder-day__45vnm","calder-price":"index_calder-price__oV5HI","calder-no-price":"index_calder-no-price__z_5na",no:"index_no__qh1TK","price-type-title":"index_price-type-title__meLIh","price-type-message":"index_price-type-message__Jqo6V",flex:"index_flex__vlbZ3",label:"index_label__DVltj","price-type-title-left":"index_price-type-title-left__ml7Bn",exp:"index_exp___QH_s","exp-label":"index_exp-label__Eqa5Q","flight-item":"index_flight-item__y98kA"}}},function(e){e.O(0,[9774,2888,179],(function(){return t=65085,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.