1 lines
22 KiB
1 lines
22 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-workshow"],{1913:function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.body[data-v-2c191fc6]{padding-top:%?0?%;display:flex;flex-direction:column;background-color:#000;min-height:%?1340?%;font-family:Arial-Regular;align-items:center;color:#fff}.body uni-image[data-v-2c191fc6]{width:%?678?%;height:%?678?%;border-radius:%?44?%}.body .title[data-v-2c191fc6]{display:flex;justify-content:space-between;width:%?678?%;font-size:%?36?%;margin-top:%?60?%}.body .title .a .b[data-v-2c191fc6]{margin-left:%?24?%}.body .title uni-image[data-v-2c191fc6]{width:%?48?%;height:%?48?%;margin-right:%?24?%}.body .name-content[data-v-2c191fc6]{width:%?678?%;display:flex;font-size:%?28?%;align-items:center;margin-top:%?32?%}.body .name-content uni-image[data-v-2c191fc6]{margin-right:%?24?%;width:%?64?%;height:%?64?%;border-radius:%?32?%}.body .price[data-v-2c191fc6]{width:%?678?%;display:flex;font-size:%?28?%;align-items:center;margin-top:%?32?%;border-bottom:%?1?% solid #545454;padding-bottom:%?60?%}.body .price .name[data-v-2c191fc6]{margin-right:%?40?%}.body .price .value[data-v-2c191fc6]{font-weight:700}.body .title-two[data-v-2c191fc6]{display:flex;justify-content:space-between;width:%?678?%;font-size:%?32?%;margin-top:%?60?%}.body .title-three[data-v-2c191fc6]{font-size:%?28?%;display:flex;justify-content:space-between;width:%?678?%;margin-top:%?36?%}.body .title-three .three-content[data-v-2c191fc6]{display:flex;width:%?337?%}.body .title-three .three-content uni-image[data-v-2c191fc6]{margin-left:%?18?%;width:%?32?%;height:%?32?%}.body .btn[data-v-2c191fc6]{background-color:#e84779;color:#fff;width:%?582?%;height:%?80?%;border-radius:%?40?%;font-size:%?28?%;margin-top:%?130?%}',""]),t.exports=e},"1da1":function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var c=t[o](a),s=c.value}catch(u){return void n(u)}c.done?e(s):Promise.resolve(s).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function c(t){r(a,i,o,c,s,"next",t)}function s(t){r(a,i,o,c,s,"throw",t)}c(void 0)}))}}n("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},"26ee":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABVVJREFUaEPVmWGoZWMUht+3TPmhmCKUH8QPYoqiTEaZmJD5YYoaocjITExDTKbMRCFkFKEIUaaMKArxY2SUQqYoU0aIQhFlih+3qFfP7du3fc8955599j771Ky63br3299e77e+tda73m0d4eau/ic5WtI2SddIOr/s95uktyU9YPv3ru9Y7vlOAJJcLukVSSeNeMk/kjbafq8vEK0BJLmqnPJRkvZLeqz8xtdzJT0i6RJJ/0m60/azfYBoBSAJTn8j6QxJT9q+a5hzSe6V9Gj5307bD08bRFsA6yW9I+l7SWfZ5pSHWpLbJD0jCdAjwdYfTnKspOMkzY3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BfUrzwr5btShtDklaMG/wi4SfA8libpK1/g2Z7QXGtlAm7H2bSaN6JmMxM4ihOf+FPQG2nTq4ohnJU0qmqTrN4WllMN0mwvTFe2h2guFY6FXXeBjbUfblp4tuuxiT1O2Zqe0bJyYANA6satdDyiWF7fZnNMI0pHGuTILmzhHLa2BTslztsbFeJl2sl0/JsWNdMvbY3FmuMjd0DNrdSedtHlO3MZgI3Jx8rc/qiqDoA50q656e2nWgLWIuvBGlSvHrTpG0J7KRBZna3pLwUfrs6AiygucsTwIHyVqkKJ/WjxNF2YG3vsFkB22G5v7xpIpIBSXkedrQ6ZthRtQ42fQeA7AksXRDLxwAAAABJRU5ErkJggg=="},"2a53":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return r}));var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",{staticClass:"body"},[r("v-uni-image",{attrs:{src:t.form.thumbnail,mode:""}}),r("v-uni-view",{staticClass:"title"},[r("v-uni-view",{staticClass:"a"},[t._v(t._s(t.form.collectionName)),r("v-uni-text",{staticClass:"b"},[t._v("#"+t._s(t.form.numberSales))])],1),r("v-uni-view",{staticClass:"c"},[t.form.whetherCollection?t._e():r("v-uni-image",{staticClass:"collect",attrs:{src:n("26ee"),mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.collect(t.form.id)}}}),t.form.whetherCollection?r("v-uni-image",{staticClass:"collect",attrs:{src:n("a026"),mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uncollect(t.form.id)}}}):t._e(),t.form.whetherLike?t._e():r("v-uni-image",{attrs:{src:n("2992"),mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.like(t.form.id)}}}),t.form.whetherLike?r("v-uni-image",{attrs:{src:n("46bb"),mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.unlike(t.form.id)}}}):t._e()],1)],1),r("v-uni-view",{staticClass:"name-content",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.artist(t.form.artistId)}}},[r("v-uni-image",{attrs:{src:t.form.thumbnail,mode:""}}),r("v-uni-view",{staticClass:"name"},[t._v(t._s(t.form.artistName))])],1),r("v-uni-view",{staticClass:"price"},[r("v-uni-view",{staticClass:"name"},[t._v("販売価額")]),r("v-uni-view",{staticClass:"value"},[t._v("¥"+t._s(t.form.price))])],1),r("v-uni-view",{staticClass:"title-two"},[t._v("ブロックチェーン情報")]),r("v-uni-view",{staticClass:"title-three"},[r("v-uni-view",{},[t._v("コントラクトアドレス")]),r("v-uni-view",{staticClass:"three-content"},[r("v-uni-view",{},[t._v(t._s(t.form.contractAddress))]),r("v-uni-image",{attrs:{src:n("fca4"),mode:""}})],1)],1),r("v-uni-view",{staticClass:"title-three"},[r("v-uni-view",{},[t._v("コレクション名")]),r("v-uni-view",{staticClass:"three-content"},[r("v-uni-view",{},[t._v(t._s(t.form.seriesName))])],1)],1),r("v-uni-view",{staticClass:"title-three"},[r("v-uni-view",{},[t._v("ブロックチェーン")]),r("v-uni-view",{staticClass:"three-content"},[r("v-uni-view",{},[t._v(t._s(t.form.numberRemaining))])],1)],1),r("v-uni-button",{staticClass:"btn",attrs:{type:"default"}},[t._v("購入")])],1)},o=[]},"2e70":function(t,e,n){var r=n("1913");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("4f06").default;i("6bafd054",r,!0,{sourceMap:!1,shadowMode:!1})},3096:function(t,e,n){"use strict";var r=n("2e70"),i=n.n(r);i.a},3948:function(t,e,n){"use strict";n.r(e);var r=n("2a53"),i=n("6112");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("3096");var a,c=n("f0c5"),s=Object(c["a"])(i["default"],r["b"],r["c"],!1,null,"2c191fc6",null,!1,r["a"],a);e["default"]=s.exports},"46bb":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvm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hHboRMOfF2Yn7kz99cNGLjq8ADuFYZ9+TUkx6F0CzFwFfNSz2nx29dr3bnvf8GnUTtlTjLpZ4D0CKL4MuxQzeqeRObqSyOccLt+8OlEh/v3fzgqam+CCAZV6EXGoEMeuymXkrCE/gAI7YLx3rmucvvH07iDYFEQdwHiw2KGb2y4B4f4e4lkhB0zcBNAB/V9GTwrbvS+b7h4Ka9/0WchMqdPbdyTHaTaC6fwIz86EiXX7k1tw7E2HMNzTAld+LFal4oWkyRRJeqjaOO0MZMb/WZmbSYY2X8KHOQC0TlvayKog/IaD13xrGbwAeVsz0j40y3/AOlBsbX220kuABMK0BeE/sgni69bv+8400H2mARhutxRfJFpou87MdmM6Vnt1CV8NqV/Mw4w/x3zoUYUBgGaazAAAAAElFTkSuQmCC"},6112:function(t,e,n){"use strict";n.r(e);var r=n("e144"),i=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},"96cf":function(t,e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag",u="object"===typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{l=e.regeneratorRuntime=u?t.exports:{},l.wrap=y;var f="suspendedStart",h="suspendedYield",A="executing",d="completed",v={},g={};g[a]=function(){return this};var m=Object.getPrototypeOf,w=m&&m(m(Q([])));w&&w!==r&&i.call(w,a)&&(g=w);var p=k.prototype=S.prototype=Object.create(g);x.prototype=p.constructor=k,k.constructor=x,k[s]=x.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,k):(t.__proto__=k,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(p),t},l.awrap=function(t){return{__await:t}},E(B.prototype),B.prototype[c]=function(){return this},l.AsyncIterator=B,l.async=function(t,e,n,r){var i=new B(y(t,e,n,r));return l.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(p),p[s]="Generator",p[a]=function(){return this},p.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=Q,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return c.type="throw",c.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;L(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:Q(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function y(t,e,n,r){var i=e&&e.prototype instanceof S?e:S,o=Object.create(i.prototype),a=new O(r||[]);return o._invoke=R(t,n,a),o}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}function S(){}function x(){}function k(){}function E(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function B(t){function e(n,r,o,a){var c=b(t[n],t,r);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"===typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then((function(t){e("next",t,o,a)}),(function(t){e("throw",t,o,a)})):Promise.resolve(u).then((function(t){s.value=t,o(s)}),(function(t){return e("throw",t,o,a)}))}a(c.arg)}var n;function r(t,r){function i(){return new Promise((function(n,i){e(t,r,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=r}function R(t,e,n){var r=f;return function(i,o){if(r===A)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw o;return N()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var c=C(a,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=A;var s=b(t,e,n);if("normal"===s.type){if(r=n.done?d:h,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=d,n.method="throw",n.arg=s.arg)}}}function C(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,C(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=b(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,v;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function J(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(J,this),this.reset(!0)}function Q(t){if(t){var e=t[a];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){while(++r<t.length)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:N}}function N(){return{value:n,done:!0}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())},a026:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABMFJREFUaEPtmV1sFFUYht/37My2WIRGSMAU/4Io2t22FKMkKhEiRkwl0VCxdofAhRGNBIxRrghKCBco8UajwcQouwWSxgThghhiQvyJKBrtTn9EI2hUwD9URNrd+fnMoCVbKJ3ZmdlFEs/tfN/7vc85c/ac/Ya4yAcvcv+IBaBgdi5R5MMUtgiQBCSvgC6VKmwhu51KTlIkADm8rN4+ab8FcO5oJgX42LKs++padxypFEQkAMvM7AJ471jmCBxOQC1g+o2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CfzNYx7sbLbVemUbHBdVAnlFNJR31Q2o2LDUD62qfabu3Rst2Lu0lv6lpTdt4oCZFWwNOz8sb3YPAmFyEva+ncY3GYj/QrNGzANpe+JpDlwQzJXm2gsJAPxPflMvIKSH+m1Xb4aQCA3hN/ubf6fTIKoDMiJDKAp1bsNZ6gyObzNb4IOWRZ7vxxrdu+LdegX3wsAF6Roc8725TiRrKk9ShwhNKtu1zF5uxPfmbCPI8NYLh4wTRugCCVoDuYSLr7ef3IXmYYk2PlxA4Qt0E/vf8B/Gao0s//Bu5Fm0DR/ka7AAAAAElFTkSuQmCC"},e144:function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var i=r(n("1da1")),o={data:function(){return{form:{}}},onLoad:function(t){t.id&&(this.id=t.id,this.worksShow(t.id))},methods:{worksShow:function(t){var e=this;return(0,i.default)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$myRequest({url:"/api/foreignAuth/worksShow?id="+t,header:{token:uni.getStorageSync("token"),Authorization:uni.getStorageSync("Authorization")}});case 2:r=n.sent,200==r.data.code&&(e.form=r.data.data);case 4:case"end":return n.stop()}}),n)})))()},collect:function(t){var e=this;return(0,i.default)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$myRequest({url:"/api/foreignAuth/star?id="+t,header:{token:uni.getStorageSync("token"),Authorization:uni.getStorageSync("Authorization")}});case 2:r=n.sent,200==r.data.code&&(uni.showToast({title:"收藏成功"}),e.worksShow(e.id));case 4:case"end":return n.stop()}}),n)})))()},uncollect:function(t){var e=this;return(0,i.default)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$myRequest({url:"/api/foreignAuth/cancel?id="+t,header:{token:uni.getStorageSync("token"),Authorization:uni.getStorageSync("Authorization")}});case 2:r=n.sent,200==r.data.code&&(uni.showToast({title:"取消收藏成功"}),e.worksShow(e.id));case 4:case"end":return n.stop()}}),n)})))()},like:function(t){var e=this;return(0,i.default)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$myRequest({url:"/api/foreignAuth/giveLike?id="+t,header:{token:uni.getStorageSync("token"),Authorization:uni.getStorageSync("Authorization")}});case 2:r=n.sent,200==r.data.code&&(uni.showToast({title:"点赞成功"}),e.worksShow(e.id));case 4:case"end":return n.stop()}}),n)})))()},unlike:function(t){var e=this;return(0,i.default)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$myRequest({url:"/api/foreignAuth/donPraise?id="+t,header:{token:uni.getStorageSync("token"),Authorization:uni.getStorageSync("Authorization")}});case 2:r=n.sent,200==r.data.code&&(uni.showToast({title:"取消点赞成功"}),e.worksShow(e.id));case 4:case"end":return n.stop()}}),n)})))()},artist:function(t){uni.navigateTo({url:"./details?id="+t})}}};e.default=o},fca4:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAbNJREFUSEvtlzFLXFEQhb8Tks4ypaCp1MLCImChYhFs1JCfYCGkCjYWNoG0dmqjIBJ/gBBQiIWCxQpWpolgihSCWwhZg0UKkeiRWa4SN+8Vu/tcm53y3Zn53syd++55IsdsdwGfgAngZZ5fHc/LwAbwUdIfZQXa7gH2CwLWIn4Ar/PAe8Ao8BdYAQ7rqCzL9TkwDrxLiwv/gW1HW38lhzlJ801C78Ntf0nwchZ4EDhI3v2SjgoETwOrkS8LHC2OVoe9knRSIHgK+FwF2/4KdANDkn7bbhnYqaJhSftPAR6RVGqDH3O47va43epHP8ftVrf8y9We6pZP9RBQShdHn6SQKoWY7QfXYu1x6gROE2la0lohVMB2iIAQA5W4jx+AA2L7GOgFLoDZJPwum3iBjiR5QrWG/lrPA78BtpNTE7zM0EpVZWZVnKqO87ycKi8Kvgt8iLkJ8BXwAhiTtFNLsB17HtIoWtSoxTb9lBTVVi3A34ABYEnSTKOZ640L8Psk2iN2EdgEbupNlOP/XdJ51lpV3toO2GRBsH/TnAGdkq5rc9+BnwFRebQ6/puKsi1Jb7OS3QJ8ZVYA3zsjnwAAAABJRU5ErkJggg=="}}]); |