1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6710],{44414:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return Ke},default:function(){return He}});var i,a=n(59499),o=n(90116),r=n(67294),s=n(46670),c=n(5152),l=n(33320),d=n(27929),u=n(45578),v=n(8026),f=n(16678),g=n(69188),p=n(69277),m=n.n(p),h=n(85893);!function(e){e[e.Bet=0]="Bet",e[e.First=1]="First"}(i||(i={}));var _,x=function(e){var t=e.index,i=e.item,a=e.giftList,o=e.onClick,s=e.giftCardLoading,c=e.clickIndex,l=i.giftName,p=i.giftMoney,_=i.imgUrls,x=i.giftTotalNum,A=i.giftReceivedNum,b=i.giftProperties,y=i.giftAloneSwitch,j=void 0===y?1:y,I=(0,r.useState)(0),w=I[0],N=I[1],C=Number(x)-Number(A)===0;return(0,r.useEffect)((function(){N(0)}),[a]),(0,h.jsxs)("div",{style:{marginRight:(t+1)%4===0?"0":"32px"},className:m().exchangeCard,children:[(0,h.jsx)(d.Z,{className:m().selectedImage,src:null!==_&&void 0!==_&&_.length?_[w]:""}),(0,h.jsx)("div",{className:m().imageListView,children:null===_||void 0===_?void 0:_.map((function(e,t){return(0,h.jsx)("div",{className:(0,v.z)(m().listIcon,t===w?m().imageSelected:m().imageNormal),style:8===(null===_||void 0===_?void 0:_.length)?{marginRight:"3.5px"}:{},children:(0,h.jsx)(d.Z,{onClick:function(){N(t)},src:e,width:28,height:28,objectFit:"fill"},t)},t)}))}),(0,h.jsxs)("span",{className:m().name,children:[l,b&&b.length>0&&b[w]?"-".concat(b[w]):""]}),(0,h.jsxs)(u.Z,{loading:s&&t===c,onClick:function(){s||C||((0,g.j)("\u8c6a\u793c-\u70b9\u51fb\u7acb\u5373\u5151\u6362\u6309\u94ae",{"\u793c\u54c1\u540d\u79f0":l}),o(i,w))},className:"".concat(m().exchangeBtn," ").concat(s||C?m().disabled:""),children:["\u5151\u6362"," ",1===Number(j)&&(0,h.jsxs)("span",{children:["(\u4f59",Number(x)-Number(A),")"]})]}),(0,h.jsxs)("span",{className:m().price,children:[(0,h.jsx)("img",{src:n(3967),alt:""}),(0,f.lb)(p)]})]})},A=n(88188),b=n(57405),y=n.n(b),j=n(50029),I=n(87794),w=n.n(I),N=n(82077),C=n.n(N),T=n(11163);!function(e){e[e.GIFT=1]="GIFT",e[e.MONTH=2]="MONTH",e[e.FRIEND=3]="FRIEND"}(_||(_={}));var O={1:"\u8bf7\u786e\u8ba4\u662f\u5426\u7533\u8bf7\u9996\u5b58\u8c6a\u793c\u6d3b\u52a8",2:"\u8bf7\u786e\u8ba4\u662f\u5426\u7533\u8bf7\u6bcf\u6708\u5145\u503c\u6d3b\u52a8",3:"\u8bf7\u786e\u8ba4\u662f\u5426\u7533\u8bf7\u9080\u8bf7\u597d\u53cb-\u5b58\u6b3e\u8fd4\u5229\u6d3b\u52a8"};var S=function(e){var t=e.type,i=void 0===t?1:t,a=e.flow,o=e.msg,s=e.transferMoney,c=e.lottery,l=e.venueZhName,v=e.exclusiveList,f=void 0===v?[]:v,g=e.isModalVisible,p=e.currentActiveType,m=e.title,x=e.footerBtn,A=e.onClose,b=e.onOk,y=e.confirmLoading,I=e.maskClosable,N=void 0!==I&&I,S=e.tips,M=null===f||void 0===f?void 0:f.some((function(e){return e.isAlreadyJoin})),E=(0,r.useState)(!1),P=E[0],B=E[1],k=(0,h.jsx)("div",{className:C().desc,children:(0,h.jsxs)("div",{children:["\u606d\u559c\u60a8\u5df2\u7533\u8bf7\u6210\u529f",(0,h.jsxs)("div",{children:["\u6d41\u6c34\u8fbe\u5230",(0,h.jsxs)("span",{className:C().flow,children:[" ",a," "]}),"\u5143\u5373\u53ef\u8f6c\u51fa"]})]})}),F=(0,h.jsxs)("div",{className:C().desc,children:[(0,h.jsx)("div",{className:C().notEnjoy,children:M?"\u7531\u4e8e\u60a8\u5df2\u53c2\u4e0e\u8fc7\u5176\u4e2d\u4e00\u4e2a\u6d3b\u52a8\uff0c\u56e0\u6b64\u65e0\u6cd5\u518d\u7533\u8bf7\uff1a":"\u4ee5\u4e0b\u6d3b\u52a8\u4e0d\u5171\u4eab\uff0c\u60a8\u53ea\u80fd\u53c2\u4e0e\u5176\u4e2d\u4e00\u4e2a\u6d3b\u52a8\uff1a"}),(0,h.jsx)("div",{className:C().exclusiveWrap,children:f.map((function(e,t){var n=e.isAlreadyJoin?"".concat(C().exclusiveItem," ").concat(C().off):"".concat(C().exclusiveItem);return(0,h.jsxs)("div",{onClick:function(){e.isAlreadyJoin||function(e,t,n){if(n!==e)switch(e){case _.GIFT:return void T.default.push("/activity/bettingGift/".concat(t));case _.MONTH:return void T.default.push("/activity/monthMoney/".concat(t));case _.FRIEND:return void T.default.push("/activity/friendInvitation");default:T.default.push("/app/home")}}(e.activityType,e.activityId,p)},className:n,children:[t+1,". ","".concat(e.activityName).concat(e.isAlreadyJoin?"\uff08\u5df2\u53c2\u4e0e\u8fc7\uff09":"")]})}))}),!M&&(0,h.jsx)("div",{className:C().joinConfirmInfo,children:O[p||1]})]}),D=(0,h.jsx)("div",{});1===i&&(D=(0,h.jsxs)("div",{className:C().flex,children:[(0,h.jsx)(d.Z,{src:n(32345),width:18,height:18,className:C().tipImg,style:{marginRight:8}}),o]}));var L=2===i&&!M||3===i;(2===i&&(D=F),3===i)&&(D=(0,h.jsxs)("div",{className:C().confirmApplyContent,children:[(0,h.jsxs)("div",{children:["\u9009\u62e9\u5
173a\u9986:",(0,h.jsx)("span",{children:l})]}),(0,h.jsxs)("div",{children:["\u7533\u8bf7\u91d1\u989d:",(0,h.jsxs)("span",{children:[s,"\u5143"]})]}),(0,h.jsxs)("div",{children:["\u53ef\u5f97\u5f69\u91d1:",(0,h.jsxs)("span",{children:[c,"\u5143"]})]}),(0,h.jsxs)("div",{children:["\u6d41\u6c34\u8981\u6c42:",(0,h.jsxs)("span",{children:[a,"\u5143"]})]})]}));4===i&&(D=k),0===i&&(D=null===e||void 0===e?void 0:e.content);var Z=function(){var e=(0,j.Z)(w().mark((function e(t){return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:B(!0),setTimeout((function(){t(),B(!1)}),300);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return g?(0,h.jsx)("div",{className:C().mask,onClick:function(){N&&Z(A)},children:(0,h.jsxs)("div",{className:"".concat(C().content," ").concat(P&&C().animation),children:[(0,h.jsxs)("div",{className:C().head,children:[(0,h.jsx)("div",{className:C().title,children:m||"\u6e29\u99a8\u63d0\u793a"}),(0,h.jsx)("img",{onClick:function(){return Z(A)},src:n(52309),alt:""})]}),(0,h.jsx)("div",{className:C().desc,children:D}),(0,h.jsx)("div",{className:C().footer,children:0===i?null===x||void 0===x?void 0:x.map((function(e){return(0,h.jsx)(u.Z,{loading:e.loading||!1,onClick:function(){return Z(null===e||void 0===e?void 0:e.onClick)},className:C().btn,children:e.text})})):(0,h.jsxs)(h.Fragment,{children:[L&&(0,h.jsx)("div",{onClick:function(){return Z(A)},className:C().btn,children:"\u53d6\u6d88"}),(0,h.jsx)(u.Z,{loading:y,onClick:function(){return Z(b)},className:C().btn,children:"\u786e\u5b9a"})]})}),S?(0,h.jsx)("div",{className:C().tips,children:S}):null]})}):null},M=n(34155);function E(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 P(e){var t=e.exchangeItem,n=e.onCancel,i=e.onSubmit,o=e.visible,r=e.type,s=e.applyLoading,c=e.onChangeIsAll,l=t.giftName,d=t.address,u=t.province,f=t.receiver,g=t.city,p=t.phone,m=t.district,_=t.giftProperty,x=e.tabName,b="";return"3"===M.env.SITE_ID&&(b=r===A.mr.First?"":"\u6295\u6ce8\u8c6a\u793c"),(0,h.jsx)(S,{title:"\u786e\u8ba4\u5151\u6362\u4fe1\u606f",content:(0,h.jsxs)("div",{className:y().confirmModal,children:[(0,h.jsxs)("div",{className:y().line1,children:[(0,h.jsx)("p",{className:y().lineTitle,children:"\u5151\u6362\u5546\u54c1"}),(0,h.jsx)("span",{className:(0,v.z)(y().content,y().ob_content),children:_?l+"/"+_:l})]}),(0,h.jsxs)("div",{className:y().line1,children:[(0,h.jsx)("p",{className:y().lineTitle,children:"\u6536\u4ef6\u4eba"}),(0,h.jsx)("span",{className:y().content,children:f})]}),(0,h.jsxs)("div",{className:y().line1,children:[(0,h.jsx)("p",{className:y().lineTitle,children:"\u8054\u7cfb\u7535\u8bdd"}),(0,h.jsx)("span",{className:y().content,children:p})]}),(0,h.jsxs)("div",{className:y().line1,children:[(0,h.jsx)("p",{className:y().lineTitle,children:"\u6536\u8d27\u5730\u5740"}),(0,h.jsx)("span",{className:y().content,children:u+g+m+d})]})]}),tips:r===A.mr.First?"\u6e29\u99a8\u63d0\u793a\uff1a\u4ec5\u53ef\u5151\u63621\u6b21".concat(x,"\uff0c\u786e\u5b9a\u540e\u4e0d\u53ef\u4fee\u6539"):"\u6e29\u99a8\u63d0\u793a\uff1a\u5f53\u6708\u4ec5\u53ef\u5151\u6362\u4e00\u6b21".concat(x).concat(b,"\uff0c\u786e\u5b9a\u540e\u4e0d\u53ef\u4fee\u6539"),type:0,isModalVisible:o,onClose:n,footerBtn:[{text:"\u53d6\u6d88",onClick:n},{text:"\u786e\u5b9a",onClick:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t);i(e),c()},loading:s}]})}var B=function(e){return e.exchangeItem.category===A.RU.virtual?function(e){var t=e.visible,n=e.exchangeItem,i=e.type,a=e.onCancel,o=e.onSubmit,r=e.tabName,s=e.applyLoading,c=n.giftProperty,l=n.giftName,d=i===A.mr.First?"":"\u5f53\u6708",u="";"3"===M.env.SITE_ID&&(u=i===A.mr.First?"":"\u6295\u6ce8\u8c6a\u793c");var v="3"===M.env.SITE_ID&&i===A.mr.First?"\u793c\u54c1":"",f=c?"-".concat(c):"";return(0,h.jsx)(S,{title:"\u786e\u8ba4\u5151\u6362\u4fe1\u606f",type:0,content:(0,h.jsx)(h.Fragment,{children:(0,h.jsx)("div",{className:y().line1,children:(0,h.jsx)("span",{className:y().content,children:"\u60a8\u6b63\u5728\u7533\u8bf7\u5151\u6362\uff1a".concat(l).concat(f,"\uff0c").concat(d,"\u4ec5\u53ef\u5151\u6362\u4e00\u6b21\u3010").concat(r).concat(u,"\u3011").concat(v,"\uff0c\u786e\u5b9a\u540e\u4e0d\u53ef\u4fee\u6539\u3002")})})}),isModalVisible:t,onClose:a,footerBtn:[{text:"\u53d6\u6d88",onClick:a},{text:"\u786e\u5b9a",onClick:function(){o(n)},loading:s}]})}(e):P(e)},k=n(92777),F=n(82262),D=n(10748),L=n(45959),Z=n(63553),G=n(37247),U=n(17674),Q=n(87541),R=n.n(Q),V=n(96638);var z=function(e){var t=e.visible,n=e.giftItem,i=e.extraDate,a=e.onOK,o=e.onClose,s=e.selectIndex,c=Math.floor(s/3)+1,l=(0,V.Z)({showImageIndex:s,showImagePage:c}),u=(0,U.Z)(l,2),f=u[0],g=u[1],p=f.showImageIndex,m=f.showImagePage;return(0,h.jsx)(S,{footerBtn:[{text:"\u53d6\u6d88",onClick:o},{text:"\u786e\u5b9a",onClick:function(){var e,t=i.giftType,o=i.activityTabTitle,r={selectIndex:s,giftId:n.id,category:n.category,giftName:n.giftName,giftProperty:n.giftProperties&&null!==n&&void 0!==n&&null!==(e=n.giftProperties)&&void 0!==e&&e.length?n.giftProperties[p]:"",giftType:t,activityTabTitle:o};document.body.style.overflow="",a(r)}}],type:0,title:"\u5151\u6362\u8c6a\u793c",content:(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("div",{className:R().content,children:[(0,h.jsx)(d.Z,{className:R().show,src:n.imgUrls[p]}),(0,h.jsxs)("div",{children:[(0,h.jsx)("span",{className:R().name,children:n.giftName}),(0,h.jsx)("div",{className:R().imageListCont,children:function(){var e;return(0,h.jsx)(r.Fragment,{children:null===n||void 0===n||null===(e=n.giftProperties)||void 0===e?void 0:e.map((function(e,t){return(0,h.jsx)("div",{className:(0,v.z)(R().imageListItem,3*(m-1)+t===p?R().imgSelected:""),onClick:function(){g({showImageIndex:3*(m-1)+t})},children:e})}))})}()})]})]})}),isModalVisible:t,onClose:o})},J=n(39567),Y=n(78985),K=n.n(Y);var H=function(e){var t=e.visible,n=e.className;return(0,h.jsx)(r.Fragment,{children:t?(0,h.jsx)("div",{className:K().mask+" morty",children:(0,h.jsx)("div",{className:"".concat(K().maskContent," ").concat(n),children:e.children})}):null})},X=n(59021),W=n(88654),q=n.n(W),$=n(52227),ee=n(18159),te=n.n(ee);
1function ne(e){var t=e.value,n=e.onChange;return(0,h.jsxs)("div",{className:te().inputContainer,children:[(0,h.jsx)("input",{type:"text",required:!0,placeholder:" ",maxLength:50,value:t,onChange:function(e){n&&n(e.target.value)}}),(0,h.jsx)("label",{htmlFor:"address",children:"\u8bf7\u8f93\u5165\u8be6\u7ec6\u5730\u5740"})]})}var ie=n(95938),ae=n.n(ie),oe=n(94184),re=n.n(oe);function se(e){var t,n,i,o=e.onChange,s=e.placeholder,c=void 0===s?"\u8bf7\u9009\u62e9\u6536\u8d27\u5730\u533a":s,l=(0,r.useState)(!1),d=l[0],u=l[1],v=(0,r.useState)(0),f=v[0],g=v[1],p=(0,r.useState)(null),m=p[0],_=p[1],x=(0,r.useState)(null),A=x[0],b=x[1],y=(0,r.useState)(null),j=y[0],I=y[1],w=(0,r.useRef)(null),N=m&&(null===(t=X.Z.find((function(e){return e.value===m.value})))||void 0===t?void 0:t.children)||[],C=A&&m&&(null===(n=X.Z.find((function(e){return e.value===m.value})))||void 0===n||null===(i=n.children.find((function(e){return e.value===A.value})))||void 0===i?void 0:i.children)||[];(0,r.useEffect)((function(){var e=function(e){w.current&&!w.current.contains(e.target)&&u(!1)};return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}}),[]);return(0,h.jsxs)("div",{className:ae().cascadingDropdown,ref:w,children:[(0,h.jsxs)("button",{className:ae().dropdownButton,onClick:function(){u(!d)},"aria-haspopup":"true","aria-expanded":d,children:[(0,h.jsx)("div",{className:m?ae().selectedText:ae().placeholderText,children:j?"".concat(null===m||void 0===m?void 0:m.label,"/").concat(null===A||void 0===A?void 0:A.label,"/").concat(j.label):A?"".concat(null===m||void 0===m?void 0:m.label,"/").concat(A.label):m?m.label:c}),(0,h.jsx)("div",{className:re()(ae().dropdownIcon,(0,a.Z)({},ae().rotate,d))})]}),d&&(0,h.jsxs)("div",{className:ae().dropdownPanel,children:[(0,h.jsxs)("div",{className:ae().tabsList,children:[(0,h.jsx)("button",{className:"".concat(ae().tabButton," ").concat(0===f?ae().activeTab:""),onClick:function(){return g(0)},disabled:0===f,children:"\u7701\u4efd"}),(0,h.jsx)("button",{className:"".concat(ae().tabButton," ").concat(1===f?ae().activeTab:""),onClick:function(){return g(1)},disabled:!m||1===f,children:"\u57ce\u5e02"}),(0,h.jsx)("button",{className:"".concat(ae().tabButton," ").concat(2===f?ae().activeTab:""),onClick:function(){return g(2)},disabled:!A||2===f,children:"\u533a\u53bf"})]}),(0,h.jsxs)("div",{className:ae().tabContent,children:[0===f&&(0,h.jsx)("ul",{className:ae().optionsList,children:X.Z.map((function(e){return(0,h.jsx)("li",{className:"".concat(ae().optionItem," ").concat((null===m||void 0===m?void 0:m.value)===e.value?ae().selectedItem:""),onClick:function(){return function(e){_({value:e.value,label:e.label}),b(null),I(null),g(1),o&&o({province:{value:e.value,label:e.label},city:null,district:null})}(e)},children:e.label},e.value)}))}),1===f&&(0,h.jsx)("ul",{className:ae().optionsList,children:N.map((function(e){return(0,h.jsx)("li",{className:"".concat(ae().optionItem," ").concat((null===A||void 0===A?void 0:A.value)===e.value?ae().selectedItem:""),onClick:function(){return function(e){b({value:e.value,label:e.label}),I(null),g(2),o&&o({province:m,city:{value:e.value,label:e.label},district:null})}(e)},children:e.label},e.value)}))}),2===f&&(0,h.jsx)("ul",{className:ae().optionsList,children:C.map((function(e){return(0,h.jsx)("li",{className:"".concat(ae().optionItem," ").concat((null===j||void 0===j?void 0:j.value)===e.value?ae().selectedItem:""),onClick:function(){return function(e){I({value:e.value,label:e.label}),u(!1),o&&o({province:m,city:A,district:{value:e.value,label:e.label}})}(e)},children:e.label},e.value)}))})]})]})]})}function ce(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 le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function de(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=(0,G.Z)(e);if(t){var a=(0,G.Z)(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return(0,Z.Z)(this,n)}}var ue={showImageIndex:0,totalPage:0,showImagePage:1,receiver:"",phone:"",province:"",provinceOptions:[],city:"",cityOptions:[],district:"",districtOptions:[],address:"",giftType:2,activityTabTitle:"",activeImgIndex:0,animation:!1},ve=function(e){(0,L.Z)(i,e);var t=de(i);function i(e){var n;return(0,k.Z)(this,i),n=t.call(this,e),(0,a.Z)((0,D.Z)(n),"handleClickSubmit",(function(){var e,t=n.props,i=t.giftItem,a=t.onOK,o=t.extraDate,r=t.selectIndex,s=o.giftType,c=o.activityTabTitle,l=n.state,d=l.address,u=l.province,v=l.receiver,f=l.city,g=l.phone,p=l.district,m=l.showImageIndex,h={selectIndex:r,giftId:i.id,giftName:i.giftName,category:i.category,address:(0,$.Z)(d.replace(/(\r\n\t|\n|\r\t)/gm,"")),province:u,receiver:v,city:f,phone:g,district:p,giftProperty:i.giftProperties&&null!==i&&void 0!==i&&null!==(e=i.giftProperties)&&void 0!==e&&e.length?i.giftProperties[m]:"",giftType:s,activityTabTitle:c};0!==v.trim().length?0!==g.trim().length?11===g.trim().length?/^(((13[0-9]{1})|(14[0-9]{1})|(17[0-9]{1})|(15[0-9]{1})|(16[0-9]{1})|(18[0-9]{1})|(19[0-9]{1})|(199))+\d{8})$/.test(g)?u&&f&&p?0!==d.trim().length?/^[\u4E00-\u9FFF\w\s\*\&\#\+\-\_\@\/\\\\]*$/.test(d)?a(h):J.Z.error("\u60a8\u8f93\u5165\u7684\u8be6\u7ec6\u5730\u5740\u6709\u7279\u6b8a\u7b26\u53f7\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165\uff01"):J.Z.error("\u8bf7\u8f93\u5165\u8be6\u7ec6\u5730\u5740"):J.Z.error("\u8bf7\u9009\u62e9\u6536\u8d27\u5730\u5740"):J.Z.error("\u8bf7\u8f93\u5165\u6709\u6548\u7684\u624b\u673a\u53f7\u7801"):J.Z.error("\u8bf7\u8f93\u516511\u4f4d\u624b\u673a\u53f7\u7801"):J.Z.error("\u624b\u673a\u53f7\u7801\u4e0d\u80fd\u4e3a\u7a7a"):J.Z.error("\u8bf7\u8f93\u5165\u6536\u8d27\u4eba")})),n.state=ue,n}return(0,F.Z)(i,[{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){e.visible?document.body.style.overflow="hidden":document.body.style.overflow="";var n=e.receiveInfo.receiver&&!this.state.receiver;if(e.visible&&!this.props.visible||n){var i=Math.ceil(e.giftItem.imgUrls.length/3);this.setState(le(le({},ue),{},{totalPage:i,provinceOptions:X.Z,showImageIndex:e.selectIndex,showImagePage:Math.floor(e.selectIndex/3)+1}))}e.selectIndex!==this.state.showImageIndex&&this.setState({showImageIndex:e.selectIndex,showImagePage:Math.floor(e.selectIndex/3)+1})}},{key:"render",value:function(){var e,t=this,i=this.props,a=i.giftItem,o=i.visible,r=i.onClose,s=this.state,c=s.showImageIndex,l=s.receiver,u=s.phone,f=(s.province,s.provinceOptions),g=(s.city,s.cityOptions),p=(s.district,s.districtOptions),m=s.address,_=a.category===A.RU.virtual,x=[];f.map((function(e){x.push(e.value)}));var b=[];g.map((function(e){b.push(e.value)}));var y=[];return p.map((function(e){y.push(e.value)})),(0,h.jsx)(H,{visible:o,className:"".concat(q().box," ").concat(this.state.animation&&q().animation),children:(0,h.jsxs)("div",{className:q().giftModal,style:_?{paddingTop:0}:{},children:[(0,h.jsxs)("div",{className:q().title,children:[(0,h.jsx)("span",{children:"\u5151\u6362\u8c6a\u793c"}),(0,h.jsx)(d.Z,{className:q().icon,onClick:function(){t.setState({animation:!0}),setTimeout((function(){r(),t.setState({animation:!1})}),300)},src:n(52309),alt:""})]}),(0,h.jsxs)("div",{className:q().content,children:[(0,h.jsxs)("div",{className:q().contentTop,children:[(0,h.jsxs)("div",{className:q().giftDesc,children:[(0,h.jsx)(d.Z,{className:q().show,src:a.imgUrls[c]}),(0,h.jsx)("span",{className:q().name,children:a.giftName})]}),a.giftProperties&&null!==a&&void 0!==a&&null!==(e=a.giftProperties)&&void 0!==e&&e.length?(0,h.jsx)("div",{className:q().optionsCon,children:a.giftProperties.map((function(e,n){return(0,h.jsx)("span",{className:c===n?q().tagSelected:"",onClick:function(){t.setState({showImageIndex:n,showImagePage:Math.floor(n/3)+1})},children:e},e)}))}):null]}),(0,h.jsxs)("div",{className:q().contentBottom,children:[(0,h.jsx)("div",{className:q().recipientCon,children:(0,h.jsx)("input",{placeholder:"\u8bf7\u8f93\u5165\u6536\u4ef6\u4eba\u59d3\u540d",className:q().recipientInput,type:"text",value:l,onCh
1ange:function(e){var n=e.target.value;t.setState({receiver:n})},maxLength:30})}),(0,h.jsx)("div",{className:q().phoneCon,children:(0,h.jsx)("input",{placeholder:"\u8bf7\u8f93\u5165\u624b\u673a\u53f7\u7801",maxLength:11,className:q().phoneInput,type:"text",value:u,onChange:function(e){var n=e.target.value;t.setState({phone:n})}})}),(0,h.jsx)("div",{className:q().addressCon,children:(0,h.jsx)("div",{className:q().addressSelectCon,children:(0,h.jsx)(se,{onChange:function(e){var n=e.province,i=e.city,a=e.district;t.setState({province:(null===n||void 0===n?void 0:n.value)||"",city:(null===i||void 0===i?void 0:i.value)||"",district:(null===a||void 0===a?void 0:a.value)||""})}})})}),(0,h.jsx)("div",{className:q().streetCon,children:(0,h.jsx)(ne,{value:m,onChange:function(e){t.setState({address:e})}})}),(0,h.jsxs)("div",{className:q().tipCon,children:[(0,h.jsx)(d.Z,{className:q().tipIcon,src:n(15275),width:16,height:16}),(0,h.jsx)("span",{className:q().tipDesc,children:"\u8bf7\u586b\u5199\u6536\u8d27\u4fe1\u606f\uff0c\u786e\u4fdd\u53ef\u4ee5\u6536\u5230\u793c\u54c1\uff0c\u793c\u54c1\u8bf7\u4ee5\u5b9e\u7269\u4e3a\u51c6"})]}),(0,h.jsxs)("div",{className:q().btns,children:[(0,h.jsx)("button",{className:(0,v.z)(q().btn,q().cancel),onClick:function(){t.setState({animation:!0}),setTimeout((function(){r(),t.setState({animation:!1})}),300)},children:"\u53d6\u6d88"}),(0,h.jsx)("button",{className:(0,v.z)(q().btn,q().ok),onClick:this.handleClickSubmit,children:"\u786e\u5b9a"})]})]})]})]})})}}]),i}(r.Component),fe=function(e){var t;return(null===e||void 0===e||null===(t=e.giftItem)||void 0===t?void 0:t.category)===A.RU.virtual?(0,h.jsx)(z,le({},e)):(0,h.jsx)(ve,le({},e))},ge=n(36335),pe=n.n(ge);function me(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 he(e){var t=e.visible,n=e.onClose,i=e.selectedGiftItem,a=e.onOK;return(0,h.jsx)(S,{footerBtn:[{text:"\u53d6\u6d88",onClick:n},{text:"\u786e\u5b9a",onClick:a}],type:0,title:null===i||void 0===i?void 0:i.exchangeTitle,content:(0,h.jsx)(h.Fragment,{children:(0,h.jsx)("pre",{className:pe().content,children:null===i||void 0===i?void 0:i.exchangeContent})}),isModalVisible:t,onClose:n})}var _e=function(e){return(0,h.jsx)(he,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))},xe=n(68255),Ae=n.n(xe);function be(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 ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var je=function(e){var t=e.visible,n=e.type,i=e.onJumpToList,a=e.onOK,o=e.onDeposit,r=e.amount,s=e.onSuccess,c=(e.category,e.message);return(0,h.jsx)(S,ye(ye({},n===A.E0.AmountFirst?{footerBtn:[{text:"\u786e\u5b9a",onClick:a},{text:"\u53bb\u5b58\u6b3e",onClick:o}]}:n===A.E0.Success?{footerBtn:[{text:"\u786e\u5b9a",onClick:s}]}:{footerBtn:[{text:"\u786e\u5b9a",onClick:a}]}),{},{type:0,title:(A.RU.virtual,n!==A.E0.Success?"\u6e29\u99a8\u63d0\u793a":"\u5151\u6362\u6210\u529f"),content:function(){switch(n){case A.E0.ExchangedBet:case A.E0.ExchangedFirst:return(0,h.jsxs)(h.Fragment,{children:["\u8bf7\u524d\u5f80",(0,h.jsx)("span",{className:Ae().link,onClick:i,children:"\u5956\u54c1\u8bb0\u5f55"}),"\u4e2d\u67e5\u770b\u5956\u54c1\u72b6\u6001"]});case A.E0.Expired:return(0,h.jsx)(h.Fragment,{children:"\u5c0a\u656c\u7684\u7528\u6237\u60a8\u597d\uff0c\u60a8\u7684\u9996\u5b58\u8c6a\u793c\u5151\u6362\u65f6\u95f4\u5df2\u8fc7\u671f\uff0c\u5982\u6709\u7591\u95ee\u8bf7\u54a8\u8be2\u5ba2\u670d"});case A.E0.ModalToast:return(0,h.jsx)(h.Fragment,{children:c});case A.E0.AmountFirst:return(0,h.jsxs)(h.Fragment,{children:["\u5151\u6362\u6b64\u793c\u54c1\u60a8\u8fd8\u9700\u8981",(0,f.YM)(r||0),"\u5143\u5b58\u6b3e\uff0c\u8bf7\u7ee7\u7eed\u52a0\u6cb9\uff01"]});case A.E0.AmountBet:return(0,h.jsxs)(h.Fragment,{children:["\u5151\u6362\u6b64\u793c\u54c1\u60a8\u8fd8\u9700\u8981",(0,f.YM)(r||0),"\u5143\u6709\u6548\u6295\u6ce8\uff0c\u8bf7\u7ee7\u7eed\u52a0\u6cb9\uff01"]});case A.E0.Success:return(0,h.jsxs)(h.Fragment,{children:["\u606d\u559c\u60a8\u5151\u6362\u6210\u529f\uff0c\u8bf7\u524d\u5f80",(0,h.jsx)("span",{className:Ae().link,onClick:i,children:"\u5956\u54c1\u8bb0\u5f55"}
1),"\u4e2d\u67e5\u770b\u5956\u54c1\u72b6\u6001"]})}}(),isModalVisible:t,onClose:function(){n!==A.E0.Success?a():s()}}))},Ie=n(277),we=n(27361),Ne=n.n(we),Ce=n(46799),Te=n(55778),Oe=n(15186);function Se(e,t){return Me.apply(this,arguments)}function Me(){return(Me=(0,j.Z)(w().mark((function e(t,n){var i;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.activityId,e.abrupt("return",(0,Oe.v_)("/sact/api/v1/activityTopGift/list",{body:JSON.stringify({activityId:(0,f.nm)(i)}),timeout:n,parseAsBigint:!0}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ee(e){var t=e.giftId,n=e.tabId,i=e.activityTabTitle;return(0,Oe.v_)("/sact/api/v1/activityTopGift/exchangeValid",{body:JSON.stringify({giftId:t,tabId:n,activityTabTitle:i}),parseAsBigint:!0})}function Pe(){return(Pe=(0,j.Z)(w().mark((function e(t){var n;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.activityType,e.abrupt("return",(0,Oe.v_)("/act/api/v1/invite/exclusive",{body:JSON.stringify({activityType:n})}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Be=n(50039),ke=n(87226),Fe=n(85379),De=n(1585),Le=n(83393);function Ze(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 Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ue=function(e){return function(t){var n,i=!!(0,Fe.r)(),a=(0,T.useRouter)(),o=(null===(n=a.query)||void 0===n?void 0:n.id)||"",s=(0,Te.Pc)({ready:i}).data,c=(0,Ce.Z)(Se,{defaultParams:[{activityId:o}],onSuccess:function(e){0==(null===e||void 0===e?void 0:e.status)&&(0,Be.UX)({width:440,closeIcon:!0,hideFooter:!0,onCancel:function(){a.replace(De.Z.home)},content:(0,Le.Z)()})},onError:function(e){J.Z.error(e.message||"")}}),l=c.data,d=void 0===l?t.activityTopGiftInfo:l,u=c.run,v=(0,r.useState)(0),g=v[0],p=v[1],m=(0,r.useState)(A.rb.First),_=m[0],x=m[1],b=(0,r.useState)(A.Ur.First),y=b[0],I=b[1],N=(0,r.useState)(A.$b),C=N[0],O=N[1],S=(0,r.useState)([]),M=S[0],E=S[1],P=(0,r.useState)(""),B=P[0],k=P[1],F=(0,r.useState)(!1),D=F[0],L=F[1],Z=(0,r.useState)(!1),G=Z[0],U=Z[1],Q=(0,r.useState)(A.E0.Success),R=Q[0],V=Q[1],z=(0,r.useState)(""),Y=z[0],K=z[1],H=(0,r.useState)(!1),X=H[0],W=H[1],q=(0,r.useState)(!1),ee=q[0],te=q[1],ne=(0,r.useState)(!1),ie=ne[0],ae=ne[1],oe=(0,r.useState)({}),re=oe[0],se=oe[1],ce=(0,r.useState)(A.p7),le=ce[0],de=ce[1],ue=(0,r.useState)(A.D6),ve=ue[0],fe=ue[1],ge=(0,r.useState)(A.kf),pe=ge[0],me=ge[1],he=(0,r.useState)(0),_e=he[0],xe=he[1],Ae=(0,r.useState)(""),be=Ae[0],ye=Ae[1],je=(0,r.useState)(A.RU.real),Ie=je[0],we=je[1],Me=(0,r.useState)(!1),Ze=Me[0],Ue=Me[1],Qe=(0,r.useState)({}),Re=Qe[0],Ve=Qe[1],ze=(0,r.useState)(!1),Je=ze[0],Ye=ze[1],Ke=(0,r.useState)(!1),He=Ke[0],Xe=Ke[1],We=(0,r.useState)(!1),qe=We[0],$e=We[1];(0,r.useEffect)((function(){qe?tt(!0):(tt(),$e(!1))}),[d,qe]);var et=(0,$.Z)((null===d||void 0===d?void 0:d.webActivityRuleDesc)||"",{},{objectFit:"cover",width:"100%"}),tt=function(e){var t,n,i;if(d){var a,o,r=_;null!==d&&void 0!==d&&null!==(t=d.betGifts)&&void 0!==t&&t.length&&null!==d&&void 0!==d&&d.firstDepositGift?(a=A.Ur.Both,e||(r=A.rb.Bet),o=null===d||void 0===d?void 0:d.betGifts):null!==d&&void 0!==d&&null!==(n=d.betGifts)&&void 0!==n&&n.length?(a=A.Ur.Bet,e||(r=A.rb.Bet),o=null===d||void 0===d?void 0:d.betGifts):(a=A.Ur.First,r=A.rb.First,o=(null===d||void 0===d?void 0:d.firstDepositGift)||{});var s=null!==(i=o)&&void 0!==i&&i.length?-1!==g?o[g]:null===d||void 0===d?void 0:d.firstDepositGift:o;I(a),x(r),O(s),k(null===s||void 0===s?void 0:s.activityTabTitle),E(o)}},nt=function(e){_===A.rb.First?function(e){return Pe.apply(this,arguments)}({activityType:1}).then((function(t){var n,i,a;if((Ye(!1),Array.isArray(t.list))&&1===((null===t||void 0===t||null===(a=t.list)||void 0===a?void 0:a.find((function(e){return e.isAlreadyJoin})))||{}).activityType)return;var o=null===t||void 0===t||null===(n=t.list)||void 0===n?void 0:n.find((function(e){return 1===e.activityType})).isAlreadyJoin,r=1===(null===t||void 0===t||null===(i=t.list)||void 0===i?void 0:i.length)&&!o,c=!(null!==C&&void 0!==C&&C.exchangeGift);!r&&-1!=(null===C||void 0===C?void 0:C.activityMoney)&&s.phone&&s.realName&&c?(ae(!0),se({exclusiveList:null===t||void 0===t?void 0:t.list,currentActiveType:1,title:"\u6e29\u99a8\u63d0\u793a",onClose:function(){ae(!1)},type:2,onOk:function(){var n;ae(!1),(null===t||void 0===t||null===(n=t.list)||void 0===n?void 0:n.some((function(e){return e.isAlreadyJoin})))||e&&e()}})):e()})):e()},it=function(e){var t=null===C||void 0===C?void 0:C.activityTabTitle,n=t?2:1,i={giftId:e.id,category:e.category,giftName:e.giftName,giftProperty:"",giftType:n,activityTabTitle:t};me(i)},at=function(e){return e===A.E0.ExchangedBet||e===A.E0.ExchangedFirst||e===A.E0.AmountFirst||e===A.E0.AmountBet||e===A.E0.Expired||e===A.E0.ModalToast},ot=function(e,t){Ye(!0);var n=_===A.rb.First?Ne()(C,"tabId",""):Ne()(M,"[".concat(g,"].tabId"),"");nt((0,j.Z)(w().mark((function i(){var a,o,r;return w().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,Ee({giftId:e.id,activityTabTitle:t,tabId:n});case 3:if(o=i.sent,Ye(!1),Ue(e.category===A.RU.virtual&&(!(null!==e&&void 0!==e&&null!==(a=e.giftProperties)&&void 0!==a&&a.length)||!1)),Ve(e),1!==e.exchangeFlag){i.next=12;break}return W(!0),de(e),fe(o),i.abrupt("return");case 12:Ze?(it(e),te(!1),L(!0)):(te(!0),de(e),fe(o)),i.next=20;break;case 15:i.prev=15,i.t0=i.catch(0),Ye(!1),r=i.t0.code,at(r)?(te(!1),K(i.t0.message),U(!0),V(r),de(e),xe(e.giftMoney-(null===C||void 0===C?void 0:C.activityMoney))):J.Z.info(i.t0.message);case 20:case"end":return i.stop()}}),i,null,[[0,15]])}))))},rt={router:a,isLogin:i,activityRule:et,pageData:C,pageDataArr:M,showPageType:y,selectedTabTypePage:_,setSelectedTabTypePage:x,betIndex:g,setBetindex:
1p,setPageData:O,title:B,setTitle:k,firstDepositGift:(null===d||void 0===d?void 0:d.firstDepositGift)||{},webBanner:(null===d||void 0===d?void 0:d.webBanner)||"",giftName:be,category:Ie,tipModalToast:Y,showTipModal:G,setShowTipModal:U,tipModalType:R,showConfirmModal:D,showExchangeModal:ee,setShowExchangeModal:te,isModalVisible:ie,setIsModalVisible:ae,modalData:re,setModalData:se,handleClick:function(e,t){i?function(e){var t=e.giftId;return(0,Oe.v_)("/sact/api/v1/activityTopGift/reFreshGiftNum",{body:JSON.stringify({giftId:t}),parseAsBigint:!0})}({giftId:e.id}).then((function(n){var i=Number(n.giftTotalNum-n.giftReceivedNum);0===i?(0,Be.UX)({title:"\u6e29\u99a8\u63d0\u793a",maskClosable:!1,okText:"\u6211\u77e5\u9053\u4e86",content:"\u5f53\u524d\u793c\u54c1\u5e93\u5b58\u6570\u91cf\u4e0d\u8db3\uff0c\u8bf7\u60a8\u66f4\u6362\u5176\u5b83\u793c\u54c1\u8fdb\u884c\u5151\u6362"}):i>0&&ot(e,t)})):(0,ke.jc)(a)},handleClickCard:ot,handleSubmit:function(e){Xe(!0);var t=_===A.rb.First?Ne()(C,"tabId",""):Ne()(M,"[".concat(g,"].tabId"),"");B!==e.activityTabTitle&&(e.activityTabTitle=B,console.error("\u51fa\u73b0\u6807\u9898\u4e0d\u4e00\u81f4\u60c5\u51b5")),function(e){var t=e.giftId,n=e.activityId,i=e.giftProperty,a=e.receiver,o=e.phone,r=e.province,s=e.city,c=e.district,l=e.address,d=e.saveAddress,u=e.tabId,v=e.activityTabTitle;return(0,Oe.v_)("/sact/api/v1/activityTopGift/exchange",{body:JSON.stringify({giftId:t,activityId:(0,f.nm)(n),giftProperty:i,receiver:a,phone:o,province:r,city:s,district:c,address:l,saveAddress:d,tabId:u,activityTabTitle:v}),parseAsBigint:!0})}(Ge(Ge({},e),{},{activityId:o,tabId:t})).then((function(){Xe(!1),L(!1),U(!0),V(A.E0.Success),ye(e.giftName),we(e.category),$e(!0),u({activityId:o})})).catch((function(e){Xe(!1),J.Z.info(e.message)}))},initPageData:tt,amount:_e,selectedGiftItem:le,setSelectedGiftItem:de,receiveInfo:ve,setReceiveInfo:fe,exchangePageItem:pe,setExchangeItem:it,setExchangePageItem:me,setShowConfirmModal:L,showExchangeTipModal:X,setShowExchangeTipModal:W,flag:Ze,setFlag:Ue,giftModalItem:Re,setGiftModalItem:Ve,giftCardLoading:Je,applyLoading:He,id:o};return(0,h.jsx)(e,Ge({},rt))}},Qe=(n(53481),n(72139),n(80364)),Re=n(12490),Ve=n.n(Re);function ze(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 Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ye=(0,c.default)((function(){return n.e(5019).then(n.bind(n,15019))}),{ssr:!1,loadableGenerated:{webpack:function(){return[15019]}}});var Ke=!0,He=Ue((0,s.Pi)((function(e){var t,a=e.router,s=e.isLogin,c=e.activityRule,u=e.pageData,v=e.pageDataArr,f=e.firstDepositGift,p=e.showPageType,m=e.selectedTabTypePage,_=e.setSelectedTabTypePage,b=e.betIndex,y=e.setBetindex,j=e.setPageData,I=e.title,w=e.setTitle,N=e.webBanner,C=e.giftName,T=e.category,O=e.tipModalToast,M=e.showTipModal,E=e.setShowTipModal,P=e.tipModalType,k=e.showConfirmModal,F=e.showExchangeModal,D=e.setShowExchangeModal,L=e.isModalVisible,Z=e.setIsModalVisible,G=e.modalData,U=e.handleClick,Q=e.handleSubmit,R=e.initPageData,V=e.amount,z=e.selectedGiftItem,J=e.setSelectedGiftItem,Y=e.receiveInfo,K=e.setReceiveInfo,H=e.exchangePageItem,X=e.setExchangeItem,W=e.setExchangePageItem,q=e.setShowConfirmModal,$=e.showExchangeTipModal,ee=e.setShowExchangeTipModal,te=e.flag,ne=e.setFlag,ie=e.giftModalItem,ae=e.setGiftModalItem,oe=e.giftCardLoading,re=e.applyLoading,se=e.id,ce=(0,r.useState)(null),le=ce[0],de=ce[1],ue=(0,r.useState)(0),ve=ue[0],ge=ue[1],pe=Qe.Z.maketingModalStatus,me=Qe.Z.setMaketingModalVisible,he=(0,r.useState)(!1),xe=he[0],Ae=he[1],be=(0,r.useState)((null===u||void 0===u?void 0:u.giftList)||[]),ye=be[0],we=be[1],Ne=(0,r.useState)("100%"),Ce=Ne[0],Te=Ne[1];(0,r.useEffect)((function(){var e,t;if(null!==u&&void 0!==u&&u.giftList&&(null===u||void 0===u||null===(e=u.giftList)||void 0===e?void 0:e.length)>8)return we(null===u||void 0===u?void 0:u.giftList.slice(0,8)),void Te(958);if(null!==u&&void 0!==u&&u.giftList&&null!==u&&void 0!==u&&null!==(t=u.giftList)&&void 0!==t&&t.length){var n=469*Math.ceil(u.giftList.length/4)+20*(Math.ceil(u.giftList.length/4)-1);Te(n),we(null===u||void 0===u?void 0:u.giftList)}}),[null===u||void 0===u?void 0:u.giftList]),(0,r.useEffect)((function(){we(xe?null===u||void 0===u?void 0:u.giftList:null===u||void 0===u?void 0:u.giftList.slice(0,8))}),[xe]);var Oe=p===A.Ur.Both?[].concat((0,o.Z)(v),[f]):p===A.Ur.Bet?(0,o.Z)(v):[f];return(0,r.useEffect)((function(){1===pe&&me(!0)}),[pe]),(0,h.jsxs)(l.Z,{children:[(0,h.jsxs)("div",{className:Ve().exchange,children:[N&&(0,h.jsx)("div",{className:Ve().topBanner,children:(0,h.jsx)(d.Z,{resetClassName:"fullScreenBanner",src:N,priority:!0,sizes:"1920px"})}),(0,h.jsx)("div",{className:Ve().mainContent,children:(0,h.jsxs)("div",{className:Ve().main,children:[p===A.Ur.Both?(0,h.jsxs)("div",{className:Ve().buttonsContent,children:[v?v.map((function(e,t){return(0,h.jsx)("div",{children:(0,h.jsx)("button",{style:{margin:"0 20px"},onClick:function(){_(A.rb.Bet),Ae(!1),y(t),j(e),w(e.activityTabTitle),(0,g.j)("\u8c6a\u793c-\u9009\u62e9\u8c6a\u793c\u7c7b\u578b",{"\u8c6a\u793c\u7c7b\u578b":e.activityTabTitle})},className:m===A.rb.Bet&&b===t?Ve().atcButton:"",children:e.activityTabTitle})},String(t))})):null,(0,h.jsx)("div",{children:(0,h.jsx)("button",{onClick:function(){y(-1),Ae(!1),_(A.rb.First),j(f),w(f.activityTabTitle),(0,g.j)("\u8c6a\u793c-\u9009\u62e9\u8c6a\u793c\u7c7b\u578b",{"\u8c6a\u793c\u7c7b\u578b":f.activityTabTitle})},style:{margin:"0 20px"},className:m===A.rb.First||-1===b?Ve().atcButton:"",children:(null===f||void 0===f?void 0:f.activityTabTitle)||"\u9996\u5b58\u8c6a\u793c"})})]}):f?(0,h.jsx)("div",{className:v.length>1?Ve().buttonsContent:"",children:v&&v.length>1?v.map((function(e,t){return(0,h.jsx)("div",{children:(0,h.jsx)("button",{style:{margin:"0 20px"},onClick:function(){y(t),_(A.rb.Bet),j(e),w(e.activityTabTitle)},className:m===A.rb.Bet&&b===t?Ve().buttonHighLight:Ve().buttonNormal,children:e.activityTabTitle})},String(t))})):(0,h.jsx)("div",{style:{marginTop:"46px"}})}):(0,h.jsx)("div",{style:{marginTop:"46px"}}),(0,h.jsx)(Ye,{isLogin:s,pageData:u,selectedTabTypePage:m,router:a,pageDataArr:Oe,clickIndex:b}),(0,h.jsx)("div",{style:{height:Ce},className:Ve().giftContent,children:u&&u.giftList?ye.map((function(e,t){return(0,h.jsx)(x,{type:m===A.rb.Bet?i.Bet:i.First,giftList:u.giftList,index:t,item:e,clickIndex:le,onClick:function(n,i){de(t),U(e,u.activityTabTitle),ge(i)},giftCardLoading:oe},t)})):null}),u&&(null===u||void 0===u||null===(t=u.giftList)||void 0===t?void 0:t.length)>8?(0,h.jsx)("div",{className:Ve().lookAll,children:(0,h.jsxs)("div",{onClick:function(){if(xe)Te(958);else{var e=469*Math.ceil(u.giftList.length/4)+20*(Math.ceil(u.giftList.length/4)-1);Te(e)}setTimeout((function(){Ae(!xe)}),300)}
1,children:[xe?"\u6536\u8d77":"\u67e5\u770b\u66f4\u591a",(0,h.jsx)("img",{src:n(xe?33899:81584),alt:""})]})}):null]})}),(0,h.jsx)("div",{className:Ve().rulesContent,children:(0,h.jsxs)("div",{className:Ve().rulesBox,children:[(0,h.jsx)("h3",{children:"\u6d3b\u52a8\u89c4\u5219"}),(0,h.jsx)("div",{className:Ve().rules,children:(0,h.jsx)("div",{children:c})})]})}),(0,h.jsx)(fe,{selectIndex:ve,visible:F,giftItem:z,receiveInfo:Y,extraDate:{giftType:I?2:1,activityTabTitle:I},onClose:function(){document.body.style.overflow="",ne(!1),ae({}),D(!1),J(A.p7)},onOK:function(e){K(Je(Je({},Y),{},{address:e.address,province:e.province,receiver:e.receiver,city:e.city,phone:e.phone,district:e.district})),W(e),q(!0),D(!1)}}),(0,h.jsx)(_e,{visible:$,selectedGiftItem:z,onClose:function(){q(!1),ee(!1)},onOK:function(){te?(X(ie),ee(!1),D(!1),q(!0)):(ee(!1),D(!0))}}),(0,h.jsx)(B,{type:m===A.rb.Bet?A.mr.Bet:A.mr.First,tabName:I,visible:k,exchangeItem:H,onCancel:function(){document.body.style.overflow="",ne(!1),ae({}),q(!1),D(!1)},onSubmit:Q,onChangeIsAll:function(){return Ae(!1)},onClose:function(){document.body.style.overflow="",ne(!1),ae({}),q(!1),D(!1)},applyLoading:re}),(0,h.jsx)(je,{giftName:C,visible:M,type:P,category:T,onJumpToList:function(){a.push(De.Z.giftRecord)},onOK:function(){E(!1),D(!1)},onDeposit:function(){a.push(De.Z.deposit)},onSuccess:function(){E(!1),R(!0)},amount:V,message:O}),(0,h.jsx)(S,Je(Je({},G),{},{isModalVisible:L,onClose:function(){Z(!1)}}))]}),(0,h.jsx)(Ie.Z,{position:"7",positionSub:se,routePath:"bettingGift"})]})})))},88188:function(e,t,n){"use strict";var i,a,o;n.d(t,{RU:function(){return i},$b:function(){return s},D6:function(){return c},p7:function(){return l},mr:function(){return r},kf:function(){return f},Ur:function(){return d},rb:function(){return u},E0:function(){return v}}),function(e){e[e.virtual=0]="virtual",e[e.real=1]="real"}(i||(i={})),function(e){e[e.Education=2]="Education",e[e.RealPerson=3]="RealPerson",e[e.Gaming=4]="Gaming",e[e.Lottery=5]="Lottery",e[e.Chess=6]="Chess",e[e.Electronic=7]="Electronic"}(a||(a={})),function(e){e[e.applyed=0]="applyed",e[e.provided=1]="provided",e[e.expired=2]="expired",e[e.reviewFail=3]="reviewFail"}(o||(o={}));var r,s={maxGift:{id:0,giftName:"",giftMoney:0,imgUrls:[],giftProperties:[],category:i.real},exchangeGift:{giftId:0,giftName:"",exchangeDate:""},giftList:[],activityMoney:0},c={address:"",province:"",receiver:"",city:"",phone:"",district:""}
1,l={id:0,giftName:"",giftMoney:0,imgUrls:[],giftProperties:[],category:i.real};!function(e){e[e.Bet=0]="Bet",e[e.First=1]="First"}(r||(r={}));var d,u,v,f={giftId:0,giftName:"",address:"",province:"",receiver:"",city:"",phone:"",district:"",giftProperty:"",saveAddress:!1,giftType:2,activityTabTitle:"",category:i.real,selectIndex:0};!function(e){e[e.Both=0]="Both",e[e.Bet=1]="Bet",e[e.First=2]="First"}(d||(d={})),function(e){e[e.Bet=0]="Bet",e[e.First=1]="First"}(u||(u={})),function(e){e[e.ModalToast=6200]="ModalToast",e[e.Success=6e3]="Success",e[e.ExchangedBet=6201]="ExchangedBet",e[e.ExchangedFirst=6202]="ExchangedFirst",e[e.AmountFirst=6203]="AmountFirst",e[e.AmountBet=6204]="AmountBet",e[e.Expired=6205]="Expired"}(v||(v={}))},23483:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/activity/bettingGiftOld/[id]",function(){return n(44414)}])},18159:function(e){e.exports={inputContainer:"d_m_MaEEri2p6d0Z4NswLA__"}},95938:function(e){e.exports={cascadingDropdown:"AZ1CciDb9qCUVe5CgdtpRA__",dropdownButton:"NfKJgrNO2BaBpm0wUdk5Tw__",placeholderText:"GCrV_WCpw9OgB9DYlJTo2g__",selectedText:"iAhL9ou1_56g7tg5ZikpFw__",dropdownIcon:"tlBGTpF2k_S2rjSm8cdu5g__",rotate:"jOa4_QICk3vjsJF7xVYs_w__",dropdownPanel:"eLrQn7SHhsAdnFUkS223oQ__",tabsList:"mH8d1vM4rIV67G_mSWxBhQ__",tabButton:"VdpKitTHOA7cT5M5TmEdOA__",activeTab:"r2kr87oKy8n0E0ZnfJG8Vg__",tabContent:"OitY4JgTCB3sbyR2Yj16Ng__",optionsList:"V3Fsn_oqQrhjkY4gcTAYKQ__",optionItem:"hK4rUBaa9XniHfI_cE6aXw__",selectedItem:"uENKJxyecuo_THv9H6QqlA__",checkIcon:"Pkld5nW6GDmzROJExO8mrQ__"}},69277:function(e){e.exports={exchangeCard:"gIQqWG5vqX101BOecpqnfQ__",giftNumber:"YaQh6Bv4QzY8UEdfX9i10A__",selectedImage:"QTplC_Mvjm4kYYTTVA0lzA__",imageListView:"fDKvxs6a1JJbuP4T7H5rQg__",listIcon:"IL1oIZyAc_71fy6kmnNzLw__",imageNormal:"R0Vgn_9dT6rYJvMUro0gcg__",imageSelected:"__9adSbpP512Njy9VLsImv7Q__",name:"HtJduHuOK0Dogf45zvkGfQ__",subName:"luObH7aL7wvtk_6DYWY0nA__",price:"Eo6FjqosuN5UEviuTIXlKg__",exchangeBtn:"F8dNGjxjUHECHRYwIAgy5Q__",disabled:"iYaKJIOz8OFD7WLZAbIwLQ__"}},82077:function(e){e.exports={mask:"TvF22u9Fi3A6zJi81spweg__",animation:"xKOAkM9g1Q_6XVukBT5oJA__",deleteShow:"DIUb_WdlPTNgA4X5_hnZbg__",content:"gRluiFqR7NCl9w3G6qubeg__",modalShow:"BoDFC5VU62r6ub0lHxJTKA__",head:"kzoPMlo1bZn7HX_nkqO1TA__",title:"__6M_CQWikuJ0hKTMG8sAcWQ__",desc:"BDhuQqixV83Ld49UEsWcrA__",notEnjoy:"Ub_Zoc_3AmEVdFIP4s4_2g__",joinConfirmInfo:"VwME_GoKFLNli9xnNNsO3A__",tips:"BjX38g3lxI3dzq_LxLDg_g__",footer:"KKsqWCDTyI3sKKTFsUvoFA__",btn:"cR0qF2_jIAuwup3uB8O24Q__",flow:"owcAIHHxW__orM4_JyucoQ__",exclusiveItem:"F5KgyflhwsJbBKNX_UJYQg__",confirmApplyContent:"wVWPZh_phUNKSVPFK20DXA__",flex:"fd5hvPTuOkssgwORSFJYFQ__",tipImg:"__2J6SpOy6QrBo4SP6RWksOA__"}},57405:function(e){e.exports={confirmModal:"PaZ4paC2mJz5wqqEork0Uw__",top:"__0aRlSyL3AaraKClUWPR6Cw__",title:"IcY0k3ljs6yxnffLhvbvNA__",lineTitle:"HltgtVXV_5T4x1J87zPZOg__",line1:"__6G10UPJnPAKmI1x723zSYA__",content:"Um1vEldcnLeSRpnSoZzOxg__",ob_content:"Lhv9FNb2yVgwCAUFubu2Jg__",line3:"D4jPSIkhJ21MiFURuG_xhA__",tipCon:"bHeXhESf8Afjh8G2_yYueQ__",tipIcon:"NcVsYuFJxAww_1EPbrmQDQ__",tipDesc:"Sfu1FFd2nIvGJm2EXwIyfA__",btnsCon:"u4pOcHua_Bn9rsNBcPKQ3w__",buttonCancel:"B5Kx6uZS_YB3wVj6d0HgZw__",buttonOK:"_8L5xJklQfL3EIArDYofAg__",confirm_modal:"S3hg8q448SKHQxX1mGvvEw__",virtual_title:"yWuwwu3R1_baZ_OcL0jM9w__",buttonOK_virtual:"F35QLb58lurHO8TOAsqAtA__"}},36335:function(e){e.exports={exchange_tip_modal:"WSHywGuMhttnGzpJFFsqoA__",title:"mk3BaNV96lpocNkA6MhzgQ__",icon:"Q2Se56ZC53V1gmWhyUaasw__",content:"uo4LGZTXu89XJh0tZ8RWfw__",handleBtn:"XQWlewnEMTm8_7iU__LAeg__",cancleBtn:"XuwqamrBkqdOh8IsrMo2wA__",submitBtn:"DBl_JlnRui9v4MIjO5__0w__"}},88654:function(e){e.exports={box:"oGEZr98O9PTMkjIgAEGmgg__",modalShow:"a9yfQVGyLbUhM7YkZMqp5w__",animation:"sWNm1udnE6_3SYATqfOH8g__",deleteShow:"smRk4UU97p8vt17fCZeK_w__",giftModal:"__9kue2x2mQIPxS1ng1_yn3A__",closeBtn:"WTq4Gqf9YvFvOwQpTVIZow__",title:"C47nIY1kLHrfNUDBcfjL2Q__",icon:"A2Ccx9IBPRfMfxyDm61uwg__",content:"aeNosIf1G6YuOhta8bkWCw__",contentTop:"__3_7eX_1tW2dDPRRnEDj77g__",giftDesc:"IExAFvgOXEYH5ImaBVAdUw__",optionsCon:"Ivc7Ggf_KPci65D2QnmfAg__",tagSelected:"a7vVFNdl_lyYautvM3YyOQ__",show:"rH2ciN_ohDxCzzg3LXHv6A__",name:"x_1gZDCFCm_nhUwzg14Alg__",list:"vMv0q7lJN5aIf3lxYMxFmg__",preCon:"SnXe7waC0l_tTwI0EncUjw__",preConDisabled:"SoZMSKnlMvC_g7eP5yMgUg__",preIcon:"FYD4PZFvJDyVe1l7ByWZVQ__",nextCon:"DpWZmZBB9N_3DMiYgqKx4A__",nextConDisabled:"DpYOwXkv1gWqJjV_E8EpHQ__",nextIcon:"TrlfWYgcIhzzn2oxzlnQLw__",imageListCont:"UxIKJn7XclUJ_v5uCzxEDg__",imgNormal:"Lvz4Gz_JfrQlVkt5TJW5qQ__",imgSelected:"jsppEp3O3FtJgPnjnKll6w__",contentBottom:"qC8DGm105YzrcIqbC0z5uQ__",titleWrapper:"P4HzE6CT7p0x_KUeF1VnHw__",recipientCon:"OZoiv5ZT8eWmu6_ltub6Jw__",recipientTitle:"ANpR8HYU7pQHnjEEoHKOng__",recipientInput:"iEfpBAZnMrrMMmL3LW2ErQ__",ph
1oneCon:"swJ9Gx3jT41YOhshn4hXqA__",phoneTitle:"InoZUHVhPQ84Yv94sJba_g__",phoneInput:"B5ZN_jpjRvvZSFKPfzetkQ__",addressCon:"reqsXad_UJuWAXc9RFYz6g__",addressTitle:"mM0IDpB6pvMuNKB3j7HwyQ__",addressSelectCon:"__1b1YIq4Sw9oDNOmZx6zdGQ__",activity_dropdown:"tisQ2nILGRKl1Aujfdqrmg__",streetCon:"rcTnLGKbPIB60uHgyCtuWQ__",streetTitle:"ydlBaIMfETUdpqkrIH_GXg__",streetInput:"dIkSbYjPDpS3b_aBz4rraA__",tipCon:"YB8lDcTSmNfK3AW3KfhiZw__",tipIcon:"__2sPEo2ES2fErvVStNd_7yA__",tipDesc:"iqS3UXGp5Owa_ci5DLEkZQ__",btns:"__0tMNmeR9h5CLaR5SXouToA__",btn:"rmOB1LwUMFz0CCLw3XF_MA__",cancel:"dyuEcspYV9lfeQwwwWQcMQ__",ok:"SfYofltrFxmDUPhXPM14Tw__"}},78985:function(e){e.exports={mask:"Vho8c6EyoWU_1LJwYl4W3A__",maskContent:"eQwFfqCzyhBDCEvgLvzqDA__"}},68255:function(e){e.exports={link:"ePMgJzcU5CltCvVEk4w9UQ__"}},87541:function(e){e.exports={content:"g46u_n9z4ysCFnnNLIHrxw__",show:"O7aYLJxYcOs3_uVBi9RU0Q__",name:"__3GrZM93Q9kTag3DABvMbDA__",imageListCont:"DdHxOI7iFsYGh7IzYVTzFw__",imageListItem:"Z4BDhlgr_TQDulAEu8R5Lg__",imgSelected:"__5hClXttazYfG8GrWHdngCw__",virtual_gift:"TttGOUuh5gszm4p5ge5Cag__",optionsCon:"OtHhltsho73menDrxl1Maw__",prop:"rD3SAmv5YDsgpm_aDXghLw__",active:"__9tTXOuVtQyG4BsdvGzFJDQ__",submitBtn:"YUiQJdKGHZqNFrSzs2z9DA__",gift_name:"OqgrYlao_5PYUcENLENCfw__"}},12490:function(e){e.exports={exchange:"raXHP9sjGK6ClT8jVVechg__",banner:"__34N05ErKmPsjTFaAvWusHg__",topBanner:"__6ZqdHf13QyRcqIywlRxyJQ__",mainContent:"X9Dg9P83mhdHuGhiAIRo0g__",main:"__37gW9To_QO7rgcH4_20aNw__",buttonsContent:"tkC_EtfuuphzDiD1LjegeQ__",atcButton:"zH5hYFuBTHo0U5Nzk91Pig__",giftContent:"oLLZx9qAwgkVNfOxH7LiOA__",lookAll:"__1PjRRMIdKu2AASsX7C7wmA__",rulesContent:"zdzsjel_CcjchnPXpEB1yg__",rulesBox:"SWAKiCAmec2BN83XtW1alQ__",rules:"_nBgchYqoh2YlUnOn_FOFA__"}},3967:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAoCAMAAADE8VquAAAAMFBMVEVMaXEyMjIzMzMzMzM3NzczMzMzMzMzMzMyMjIzMzMvLy81NTUzMzMzMzM/Pz8zMzOg7mgfAAAAD3RSTlMAYN+AIO+Qn79AEDCvzxDzMkLYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAgUlEQVR4nL2Qyw5CIQxEp7yKerX//7dmWrlg3BhDnAUcJjlJKbAx1cxMgoV8R+PVo+rkhguvemVTiHZbTSElYDF7eJhmGd40ZXjT7MM7zTK9YcrpqWryR5yqCvsIfq7Ec5CP4NfWMqv8tsi8VsXT/DOOj61zJY8vowZ/Odf+6o95Auw7EkAxLHo6AAAAAElFTkSuQmCC"},15275:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAP1BMVEVMaXGvr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+urq6xsbGxsbGvr6+wsLCtra2vr6+vr6+F1SmqAAAAFHRSTlMAz99QgGAgv+9AkJ+PkH9foJ+Af103iNcAAAAJcEhZcwAAFiUAABYlAUlSJPAAAADzSURBVHicrZNZjoQwDESdNCQO0NvMu/9ZW6FxFkBCGo1/YuRK2UXKIv8ZaXEKGpd0Wh49Jfx4KAeXC+piXBN86OtPBd4bdXpl7K2t34DY3AkReDbfCveecgCtNzz8mBJTMIAr80OsqQmINfVgbAMM1hf8xgpvOQLkBd9+kyU7QLLJI8gZQHQbU+u4PcCh60nRsAMYNQ2gkVkB2rSQsXlHa+G28xBGPTUyQ6xvVmQmmM+GnMtFf/Gr5fKxxMFijW2cRyWQ1TC/vYJHZ5jMfLRcb8ps2tlMO2fT7pwfvluRbZ+xuJ3trxdnpZ5iXj03na/eX+MDP1sQedwMBAAAAAAASUVORK5CYII="},81584:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAMAAACP+FljAAAAGFBMVEVMaXERfskSfcsSfs4Pf88SfcwSfcsSfcwutDKBAAAAB3RSTlMAMO9fIN93mHjZoAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAHRJREFUeJzl0EsOwCAIRdEHftj/jpuiRrFCp03KDM6dKPCrSWR3SpsLm4JYbEFsim19nA6O9Xh0zLPjGOA6GgUOLTyv+mxi6Z7q5tI+hri7iC1yGcXwknEuHMdaHB2zcByjcB2tCBxaRA4tIr+L2IH84t+cC1KTAtP2XgFRAAAAAElFTkSuQmCC"},33899:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAMAAACP+FljAAAAElBMVEVMaXETf88SfMwSfMwSfMoSfcyOsGoyAAAABXRSTlMAIN9YcMbrfeIAAAAJcEhZcwAACxMAAAsTAQCanBgAAABdSURBVHic3ZBBDsAgCATZBf7/5cYm2EqEnisHTXYmi1HkxAE+ONkaoHtngE42Bga8j4ZLXCWXysATbw28w42B2V9ssbl/vsPWCos8zMQP+6jK0BSArosgmisT//lcVzYBoYwvD3YAAAAASUVORK5CYII="},32345:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAKlBMVEVMaXEWm/8Wm/8Xl/8Vm/8Wm/8WnP8Wm/8WnP8WnP8Vmv8VnP8Wnv8XnP9OK7/sAAAADXRSTlMA798gQF+/ks9QMIBPiXfAYgAAAAlwSFlzAAALEwAACxMBAJqcGAAAALpJREFUeJytU+0SwiAMa2F8DM37v64n6khXOD1v+TeStukIIldiK1UBzWWb0jfFgZAc3eqguyRaPlH5C9qY3zEBOYmuvvcYU8KMB/JhANSXpyXfIIjQuPr+PyCIeJ9lLShdkNeC7HeIkb9CF2AtwG8C5ZNmdtIuqHx0T95kMU3Vr7mZmjq5UDVDOVifsIE8cL/05brDCKTOeAqMScSB3YTW1xteJJ585FPsn01IUv3D6eEvWYGwenr/4gH1qB0iHP7d/AAAAABJRU5ErkJggg=="}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9606,9586,9620,7331,7028,9534,1609,1169,9926,2872,8343,7929,5086,277,9021,7262,2888,179],(function(){return t(33505),t(23483)}));var n=e.O();_N_E=n}]);
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.