PageSourceSearch

https://assets.icard.ai/_next/static/chunks/5499-10ab7d17c1ce1ab265a0.js

js icard.ai collected 2026-10-05 12:04:18 UTC 15,999 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5499],{16639:function(e,n,t){t.d(n,{Eu:function(){return o},p6:function(){return c},Et:function(){return a},gH:function(){return s},u6:function(){return l}});t(5648);var r=t(2784),i=t(52322),o=function(e){return e>=4.5?4.5:Math.floor(e)},c=function(e){return new Date(e).toLocaleDateString("zh-Hant-TW")},a=function(e,n){return n.find((function(n){return n.rewardType===e}))},s=function(e){return e.map((function(e,n){return"ERROR"===e.type?(0,i.jsx)("span",{style:{color:"red"},children:e.token},n):(0,i.jsx)(r.Fragment,{children:e.token},n)}))},l=function(e){var n=e.display_message,t=e.reward_type_advance,r=e.re_upper_bound,i=n.map((function(e){return"ERROR"!==e.type?e.token:""})).join("");return"".concat(t," ").concat(i," ").concat(r)}},64841:function(e,n,t){var r=t(27812),i=t(13888),o=t.n(i),c=t(70917),a=t(26273),s=t(24024),l=t(3799),u=t(23579),d=t(36705),p=t(64391),f=t(44379),h=t(3073),g=t(11548),x=t(62305),j=t(52322),m=u.Z.Toggle,v=u.Z.AccordionItem,b=(0,c.ZP)(m).withConfig({componentId:"sc-17takl9-0"})({outline:"none",userSelect:"none","&[aria-expanded=true] .sort-btn":{transform:"rotate(180deg)"}});n.Z=function(e){var n=e.reward,t=(0,p.o2)().index,i=n.rewards[0],c=i.id,m=i.display_message_simplified,_=i.reward_type_advance_ng,w=i.re_upper_bound,O=i.effective_date_e,P=i.chain_rewards,C=i.description_short,Z=i.reward_usage,k=i.detail,E=i.reward_channel_advance,I=i.r_conditions_long,S=[{id:c,display_message_simplified:m,reward_type_advance_ng:_,re_upper_bound:w,effective_date_e:O,description_short:C,reward_usage:Z,detail:k,reward_channel_advance:E,r_conditions_long:I}].concat((0,r.Z)(P||[])),N=P.length>0;return(0,j.jsx)(y,{$_css:(0,a.ZP)({".reward-type":{color:(0,s.Kz)(t,10)}}),children:N?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(s.kC,{justifyContent:"space-between",alignItems:"center",children:[(0,j.jsx)(x.Z,{card:n.card}),(0,j.jsx)(s.xu,{flex:1,ml:"10px",children:(0,j.jsx)(d.Z,{messages:S,flexWrap:"wrap"})})]}),(0,j.jsx)(f.Z,{messages:S.map((function(e){return o()(e,["id","description_short","reward_usage","detail","reward_channel_advance","r_conditions_long"])}))})]}):(0,j.jsx)(u.Z,{children:(0,j.jsxs)(v,{children:[(0,j.jsx)(b,{children:(0,j.jsxs)(s.kC,{justifyContent:"space-between",cursor:"pointer",alignItems:"center",children:[(0,j.jsx)(x.Z,{card:n.card}),(0,j.jsx)(s.xu,{flex:1,ml:"10px",children:(0,j.jsx)(h.Z,{id:c,description_short:C})}),(0,j.jsx)(l.ZP.SortOn,{className:"sort-btn"})]})}),(0,j.jsx)(u.Z.Collapse,{children:(0,j.jsx)(s.xu,{mt:"10px",mx:"5px",children:(0,j.jsx)(g.Z,{reward_usage:Z,detail:k,reward_channel_advance:E,r_conditions_long:I})})})]})})})};var y=(0,c.ZP)("div").withConfig({componentId:"sc-17takl9-1"})(["",""],(function(e){return e.$_css}))},11548:function(e,n,t){var r=t(79729),i=t.n(r),o=t(60417),c=t.n(o),a=t(70917),s=t(2784),l=t(24024),u=t
1(71671),d=t(52322);n.Z=function(e){var n=e.reward_usage,t=e.detail,r=e.reward_channel_advance,o=e.r_conditions_long,a=(0,s.useMemo)((function(){return{details:c()([n,t]).map((function(e){return"".concat(e,"\u3002")})).join(""),channel:r,condition:i()(o,"\uff0c")}}),[n,t,r,o]),l=a.details,f=a.channel,h=a.condition;return(0,d.jsx)(p,{as:"p",my:0,lineHeight:1.5,fontSize:["body",null,null,"h3"],children:(0,d.jsxs)(u.a,{style:{fontSize:2,lineHeight:1.6},children:[f&&(0,d.jsx)(u.H,{title:"\u5546\u5bb6\uff1a",content:f}),l&&(0,d.jsx)(u.H,{title:"\u8a73\u60c5\uff1a",content:l}),h&&(0,d.jsx)(u.H,{title:"\u689d\u4ef6\uff1a",content:h})]})})};var p=(0,a.ZP)(l.xu).withConfig({componentId:"sc-uxh675-0"})({wordBreak:"break-word "})},3073:function(e,n,t){var r=t(24024),i=t(46795),o=t(16639),c=t(64391),a=t(52322);n.Z=function(e){var n=e.description_short,t=e.id,s=(0,c.o2)().index,l=(0,c.k1)().id;return(0,a.jsxs)(r.kC,{display:"inline-flex",fontSize:["h4",null,null,"h2"],fontWeight:4,lineHeight:"1",alignItems:"center",flexWrap:"wrap",children:[n.map((function(e,n){var t=e.token;switch(e.type){case"BIGGER":return(0,a.jsx)(r.xv,{fontSizeEn:7,fontWeight:"bold",children:t},n);case"COLORED":return(0,a.jsx)(r.xv,{color:(0,r.Kz)(s,10),fontWeight:"bold",children:t},n);case"TIMESTAMP":return(0,o.p6)(+t);case"CURRENT_CHANNEL":return l.startsWith("target/")?t:"";default:return t}})),(0,a.jsx)(i.z,{id:t})]})}},44379:function(e,n,t){var r=t(70917),i=t(24024),o=t(3799),c=t(23579),a=t(3073),s=t(11548),l=t(52322),u=c.Z.Toggle,d=c.Z.AccordionItem,p=(0,r.ZP)(u).withConfig({componentId:"sc-jmm0vy-0"})({outline:"none",pt:"10px","&[aria-expanded=true]":{"[aria-label=toggle]":{transform:"rotate(180deg)"}},pointerEvents:"auto"}),f=(0,r.ZP)(d).withConfig({componentId:"sc-jmm0vy-1"})({paddingTop:"10px",paddingBottom:"10px"});n.Z=function(e){var n=e.messages;return(0,l.jsx)(c.Z,{allowMultiple:!0,children:n.map((function(e,n){var t=e.id,r=e.description_short,u=e.reward_usage,d=e.detail,h=e.reward_channel_advance,g=e.r_conditions_long;return(0,l.jsxs)(f,{children:[(0,l.jsx)(p,{children:(0,l.jsxs)(i.kC,{justifyContent:"space-between",alignItems:"center",cursor:"pointer",children:[(0,l.jsx)(i.xu,{flex:1,children:(0,l.jsx)(a.Z,{id:t,de
1scription_short:r},n)}),(0,l.jsx)(o.ZP.SortOn,{"aria-label":"toggle"})]})}),(0,l.jsx)(c.Z.Collapse,{children:(0,l.jsx)(i.xu,{mt:"10px",children:(0,l.jsx)(s.Z,{reward_usage:u,detail:d,reward_channel_advance:h,r_conditions_long:g})})})]},n)}))})}},62305:function(e,n,t){var r=t(70917),i=t(2784),o=t(26273),c=t(25603),a=t(24024),s=t(60396),l=t(3799),u=t(23336),d=t(3952),p=t(52322);n.Z=function(e){var n=e.card,t=e.showInfo,r=void 0!==t&&t,g=(0,c.useToggle)(),x=g.on,j=g.toggle,m=(0,i.useCallback)((function(e){e.stopPropagation(),j()}),[j]);return(0,p.jsxs)(a.kC,{alignItems:"flex-start",justifyContent:"center",children:[(0,p.jsxs)(f,{position:"relative",onClick:r?m:null,width:["54px",null,null,"70px"],height:["54px",null,null,"70px"],maxHeight:["54px",null,null,"70px"],$_css:(0,o.ZP)({cursor:r?"pointer":"default"}),children:[(0,p.jsx)(s.E,{images:n.thumbnail||d.Z,layout:"fill",alt:n.name,objectFit:"contain",customStyle:{width:"100%",height:"100%"}}),r&&(0,p.jsx)(h,{position:"absolute",top:["-2px",null,null,"-4px"],right:["-2px",null,null,"-4px"],size:["13px",null,null,"20px"],bg:"white",borderRadius:"50%",$_css2:(0,o.ZP)({"& svg":{width:"100%",height:"100%"}}),children:(0,p.jsx)(l.ZP.Info,{})})]}),x&&(0,p.jsx)(a.xu,{onClick:function(e){return e.stopPropagation()},children:(0,p.jsx)(u.CardDetailModalNg,{card:n,isOpen:x,handleClose:m})})]})};var f=(0,r.ZP)(a.xu).withConfig({componentId:"sc-pt3ct4-0"})(["",""],(function(e){return e.$_css})),h=(0,r.ZP)(a.xu).withConfig({componentId:"sc-pt3ct4-1"})(["",""],(function(e){return e.$_css2}))},36705:function(e,n,t){t.d(n,{Z:function(){return w}});var r=t(77460),i=t(23712),o=t(74930),c=t.n(o),a=t(70917),s=t(26273),l=t(24024),u=t
1(2784),d=t(52322),p="BIGGER",f="NORMAL",h="ERROR",g=function(e){var n,t,r,i=e.displayMessage,o=e.rewardType;i.forEach((function(e){var i=e.type,o=e.token;switch(i){case p:n=o;break;case f:t=o;break;case h:r=o}}));var c=t||!isNaN(+n);return r?(0,d.jsx)(j,{children:r}):(0,d.jsxs)("div",{children:[(0,d.jsxs)(l.kC,{alignItems:"center",justifyContent:"center",children:[(0,d.jsx)(l.xv,{fontSize:c?["24px",null,"38px"]:["h2",null,"19px"],fontWeight:"bold",lineHeight:["24px",null,"38px"],children:n}),(0,d.jsx)(l.xv,{fontSize:["body",null,"h4"],ml:"2px",alignSelf:"flex-end",lineHeight:"1.7",children:t})]}),(0,d.jsx)(m,{className:"reward-type",textAlign:"center",color:"azure",fontSize:["body",null,"h4"],mt:"2px",children:o||" "})]})},x=(0,u.memo)(g),j=(0,a.ZP)("span").withConfig({componentId:"sc-kn57mj-0"})({color:"red"}),m=(0,a.ZP)(l.xu).withConfig({componentId:"sc-kn57mj-1"})({whiteSpace:"pre"}),v=["messages","direction"];function b(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?b(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _={COLUMN:"column",ROW:"row"},w=function(e){var n=e.messages,t=e.direction,r=void 0===t?_.ROW:t,o=(0,i.Z)(e,v);return(0,d.jsx)(l.kC,y(y({flexDirection:r,alignItems:"start"},o),{},{children:n.map((function(e,t){var i=e.display_message_simplified,o=e.reward_type_advance_ng;return(0,d.jsxs)(O,{alignItems:r===_.COLUMN?"start":"center",flexDirection:r,$_css:(0,s.ZP)({".reward-type":{whiteSpace:r===_.COLUMN?"unset":null}}),children:[(0,d.jsx)(x,{displayMessage:i,rewardType:o}),t<n.length-1&&(0,d.jsx)(l.xv,{mx:1,fontSize:"h4",children:"+"})]},c()("reward_"))}))}))},O=(0,a.ZP)(l.kC).withConfig({componentId:"sc-13jvcyi-0"})(["",""],(function(e){return e.$_css}))},64391:function(e,n,t){t.d(n,{MO:function(){return c},ik:function(){return o},o2:function(){return l},vV:function(){return s},k1:function(){return p},wf:function(){return d}});var r=t(50315),i=(0,r.Y)(),o=i.Provider,c=i.useCurrentContext,a=(0,r.Y)(),s=a.Provider,l=a.useCurrentContext,u=(0,r.Y)(),d=u.Provider,p=u.useCurrentContext},14095:function(e,n,t){t.d(n,{S:function(){return i},g:function(){return o}});var r=t(2784),i=(0,r.createContext)(null),o=(0,r.createContext)(null)},88406:function(e,n,t){t.d(n,{E:function(){return o},b:function(){return c}});var r=t(2784),i=t(14095),o=function(){var e=(0,r.useContext)(i.S);if(!e)throw new Error("Context not found. Did you wrap the component inside Accordion?");return e},c=function(){var e=(0,r.useContext)(i.g);if(!e)throw new Error("Context not found. Did you wrap the component inside AccordionItem?");return e}},23579:function(e,n,t){t.d(n,{Z:function(){return A}});var r=t(77460),i=t(27812),o=t(23712),c=t(70917),a=t(2784),s=t(1842),l=t.n(s),u=t(14095),d=t(88406),p=0,f=t(52322),h=["children","eventKey","className","css"];function g(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function x(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?g(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}
1var j=function(e){var n=e.children,t=e.eventKey,r=e.className,i=e.css,c=(0,o.Z)(e,h),s=(0,d.E)().activeEventKeys,g=(0,a.useMemo)((function(){return l()(t)?p++:t}),[t]),j=s.includes(g),m=(0,a.useMemo)((function(){return{uuid:g,expanded:j}}),[j,g]),b="accordion__item".concat(r&&" "+r);return(0,f.jsx)(u.g.Provider,{value:m,children:(0,f.jsx)(v,x(x({className:b},c),{},{$_css:i,children:n}))})};j.defaultProps={className:""};var m=j,v=(0,c.ZP)("div").withConfig({componentId:"sc-yes8qh-0"})(["",""],(function(e){return e.$_css})),b=["children","onClick","id","className","css"];function y(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?y(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var w=function(e){var n=e.children,t=e.onClick,r=e.id,i=e.className,c=e.css,a=(0,o.Z)(e,b),s=(0,d.b)(),l=s.uuid,u=s.expanded,p=function(e){var n=(0,d.b)().uuid,t=(0,d.E)().onToggle;return function(r){t(n),e&&e(r)}}(t);return(0,f.jsx)("div",{role:"heading","aria-level":"3",children:(0,f.jsx)(P,_(_({tabIndex:"0",id:"accordion__heading-".concat(l).concat(r&&" "+r),className:"accordion__button".concat(i&&" "+i),"aria-expanded":u,"aria-controls":"accordion__panel-".concat(l),"aria-disabled":!1,role:"button",onClick:p},a),{},{$_css:c,children:n}))})};w.defaultProps={id:"",className:""};var O=w,P=(0,c.ZP)("div").withConfig({componentId:"sc-1nt9voe-0"})(["",""],(function(e){return e.$_css})),C=t(24024),Z=["children","id","className","css","forceRender"];function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function E(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?k(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var I=function(e){var n=e.children,t=e.id,r=e.className,i=e.css,c=e.forceRender,a=(0,o.Z)(e,Z),s=(0,d.b)(),l=s.uuid,u=s.expanded;return(0,f.jsx)(N,E(E({role:"region",id:"accordion__panel-".concat(l).concat(t&&" "+t),className:"accordion__panel".concat(r&&" "+r),"aria-labelledby":"accordion__heading-".concat(l),hidden:!u},a),{},{$_css:i,children:(u||c)&&n}))};I.defaultProps={id:"",className:""};var S=I,N=(0,c.ZP)(C.xu).withConfig({componentId:"sc-1fcwql5-0"})(["",""],(function(e){return e.$_css})),D=t(13980),T=function(e){var n=e.children,t=(0,d.b)(),r=t.uuid,i=t.expanded;return(0,f.jsx)(f.Fragment,{children:n({uuid:r,expanded:i})})};T.propTypes={children:t.n(D)().func.isRequired},T.defaultProps={children:function(){return null}};var R=T,M=["children","activeEventKeys","allowMultiple","onToggle","className","css"];function $(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function z(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var H=function(e){var n=e.children,t=e.activeEventKeys,r=void 0===t?[]:t,c=e.allowMultiple,s=void 0!==c&&c,l=e.onToggle,d=void 0===l?function(){}:l,p=e.className,h=void 0===p?"":p,g=e.css,x=(0,o.Z)(e,M),j=(0,a.useState)(r),m=j[0],v=j[1],b=(0,a.useCallback)((function(e){d(e);var n=m.includes(e);v(n?m.filter((function(n){return n!==e})):s?[].concat((0,i.Z)(m),[e]):[e])}),[s,m,d]),y=(0,a.useMemo)((function(){return{activeEventKeys:m,onToggle:b}}),[m,b]);return(0,f.jsx)(u.S.Provider,{value:y,children:(0,f.jsx)(W,z(z({className:"accordion".concat(h&&" "+h)},x),{},{$_css:g,children:n}))})};H.Toggle=O,H.Collapse=S,H.AccordionItem=m,H.AccordionState=R;var A=H,W=(0,c.ZP)("div").withConfig({componentId:"sc-5qrubb-0"})(["",""],(function(e){return e.$_css}))},19855:function(e,n,t){var r=t(70917),i=t(52322),o=(0,r.F4)(["from{opacity:0;}to{opacity:1;}"]),c=(0,r.F4)(["from{opacity:1;}to{opacity:0;}"]),a=r.ZP.div.withConfig({componentId:"sc-o54cxr-0"})(["animation:"," ","ms ",";"],o,(function(e){return e.time}),(function(e){return e.transitionTiming})),s=r.ZP.div.withConfig({componentId:"sc-o54cxr-1"})(["animation:"," ","ms ",";"],c,(function(e){return e.time}),(function(e){return e.transitionTiming}));n.Z=function(e){var n=e.isFadeIn,t=void 0===n||n,r=e.time,o=void 0===r?500:r,c=e.transitionTiming,l=void 0===c?"ease-in":c,u=e.children;return t?(0,i.jsx)(a,{time:o,transitionTiming:l,children:u}):(0,i.jsx)(s,{time:o,transitionTiming:l,children:u})}}}]);

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.