1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[27],{"5yIG":function(t,n,e){"use strict";e.d(n,"a",(function(){return i})),e.d(n,"b",(function(){return c}));var o=e("WExX"),r="SHOP/",i=Object(o.createStandardAction)("".concat(r,"FETCH_SHOP_PRODUCT"))(),c=Object(o.createAsyncAction)("".concat(r,"FETCH_SHOP_PRODUCT_REQUESTED"),"".concat(r,"FETCH_SHOP_PRODUCT_SUCCEEDED"),"".concat(r,"FETCH_SHOP_PRODUCT_FAILED"),"".concat(r,"FETCH_SHOP_PRODUCT_CANCEL"))()},AJKd:function(t,n,e){"use strict";e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return c}));var o=e("1OyB"),r=function t(n,e){Object(o.a)(this,t),this.icon=void 0,this.title=void 0,this.alt=void 0,this.icon=n,this.title=e,this.alt=e},i=function t(n){Object(o.a)(this,t),this.width=void 0,this.height=void 0,this.bgColor=void 0,this.fontColor=void 0,this.text=void 0;var e=n.width,r=n.height,i=n.bgColor,c=void 0===i?"#01c2c3":i,u=n.fontColor,a=void 0===u?"#ffffff":u,s=n.text;this.width=e,this.height=r,this.bgColor=c,this.fontColor=a,this.text=s},c=function t(n){Object(o.a)(this,t),this.logoUrl=void 0,this.title=void 0,this.price=void 0,this.soldNum=void 0,this.productId=void 0;var e=n.logoUrl,r=n.title,i=n.price,c=n.soldNum,u=n.productId;this.productId=u,this.logoUrl=e,this.title=r,this.price=i,this.soldNum=c}},FhEA:function(t,n,e){"use strict";n.a=function(t){return t.store}},G4qV:function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var o=function(t,n){return t===n};function r(t,n){var e="object"===typeof n?n:{equalityCheck:n},r=e.equalityCheck,i=void 0===r?o:r,c=e.maxSize,u=void 0===c?1:c,a=e.resultEqualityCheck,s=function(t){return function(n,e){if(null===n||null===e||n.length!==e.length)return!1;for(var o=n.length,r=0;r<o;r++)if(!t(n[r],e[r]))return!1;return!0}}(i),l=1===u?function(t){var n;return{get:function(e){return n&&t(n.key,e)?n.value:"NOT_FOUND"},put:function(t,e){n={key:t,value:e}},getEntries:function(){return n?[n]:[]},clear:function(){n=void 0}}}(s):function(t,n){var e=[];function o(t){var o=e.findIndex((function(e){return n(t,e.key)}));if(o>-1){var r=e[o];return o>0&&(e.splice(o,1),e.unshift(r)),r.value}return"NOT_FOUND"}return{get:o,put:function(n,r){"NOT_FOUND"===o(n)&&(e.unshift({key:n,value:r}),e.length>t&&e.pop())},getEntries:function(){return e},clear:function(){e=[]}}}(u,s);function f(){var n=l.get(arguments);if("NOT_FOUND"===n){if(n=t.apply(null,arguments),a){var e=l.getEntries(),o=e.find((function(t){return a(t.value,n)}));o&&(n=o.value)}l.put(arguments,n)}return n}return f.clearCache=function(){return l.clear()},f}function i(t){var n=Array.isArray(t[0])?t[0]:t;if(!n.every((function(t){return"function"===typeof t}))){var e=n.map((function(t){return"function"===typeof t?"function "+(t.name||"unnamed")+"()":typeof t})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+e+"]")}return n}function c(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),o=1;o<n;o++)e[o-1]=arguments[o];var r=function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];var c,u=0,a={memoizeOptions:void 0},s=o.pop();if("object"===typeof s&&(a=s,s=o.pop()),"function"!==typeof s)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof s+"]");var l=a,f=l.memoizeOptions,p=void 0===f?e:f,d=Array.isArray(p)?p:[p],h=i(o),y=t.apply(void 0,[function(){return u++,s.apply(null,arguments)}].concat(d)),m=t((function(){for(var t=[],n=h.length,e=0;e<n;e++)t.push(h[e].apply(null,arguments));return c=y.apply(null,t)}));return Object.assign(m,{resultFunc:s,memoizedResultFunc:y,dependencies:h,lastResult:function(){return c},recomputations:function(){return u},resetRecomputations:function(){return u=0}}),m};return r}var u=c(r)},"O/wt":function(t,n,e){"use strict";e.r(n);var o=e("o0o1"),r=e.n(o),i=e("HaE+"),c=e("wx14"),u=e("1OyB"),a=e("vuIU"),s=e("Ji7U"),l=e("md7G"),f=e("foSv"),p=e("MX0m"),d=e.n(p),h=e("q1tI"),y=e.n(h),m=e("/MKj"),v=e("TSYQ"),g=e.n(v),w=e("sgdq"),b=e("AJKd"),x=e("5yIG"),O=e("FhEA"),E=e("G4qV"),j=Object(E.a)((function(t){return t.shop}),(function(t){return t.product})),T=e("bU6i"),A=y.a.createElement;function S(t){var n=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(t){return!1}}();return function(){var e,o=Object(f.a)(t);if(n){var r=Object(f.a)(this).constructor;e=Reflect.construct(o,arguments,r)}else e=o.apply(this,arguments);return Object(l.a)(this,e)}}var k=function(t){Object(s.a)(e,t);var n=S(e);function e(t){var o;
1return Object(u.a)(this,e),(o=n.call(this,t)).onScroll=function(){if(o.state)for(var t=0;t<=o.state.itemDoms.length-1;t++){var n=o.state.itemDoms[t],e=o.state.itemDoms[t+1];if(!n)break;if(!e){n.getBoundingClientRect().top<=0&&o.state.activeIndex!==t&&o.setState({activeIndex:t});break}if(n.getBoundingClientRect().top<=0&&e.getBoundingClientRect().top>0&&o.state.activeIndex!==t){o.setState({activeIndex:t});break}}},o.goTopScroll=function(){Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop)>=window.innerHeight?o.setState({allowGoTop:!0}):o.setState({allowGoTop:!1})},o.handleGoTop=function(){o.state.allowGoTop&&window.scrollTo(0,0)},o.handleViewMore=function(){T.a.open("\u67e5\u770b\u66f4\u591a\u7cbe\u5f69\u5185\u5bb9")},o.state={itemDoms:null,activeIndex:0,allowGoTop:!1,timer:null},o}return Object(a.a)(e,[{key:"componentWillReceiveProps",value:function(t){var n=this;t&&setTimeout((function(){n.setState({itemDoms:document.querySelectorAll(".productShow"),timer:n.onScroll})}),0)}},{key:"componentDidMount",value:function(){var t=this;this.setState({itemDoms:document.querySelectorAll(".productShow"),timer:this.onScroll},(function(){document.addEventListener("scroll",t.state.timer,!1),document.addEventListener("scroll",t.goTopScroll,!1)}))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("scroll",this.state.timer),document.removeEventListener("scroll",this.goTopScroll)}},{key:"handleToggle",value:function(t,n){console.log(t,n.target.getAttribute("data-id"));var e=n.target.getAttribute("data-id");document.querySelector('[data-id="'.concat(e,'"]')).scrollIntoView()}},{key:"render",value:function(){var t=this,n=this.props.product,e=void 0===n?[]:n,o=this.state.allowGoTop;return A("article",{className:"jsx-2852205801 container"},e.map((function(n,e){return A("section",{key:"".concat(n.id).concat(e),"data-id":e,className:"jsx-2852205801 productShow"},A(w.h,{title:n.title,onViewMore:t.handleViewMore}),A("div",{className:"jsx-2852205801 productRow"},n.categoryList.map((function(t,n){if(t.product){var e=t.product,o=e.logoUrl,r=e.title,i=e.soldNum,u=e.price,a=e.productId;return A(w.k,Object(c.a)({},new b.c({logoUrl:o,title:r,soldNum:i,price:u,productId:a}),{key:"".concat(a).concat(n)}))}}))))})),A("section",{className:"jsx-2852205801 lift"},e.map((function(n,e){return A("p",{key:"".concat(e),"data-id":e,onClick:t.handleToggle.bind(t,e),className:"jsx-2852205801 "+(o=e,g()({item:!0,selected:!!t.state&&t.state.activeIndex===o})||"")},n.title);var o}))),A("section",{onClick:this.handleGoTop,style:{display:o?"block":"none"},className:"jsx-2852205801 gotop"}),A(d.a,{id:"2251279492"},[".gotop.jsx-2852205801{position:fixed;bottom:80px;right:82px;background:#000;height:50px;opacity:.3;width:50px;border-radius:50%;overflow:hidden;background-image:url(https://cdn.poizon.com/node-common/6e4099b3f250532ae0e9a795e9945b7a.png);background-size:auto 24px;background-position:50%;background-repeat:no-repeat;}",".gotop.jsx-2852205801:hover{opacity:.6;}"]),A(d.a,{id:"2710992964"},[".lift.jsx-2852205801{position:fixed;top:136px;right:89px;background:#fff;z-index:10;}",".lift.jsx-2852205801 .item.jsx-2852205801{margin:0;color:#14151a;font-family:PingFangSC-Regular;font-size:14px;font-weight:400;padding:6.5px 3px;text-align:center;cursor:pointer;}",".lift.jsx-2852205801 .item.selected.jsx-2852205801{color:#000;font-family:PingFangSC-Semibold;font-size:18px;font-weight:600;}",".container.jsx-2852205801{margin:140px auto 0;padding-bottom:260px;width:1085px;}",".productShow.jsx-2852205801{margin-top:90px;}",".productRow.jsx-2852205801{margin-top:30px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;}"]))}}],[{key:"getInitialProps",value:function(){var t=Object(i.a)(r.a.mark((function t(n){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Object(O.a)(n).dispatch(Object(x.a)()),t.abrupt("return",{});case 3:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}()}]),e}(y.a.Component);n.default=Object(m.b)((function(t){return{product:j(t)}}),(function(){return{}}))(k)},RmqX:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/shop",function(){return e("O/wt")}])},WExX:function(t,n,e){!function(t){"use strict";function n(t,n){return void 0===n&&(n=1),null==t}function e(t){throw void 0===t&&(t=1),new Error("Argument "+t+" is empty.")}function o(t){return"function"==typeof t&&"getType"in t}function r(t){throw void 0===t&&(t=1),new Error("Argument "+t+' is invali
1d, it should be an action-creator instance from "typesafe-actions"')}function i(t,n){if(null==t)throw new Error("Argument contains array with empty element at index "+n);if(null==t.getType)throw new Error("Argument contains array with invalid element at index "+n+', it should be an action-creator instance from "typesafe-actions"')}function c(t){return"string"==typeof t||"symbol"==typeof t}function u(t){return!c(t)}function a(t){throw void 0===t&&(t=1),new Error("Argument "+t+" is invalid, it should be an action type of type: string | symbol")}function s(t,n){if(null==t)throw new Error("Argument contains array with empty element at index "+n);if("string"!=typeof t&&"symbol"!=typeof t)throw new Error("Argument contains array with invalid element at index "+n+", it should be of type: string | symbol")}function l(t,o,i,c){return n(t)&&e(1),u(t)&&r(1),{type:t,payload:o,meta:i,error:c}}function f(t,o){n(t)&&e(1),u(t)&&a(1);var r=null!=o?o(t):function(){return{type:t}};return Object.assign(r,{getType:function(){return t},toString:function(){return t}})}function p(t){return n(t)&&e(1),u(t)&&a(1),Object.assign((function(){return f(t,(function(t){return function(n,e){return{type:t,payload:n,meta:e}}}))}),{map:function(n){return f(t,(function(t){return function(e,o){return Object.assign(n(e,o),{type:t})}}))}})}function d(t){return n(t)&&e(1),o(t)||r(1),t.getType()}t.action=l,t.createAction=function(t,n){var e=null==n?function(){return l(t)}:n(l.bind(null,t));return Object.assign(e,{getType:function(){return t},toString:function(){return t}})},t.createActionDeprecated=function(t,n){var e;if(null!=n){if("function"!=typeof n)throw new Error("second argument is not a function");e=n}else e=function(){return{type:t}};if(null==t)throw new Error("first argument is missing");if("string"!=typeof t&&"symbol"!=typeof t)throw new Error("first argument should be type of: string | symbol");return e},t.createAsyncAction=function(t,n,e,o){return[t,n,e].forEach(s),Object.assign((function(){return{request:p(t)(),success:p(n)(),failure:p(e)(),cancel:o&&p(o)()}}),{})},t.createCustomAction=f,t.createReducer=function t(n,e){void 0===e&&(e={});var r=Object.assign({},e);return Object.assign((function(t,e){if(void 0===t&&(t=n),r.hasOwnProperty(e.type)){var o=r[e.type];if("function"!=typeof o)throw Error('Reducer under "'+e.type+'" key is not a valid reducer');return o(t,e)}return t}),{handlers:Object.assign({},r),handleAction:function(e,i){var u=Array.isArray(e)?e:[e],a={};return u.map((function(t){return o(t)?d(t):c(t)?t:function(t){throw void 0===t&&(t=1),new Error("Argument "+t+' is invalid, it should be an action-creator instance from "typesafe-actions" or action type of type: string | symbol')}()})).forEach((function(t){return a[t]=i})),t(n,Object.assign({},r,a))}})},t.createStandardAction=p,t.getType=d,t.isActionOf=function(t,o){n(t)&&e(1);var r=Array.isArray(t)?t:[t];r.forEach(i);var c=function(t){return r.some((function(n){return t.type===n.getType()}))};return void 0===o?c:c(o)},t.isOfType=function(t,o){n(t)&&e(1);var r=Array.isArray(t)?t:[t];r.forEach(s);var i=function(t){return r.includes(t.type)};return void 0===o?i:i(o)}}(n)}},[["RmqX",0,1,2,3,4,5,6]]]);
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.