Best JavaScript code snippet using fast-check-monorepo
benchmark.js
Source:benchmark.js
1(function() {2 'use strict';3 var ReactImage0 = function(props) {4 if (props.x === 0) {5 return React.createElement('i', {6 alt: '',7 className: '_3-99 img sp_i534r85sjIn sx_538591',8 src: null,9 });10 }11 if (props.x === 15) {12 return React.createElement('i', {13 className: '_3ut_ img sp_i534r85sjIn sx_e8ac93',14 src: null,15 alt: '',16 });17 }18 if (props.x === 22) {19 return React.createElement('i', {20 alt: '',21 className: '_3-8_ img sp_i534r85sjIn sx_7b15bc',22 src: null,23 });24 }25 if (props.x === 29) {26 return React.createElement('i', {27 className: '_1m1s _4540 _p img sp_i534r85sjIn sx_f40b1c',28 src: null,29 alt: '',30 });31 }32 if (props.x === 42) {33 return React.createElement(34 'i',35 {36 alt: 'Warning',37 className: '_585p img sp_i534r85sjIn sx_20273d',38 src: null,39 },40 React.createElement('u', null, 'Warning')41 );42 }43 if (props.x === 67) {44 return React.createElement('i', {45 alt: '',46 className: '_3-8_ img sp_i534r85sjIn sx_b5d079',47 src: null,48 });49 }50 if (props.x === 70) {51 return React.createElement('i', {52 src: null,53 alt: '',54 className: 'img sp_i534r85sjIn sx_29f8c9',55 });56 }57 if (props.x === 76) {58 return React.createElement('i', {59 alt: '',60 className: '_3-8_ img sp_i534r85sjIn sx_ef6a9c',61 src: null,62 });63 }64 if (props.x === 79) {65 return React.createElement('i', {66 src: null,67 alt: '',68 className: 'img sp_i534r85sjIn sx_6f8c43',69 });70 }71 if (props.x === 88) {72 return React.createElement('i', {73 src: null,74 alt: '',75 className: 'img sp_i534r85sjIn sx_e94a2d',76 });77 }78 if (props.x === 91) {79 return React.createElement('i', {80 src: null,81 alt: '',82 className: 'img sp_i534r85sjIn sx_7ed7d4',83 });84 }85 if (props.x === 94) {86 return React.createElement('i', {87 src: null,88 alt: '',89 className: 'img sp_i534r85sjIn sx_930440',90 });91 }92 if (props.x === 98) {93 return React.createElement('i', {94 src: null,95 alt: '',96 className: 'img sp_i534r85sjIn sx_750c83',97 });98 }99 if (props.x === 108) {100 return React.createElement('i', {101 src: null,102 alt: '',103 className: 'img sp_i534r85sjIn sx_73c1bb',104 });105 }106 if (props.x === 111) {107 return React.createElement('i', {108 src: null,109 alt: '',110 className: 'img sp_i534r85sjIn sx_29f28d',111 });112 }113 if (props.x === 126) {114 return React.createElement('i', {115 src: null,116 alt: '',117 className: '_3-8_ img sp_i534r85sjIn sx_91c59e',118 });119 }120 if (props.x === 127) {121 return React.createElement('i', {122 alt: '',123 className: '_3-99 img sp_i534r85sjIn sx_538591',124 src: null,125 });126 }127 if (props.x === 134) {128 return React.createElement('i', {129 src: null,130 alt: '',131 className: '_3-8_ img sp_i534r85sjIn sx_c8eb75',132 });133 }134 if (props.x === 135) {135 return React.createElement('i', {136 alt: '',137 className: '_3-99 img sp_i534r85sjIn sx_538591',138 src: null,139 });140 }141 if (props.x === 148) {142 return React.createElement('i', {143 className: '_3yz6 _5whs img sp_i534r85sjIn sx_896996',144 src: null,145 alt: '',146 });147 }148 if (props.x === 152) {149 return React.createElement('i', {150 className: '_5b5p _4gem img sp_i534r85sjIn sx_896996',151 src: null,152 alt: '',153 });154 }155 if (props.x === 153) {156 return React.createElement('i', {157 className: '_541d img sp_i534r85sjIn sx_2f396a',158 src: null,159 alt: '',160 });161 }162 if (props.x === 160) {163 return React.createElement('i', {164 src: null,165 alt: '',166 className: 'img sp_i534r85sjIn sx_31d9b0',167 });168 }169 if (props.x === 177) {170 return React.createElement('i', {171 alt: '',172 className: '_3-99 img sp_i534r85sjIn sx_2c18b7',173 src: null,174 });175 }176 if (props.x === 186) {177 return React.createElement('i', {178 src: null,179 alt: '',180 className: 'img sp_i534r85sjIn sx_0a681f',181 });182 }183 if (props.x === 195) {184 return React.createElement('i', {185 className: '_1-lx img sp_OkER5ktbEyg sx_b369b4',186 src: null,187 alt: '',188 });189 }190 if (props.x === 198) {191 return React.createElement('i', {192 className: '_1-lx img sp_i534r85sjIn sx_96948e',193 src: null,194 alt: '',195 });196 }197 if (props.x === 237) {198 return React.createElement('i', {199 className: '_541d img sp_i534r85sjIn sx_2f396a',200 src: null,201 alt: '',202 });203 }204 if (props.x === 266) {205 return React.createElement('i', {206 alt: '',207 className: '_3-99 img sp_i534r85sjIn sx_538591',208 src: null,209 });210 }211 if (props.x === 314) {212 return React.createElement('i', {213 className: '_1cie _1cif img sp_i534r85sjIn sx_6e6820',214 src: null,215 alt: '',216 });217 }218 if (props.x === 345) {219 return React.createElement('i', {220 className: '_1cie img sp_i534r85sjIn sx_e896cf',221 src: null,222 alt: '',223 });224 }225 if (props.x === 351) {226 return React.createElement('i', {227 className: '_1cie img sp_i534r85sjIn sx_38fed8',228 src: null,229 alt: '',230 });231 }232 };233 var AbstractLink1 = function(props) {234 if (props.x === 1) {235 return React.createElement(236 'a',237 {238 className: '_387r _55pi _2agf _4jy0 _4jy4 _517h _51sy _42ft',239 style: {width: 250, maxWidth: '250px'},240 disabled: null,241 label: null,242 href: '#',243 rel: undefined,244 onClick: function() {},245 },246 null,247 React.createElement(248 'span',249 {className: '_55pe', style: {maxWidth: '236px'}},250 null,251 React.createElement(252 'span',253 null,254 React.createElement('span', {className: '_48u-'}, 'Account:'),255 ' ',256 'Dick Madanson (10149999073643408)'257 )258 ),259 React.createElement(ReactImage0, {x: 0})260 );261 }262 if (props.x === 43) {263 return React.createElement(264 'a',265 {266 className: '_585q _50zy _50-0 _50z- _5upp _42ft',267 size: 'medium',268 type: null,269 title: 'Remove',270 'data-hover': undefined,271 'data-tooltip-alignh': undefined,272 'data-tooltip-content': undefined,273 disabled: null,274 label: null,275 href: '#',276 rel: undefined,277 onClick: function() {},278 },279 undefined,280 'Remove',281 undefined282 );283 }284 if (props.x === 49) {285 return React.createElement(286 'a',287 {288 target: '_blank',289 href: '/ads/manage/billing.php?act=10149999073643408',290 rel: undefined,291 onClick: function() {},292 },293 React.createElement(XUIText29, {x: 48})294 );295 }296 if (props.x === 128) {297 return React.createElement(298 'a',299 {300 className: ' _5bbf _55pi _2agf _4jy0 _4jy4 _517h _51sy _42ft',301 style: {maxWidth: '200px'},302 disabled: null,303 label: null,304 href: '#',305 rel: undefined,306 onClick: function() {},307 },308 null,309 React.createElement(310 'span',311 {className: '_55pe', style: {maxWidth: '186px'}},312 React.createElement(ReactImage0, {x: 126}),313 'Search'314 ),315 React.createElement(ReactImage0, {x: 127})316 );317 }318 if (props.x === 136) {319 return React.createElement(320 'a',321 {322 className: ' _5bbf _55pi _2agf _4jy0 _4jy4 _517h _51sy _42ft',323 style: {maxWidth: '200px'},324 disabled: null,325 label: null,326 href: '#',327 rel: undefined,328 onClick: function() {},329 },330 null,331 React.createElement(332 'span',333 {className: '_55pe', style: {maxWidth: '186px'}},334 React.createElement(ReactImage0, {x: 134}),335 'Filters'336 ),337 React.createElement(ReactImage0, {x: 135})338 );339 }340 if (props.x === 178) {341 return React.createElement(342 'a',343 {344 className: '_1_-t _1_-v _42ft',345 disabled: null,346 height: 'medium',347 role: 'button',348 label: null,349 href: '#',350 rel: undefined,351 onClick: function() {},352 },353 undefined,354 'Lifetime',355 React.createElement(ReactImage0, {x: 177})356 );357 }358 if (props.x === 207) {359 return React.createElement(360 'a',361 {href: '#', rel: undefined, onClick: function() {}},362 'Create Ad Set'363 );364 }365 if (props.x === 209) {366 return React.createElement(367 'a',368 {href: '#', rel: undefined, onClick: function() {}},369 'View Ad Set'370 );371 }372 if (props.x === 241) {373 return React.createElement(374 'a',375 {href: '#', rel: undefined, onClick: function() {}},376 'Set a Limit'377 );378 }379 if (props.x === 267) {380 return React.createElement(381 'a',382 {383 className: '_p _55pi _2agf _4jy0 _4jy3 _517h _51sy _42ft',384 style: {maxWidth: '200px'},385 disabled: null,386 label: null,387 href: '#',388 rel: undefined,389 onClick: function() {},390 },391 null,392 React.createElement(393 'span',394 {className: '_55pe', style: {maxWidth: '186px'}},395 null,396 'Links'397 ),398 React.createElement(ReactImage0, {x: 266})399 );400 }401 };402 var Link2 = function(props) {403 if (props.x === 2) {404 return React.createElement(AbstractLink1, {x: 1});405 }406 if (props.x === 44) {407 return React.createElement(AbstractLink1, {x: 43});408 }409 if (props.x === 50) {410 return React.createElement(AbstractLink1, {x: 49});411 }412 if (props.x === 129) {413 return React.createElement(AbstractLink1, {x: 128});414 }415 if (props.x === 137) {416 return React.createElement(AbstractLink1, {x: 136});417 }418 if (props.x === 179) {419 return React.createElement(AbstractLink1, {x: 178});420 }421 if (props.x === 208) {422 return React.createElement(AbstractLink1, {x: 207});423 }424 if (props.x === 210) {425 return React.createElement(AbstractLink1, {x: 209});426 }427 if (props.x === 242) {428 return React.createElement(AbstractLink1, {x: 241});429 }430 if (props.x === 268) {431 return React.createElement(AbstractLink1, {x: 267});432 }433 };434 var AbstractButton3 = function(props) {435 if (props.x === 3) {436 return React.createElement(Link2, {x: 2});437 }438 if (props.x === 20) {439 return React.createElement(440 'button',441 {442 className: '_5n7z _4jy0 _4jy4 _517h _51sy _42ft',443 onClick: function() {},444 label: null,445 type: 'submit',446 value: '1',447 },448 undefined,449 'Discard Changes',450 undefined451 );452 }453 if (props.x === 23) {454 return React.createElement(455 'button',456 {457 className: '_5n7z _2yak _4lj- _4jy0 _4jy4 _517h _51sy _42ft _42fr',458 disabled: true,459 onClick: function() {},460 'data-tooltip-content': 'You have no changes to publish',461 'data-hover': 'tooltip',462 label: null,463 type: 'submit',464 value: '1',465 },466 React.createElement(ReactImage0, {x: 22}),467 'Review Changes',468 undefined469 );470 }471 if (props.x === 45) {472 return React.createElement(Link2, {x: 44});473 }474 if (props.x === 68) {475 return React.createElement(476 'button',477 {478 className: '_u_k _4jy0 _4jy4 _517h _51sy _42ft',479 onClick: function() {},480 label: null,481 type: 'submit',482 value: '1',483 },484 React.createElement(ReactImage0, {x: 67}),485 'Create Campaign',486 undefined487 );488 }489 if (props.x === 71) {490 return React.createElement(491 'button',492 {493 className: '_u_k _3qx6 _p _4jy0 _4jy4 _517h _51sy _42ft',494 label: null,495 type: 'submit',496 value: '1',497 },498 React.createElement(ReactImage0, {x: 70}),499 undefined,500 undefined501 );502 }503 if (props.x === 77) {504 return React.createElement(505 'button',506 {507 'aria-label': 'Edit',508 'data-tooltip-content': 'Edit Campaigns (Ctrl+U)',509 'data-hover': 'tooltip',510 className: '_d2_ _u_k noMargin _4jy0 _4jy4 _517h _51sy _42ft',511 disabled: false,512 onClick: function() {},513 label: null,514 type: 'submit',515 value: '1',516 },517 React.createElement(ReactImage0, {x: 76}),518 'Edit',519 undefined520 );521 }522 if (props.x === 80) {523 return React.createElement(524 'button',525 {526 className: '_u_k _3qx6 _p _4jy0 _4jy4 _517h _51sy _42ft',527 disabled: false,528 label: null,529 type: 'submit',530 value: '1',531 },532 React.createElement(ReactImage0, {x: 79}),533 undefined,534 undefined535 );536 }537 if (props.x === 89) {538 return React.createElement(539 'button',540 {541 'aria-label': 'Revert',542 className: '_u_k _4jy0 _4jy4 _517h _51sy _42ft _42fr',543 'data-hover': 'tooltip',544 'data-tooltip-content': 'Revert',545 disabled: true,546 onClick: function() {},547 label: null,548 type: 'submit',549 value: '1',550 },551 React.createElement(ReactImage0, {x: 88}),552 undefined,553 undefined554 );555 }556 if (props.x === 92) {557 return React.createElement(558 'button',559 {560 'aria-label': 'Delete',561 className: '_u_k _4jy0 _4jy4 _517h _51sy _42ft',562 'data-hover': 'tooltip',563 'data-tooltip-content': 'Delete',564 disabled: false,565 onClick: function() {},566 label: null,567 type: 'submit',568 value: '1',569 },570 React.createElement(ReactImage0, {x: 91}),571 undefined,572 undefined573 );574 }575 if (props.x === 95) {576 return React.createElement(577 'button',578 {579 'aria-label': 'Duplicate',580 className: '_u_k _4jy0 _4jy4 _517h _51sy _42ft',581 'data-hover': 'tooltip',582 'data-tooltip-content': 'Duplicate',583 disabled: false,584 onClick: function() {},585 label: null,586 type: 'submit',587 value: '1',588 },589 React.createElement(ReactImage0, {x: 94}),590 undefined,591 undefined592 );593 }594 if (props.x === 99) {595 return React.createElement(596 'button',597 {598 'aria-label': 'Export & Import',599 className: '_u_k noMargin _p _4jy0 _4jy4 _517h _51sy _42ft',600 'data-hover': 'tooltip',601 'data-tooltip-content': 'Export & Import',602 onClick: function() {},603 label: null,604 type: 'submit',605 value: '1',606 },607 React.createElement(ReactImage0, {x: 98}),608 undefined,609 undefined610 );611 }612 if (props.x === 109) {613 return React.createElement(614 'button',615 {616 'aria-label': 'Create Report',617 className: '_u_k _5n7z _4jy0 _4jy4 _517h _51sy _42ft',618 'data-hover': 'tooltip',619 'data-tooltip-content': 'Create Report',620 disabled: false,621 style: {boxSizing: 'border-box', height: '28px', width: '48px'},622 onClick: function() {},623 label: null,624 type: 'submit',625 value: '1',626 },627 React.createElement(ReactImage0, {x: 108}),628 undefined,629 undefined630 );631 }632 if (props.x === 112) {633 return React.createElement(634 'button',635 {636 'aria-label': 'Campaign Tags',637 className: ' _5uy7 _4jy0 _4jy4 _517h _51sy _42ft',638 'data-hover': 'tooltip',639 'data-tooltip-content': 'Campaign Tags',640 disabled: false,641 onClick: function() {},642 label: null,643 type: 'submit',644 value: '1',645 },646 React.createElement(ReactImage0, {x: 111}),647 undefined,648 undefined649 );650 }651 if (props.x === 130) {652 return React.createElement(Link2, {x: 129});653 }654 if (props.x === 138) {655 return React.createElement(Link2, {x: 137});656 }657 if (props.x === 149) {658 return React.createElement(659 'button',660 {661 className: '_3yz9 _1t-2 _50z- _50zy _50zz _50z- _5upp _42ft',662 size: 'small',663 onClick: function() {},664 type: 'button',665 title: 'Remove',666 'data-hover': undefined,667 'data-tooltip-alignh': undefined,668 'data-tooltip-content': undefined,669 label: null,670 },671 undefined,672 'Remove',673 undefined674 );675 }676 if (props.x === 156) {677 return React.createElement(678 'button',679 {680 className: '_5b5u _5b5v _4jy0 _4jy3 _517h _51sy _42ft',681 onClick: function() {},682 label: null,683 type: 'submit',684 value: '1',685 },686 undefined,687 'Apply',688 undefined689 );690 }691 if (props.x === 161) {692 return React.createElement(693 'button',694 {695 className: '_1wdf _4jy0 _517i _517h _51sy _42ft',696 onClick: function() {},697 label: null,698 type: 'submit',699 value: '1',700 },701 React.createElement(ReactImage0, {x: 160}),702 undefined,703 undefined704 );705 }706 if (props.x === 180) {707 return React.createElement(Link2, {x: 179});708 }709 if (props.x === 187) {710 return React.createElement(711 'button',712 {713 'aria-label': 'List Settings',714 className: '_u_k _3c5o _1-r0 _4jy0 _4jy4 _517h _51sy _42ft',715 'data-hover': 'tooltip',716 'data-tooltip-content': 'List Settings',717 onClick: function() {},718 label: null,719 type: 'submit',720 value: '1',721 },722 React.createElement(ReactImage0, {x: 186}),723 undefined,724 undefined725 );726 }727 if (props.x === 269) {728 return React.createElement(Link2, {x: 268});729 }730 if (props.x === 303) {731 return React.createElement(732 'button',733 {734 className: '_tm3 _tm6 _tm7 _4jy0 _4jy6 _517h _51sy _42ft',735 'data-tooltip-position': 'right',736 'data-tooltip-content': 'Campaigns',737 'data-hover': 'tooltip',738 onClick: function() {},739 label: null,740 type: 'submit',741 value: '1',742 },743 undefined,744 React.createElement(745 'div',746 null,747 React.createElement('div', {className: '_tma'}),748 React.createElement('div', {className: '_tm8'}),749 React.createElement('div', {className: '_tm9'}, 1)750 ),751 undefined752 );753 }754 if (props.x === 305) {755 return React.createElement(756 'button',757 {758 className: '_tm4 _tm6 _4jy0 _4jy6 _517h _51sy _42ft',759 'data-tooltip-position': 'right',760 'data-tooltip-content': 'Ad Sets',761 'data-hover': 'tooltip',762 onClick: function() {},763 label: null,764 type: 'submit',765 value: '1',766 },767 undefined,768 React.createElement(769 'div',770 null,771 React.createElement('div', {className: '_tma'}),772 React.createElement('div', {className: '_tm8'}),773 React.createElement('div', {className: '_tm9'}, 1)774 ),775 undefined776 );777 }778 if (props.x === 307) {779 return React.createElement(780 'button',781 {782 className: '_tm5 _tm6 _4jy0 _4jy6 _517h _51sy _42ft',783 'data-tooltip-position': 'right',784 'data-tooltip-content': 'Ads',785 'data-hover': 'tooltip',786 onClick: function() {},787 label: null,788 type: 'submit',789 value: '1',790 },791 undefined,792 React.createElement(793 'div',794 null,795 React.createElement('div', {className: '_tma'}),796 React.createElement('div', {className: '_tm8'}),797 React.createElement('div', {className: '_tm9'}, 1)798 ),799 undefined800 );801 }802 };803 var XUIButton4 = function(props) {804 if (props.x === 4) {805 return React.createElement(AbstractButton3, {x: 3});806 }807 if (props.x === 21) {808 return React.createElement(AbstractButton3, {x: 20});809 }810 if (props.x === 24) {811 return React.createElement(AbstractButton3, {x: 23});812 }813 if (props.x === 69) {814 return React.createElement(AbstractButton3, {x: 68});815 }816 if (props.x === 72) {817 return React.createElement(AbstractButton3, {x: 71});818 }819 if (props.x === 78) {820 return React.createElement(AbstractButton3, {x: 77});821 }822 if (props.x === 81) {823 return React.createElement(AbstractButton3, {x: 80});824 }825 if (props.x === 90) {826 return React.createElement(AbstractButton3, {x: 89});827 }828 if (props.x === 93) {829 return React.createElement(AbstractButton3, {x: 92});830 }831 if (props.x === 96) {832 return React.createElement(AbstractButton3, {x: 95});833 }834 if (props.x === 100) {835 return React.createElement(AbstractButton3, {x: 99});836 }837 if (props.x === 110) {838 return React.createElement(AbstractButton3, {x: 109});839 }840 if (props.x === 113) {841 return React.createElement(AbstractButton3, {x: 112});842 }843 if (props.x === 131) {844 return React.createElement(AbstractButton3, {x: 130});845 }846 if (props.x === 139) {847 return React.createElement(AbstractButton3, {x: 138});848 }849 if (props.x === 157) {850 return React.createElement(AbstractButton3, {x: 156});851 }852 if (props.x === 162) {853 return React.createElement(AbstractButton3, {x: 161});854 }855 if (props.x === 188) {856 return React.createElement(AbstractButton3, {x: 187});857 }858 if (props.x === 270) {859 return React.createElement(AbstractButton3, {x: 269});860 }861 if (props.x === 304) {862 return React.createElement(AbstractButton3, {x: 303});863 }864 if (props.x === 306) {865 return React.createElement(AbstractButton3, {x: 305});866 }867 if (props.x === 308) {868 return React.createElement(AbstractButton3, {x: 307});869 }870 };871 var AbstractPopoverButton5 = function(props) {872 if (props.x === 5) {873 return React.createElement(XUIButton4, {x: 4});874 }875 if (props.x === 132) {876 return React.createElement(XUIButton4, {x: 131});877 }878 if (props.x === 140) {879 return React.createElement(XUIButton4, {x: 139});880 }881 if (props.x === 271) {882 return React.createElement(XUIButton4, {x: 270});883 }884 };885 var ReactXUIPopoverButton6 = function(props) {886 if (props.x === 6) {887 return React.createElement(AbstractPopoverButton5, {x: 5});888 }889 if (props.x === 133) {890 return React.createElement(AbstractPopoverButton5, {x: 132});891 }892 if (props.x === 141) {893 return React.createElement(AbstractPopoverButton5, {x: 140});894 }895 if (props.x === 272) {896 return React.createElement(AbstractPopoverButton5, {x: 271});897 }898 };899 var BIGAdAccountSelector7 = function(props) {900 if (props.x === 7) {901 return React.createElement(902 'div',903 null,904 React.createElement(ReactXUIPopoverButton6, {x: 6}),905 null906 );907 }908 };909 var FluxContainer_AdsPEBIGAdAccountSelectorContainer_8 = function(props) {910 if (props.x === 8) {911 return React.createElement(BIGAdAccountSelector7, {x: 7});912 }913 };914 var ErrorBoundary9 = function(props) {915 if (props.x === 9) {916 return React.createElement(917 FluxContainer_AdsPEBIGAdAccountSelectorContainer_8,918 {x: 8}919 );920 }921 if (props.x === 13) {922 return React.createElement(FluxContainer_AdsPENavigationBarContainer_12, {923 x: 12,924 });925 }926 if (props.x === 27) {927 return React.createElement(FluxContainer_AdsPEPublishButtonContainer_18, {928 x: 26,929 });930 }931 if (props.x === 32) {932 return React.createElement(ReactPopoverMenu20, {x: 31});933 }934 if (props.x === 38) {935 return React.createElement(AdsPEResetDialog24, {x: 37});936 }937 if (props.x === 57) {938 return React.createElement(FluxContainer_AdsPETopErrorContainer_35, {939 x: 56,940 });941 }942 if (props.x === 60) {943 return React.createElement(FluxContainer_AdsGuidanceChannel_36, {x: 59});944 }945 if (props.x === 64) {946 return React.createElement(FluxContainer_AdsBulkEditDialogContainer_38, {947 x: 63,948 });949 }950 if (props.x === 124) {951 return React.createElement(AdsPECampaignGroupToolbarContainer57, {952 x: 123,953 });954 }955 if (props.x === 170) {956 return React.createElement(AdsPEFilterContainer72, {x: 169});957 }958 if (props.x === 175) {959 return React.createElement(AdsPETablePagerContainer75, {x: 174});960 }961 if (props.x === 193) {962 return React.createElement(AdsPEStatRangeContainer81, {x: 192});963 }964 if (props.x === 301) {965 return React.createElement(966 FluxContainer_AdsPEMultiTabDrawerContainer_137,967 {x: 300}968 );969 }970 if (props.x === 311) {971 return React.createElement(AdsPEOrganizerContainer139, {x: 310});972 }973 if (props.x === 471) {974 return React.createElement(AdsPECampaignGroupTableContainer159, {x: 470});975 }976 if (props.x === 475) {977 return React.createElement(AdsPEContentContainer161, {x: 474});978 }979 };980 var AdsErrorBoundary10 = function(props) {981 if (props.x === 10) {982 return React.createElement(ErrorBoundary9, {x: 9});983 }984 if (props.x === 14) {985 return React.createElement(ErrorBoundary9, {x: 13});986 }987 if (props.x === 28) {988 return React.createElement(ErrorBoundary9, {x: 27});989 }990 if (props.x === 33) {991 return React.createElement(ErrorBoundary9, {x: 32});992 }993 if (props.x === 39) {994 return React.createElement(ErrorBoundary9, {x: 38});995 }996 if (props.x === 58) {997 return React.createElement(ErrorBoundary9, {x: 57});998 }999 if (props.x === 61) {1000 return React.createElement(ErrorBoundary9, {x: 60});1001 }1002 if (props.x === 65) {1003 return React.createElement(ErrorBoundary9, {x: 64});1004 }1005 if (props.x === 125) {1006 return React.createElement(ErrorBoundary9, {x: 124});1007 }1008 if (props.x === 171) {1009 return React.createElement(ErrorBoundary9, {x: 170});1010 }1011 if (props.x === 176) {1012 return React.createElement(ErrorBoundary9, {x: 175});1013 }1014 if (props.x === 194) {1015 return React.createElement(ErrorBoundary9, {x: 193});1016 }1017 if (props.x === 302) {1018 return React.createElement(ErrorBoundary9, {x: 301});1019 }1020 if (props.x === 312) {1021 return React.createElement(ErrorBoundary9, {x: 311});1022 }1023 if (props.x === 472) {1024 return React.createElement(ErrorBoundary9, {x: 471});1025 }1026 if (props.x === 476) {1027 return React.createElement(ErrorBoundary9, {x: 475});1028 }1029 };1030 var AdsPENavigationBar11 = function(props) {1031 if (props.x === 11) {1032 return React.createElement('div', {className: '_4t_9'});1033 }1034 };1035 var FluxContainer_AdsPENavigationBarContainer_12 = function(props) {1036 if (props.x === 12) {1037 return React.createElement(AdsPENavigationBar11, {x: 11});1038 }1039 };1040 var AdsPEDraftSyncStatus13 = function(props) {1041 if (props.x === 16) {1042 return React.createElement(1043 'div',1044 {className: '_3ut-', onClick: function() {}},1045 React.createElement(1046 'span',1047 {className: '_3uu0'},1048 React.createElement(ReactImage0, {x: 15})1049 )1050 );1051 }1052 };1053 var FluxContainer_AdsPEDraftSyncStatusContainer_14 = function(props) {1054 if (props.x === 17) {1055 return React.createElement(AdsPEDraftSyncStatus13, {x: 16});1056 }1057 };1058 var AdsPEDraftErrorsStatus15 = function(props) {1059 if (props.x === 18) {1060 return null;1061 }1062 };1063 var FluxContainer_viewFn_16 = function(props) {1064 if (props.x === 19) {1065 return React.createElement(AdsPEDraftErrorsStatus15, {x: 18});1066 }1067 };1068 var AdsPEPublishButton17 = function(props) {1069 if (props.x === 25) {1070 return React.createElement(1071 'div',1072 {className: '_5533'},1073 React.createElement(FluxContainer_AdsPEDraftSyncStatusContainer_14, {1074 x: 17,1075 }),1076 React.createElement(FluxContainer_viewFn_16, {x: 19}),1077 null,1078 React.createElement(XUIButton4, {x: 21, key: 'discard'}),1079 React.createElement(XUIButton4, {x: 24})1080 );1081 }1082 };1083 var FluxContainer_AdsPEPublishButtonContainer_18 = function(props) {1084 if (props.x === 26) {1085 return React.createElement(AdsPEPublishButton17, {x: 25});1086 }1087 };1088 var InlineBlock19 = function(props) {1089 if (props.x === 30) {1090 return React.createElement(1091 'div',1092 {className: 'uiPopover _6a _6b', disabled: null},1093 React.createElement(ReactImage0, {x: 29, key: '.0'})1094 );1095 }1096 if (props.x === 73) {1097 return React.createElement(1098 'div',1099 {className: 'uiPopover _6a _6b', disabled: null},1100 React.createElement(XUIButton4, {x: 72, key: '.0'})1101 );1102 }1103 if (props.x === 82) {1104 return React.createElement(1105 'div',1106 {className: '_1nwm uiPopover _6a _6b', disabled: null},1107 React.createElement(XUIButton4, {x: 81, key: '.0'})1108 );1109 }1110 if (props.x === 101) {1111 return React.createElement(1112 'div',1113 {size: 'large', className: 'uiPopover _6a _6b', disabled: null},1114 React.createElement(XUIButton4, {x: 100, key: '.0'})1115 );1116 }1117 if (props.x === 273) {1118 return React.createElement(1119 'div',1120 {1121 className: '_3-90 uiPopover _6a _6b',1122 style: {marginTop: 2},1123 disabled: null,1124 },1125 React.createElement(ReactXUIPopoverButton6, {x: 272, key: '.0'})1126 );1127 }1128 };1129 var ReactPopoverMenu20 = function(props) {1130 if (props.x === 31) {1131 return React.createElement(InlineBlock19, {x: 30});1132 }1133 if (props.x === 74) {1134 return React.createElement(InlineBlock19, {x: 73});1135 }1136 if (props.x === 83) {1137 return React.createElement(InlineBlock19, {x: 82});1138 }1139 if (props.x === 102) {1140 return React.createElement(InlineBlock19, {x: 101});1141 }1142 if (props.x === 274) {1143 return React.createElement(InlineBlock19, {x: 273});1144 }1145 };1146 var LeftRight21 = function(props) {1147 if (props.x === 34) {1148 return React.createElement(1149 'div',1150 {className: 'clearfix'},1151 React.createElement(1152 'div',1153 {key: 'left', className: '_ohe lfloat'},1154 React.createElement(1155 'div',1156 {className: '_34_j'},1157 React.createElement(1158 'div',1159 {className: '_34_k'},1160 React.createElement(AdsErrorBoundary10, {x: 10})1161 ),1162 React.createElement(1163 'div',1164 {className: '_2u-6'},1165 React.createElement(AdsErrorBoundary10, {x: 14})1166 )1167 )1168 ),1169 React.createElement(1170 'div',1171 {key: 'right', className: '_ohf rfloat'},1172 React.createElement(1173 'div',1174 {className: '_34_m'},1175 React.createElement(1176 'div',1177 {key: '0', className: '_5ju2'},1178 React.createElement(AdsErrorBoundary10, {x: 28})1179 ),1180 React.createElement(1181 'div',1182 {key: '1', className: '_5ju2'},1183 React.createElement(AdsErrorBoundary10, {x: 33})1184 )1185 )1186 )1187 );1188 }1189 if (props.x === 232) {1190 return React.createElement(1191 'div',1192 {direction: 'left', className: 'clearfix'},1193 React.createElement(1194 'div',1195 {key: 'left', className: '_ohe lfloat'},1196 React.createElement(AdsLabeledField104, {x: 231})1197 ),1198 React.createElement(1199 'div',1200 {key: 'right', className: ''},1201 React.createElement(1202 'div',1203 {className: '_42ef'},1204 React.createElement(1205 'div',1206 {className: '_2oc7'},1207 'Clicks to Website'1208 )1209 )1210 )1211 );1212 }1213 if (props.x === 235) {1214 return React.createElement(1215 'div',1216 {className: '_3-8x clearfix', direction: 'left'},1217 React.createElement(1218 'div',1219 {key: 'left', className: '_ohe lfloat'},1220 React.createElement(AdsLabeledField104, {x: 234})1221 ),1222 React.createElement(1223 'div',1224 {key: 'right', className: ''},1225 React.createElement(1226 'div',1227 {className: '_42ef'},1228 React.createElement('div', {className: '_2oc7'}, 'Auction')1229 )1230 )1231 );1232 }1233 if (props.x === 245) {1234 return React.createElement(1235 'div',1236 {className: '_3-8y clearfix', direction: 'left'},1237 React.createElement(1238 'div',1239 {key: 'left', className: '_ohe lfloat'},1240 React.createElement(AdsLabeledField104, {x: 240})1241 ),1242 React.createElement(1243 'div',1244 {key: 'right', className: ''},1245 React.createElement(1246 'div',1247 {className: '_42ef'},1248 React.createElement(1249 FluxContainer_AdsCampaignGroupSpendCapContainer_107,1250 {x: 244}1251 )1252 )1253 )1254 );1255 }1256 if (props.x === 277) {1257 return React.createElement(1258 'div',1259 {className: '_5dw9 _5dwa clearfix'},1260 React.createElement(1261 'div',1262 {key: 'left', className: '_ohe lfloat'},1263 React.createElement(XUICardHeaderTitle100, {x: 265, key: '.0'})1264 ),1265 React.createElement(1266 'div',1267 {key: 'right', className: '_ohf rfloat'},1268 React.createElement(1269 FluxContainer_AdsPluginizedLinksMenuContainer_121,1270 {x: 276, key: '.1'}1271 )1272 )1273 );1274 }1275 };1276 var AdsUnifiedNavigationLocalNav22 = function(props) {1277 if (props.x === 35) {1278 return React.createElement(1279 'div',1280 {className: '_34_i'},1281 React.createElement(LeftRight21, {x: 34})1282 );1283 }1284 };1285 var XUIDialog23 = function(props) {1286 if (props.x === 36) {1287 return null;1288 }1289 };1290 var AdsPEResetDialog24 = function(props) {1291 if (props.x === 37) {1292 return React.createElement(1293 'span',1294 null,1295 React.createElement(XUIDialog23, {x: 36, key: 'dialog/.0'})1296 );1297 }1298 };1299 var AdsPETopNav25 = function(props) {1300 if (props.x === 40) {1301 return React.createElement(1302 'div',1303 {style: {width: 1306}},1304 React.createElement(AdsUnifiedNavigationLocalNav22, {x: 35}),1305 React.createElement(AdsErrorBoundary10, {x: 39})1306 );1307 }1308 };1309 var FluxContainer_AdsPETopNavContainer_26 = function(props) {1310 if (props.x === 41) {1311 return React.createElement(AdsPETopNav25, {x: 40});1312 }1313 };1314 var XUIAbstractGlyphButton27 = function(props) {1315 if (props.x === 46) {1316 return React.createElement(AbstractButton3, {x: 45});1317 }1318 if (props.x === 150) {1319 return React.createElement(AbstractButton3, {x: 149});1320 }1321 };1322 var XUICloseButton28 = function(props) {1323 if (props.x === 47) {1324 return React.createElement(XUIAbstractGlyphButton27, {x: 46});1325 }1326 if (props.x === 151) {1327 return React.createElement(XUIAbstractGlyphButton27, {x: 150});1328 }1329 };1330 var XUIText29 = function(props) {1331 if (props.x === 48) {1332 return React.createElement(1333 'span',1334 {display: 'inline', className: ' _50f7'},1335 'Ads Manager'1336 );1337 }1338 if (props.x === 205) {1339 return React.createElement(1340 'span',1341 {className: '_2x9f _50f5 _50f7', display: 'inline'},1342 'Editing Campaign'1343 );1344 }1345 if (props.x === 206) {1346 return React.createElement(1347 'span',1348 {display: 'inline', className: ' _50f5 _50f7'},1349 'Test Campaign'1350 );1351 }1352 };1353 var XUINotice30 = function(props) {1354 if (props.x === 51) {1355 return React.createElement(1356 'div',1357 {size: 'medium', className: '_585n _585o _2wdd'},1358 React.createElement(ReactImage0, {x: 42}),1359 React.createElement(XUICloseButton28, {x: 47}),1360 React.createElement(1361 'div',1362 {className: '_585r _2i-a _50f4'},1363 'Please go to ',1364 React.createElement(Link2, {x: 50}),1365 ' to set up a payment method for this ad account.'1366 )1367 );1368 }1369 };1370 var ReactCSSTransitionGroupChild31 = function(props) {1371 if (props.x === 52) {1372 return React.createElement(XUINotice30, {x: 51});1373 }1374 };1375 var ReactTransitionGroup32 = function(props) {1376 if (props.x === 53) {1377 return React.createElement(1378 'span',1379 null,1380 React.createElement(ReactCSSTransitionGroupChild31, {x: 52, key: '.0'})1381 );1382 }1383 };1384 var ReactCSSTransitionGroup33 = function(props) {1385 if (props.x === 54) {1386 return React.createElement(ReactTransitionGroup32, {x: 53});1387 }1388 };1389 var AdsPETopError34 = function(props) {1390 if (props.x === 55) {1391 return React.createElement(1392 'div',1393 {className: '_2wdc'},1394 React.createElement(ReactCSSTransitionGroup33, {x: 54})1395 );1396 }1397 };1398 var FluxContainer_AdsPETopErrorContainer_35 = function(props) {1399 if (props.x === 56) {1400 return React.createElement(AdsPETopError34, {x: 55});1401 }1402 };1403 var FluxContainer_AdsGuidanceChannel_36 = function(props) {1404 if (props.x === 59) {1405 return null;1406 }1407 };1408 var ResponsiveBlock37 = function(props) {1409 if (props.x === 62) {1410 return React.createElement(1411 'div',1412 {className: '_4u-c'},1413 [1414 React.createElement(AdsErrorBoundary10, {x: 58, key: 1}),1415 React.createElement(AdsErrorBoundary10, {x: 61, key: 2}),1416 ],1417 React.createElement(1418 'div',1419 {key: 'sensor', className: '_4u-f'},1420 React.createElement('iframe', {1421 'aria-hidden': 'true',1422 className: '_1_xb',1423 tabIndex: '-1',1424 })1425 )1426 );1427 }1428 if (props.x === 469) {1429 return React.createElement(1430 'div',1431 {className: '_4u-c'},1432 React.createElement(AdsPEDataTableContainer158, {x: 468}),1433 React.createElement(1434 'div',1435 {key: 'sensor', className: '_4u-f'},1436 React.createElement('iframe', {1437 'aria-hidden': 'true',1438 className: '_1_xb',1439 tabIndex: '-1',1440 })1441 )1442 );1443 }1444 };1445 var FluxContainer_AdsBulkEditDialogContainer_38 = function(props) {1446 if (props.x === 63) {1447 return null;1448 }1449 };1450 var Column39 = function(props) {1451 if (props.x === 66) {1452 return React.createElement(1453 'div',1454 {className: '_4bl8 _4bl7'},1455 React.createElement(1456 'div',1457 {className: '_3c5f'},1458 null,1459 null,1460 React.createElement('div', {className: '_3c5i'}),1461 null1462 )1463 );1464 }1465 };1466 var XUIButtonGroup40 = function(props) {1467 if (props.x === 75) {1468 return React.createElement(1469 'div',1470 {className: '_5n7z _51xa'},1471 React.createElement(XUIButton4, {x: 69}),1472 React.createElement(ReactPopoverMenu20, {x: 74})1473 );1474 }1475 if (props.x === 84) {1476 return React.createElement(1477 'div',1478 {className: '_5n7z _51xa'},1479 React.createElement(XUIButton4, {x: 78, key: 'edit'}),1480 React.createElement(ReactPopoverMenu20, {x: 83, key: 'editMenu'})1481 );1482 }1483 if (props.x === 97) {1484 return React.createElement(1485 'div',1486 {className: '_5n7z _51xa'},1487 React.createElement(XUIButton4, {x: 90, key: 'revert'}),1488 React.createElement(XUIButton4, {x: 93, key: 'delete'}),1489 React.createElement(XUIButton4, {x: 96, key: 'duplicate'})1490 );1491 }1492 if (props.x === 117) {1493 return React.createElement(1494 'div',1495 {className: '_5n7z _51xa'},1496 React.createElement(AdsPEExportImportMenuContainer48, {x: 107}),1497 React.createElement(XUIButton4, {x: 110, key: 'createReport'}),1498 React.createElement(AdsPECampaignGroupTagContainer51, {1499 x: 116,1500 key: 'tags',1501 })1502 );1503 }1504 };1505 var AdsPEEditToolbarButton41 = function(props) {1506 if (props.x === 85) {1507 return React.createElement(XUIButtonGroup40, {x: 84});1508 }1509 };1510 var FluxContainer_AdsPEEditCampaignGroupToolbarButtonContainer_42 = function(1511 props1512 ) {1513 if (props.x === 86) {1514 return React.createElement(AdsPEEditToolbarButton41, {x: 85});1515 }1516 };1517 var FluxContainer_AdsPEEditToolbarButtonContainer_43 = function(props) {1518 if (props.x === 87) {1519 return React.createElement(1520 FluxContainer_AdsPEEditCampaignGroupToolbarButtonContainer_42,1521 {x: 86}1522 );1523 }1524 };1525 var AdsPEExportImportMenu44 = function(props) {1526 if (props.x === 103) {1527 return React.createElement(ReactPopoverMenu20, {x: 102, key: 'export'});1528 }1529 };1530 var FluxContainer_AdsPECustomizeExportContainer_45 = function(props) {1531 if (props.x === 104) {1532 return null;1533 }1534 };1535 var AdsPEExportAsTextDialog46 = function(props) {1536 if (props.x === 105) {1537 return null;1538 }1539 };1540 var FluxContainer_AdsPEExportAsTextDialogContainer_47 = function(props) {1541 if (props.x === 106) {1542 return React.createElement(AdsPEExportAsTextDialog46, {x: 105});1543 }1544 };1545 var AdsPEExportImportMenuContainer48 = function(props) {1546 if (props.x === 107) {1547 return React.createElement(1548 'span',1549 null,1550 React.createElement(AdsPEExportImportMenu44, {x: 103}),1551 React.createElement(FluxContainer_AdsPECustomizeExportContainer_45, {1552 x: 104,1553 }),1554 React.createElement(FluxContainer_AdsPEExportAsTextDialogContainer_47, {1555 x: 106,1556 }),1557 null,1558 null1559 );1560 }1561 };1562 var Constructor49 = function(props) {1563 if (props.x === 114) {1564 return null;1565 }1566 if (props.x === 142) {1567 return null;1568 }1569 if (props.x === 143) {1570 return null;1571 }1572 if (props.x === 183) {1573 return null;1574 }1575 };1576 var TagSelectorPopover50 = function(props) {1577 if (props.x === 115) {1578 return React.createElement(1579 'span',1580 {className: ' _3d6e'},1581 React.createElement(XUIButton4, {x: 113}),1582 React.createElement(Constructor49, {x: 114, key: 'layer'})1583 );1584 }1585 };1586 var AdsPECampaignGroupTagContainer51 = function(props) {1587 if (props.x === 116) {1588 return React.createElement(TagSelectorPopover50, {1589 x: 115,1590 key: '98010048849317',1591 });1592 }1593 };1594 var AdsRuleToolbarMenu52 = function(props) {1595 if (props.x === 118) {1596 return null;1597 }1598 };1599 var FluxContainer_AdsPERuleToolbarMenuContainer_53 = function(props) {1600 if (props.x === 119) {1601 return React.createElement(AdsRuleToolbarMenu52, {x: 118});1602 }1603 };1604 var FillColumn54 = function(props) {1605 if (props.x === 120) {1606 return React.createElement(1607 'div',1608 {className: '_4bl9'},1609 React.createElement(1610 'span',1611 {className: '_3c5e'},1612 React.createElement(1613 'span',1614 null,1615 React.createElement(XUIButtonGroup40, {x: 75}),1616 React.createElement(1617 FluxContainer_AdsPEEditToolbarButtonContainer_43,1618 {x: 87}1619 ),1620 null,1621 React.createElement(XUIButtonGroup40, {x: 97})1622 ),1623 React.createElement(XUIButtonGroup40, {x: 117}),1624 React.createElement(FluxContainer_AdsPERuleToolbarMenuContainer_53, {1625 x: 119,1626 })1627 )1628 );1629 }1630 };1631 var Layout55 = function(props) {1632 if (props.x === 121) {1633 return React.createElement(1634 'div',1635 {className: 'clearfix'},1636 React.createElement(Column39, {x: 66, key: '1'}),1637 React.createElement(FillColumn54, {x: 120, key: '0'})1638 );1639 }1640 };1641 var AdsPEMainPaneToolbar56 = function(props) {1642 if (props.x === 122) {1643 return React.createElement(1644 'div',1645 {className: '_3c5b clearfix'},1646 React.createElement(Layout55, {x: 121})1647 );1648 }1649 };1650 var AdsPECampaignGroupToolbarContainer57 = function(props) {1651 if (props.x === 123) {1652 return React.createElement(AdsPEMainPaneToolbar56, {x: 122});1653 }1654 };1655 var AdsPEFiltersPopover58 = function(props) {1656 if (props.x === 144) {1657 return React.createElement(1658 'span',1659 {className: '_5b-l _5bbe'},1660 React.createElement(ReactXUIPopoverButton6, {x: 133}),1661 React.createElement(ReactXUIPopoverButton6, {x: 141}),1662 [1663 React.createElement(Constructor49, {x: 142, key: 'filterMenu/.0'}),1664 React.createElement(Constructor49, {x: 143, key: 'searchMenu/.0'}),1665 ]1666 );1667 }1668 };1669 var AbstractCheckboxInput59 = function(props) {1670 if (props.x === 145) {1671 return React.createElement(1672 'label',1673 {className: 'uiInputLabelInput _55sg _kv1'},1674 React.createElement('input', {1675 checked: true,1676 disabled: true,1677 name: 'filterUnpublished',1678 value: 'on',1679 onClick: function() {},1680 className: null,1681 id: 'js_input_label_21',1682 type: 'checkbox',1683 }),1684 React.createElement('span', {1685 'data-hover': null,1686 'data-tooltip-content': undefined,1687 })1688 );1689 }1690 if (props.x === 336) {1691 return React.createElement(1692 'label',1693 {className: '_4h2r _55sg _kv1'},1694 React.createElement('input', {1695 checked: undefined,1696 onChange: function() {},1697 className: null,1698 type: 'checkbox',1699 }),1700 React.createElement('span', {1701 'data-hover': null,1702 'data-tooltip-content': undefined,1703 })1704 );1705 }1706 };1707 var XUICheckboxInput60 = function(props) {1708 if (props.x === 146) {1709 return React.createElement(AbstractCheckboxInput59, {x: 145});1710 }1711 if (props.x === 337) {1712 return React.createElement(AbstractCheckboxInput59, {x: 336});1713 }1714 };1715 var InputLabel61 = function(props) {1716 if (props.x === 147) {1717 return React.createElement(1718 'div',1719 {display: 'block', className: 'uiInputLabel clearfix'},1720 React.createElement(XUICheckboxInput60, {x: 146}),1721 React.createElement(1722 'label',1723 {className: 'uiInputLabelLabel', htmlFor: 'js_input_label_21'},1724 'Always show new items'1725 )1726 );1727 }1728 };1729 var AdsPopoverLink62 = function(props) {1730 if (props.x === 154) {1731 return React.createElement(1732 'span',1733 null,1734 React.createElement(1735 'span',1736 {1737 onMouseEnter: function() {},1738 onMouseLeave: function() {},1739 onMouseUp: undefined,1740 },1741 React.createElement('span', {className: '_3o_j'}),1742 React.createElement(ReactImage0, {x: 153})1743 ),1744 null1745 );1746 }1747 if (props.x === 238) {1748 return React.createElement(1749 'span',1750 null,1751 React.createElement(1752 'span',1753 {1754 onMouseEnter: function() {},1755 onMouseLeave: function() {},1756 onMouseUp: undefined,1757 },1758 React.createElement('span', {className: '_3o_j'}),1759 React.createElement(ReactImage0, {x: 237})1760 ),1761 null1762 );1763 }1764 };1765 var AdsHelpLink63 = function(props) {1766 if (props.x === 155) {1767 return React.createElement(AdsPopoverLink62, {x: 154});1768 }1769 if (props.x === 239) {1770 return React.createElement(AdsPopoverLink62, {x: 238});1771 }1772 };1773 var BUIFilterTokenInput64 = function(props) {1774 if (props.x === 158) {1775 return React.createElement(1776 'div',1777 {className: '_5b5o _3yz3 _4cld'},1778 React.createElement(1779 'div',1780 {className: '_5b5t _2d2k'},1781 React.createElement(ReactImage0, {x: 152}),1782 React.createElement(1783 'div',1784 {className: '_5b5r'},1785 'Campaigns: (1)',1786 React.createElement(AdsHelpLink63, {x: 155})1787 )1788 ),1789 React.createElement(XUIButton4, {x: 157})1790 );1791 }1792 };1793 var BUIFilterToken65 = function(props) {1794 if (props.x === 159) {1795 return React.createElement(1796 'div',1797 {className: '_3yz1 _3yz2 _3dad'},1798 React.createElement(1799 'div',1800 {className: '_3yz4', 'aria-hidden': false},1801 React.createElement(1802 'div',1803 {onClick: function() {}, className: '_3yz5'},1804 React.createElement(ReactImage0, {x: 148}),1805 React.createElement('div', {className: '_3yz7'}, 'Campaigns:'),1806 React.createElement(1807 'div',1808 {1809 className: 'ellipsis _3yz8',1810 'data-hover': 'tooltip',1811 'data-tooltip-display': 'overflow',1812 },1813 '(1)'1814 )1815 ),1816 null,1817 React.createElement(XUICloseButton28, {x: 151})1818 ),1819 React.createElement(BUIFilterTokenInput64, {x: 158})1820 );1821 }1822 };1823 var BUIFilterTokenCreateButton66 = function(props) {1824 if (props.x === 163) {1825 return React.createElement(1826 'div',1827 {className: '_1tc'},1828 React.createElement(XUIButton4, {x: 162})1829 );1830 }1831 };1832 var BUIFilterTokenizer67 = function(props) {1833 if (props.x === 164) {1834 return React.createElement(1835 'div',1836 {className: '_5b-m clearfix'},1837 undefined,1838 [],1839 React.createElement(BUIFilterToken65, {x: 159, key: 'token0'}),1840 React.createElement(BUIFilterTokenCreateButton66, {x: 163}),1841 null,1842 React.createElement('div', {className: '_49u3'})1843 );1844 }1845 };1846 var XUIAmbientNUX68 = function(props) {1847 if (props.x === 165) {1848 return null;1849 }1850 if (props.x === 189) {1851 return null;1852 }1853 if (props.x === 200) {1854 return null;1855 }1856 };1857 var XUIAmbientNUX69 = function(props) {1858 if (props.x === 166) {1859 return React.createElement(XUIAmbientNUX68, {x: 165});1860 }1861 if (props.x === 190) {1862 return React.createElement(XUIAmbientNUX68, {x: 189});1863 }1864 if (props.x === 201) {1865 return React.createElement(XUIAmbientNUX68, {x: 200});1866 }1867 };1868 var AdsPEAmbientNUXMegaphone70 = function(props) {1869 if (props.x === 167) {1870 return React.createElement(1871 'span',1872 null,1873 React.createElement('span', {}),1874 React.createElement(XUIAmbientNUX69, {x: 166, key: 'nux'})1875 );1876 }1877 };1878 var AdsPEFilters71 = function(props) {1879 if (props.x === 168) {1880 return React.createElement(1881 'div',1882 {className: '_4rw_'},1883 React.createElement(AdsPEFiltersPopover58, {x: 144}),1884 React.createElement(1885 'div',1886 {className: '_1eo'},1887 React.createElement(InputLabel61, {x: 147})1888 ),1889 React.createElement(BUIFilterTokenizer67, {x: 164}),1890 '',1891 React.createElement(AdsPEAmbientNUXMegaphone70, {x: 167})1892 );1893 }1894 };1895 var AdsPEFilterContainer72 = function(props) {1896 if (props.x === 169) {1897 return React.createElement(AdsPEFilters71, {x: 168});1898 }1899 };1900 var AdsPETablePager73 = function(props) {1901 if (props.x === 172) {1902 return null;1903 }1904 };1905 var AdsPECampaignGroupTablePagerContainer74 = function(props) {1906 if (props.x === 173) {1907 return React.createElement(AdsPETablePager73, {x: 172});1908 }1909 };1910 var AdsPETablePagerContainer75 = function(props) {1911 if (props.x === 174) {1912 return React.createElement(AdsPECampaignGroupTablePagerContainer74, {1913 x: 173,1914 });1915 }1916 };1917 var ReactXUIError76 = function(props) {1918 if (props.x === 181) {1919 return React.createElement(AbstractButton3, {x: 180});1920 }1921 if (props.x === 216) {1922 return React.createElement(1923 'div',1924 {className: '_40bf _2vl4 _1h18'},1925 null,1926 null,1927 React.createElement(1928 'div',1929 {className: '_2vl9 _1h1f', style: {backgroundColor: '#fff'}},1930 React.createElement(1931 'div',1932 {className: '_2vla _1h1g'},1933 React.createElement(1934 'div',1935 null,1936 null,1937 React.createElement('textarea', {1938 className: '_2vli _2vlj _1h26 _1h27',1939 dir: 'auto',1940 disabled: undefined,1941 id: undefined,1942 maxLength: null,1943 value: 'Test Campaign',1944 onBlur: function() {},1945 onChange: function() {},1946 onFocus: function() {},1947 onKeyDown: function() {},1948 }),1949 null1950 ),1951 React.createElement('div', {1952 'aria-hidden': 'true',1953 className: '_2vlk',1954 })1955 )1956 ),1957 null1958 );1959 }1960 if (props.x === 221) {1961 return React.createElement(XUICard94, {x: 220});1962 }1963 if (props.x === 250) {1964 return React.createElement(XUICard94, {x: 249});1965 }1966 if (props.x === 280) {1967 return React.createElement(XUICard94, {x: 279});1968 }1969 };1970 var BUIPopoverButton77 = function(props) {1971 if (props.x === 182) {1972 return React.createElement(ReactXUIError76, {x: 181});1973 }1974 };1975 var BUIDateRangePicker78 = function(props) {1976 if (props.x === 184) {1977 return React.createElement(1978 'span',1979 null,1980 React.createElement(BUIPopoverButton77, {x: 182}),1981 [React.createElement(Constructor49, {x: 183, key: 'layer/.0'})]1982 );1983 }1984 };1985 var AdsPEStatsRangePicker79 = function(props) {1986 if (props.x === 185) {1987 return React.createElement(BUIDateRangePicker78, {x: 184});1988 }1989 };1990 var AdsPEStatRange80 = function(props) {1991 if (props.x === 191) {1992 return React.createElement(1993 'div',1994 {className: '_3c5k'},1995 React.createElement('span', {className: '_3c5j'}, 'Stats:'),1996 React.createElement(1997 'span',1998 {className: '_3c5l'},1999 React.createElement(AdsPEStatsRangePicker79, {x: 185}),2000 React.createElement(XUIButton4, {x: 188, key: 'settings'})2001 ),2002 [React.createElement(XUIAmbientNUX69, {x: 190, key: 'roasNUX/.0'})]2003 );2004 }2005 };2006 var AdsPEStatRangeContainer81 = function(props) {2007 if (props.x === 192) {2008 return React.createElement(AdsPEStatRange80, {x: 191});2009 }2010 };2011 var AdsPESideTrayTabButton82 = function(props) {2012 if (props.x === 196) {2013 return React.createElement(2014 'div',2015 {className: '_1-ly _59j9 _d9a', onClick: function() {}},2016 React.createElement(ReactImage0, {x: 195}),2017 React.createElement('div', {className: '_vf7'}),2018 React.createElement('div', {className: '_vf8'})2019 );2020 }2021 if (props.x === 199) {2022 return React.createElement(2023 'div',2024 {className: ' _1-lz _d9a', onClick: function() {}},2025 React.createElement(ReactImage0, {x: 198}),2026 React.createElement('div', {className: '_vf7'}),2027 React.createElement('div', {className: '_vf8'})2028 );2029 }2030 if (props.x === 203) {2031 return null;2032 }2033 };2034 var AdsPEEditorTrayTabButton83 = function(props) {2035 if (props.x === 197) {2036 return React.createElement(AdsPESideTrayTabButton82, {x: 196});2037 }2038 };2039 var AdsPEInsightsTrayTabButton84 = function(props) {2040 if (props.x === 202) {2041 return React.createElement(2042 'span',2043 null,2044 React.createElement(AdsPESideTrayTabButton82, {x: 199}),2045 React.createElement(XUIAmbientNUX69, {x: 201, key: 'roasNUX'})2046 );2047 }2048 };2049 var AdsPENekoDebuggerTrayTabButton85 = function(props) {2050 if (props.x === 204) {2051 return React.createElement(AdsPESideTrayTabButton82, {x: 203});2052 }2053 };2054 var AdsPEEditorChildLink86 = function(props) {2055 if (props.x === 211) {2056 return React.createElement(2057 'div',2058 {className: '_3ywr'},2059 React.createElement(Link2, {x: 208}),2060 React.createElement('span', {className: '_3ywq'}, '|'),2061 React.createElement(Link2, {x: 210})2062 );2063 }2064 };2065 var AdsPEEditorChildLinkContainer87 = function(props) {2066 if (props.x === 212) {2067 return React.createElement(AdsPEEditorChildLink86, {x: 211});2068 }2069 };2070 var AdsPEHeaderSection88 = function(props) {2071 if (props.x === 213) {2072 return React.createElement(2073 'div',2074 {className: '_yke'},2075 React.createElement('div', {className: '_2x9d _pr-'}),2076 React.createElement(XUIText29, {x: 205}),2077 React.createElement(2078 'div',2079 {className: '_3a-a'},2080 React.createElement(2081 'div',2082 {className: '_3a-b'},2083 React.createElement(XUIText29, {x: 206})2084 )2085 ),2086 React.createElement(AdsPEEditorChildLinkContainer87, {x: 212})2087 );2088 }2089 };2090 var AdsPECampaignGroupHeaderSectionContainer89 = function(props) {2091 if (props.x === 214) {2092 return React.createElement(AdsPEHeaderSection88, {x: 213});2093 }2094 };2095 var AdsEditorLoadingErrors90 = function(props) {2096 if (props.x === 215) {2097 return null;2098 }2099 };2100 var AdsTextInput91 = function(props) {2101 if (props.x === 217) {2102 return React.createElement(ReactXUIError76, {x: 216});2103 }2104 };2105 var BUIFormElement92 = function(props) {2106 if (props.x === 218) {2107 return React.createElement(2108 'div',2109 {className: '_5521 clearfix'},2110 React.createElement(2111 'div',2112 {className: '_5522 _3w5q'},2113 React.createElement(2114 'label',2115 {2116 onClick: undefined,2117 htmlFor: '1467872040612:1961945894',2118 className: '_5523 _3w5r',2119 },2120 'Campaign Name',2121 null2122 )2123 ),2124 React.createElement(2125 'div',2126 {className: '_5527'},2127 React.createElement(2128 'div',2129 {className: '_5528'},2130 React.createElement(2131 'span',2132 {key: '.0', className: '_40bg', id: '1467872040612:1961945894'},2133 React.createElement(AdsTextInput91, {2134 x: 217,2135 key: 'nameEditor98010048849317',2136 }),2137 null2138 )2139 ),2140 null2141 )2142 );2143 }2144 };2145 var BUIForm93 = function(props) {2146 if (props.x === 219) {2147 return React.createElement(2148 'div',2149 {className: '_5ks1 _550r _550t _550y _3w5n'},2150 React.createElement(BUIFormElement92, {x: 218, key: '.0'})2151 );2152 }2153 };2154 var XUICard94 = function(props) {2155 if (props.x === 220) {2156 return React.createElement(2157 'div',2158 {className: '_40bc _12k2 _4-u2 _4-u8'},2159 React.createElement(BUIForm93, {x: 219})2160 );2161 }2162 if (props.x === 249) {2163 return React.createElement(2164 'div',2165 {className: '_12k2 _4-u2 _4-u8'},2166 React.createElement(AdsCardHeader103, {x: 230}),2167 React.createElement(AdsCardSection108, {x: 248})2168 );2169 }2170 if (props.x === 279) {2171 return React.createElement(2172 'div',2173 {className: '_12k2 _4-u2 _4-u8'},2174 React.createElement(AdsCardLeftRightHeader122, {x: 278})2175 );2176 }2177 };2178 var AdsCard95 = function(props) {2179 if (props.x === 222) {2180 return React.createElement(ReactXUIError76, {x: 221});2181 }2182 if (props.x === 251) {2183 return React.createElement(ReactXUIError76, {x: 250});2184 }2185 if (props.x === 281) {2186 return React.createElement(ReactXUIError76, {x: 280});2187 }2188 };2189 var AdsEditorNameSection96 = function(props) {2190 if (props.x === 223) {2191 return React.createElement(AdsCard95, {x: 222});2192 }2193 };2194 var AdsCampaignGroupNameSectionContainer97 = function(props) {2195 if (props.x === 224) {2196 return React.createElement(AdsEditorNameSection96, {2197 x: 223,2198 key: 'nameSection98010048849317',2199 });2200 }2201 };2202 var _render98 = function(props) {2203 if (props.x === 225) {2204 return React.createElement(AdsCampaignGroupNameSectionContainer97, {2205 x: 224,2206 });2207 }2208 };2209 var AdsPluginWrapper99 = function(props) {2210 if (props.x === 226) {2211 return React.createElement(_render98, {x: 225});2212 }2213 if (props.x === 255) {2214 return React.createElement(_render111, {x: 254});2215 }2216 if (props.x === 258) {2217 return React.createElement(_render113, {x: 257});2218 }2219 if (props.x === 287) {2220 return React.createElement(_render127, {x: 286});2221 }2222 if (props.x === 291) {2223 return React.createElement(_render130, {x: 290});2224 }2225 };2226 var XUICardHeaderTitle100 = function(props) {2227 if (props.x === 227) {2228 return React.createElement(2229 'span',2230 {className: '_38my'},2231 'Campaign Details',2232 null,2233 React.createElement('span', {className: '_c1c'})2234 );2235 }2236 if (props.x === 265) {2237 return React.createElement(2238 'span',2239 {className: '_38my'},2240 [2241 React.createElement(2242 'span',2243 {key: 1},2244 'Campaign ID',2245 ': ',2246 '98010048849317'2247 ),2248 React.createElement(2249 'div',2250 {className: '_5lh9', key: 2},2251 React.createElement(2252 FluxContainer_AdsCampaignGroupStatusSwitchContainer_119,2253 {x: 264}2254 )2255 ),2256 ],2257 null,2258 React.createElement('span', {className: '_c1c'})2259 );2260 }2261 };2262 var XUICardSection101 = function(props) {2263 if (props.x === 228) {2264 return React.createElement(2265 'div',2266 {className: '_5dw9 _5dwa _4-u3'},2267 [React.createElement(XUICardHeaderTitle100, {x: 227, key: '.0'})],2268 undefined,2269 undefined,2270 React.createElement('div', {className: '_3s3-'})2271 );2272 }2273 if (props.x === 247) {2274 return React.createElement(2275 'div',2276 {className: '_12jy _4-u3'},2277 React.createElement(2278 'div',2279 {className: '_3-8j'},2280 React.createElement(FlexibleBlock105, {x: 233}),2281 React.createElement(FlexibleBlock105, {x: 236}),2282 React.createElement(FlexibleBlock105, {x: 246}),2283 null,2284 null2285 )2286 );2287 }2288 };2289 var XUICardHeader102 = function(props) {2290 if (props.x === 229) {2291 return React.createElement(XUICardSection101, {x: 228});2292 }2293 };2294 var AdsCardHeader103 = function(props) {2295 if (props.x === 230) {2296 return React.createElement(XUICardHeader102, {x: 229});2297 }2298 };2299 var AdsLabeledField104 = function(props) {2300 if (props.x === 231) {2301 return React.createElement(2302 'div',2303 {className: '_2oc6 _3bvz', label: 'Objective'},2304 React.createElement(2305 'label',2306 {className: '_4el4 _3qwj _3hy-', htmlFor: undefined},2307 'Objective '2308 ),2309 null,2310 React.createElement('div', {className: '_3bv-'})2311 );2312 }2313 if (props.x === 234) {2314 return React.createElement(2315 'div',2316 {className: '_2oc6 _3bvz', label: 'Buying Type'},2317 React.createElement(2318 'label',2319 {className: '_4el4 _3qwj _3hy-', htmlFor: undefined},2320 'Buying Type '2321 ),2322 null,2323 React.createElement('div', {className: '_3bv-'})2324 );2325 }2326 if (props.x === 240) {2327 return React.createElement(2328 'div',2329 {className: '_2oc6 _3bvz'},2330 React.createElement(2331 'label',2332 {className: '_4el4 _3qwj _3hy-', htmlFor: undefined},2333 'Campaign Spending Limit '2334 ),2335 React.createElement(AdsHelpLink63, {x: 239}),2336 React.createElement('div', {className: '_3bv-'})2337 );2338 }2339 };2340 var FlexibleBlock105 = function(props) {2341 if (props.x === 233) {2342 return React.createElement(LeftRight21, {x: 232});2343 }2344 if (props.x === 236) {2345 return React.createElement(LeftRight21, {x: 235});2346 }2347 if (props.x === 246) {2348 return React.createElement(LeftRight21, {x: 245});2349 }2350 };2351 var AdsBulkCampaignSpendCapField106 = function(props) {2352 if (props.x === 243) {2353 return React.createElement(2354 'div',2355 {className: '_33dv'},2356 '',2357 React.createElement(Link2, {x: 242}),2358 ' (optional)'2359 );2360 }2361 };2362 var FluxContainer_AdsCampaignGroupSpendCapContainer_107 = function(props) {2363 if (props.x === 244) {2364 return React.createElement(AdsBulkCampaignSpendCapField106, {x: 243});2365 }2366 };2367 var AdsCardSection108 = function(props) {2368 if (props.x === 248) {2369 return React.createElement(XUICardSection101, {x: 247});2370 }2371 };2372 var AdsEditorCampaignGroupDetailsSection109 = function(props) {2373 if (props.x === 252) {2374 return React.createElement(AdsCard95, {x: 251});2375 }2376 };2377 var AdsEditorCampaignGroupDetailsSectionContainer110 = function(props) {2378 if (props.x === 253) {2379 return React.createElement(AdsEditorCampaignGroupDetailsSection109, {2380 x: 252,2381 key: 'campaignGroupDetailsSection98010048849317',2382 });2383 }2384 };2385 var _render111 = function(props) {2386 if (props.x === 254) {2387 return React.createElement(2388 AdsEditorCampaignGroupDetailsSectionContainer110,2389 {x: 253}2390 );2391 }2392 };2393 var FluxContainer_AdsEditorToplineDetailsSectionContainer_112 = function(2394 props2395 ) {2396 if (props.x === 256) {2397 return null;2398 }2399 };2400 var _render113 = function(props) {2401 if (props.x === 257) {2402 return React.createElement(2403 FluxContainer_AdsEditorToplineDetailsSectionContainer_112,2404 {x: 256}2405 );2406 }2407 };2408 var AdsStickyArea114 = function(props) {2409 if (props.x === 259) {2410 return React.createElement(2411 'div',2412 {},2413 React.createElement('div', {onWheel: function() {}})2414 );2415 }2416 if (props.x === 292) {2417 return React.createElement(2418 'div',2419 {},2420 React.createElement('div', {onWheel: function() {}}, [2421 React.createElement(2422 'div',2423 {key: 'campaign_group_errors_section98010048849317'},2424 React.createElement(AdsPluginWrapper99, {x: 291})2425 ),2426 ])2427 );2428 }2429 };2430 var FluxContainer_AdsEditorColumnContainer_115 = function(props) {2431 if (props.x === 260) {2432 return React.createElement(2433 'div',2434 null,2435 [2436 React.createElement(2437 'div',2438 {key: 'campaign_group_name_section98010048849317'},2439 React.createElement(AdsPluginWrapper99, {x: 226})2440 ),2441 React.createElement(2442 'div',2443 {key: 'campaign_group_basic_section98010048849317'},2444 React.createElement(AdsPluginWrapper99, {x: 255})2445 ),2446 React.createElement(2447 'div',2448 {key: 'campaign_group_topline_section98010048849317'},2449 React.createElement(AdsPluginWrapper99, {x: 258})2450 ),2451 ],2452 React.createElement(AdsStickyArea114, {x: 259})2453 );2454 }2455 if (props.x === 293) {2456 return React.createElement(2457 'div',2458 null,2459 [2460 React.createElement(2461 'div',2462 {key: 'campaign_group_navigation_section98010048849317'},2463 React.createElement(AdsPluginWrapper99, {x: 287})2464 ),2465 ],2466 React.createElement(AdsStickyArea114, {x: 292})2467 );2468 }2469 };2470 var BUISwitch116 = function(props) {2471 if (props.x === 261) {2472 return React.createElement(2473 'div',2474 {2475 'data-hover': 'tooltip',2476 'data-tooltip-content':2477 'Currently active. Click this switch to deactivate it.',2478 'data-tooltip-position': 'below',2479 disabled: false,2480 value: true,2481 onToggle: function() {},2482 className: '_128j _128k _128n',2483 role: 'checkbox',2484 'aria-checked': 'true',2485 },2486 React.createElement(2487 'div',2488 {2489 className: '_128o',2490 onClick: function() {},2491 onKeyDown: function() {},2492 onMouseDown: function() {},2493 tabIndex: '0',2494 },2495 React.createElement('div', {className: '_128p'})2496 ),2497 null2498 );2499 }2500 };2501 var AdsStatusSwitchInternal117 = function(props) {2502 if (props.x === 262) {2503 return React.createElement(BUISwitch116, {x: 261});2504 }2505 };2506 var AdsStatusSwitch118 = function(props) {2507 if (props.x === 263) {2508 return React.createElement(AdsStatusSwitchInternal117, {x: 262});2509 }2510 };2511 var FluxContainer_AdsCampaignGroupStatusSwitchContainer_119 = function(2512 props2513 ) {2514 if (props.x === 264) {2515 return React.createElement(AdsStatusSwitch118, {2516 x: 263,2517 key: 'status98010048849317',2518 });2519 }2520 };2521 var AdsLinksMenu120 = function(props) {2522 if (props.x === 275) {2523 return React.createElement(ReactPopoverMenu20, {x: 274});2524 }2525 };2526 var FluxContainer_AdsPluginizedLinksMenuContainer_121 = function(props) {2527 if (props.x === 276) {2528 return React.createElement(2529 'div',2530 null,2531 null,2532 React.createElement(AdsLinksMenu120, {x: 275})2533 );2534 }2535 };2536 var AdsCardLeftRightHeader122 = function(props) {2537 if (props.x === 278) {2538 return React.createElement(LeftRight21, {x: 277});2539 }2540 };2541 var AdsPEIDSection123 = function(props) {2542 if (props.x === 282) {2543 return React.createElement(AdsCard95, {x: 281});2544 }2545 };2546 var FluxContainer_AdsPECampaignGroupIDSectionContainer_124 = function(props) {2547 if (props.x === 283) {2548 return React.createElement(AdsPEIDSection123, {x: 282});2549 }2550 };2551 var DeferredComponent125 = function(props) {2552 if (props.x === 284) {2553 return React.createElement(2554 FluxContainer_AdsPECampaignGroupIDSectionContainer_124,2555 {x: 283}2556 );2557 }2558 };2559 var BootloadedComponent126 = function(props) {2560 if (props.x === 285) {2561 return React.createElement(DeferredComponent125, {x: 284});2562 }2563 };2564 var _render127 = function(props) {2565 if (props.x === 286) {2566 return React.createElement(BootloadedComponent126, {x: 285});2567 }2568 };2569 var AdsEditorErrorsCard128 = function(props) {2570 if (props.x === 288) {2571 return null;2572 }2573 };2574 var FluxContainer_FunctionalContainer_129 = function(props) {2575 if (props.x === 289) {2576 return React.createElement(AdsEditorErrorsCard128, {x: 288});2577 }2578 };2579 var _render130 = function(props) {2580 if (props.x === 290) {2581 return React.createElement(FluxContainer_FunctionalContainer_129, {2582 x: 289,2583 });2584 }2585 };2586 var AdsEditorMultiColumnLayout131 = function(props) {2587 if (props.x === 294) {2588 return React.createElement(2589 'div',2590 {className: '_psh'},2591 React.createElement(2592 'div',2593 {className: '_3cc0'},2594 React.createElement(2595 'div',2596 null,2597 React.createElement(AdsEditorLoadingErrors90, {x: 215, key: '.0'}),2598 React.createElement(2599 'div',2600 {className: '_3ms3'},2601 React.createElement(2602 'div',2603 {className: '_3ms4'},2604 React.createElement(2605 FluxContainer_AdsEditorColumnContainer_115,2606 {x: 260, key: '.1'}2607 )2608 ),2609 React.createElement(2610 'div',2611 {className: '_3pvg'},2612 React.createElement(2613 FluxContainer_AdsEditorColumnContainer_115,2614 {x: 293, key: '.2'}2615 )2616 )2617 )2618 )2619 )2620 );2621 }2622 };2623 var AdsPECampaignGroupEditor132 = function(props) {2624 if (props.x === 295) {2625 return React.createElement(2626 'div',2627 null,2628 React.createElement(AdsPECampaignGroupHeaderSectionContainer89, {2629 x: 214,2630 }),2631 React.createElement(AdsEditorMultiColumnLayout131, {x: 294})2632 );2633 }2634 };2635 var AdsPECampaignGroupEditorContainer133 = function(props) {2636 if (props.x === 296) {2637 return React.createElement(AdsPECampaignGroupEditor132, {x: 295});2638 }2639 };2640 var AdsPESideTrayTabContent134 = function(props) {2641 if (props.x === 297) {2642 return React.createElement(2643 'div',2644 {className: '_1o_8 _44ra _5cyn'},2645 React.createElement(AdsPECampaignGroupEditorContainer133, {x: 296})2646 );2647 }2648 };2649 var AdsPEEditorTrayTabContentContainer135 = function(props) {2650 if (props.x === 298) {2651 return React.createElement(AdsPESideTrayTabContent134, {x: 297});2652 }2653 };2654 var AdsPEMultiTabDrawer136 = function(props) {2655 if (props.x === 299) {2656 return React.createElement(2657 'div',2658 {className: '_2kev _2kex'},2659 React.createElement(2660 'div',2661 {className: '_5yno'},2662 React.createElement(AdsPEEditorTrayTabButton83, {2663 x: 197,2664 key: 'editor_tray_button',2665 }),2666 React.createElement(AdsPEInsightsTrayTabButton84, {2667 x: 202,2668 key: 'insights_tray_button',2669 }),2670 React.createElement(AdsPENekoDebuggerTrayTabButton85, {2671 x: 204,2672 key: 'neko_debugger_tray_button',2673 })2674 ),2675 React.createElement(2676 'div',2677 {className: '_5ynn'},2678 React.createElement(AdsPEEditorTrayTabContentContainer135, {2679 x: 298,2680 key: 'EDITOR_DRAWER',2681 }),2682 null2683 )2684 );2685 }2686 };2687 var FluxContainer_AdsPEMultiTabDrawerContainer_137 = function(props) {2688 if (props.x === 300) {2689 return React.createElement(AdsPEMultiTabDrawer136, {x: 299});2690 }2691 };2692 var AdsPESimpleOrganizer138 = function(props) {2693 if (props.x === 309) {2694 return React.createElement(2695 'div',2696 {className: '_tm2'},2697 React.createElement(XUIButton4, {x: 304}),2698 React.createElement(XUIButton4, {x: 306}),2699 React.createElement(XUIButton4, {x: 308})2700 );2701 }2702 };2703 var AdsPEOrganizerContainer139 = function(props) {2704 if (props.x === 310) {2705 return React.createElement(2706 'div',2707 null,2708 React.createElement(AdsPESimpleOrganizer138, {x: 309})2709 );2710 }2711 };2712 var FixedDataTableColumnResizeHandle140 = function(props) {2713 if (props.x === 313) {2714 return React.createElement(2715 'div',2716 {2717 className: '_3487 _3488 _3489',2718 style: {width: 0, height: 25, left: 0},2719 },2720 React.createElement('div', {className: '_348a', style: {height: 25}})2721 );2722 }2723 };2724 var AdsPETableHeader141 = function(props) {2725 if (props.x === 315) {2726 return React.createElement(2727 'div',2728 {className: '_1cig _1ksv _1vd7 _4h2r', id: undefined},2729 React.createElement(ReactImage0, {x: 314}),2730 React.createElement('span', {className: '_1cid'}, 'Campaigns')2731 );2732 }2733 if (props.x === 320) {2734 return React.createElement(2735 'div',2736 {className: '_1cig _1vd7 _4h2r', id: undefined},2737 null,2738 React.createElement('span', {className: '_1cid'}, 'Performance')2739 );2740 }2741 if (props.x === 323) {2742 return React.createElement(2743 'div',2744 {className: '_1cig _1vd7 _4h2r', id: undefined},2745 null,2746 React.createElement('span', {className: '_1cid'}, 'Overview')2747 );2748 }2749 if (props.x === 326) {2750 return React.createElement(2751 'div',2752 {className: '_1cig _1vd7 _4h2r', id: undefined},2753 null,2754 React.createElement('span', {className: '_1cid'}, 'Toplines')2755 );2756 }2757 if (props.x === 329) {2758 return React.createElement('div', {2759 className: '_1cig _1vd7 _4h2r',2760 id: undefined,2761 });2762 }2763 if (props.x === 340) {2764 return React.createElement(2765 'div',2766 {className: '_1cig _25fg', id: undefined},2767 null,2768 React.createElement('span', {className: '_1cid'}, 'Campaign Name')2769 );2770 }2771 if (props.x === 346) {2772 return React.createElement(2773 'div',2774 {2775 className: '_1cig _25fg',2776 id: undefined,2777 'data-tooltip-content': 'Changed',2778 'data-hover': 'tooltip',2779 },2780 React.createElement(ReactImage0, {x: 345}),2781 null2782 );2783 }2784 if (props.x === 352) {2785 return React.createElement(2786 'div',2787 {2788 className: '_1cig _25fg',2789 id: 'ads_pe_table_error_header',2790 'data-tooltip-content': 'Errors',2791 'data-hover': 'tooltip',2792 },2793 React.createElement(ReactImage0, {x: 351}),2794 null2795 );2796 }2797 if (props.x === 357) {2798 return React.createElement(2799 'div',2800 {className: '_1cig _25fg', id: undefined},2801 null,2802 React.createElement('span', {className: '_1cid'}, 'Status')2803 );2804 }2805 if (props.x === 362) {2806 return React.createElement(2807 'div',2808 {className: '_1cig _25fg', id: undefined},2809 null,2810 React.createElement('span', {className: '_1cid'}, 'Delivery')2811 );2812 }2813 if (props.x === 369) {2814 return React.createElement(2815 'div',2816 {className: '_1cig _25fg', id: undefined},2817 null,2818 React.createElement('span', {className: '_1cid'}, 'Results')2819 );2820 }2821 if (props.x === 374) {2822 return React.createElement(2823 'div',2824 {className: '_1cig _25fg', id: undefined},2825 null,2826 React.createElement('span', {className: '_1cid'}, 'Cost')2827 );2828 }2829 if (props.x === 379) {2830 return React.createElement(2831 'div',2832 {className: '_1cig _25fg', id: undefined},2833 null,2834 React.createElement('span', {className: '_1cid'}, 'Reach')2835 );2836 }2837 if (props.x === 384) {2838 return React.createElement(2839 'div',2840 {className: '_1cig _25fg', id: undefined},2841 null,2842 React.createElement('span', {className: '_1cid'}, 'Impressions')2843 );2844 }2845 if (props.x === 389) {2846 return React.createElement(2847 'div',2848 {className: '_1cig _25fg', id: undefined},2849 null,2850 React.createElement('span', {className: '_1cid'}, 'Clicks')2851 );2852 }2853 if (props.x === 394) {2854 return React.createElement(2855 'div',2856 {className: '_1cig _25fg', id: undefined},2857 null,2858 React.createElement('span', {className: '_1cid'}, 'Avg. CPM')2859 );2860 }2861 if (props.x === 399) {2862 return React.createElement(2863 'div',2864 {className: '_1cig _25fg', id: undefined},2865 null,2866 React.createElement('span', {className: '_1cid'}, 'Avg. CPC')2867 );2868 }2869 if (props.x === 404) {2870 return React.createElement(2871 'div',2872 {className: '_1cig _25fg', id: undefined},2873 null,2874 React.createElement('span', {className: '_1cid'}, 'CTR %')2875 );2876 }2877 if (props.x === 409) {2878 return React.createElement(2879 'div',2880 {className: '_1cig _25fg', id: undefined},2881 null,2882 React.createElement('span', {className: '_1cid'}, 'Spent')2883 );2884 }2885 if (props.x === 414) {2886 return React.createElement(2887 'div',2888 {className: '_1cig _25fg', id: undefined},2889 null,2890 React.createElement('span', {className: '_1cid'}, 'Objective')2891 );2892 }2893 if (props.x === 419) {2894 return React.createElement(2895 'div',2896 {className: '_1cig _25fg', id: undefined},2897 null,2898 React.createElement('span', {className: '_1cid'}, 'Buying Type')2899 );2900 }2901 if (props.x === 424) {2902 return React.createElement(2903 'div',2904 {className: '_1cig _25fg', id: undefined},2905 null,2906 React.createElement('span', {className: '_1cid'}, 'Campaign ID')2907 );2908 }2909 if (props.x === 429) {2910 return React.createElement(2911 'div',2912 {className: '_1cig _25fg', id: undefined},2913 null,2914 React.createElement('span', {className: '_1cid'}, 'Start')2915 );2916 }2917 if (props.x === 434) {2918 return React.createElement(2919 'div',2920 {className: '_1cig _25fg', id: undefined},2921 null,2922 React.createElement('span', {className: '_1cid'}, 'End')2923 );2924 }2925 if (props.x === 439) {2926 return React.createElement(2927 'div',2928 {className: '_1cig _25fg', id: undefined},2929 null,2930 React.createElement('span', {className: '_1cid'}, 'Date created')2931 );2932 }2933 if (props.x === 444) {2934 return React.createElement(2935 'div',2936 {className: '_1cig _25fg', id: undefined},2937 null,2938 React.createElement('span', {className: '_1cid'}, 'Date last edited')2939 );2940 }2941 if (props.x === 449) {2942 return React.createElement(2943 'div',2944 {className: '_1cig _25fg _4h2r', id: undefined},2945 null,2946 React.createElement('span', {className: '_1cid'}, 'Tags')2947 );2948 }2949 if (props.x === 452) {2950 return React.createElement('div', {2951 className: '_1cig _25fg _4h2r',2952 id: undefined,2953 });2954 }2955 };2956 var TransitionCell142 = function(props) {2957 if (props.x === 316) {2958 return React.createElement(2959 'div',2960 {2961 label: 'Campaigns',2962 height: 40,2963 width: 721,2964 className: '_4lgc _4h2u',2965 style: {height: 40, width: 721},2966 },2967 React.createElement(2968 'div',2969 {className: '_4lgd _4h2w'},2970 React.createElement(2971 'div',2972 {className: '_4lge _4h2x'},2973 React.createElement(AdsPETableHeader141, {x: 315})2974 )2975 )2976 );2977 }2978 if (props.x === 321) {2979 return React.createElement(2980 'div',2981 {2982 label: 'Performance',2983 height: 40,2984 width: 798,2985 className: '_4lgc _4h2u',2986 style: {height: 40, width: 798},2987 },2988 React.createElement(2989 'div',2990 {className: '_4lgd _4h2w'},2991 React.createElement(2992 'div',2993 {className: '_4lge _4h2x'},2994 React.createElement(AdsPETableHeader141, {x: 320})2995 )2996 )2997 );2998 }2999 if (props.x === 324) {3000 return React.createElement(3001 'div',3002 {3003 label: 'Overview',3004 height: 40,3005 width: 1022,3006 className: '_4lgc _4h2u',3007 style: {height: 40, width: 1022},3008 },3009 React.createElement(3010 'div',3011 {className: '_4lgd _4h2w'},3012 React.createElement(3013 'div',3014 {className: '_4lge _4h2x'},3015 React.createElement(AdsPETableHeader141, {x: 323})3016 )3017 )3018 );3019 }3020 if (props.x === 327) {3021 return React.createElement(3022 'div',3023 {3024 label: 'Toplines',3025 height: 40,3026 width: 0,3027 className: '_4lgc _4h2u',3028 style: {height: 40, width: 0},3029 },3030 React.createElement(3031 'div',3032 {className: '_4lgd _4h2w'},3033 React.createElement(3034 'div',3035 {className: '_4lge _4h2x'},3036 React.createElement(AdsPETableHeader141, {x: 326})3037 )3038 )3039 );3040 }3041 if (props.x === 330) {3042 return React.createElement(3043 'div',3044 {3045 label: '',3046 height: 40,3047 width: 25,3048 className: '_4lgc _4h2u',3049 style: {height: 40, width: 25},3050 },3051 React.createElement(3052 'div',3053 {className: '_4lgd _4h2w'},3054 React.createElement(3055 'div',3056 {className: '_4lge _4h2x'},3057 React.createElement(AdsPETableHeader141, {x: 329})3058 )3059 )3060 );3061 }3062 if (props.x === 338) {3063 return React.createElement(3064 'div',3065 {3066 label: undefined,3067 width: 42,3068 className: '_4lgc _4h2u',3069 height: 25,3070 style: {height: 25, width: 42},3071 },3072 React.createElement(3073 'div',3074 {className: '_4lgd _4h2w'},3075 React.createElement(3076 'div',3077 {className: '_4lge _4h2x'},3078 React.createElement(XUICheckboxInput60, {x: 337})3079 )3080 )3081 );3082 }3083 if (props.x === 343) {3084 return React.createElement(3085 'div',3086 {3087 label: 'Campaign Name',3088 width: 400,3089 className: '_4lgc _4h2u',3090 height: 25,3091 style: {height: 25, width: 400},3092 },3093 React.createElement(3094 'div',3095 {className: '_4lgd _4h2w'},3096 React.createElement(3097 'div',3098 {className: '_4lge _4h2x'},3099 React.createElement(FixedDataTableSortableHeader149, {x: 342})3100 )3101 )3102 );3103 }3104 if (props.x === 349) {3105 return React.createElement(3106 'div',3107 {3108 label: undefined,3109 width: 33,3110 className: '_4lgc _4h2u',3111 height: 25,3112 style: {height: 25, width: 33},3113 },3114 React.createElement(3115 'div',3116 {className: '_4lgd _4h2w'},3117 React.createElement(3118 'div',3119 {className: '_4lge _4h2x'},3120 React.createElement(FixedDataTableSortableHeader149, {x: 348})3121 )3122 )3123 );3124 }3125 if (props.x === 355) {3126 return React.createElement(3127 'div',3128 {3129 label: undefined,3130 width: 36,3131 className: '_4lgc _4h2u',3132 height: 25,3133 style: {height: 25, width: 36},3134 },3135 React.createElement(3136 'div',3137 {className: '_4lgd _4h2w'},3138 React.createElement(3139 'div',3140 {className: '_4lge _4h2x'},3141 React.createElement(FixedDataTableSortableHeader149, {x: 354})3142 )3143 )3144 );3145 }3146 if (props.x === 360) {3147 return React.createElement(3148 'div',3149 {3150 label: 'Status',3151 width: 60,3152 className: '_4lgc _4h2u',3153 height: 25,3154 style: {height: 25, width: 60},3155 },3156 React.createElement(3157 'div',3158 {className: '_4lgd _4h2w'},3159 React.createElement(3160 'div',3161 {className: '_4lge _4h2x'},3162 React.createElement(FixedDataTableSortableHeader149, {x: 359})3163 )3164 )3165 );3166 }3167 if (props.x === 365) {3168 return React.createElement(3169 'div',3170 {3171 label: 'Delivery',3172 width: 150,3173 className: '_4lgc _4h2u',3174 height: 25,3175 style: {height: 25, width: 150},3176 },3177 React.createElement(3178 'div',3179 {className: '_4lgd _4h2w'},3180 React.createElement(3181 'div',3182 {className: '_4lge _4h2x'},3183 React.createElement(FixedDataTableSortableHeader149, {x: 364})3184 )3185 )3186 );3187 }3188 if (props.x === 372) {3189 return React.createElement(3190 'div',3191 {3192 label: 'Results',3193 width: 140,3194 className: '_4lgc _4h2u',3195 height: 25,3196 style: {height: 25, width: 140},3197 },3198 React.createElement(3199 'div',3200 {className: '_4lgd _4h2w'},3201 React.createElement(3202 'div',3203 {className: '_4lge _4h2x'},3204 React.createElement(FixedDataTableSortableHeader149, {x: 371})3205 )3206 )3207 );3208 }3209 if (props.x === 377) {3210 return React.createElement(3211 'div',3212 {3213 label: 'Cost',3214 width: 140,3215 className: '_4lgc _4h2u',3216 height: 25,3217 style: {height: 25, width: 140},3218 },3219 React.createElement(3220 'div',3221 {className: '_4lgd _4h2w'},3222 React.createElement(3223 'div',3224 {className: '_4lge _4h2x'},3225 React.createElement(FixedDataTableSortableHeader149, {x: 376})3226 )3227 )3228 );3229 }3230 if (props.x === 382) {3231 return React.createElement(3232 'div',3233 {3234 label: 'Reach',3235 width: 80,3236 className: '_4lgc _4h2u',3237 height: 25,3238 style: {height: 25, width: 80},3239 },3240 React.createElement(3241 'div',3242 {className: '_4lgd _4h2w'},3243 React.createElement(3244 'div',3245 {className: '_4lge _4h2x'},3246 React.createElement(FixedDataTableSortableHeader149, {x: 381})3247 )3248 )3249 );3250 }3251 if (props.x === 387) {3252 return React.createElement(3253 'div',3254 {3255 label: 'Impressions',3256 width: 80,3257 className: '_4lgc _4h2u',3258 height: 25,3259 style: {height: 25, width: 80},3260 },3261 React.createElement(3262 'div',3263 {className: '_4lgd _4h2w'},3264 React.createElement(3265 'div',3266 {className: '_4lge _4h2x'},3267 React.createElement(FixedDataTableSortableHeader149, {x: 386})3268 )3269 )3270 );3271 }3272 if (props.x === 392) {3273 return React.createElement(3274 'div',3275 {3276 label: 'Clicks',3277 width: 60,3278 className: '_4lgc _4h2u',3279 height: 25,3280 style: {height: 25, width: 60},3281 },3282 React.createElement(3283 'div',3284 {className: '_4lgd _4h2w'},3285 React.createElement(3286 'div',3287 {className: '_4lge _4h2x'},3288 React.createElement(FixedDataTableSortableHeader149, {x: 391})3289 )3290 )3291 );3292 }3293 if (props.x === 397) {3294 return React.createElement(3295 'div',3296 {3297 label: 'Avg. CPM',3298 width: 80,3299 className: '_4lgc _4h2u',3300 height: 25,3301 style: {height: 25, width: 80},3302 },3303 React.createElement(3304 'div',3305 {className: '_4lgd _4h2w'},3306 React.createElement(3307 'div',3308 {className: '_4lge _4h2x'},3309 React.createElement(FixedDataTableSortableHeader149, {x: 396})3310 )3311 )3312 );3313 }3314 if (props.x === 402) {3315 return React.createElement(3316 'div',3317 {3318 label: 'Avg. CPC',3319 width: 78,3320 className: '_4lgc _4h2u',3321 height: 25,3322 style: {height: 25, width: 78},3323 },3324 React.createElement(3325 'div',3326 {className: '_4lgd _4h2w'},3327 React.createElement(3328 'div',3329 {className: '_4lge _4h2x'},3330 React.createElement(FixedDataTableSortableHeader149, {x: 401})3331 )3332 )3333 );3334 }3335 if (props.x === 407) {3336 return React.createElement(3337 'div',3338 {3339 label: 'CTR %',3340 width: 70,3341 className: '_4lgc _4h2u',3342 height: 25,3343 style: {height: 25, width: 70},3344 },3345 React.createElement(3346 'div',3347 {className: '_4lgd _4h2w'},3348 React.createElement(3349 'div',3350 {className: '_4lge _4h2x'},3351 React.createElement(FixedDataTableSortableHeader149, {x: 406})3352 )3353 )3354 );3355 }3356 if (props.x === 412) {3357 return React.createElement(3358 'div',3359 {3360 label: 'Spent',3361 width: 70,3362 className: '_4lgc _4h2u',3363 height: 25,3364 style: {height: 25, width: 70},3365 },3366 React.createElement(3367 'div',3368 {className: '_4lgd _4h2w'},3369 React.createElement(3370 'div',3371 {className: '_4lge _4h2x'},3372 React.createElement(FixedDataTableSortableHeader149, {x: 411})3373 )3374 )3375 );3376 }3377 if (props.x === 417) {3378 return React.createElement(3379 'div',3380 {3381 label: 'Objective',3382 width: 200,3383 className: '_4lgc _4h2u',3384 height: 25,3385 style: {height: 25, width: 200},3386 },3387 React.createElement(3388 'div',3389 {className: '_4lgd _4h2w'},3390 React.createElement(3391 'div',3392 {className: '_4lge _4h2x'},3393 React.createElement(FixedDataTableSortableHeader149, {x: 416})3394 )3395 )3396 );3397 }3398 if (props.x === 422) {3399 return React.createElement(3400 'div',3401 {3402 label: 'Buying Type',3403 width: 100,3404 className: '_4lgc _4h2u',3405 height: 25,3406 style: {height: 25, width: 100},3407 },3408 React.createElement(3409 'div',3410 {className: '_4lgd _4h2w'},3411 React.createElement(3412 'div',3413 {className: '_4lge _4h2x'},3414 React.createElement(FixedDataTableSortableHeader149, {x: 421})3415 )3416 )3417 );3418 }3419 if (props.x === 427) {3420 return React.createElement(3421 'div',3422 {3423 label: 'Campaign ID',3424 width: 120,3425 className: '_4lgc _4h2u',3426 height: 25,3427 style: {height: 25, width: 120},3428 },3429 React.createElement(3430 'div',3431 {className: '_4lgd _4h2w'},3432 React.createElement(3433 'div',3434 {className: '_4lge _4h2x'},3435 React.createElement(FixedDataTableSortableHeader149, {x: 426})3436 )3437 )3438 );3439 }3440 if (props.x === 432) {3441 return React.createElement(3442 'div',3443 {3444 label: 'Start',3445 width: 113,3446 className: '_4lgc _4h2u',3447 height: 25,3448 style: {height: 25, width: 113},3449 },3450 React.createElement(3451 'div',3452 {className: '_4lgd _4h2w'},3453 React.createElement(3454 'div',3455 {className: '_4lge _4h2x'},3456 React.createElement(FixedDataTableSortableHeader149, {x: 431})3457 )3458 )3459 );3460 }3461 if (props.x === 437) {3462 return React.createElement(3463 'div',3464 {3465 label: 'End',3466 width: 113,3467 className: '_4lgc _4h2u',3468 height: 25,3469 style: {height: 25, width: 113},3470 },3471 React.createElement(3472 'div',3473 {className: '_4lgd _4h2w'},3474 React.createElement(3475 'div',3476 {className: '_4lge _4h2x'},3477 React.createElement(FixedDataTableSortableHeader149, {x: 436})3478 )3479 )3480 );3481 }3482 if (props.x === 442) {3483 return React.createElement(3484 'div',3485 {3486 label: 'Date created',3487 width: 113,3488 className: '_4lgc _4h2u',3489 height: 25,3490 style: {height: 25, width: 113},3491 },3492 React.createElement(3493 'div',3494 {className: '_4lgd _4h2w'},3495 React.createElement(3496 'div',3497 {className: '_4lge _4h2x'},3498 React.createElement(FixedDataTableSortableHeader149, {x: 441})3499 )3500 )3501 );3502 }3503 if (props.x === 447) {3504 return React.createElement(3505 'div',3506 {3507 label: 'Date last edited',3508 width: 113,3509 className: '_4lgc _4h2u',3510 height: 25,3511 style: {height: 25, width: 113},3512 },3513 React.createElement(3514 'div',3515 {className: '_4lgd _4h2w'},3516 React.createElement(3517 'div',3518 {className: '_4lge _4h2x'},3519 React.createElement(FixedDataTableSortableHeader149, {x: 446})3520 )3521 )3522 );3523 }3524 if (props.x === 450) {3525 return React.createElement(3526 'div',3527 {3528 label: 'Tags',3529 width: 150,3530 className: '_4lgc _4h2u',3531 height: 25,3532 style: {height: 25, width: 150},3533 },3534 React.createElement(3535 'div',3536 {className: '_4lgd _4h2w'},3537 React.createElement(3538 'div',3539 {className: '_4lge _4h2x'},3540 React.createElement(AdsPETableHeader141, {x: 449})3541 )3542 )3543 );3544 }3545 if (props.x === 453) {3546 return React.createElement(3547 'div',3548 {3549 label: '',3550 width: 25,3551 className: '_4lgc _4h2u',3552 height: 25,3553 style: {height: 25, width: 25},3554 },3555 React.createElement(3556 'div',3557 {className: '_4lgd _4h2w'},3558 React.createElement(3559 'div',3560 {className: '_4lge _4h2x'},3561 React.createElement(AdsPETableHeader141, {x: 452})3562 )3563 )3564 );3565 }3566 };3567 var FixedDataTableCell143 = function(props) {3568 if (props.x === 317) {3569 return React.createElement(3570 'div',3571 {className: '_4lg0 _4h2m', style: {height: 40, width: 721, left: 0}},3572 undefined,3573 React.createElement(TransitionCell142, {x: 316})3574 );3575 }3576 if (props.x === 322) {3577 return React.createElement(3578 'div',3579 {className: '_4lg0 _4h2m', style: {height: 40, width: 798, left: 0}},3580 undefined,3581 React.createElement(TransitionCell142, {x: 321})3582 );3583 }3584 if (props.x === 325) {3585 return React.createElement(3586 'div',3587 {className: '_4lg0 _4h2m', style: {height: 40, width: 1022, left: 798}},3588 undefined,3589 React.createElement(TransitionCell142, {x: 324})3590 );3591 }3592 if (props.x === 328) {3593 return React.createElement(3594 'div',3595 {className: '_4lg0 _4h2m', style: {height: 40, width: 0, left: 1820}},3596 undefined,3597 React.createElement(TransitionCell142, {x: 327})3598 );3599 }3600 if (props.x === 331) {3601 return React.createElement(3602 'div',3603 {className: '_4lg0 _4h2m', style: {height: 40, width: 25, left: 1820}},3604 undefined,3605 React.createElement(TransitionCell142, {x: 330})3606 );3607 }3608 if (props.x === 339) {3609 return React.createElement(3610 'div',3611 {3612 className: '_4lg0 _4lg6 _4h2m',3613 style: {height: 25, width: 42, left: 0},3614 },3615 undefined,3616 React.createElement(TransitionCell142, {x: 338})3617 );3618 }3619 if (props.x === 344) {3620 return React.createElement(3621 'div',3622 {className: '_4lg0 _4h2m', style: {height: 25, width: 400, left: 42}},3623 React.createElement(3624 'div',3625 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3626 React.createElement('div', {3627 className: '_4lga _4lgb',3628 style: {height: 25},3629 })3630 ),3631 React.createElement(TransitionCell142, {x: 343})3632 );3633 }3634 if (props.x === 350) {3635 return React.createElement(3636 'div',3637 {className: '_4lg0 _4h2m', style: {height: 25, width: 33, left: 442}},3638 undefined,3639 React.createElement(TransitionCell142, {x: 349})3640 );3641 }3642 if (props.x === 356) {3643 return React.createElement(3644 'div',3645 {className: '_4lg0 _4h2m', style: {height: 25, width: 36, left: 475}},3646 undefined,3647 React.createElement(TransitionCell142, {x: 355})3648 );3649 }3650 if (props.x === 361) {3651 return React.createElement(3652 'div',3653 {className: '_4lg0 _4h2m', style: {height: 25, width: 60, left: 511}},3654 undefined,3655 React.createElement(TransitionCell142, {x: 360})3656 );3657 }3658 if (props.x === 366) {3659 return React.createElement(3660 'div',3661 {className: '_4lg0 _4h2m', style: {height: 25, width: 150, left: 571}},3662 React.createElement(3663 'div',3664 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3665 React.createElement('div', {3666 className: '_4lga _4lgb',3667 style: {height: 25},3668 })3669 ),3670 React.createElement(TransitionCell142, {x: 365})3671 );3672 }3673 if (props.x === 373) {3674 return React.createElement(3675 'div',3676 {3677 className: '_4lg0 _4lg5 _4h2p _4h2m',3678 style: {height: 25, width: 140, left: 0},3679 },3680 React.createElement(3681 'div',3682 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3683 React.createElement('div', {3684 className: '_4lga _4lgb',3685 style: {height: 25},3686 })3687 ),3688 React.createElement(TransitionCell142, {x: 372})3689 );3690 }3691 if (props.x === 378) {3692 return React.createElement(3693 'div',3694 {3695 className: '_4lg0 _4lg5 _4h2p _4h2m',3696 style: {height: 25, width: 140, left: 140},3697 },3698 React.createElement(3699 'div',3700 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3701 React.createElement('div', {3702 className: '_4lga _4lgb',3703 style: {height: 25},3704 })3705 ),3706 React.createElement(TransitionCell142, {x: 377})3707 );3708 }3709 if (props.x === 383) {3710 return React.createElement(3711 'div',3712 {3713 className: '_4lg0 _4lg5 _4h2p _4h2m',3714 style: {height: 25, width: 80, left: 280},3715 },3716 React.createElement(3717 'div',3718 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3719 React.createElement('div', {3720 className: '_4lga _4lgb',3721 style: {height: 25},3722 })3723 ),3724 React.createElement(TransitionCell142, {x: 382})3725 );3726 }3727 if (props.x === 388) {3728 return React.createElement(3729 'div',3730 {3731 className: '_4lg0 _4lg5 _4h2p _4h2m',3732 style: {height: 25, width: 80, left: 360},3733 },3734 React.createElement(3735 'div',3736 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3737 React.createElement('div', {3738 className: '_4lga _4lgb',3739 style: {height: 25},3740 })3741 ),3742 React.createElement(TransitionCell142, {x: 387})3743 );3744 }3745 if (props.x === 393) {3746 return React.createElement(3747 'div',3748 {3749 className: '_4lg0 _4lg5 _4h2p _4h2m',3750 style: {height: 25, width: 60, left: 440},3751 },3752 React.createElement(3753 'div',3754 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3755 React.createElement('div', {3756 className: '_4lga _4lgb',3757 style: {height: 25},3758 })3759 ),3760 React.createElement(TransitionCell142, {x: 392})3761 );3762 }3763 if (props.x === 398) {3764 return React.createElement(3765 'div',3766 {3767 className: '_4lg0 _4lg5 _4h2p _4h2m',3768 style: {height: 25, width: 80, left: 500},3769 },3770 React.createElement(3771 'div',3772 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3773 React.createElement('div', {3774 className: '_4lga _4lgb',3775 style: {height: 25},3776 })3777 ),3778 React.createElement(TransitionCell142, {x: 397})3779 );3780 }3781 if (props.x === 403) {3782 return React.createElement(3783 'div',3784 {3785 className: '_4lg0 _4lg5 _4h2p _4h2m',3786 style: {height: 25, width: 78, left: 580},3787 },3788 React.createElement(3789 'div',3790 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3791 React.createElement('div', {3792 className: '_4lga _4lgb',3793 style: {height: 25},3794 })3795 ),3796 React.createElement(TransitionCell142, {x: 402})3797 );3798 }3799 if (props.x === 408) {3800 return React.createElement(3801 'div',3802 {3803 className: '_4lg0 _4lg5 _4h2p _4h2m',3804 style: {height: 25, width: 70, left: 658},3805 },3806 React.createElement(3807 'div',3808 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3809 React.createElement('div', {3810 className: '_4lga _4lgb',3811 style: {height: 25},3812 })3813 ),3814 React.createElement(TransitionCell142, {x: 407})3815 );3816 }3817 if (props.x === 413) {3818 return React.createElement(3819 'div',3820 {3821 className: '_4lg0 _4lg5 _4h2p _4h2m',3822 style: {height: 25, width: 70, left: 728},3823 },3824 React.createElement(3825 'div',3826 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3827 React.createElement('div', {3828 className: '_4lga _4lgb',3829 style: {height: 25},3830 })3831 ),3832 React.createElement(TransitionCell142, {x: 412})3833 );3834 }3835 if (props.x === 418) {3836 return React.createElement(3837 'div',3838 {className: '_4lg0 _4h2m', style: {height: 25, width: 200, left: 798}},3839 React.createElement(3840 'div',3841 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3842 React.createElement('div', {3843 className: '_4lga _4lgb',3844 style: {height: 25},3845 })3846 ),3847 React.createElement(TransitionCell142, {x: 417})3848 );3849 }3850 if (props.x === 423) {3851 return React.createElement(3852 'div',3853 {className: '_4lg0 _4h2m', style: {height: 25, width: 100, left: 998}},3854 React.createElement(3855 'div',3856 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3857 React.createElement('div', {3858 className: '_4lga _4lgb',3859 style: {height: 25},3860 })3861 ),3862 React.createElement(TransitionCell142, {x: 422})3863 );3864 }3865 if (props.x === 428) {3866 return React.createElement(3867 'div',3868 {className: '_4lg0 _4h2m', style: {height: 25, width: 120, left: 1098}},3869 React.createElement(3870 'div',3871 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3872 React.createElement('div', {3873 className: '_4lga _4lgb',3874 style: {height: 25},3875 })3876 ),3877 React.createElement(TransitionCell142, {x: 427})3878 );3879 }3880 if (props.x === 433) {3881 return React.createElement(3882 'div',3883 {className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1218}},3884 React.createElement(3885 'div',3886 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3887 React.createElement('div', {3888 className: '_4lga _4lgb',3889 style: {height: 25},3890 })3891 ),3892 React.createElement(TransitionCell142, {x: 432})3893 );3894 }3895 if (props.x === 438) {3896 return React.createElement(3897 'div',3898 {className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1331}},3899 React.createElement(3900 'div',3901 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3902 React.createElement('div', {3903 className: '_4lga _4lgb',3904 style: {height: 25},3905 })3906 ),3907 React.createElement(TransitionCell142, {x: 437})3908 );3909 }3910 if (props.x === 443) {3911 return React.createElement(3912 'div',3913 {className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1444}},3914 React.createElement(3915 'div',3916 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3917 React.createElement('div', {3918 className: '_4lga _4lgb',3919 style: {height: 25},3920 })3921 ),3922 React.createElement(TransitionCell142, {x: 442})3923 );3924 }3925 if (props.x === 448) {3926 return React.createElement(3927 'div',3928 {className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1557}},3929 React.createElement(3930 'div',3931 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3932 React.createElement('div', {3933 className: '_4lga _4lgb',3934 style: {height: 25},3935 })3936 ),3937 React.createElement(TransitionCell142, {x: 447})3938 );3939 }3940 if (props.x === 451) {3941 return React.createElement(3942 'div',3943 {className: '_4lg0 _4h2m', style: {height: 25, width: 150, left: 1670}},3944 React.createElement(3945 'div',3946 {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},3947 React.createElement('div', {3948 className: '_4lga _4lgb',3949 style: {height: 25},3950 })3951 ),3952 React.createElement(TransitionCell142, {x: 450})3953 );3954 }3955 if (props.x === 454) {3956 return React.createElement(3957 'div',3958 {className: '_4lg0 _4h2m', style: {height: 25, width: 25, left: 1820}},3959 undefined,3960 React.createElement(TransitionCell142, {x: 453})3961 );3962 }3963 };3964 var FixedDataTableCellGroupImpl144 = function(props) {3965 if (props.x === 318) {3966 return React.createElement(3967 'div',3968 {3969 className: '_3pzj',3970 style: {3971 height: 40,3972 position: 'absolute',3973 width: 721,3974 zIndex: 2,3975 transform: 'translate3d(0px,0px,0)',3976 backfaceVisibility: 'hidden',3977 },3978 },3979 React.createElement(FixedDataTableCell143, {x: 317, key: 'cell_0'})3980 );3981 }3982 if (props.x === 332) {3983 return React.createElement(3984 'div',3985 {3986 className: '_3pzj',3987 style: {3988 height: 40,3989 position: 'absolute',3990 width: 1845,3991 zIndex: 0,3992 transform: 'translate3d(0px,0px,0)',3993 backfaceVisibility: 'hidden',3994 },3995 },3996 React.createElement(FixedDataTableCell143, {x: 322, key: 'cell_0'}),3997 React.createElement(FixedDataTableCell143, {x: 325, key: 'cell_1'}),3998 React.createElement(FixedDataTableCell143, {x: 328, key: 'cell_2'}),3999 React.createElement(FixedDataTableCell143, {x: 331, key: 'cell_3'})4000 );4001 }4002 if (props.x === 367) {4003 return React.createElement(4004 'div',4005 {4006 className: '_3pzj',4007 style: {4008 height: 25,4009 position: 'absolute',4010 width: 721,4011 zIndex: 2,4012 transform: 'translate3d(0px,0px,0)',4013 backfaceVisibility: 'hidden',4014 },4015 },4016 React.createElement(FixedDataTableCell143, {x: 339, key: 'cell_0'}),4017 React.createElement(FixedDataTableCell143, {x: 344, key: 'cell_1'}),4018 React.createElement(FixedDataTableCell143, {x: 350, key: 'cell_2'}),4019 React.createElement(FixedDataTableCell143, {x: 356, key: 'cell_3'}),4020 React.createElement(FixedDataTableCell143, {x: 361, key: 'cell_4'}),4021 React.createElement(FixedDataTableCell143, {x: 366, key: 'cell_5'})4022 );4023 }4024 if (props.x === 455) {4025 return React.createElement(4026 'div',4027 {4028 className: '_3pzj',4029 style: {4030 height: 25,4031 position: 'absolute',4032 width: 1845,4033 zIndex: 0,4034 transform: 'translate3d(0px,0px,0)',4035 backfaceVisibility: 'hidden',4036 },4037 },4038 React.createElement(FixedDataTableCell143, {x: 373, key: 'cell_0'}),4039 React.createElement(FixedDataTableCell143, {x: 378, key: 'cell_1'}),4040 React.createElement(FixedDataTableCell143, {x: 383, key: 'cell_2'}),4041 React.createElement(FixedDataTableCell143, {x: 388, key: 'cell_3'}),4042 React.createElement(FixedDataTableCell143, {x: 393, key: 'cell_4'}),4043 React.createElement(FixedDataTableCell143, {x: 398, key: 'cell_5'}),4044 React.createElement(FixedDataTableCell143, {x: 403, key: 'cell_6'}),4045 React.createElement(FixedDataTableCell143, {x: 408, key: 'cell_7'}),4046 React.createElement(FixedDataTableCell143, {x: 413, key: 'cell_8'}),4047 React.createElement(FixedDataTableCell143, {x: 418, key: 'cell_9'}),4048 React.createElement(FixedDataTableCell143, {x: 423, key: 'cell_10'}),4049 React.createElement(FixedDataTableCell143, {x: 428, key: 'cell_11'}),4050 React.createElement(FixedDataTableCell143, {x: 433, key: 'cell_12'}),4051 React.createElement(FixedDataTableCell143, {x: 438, key: 'cell_13'}),4052 React.createElement(FixedDataTableCell143, {x: 443, key: 'cell_14'}),4053 React.createElement(FixedDataTableCell143, {x: 448, key: 'cell_15'}),4054 React.createElement(FixedDataTableCell143, {x: 451, key: 'cell_16'}),4055 React.createElement(FixedDataTableCell143, {x: 454, key: 'cell_17'})4056 );4057 }4058 };4059 var FixedDataTableCellGroup145 = function(props) {4060 if (props.x === 319) {4061 return React.createElement(4062 'div',4063 {style: {height: 40, left: 0}, className: '_3pzk'},4064 React.createElement(FixedDataTableCellGroupImpl144, {x: 318})4065 );4066 }4067 if (props.x === 333) {4068 return React.createElement(4069 'div',4070 {style: {height: 40, left: 721}, className: '_3pzk'},4071 React.createElement(FixedDataTableCellGroupImpl144, {x: 332})4072 );4073 }4074 if (props.x === 368) {4075 return React.createElement(4076 'div',4077 {style: {height: 25, left: 0}, className: '_3pzk'},4078 React.createElement(FixedDataTableCellGroupImpl144, {x: 367})4079 );4080 }4081 if (props.x === 456) {4082 return React.createElement(4083 'div',4084 {style: {height: 25, left: 721}, className: '_3pzk'},4085 React.createElement(FixedDataTableCellGroupImpl144, {x: 455})4086 );4087 }4088 };4089 var FixedDataTableRowImpl146 = function(props) {4090 if (props.x === 334) {4091 return React.createElement(4092 'div',4093 {4094 className: '_1gd4 _4li _52no _3h1a _1mib',4095 onClick: null,4096 onDoubleClick: null,4097 onMouseDown: null,4098 onMouseEnter: null,4099 onMouseLeave: null,4100 style: {width: 1209, height: 40},4101 },4102 React.createElement(4103 'div',4104 {className: '_1gd5'},4105 React.createElement(FixedDataTableCellGroup145, {4106 x: 319,4107 key: 'fixed_cells',4108 }),4109 React.createElement(FixedDataTableCellGroup145, {4110 x: 333,4111 key: 'scrollable_cells',4112 }),4113 React.createElement('div', {4114 className: '_1gd6 _1gd8',4115 style: {left: 721, height: 40},4116 })4117 )4118 );4119 }4120 if (props.x === 457) {4121 return React.createElement(4122 'div',4123 {4124 className: '_1gd4 _4li _3h1a _1mib',4125 onClick: null,4126 onDoubleClick: null,4127 onMouseDown: null,4128 onMouseEnter: null,4129 onMouseLeave: null,4130 style: {width: 1209, height: 25},4131 },4132 React.createElement(4133 'div',4134 {className: '_1gd5'},4135 React.createElement(FixedDataTableCellGroup145, {4136 x: 368,4137 key: 'fixed_cells',4138 }),4139 React.createElement(FixedDataTableCellGroup145, {4140 x: 456,4141 key: 'scrollable_cells',4142 }),4143 React.createElement('div', {4144 className: '_1gd6 _1gd8',4145 style: {left: 721, height: 25},4146 })4147 )4148 );4149 }4150 };4151 var FixedDataTableRow147 = function(props) {4152 if (props.x === 335) {4153 return React.createElement(4154 'div',4155 {4156 style: {4157 width: 1209,4158 height: 40,4159 zIndex: 1,4160 transform: 'translate3d(0px,0px,0)',4161 backfaceVisibility: 'hidden',4162 },4163 className: '_1gda',4164 },4165 React.createElement(FixedDataTableRowImpl146, {x: 334})4166 );4167 }4168 if (props.x === 458) {4169 return React.createElement(4170 'div',4171 {4172 style: {4173 width: 1209,4174 height: 25,4175 zIndex: 1,4176 transform: 'translate3d(0px,40px,0)',4177 backfaceVisibility: 'hidden',4178 },4179 className: '_1gda',4180 },4181 React.createElement(FixedDataTableRowImpl146, {x: 457})4182 );4183 }4184 };4185 var FixedDataTableAbstractSortableHeader148 = function(props) {4186 if (props.x === 341) {4187 return React.createElement(4188 'div',4189 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4190 React.createElement(4191 'div',4192 {className: '_2eq6'},4193 null,4194 React.createElement(AdsPETableHeader141, {x: 340})4195 )4196 );4197 }4198 if (props.x === 347) {4199 return React.createElement(4200 'div',4201 {onClick: function() {}, className: '_54_8 _1kst _4h2r _2wzx'},4202 React.createElement(4203 'div',4204 {className: '_2eq6'},4205 null,4206 React.createElement(AdsPETableHeader141, {x: 346})4207 )4208 );4209 }4210 if (props.x === 353) {4211 return React.createElement(4212 'div',4213 {onClick: function() {}, className: '_54_8 _1kst _4h2r _2wzx'},4214 React.createElement(4215 'div',4216 {className: '_2eq6'},4217 null,4218 React.createElement(AdsPETableHeader141, {x: 352})4219 )4220 );4221 }4222 if (props.x === 358) {4223 return React.createElement(4224 'div',4225 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4226 React.createElement(4227 'div',4228 {className: '_2eq6'},4229 null,4230 React.createElement(AdsPETableHeader141, {x: 357})4231 )4232 );4233 }4234 if (props.x === 363) {4235 return React.createElement(4236 'div',4237 {onClick: function() {}, className: '_54_8 _54_9 _4h2r _2wzx'},4238 React.createElement(4239 'div',4240 {className: '_2eq6'},4241 null,4242 React.createElement(AdsPETableHeader141, {x: 362})4243 )4244 );4245 }4246 if (props.x === 370) {4247 return React.createElement(4248 'div',4249 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4250 React.createElement(4251 'div',4252 {className: '_2eq6'},4253 null,4254 React.createElement(AdsPETableHeader141, {x: 369})4255 )4256 );4257 }4258 if (props.x === 375) {4259 return React.createElement(4260 'div',4261 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4262 React.createElement(4263 'div',4264 {className: '_2eq6'},4265 null,4266 React.createElement(AdsPETableHeader141, {x: 374})4267 )4268 );4269 }4270 if (props.x === 380) {4271 return React.createElement(4272 'div',4273 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4274 React.createElement(4275 'div',4276 {className: '_2eq6'},4277 null,4278 React.createElement(AdsPETableHeader141, {x: 379})4279 )4280 );4281 }4282 if (props.x === 385) {4283 return React.createElement(4284 'div',4285 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4286 React.createElement(4287 'div',4288 {className: '_2eq6'},4289 null,4290 React.createElement(AdsPETableHeader141, {x: 384})4291 )4292 );4293 }4294 if (props.x === 390) {4295 return React.createElement(4296 'div',4297 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4298 React.createElement(4299 'div',4300 {className: '_2eq6'},4301 null,4302 React.createElement(AdsPETableHeader141, {x: 389})4303 )4304 );4305 }4306 if (props.x === 395) {4307 return React.createElement(4308 'div',4309 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4310 React.createElement(4311 'div',4312 {className: '_2eq6'},4313 null,4314 React.createElement(AdsPETableHeader141, {x: 394})4315 )4316 );4317 }4318 if (props.x === 400) {4319 return React.createElement(4320 'div',4321 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4322 React.createElement(4323 'div',4324 {className: '_2eq6'},4325 null,4326 React.createElement(AdsPETableHeader141, {x: 399})4327 )4328 );4329 }4330 if (props.x === 405) {4331 return React.createElement(4332 'div',4333 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4334 React.createElement(4335 'div',4336 {className: '_2eq6'},4337 null,4338 React.createElement(AdsPETableHeader141, {x: 404})4339 )4340 );4341 }4342 if (props.x === 410) {4343 return React.createElement(4344 'div',4345 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4346 React.createElement(4347 'div',4348 {className: '_2eq6'},4349 null,4350 React.createElement(AdsPETableHeader141, {x: 409})4351 )4352 );4353 }4354 if (props.x === 415) {4355 return React.createElement(4356 'div',4357 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4358 React.createElement(4359 'div',4360 {className: '_2eq6'},4361 null,4362 React.createElement(AdsPETableHeader141, {x: 414})4363 )4364 );4365 }4366 if (props.x === 420) {4367 return React.createElement(4368 'div',4369 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4370 React.createElement(4371 'div',4372 {className: '_2eq6'},4373 null,4374 React.createElement(AdsPETableHeader141, {x: 419})4375 )4376 );4377 }4378 if (props.x === 425) {4379 return React.createElement(4380 'div',4381 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4382 React.createElement(4383 'div',4384 {className: '_2eq6'},4385 null,4386 React.createElement(AdsPETableHeader141, {x: 424})4387 )4388 );4389 }4390 if (props.x === 430) {4391 return React.createElement(4392 'div',4393 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4394 React.createElement(4395 'div',4396 {className: '_2eq6'},4397 null,4398 React.createElement(AdsPETableHeader141, {x: 429})4399 )4400 );4401 }4402 if (props.x === 435) {4403 return React.createElement(4404 'div',4405 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4406 React.createElement(4407 'div',4408 {className: '_2eq6'},4409 null,4410 React.createElement(AdsPETableHeader141, {x: 434})4411 )4412 );4413 }4414 if (props.x === 440) {4415 return React.createElement(4416 'div',4417 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4418 React.createElement(4419 'div',4420 {className: '_2eq6'},4421 null,4422 React.createElement(AdsPETableHeader141, {x: 439})4423 )4424 );4425 }4426 if (props.x === 445) {4427 return React.createElement(4428 'div',4429 {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},4430 React.createElement(4431 'div',4432 {className: '_2eq6'},4433 null,4434 React.createElement(AdsPETableHeader141, {x: 444})4435 )4436 );4437 }4438 };4439 var FixedDataTableSortableHeader149 = function(props) {4440 if (props.x === 342) {4441 return React.createElement(FixedDataTableAbstractSortableHeader148, {4442 x: 341,4443 });4444 }4445 if (props.x === 348) {4446 return React.createElement(FixedDataTableAbstractSortableHeader148, {4447 x: 347,4448 });4449 }4450 if (props.x === 354) {4451 return React.createElement(FixedDataTableAbstractSortableHeader148, {4452 x: 353,4453 });4454 }4455 if (props.x === 359) {4456 return React.createElement(FixedDataTableAbstractSortableHeader148, {4457 x: 358,4458 });4459 }4460 if (props.x === 364) {4461 return React.createElement(FixedDataTableAbstractSortableHeader148, {4462 x: 363,4463 });4464 }4465 if (props.x === 371) {4466 return React.createElement(FixedDataTableAbstractSortableHeader148, {4467 x: 370,4468 });4469 }4470 if (props.x === 376) {4471 return React.createElement(FixedDataTableAbstractSortableHeader148, {4472 x: 375,4473 });4474 }4475 if (props.x === 381) {4476 return React.createElement(FixedDataTableAbstractSortableHeader148, {4477 x: 380,4478 });4479 }4480 if (props.x === 386) {4481 return React.createElement(FixedDataTableAbstractSortableHeader148, {4482 x: 385,4483 });4484 }4485 if (props.x === 391) {4486 return React.createElement(FixedDataTableAbstractSortableHeader148, {4487 x: 390,4488 });4489 }4490 if (props.x === 396) {4491 return React.createElement(FixedDataTableAbstractSortableHeader148, {4492 x: 395,4493 });4494 }4495 if (props.x === 401) {4496 return React.createElement(FixedDataTableAbstractSortableHeader148, {4497 x: 400,4498 });4499 }4500 if (props.x === 406) {4501 return React.createElement(FixedDataTableAbstractSortableHeader148, {4502 x: 405,4503 });4504 }4505 if (props.x === 411) {4506 return React.createElement(FixedDataTableAbstractSortableHeader148, {4507 x: 410,4508 });4509 }4510 if (props.x === 416) {4511 return React.createElement(FixedDataTableAbstractSortableHeader148, {4512 x: 415,4513 });4514 }4515 if (props.x === 421) {4516 return React.createElement(FixedDataTableAbstractSortableHeader148, {4517 x: 420,4518 });4519 }4520 if (props.x === 426) {4521 return React.createElement(FixedDataTableAbstractSortableHeader148, {4522 x: 425,4523 });4524 }4525 if (props.x === 431) {4526 return React.createElement(FixedDataTableAbstractSortableHeader148, {4527 x: 430,4528 });4529 }4530 if (props.x === 436) {4531 return React.createElement(FixedDataTableAbstractSortableHeader148, {4532 x: 435,4533 });4534 }4535 if (props.x === 441) {4536 return React.createElement(FixedDataTableAbstractSortableHeader148, {4537 x: 440,4538 });4539 }4540 if (props.x === 446) {4541 return React.createElement(FixedDataTableAbstractSortableHeader148, {4542 x: 445,4543 });4544 }4545 };4546 var FixedDataTableBufferedRows150 = function(props) {4547 if (props.x === 459) {4548 return React.createElement('div', {4549 style: {4550 position: 'absolute',4551 pointerEvents: 'auto',4552 transform: 'translate3d(0px,65px,0)',4553 backfaceVisibility: 'hidden',4554 },4555 });4556 }4557 };4558 var Scrollbar151 = function(props) {4559 if (props.x === 460) {4560 return null;4561 }4562 if (props.x === 461) {4563 return React.createElement(4564 'div',4565 {4566 onFocus: function() {},4567 onBlur: function() {},4568 onKeyDown: function() {},4569 onMouseDown: function() {},4570 onWheel: function() {},4571 className: '_1t0r _1t0t _4jdr _1t0u',4572 style: {width: 1209, zIndex: 99},4573 tabIndex: 0,4574 },4575 React.createElement('div', {4576 className: '_1t0w _1t0y _1t0_',4577 style: {4578 width: 561.6340607950117,4579 transform: 'translate3d(4px,0px,0)',4580 backfaceVisibility: 'hidden',4581 },4582 })4583 );4584 }4585 };4586 var HorizontalScrollbar152 = function(props) {4587 if (props.x === 462) {4588 return React.createElement(4589 'div',4590 {className: '_3h1k _3h1m', style: {height: 15, width: 1209}},4591 React.createElement(4592 'div',4593 {4594 style: {4595 height: 15,4596 position: 'absolute',4597 overflow: 'hidden',4598 width: 1209,4599 transform: 'translate3d(0px,0px,0)',4600 backfaceVisibility: 'hidden',4601 },4602 },4603 React.createElement(Scrollbar151, {x: 461})4604 )4605 );4606 }4607 };4608 var FixedDataTable153 = function(props) {4609 if (props.x === 463) {4610 return React.createElement(4611 'div',4612 {4613 className: '_3h1i _1mie',4614 onWheel: function() {},4615 style: {height: 25, width: 1209},4616 },4617 React.createElement(4618 'div',4619 {className: '_3h1j', style: {height: 8, width: 1209}},4620 React.createElement(FixedDataTableColumnResizeHandle140, {x: 313}),4621 React.createElement(FixedDataTableRow147, {4622 x: 335,4623 key: 'group_header',4624 }),4625 React.createElement(FixedDataTableRow147, {x: 458, key: 'header'}),4626 React.createElement(FixedDataTableBufferedRows150, {x: 459}),4627 null,4628 undefined,4629 React.createElement('div', {4630 className: '_3h1e _3h1h',4631 style: {top: 8},4632 })4633 ),4634 React.createElement(Scrollbar151, {x: 460}),4635 React.createElement(HorizontalScrollbar152, {x: 462})4636 );4637 }4638 };4639 var TransitionTable154 = function(props) {4640 if (props.x === 464) {4641 return React.createElement(FixedDataTable153, {x: 463});4642 }4643 };4644 var AdsSelectableFixedDataTable155 = function(props) {4645 if (props.x === 465) {4646 return React.createElement(4647 'div',4648 {className: '_5hht'},4649 React.createElement(TransitionTable154, {x: 464})4650 );4651 }4652 };4653 var AdsDataTableKeyboardSupportDecorator156 = function(props) {4654 if (props.x === 466) {4655 return React.createElement(4656 'div',4657 {className: '_5d6f', tabIndex: '0', onKeyDown: function() {}},4658 React.createElement(AdsSelectableFixedDataTable155, {x: 465})4659 );4660 }4661 };4662 var AdsEditableDataTableDecorator157 = function(props) {4663 if (props.x === 467) {4664 return React.createElement(4665 'div',4666 {onCopy: function() {}},4667 React.createElement(AdsDataTableKeyboardSupportDecorator156, {x: 466})4668 );4669 }4670 };4671 var AdsPEDataTableContainer158 = function(props) {4672 if (props.x === 468) {4673 return React.createElement(4674 'div',4675 {className: '_35l_ _1hr clearfix'},4676 null,4677 null,4678 null,4679 React.createElement(AdsEditableDataTableDecorator157, {x: 467})4680 );4681 }4682 };4683 var AdsPECampaignGroupTableContainer159 = function(props) {4684 if (props.x === 470) {4685 return React.createElement(ResponsiveBlock37, {x: 469});4686 }4687 };4688 var AdsPEManageAdsPaneContainer160 = function(props) {4689 if (props.x === 473) {4690 return React.createElement(4691 'div',4692 null,4693 React.createElement(AdsErrorBoundary10, {x: 65}),4694 React.createElement(4695 'div',4696 {className: '_2uty'},4697 React.createElement(AdsErrorBoundary10, {x: 125})4698 ),4699 React.createElement(4700 'div',4701 {className: '_2utx _21oc'},4702 React.createElement(AdsErrorBoundary10, {x: 171}),4703 React.createElement(4704 'div',4705 {className: '_41tu'},4706 React.createElement(AdsErrorBoundary10, {x: 176}),4707 React.createElement(AdsErrorBoundary10, {x: 194})4708 )4709 ),4710 React.createElement(4711 'div',4712 {className: '_2utz', style: {height: 25}},4713 React.createElement(AdsErrorBoundary10, {x: 302}),4714 React.createElement(4715 'div',4716 {className: '_2ut-'},4717 React.createElement(AdsErrorBoundary10, {x: 312})4718 ),4719 React.createElement(4720 'div',4721 {className: '_2ut_'},4722 React.createElement(AdsErrorBoundary10, {x: 472})4723 )4724 )4725 );4726 }4727 };4728 var AdsPEContentContainer161 = function(props) {4729 if (props.x === 474) {4730 return React.createElement(AdsPEManageAdsPaneContainer160, {x: 473});4731 }4732 };4733 var FluxContainer_AdsPEWorkspaceContainer_162 = function(props) {4734 if (props.x === 477) {4735 return React.createElement(4736 'div',4737 {className: '_49wu', style: {height: 177, top: 43, width: 1306}},4738 React.createElement(ResponsiveBlock37, {x: 62, key: '0'}),4739 React.createElement(AdsErrorBoundary10, {x: 476, key: '1'}),4740 null4741 );4742 }4743 };4744 var FluxContainer_AdsSessionExpiredDialogContainer_163 = function(props) {4745 if (props.x === 478) {4746 return null;4747 }4748 };4749 var FluxContainer_AdsPEUploadDialogLazyContainer_164 = function(props) {4750 if (props.x === 479) {4751 return null;4752 }4753 };4754 var FluxContainer_DialogContainer_165 = function(props) {4755 if (props.x === 480) {4756 return null;4757 }4758 };4759 var AdsBugReportContainer166 = function(props) {4760 if (props.x === 481) {4761 return React.createElement('span', null);4762 }4763 };4764 var AdsPEAudienceSplittingDialog167 = function(props) {4765 if (props.x === 482) {4766 return null;4767 }4768 };4769 var AdsPEAudienceSplittingDialogContainer168 = function(props) {4770 if (props.x === 483) {4771 return React.createElement(4772 'div',4773 null,4774 React.createElement(AdsPEAudienceSplittingDialog167, {x: 482})4775 );4776 }4777 };4778 var FluxContainer_AdsRuleDialogBootloadContainer_169 = function(props) {4779 if (props.x === 484) {4780 return null;4781 }4782 };4783 var FluxContainer_AdsPECFTrayContainer_170 = function(props) {4784 if (props.x === 485) {4785 return null;4786 }4787 };4788 var FluxContainer_AdsPEDeleteDraftContainer_171 = function(props) {4789 if (props.x === 486) {4790 return null;4791 }4792 };4793 var FluxContainer_AdsPEInitialDraftPublishDialogContainer_172 = function(4794 props4795 ) {4796 if (props.x === 487) {4797 return null;4798 }4799 };4800 var FluxContainer_AdsPEReachFrequencyStatusTransitionDialogBootloadContainer_173 = function(4801 props4802 ) {4803 if (props.x === 488) {4804 return null;4805 }4806 };4807 var FluxContainer_AdsPEPurgeArchiveDialogContainer_174 = function(props) {4808 if (props.x === 489) {4809 return null;4810 }4811 };4812 var AdsPECreateDialogContainer175 = function(props) {4813 if (props.x === 490) {4814 return React.createElement('span', null);4815 }4816 };4817 var FluxContainer_AdsPEModalStatusContainer_176 = function(props) {4818 if (props.x === 491) {4819 return null;4820 }4821 };4822 var FluxContainer_AdsBrowserExtensionErrorDialogContainer_177 = function(4823 props4824 ) {4825 if (props.x === 492) {4826 return null;4827 }4828 };4829 var FluxContainer_AdsPESortByErrorTipContainer_178 = function(props) {4830 if (props.x === 493) {4831 return null;4832 }4833 };4834 var LeadDownloadDialogSelector179 = function(props) {4835 if (props.x === 494) {4836 return null;4837 }4838 };4839 var FluxContainer_AdsPELeadDownloadDialogContainerClass_180 = function(4840 props4841 ) {4842 if (props.x === 495) {4843 return React.createElement(LeadDownloadDialogSelector179, {x: 494});4844 }4845 };4846 var AdsPEContainer181 = function(props) {4847 if (props.x === 496) {4848 return React.createElement(4849 'div',4850 {id: 'ads_pe_container'},4851 React.createElement(FluxContainer_AdsPETopNavContainer_26, {x: 41}),4852 null,4853 React.createElement(FluxContainer_AdsPEWorkspaceContainer_162, {4854 x: 477,4855 }),4856 React.createElement(4857 FluxContainer_AdsSessionExpiredDialogContainer_163,4858 {x: 478}4859 ),4860 React.createElement(FluxContainer_AdsPEUploadDialogLazyContainer_164, {4861 x: 479,4862 }),4863 React.createElement(FluxContainer_DialogContainer_165, {x: 480}),4864 React.createElement(AdsBugReportContainer166, {x: 481}),4865 React.createElement(AdsPEAudienceSplittingDialogContainer168, {x: 483}),4866 React.createElement(FluxContainer_AdsRuleDialogBootloadContainer_169, {4867 x: 484,4868 }),4869 React.createElement(FluxContainer_AdsPECFTrayContainer_170, {x: 485}),4870 React.createElement(4871 'span',4872 null,4873 React.createElement(FluxContainer_AdsPEDeleteDraftContainer_171, {4874 x: 486,4875 }),4876 React.createElement(4877 FluxContainer_AdsPEInitialDraftPublishDialogContainer_172,4878 {x: 487}4879 ),4880 React.createElement(4881 FluxContainer_AdsPEReachFrequencyStatusTransitionDialogBootloadContainer_173,4882 {x: 488}4883 )4884 ),4885 React.createElement(4886 FluxContainer_AdsPEPurgeArchiveDialogContainer_174,4887 {x: 489}4888 ),4889 React.createElement(AdsPECreateDialogContainer175, {x: 490}),4890 React.createElement(FluxContainer_AdsPEModalStatusContainer_176, {4891 x: 491,4892 }),4893 React.createElement(4894 FluxContainer_AdsBrowserExtensionErrorDialogContainer_177,4895 {x: 492}4896 ),4897 React.createElement(FluxContainer_AdsPESortByErrorTipContainer_178, {4898 x: 493,4899 }),4900 React.createElement(4901 FluxContainer_AdsPELeadDownloadDialogContainerClass_180,4902 {x: 495}4903 ),4904 React.createElement('div', {id: 'web_ads_guidance_tips'})4905 );4906 }4907 };4908 var Benchmark = function(props) {4909 if (props.x === undefined) {4910 return React.createElement(AdsPEContainer181, {x: 496});4911 }4912 };4913 var app = document.getElementById('app');4914 window.render = function render() {4915 ReactDOM.render(React.createElement(Benchmark, null), app);4916 };...
renderServer.js
Source:renderServer.js
1(() => {2 "use strict";3 var e = {4 986: (e) => {5 e.exports = require("body-parser");6 },7 771: (e) => {8 e.exports = require("config");9 },10 582: (e) => {11 e.exports = require("cors");12 },13 860: (e) => {14 e.exports = require("express");15 },16 689: (e) => {17 e.exports = require("react");18 },19 684: (e) => {20 e.exports = require("react-dom/server");21 },22 },23 a = {};24 function t(l) {25 var r = a[l];26 if (void 0 !== r) return r.exports;27 var n = (a[l] = { exports: {} });28 return e[l](n, n.exports, t), n.exports;29 }30 (t.n = (e) => {31 var a = e && e.__esModule ? () => e.default : () => e;32 return t.d(a, { a }), a;33 }),34 (t.d = (e, a) => {35 for (var l in a)36 t.o(a, l) &&37 !t.o(e, l) &&38 Object.defineProperty(e, l, { enumerable: !0, get: a[l] });39 }),40 (t.o = (e, a) => Object.prototype.hasOwnProperty.call(e, a)),41 (() => {42 var e = t(689),43 a = t.n(e);44 const l = "Gaofu0_WhLiZfSSlHHlK",45 r = require("@mui/icons-material/Cancel");46 var n = t.n(r);47 const c = require("@mui/icons-material/MicNone");48 var m = t.n(c);49 const s = require("@mui/icons-material/Search");50 var i = t.n(s);51 const o = function (e) {52 return a().createElement(53 "div",54 null,55 a().createElement(56 "div",57 { className: "yk2QQ0PLdw1FMQtzeoLK" },58 a().createElement(59 "div",60 { className: "raIWX0RIevESkKmDF5Wh" },61 "N"62 ),63 a().createElement("input", {64 className: "wO9AuZ1mSlqY8eEGb3qZ",65 placeholder: "ê²ìì´ë¥¼ ì
ë ¥í´ì£¼ì¸ì.",66 defaultValue: e.keyword,67 }),68 a().createElement(n(), {69 className: "CvWCFkpm_Gfk1MrGVe1s",70 sx: { fontSize: 25 },71 }),72 a().createElement(m(), {73 className: "Rg0WwUXCTpI6XtH0HddY",74 sx: { fontSize: 40 },75 }),76 a().createElement(i(), {77 className: "txiw8yXn4NiOoG9GdPCJ",78 sx: { fontSize: 40 },79 })80 ),81 a().createElement(82 "div",83 { className: "HbbDATNACiQacSV__cwn" },84 a().createElement(85 "a",86 { className: "i5wVFzCNpmqROYJxu6aK", href: "#home" },87 "íµí©"88 ),89 a().createElement(90 "a",91 { className: l, href: "#image" },92 "ì´ë¯¸ì§"93 ),94 a().createElement(95 "a",96 { className: l, href: "#knowledge" },97 "ì§ì백과"98 ),99 a().createElement("a", { className: l, href: "#view" }, "VIEW"),100 a().createElement("a", { className: l, href: "#kin" }, "ì§ìiN"),101 a().createElement(102 "a",103 { className: l, href: "#influencer" },104 "ì¸í루ì¸ì"105 ),106 a().createElement(107 "a",108 { className: l, href: "#video" },109 "ëìì"110 ),111 a().createElement(112 "a",113 { className: l, href: "#shopping" },114 "ì¼í"115 ),116 a().createElement("a", { className: l, href: "#news" }, "ë´ì¤"),117 a().createElement(118 "a",119 { className: l, href: "#dictionary" },120 "ì´íì¬ì "121 ),122 a().createElement("a", { className: l, href: "#map" }, "ì§ë"),123 a().createElement("a", { className: l, href: "#book" }, "ì±
"),124 a().createElement("a", { className: l, href: "#music" }, "뮤ì§"),125 a().createElement(126 "a",127 { className: l, href: "#audio" },128 "ì¤ëì¤í´ë¦½"129 )130 )131 );132 },133 E = "zqKn3ms1EpXpaqiFHl16",134 u = "i6FQaKGV1z6FfHYcGW71",135 d = require("@mui/icons-material/MoreVert");136 var f = t.n(d);137 const N = function (e) {138 return a().createElement(139 "span",140 { className: "AXFg08RuG4hRXDldMa8i" },141 a().createElement(142 "div",143 { className: "MQF0aWez7_V5hRwamw0V" },144 a().createElement("input", {145 type: "checkbox",146 className: "I8rIEiy46tKFggzexx_o",147 id: e.id,148 }),149 a().createElement(150 "div",151 { className: "peC6RO6lSf4yWpZwTfTh" },152 a().createElement("label", {153 for: e.id,154 className: "If7BXkk_A6mKwIfNn21k",155 }),156 a().createElement(157 "div",158 { className: "QXCFTsbZ0G1AgjoCAsJk" },159 a().createElement(160 "div",161 { className: "VB76yMq4Uo8uUSCO4WGN" },162 "Keepì ì ì¥ ",163 a().createElement("i", { className: "far fa-bookmark " + u })164 ),165 a().createElement(166 "div",167 { className: "hmLRnenGO1Wn22eFVD3Q" },168 "Keep ë°ë¡ê°ê¸°",169 " ",170 a().createElement("i", {171 className: "fas fa-chevron-right " + u,172 })173 )174 )175 ),176 a().createElement(177 "label",178 { for: e.id, className: "t90PJ1aT8fKkztqMNAHH" },179 a().createElement(f(), {180 sx: {181 fontSize: 30,182 color: e.color.circleColor,183 "&:hover": { color: e.color.circleHover },184 },185 })186 )187 )188 );189 };190 function h(e) {191 return a().createElement(192 "div",193 { className: "w8v97tusKPqi0f50smB4" },194 a().createElement(195 "h2",196 { className: "qQxVniB5CMxBq70RkIZ1" },197 e.title.name198 ),199 a().createElement(N, { color: e.colorScheme, id: "clickKeep" }),200 a().createElement(201 "div",202 {203 className: "spl1Tmt2bzFQ_o9HGiHW",204 style: { color: e.colorScheme.subTitle },205 },206 a().createElement("span", { className: E }, e.title.type),207 a().createElement("span", {208 className: "rE_2CjSK6Au6HP7CFwK6",209 style: { backgroundColor: e.colorScheme.subTapBar },210 }),211 a().createElement("span", { className: E }, e.title.subName)212 )213 );214 }215 const p = "ZD5uPrErEIoI8Czs6osS",216 b = "UpenaO3fzWKfrRWhnXOR",217 g = "FkbXTj3ln4sHSSPj3L2z",218 v = "F6JlJdKozDTguLRNhEHX",219 y = "fcLye7hIRyUBIsHOYXmW",220 k = "HOW7s48xMS79rdeewPcr",221 w = function (e) {222 return a().createElement(223 "div",224 { className: "AKvpsA5VvILGVv40MapP" },225 "last" === e.subTap.mainTap.order &&226 a().createElement(227 "ul",228 { className: p },229 a().createElement("li", { className: "s5s6dHhPWh4w9zpGH9vP" }),230 e.subTap.list.map(function (t, l) {231 return a().createElement(232 "li",233 { className: b, key: l },234 a().createElement(235 "a",236 {237 href: t.href,238 className: y,239 style: { color: e.colorScheme.subTapColor },240 },241 0 !== l &&242 a().createElement("span", {243 className: k,244 style: { backgroundColor: e.colorScheme.subTapBar },245 }),246 a().createElement("span", { className: v }, t.title)247 )248 );249 }),250 a().createElement(251 "li",252 { className: b },253 a().createElement(254 "a",255 {256 href: e.subTap.mainTap.href,257 className: g,258 style: { backgroundColor: e.colorScheme.subTapColor },259 },260 a().createElement(261 "span",262 { className: v },263 e.subTap.mainTap.title264 )265 )266 )267 ),268 "first" === e.subTap.mainTap.order &&269 a().createElement(270 "ul",271 { className: p },272 a().createElement(273 "li",274 { className: b },275 a().createElement(276 "a",277 {278 href: e.subTap.mainTap.href,279 className: g,280 style: { backgroundColor: e.colorScheme.subTapColor },281 },282 a().createElement(283 "span",284 { className: v },285 e.subTap.mainTap.title286 )287 )288 ),289 e.subTap.list.map(function (t, l) {290 return a().createElement(291 "li",292 { className: b, key: l },293 a().createElement(294 "a",295 {296 href: t.href,297 className: y,298 style: { color: e.colorScheme.subTapColor },299 },300 0 !== l &&301 a().createElement("span", {302 className: k,303 style: { backgroundColor: e.colorScheme.subTapBar },304 }),305 a().createElement("span", { className: v }, t.title)306 )307 );308 })309 )310 );311 },312 x = function (e) {313 return a().createElement(314 "div",315 { className: "V_biLkhbpj1TiFQG01hN" },316 a().createElement(317 "a",318 {319 href: e.similar.header.href,320 className: "L6y7q4VqgJX6pEwGqCd1",321 },322 a().createElement(323 "h3",324 { className: "opYSgc_qU8NwiRPi258Q" },325 e.similar.header.title326 ),327 a().createElement(328 "div",329 { className: "B9UDz_BXyNdOgnlK4GU2" },330 a().createElement("i", { className: "fas fa-arrow-right" })331 )332 ),333 a().createElement(334 "div",335 { className: "QonCLKyMnH4EZTJtJX6a" },336 a().createElement(337 "ul",338 { className: "EZC4ZkUZhJOygFL52u_X" },339 e.similar.list.map(function (e, t) {340 return a().createElement(341 "li",342 { className: "iaNH7NzZRgviGNC1dBmX", key: t },343 a().createElement(344 "a",345 { href: e.href, className: "OLwnrlzrFACPpAYMCoMg" },346 a().createElement(347 "div",348 { className: "BJRAN0HWVVeLKtCkUlWO" },349 a().createElement("img", {350 src: e.src,351 className: "TtgkT3w1qjE1T18xixS6",352 })353 ),354 a().createElement(355 "div",356 { className: "XsfPU1nN5WDOI9Yml29U" },357 e.title358 )359 ),360 e.sub_text361 ? a().createElement(362 "div",363 { className: "TKqCA7U0RCbd_Vke8i9U" },364 e.sub_text365 )366 : a().createElement(a().Fragment, null)367 );368 })369 )370 )371 );372 },373 S = function (e) {374 return a().createElement(375 "div",376 { className: "kctY_Gh1I_5CetLJmfOA" },377 a().createElement(378 "span",379 { className: "GFwtfSyIcJ2uBMqmooX8" },380 e.id + 1381 ),382 "none" !== e.thumbnail.same &&383 "" !== e.thumbnail.same &&384 a().createElement(385 "span",386 { className: "uvatixGFU9n7dnWT0pS9" },387 e.thumbnail.same388 ),389 a().createElement("img", {390 src: e.thumbnail.src,391 className: "ymxPYeh6ons4jbJmxpYw",392 })393 );394 },395 C = function (e) {396 return a().createElement(397 "div",398 null,399 a().createElement(400 "li",401 { className: "viPC45wUUT7f7wJVFPcQ", key: e.id },402 a().createElement(403 "a",404 { href: e.webtoon.href, className: "q9HpM3oK8cToynXEI9HM" },405 a().createElement(S, { thumbnail: e.webtoon, id: e.id }),406 a().createElement(407 "div",408 { className: "XiTNubUNlHVSQU88xCDi" },409 a().createElement(410 "div",411 { className: "tTOJrn_rhCsUE1UuFlvk" },412 e.webtoon.title413 ),414 a().createElement(415 "div",416 { className: "kSPqCzR_2Jm8v9gyfz3g" },417 e.webtoon.sub_text418 )419 ),420 "" !== e.webtoon.preference &&421 a().createElement(422 "div",423 null,424 a().createElement("hr", {425 className: "Zwx_I2u2WdTbYd3HeaRn",426 }),427 a().createElement(428 "div",429 { className: "GHoX2ZVR_JjnMYTM7iNy" },430 e.webtoon.preference431 )432 )433 )434 )435 );436 },437 I = require("@mui/icons-material/ArrowForward");438 var T = t.n(I);439 const F = function (e) {440 return a().createElement(441 "div",442 null,443 a().createElement(444 "li",445 { className: "uPb1cdhpligCyFuvtA7Q" },446 a().createElement(447 "a",448 { href: e.more.href, className: "DaT57tWciH1srSvuk5IS" },449 a().createElement(450 "span",451 { className: "bk9xqTkPt_qdGP2SrzI_" },452 a().createElement(T(), { className: "MVD9gFMgWZVAw7TtakmA" }),453 a().createElement(454 "span",455 { className: "PY87YT3qkggZrDk9fNA9" },456 e.more.text1,457 a().createElement("br", null),458 e.more.text2459 )460 )461 )462 )463 );464 },465 L = function (e) {466 return a().createElement(467 "div",468 { className: "YIDB6c1_0UceDa5lseVj" },469 a().createElement(470 "ul",471 { className: "G9rjOFeiZd03FuyMwp0B" },472 e.webtoon.list.map(function (e, t) {473 return a().createElement(C, { webtoon: e, id: t });474 }),475 "" !== e.webtoon.more.href &&476 a().createElement(F, { more: e.webtoon.more })477 )478 );479 },480 q = function (e) {481 return a().createElement(482 "div",483 { className: "j9LNCKid3In_AbXFpTVJ" },484 a().createElement(485 "h3",486 { className: "GRko11WACw8R7Xtch3OC" },487 "" !== e.titleInfo.button &&488 a().createElement(489 "span",490 { className: "gAq6d1SKw0bZB9bjqQ0_" },491 e.titleInfo.button492 ),493 e.titleInfo.title494 )495 );496 },497 R = function (e) {498 return a().createElement(499 "div",500 { className: "s5orwz_4geOSDxrgcgfz" },501 a().createElement(q, { titleInfo: e.common.together.header }),502 a().createElement(L, { webtoon: e.common.together }),503 a().createElement(q, { titleInfo: e.common.life.header }),504 a().createElement(L, { webtoon: e.common.life }),505 a().createElement(q, { titleInfo: e.common.new.header }),506 a().createElement(L, { webtoon: e.common.new }),507 a().createElement(q, { titleInfo: e.common.weekly.header }),508 a().createElement(L, { webtoon: e.common.weekly })509 );510 },511 U = require("@mui/icons-material/ErrorOutline");512 var K = t.n(U);513 const z = function (e) {514 return a().createElement(515 "div",516 { className: "ncFkgqRp3LFD2PLDEq2w" },517 a().createElement(q, { titleInfo: e.similar.header }),518 a().createElement(L, { webtoon: e.similar }),519 a().createElement(520 "div",521 { className: "R1wNawsdO4nTrcBztfUo" },522 a().createElement("span", null, e.similar.text),523 a().createElement(K(), {524 className: "py3HpTZ2zM5mShMhRkn4",525 sx: { color: "#0068c3", fontSize: "18px" },526 })527 )528 );529 },530 M = function (e) {531 return a().createElement(532 a().Fragment,533 null,534 a().createElement(535 "ul",536 { className: "WxiekqtyUr7BdP58n1bP" },537 a().createElement(538 "li",539 { className: "Kt9p9SgnoPbdFvLcRySq" },540 a().createElement(541 "a",542 { href: e.mainImage.href, className: "Arl5d3fdDyFyzFhFffdA" },543 a().createElement("img", {544 src: e.mainImage.src,545 className: "cMSuh5VzUCOn2YJVavc2",546 })547 )548 ),549 e.smallImage.list.map(function (e, t) {550 return a().createElement(551 "li",552 { className: "rzakIO_nyAIdwEGr4Q8H", key: t },553 a().createElement(554 "a",555 { href: e.href, className: "u1ySUEJkUEHH1H0Ilrcl" },556 2 === t557 ? a().createElement("img", {558 src: e.src,559 className: "EfiM7ANv1aMFljOCR9oG",560 })561 : a().createElement("img", {562 src: e.src,563 className: "VERd52ManLN8mR6JBJsf",564 })565 )566 );567 })568 )569 );570 },571 _ = function (e) {572 return a().createElement(573 a().Fragment,574 null,575 a().createElement(576 "div",577 { className: "vP2QgGmdyFAbl3CqrG1N" },578 a().createElement(579 "a",580 { href: e.basicInfo.href, className: "uuVWS01zSxlf4Ge9eWFK" },581 a().createElement(582 "h3",583 { className: "wdX0IJmarE0jzckevmpk" },584 e.basicInfo.title585 ),586 a().createElement(587 "div",588 { className: "sHx_H_1shk3I0VRjM8fJ" },589 a().createElement("i", { className: "fas fa-arrow-right" })590 )591 )592 ),593 a().createElement(594 "div",595 { className: "hkPOC3cmG2So70H7eYen" },596 a().createElement(597 "span",598 { className: "dcpqblUXwdjUENZ3bA0S" },599 e.basicInfo.detail600 ),601 a().createElement(602 "a",603 {604 href: e.basicInfo.moreDetails,605 className: "Wj_CrBT9OoY0eL2Kuw8L",606 },607 "ë보기"608 )609 )610 );611 },612 H = function (e) {613 return a().createElement(614 "div",615 { className: "mKVpa2NVZMsG58qsvqNp" },616 a().createElement(M, {617 mainImage: e.common.mainImage,618 smallImage: e.common.smallImage,619 }),620 a().createElement(_, { basicInfo: e.common.basicInfo })621 );622 },623 B = function (e) {624 return a().createElement(625 "div",626 { className: "MqKms0lrf0CEULJlxiuz" },627 a().createElement(628 "ul",629 { className: "rIgo2IAOkpGWECNYu17n" },630 e.common.imageList.map(function (t, l) {631 var r =632 0 === l633 ? "xZczpMtN8MvR9jLG93jy"634 : l === e.common.imageList.length - 1635 ? "OSm8GrXyUGa7J391Sgzb"636 : "QwboBBqRJnQT_wkHCK3f";637 return a().createElement(638 "li",639 { key: l },640 a().createElement(641 "a",642 { href: e.common.imgURL },643 a().createElement("img", {644 className: r,645 src: t.src,646 alt: t.alt,647 })648 )649 );650 })651 )652 );653 },654 G = "MJwqi1QXoetX0Rpc0VF4",655 O = function (e) {656 return a().createElement(657 "div",658 { className: "Ahrntx314hFVGwzHIUcc" },659 a().createElement(660 "a",661 {662 href: e.common.descriptionURL,663 className: "T8nc9ZF8_AnZx_tcNtz0",664 },665 a().createElement(666 "h3",667 { className: "WLPzHVEhwUSJMhdHX_4m" },668 e.common.title669 ),670 a().createElement(671 "div",672 { className: "CeInrxU_qvbcOJHzlNUX" },673 a().createElement("i", { className: "fas fa-arrow-right" })674 )675 ),676 a().createElement(677 "div",678 { className: "hipMqXSriBS0vAwkLauF" },679 a().createElement(680 "table",681 { className: "okPQTET8LpO47gulUQy0" },682 a().createElement(683 "tbody",684 null,685 Object.keys(e.common.information).map(function (t, l) {686 return a().createElement(687 "tr",688 { key: l },689 a().createElement(690 "td",691 { className: "KCbYgkcFRSdeQtiWSrdc", key: l },692 t693 ),694 e.common.information[t].link695 ? a().createElement(696 "td",697 { key: "td" + l, className: G },698 a().createElement(699 "a",700 {701 href: e.common.information[t].url,702 className: "FKBKlt3skRLtUnTzv1Dc",703 },704 e.common.information[t].detail705 )706 )707 : a().createElement(708 a().Fragment,709 null,710 a().createElement(711 "td",712 { key: "td" + l, className: G },713 e.common.information[t].detail714 )715 )716 );717 })718 )719 )720 ),721 a().createElement(722 "div",723 { style: { fontSize: "12pt", color: "#424242" } },724 e.common.descriptionText725 ),726 a().createElement(727 "div",728 { className: "YfpbIGwmvoybIN82ChLX" },729 a().createElement(730 "a",731 { href: e.common.place },732 a().createElement(733 "span",734 { className: "MrSJhfzhHQBe_Z0Ftmwo" },735 a().createElement("i", {736 className: "fas fa-map-marker-alt",737 style: { color: "#06c755" },738 }),739 " ",740 "ì§ë"741 )742 ),743 a().createElement(744 "span",745 { className: "Atn0U7ocYw0S3C2ExXi3" },746 a().createElement("input", {747 type: "checkbox",748 id: "modal",749 className: "TJiph3cKydz7rpLypr_v",750 }),751 a().createElement(752 "div",753 { className: "QLEeOilUcQEsGxMXkusk" },754 a().createElement("label", {755 for: "modal",756 className: "Y8K4T6NFn7RDPltz8pXA",757 }),758 a().createElement(759 "div",760 { className: "xjrzL9HSsX2fqN2lN5Sb" },761 a().createElement(762 "label",763 { for: "modal", className: "HX97eUF9mbFL8hzZYcax" },764 a().createElement("i", { className: "fas fa-times" })765 ),766 a().createElement(767 "div",768 { className: "y04NuSNEEGyW4kw1XrEN" },769 "ê³µì í기"770 ),771 a().createElement("div", {772 id: "shareBtn",773 className: "CjvBQ0FZASd2cnPqd0JN",774 }),775 a().createElement(776 "div",777 { className: "JRAlToDJfonIFXDmIwg5" },778 "ë¸ë¡ê·¸"779 ),780 a().createElement(781 "div",782 { className: "sHq6MBi5D4eYK_jxYlSb" },783 a().createElement(784 "table",785 { className: "MOOFyQE0WxZj_KSxMhvD" },786 a().createElement(787 "tbody",788 null,789 a().createElement(790 "tr",791 null,792 a().createElement(793 "td",794 { className: "yu9UCn2yJKzxKmSYTFCr" },795 a().createElement(796 "a",797 {798 href: e.shortenUrl,799 className: "O360tU8nKf8gi9Axk4LA",800 },801 e.shortenUrl802 )803 ),804 a().createElement(805 "td",806 { className: "fT4QZ8mbd9F3yiJut2IQ" },807 "URLë³µì¬"808 )809 )810 )811 )812 )813 )814 ),815 a().createElement(816 "label",817 { for: "modal", className: "KMvcqJzTmSTTQEYF9fSY" },818 a().createElement("i", { className: "fas fa-share-square" })819 )820 )821 )822 );823 },824 J = function (e) {825 return a().createElement(826 "div",827 { className: "AI2MWm_9lJfaJVeLEZU4" },828 a().createElement(B, { common: e.common }),829 a().createElement(O, { common: e.common, shortenUrl: e.shortenUrl })830 );831 },832 Q = function (e) {833 return a().createElement(834 "div",835 {836 className: "Bn0XRpftswNx9EPiPPsQ",837 style: { backgroundColor: e.mainCard.colorScheme.background },838 },839 a().createElement(840 "div",841 {842 className: "YxduKarJd57Gp5tqPOjB",843 style: { backgroundColor: e.mainCard.colorScheme.background },844 },845 a().createElement("div", {846 className: "hp_QfyBgFrgd2sabiD7X",847 style: { backgroundColor: e.mainCard.colorScheme.topBorder },848 }),849 a().createElement(h, {850 title: e.mainCard.title,851 colorScheme: e.mainCard.colorScheme,852 }),853 a().createElement(w, {854 subTap: e.mainCard.subTap,855 colorScheme: e.mainCard.colorScheme,856 })857 ),858 a().createElement(859 "div",860 { className: "ug_K208GTX5ib2lFbVx3" },861 "ë물" === e.mainCard.title.type &&862 a().createElement(H, { common: e.mainCard.common }),863 "문íì¬" === e.mainCard.title.type &&864 a().createElement(J, {865 common: e.mainCard.common,866 shortenUrl: e.shortenUrl,867 }),868 "ì¹í°" === e.mainCard.title.type &&869 a().createElement(R, { common: e.mainCard.common }),870 "ì¹í°" === e.mainCard.title.type &&871 a().createElement(z, { similar: e.mainCard.similar }),872 "ì¹í°" !== e.mainCard.title.type &&873 a().createElement(x, { similar: e.mainCard.similar })874 )875 );876 },877 A = "iZOu4FsfVAomVvnBaKUq",878 P = "i3SGqYLhgds4VhKasTwJ",879 V = "Cz2azLu9sjBkLkQhXtvj",880 X = "jJ_2XORafRmWfevJcACF",881 W = require("@mui/icons-material/Circle");882 var j = t.n(W);883 const Y = function (e) {884 return a().createElement(885 "div",886 { className: "scBiIhLQvvVFaQZXo00W" },887 a().createElement(888 "h2",889 { className: "d3w92phMabrQhHlqh6r9" },890 e.titleInfo.title,891 "ì¸í루ì¸ì" === e.titleInfo.title &&892 a().createElement(K(), {893 className: "OjntPDvbXjss_ttuzkDK",894 sx: { color: "#0068c3", fontSize: "18px" },895 })896 ),897 "ë´ì¤" === e.titleInfo.title &&898 a().createElement(899 "div",900 { className: "WgeFueAJe2LDM4MYwRl7" },901 a().createElement(902 "span",903 { className: "Xke8belThGTxKDjORgRh" },904 a().createElement(j(), { className: "tmLmwUon7VXwnapOfR2P" }),905 e.titleInfo.condition906 ),907 a().createElement(908 "a",909 {910 href: e.titleInfo.subcondition.href,911 className: "xqT1IITkJbanPjPV0vbM",912 },913 a().createElement(j(), { className: "MoqsnkcMpL7IsbngM_lY" }),914 e.titleInfo.subcondition.text915 )916 ),917 "ì¸í루ì¸ì" === e.titleInfo.title &&918 a().createElement(919 "div",920 { className: "NDHUKfhlNdl6dpH5AzuY" },921 a().createElement(922 "a",923 {924 href: e.titleInfo.subtitle.href,925 className: "OHqBdwtIzCpnTLYfN7kE",926 },927 e.titleInfo.subtitle.text928 )929 )930 );931 },932 Z = "snSvrP_fhpixsUTCfpn_",933 D = function (e) {934 return a().createElement(935 "ul",936 { className: "c8f3vgqoRT5NdXV5PMQs" },937 e.tabList.map(function (e, t) {938 return a().createElement(939 "li",940 { key: t },941 0 === t942 ? a().createElement(943 "a",944 { className: Z, key: t },945 a().createElement(946 "div",947 { className: "TJVQPIH0ilV25kGPXx4o" },948 a().createElement(949 "span",950 { className: "v6MLEfNdqWAjlZGzkkoj" },951 e.title952 ),953 " ",954 a().createElement(955 "span",956 { className: "SCH2aOclrvYlndtLl6xQ" },957 e.subtitle958 )959 )960 )961 : a().createElement(962 "a",963 { href: e.url, className: Z, key: t },964 a().createElement(965 "div",966 { className: "Bxtzd_vVWQKE9PmADYtn" },967 a().createElement("img", {968 src: e.image,969 className: "wC1KBy9RsoumJQpa6BwC",970 alt: t,971 }),972 a().createElement(973 "span",974 { className: "DDS0MqIHwig5vZ6g3A7E" },975 e.title976 ),977 " ",978 a().createElement(979 "span",980 { className: "imPrGM_YK6QlrJFnQm5R" },981 e.subtitle982 )983 )984 )985 );986 })987 );988 },989 $ = "f4xw5EevA5ZPLQC4I8ET",990 ee = "SFyZOiehaHmsk_x43fu3",991 ae = function (e) {992 return a().createElement(993 "div",994 { className: "wCF_q_km6bUDq0OehARF" },995 "Gold" === e.influencer.thumbnail.highlighted &&996 a().createElement(997 a().Fragment,998 null,999 a().createElement(1000 "a",1001 { href: e.influencer.thumbnail.url },1002 a().createElement("img", {1003 src: e.influencer.thumbnail.image,1004 className: $,1005 alt: "thumbnail",1006 style: { padding: "2px", border: "2px solid gold" },1007 })1008 ),1009 a().createElement(1010 "div",1011 { className: ee, style: { backgroundColor: "gold" } },1012 a().createElement("i", { className: "fas fa-crown" })1013 )1014 ),1015 "Silver" === e.influencer.thumbnail.highlighted &&1016 a().createElement(1017 a().Fragment,1018 null,1019 a().createElement(1020 "a",1021 { href: e.influencer.thumbnail.url },1022 a().createElement("img", {1023 src: e.influencer.thumbnail.image,1024 className: $,1025 alt: "thumbnail",1026 style: { padding: "2px", border: "2px solid silver" },1027 })1028 ),1029 a().createElement(1030 "div",1031 { className: ee, style: { backgroundColor: "silver" } },1032 a().createElement("i", { className: "fas fa-crown" })1033 )1034 ),1035 "Bronze" === e.influencer.thumbnail.highlighted &&1036 a().createElement(1037 a().Fragment,1038 null,1039 a().createElement(1040 "a",1041 { href: e.influencer.thumbnail.url },1042 a().createElement("img", {1043 src: e.influencer.thumbnail.image,1044 className: $,1045 alt: "thumbnail",1046 style: { padding: "2px", border: "2px solid #CD7F32" },1047 })1048 ),1049 a().createElement(1050 "div",1051 { className: ee, style: { backgroundColor: "#CD7F32" } },1052 a().createElement("i", { className: "fas fa-crown" })1053 )1054 ),1055 "None" === e.influencer.thumbnail.highlighted &&1056 a().createElement(1057 a().Fragment,1058 null,1059 a().createElement(1060 "a",1061 { href: e.influencer.thumbnail.url },1062 a().createElement("img", {1063 src: e.influencer.thumbnail.image,1064 className: $,1065 alt: "thumbnail",1066 style: { padding: "2px", border: "2px solid white" },1067 })1068 )1069 )1070 );1071 },1072 te = require("@mui/icons-material/FiberManualRecord");1073 var le = t.n(te);1074 const re = function (e) {1075 return a().createElement(1076 "div",1077 { className: "oc5_o8pxFLxI8Z8xJtqR" },1078 a().createElement(1079 "div",1080 {1081 className: "G9QaxRNIKUIBTaaKBYSB",1082 style: { color: e.colorScheme.main },1083 },1084 e.influencer.keywords.map(function (t, l) {1085 return a().createElement(1086 "div",1087 { key: l },1088 0 === l1089 ? a().createElement(1090 "div",1091 null,1092 "Blog" === t.type &&1093 a().createElement("i", {1094 className: "fas fa-stop",1095 style: { marginRight: "5px" },1096 }),1097 "YouTube" === t.type &&1098 a().createElement("i", {1099 className: "fab fa-youtube",1100 style: { marginRight: "5px" },1101 }),1102 "Company" === t.type &&1103 a().createElement("i", {1104 className: "fas fa-briefcase",1105 style: { marginRight: "5px" },1106 }),1107 a().createElement("b", null, t.title),1108 a().createElement(le(), {1109 sx: {1110 color: e.colorScheme.border,1111 fontSize: "4pt",1112 marginBottom: "2.5pt",1113 marginLeft: "5px",1114 marginRight: "5px",1115 },1116 })1117 )1118 : a().createElement(1119 "div",1120 null,1121 a().createElement("span", { key: l }, t.value),1122 l !== e.influencer.keywords.length - 1 &&1123 a().createElement(le(), {1124 sx: {1125 color: e.colorScheme.border,1126 fontSize: "4pt",1127 marginBottom: "2.5pt",1128 marginLeft: "5px",1129 marginRight: "5px",1130 },1131 })1132 )1133 );1134 })1135 ),1136 a().createElement(1137 "div",1138 {1139 className: "Vkoy9BcVod1WrIPGBmfd",1140 style: { borderColor: e.colorScheme.border },1141 },1142 a().createElement("i", {1143 className: "fas fa-chevron-down",1144 style: { color: e.colorScheme.main },1145 })1146 )1147 );1148 },1149 ne = function (e) {1150 return a().createElement(1151 "div",1152 { className: "zM0P8x37INmd5SMtTge8" },1153 a().createElement(1154 "ul",1155 { className: "W4Y50_WKRrW6r7e9NO0D" },1156 e.images.map(function (t, l) {1157 var r =1158 0 === l1159 ? "yBc434N4AZpEGjKdRvQP"1160 : l === e.images.length - 11161 ? "SBejqJ92woj7wqUE9gVf"1162 : "ICyQYcXvLgmj6ZjglyW1";1163 return a().createElement(1164 "li",1165 { key: l },1166 a().createElement(1167 "a",1168 { href: e.influencer.link },1169 a().createElement("img", {1170 src: t,1171 className: r,1172 alt: "thumbnail",1173 })1174 )1175 );1176 })1177 )1178 );1179 },1180 ce = function (e) {1181 return a().createElement(1182 a().Fragment,1183 null,1184 e.influencers.map(function (t) {1185 return a().createElement(1186 "div",1187 { className: "DyyyG_LI4K_gzTwkGumt" },1188 a().createElement(1189 "div",1190 { className: "lozlf1dFAIxyOWj5ZAK0" },1191 a().createElement(ae, { influencer: t }),1192 a().createElement(1193 "div",1194 {1195 className: "GjYMYaJuVTfpfbWSgAP_",1196 style: {1197 color: e.colorScheme.main,1198 borderColor: e.colorScheme.border,1199 },1200 },1201 a().createElement("i", {1202 className: "far fa-smile",1203 style: {1204 marginRight: "5px",1205 fontSize: "18px",1206 fontWeight: "300",1207 },1208 }),1209 " ",1210 "í¬í기"1211 ),1212 a().createElement(1213 "div",1214 { className: "ODpXVwwA13GaqJKCrBmi" },1215 a().createElement(1216 "div",1217 { className: "NfoW9ILkzxfYLV05MqCd" },1218 a().createElement(1219 "a",1220 {1221 href: t.thumbnail.url,1222 className: "xMkYezUAZcCoTnv3BoHx",1223 },1224 t.title1225 ),1226 a().createElement(1227 "span",1228 { className: "LO1GoketnEUwBz9Mr8_3" },1229 t.subtitles.fans1230 )1231 ),1232 a().createElement(1233 "div",1234 { className: "cMKcWwLmE_N0wyVLSK2S" },1235 a().createElement(1236 "span",1237 { style: { color: e.colorScheme.main } },1238 t.subtitles.title1239 ),1240 a().createElement("span", {1241 className: "ZlaamkcByLlI7EX3kZe8",1242 }),1243 t.subtitles.expertise1244 )1245 )1246 ),1247 a().createElement(re, {1248 colorScheme: e.colorScheme,1249 influencer: t,1250 }),1251 a().createElement(ne, { influencer: t, images: t.images }),1252 a().createElement(1253 "div",1254 { className: "qKy9gxKBT8iz6Zzlzytw" },1255 a().createElement(1256 "a",1257 { href: t.link, className: "PYw_KeCs61CjGOpxLCw1" },1258 t.description.title1259 ),1260 a().createElement(1261 "a",1262 { href: t.link, className: "q61BE74JeDObiTgSciAv" },1263 t.description.descriptionText1264 ),1265 a().createElement(1266 "div",1267 { className: "v3wYRc0kzx0B0PINmNTU" },1268 t.description.date1269 )1270 ),1271 a().createElement(1272 "a",1273 {1274 href: t.description.moreUrl,1275 style: { textDecoration: "none" },1276 },1277 a().createElement(1278 "div",1279 { className: "EtRtlXwIy18ydIX62R_j" },1280 a().createElement("i", {1281 className: "fas fa-link",1282 style: { marginRight: "10px" },1283 }),1284 a().createElement("b", null, t.title),1285 t.description.moreText,1286 a().createElement(1287 "span",1288 { className: "WKFQM7pUCJVvIkhBFx7f" },1289 a().createElement("i", {1290 className: "fas fa-chevron-right",1291 })1292 )1293 )1294 )1295 );1296 })1297 );1298 },1299 me = function (e) {1300 return a().createElement(1301 "a",1302 { href: e.more.href, style: { textDecoration: "None" } },1303 a().createElement(1304 "div",1305 { className: "SYb16Fa7UwU2VE47_NaE" },1306 e.more.text,1307 a().createElement("i", { className: "fas fa-arrow-right" })1308 )1309 );1310 },1311 se = function (e) {1312 return a().createElement(1313 "div",1314 { className: A },1315 a().createElement(Y, { titleInfo: e.influencer.header }),1316 a().createElement(D, { tabList: e.influencer["tab-lists"] }),1317 a().createElement(ce, {1318 influencers: e.influencer.influencers,1319 colorScheme: e.influencer.colorScheme,1320 }),1321 a().createElement(me, { more: e.influencer.influencerLink })1322 );1323 },1324 ie = "Qg8uKGCj6t2KXt8WvrsS",1325 oe = function (e) {1326 return a().createElement(1327 a().Fragment,1328 null,1329 a().createElement(1330 "a",1331 { href: e.blog.href, className: "klgIhuKJg95GLpBJs5MQ" },1332 a().createElement("img", {1333 src: e.blog.src,1334 className: "dJ4gF7s8DQpH3U6ilynM",1335 }),1336 a().createElement(1337 "div",1338 { className: "Hs9MTsNNfriXA511uBA8" },1339 e.blog.title1340 ),1341 "true" === e.blog.influencer &&1342 a().createElement(1343 a().Fragment,1344 null,1345 a().createElement("div", { className: ie }),1346 a().createElement(1347 "div",1348 { className: "kJIyp0_a83KeQLIHXwtI" },1349 "ì¸í루ì¸ì"1350 )1351 ),1352 a().createElement("div", { className: ie }),1353 a().createElement(1354 "div",1355 { className: "snlLOyL840Ztnf3pGU0c" },1356 e.blog.time1357 )1358 ),1359 a().createElement(N, { color: e.colorScheme, id: e.id })1360 );1361 },1362 Ee = function (e) {1363 return a().createElement(1364 a().Fragment,1365 null,1366 a().createElement(1367 "a",1368 { href: e.body.href, className: "Ldh6XNHcR4CnCN11NFwT" },1369 e.body.title1370 ),1371 a().createElement(1372 "div",1373 { className: "wE1T7nvaV29E7nfLR55Y" },1374 a().createElement(1375 "div",1376 { className: "k6ut1Z1n9LFuEP7Va16w" },1377 a().createElement(1378 "a",1379 { href: e.body.href, className: "FHy6xA05jkLYdiTbC3lx" },1380 e.body.detail1381 )1382 ),1383 a().createElement(1384 "a",1385 { href: e.body.href, className: "iSEOfz0oeTDF5Gs7S0O6" },1386 a().createElement("img", {1387 src: e.body.src,1388 className: "woFUeqGW9wBWCeOTaHlO",1389 })1390 )1391 )1392 );1393 },1394 ue = function (e) {1395 return a().createElement(1396 a().Fragment,1397 null,1398 0 !== e.tags.list.length &&1399 a().createElement(1400 "div",1401 { className: "OlQTLqRbi1QIHzlwyrHs" },1402 e.tags.list.map(function (e, t) {1403 return a().createElement(1404 "a",1405 { href: e.href, className: "Tg9q3QdcdPc23U3UZ661", key: t },1406 "#",1407 e.title1408 );1409 })1410 )1411 );1412 },1413 de = function (e) {1414 return a().createElement(1415 a().Fragment,1416 null,1417 0 !== Object.keys(e.link).length &&1418 a().createElement(1419 "div",1420 { className: "Hd2UNEr0aG2tf8bM6xJ2" },1421 a().createElement(1422 "a",1423 { href: e.link.href, className: "eKCyJ71Kqd828donc8iP" },1424 e.link.text1425 )1426 )1427 );1428 },1429 fe = function (e) {1430 return a().createElement(1431 "div",1432 { className: A },1433 a().createElement(Y, { titleInfo: e.view.header }),1434 a().createElement(1435 "ul",1436 { className: P },1437 e.view.list.map(function (t, l) {1438 return a().createElement(1439 "li",1440 { className: V, key: l },1441 a().createElement(1442 "div",1443 { className: X },1444 a().createElement(oe, {1445 blog: t.blog,1446 id: "blog" + l,1447 colorScheme: e.view.colorScheme,1448 }),1449 a().createElement(Ee, { body: t.body })1450 ),1451 a().createElement(ue, { tags: t.tags }),1452 a().createElement(de, { link: t.link })1453 );1454 })1455 )1456 );1457 },1458 Ne = function (e) {1459 return a().createElement(1460 "div",1461 { className: A },1462 a().createElement(Y, { titleInfo: e.news.header }),1463 a().createElement(1464 "ul",1465 { className: P },1466 e.news.list.map(function (t, l) {1467 return a().createElement(1468 "li",1469 { className: V, key: l },1470 a().createElement(1471 "div",1472 { className: X },1473 a().createElement(oe, {1474 blog: t.blog,1475 id: "news" + l,1476 colorScheme: e.news.colorScheme,1477 }),1478 a().createElement(Ee, { body: t.body })1479 )1480 );1481 })1482 ),1483 a().createElement(me, { more: e.news.newsLink })1484 );1485 },1486 he = function (e) {1487 return a().createElement(1488 "div",1489 { className: "VwKNETIQcuzxVQs6hKMl" },1490 a().createElement(1491 "div",1492 { className: "X10gHE18bRpnggHuhQra" },1493 a().createElement(1494 "div",1495 { className: "F0MRqxaGKSfNWLOWYlv0" },1496 e.error.title1497 ),1498 a().createElement(1499 "ul",1500 { className: "oUTAQDP2pA4Pdno0jJvW" },1501 a().createElement("li", null, e.error.text1),1502 a().createElement("li", null, e.error.text2)1503 )1504 )1505 );1506 };1507 var pe = t(860),1508 be = t(986),1509 ge = (t(689), t(582)),1510 ve = t(771),1511 ye = t(684),1512 ke = ve.get("serverAddress"),1513 we = ve.get("renderServerPort"),1514 xe = pe.Router(),1515 Se = pe();1516 Se.use(ge()),1517 Se.use(be.urlencoded({ extended: !1 })),1518 Se.use(be.json()),1519 Se.use("/", xe),1520 xe.post("/", function (e, t) {1521 var l;1522 t.send(1523 '\n <!DOCTYPE html>\n <html lang="ko">\n <head>\n <link rel="stylesheet" href="style.css">\n <script src=\'https://kit.fontawesome.com/a076d05399.js\' crossorigin=\'anonymous\'></script>\n <link rel="preconnect" href="https://fonts.googleapis.com">\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>\n <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">\n <script\n src="https://use.fontawesome.com/releases/v5.15.4/js/all.js"\n data-auto-a11y="true"\n ></script>\n <script>\n function share() {\n var url = encodeURI(encodeURIComponent("'1524 .concat(1525 e.body[1],1526 '"));\n var title = encodeURI("ê³µì í기");\n var shareURL = "https://share.naver.com/web/shareView?url=" + url + "&title=" + title;\n document.location = shareURL;\n }\n </script>\n </head>\n <body>\n '1527 )1528 .concat(1529 ye.renderToString(1530 ((l = e.body),1531 a().createElement(1532 "div",1533 { className: "hOkuBJSRIrHdsWQ4K9Zf" },1534 a().createElement(o, { keyword: l[0].keyword }),1535 a().createElement(1536 "div",1537 { className: "lwMSkhbL51TI_MbpDTZQ" },1538 l[0].order.map(function (e, t) {1539 return a().createElement(1540 "div",1541 { key: t },1542 "mainCard" === e &&1543 a().createElement(Q, {1544 mainCard: l[0].mainCard,1545 shortenUrl: l[1],1546 }),1547 "influencers" === e &&1548 a().createElement(se, {1549 influencer: l[0].influencer,1550 }),1551 "view" === e &&1552 a().createElement(fe, { view: l[0].view }),1553 "news" === e &&1554 a().createElement(Ne, { news: l[0].news }),1555 "error" === e &&1556 a().createElement(he, { error: l[0].content })1557 );1558 }),1559 a().createElement("br", null),1560 a().createElement("br", null)1561 )1562 ))1563 ),1564 '\n <script type="text/javascript">\n document.getElementById("shareBtn").innerHTML = \'<div onclick="share()"></div>\';\n </script>\n </body>\n </html>\n'1565 )1566 );1567 }),1568 Se.listen(we, function () {1569 console.log("Render Server listening at ".concat(ke, ":").concat(we));1570 });1571 })();...
_z_methods.js
Source:_z_methods.js
...438 return s439 ? document.createElementNS('http://www.w3.org/2000/svg', t)440 : document.createElement(t);441 },442 _create(s, t, n) {443 let r;444 if (n === undefined) {445 r = this._createElm(s, t);446 }447 else {448 r = [];449 for (let j = 0; j < n; j++) {450 r.push(this._createElm(s, t)); 451 }452 }453 return r;454 },455 _getAttr(e, q) { return e.getAttribute(q) },456 _getProp(e, q) { return e[q] },457 _getStyle(e, q) { return window.getComputedStyle(e).getPropertyValue(q) },458 _apsGet(f, e, a) {459 let r;460 if (typeof e === 'string') e = document.querySelectorAll(e);461 if (e && e[Symbol.iterator]) {462 r = [];463 for (let y of e) {464 r.push(f(y, a));465 }466 }467 else {468 r = f(e, a);469 }470 return r;471 },472 _setAttr(e, q, v) { e.setAttribute(q, v) },473 _setProp(e, q, v) { e[q] = v },474 _setStyle(e, q, v) { e.style.setProperty(q, v) },475 _apsSet(f, e, a, v) {476 let j = 0;477 e = this._autoSelect(e);478 for (let q of (e && e[Symbol.iterator] ? e : [e])) {479 f(q, a, (typeof v === "function" ? v.call(q, q.__data__, j++) : v));480 };481 return e;482 },483 _addRemoveClass(a, e, c) {484 a = a ? 'add' : 'remove';485 c = c.trim().split(/^|\s+/);486 e = this._autoSelect(e);487 if (e && e[Symbol.iterator]) {488 for (let q of e) {489 q.classList[a](...c);490 }491 }492 else {493 e.classList[a](...c);494 }495 return e;496 },497 _eachElement(f, e, v) {498 e = this._autoSelect(e);499 if (e && e[Symbol.iterator]) {500 for (let q of e) {501 f(q, v);502 }503 }504 else {505 f(e, v);506 }507 return e;508 },509 // ----- call directly as _z_ methods in generated code -----510 *to(s, e, j = 1) {511 j = +j, s = +s, e = +e;512 e += (e - s) * 1e-14;513 while (j > 0 ? s < e : s > e) {514 yield s;515 s += j;516 }517 },518 *linSpace(s, e, n) {519 if ((n = +n) === 1) yield (+s + +e) / 2;520 else {521 const j = (+e - +s) / (n - 1);522 s = +s - j;523 for (let i = 0; i < n; i++) yield s += j;524 }525 },526 array(...q) {527 const r = [];528 for (let x of q) {529 if (typeof x !== 'string' && x && x[Symbol.iterator]) {530 for (let y of x) {531 r.push(y);532 }533 }534 else {535 r.push(x);536 }537 }538 return r; 539 },540 print(v) {541 console.log(v);542 return v;543 },544 chg(o, p, v) {545 o[p] = v;546 return o;547 },548 getter(o, p, f) {549 return Object.defineProperty(o, p, {550 get: f,551 configurable: true,552 enumerable: true553 });554 },555 setter(o, p, f) {556 return Object.defineProperty(o, p, {557 set: f,558 configurable: true,559 enumerable: true560 });561 },562 reduce(i, f, q) {563 let j = 0;564 for (let v of i) {565 q = f(q, v, j++, i);566 }567 return q;568 },569 pick(x, p) {570 let r = [];571 for (let v of x) {572 r.push(v[p]);573 }574 return r;575 },576 mapAt(x, p, a) {577 let r = [];578 for (let v of x) {579 r.push(this._at(v, p, a));580 }581 return r;582 },583 mapAtUse: ['_at'],584 interpolate(s, e, t) {585 return +s * (1 - t) + +e * t;586 },587 group(i, f, g) { return this._group(false, i, this._callback(f), g) },588 groupUse: ['_callback', '_group'],589 groupCount(i, f, g) { return this._group(true, i, this._callback(f), g) },590 groupCountUse: ['_callback', '_group'],591 bin(i, z, f, g) { return this._bin(false, i, z, f, g) },592 binUse: ['_bin'],593 binCount(i, z, f, g) { return this._bin(true, i, z, f, g) },594 binCountUse: ['_bin'],595 sumCumu(i, f) {596 f = this._callback(f);597 let s = 0,598 r = [],599 j = 0;600 for (let v of i) {601 r.push(s += +f(v, j++, i));602 }603 return r;604 },605 sumCumuUse: ['_callback'],606 sum(i, f) { return this._sum(false, i, this._callback(f)) },607 sumUse: ['_callback', '_sum'],608 mean(i, f) { return this._sum(true, i, this._callback(f)) },609 meanUse: ['_callback', '_sum'],610 minIndex(i, f) { return this._minMaxIndex(false, i, this._callback(f)) },611 minIndexUse: ['_callback', '_minMaxIndex'],612 maxIndex(i, f) { return this._minMaxIndex(true, i, this._callback(f)) },613 maxIndexUse: ['_callback', '_minMaxIndex'],614 min(i, f) { return this._minMax(false, i, this._callback(f)) },615 minUse: ['_callback', '_minMax'],616 max(i, f) { return this._minMax(true, i, this._callback(f)) },617 maxUse: ['_callback', '_minMax'],618 variance(i, f) { return this._varDev(false, false, i, this._callback(f)) },619 varianceUse: ['_callback', '_varDev'],620 variancePop(i, f) { return this._varDev(false, true, i, this._callback(f)) },621 variancePopUse: ['_callback', '_varDev'],622 deviation(i, f) { return this._varDev(true, false, i, this._callback(f)) },623 deviationUse: ['_callback', '_varDev'],624 deviationPop(i, f) { return this._varDev(true, true, i, this._callback(f)) },625 deviationPopUse: ['_callback', '_varDev'],626 627 covariance(i, f, g) {628 return this._covCorr(false, false, i, this._callback(f), this._callback(g));629 },630 covarianceUse: ['_callback', '_covCorr'],631 covariancePop(i, f, g) {632 return this._covCorr(false, true, i, this._callback(f), this._callback(g));633 },634 covariancePopUse: ['_callback', '_covCorr'],635 636 correlation(i, f, g) {637 return this._covCorr(true, false, i, this._callback(f), this._callback(g));638 },639 correlationUse: ['_callback', '_covCorr'],640 median(i, f, o) { return this._quantile(i, 0.5, this._callback(f), o) },641 medianUse: ['_callback', '_quantile'],642 quantile(i, q, f, o) { return this._quantile(i, q, this._callback(f), o) },643 quantileUse: ['_callback', '_quantile'],644 orderIndex(i, f, p) {645 return this._orderIndex(i, this._compare(f, p));646 },647 orderIndexUse: ['_compare', '_orderIndex'],648 order(i, f, p) {649 return [...i].sort(this._compare(f, p));650 },651 orderUse: ['_compare'],652 rank(i, f, p) {653 i = Array.isArray(i) ? i : [...i];654 f = this._compare(f, p);655 const o = this._orderIndex(i, f);656 const n = i.length;657 const r = new Array(n);658 let c, y;659 for (let j = 0; j < n; j++) {660 let k = o[j];661 if (j === 0 || f(i[k], y) !== 0) {662 c = j;663 y = i[k];664 }665 r[k] = c;666 }667 return r;668 },669 rankUse: ['_compare', '_orderIndex'],670 some(i, f) {671 f = this._callback(f);672 let j = 0;673 for (let v of i) {674 if (f(v, j++, i)) return true;675 }676 return false;677 },678 someUse: ['_callback'],679 every(i, f) { 680 f = this._callback(f);681 let j = 0;682 for (let v of i) {683 if (!f(v, j++, i)) return false;684 }685 return true;686 },687 everyUse: ['_callback'],688 filter(i, f) {689 f = this._callback(f);690 let r = [],691 j = 0;692 for (let v of i) {693 if (f(v, j++, i)) r.push(v);694 }695 return r;696 },697 filterUse: ['_callback'],698 filterIndex(i, f) {699 f = this._callback(f);700 let r = [],701 j = 0;702 for (let v of i) {703 if (f(v, j, i)) r.push(j);704 j++;705 }706 return r;707 },708 filterIndexUse: ['_callback'],709 count(i, f) {710 f = this._callback(f);711 let c = 0,712 j = 0;713 for (let v of i) {714 if (f(v, j++, i)) c++;715 }716 return c;717 },718 countUse: ['_callback'],719 findIndex(i, f) {720 f = this._callback(f);721 let j = 0;722 for (let v of i) {723 if (f(v, j, i)) return j;724 j++;725 }726 return -1;727 },728 findIndexUse: ['_callback'],729 find(i, f) {730 f = this._callback(f);731 let j = 0;732 for (let v of i) {733 if (f(v, j++, i)) return v;734 }735 },736 findUse: ['_callback'],737 innerJoin(...q) { return this._join('i', ...q) },738 innerJoinUse: ['_join'],739 outerJoin(...q) { return this._join('o', ...q) },740 outerJoinUse: ['_join'],741 leftJoin(...q) { return this._join('l', ...q) },742 leftJoinUse: ['_join'],743 rightJoin(...q) { return this._join('r', ...q) },744 rightJoinUse: ['_join'],745 crossJoin(x, y, z) { return this._join('i', x, y, () => 1, z) },746 crossJoinUse: ['_join'],747 748 semiJoin(...q) { return this._semiJoin(false, ...q) },749 semiJoinUse: ['_semiJoin'],750 antiJoin(...q) { return this._semiJoin(true, ...q) },751 antiJoinUse: ['_semiJoin'],752 crush(j, ...o) {753 let r = [];754 const p = [];755 const c = [];756 for (let q of o) {757 if (q) {758 let w = q.prefix;759 p.push(w === undefined || w === null ? '' : String(w));760 w = q.keep;761 c.push(w ? (Array.isArray(w) ? w : [...w]) : null)762 }763 else {764 p.push('');765 c.push(null);766 }767 }768 for (let u of j) {769 let z = {};770 let i = 0;771 for (let v of u) {772 if (typeof v === 'object' && v !== null) {773 let s = p[i] || '';774 if (c[i]) {775 for (let k of c[i]) {776 if (v.hasOwnProperty(k)) {777 z[s + k] = v[k];778 }779 }780 }781 else {782 for (let k in v) {783 if (v.hasOwnProperty(k)) {784 z[s + k] = v[k];785 }786 }787 }788 }789 i++;790 }791 r.push(z);792 }793 return r;794 },795 796 arrObj(o, c) {797 let r = [];798 for (let k of c || Object.keys(o)) {799 let j = 0;800 for (let v of o[k]) {801 (r[j] || (r[j] = {}))[k] = v;802 j++;803 }804 }805 return r;806 },807 808 objArr(a, c) {809 let r = {},810 j = 0;811 for (let o of a) {812 for (let k of c || Object.keys(o)) {813 (r[k] || (r[k] = []))[j] = o[k];814 }815 j++;816 }817 return r;818 },819 transpose(x) {820 let r = [],821 j = 0;822 for (let y of x) {823 let k = 0;824 for (let v of y) {825 (r[k] || (r[k] = []))[j] = v;826 k++;827 }828 j++;829 }830 return r;831 },832 random(j = 0, k = 1, n) {833 return this._sample(this._random, n, +j, +k);834 },835 randomUse: ['_sample', '_random'],836 randomInt(j = 0, k = 2, n) {837 return this._sample(this._randomInt, n, +j, +k);838 },839 randomIntUse: ['_sample', '_randomInt'],840 categorical(m, n) {841 let q = [],842 c = 0;843 for (let w of m) {844 q.push(c += +w);845 }846 return this._sample(this._categorical, n, q, c);847 },848 categoricalUse: ['_sample', '_categorical'],849 850 normal(m = 0, d = 1, n) {851 return this._sample(this._normal(+m, +d), n);852 },853 normalUse: ['_sample', '_normal'],854 logNormal(m = 0, d = 1, n) {855 return this._sample(this._normal(+m, +d, true), n);856 },857 logNormalUse: ['_sample', '_normal'],858 binomial(m, p = 0.5, n) {859 return this._sample(this._binomial, n, +m, +p);860 },861 binomialUse: ['_sample', '_binomial'],862 exponential(r, n) {863 return this._sample(this._exponential, n, +r);864 },865 exponentialUse: ['_sample', '_exponential'],866 geometric(p = 0.5, n) {867 return this._sample(this._geometric, n, +p);868 },869 geometricUse: ['_sample', '_geometric'],870 shuffle(x) { // FisherâYates871 x = [...x];872 for (let i = x.length - 1; i > 0; i--) {873 const j = Math.floor(Math.random() * (i + 1));874 if (i !== j) {875 const t = x[i];876 x[i] = x[j];877 x[j] = t;878 } 879 }880 return x;881 },882 period(m, x) {883 return new Promise(r => setTimeout(() => r(x), m));884 },885 at(...q) { return this._at(...q) },886 atUse: ['_at'],887 ones(...d) { return this._mdArray(d, 1) },888 onesUse: ['_mdArray'],889 zeros(...d) { return this._mdArray(d, 0) },890 zerosUse: ['_mdArray'],891 empties(...d) { return this._mdArray(d) },892 emptiesUse: ['_mdArray'],893 // set thoery functions from: https://github.com/d3/d3-array894 difference(s, ...t) {895 s = new Set(s);896 for (let q of t) {897 for (let v of q) {898 s.delete(v);899 }900 }901 return s;902 },903 intersection(s, ...t) {904 s = new Set(s);905 t = t.map(w => w instanceof Set ? w : new Set(w));906 z: for (let v of s) {907 for (let q of t) {908 if (!q.has(v)) {909 s.delete(v);910 continue z;911 }912 }913 }914 return s;915 },916 union(...t) {917 const s = new Set();918 for (let q of t) {919 for (let v of q) {920 s.add(v);921 }922 }923 return s;924 },925 select(...a) {926 return (a.length === 1)927 ? document.querySelector(a[0])928 : this._first(a[0]).querySelector(a[1]);929 },930 selectUse: ['_first'],931 selectAll(...a) {932 return (a.length === 1)933 ? [...document.querySelectorAll(a[0])]934 : [...this._first(a[0]).querySelectorAll(a[1])];935 },936 selectAllUse: ['_first'],937 insert(t, e, p = () => null) {938 t = this._first(t);939 if (typeof e === 'function') e = e.call(t, t.__data__);940 else e = this._autoSelect(e);941 p = this._first(p.call(t, t.__data__));942 for (let w of (e && e[Symbol.iterator] ? e : [e])) {943 t.insertBefore(w, p);944 }945 return e;946 },947 insertUse: ['_first', '_autoSelect'],948 insertEach(t, f, p = () => null) {949 let r = [],950 j = 0;951 if (typeof t === 'string') t = document.querySelectorAll(t);952 else if (!(t && t[Symbol.iterator])) t = [t];953 for (let q of t) {954 let v = f.call(q, q.__data__, j);955 let m = this._first(p.call(q, q.__data__, j++));956 r.push(v);957 for (let w of (v && v[Symbol.iterator] ? v : [v])) {958 q.insertBefore(w, m);959 }960 }961 return r;962 },963 insertEachUse: ['_first'],964 965 into(e, t, p = () => null) {966 t = this._first(t);967 if (typeof e === 'function') e = e.call(t, t.__data__);968 else if (typeof e === 'string') e = document.querySelectorAll(e);969 p = this._first(p.call(t, t.__data__));970 for (let q of (e && e[Symbol.iterator] ? e : [e])) {971 t.insertBefore(q, p);972 }973 return t;974 },975 intoUse: ['_first'],976 977 encode(x, t, a) { return this._encode(false, x, t, a) },978 encodeUse: ['_encode'],979 encodeSVG(x, t, a) { return this._encode(true, x, t, a) },980 encodeSVGUse: ['_encode'],981 create(t, n) { return this._create(false, t, n) },982 createUse: createArray,983 createSVG(t, n) { return this._create(true, t, n) },984 createSVGUse: createArray,985 attr(...x) {986 return (x.length === 2)987 ? this._apsGet(this._getAttr, ...x)988 : this._apsSet(this._setAttr, ...x);989 },990 attrUse: ['_apsGet', '_apsSet', '_getAttr', '_setAttr', '_autoSelect'],991 prop(...x) {992 return (x.length === 2)993 ? this._apsGet(this._getProp, ...x)994 : this._apsSet(this._setProp, ...x);995 },996 propUse: ['_apsGet', '_apsSet', '_getProp', '_setProp', '_autoSelect'],997 style(...x) {998 return (x.length === 2)999 ? this._apsGet(this._getStyle, ...x)1000 : this._apsSet(this._setStyle, ...x);1001 },1002 styleUse: ['_apsGet', '_apsSet', '_getStyle', '_setStyle', '_autoSelect'],1003 text(...x) {1004 return (x.length === 1)1005 ? this._apsGet(this._getProp, x[0], 'textContent')1006 : this._apsSet(this._setProp, x[0], 'textContent', x[1]);1007 },1008 textUse: ['_apsGet', '_apsSet', '_getProp', '_setProp', '_autoSelect'],1009 html(...x) {1010 return (x.length === 1)1011 ? this._apsGet(this._getProp, x[0], 'innerHTML')1012 : this._apsSet(this._setProp, x[0], 'innerHTML', x[1]);1013 },1014 htmlUse: ['_apsGet', '_apsSet', '_getProp', '_setProp', '_autoSelect'],1015 remove(e) {1016 e = this._autoSelect(e);1017 if (e && e[Symbol.iterator]) {1018 for (let q of e) {1019 q.parentNode.removeChild(q);1020 }1021 }1022 else {1023 e.parentNode.removeChild(e);1024 }1025 return e;1026 },1027 removeUse: ['_autoSelect'],1028 lower(e) {1029 e = this._autoSelect(e);1030 if (e && e[Symbol.iterator]) {1031 for (let q of e) {1032 let p = q.parentNode;1033 p.insertBefore(q, p.firstChild);1034 }1035 }1036 else {1037 let p = e.parentNode;1038 p.insertBefore(e, p.firstChild);1039 }1040 return e;1041 },1042 lowerUse: ['_autoSelect'],1043 raise(e) {1044 e = this._autoSelect(e);1045 if (e && e[Symbol.iterator]) {1046 for (let q of e) {1047 q.parentNode.insertBefore(q, null);1048 }1049 }1050 else {1051 e.parentNode.insertBefore(e, null);1052 }1053 return e;1054 },1055 raiseUse: ['_autoSelect'],1056 addClass(e, c) { return this._addRemoveClass(true, e, c) },1057 addClassUse: ['_autoSelect', '_addRemoveClass'],1058 1059 removeClass(e, c) { return this._addRemoveClass(false, e, c) },1060 removeClassUse: ['_autoSelect', '_addRemoveClass'],1061 toggleClass(e, v) {1062 return this._eachElement((x, y) => x.classList.toggle(y), e, v);1063 },1064 toggleClassUse: ['_autoSelect', '_eachElement'],1065 removeAttr(e, v) {1066 return this._eachElement((x, y) => x.removeAttribute(y), e, v);1067 },1068 removeAttrUse: ['_autoSelect', '_eachElement'],1069 removeStyle(e, v) {1070 return this._eachElement((x, y) => x.style.removeProperty(y), e, v);1071 },1072 removeStyleUse: ['_autoSelect', '_eachElement'],1073 hasClass(e, c) {1074 let r;1075 if (typeof e === 'string') e = document.querySelectorAll(e);1076 if (e && e[Symbol.iterator]) {1077 r = [];1078 for (let q of e) {1079 r.push(q.classList.contains(c));1080 }1081 }1082 else {1083 r = e.classList.contains(c);1084 }1085 return r;1086 },1087 hasAttr(e, a) {1088 let r;1089 if (typeof e === 'string') e = document.querySelectorAll(e);1090 if (e && e[Symbol.iterator]) {1091 r = [];1092 for (let q of e) {1093 r.push(q.hasAttribute(a));1094 }1095 }1096 else {1097 r = e.hasAttribute(a);1098 }1099 return r;1100 },1101 on(e, t, f, c = false) {1102 e = this._autoSelect(e);1103 t = t.trim().split(/^|\s+/);1104 for (let q of (e && e[Symbol.iterator] ? e : [e])) {1105 let g = k => f.call(q, q.__data__, k);1106 if (!q.__on__) q.__on__ = {};1107 for (let w of t) {1108 if (!q.__on__[w]) q.__on__[w] = new Map();1109 else if (q.__on__[w].has(f)) continue;1110 q.addEventListener(w, g, c);1111 q.__on__[w].set(f, g);1112 }1113 }1114 return e;1115 },1116 onUse: ['_autoSelect'],1117 off(e, t, f, c = false) {1118 e = this._autoSelect(e);1119 t = t.trim().split(/^|\s+/);1120 for (let q of (e && e[Symbol.iterator] ? e : [e])) {1121 if (!q.__on__) continue;1122 for (let w of t) {1123 let g = q.__on__[w] ? q.__on__[w].get(f) : undefined;1124 if (g) {1125 q.removeEventListener(w, g, c);1126 q.__on__[w].delete(f);1127 }1128 }1129 }1130 return e;1131 },1132 offUse: ['_autoSelect'],1133 sketch({1134 width: w = 300,1135 height: h = 300,1136 context: d = "2d",1137 scale: s = true,1138 ...o} = {}) {1139 let r = window.devicePixelRatio;1140 let c = document.createElement("canvas");1141 let x = c.getContext(d, o);1142 if (s && d === "2d") {1143 c.style.width = w + "px";1144 c.style.height = h + "px";1145 c.width = w * r;1146 c.height = h * r;1147 x.scale(r, r);1148 }1149 else {1150 c.width = w;1151 c.height = h;1152 }1153 return [c, x];1154 },1155 // HTML convenience1156 $a(n) {return this._create(false, 'a', n)}, $aUse: createArray,1157 $abbr(n) {return this._create(false, 'abbr', n)}, $abbrUse: createArray,1158 $address(n) {return this._create(false, 'address', n)}, $addressUse: createArray,1159 $area(n) {return this._create(false, 'area', n)}, $areaUse: createArray,1160 $article(n) {return this._create(false, 'article', n)}, $articleUse: createArray,1161 $aside(n) {return this._create(false, 'aside', n)}, $asideUse: createArray,1162 $audio(n) {return this._create(false, 'audio', n)}, $audioUse: createArray,1163 $b(n) {return this._create(false, 'b', n)}, $bUse: createArray,1164 $base(n) {return this._create(false, 'base', n)}, $baseUse: createArray,1165 $bdi(n) {return this._create(false, 'bdi', n)}, $bdiUse: createArray,1166 $bdo(n) {return this._create(false, 'bdo', n)}, $bdoUse: createArray,1167 $blockquote(n) {return this._create(false, 'blockquote', n)}, $blockquoteUse: createArray,1168 $body(n) {return this._create(false, 'body', n)}, $bodyUse: createArray,1169 $br(n) {return this._create(false, 'br', n)}, $brUse: createArray,1170 $button(n) {return this._create(false, 'button', n)}, $buttonUse: createArray,1171 $canvas(n) {return this._create(false, 'canvas', n)}, $canvasUse: createArray,1172 $caption(n) {return this._create(false, 'caption', n)}, $captionUse: createArray,1173 $cite(n) {return this._create(false, 'cite', n)}, $citeUse: createArray,1174 $code(n) {return this._create(false, 'code', n)}, $codeUse: createArray,1175 $col(n) {return this._create(false, 'col', n)}, $colUse: createArray,1176 $colgroup(n) {return this._create(false, 'colgroup', n)}, $colgroupUse: createArray,1177 $data(n) {return this._create(false, 'data', n)}, $dataUse: createArray,1178 $datalist(n) {return this._create(false, 'datalist', n)}, $datalistUse: createArray,1179 $dd(n) {return this._create(false, 'dd', n)}, $ddUse: createArray,1180 $del(n) {return this._create(false, 'del', n)}, $delUse: createArray,1181 $details(n) {return this._create(false, 'details', n)}, $detailsUse: createArray,1182 $dfn(n) {return this._create(false, 'dfn', n)}, $dfnUse: createArray,1183 $dialog(n) {return this._create(false, 'dialog', n)}, $dialogUse: createArray,1184 $div(n) {return this._create(false, 'div', n)}, $divUse: createArray,1185 $dl(n) {return this._create(false, 'dl', n)}, $dlUse: createArray,1186 $dt(n) {return this._create(false, 'dt', n)}, $dtUse: createArray,1187 $em(n) {return this._create(false, 'em', n)}, $emUse: createArray,1188 $embed(n) {return this._create(false, 'embed', n)}, $embedUse: createArray,1189 $fieldset(n) {return this._create(false, 'fieldset', n)}, $fieldsetUse: createArray,1190 $figcaption(n) {return this._create(false, 'figcaption', n)}, $figcaptionUse: createArray,1191 $figure(n) {return this._create(false, 'figure', n)}, $figureUse: createArray,1192 $footer(n) {return this._create(false, 'footer', n)}, $footerUse: createArray,1193 $form(n) {return this._create(false, 'form', n)}, $formUse: createArray,1194 $h1(n) {return this._create(false, 'h1', n)}, $h1Use: createArray,1195 $h2(n) {return this._create(false, 'h2', n)}, $h2Use: createArray,1196 $h3(n) {return this._create(false, 'h3', n)}, $h3Use: createArray,1197 $h4(n) {return this._create(false, 'h4', n)}, $h4Use: createArray,1198 $h5(n) {return this._create(false, 'h5', n)}, $h5Use: createArray,1199 $h6(n) {return this._create(false, 'h6', n)}, $h6Use: createArray,1200 $head(n) {return this._create(false, 'head', n)}, $headUse: createArray,1201 $header(n) {return this._create(false, 'header', n)}, $headerUse: createArray,1202 $hgroup(n) {return this._create(false, 'hgroup', n)}, $hgroupUse: createArray,1203 $hr(n) {return this._create(false, 'hr', n)}, $hrUse: createArray,1204 $i(n) {return this._create(false, 'i', n)}, $iUse: createArray,1205 $iframe(n) {return this._create(false, 'iframe', n)}, $iframeUse: createArray,1206 $img(n) {return this._create(false, 'img', n)}, $imgUse: createArray,1207 $input(n) {return this._create(false, 'input', n)}, $inputUse: createArray,1208 $ins(n) {return this._create(false, 'ins', n)}, $insUse: createArray,1209 $kbd(n) {return this._create(false, 'kbd', n)}, $kbdUse: createArray,1210 $label(n) {return this._create(false, 'label', n)}, $labelUse: createArray,1211 $legend(n) {return this._create(false, 'legend', n)}, $legendUse: createArray,1212 $li(n) {return this._create(false, 'li', n)}, $liUse: createArray,1213 $link(n) {return this._create(false, 'link', n)}, $linkUse: createArray,1214 $main(n) {return this._create(false, 'main', n)}, $mainUse: createArray,1215 $map(n) {return this._create(false, 'map', n)}, $mapUse: createArray,1216 $mark(n) {return this._create(false, 'mark', n)}, $markUse: createArray,1217 $menu(n) {return this._create(false, 'menu', n)}, $menuUse: createArray,1218 $meta(n) {return this._create(false, 'meta', n)}, $metaUse: createArray,1219 $meter(n) {return this._create(false, 'meter', n)}, $meterUse: createArray,1220 $nav(n) {return this._create(false, 'nav', n)}, $navUse: createArray,1221 $noscript(n) {return this._create(false, 'noscript', n)}, $noscriptUse: createArray,1222 $object(n) {return this._create(false, 'object', n)}, $objectUse: createArray,1223 $ol(n) {return this._create(false, 'ol', n)}, $olUse: createArray,1224 $optgroup(n) {return this._create(false, 'optgroup', n)}, $optgroupUse: createArray,1225 $option(n) {return this._create(false, 'option', n)}, $optionUse: createArray,1226 $output(n) {return this._create(false, 'output', n)}, $outputUse: createArray,1227 $p(n) {return this._create(false, 'p', n)}, $pUse: createArray,1228 $param(n) {return this._create(false, 'param', n)}, $paramUse: createArray,1229 $picture(n) {return this._create(false, 'picture', n)}, $pictureUse: createArray,1230 $pre(n) {return this._create(false, 'pre', n)}, $preUse: createArray,1231 $progress(n) {return this._create(false, 'progress', n)}, $progressUse: createArray,1232 $q(n) {return this._create(false, 'q', n)}, $qUse: createArray,1233 $rb(n) {return this._create(false, 'rb', n)}, $rbUse: createArray,1234 $rp(n) {return this._create(false, 'rp', n)}, $rpUse: createArray,1235 $rt(n) {return this._create(false, 'rt', n)}, $rtUse: createArray,1236 $rtc(n) {return this._create(false, 'rtc', n)}, $rtcUse: createArray,1237 $ruby(n) {return this._create(false, 'ruby', n)}, $rubyUse: createArray,1238 $s(n) {return this._create(false, 's', n)}, $sUse: createArray,1239 $samp(n) {return this._create(false, 'samp', n)}, $sampUse: createArray,1240 $script(n) {return this._create(false, 'script', n)}, $scriptUse: createArray,1241 $section(n) {return this._create(false, 'section', n)}, $sectionUse: createArray,1242 $select(n) {return this._create(false, 'select', n)}, $selectUse: createArray,1243 $slot(n) {return this._create(false, 'slot', n)}, $slotUse: createArray,1244 $small(n) {return this._create(false, 'small', n)}, $smallUse: createArray,1245 $source(n) {return this._create(false, 'source', n)}, $sourceUse: createArray,1246 $span(n) {return this._create(false, 'span', n)}, $spanUse: createArray,1247 $strong(n) {return this._create(false, 'strong', n)}, $strongUse: createArray,1248 $style(n) {return this._create(false, 'style', n)}, $styleUse: createArray,1249 $sub(n) {return this._create(false, 'sub', n)}, $subUse: createArray,1250 $summary(n) {return this._create(false, 'summary', n)}, $summaryUse: createArray,1251 $sup(n) {return this._create(false, 'sup', n)}, $supUse: createArray,1252 $table(n) {return this._create(false, 'table', n)}, $tableUse: createArray,1253 $tbody(n) {return this._create(false, 'tbody', n)}, $tbodyUse: createArray,1254 $td(n) {return this._create(false, 'td', n)}, $tdUse: createArray,1255 $template(n) {return this._create(false, 'template', n)}, $templateUse: createArray,1256 $textarea(n) {return this._create(false, 'textarea', n)}, $textareaUse: createArray,1257 $tfoot(n) {return this._create(false, 'tfoot', n)}, $tfootUse: createArray,1258 $th(n) {return this._create(false, 'th', n)}, $thUse: createArray,1259 $thead(n) {return this._create(false, 'thead', n)}, $theadUse: createArray,1260 $time(n) {return this._create(false, 'time', n)}, $timeUse: createArray,1261 $title(n) {return this._create(false, 'title', n)}, $titleUse: createArray,1262 $tr(n) {return this._create(false, 'tr', n)}, $trUse: createArray,1263 $track(n) {return this._create(false, 'track', n)}, $trackUse: createArray,1264 $u(n) {return this._create(false, 'u', n)}, $uUse: createArray,1265 $ul(n) {return this._create(false, 'ul', n)}, $ulUse: createArray,1266 $var(n) {return this._create(false, 'var', n)}, $varUse: createArray,1267 $video(n) {return this._create(false, 'video', n)}, $videoUse: createArray,1268 $wbr(n) {return this._create(false, 'wbr', n)}, $wbrUse: createArray,1269 // SVG convenience1270 $animate(n) {return this._create(true, 'animate', n)}, $animateUse: createArray,1271 $animateMotion(n) {return this._create(true, 'animateMotion', n)}, $animateMotionUse: createArray,1272 $animateTransform(n) {return this._create(true, 'animateTransform', n)}, $animateTransformUse: createArray,1273 $circle(n) {return this._create(true, 'circle', n)}, $circleUse: createArray,1274 $clipPath(n) {return this._create(true, 'clipPath', n)}, $clipPathUse: createArray,1275 $defs(n) {return this._create(true, 'defs', n)}, $defsUse: createArray,1276 $desc(n) {return this._create(true, 'desc', n)}, $descUse: createArray,1277 $discard(n) {return this._create(true, 'discard', n)}, $discardUse: createArray,1278 $ellipse(n) {return this._create(true, 'ellipse', n)}, $ellipseUse: createArray,1279 $feBlend(n) {return this._create(true, 'feBlend', n)}, $feBlendUse: createArray,1280 $feColorMatrix(n) {return this._create(true, 'feColorMatrix', n)}, $feColorMatrixUse: createArray,1281 $feComponentTransfer(n) {return this._create(true, 'feComponentTransfer', n)}, $feComponentTransferUse: createArray,1282 $feComposite(n) {return this._create(true, 'feComposite', n)}, $feCompositeUse: createArray,1283 $feConvolveMatrix(n) {return this._create(true, 'feConvolveMatrix', n)}, $feConvolveMatrixUse: createArray,1284 $feDiffuseLighting(n) {return this._create(true, 'feDiffuseLighting', n)}, $feDiffuseLightingUse: createArray,1285 $feDisplacementMap(n) {return this._create(true, 'feDisplacementMap', n)}, $feDisplacementMapUse: createArray,1286 $feDistantLight(n) {return this._create(true, 'feDistantLight', n)}, $feDistantLightUse: createArray,1287 $feDropShadow(n) {return this._create(true, 'feDropShadow', n)}, $feDropShadowUse: createArray,1288 $feFlood(n) {return this._create(true, 'feFlood', n)}, $feFloodUse: createArray,1289 $feFuncA(n) {return this._create(true, 'feFuncA', n)}, $feFuncAUse: createArray,1290 $feFuncB(n) {return this._create(true, 'feFuncB', n)}, $feFuncBUse: createArray,1291 $feFuncG(n) {return this._create(true, 'feFuncG', n)}, $feFuncGUse: createArray,1292 $feFuncR(n) {return this._create(true, 'feFuncR', n)}, $feFuncRUse: createArray,1293 $feGaussianBlur(n) {return this._create(true, 'feGaussianBlur', n)}, $feGaussianBlurUse: createArray,1294 $feImage(n) {return this._create(true, 'feImage', n)}, $feImageUse: createArray,1295 $feMerge(n) {return this._create(true, 'feMerge', n)}, $feMergeUse: createArray,1296 $feMergeNode(n) {return this._create(true, 'feMergeNode', n)}, $feMergeNodeUse: createArray,1297 $feMorphology(n) {return this._create(true, 'feMorphology', n)}, $feMorphologyUse: createArray,1298 $feOffset(n) {return this._create(true, 'feOffset', n)}, $feOffsetUse: createArray,1299 $fePointLight(n) {return this._create(true, 'fePointLight', n)}, $fePointLightUse: createArray,1300 $feSpecularLighting(n) {return this._create(true, 'feSpecularLighting', n)}, $feSpecularLightingUse: createArray,1301 $feSpotLight(n) {return this._create(true, 'feSpotLight', n)}, $feSpotLightUse: createArray,1302 $feTile(n) {return this._create(true, 'feTile', n)}, $feTileUse: createArray,1303 $feTurbulence(n) {return this._create(true, 'feTurbulence', n)}, $feTurbulenceUse: createArray,1304 $filter(n) {return this._create(true, 'filter', n)}, $filterUse: createArray,1305 $foreignObject(n) {return this._create(true, 'foreignObject', n)}, $foreignObjectUse: createArray,1306 $g(n) {return this._create(true, 'g', n)}, $gUse: createArray,1307 $hatch(n) {return this._create(true, 'hatch', n)}, $hatchUse: createArray,1308 $hatchpath(n) {return this._create(true, 'hatchpath', n)}, $hatchpathUse: createArray,1309 $image(n) {return this._create(true, 'image', n)}, $imageUse: createArray,1310 $line(n) {return this._create(true, 'line', n)}, $lineUse: createArray,1311 $linearGradient(n) {return this._create(true, 'linearGradient', n)}, $linearGradientUse: createArray,1312 $marker(n) {return this._create(true, 'marker', n)}, $markerUse: createArray,1313 $mask(n) {return this._create(true, 'mask', n)}, $maskUse: createArray,1314 $metadata(n) {return this._create(true, 'metadata', n)}, $metadataUse: createArray,1315 $mpath(n) {return this._create(true, 'mpath', n)}, $mpathUse: createArray,1316 $path(n) {return this._create(true, 'path', n)}, $pathUse: createArray,1317 $pattern(n) {return this._create(true, 'pattern', n)}, $patternUse: createArray,1318 $polygon(n) {return this._create(true, 'polygon', n)}, $polygonUse: createArray,1319 $polyline(n) {return this._create(true, 'polyline', n)}, $polylineUse: createArray,1320 $radialGradient(n) {return this._create(true, 'radialGradient', n)}, $radialGradientUse: createArray,1321 $rect(n) {return this._create(true, 'rect', n)}, $rectUse: createArray, 1322 $set(n) {return this._create(true, 'set', n)}, $setUse: createArray,1323 $solidcolor(n) {return this._create(true, 'solidcolor', n)}, $solidcolorUse: createArray,1324 $stop(n) {return this._create(true, 'stop', n)}, $stopUse: createArray,1325 $svg(n) {return this._create(true, 'svg', n)}, $svgUse: createArray,1326 $switch(n) {return this._create(true, 'switch', n)}, $switchUse: createArray,1327 $symbol(n) {return this._create(true, 'symbol', n)}, $symbolUse: createArray,1328 $text(n) {return this._create(true, 'text', n)}, $textUse: createArray,1329 $textPath(n) {return this._create(true, 'textPath', n)}, $textPathUse: createArray,1330 $tspan(n) {return this._create(true, 'tspan', n)}, $tspanUse: createArray,1331 $use(n) {return this._create(true, 'use', n)}, $useUse: createArray,1332 $view(n) {return this._create(true, 'view', n)}, $viewUse: createArray,1333 // entrywise1334 abs(x) {return this._ew(x, Math.abs)}, absUse: ['_ew'],1335 acos(x) {return this._ew(x, Math.acos)}, acosUse: ['_ew'],1336 acosh(x) {return this._ew(x, Math.acosh)}, acoshUse: ['_ew'],1337 asin(x) {return this._ew(x, Math.asin)}, asinUse: ['_ew'],1338 asinh(x) {return this._ew(x, Math.asinh)}, asinhUse: ['_ew'],1339 atan(x) {return this._ew(x, Math.atan)}, atanUse: ['_ew'],1340 atanh(x) {return this._ew(x, Math.atanh)}, atanhUse: ['_ew'],1341 cbrt(x) {return this._ew(x, Math.cbrt)}, cbrtUse: ['_ew'],1342 ceil(x) {return this._ew(x, Math.ceil)}, ceilUse: ['_ew'],1343 clz32(x) {return this._ew(x, Math.clz32)}, clz32Use: ['_ew'],1344 cos(x) {return this._ew(x, Math.cos)}, cosUse: ['_ew'],1345 cosh(x) {return this._ew(x, Math.cosh)}, coshUse: ['_ew'],1346 exp(x) {return this._ew(x, Math.exp)}, expUse: ['_ew'],...
janin.currency.js
Source:janin.currency.js
1var janin = {};2janin.currency = {3 createCurrency: function (name, networkVersion, privateKeyPrefix, WIF_Start, CWIF_Start, donate) {4 var currency = {};5 currency.name = name;6 currency.networkVersion = networkVersion;7 currency.privateKeyPrefix = privateKeyPrefix;8 currency.WIF_Start = WIF_Start;9 currency.CWIF_Start = CWIF_Start;10 currency.donate = donate;11 return currency;12 },13 name: function() {14 return janin.selectedCurrency.name;15 },16 networkVersion: function() {17 return janin.selectedCurrency.networkVersion;18 },19 privateKeyPrefix: function() {20 return janin.selectedCurrency.privateKeyPrefix;21 },22 WIF_RegEx: function() {23 return new RegExp("^" + janin.selectedCurrency.WIF_Start + "[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{50}$");24 },25 CWIF_RegEx: function() {26 return new RegExp("^" + janin.selectedCurrency.CWIF_Start + "[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{51}$");27 },28 // Switch currency29 useCurrency: function(index) {30 janin.selectedCurrency = janin.currencies[index];31 var coinImgUrl = "logos/" + janin.currency.name().toLowerCase() + ".png";32 document.getElementById("coinLogoImg").src = coinImgUrl;33 // Update title depending on currency34 document.title = janin.currency.name() + " " + ninja.translator.get("title");35 document.getElementById("siteTitle").alt = janin.currency.name() + " " + ninja.translator.get("title");36 // Update i18n link37 document.getElementById("cultureen").href = "?culture=en¤cy=" + janin.currency.name().toLowerCase();38 document.getElementById("culturefr").href = "?culture=fr¤cy=" + janin.currency.name().toLowerCase();39 document.getElementById("culturede").href = "?culture=de¤cy=" + janin.currency.name().toLowerCase();40 document.getElementById("culturenl").href = "?culture=nl¤cy=" + janin.currency.name().toLowerCase();41 document.getElementById("culturept").href = "?culture=pt¤cy=" + janin.currency.name().toLowerCase();42 document.getElementById("cultureru").href = "?culture=ru¤cy=" + janin.currency.name().toLowerCase();43 document.getElementById("culturees").href = "?culture=es¤cy=" + janin.currency.name().toLowerCase();44 document.getElementById("cultureua").href = "?culture=ua¤cy=" + janin.currency.name().toLowerCase();45 document.getElementById("culturetr").href = "?culture=tr¤cy=" + janin.currency.name().toLowerCase();46 document.getElementById("cultureit").href = "?culture=it¤cy=" + janin.currency.name().toLowerCase();47 document.getElementById("culturepl").href = "?culture=pl¤cy=" + janin.currency.name().toLowerCase();48 document.getElementById("culturezh").href = "?culture=zh¤cy=" + janin.currency.name().toLowerCase();49 if(ninja.seeder.isDone())50 {51 // Regenerate a new wallet when not expensive52 ninja.wallets.singlewallet.generateNewAddressAndKey();53 ninja.wallets.paperwallet.build(document.getElementById('paperpassphrase').value);54 ninja.wallets.brainwallet.view();55 }56 // Reset wallet tab when expensive or not applicable57 document.getElementById("bulktextarea").value = "";58 document.getElementById("suppliedPrivateKey").value = "";59 // easter egg doge ;)60 if(janin.currency.name() == "Dogecoin")61 {62 janin.doge = new Doge(['wow', 'so paper wallet', 'such random', 'very pretty', 'much design', 'awesome', 'much crypto', 'such coin', 'wow!!', 'to da moon']);63 return;64 }65 if(janin.doge != null)66 {67 janin.doge.stop();68 janin.doge = null;69 }70 },71};72janin.currencies = [73 // name, networkVersion, privateKeyPrefix, WIF_Start, CWIF_Start, donate74 janin.currency.createCurrency ("2GIVE", 0x27, 0xa7, "6", "R" , "Givewmf4yv8uuHZG6Eb7sm17fJS2Trf6U8"),75 janin.currency.createCurrency ("42coin", 0x08, 0x88, "5", "M" , "4Fs42jYtLYrUMfKEXc6arojuhRsnYnerxN"),76 janin.currency.createCurrency ("Acoin", 0x17, 0xe6, "8", "b" , "AJvChtExuvLgAor9aw1Xz9bkvJY7JKD9uL"),77 janin.currency.createCurrency ("AGAcoin", 0x53, 0xd3, "8", "Y" , "aWg2jDBnecc17UHrDF5Rz5pj1rTqTDTnTH"),78 janin.currency.createCurrency ("Alphacoin", 0x52, 0xd2, "8", "Y" , "aAWhiGBDUugXC9ZBvw8CDNQH7KRurjy4Nq"),79 janin.currency.createCurrency ("Alqo", 0x17, 0xc1, "7", "V" , "ALF9ykkthT5UwmqdrThMRGb1GNgdCUciHL"),80 janin.currency.createCurrency ("Animecoin", 0x17, 0x97, "6", "P" , "AdA5nLS5FtPws6A3BX8aXccbP7fReptdw7"),81 janin.currency.createCurrency ("Anoncoin", 0x17, 0x97, "6", "P" , "AS3BvkE4wvsXJpn1bGhQni5vZajthnrWQE"),82 janin.currency.createCurrency ("Apexcoin", 0x17, 0x97, "6", "P" , "AdPxUCGLDUhHUTGYftffwFVdxbFy2nkXGX"),83 janin.currency.createCurrency ("Auroracoin", 0x17, 0x97, "6", "T" , "AVWH1ZutLd4Y5LPDDj5FkBjbm2Gci4iFx3"),84 janin.currency.createCurrency ("Aquariuscoin", 0x17, 0x97, "6", "P" , "ARk4VoaCHDoPDn2dctGizJaHFvXNRiDUDr"),85 janin.currency.createCurrency ("Axe", 0x4B, 0xCB, "7", "X" , ""),86 janin.currency.createCurrency ("BBQcoin", 0x55, 0xd5, "6", "T" , "bTFFC3Gg2XzQygLxxakHkNM3ravBZby1y9"),87 janin.currency.createCurrency ("Biblepay", 0x19, 0xb6, "7", "[TU]" , "BDvP86n4oVsLnFh1tCRXWLgBPK6ZtKrJQa"),88 janin.currency.createCurrency ("Bitcoin", 0x00, 0x80, "5", "[LK]" , "18kcrrfN9JXNGHqzaox5TWkpexnocHG9vM"),89 janin.currency.createCurrency ("BitcoinCash", 0x00, 0x80, "5", "[LK]" , "15DHZzv7eBUwss77qczZiL3DUEZLjDYhbM"),90 janin.currency.createCurrency ("BitcoinDark", 0x3c, 0xbc, "7", "U" , "RWtY5fg9ZQ9tYaPd7WJLgsdae1m1ZfrVRe"),91 janin.currency.createCurrency ("Bitcore", 0x00, 0x80, "5", "[LK]" , "1H7fhCsyRfPP8XnJWhezXmi9YNqtBh9xxW"),92 janin.currency.createCurrency ("BitcoinGold", 0x26, 0x80, "5", "[LK]" , "GYjahzU24Am88oZco6oFtpNzgwJTp9S4eB"),93 janin.currency.createCurrency ("Bitconnect", 0x12, 0x92, "5", "N" , "8Zixqosp1KFejfcVQzTWa2EsPa2VxSgeJX"),94 janin.currency.createCurrency ("Birdcoin", 0x2f, 0xaf, "6", "[ST]" , "L97vGT4wRnyyiugHpLXzZzjqueN8YWRdRJ"),95 janin.currency.createCurrency ("BitSynq", 0x3f, 0xbf, "7", "V" , "SRtKRZxSjjwb9BXujkmvLfRHiutk7s7VXh"),96 janin.currency.createCurrency ("BitZeny", 0x51, 0x80, "5", "[LK]" , "ZxUsfFszPsKdot4XnoZHZcMKg2PPS3NUji"),97 janin.currency.createCurrency ("Blackcoin", 0x19, 0x99, "6", "P" , "BFeJrZGyJ6bntd7RLXoNGvdn1HB5AQeiz4"),98 janin.currency.createCurrency ("BlackJack", 0x15, 0x95, "[56]", "P" , "9pzHRZkJ4Df3EBiqXhDVgtB2A7FaAq6nnG"),99 janin.currency.createCurrency ("BlockNet", 0x1a, 0x9a, "6", "P" , "BhGtBAnfp7EUvbVr7R7uTJyHXF7Kt17wni"),100 janin.currency.createCurrency ("BolivarCoin", 0x55, 0xd5, "8", "Y" , "1J1HqJd2CRyacjEkMXxGzWVUYq6XfRqJEP"),101 janin.currency.createCurrency ("BoxyCoin", 0x4b, 0xcb, "7", "X" , "9pzHRZkJ4Df3EBiqXhDVgtB2A7FaAq6nnG"),102 janin.currency.createCurrency ("BunnyCoin", 0x1a, 0x9a, "6", "P" , "BosRXiiSB6WmiSbvzVAdUjpezCWhqpJGyW"),103 janin.currency.createCurrency ("Cagecoin", 0x1f, 0x9f, "6", "Q" , "DjUXeu9pUYq5RsN7qpowb1C8LcvPNi9Bx3"),104 janin.currency.createCurrency ("CampusCoin", 0x1c, 0x9c, "6", "Q" , "Cawn4BSvSuPFHk3wo43Nm85CG8TW1Y2s1H"),105 janin.currency.createCurrency ("CanadaeCoin", 0x1c, 0x9c, "6", "Q" , "CbaoyW9KYP8qQHb9Lu59crvjemryCD88Hv"),106 janin.currency.createCurrency ("CannabisCoin", 0x1c, 0x9c, "6", "Q" , "Cb7SSkHpnk1PwKqKbreMALzJpnmAsBNvnG"),107 janin.currency.createCurrency ("Capricoin", 0x1c, 0x9c, "6", "Q" , "CS1mBL1dyCR8jH5hRrQiZ4Xz37UWwcbUAJ"),108 janin.currency.createCurrency ("CassubianDetk", 0x1e, 0x9e, "6", "Q" , "DBPagysmjfdkND4Zp1SM4myLenNfXpFWnG"),109 janin.currency.createCurrency ("CashCoin", 0x22, 0xa2, "6", "[QR]" , "F3bkQC7xGZZcPFmsucYas7KuHoEwCPtGHC"),110 janin.currency.createCurrency ("Catcoin", 0x15, 0x95, "[56]", "P" , "9rEXDemG6S3k2ddAsKFzRpnMVz3bVryYXZ"),111 janin.currency.createCurrency ("ChainCoin", 0x1c, 0x9c, "6", "Q" , "Ca62ZnR3sfKotqDJzsBW6k75rTFFgFkw1x"),112 janin.currency.createCurrency ("ColossusCoinXT", 0x1e, 0xd4, "5", "[LK]" , "D9buTahK9CXNxoGzXLZ9tamwrQzdW2MzvG"),113 janin.currency.createCurrency ("Condensate", 0x3c, 0xbc, "7", "U" , "RRZZMHaYZXCeUWRVeRvttKCNcvTRCxBfqD"),114 janin.currency.createCurrency ("Copico", 0x1c, 0x90, "5", "N" , "CKWBhVUwQP4fRw6xJk4nxCqKYCMz74bPKr"),115 janin.currency.createCurrency ("CopperCoin", 0x1c, 0x9c, "6", "Q" , "CXh8p64WqmEwTkQSDk9azaZUqrnXE9WESV"),116 janin.currency.createCurrency ("Corgicoin", 0x1c, 0x9c, "6", "Q" , "CNwV11TaKrfB3TnBS8vQjNbWT6CNxV8GBi"),117 janin.currency.createCurrency ("CryptoBullion", 0x0b, 0x8b, "5", "M" , "Cd9CgzTChm9yJQZ3SL3PUSsMkEEN8LGwCF"),118 janin.currency.createCurrency ("CryptoClub", 0x23, 0xa3, "6", "R" , "FKPFTw5LjoeGTZP1d3zHLfZNm91FktgPWY"),119 janin.currency.createCurrency ("Cryptoescudo", 0x1c, 0x9c, "6", "Q" , "Cd9CgzTChm9yJQZ3SL3PUSsMkEEN8LGwCF"),120 janin.currency.createCurrency ("Cryptonite", 0x1c, 0x80, "5", "[LK]" , "CP6uhgcDnXzdgQhnz2q1xhSFMFinmqkQkh"),121 janin.currency.createCurrency ("CryptoWisdomCoin", 0x49, 0x87, "5", "[LM]" , "WYeSz9KmpjgdtycPiJVPcQdp7bBqECfr3W"),122 janin.currency.createCurrency ("C2coin", 0x1c, 0x9c, "6", "Q" , "Cd3kyj77p2zivnqbcoBzNya7LD1w7uUU9v"),123 janin.currency.createCurrency ("Dash", 0x4c, 0xcc, "7", "X" , "XdYX6AbDzjb3AVL1tAmWjuYMD28LD9fcWS"),124 janin.currency.createCurrency ("DeafDollars", 0x30, 0xb0, "6", "T" , "LNHYnoqySwoN5aMyEVavEBT3CxHA9WrTZs"),125 janin.currency.createCurrency ("DeepOnion", 0x1f, 0x9f, "6", "Q" , "DhUAMCqydnYNx9PmeQ1wnyeyAxi477DbTz"),126 janin.currency.createCurrency ("Deutsche eMark", 0x35, 0xb5, "7", "T" , "Ni4112Tmv1ScZ9fkN76knJ4jRTxeHQieJM"),127 janin.currency.createCurrency ("Devcoin", 0x00, 0x80, "5", "[LK]" , "1GUeBfpVhN7xySQej3HiSe5c8jQoVQPosv"),128 janin.currency.createCurrency ("DigiByte", 0x1e, 0x9e, "6", "Q" , "D9s71nQPBCEbM2SvGwHQcrhay6KrJaVo3Z"),129 janin.currency.createCurrency ("Digitalcoin", 0x1e, 0x9e, "6", "Q" , "D7fJwPfW4dFSJNq4NHbMiYJhYnrZehMpqx"),130 janin.currency.createCurrency ("Dimecoin", 0x0f, 0x8f, "5", "N" , "7CRKjq135uBC2FgatpAzoJFLPRGL9gCqVp"),131 janin.currency.createCurrency ("DNotes", 0x1f, 0x9f, "6", "Q" , "DqmNyJd9xiaNpE65meAYX6EqJCFDwhsQoX"),132 janin.currency.createCurrency ("Dogecoin", 0x1e, 0x9e, "6", "Q" , "D74Npoqhwhjw9fShkm5wbj6DD2BJXpmzPj"),133 janin.currency.createCurrency ("DogecoinDark", 0x1e, 0x9e, "6", "Q" , "DLbjdRYsfiT62JZf5YxSAfNZJo1VKxDTNP"),134 janin.currency.createCurrency ("DRV", 0x1e, 0x31, "2", "8" , "DR7iv2UNs1a18zVjoxKmQbxY78TCBmhtkj"),135 janin.currency.createCurrency ("eGulden", 0x30, 0xb0, "6", "T" , "LhBsKs2GUb24KBAzZfua5AsqfQF5uPdWXQ"),136 janin.currency.createCurrency ("eKrona", 0x2d, 0xad, "6", "S" , "KLi8FnMZmSH8EfXYgJwi4R2ZyMscJykXT5"),137 janin.currency.createCurrency ("ELECTRA", 0x21, 0xa1, "6", "Q" , "EeJGVF9efipxqJcwf7dup735ATEDc2f1Yk"),138 janin.currency.createCurrency ("Ember", 0x5c, 0x32, "2", "8" , "eGFUogU3DceaBgY5a6qBQC22WwYsboG2gw"),139 janin.currency.createCurrency ("Emerald", 0x22, 0xa2, "6", "[QR]" , "EnJnzAQSpPp7RshMhNx9zhRnabxTLird6W"),140 janin.currency.createCurrency ("Emercoin", 0x21, 0x80, "5", "[LK]" , "EN5nVyEbLrhYfcjoyGgQFtD3QHETyj1dy1"),141 janin.currency.createCurrency ("EnergyCoin", 0x5c, 0xdc, "8", "Z" , "eD2P3q5PdyHYNwT94Dg6Wt4pBz64k8gwGf"),142 janin.currency.createCurrency ("Espers", 0x21, 0x90, "5", "N" , "EVB5z1zoYYZrjUnGw3fekn1aMjfVhMUKHW"),143 janin.currency.createCurrency ("Fastcoin", 0x60, 0xe0, "8", "a" , "frxe8F7gQdiAVgy4mRXjpXH5vN1wyta1db"),144 janin.currency.createCurrency ("Feathercoin", 0x0e, 0x8e, "5", "N" , "6dxAP6oacHsove5X2kZPpddcT1Am167YzC"),145 janin.currency.createCurrency ("Fedoracoin", 0x21, 0x80, "5", "[KL]" , "ENRPj6iEh14Xky2hv4B7zTJGMe5Kchjeo8"),146 janin.currency.createCurrency ("Fibre", 0x23, 0xa3, "6", "R" , "F6qGSM29vJm2q3Q9uvozpym7WYqKXBrpqm"),147 janin.currency.createCurrency ("Florincoin", 0x23, 0xb0, "6", "T" , "FLJ7vLPZDLMVr2KPEvZMgWvh8TCXj5Bn3m"),148 janin.currency.createCurrency ("Flurbo", 0x23, 0x30, "6", "8" , "FH65pxAbpGjLzjGGfGETSZhgLf2SXGuGBi"),149 janin.currency.createCurrency ("Fluttercoin", 0x23, 0xa3, "6", "R" , "FJioRLt3gLtqk3tUdMhwjAVo1sdWjRuwqt"),150 janin.currency.createCurrency ("FrazCoin", 0x23, 0xA3, "6", "R" , "F8uHqHrLrToXSMrVVTzap34LBhVSEEWUmm"),151 janin.currency.createCurrency ("Freicoin", 0x00, 0x80, "5", "[LK]" , "18kVnAk5Undi7CqEgGx63YDKBPFpxYJmT9"),152 janin.currency.createCurrency ("FUDcoin", 0x23, 0xa3, "6", "R" , "FEKsbaLJHjbEnuMiRDvtnyvxaJqehBtQ5V"),153 janin.currency.createCurrency ("Fuelcoin", 0x24, 0x80, "5", "[KL]" , "Fq1sL24MgDt7tTiKh8MPvhz2UMP8e1uCo4"),154 janin.currency.createCurrency ("Fujicoin", 0x24, 0xa4, "6", "R" , "Fqr2ZrqWPCryqsfjdghwMT3enGHukGonit"),155 janin.currency.createCurrency ("GabenCoin", 0x10, 0x90, "5", "N" , "7cwtF11nW4qAGp2pFdLuUZ5gzJWiXtUvi1"),156 janin.currency.createCurrency ("Garlicoin", 0x26, 0xb0, "6", "T" , "GdHMURSy1H9NbognUvKNmBXciMnqEpRnjg"),157 janin.currency.createCurrency ("GIVES", 0x26, 0xa6, "6", "R" , "GcDcbFxkkdqTsL2uoKsyyqNwfNf1DkvnCQ"),158 janin.currency.createCurrency ("GivesMN", 0x3f, 0xbf, "7", "V" , "SicY4b9xX5QqrF8yRWiN5aHsKsfg1JydFT"),159 janin.currency.createCurrency ("GlobalBoost", 0x26, 0xa6, "6", "R" , "GeXdH1WhzA7ayYim9sdCCQKcVukUq1W8LJ"),160 janin.currency.createCurrency ("Goodcoin", 0x26, 0xa6, "6", "R" , "GM3kAbQGaMVAYk8U3CrVGhSwz1hZaF6gVM"),161 janin.currency.createCurrency ("GridcoinResearch", 0x3e, 0xbe, "7", "V" , "SHs9ESzUL9VAEcq7kStfF1JUAMaNT1EYzJ"),162 janin.currency.createCurrency ("Gulden", 0x26, 0xa6, "6", "R" , "GLD7BDBYyddx6Sr72zGfreRG21dJAe74j8"),163 janin.currency.createCurrency ("Guncoin", 0x27, 0xa7, "6", "R" , "GwVej6c3tF9GqEdSKmwJiUDWtQVK2wY9fP"),164 janin.currency.createCurrency ("HamRadioCoin", 0x00, 0x80, "5", "LK" , "1JQVWKT1NQJUJbbq4UdJUY8DbWmgqrrHWz"),165 janin.currency.createCurrency ("HFRcoin", 0x10, 0x90, "5", "N" , ""),166 janin.currency.createCurrency ("HOdlcoin", 0x28, 0xa8, "5", "[LK]" , "H9SvPiwASJnsCcNS6QWJc3vi3FxoEHEKVb"),167 janin.currency.createCurrency ("HTMLCoin", 0x29, 0xa9, "6", "S" , "HskoM3SRgw3QLV1vHm98cCbFQedHfXZyM2"),168 janin.currency.createCurrency ("HWI", 0x29, 0xd7, "8", "Y" , "HdSiYnHbMSUUqUhzBFEw9ucY5Lu1kVDh6T"),169 janin.currency.createCurrency ("HyperStake", 0x75, 0xf5, "9", "d" , "p71G6VRVxTTxg3Hqa9CbENeJY1PumBjtvL"),170 janin.currency.createCurrency ("ImperiumCoin", 0x30, 0xb0, "6", "T" , "LKcNNWGDyKyedwL8QNsCkg2122fBQyiDat"),171 janin.currency.createCurrency ("IncaKoin", 0x35, 0xb5, "7", "T" , "NdEXATr2NSG1pkzC2kScnEnj6g3KYpLnT9"),172 janin.currency.createCurrency ("IncognitoCoin", 0x00, 0x80, "5", "LK" , "1BbRmhGKyKshFge9kBMdfJyQr3KZoh5K5t"),173 janin.currency.createCurrency ("Influxcoin", 0x66, 0xe6, "8", "b" , "i83eN9HxFvfsxSwjXiZQZaWf13cWF25K9Y"),174 janin.currency.createCurrency ("Innox", 0x4b, 0xcb, "7", "X" , "XQm6Vy2tTh87ZnWg6cBdZBmYVExbVuScBF"),175 janin.currency.createCurrency ("IridiumCoin", 0x30, 0xb0, "6", "T" , "LKTu2strS8zV1mDJxJtgE3HLqChD2m54yN"),176 janin.currency.createCurrency ("iCash", 0x66, 0xcc, "7", "X" , "iKCghTCFEPhriPxrduWxks2SCDE1XKzCU6"),177 janin.currency.createCurrency ("iXcoin", 0x8a, 0x80, "5", "[LK]" , "xnF1nshqFLaVdDGBmQ4k2jBQkr8nbuCkLz"),178 janin.currency.createCurrency ("Judgecoin", 0x2b, 0xab, "6", "S" , "JbF9ZnvoFkBdasPEq21jCCTnTUDSiyWrAQ"),179 janin.currency.createCurrency ("Jumbucks", 0x2b, 0xab, "6", "S" , "JSzHiaoD6ewtymBMJHsHqkpFzCYKBzxJeC"),180 janin.currency.createCurrency ("KHcoin", 0x30, 0xb0, "6", "T" , "LZWM2nptWZpSDZna5k96Rk1uqN8NDTigvK"),181 janin.currency.createCurrency ("KittehCoin", 0x2d, 0xad, "6", "S" , "KQkaGcgZvbKXoNWaPh5upwUMvEVvvEY5tY"),182 janin.currency.createCurrency ("Lanacoin", 0x30, 0xb0, "6", "T" , "LhqrrTHtfNMn8rZi7QesFbbpJYeGWX7319"),183 janin.currency.createCurrency ("Latium", 0x17, 0x80, "5", "[LK]" , "ASz2EgegeXfKyHaY1SbJ6nCDK6sxd7BpXg"),184 janin.currency.createCurrency ("LBRY Credits", 0x55, 0x80, "5", "[LK]" , "bTLCuxhV5m6DK9yPmADz9H23PyoaQo84KP"),185 janin.currency.createCurrency ("Litecoin", 0x30, 0xb0, "6", "T" , "LiScnsyPcqsyxn1fx92BcFguryXcw4DgCy"),186 janin.currency.createCurrency ("LiteDoge", 0x5a, 0xab, "6", "S" , "daaV1gQ63HpHHn4Ny1fJZHMA7KCeUVE538"),187 janin.currency.createCurrency ("LoMoCoin", 0x30, 0xb0, "6", "T" , "LSdeGMxfMFX38GHCFQT65SJaU1E8ezT2og"),188 janin.currency.createCurrency ("MadbyteCoin", 0x32, 0x6e, "4", "H" , "MCBdZDK326yhGM77nWjj3vHX96edd2PQW3"),189 janin.currency.createCurrency ("MagicInternetMoney", 0x30, 0xb0, "6", "T" , "LPRqCTYEy53FkEzhRTCauLc7Qq23Z5mxZU"),190 janin.currency.createCurrency ("Magicoin", 0x14, 0x94, "5", "[NP]" , "9H6ddyu9S9gyrEHxVrpMBTBZWrwAvdtehD"),191 janin.currency.createCurrency ("Marscoin", 0x32, 0xb2, "6", "T" , "M8caDttyKt2r7V7WHMMkRZ1jEzxj16fgCn"),192 janin.currency.createCurrency ("MarteXcoin", 0x32, 0xb2, "6", "T" , "M8DSVG13j3qpNDRbuuUBh5juQmSd15wLXH"),193 janin.currency.createCurrency ("MasterDoge", 0x33, 0x8b, "5", "M" , "Mm4Xqy9FYZ8N1NJzuXCaJLZcw8o2cmVC7c"),194 janin.currency.createCurrency ("Mazacoin", 0x32, 0xe0, "8", "a" , "MLUXCv3GfNgmUSXc5Ek3ePaQ4cfsJwEXHa"),195 janin.currency.createCurrency ("Megacoin", 0x32, 0xb2, "6", "T" , "MPeVmJHvkXN3caneWCB5zGgtGHRRBSLmWd"),196 janin.currency.createCurrency ("MintCoin", 0x33, 0xb3, "[67]", "T" , "MdT7t7MhbgQLSdMhHJCyoGHUuniqZDrj4h"),197 janin.currency.createCurrency ("MobiusCoin", 0x00, 0x80, "5", "[LK]" , "1HKNrUR3BaFC8u4VMfnjCuXDPrYGh7jU8S"),198 janin.currency.createCurrency ("MonetaryUnit", 0x10, 0x7e, "5", "K" , "7gzstwRu4owvwk7Se5pPVG8A5pgdgsDzUV"),199 janin.currency.createCurrency ("Monocle", 0x32, 0xb2, "6", "T" , "M9CFHZjyCipuKqByD5K1sCHmt7etuCFGsc"),200 janin.currency.createCurrency ("MoonCoin", 0x03, 0x83, "5", "L" , "2P2V9npcK7apbUFsWN3zL7R6ARBMwTJ4hA"),201 janin.currency.createCurrency ("Myriadcoin", 0x32, 0xb2, "6", "T" , "MWGDtjDw9c8C6zicDQF22yZBWbEX53v4o9"),202 janin.currency.createCurrency ("NameCoin", 0x34, 0x80, "5", "[LK]" , "NASxLK4nt5hgX9wQEny5qPPJ2q4uSGCvT9"),203 janin.currency.createCurrency ("Navcoin", 0x35, 0x96, "6", "P" , "NP2wVKjiT1PbpkFMCfkSxR7QsV3iezf4T6"),204 janin.currency.createCurrency ("NeedleCoin", 0x35, 0xb5, "7", "T" , "NYtEDYHNabMqiad5J2tEPFwE9wnhJQpN1W"),205 janin.currency.createCurrency ("NEETCOIN", 0x35, 0xb5, "7", "T" , "NgTALUftFyFk8osvqo5TryBkeNYKvGBssp"),206 janin.currency.createCurrency ("NYC", 0x3c, 0xbc, "7", "U" , "RY1XJPWksA5zUTCNJ416XJhY9yiFSFfTvz"),207 janin.currency.createCurrency ("Neoscoin", 0x35, 0xb1, "6", "T" , "NZw6WJPiKYcXxua1VveieihiNJRYanHjrP"),208 janin.currency.createCurrency ("Nevacoin", 0x35, 0xb1, "6", "T" , "NQDJrKGP3TNhKhKzaHMdg1Wk9FWCT4Nx3q"),209 janin.currency.createCurrency ("Novacoin", 0x08, 0x88, "5", "M" , "4EZMrEA5LnmwtcK5b2JfCq9k5YS4ZVZrtT"),210 janin.currency.createCurrency ("Nubits", 0x19, 0xbf, "7", "V" , "BPWCkyaVqWdaf3uqahrgdTjB2QTnRZzPMM"),211 janin.currency.createCurrency ("Nyancoin", 0x2d, 0xad, "6", "S" , "KHRsf8ofFYqGm4XoeHuFakKPLs5CH2dhK3"),212 janin.currency.createCurrency ("Ocupy", 0x73, 0xf3, "9", "[cd]" , "ocLKVPkQRFtKn5mFygrd4QJG9eZd1sKTyi"),213 janin.currency.createCurrency ("Omnicoin", 0x73, 0xf3, "9", "[cd]" , "oMesh62joeab2yMoJUH28mGE8h2suDzcYc"),214 janin.currency.createCurrency ("Onyxcoin", 0x73, 0xf3, "9", "[cd]" , "odRRCGXooJvKs7cn7sax1bJv9EJwwEy94Z"),215 janin.currency.createCurrency ("PacCoin", 0x18, 0x98, "6", "P" , ""),216 janin.currency.createCurrency ("Particl", 0x38, 0x6c, "4", "[HG]" , ""),217 janin.currency.createCurrency ("Paycoin", 0x37, 0xb7, "7", "U" , "PV2t9zzj9rQm81c9VJqqL8edj1ndpcW9HD"),218 janin.currency.createCurrency ("Pandacoin", 0x37, 0xb7, "7", "U" , "PT6guZjCgsrBkqCUhTnG1NNBYBqgzo8gVv"),219 janin.currency.createCurrency ("ParkByte", 0x37, 0xb7, "7", "U" , "PCLozfQ5cBinqdRFGEf6DkuC56YU1jWzMQ"),220 janin.currency.createCurrency ("Peercoin", 0x37, 0xb7, "7", "U" , "PSnwUwknbmqUU1GCcM1DNxcANqihpdt3tW"),221 janin.currency.createCurrency ("Pesetacoin", 0x2f, 0xaf, "6", "[ST]" , "L6qoz2SQN6U9vGNoST35QP85PQbg4s5rDn"),222 janin.currency.createCurrency ("PHCoin", 0x37, 0xb7, "7", "U" , "P9e6c714JUHUfuBVHSS36eqaxGCN6X8nyU"),223 janin.currency.createCurrency ("PhoenixCoin", 0x38, 0xb8, "7", "U" , "PsaaD2mLfAPUJXhMYdC1DBavkJhZj14k6X"),224 janin.currency.createCurrency ("PiggyCoin", 0x76, 0xf6, "9", "d" , "pqXotCKo6mmtYtLY5mi9uEW22mPFgKoLvx"),225 janin.currency.createCurrency ("Pinkcoin", 0x3, 0x83, "[RQP]","L" , "2Xgy8K2n5cVmnm8Se2rDojQ1GdfHdktx8r"),226 janin.currency.createCurrency ("PIVX", 0x1e, 0xd4, "8", "Y" , "DSiCurCzgdzqSP1urFg3VZJfrpyhMWjEAp"),227 janin.currency.createCurrency ("Peercoin", 0x37, 0xb7, "7", "U" , "PSnwUwknbmqUU1GCcM1DNxcANqihpdt3tW"),228 janin.currency.createCurrency ("Potcoin", 0x37, 0xb7, "7", "U" , "PQcMNuCdeooMcS5H3DGwxXnSE2kmyVMU39"),229 janin.currency.createCurrency ("Primecoin", 0x17, 0x97, "6", "P" , "AbXChfoHyFESePFuVh1xLZdn7Rj1mfD2a4"),230 janin.currency.createCurrency ("ProsperCoinClassic", 0x3a, 0xba, "7", "Q" , "QXLqozFHKP1fdvx4LKMYmtEHWciEZ9pD2F"),231 janin.currency.createCurrency ("Quark", 0x3a, 0xba, "7", "U" , "QNGJBwRApKKwEevTvDwpeoSgmo6w6wv8yQ"),232 janin.currency.createCurrency ("Qubitcoin", 0x26, 0xe0, "8", "a" , "GeNTNSwEh5ZCRCE6LtnMwHCk8VU2Lu8QE7"),233 janin.currency.createCurrency ("Reddcoin", 0x3d, 0xbd, "7", "[UV]" , "RmAB99NsX6Wbjk5WdqNeEab83y72d7zkqZ"),234 janin.currency.createCurrency ("Riecoin", 0x3c, 0x80, "5", "[LK]" , "RUsNQFds88sdWszMUVKwfdBhE9PtzLTK6N"),235 janin.currency.createCurrency ("Rimbit", 0x3c, 0xbc, "7", "U" , "RJNYNAafwKmkGf1hb3LDXiL1gRhSPPrXxN"),236 janin.currency.createCurrency ("ROIcoin", 0x3c, 0x80, "5", "[LK]" , "RKUwWKMfwoq2trvQ4Q3a529U7KZq3Pq6gw"),237 janin.currency.createCurrency ("Rubycoin", 0x3c, 0xbc, "7", "U" , "RNsGHZnnr4pa3nYSp5NsuPtqTAGHT6XWqb"),238 janin.currency.createCurrency ("Rupaya", 0x3c, 0xbc, "7", "U" , "RENYagTnHvczPgFYaAhfVqh9y6B1yaMaij"),239 janin.currency.createCurrency ("Sambacoin", 0x3e, 0xbe, "7", "V" , "SJdiAgazqtum79HzGbNDxi879NzSDjtH5P"),240 janin.currency.createCurrency ("SecKCoin", 0x3f, 0xbf, "7", "V" , "Se1aaa5T1HRpMEfyBPGswVUgTQoZUst9jA"),241 janin.currency.createCurrency ("SHMN", 0x32, 0xd4, "8", "Y" , "MBCPbyoXPfRdgjp3QQRuCYJhNg6rEQzqyD"),242 janin.currency.createCurrency ("SHND", 0x3f, 0xbf, "7", "V" , "SicY4b9xX5QqrF8yRWiN5aHsKsfg1JydFT"),243 janin.currency.createCurrency ("SibCoin", 0x3f, 0x80, "5", "[LK]" , "SY7GAzvFVS8bUA89e7hosPMxqMS482ecsp"),244 janin.currency.createCurrency ("SixEleven", 0x34, 0x80, "5", "[LK]" , "NGPimZxoZMmAsoF4eJME8TkG7UW8vqoJQJ"),245 janin.currency.createCurrency ("SmileyCoin", 0x19, 0x99, "6", "P" , "BEaZDZ8gCbbP1y3t2gPNKwqZa76rUDfR73"),246 janin.currency.createCurrency ("SongCoin", 0x3f, 0xbf, "7", "V" , "SSK9MXormZXgF5ZfV599okJRXYh3g9RXGN"),247 janin.currency.createCurrency ("SpreadCoin", 0x3f, 0xbf, "7", "V" , "SjPkh7V2KkySjL52wsD2CpEj4quTtjiaVW"),248 janin.currency.createCurrency ("StealthCoin", 0x3e, 0xbe, "7", "V" , "SJJGGq7UyoUH1TExGJCQ6ee49ztJr2quF8"),249 janin.currency.createCurrency ("Stratis", 0x3f, 0xbf, "7", "V" , "ScMNGH91SpNwbRDeK8vYXXJ3aYpwBr9Pen"),250 janin.currency.createCurrency ("SwagBucks", 0x3f, 0x99, "6", "P" , "SJJGGq7UyoUH1TExGJCQ6ee49ztJr2quF8"),251 janin.currency.createCurrency ("Syscoin", 0x00, 0x80, "5", "[LK]" , "133miKEHohCR5qnbEZ64MFZkCzFM2HpeAd"),252 janin.currency.createCurrency ("Tajcoin", 0x41, 0x6f, "6", "H" , "TWYZCoBw6Kd5fKZ5wWpqgJaeNAbuRF9Qg8"),253 janin.currency.createCurrency ("Terracoin", 0x00, 0x80, "5", "[LK]" , "1BQH6gBzkxxyMQG3VSJCHnmVGfWu64nbPL"),254 janin.currency.createCurrency ("Titcoin", 0x00, 0x80, "5", "[LK]" , "1CHAo7muicsLHdPk5q4asrEbh6aUeSPpdC"),255 janin.currency.createCurrency ("TittieCoin", 0x41, 0xc1, "7", "V" , "TYrdtLy9irV4u1yo2YQVCkS27RzDzBqWwJ"),256 janin.currency.createCurrency ("Topcoin", 0x42, 0xc2, "7", "V" , "TmDTsQqqv1LWGw4xjGNiJ7ABwdCenf2BFF"),257 janin.currency.createCurrency ("TransferCoin", 0x42, 0x99, "6", "P" , "TbnW6ih8314ksuutJpRjwUbc2mAkz64Tij"),258 janin.currency.createCurrency ("TreasureHuntCoin", 0x32, 0xb2, "6", "T" , "MKnC2upgCNfVMS2phkV8SqGaXUGkn39EaX"),259 janin.currency.createCurrency ("TrezarCoin", 0x42, 0xC2, "7", "V" , "Tw1jsLJKfmcosUCkJuMevdLLJob9wD7PSE"),260 janin.currency.createCurrency ("Unobtanium", 0x82, 0xe0, "8", "a" , "uZ8Gq61NGJ2wz3PLybXyXKLYC1FhRpz8Kq"),261 janin.currency.createCurrency ("USDe", 0x26, 0xa6, "6", "R" , "GQTeNSfx6xPbBNsUfqoZNrrCBQXeY5Dtdu"),262 janin.currency.createCurrency ("Vcash", 0x47, 0xc7, "7", "W" , "VoaKH8ndxJoFfM3XJ7DK3P6g7kxASpCf5g"),263 janin.currency.createCurrency ("Versioncoin", 0x46, 0xc6, "7", "W" , "VRYmn3ABchWK7ZSx2V3VD6TzxmqCLsxJSH"),264 janin.currency.createCurrency ("VergeCoin", 0x1e, 0x9e, "6", "Q" , "DJvyiaUdFAH7zmn23SaWzSj9FT5X9a3pSS"),265 janin.currency.createCurrency ("Vertcoin", 0x47, 0x80, "5", "[LK]" , "VkmBz8JJWLP1sVH9sGwc1Fz7o5RtXLW4J5"),266 janin.currency.createCurrency ("Viacoin", 0x47, 0xc7, "7", "W" , "VeJMvqvsZFoTkYfitzEG8fYy7bC7hxMfT1"),267 janin.currency.createCurrency ("VikingCoin", 0x46, 0x56, "3", "D" , "VJXz1cD1mDGQmu52aDdd7Q2G5ejqA6mcqw"),268 janin.currency.createCurrency ("W2Coin", 0x49, 0xc9, "7", "W" , "Wa3AvKUP5J3BpEa93nwKHPAAQ2P1XdTCeU"),269 janin.currency.createCurrency ("WACoins", 0x49, 0xc9, "7", "W" , ""),270 janin.currency.createCurrency ("WankCoin", 0x00, 0x80, "5", "[LK]" , "1CnEFZZxJQkNAvgFGdRV5JEKShkNj1LRWL"),271 janin.currency.createCurrency ("WeAreSatoshiCoin", 0x87, 0x97, "6", "P" , "wSEgPsCGqQESLDyzBJkwCXvMP1z3e1Qi3X"),272 janin.currency.createCurrency ("WorldCoin", 0x49, 0xc9, "7", "W" , "WNmGkn2WQZKS6xKHEsj5AqSbuE4sh9Upyb"),273 janin.currency.createCurrency ("XP", 0x4b, 0xcb, "7", "X" , "XLRykcGjFMpBDQ7PHfamR2DR4Z21qTUBHG"),274 janin.currency.createCurrency ("Yenten", 0x4e, 0x7b, "5", "K" , "YStuCpv1U9iT3L1VqBr52B9nBxrNgt4Fpj"),275 janin.currency.createCurrency ("Zcash", [0x1c,0xb8], 0x80, "5", "[LK]" , "t1XA64Hw47QaCxCUEgZbc4FVdH811RMd1xp"),276 janin.currency.createCurrency ("Zetacoin", 0x50, 0xE0, "8", "a" , "ZRU6TP8NLzoyey4DPPaa3uCCgDNDc96PXJ"),277 janin.currency.createCurrency ("Testnet Bitcoin", 0x6f, 0xef, "9", "c" , null),278 janin.currency.createCurrency ("Testnet Dogecoin", 0x71, 0xf1, "9", "c" , null),279 janin.currency.createCurrency ("Testnet MonetaryUnit",0x26, 0x40, "3", "A" , null),280 janin.currency.createCurrency ("Testnet PIVX", 0x8b, 0xef, "9", "c" , null),281 janin.currency.createCurrency ("Testnet WACoins", 0x51, 0xd1, "8", "[XY]" , null)...
base.js
Source:base.js
1"use strict";23/* PROPERTIES INFORMATION45This file is used to organize each property for easy implementation with the PList utility.67FILE NOTES:8 * Encoding responses should return a string9 * "d" indicates entered data1011*/1213const CONSTANTS = require("../util/Constants");14const PList = require("../util/PList");15const Color = require("../util/Color");16const Emoji = require("../util/Emoji");1718const { create, createWithKeyName } = PList;19const { GENERAL } = PList.PRESETS;2021const STRING_BASE64 = GENERAL.string(({ source }={}, d) => {22 if (typeof d !== "string") return null;23 if (source === "SET") return d;24 return Buffer.from(d, source === "STRINGIFY" ? "utf-8" : "base64").toString(source === "STRINGIFY" ? "base64" : "utf-8");25});2627const COLOR = createWithKeyName("color", {28 encoding: (details, d) => d instanceof Color && d.valid() ? Buffer.from(String(d.color), "utf-8").toString("base64") : null,29 decoding: ({ source }={}, d) => {30 if (!d) return new Color();31 if (source === "SET") return new Color(d);32 let dValue = Buffer.from(d, "base64").toString("utf-8");33 return new Color(isNaN(Number(dValue)) ? dValue : Number(dValue));34 }35});3637const EMOJI = {38 encoding: (details, d) => d instanceof Emoji ? d.toStringShort() : null,39 decoding: (details, d) => d instanceof Emoji ? d : new Emoji(d)40};4142// CREATIONS4344const IDENTIFICATION = {45 index: createWithKeyName("index", GENERAL.BigInt()),46 name: createWithKeyName("name", STRING_BASE64),47 time: GENERAL.Date(),4849 inSG: createWithKeyName("inSG", GENERAL.boolean()),50 gdServerStaff: createWithKeyName("gdServerStaff", GENERAL.boolean()),51 ulServerStaff: createWithKeyName("ulServerStaff", GENERAL.boolean()),52};5354const ENDPOINTS = {55 version: createWithKeyName("version", GENERAL.BigInt())56};5758const DISCORD = {59 guildID: createWithKeyName("guildID", GENERAL.BigInt()),60 guildName: createWithKeyName("guildName", STRING_BASE64),61 disID: createWithKeyName("disID", GENERAL.BigInt()),62 disTag: createWithKeyName("disTag", STRING_BASE64),63 dm: createWithKeyName("dm", GENERAL.boolean()),64 disCommandsUsed: createWithKeyName("disCommandsUsed", GENERAL.BigInt())65};6667const BOT_LEVELS = {68 blocked: createWithKeyName("blocked", GENERAL.boolean()),69 limited: createWithKeyName("limited", GENERAL.boolean()),70 trainee: createWithKeyName("trainee", GENERAL.boolean()),71 helper: createWithKeyName("helper", GENERAL.boolean()),72 officer: createWithKeyName("officer", GENERAL.boolean()),73 dev: createWithKeyName("dev", GENERAL.boolean()),74 alpha: createWithKeyName("alpha", GENERAL.boolean()),75};7677const UTIL = {78 text: createWithKeyName("text", STRING_BASE64),79 url: createWithKeyName("url", GENERAL.url()),80 countBigInt: createWithKeyName("count", GENERAL.BigInt()),81 countNumber: createWithKeyName("count", GENERAL.number()),82 banned: createWithKeyName("banned", GENERAL.boolean()),8384 attachments: createWithKeyName("attachments", GENERAL.list({85 encoding: (details, d) => d && typeof d.stringify === "function" ? Buffer.from(d.stringify(), "utf-8").toString("base64") : null,86 decoding: ({ source }={}, d) => {87 if (!d) return null;88 let Attachment = require("../foundation/Attachment");89 if (source === "SET") return new Attachment(d);90 return new Attachment(Buffer.from(d, source === "STRINGIFY" ? "utf-8" : "base64").toString(source === "STRINGIFY" ? "base64" : "utf-8"));91 }92 }, { separator: "," })),9394 gdStatType: createWithKeyName("statType", {...GENERAL.BigInt(),95 typeDefault: 0,96 types: {97 0: ["DEFAULT", "NONE"],98 1: "STARS",99 2: "DIAMONDS",100 3: "SCOINS",101 4: "UCOINS",102 5: "DEMONS",103 6: "CP"104 }105 })106107};108109const GD = {110 username: createWithKeyName("username", STRING_BASE64),111 pastUsernames: createWithKeyName("pastUsernames", GENERAL.list(STRING_BASE64, { separator: "," })),112 accountID: createWithKeyName("accountID", GENERAL.BigInt()),113 playerID: createWithKeyName("playerID", GENERAL.BigInt()),114 mod: createWithKeyName("mod", GENERAL.BigInt()),115 116 rankGlobal: createWithKeyName("rankGlobal", GENERAL.BigInt()),117118 timelyID: createWithKeyName("timelyID", GENERAL.BigInt()),119 levelID: createWithKeyName("levelID", GENERAL.BigInt()),120121 levelName: createWithKeyName("name", STRING_BASE64),122 songName: createWithKeyName("songName", STRING_BASE64),123 songPublisherName: createWithKeyName("songPublisherName", STRING_BASE64),124 125 difficultyFace: createWithKeyName("difficultyFace", GENERAL.BigInt()),126 difficultyDemon: createWithKeyName("difficultyDemon", GENERAL.BigInt()),127 isDemon: createWithKeyName("isDemon", GENERAL.boolean()),128 isAuto: createWithKeyName("isAuto", GENERAL.boolean()),129 epic: createWithKeyName("epic", GENERAL.boolean()),130 featured: createWithKeyName("featured", GENERAL.boolean()),131132 ucoinsVerified: createWithKeyName("ucoinsVerified", GENERAL.boolean()),133 highObjects: createWithKeyName("highObjects", GENERAL.boolean()),134135 downloads: createWithKeyName("downloads", GENERAL.BigInt()),136 likes: createWithKeyName("likes", GENERAL.BigInt()),137 levelLength: createWithKeyName("length", {...GENERAL.BigInt(),138 typeDefault: 0,139 types: {140 0: "TINY",141 1: "SHORT",142 2: "MEDIUM",143 3: "LONG",144 4: ["XL", "EXTRA LONG"]145 }146 }),147148 stars: createWithKeyName("stars", GENERAL.BigInt()),149 diamonds: createWithKeyName("diamonds", GENERAL.BigInt()),150 scoins: createWithKeyName("scoins", GENERAL.BigInt()),151 ucoins: createWithKeyName("ucoins", GENERAL.BigInt()),152 demons: createWithKeyName("demons", GENERAL.BigInt()),153 cp: createWithKeyName("cp", GENERAL.BigInt()),154 net: createWithKeyName("net", GENERAL.BigInt()),155 156 hasGlow: createWithKeyName("hasGlow", GENERAL.boolean()),157158 gamemode: createWithKeyName("gamemode", GENERAL.BigInt()),159 cubeID: createWithKeyName("cubeID", GENERAL.BigInt((details, d) => d >= 0 ? d : 1)),160 shipID: createWithKeyName("shipID", GENERAL.BigInt((details, d) => d >= 0 ? d : 1)),161 ballID: createWithKeyName("ballID", GENERAL.BigInt((details, d) => d >= 0 ? d : 1)),162 ufoID: createWithKeyName("ufoID", GENERAL.BigInt((details, d) => d >= 0 ? d : 1)),163 dartID: createWithKeyName("dartID", GENERAL.BigInt((details, d) => d >= 0 ? d : 1)),164 robotID: createWithKeyName("robotID", GENERAL.BigInt((details, d) => d >= 0 ? d : 1)),165 spiderID: createWithKeyName("spiderID", GENERAL.BigInt((details, d) => d >= 0 ? d : 1)),166 167 color1: createWithKeyName("color1", GENERAL.BigInt((details, d) => d >= 0 ? d : 1)),168 color2: createWithKeyName("color2", GENERAL.BigInt((details, d) => d >= 0 ? d : 1)),169};170171const MEDIAS = {172 youtube: createWithKeyName("youtube", STRING_BASE64),173 twitter: createWithKeyName("twitter", STRING_BASE64),174 twitch: createWithKeyName("twitch", STRING_BASE64),175 discordServerCode: createWithKeyName("server", STRING_BASE64),176 github: createWithKeyName("github", STRING_BASE64),177 instagram: createWithKeyName("instagram", STRING_BASE64),178};179180const DEVICES = {181 isMobile: createWithKeyName("isMobile", GENERAL.boolean()),182 isPC: createWithKeyName("isPC", GENERAL.boolean())183};184185// Properties for UltimateGDBot186const UGDB = {187 ugdbAdmin: createWithKeyName("ugdbAdmin", GENERAL.boolean()),188 blurb: createWithKeyName("blurb", STRING_BASE64),189 unrated: createWithKeyName("unrated", GENERAL.boolean()),190 isCopy: createWithKeyName("isCopy", GENERAL.boolean()),191};192193const ulUser = {194 onUL: createWithKeyName("onUL", GENERAL.boolean()),195 onHL: createWithKeyName("onHL", GENERAL.boolean()),196 isLocked: createWithKeyName("isLocked", GENERAL.boolean()),197 setBan: createWithKeyName("setBan", GENERAL.boolean()),198 pastUsernames: createWithKeyName("pastUsernames", GENERAL.list(GD.username, { separator: "," })),199 region: createWithKeyName("region", GENERAL.BigInt()), // - needs to be created200 country: createWithKeyName("country", GENERAL.BigInt()), // - needs to be created201 state: createWithKeyName("state", GENERAL.BigInt()), // - needs to be created202 difficulty: createWithKeyName("difficulty", GENERAL.BigInt()),203204 input: createWithKeyName("input", STRING_BASE64),205 encoded: createWithKeyName("encoded", GENERAL.boolean()),206 decoded: createWithKeyName("decoded", GENERAL.boolean()),207 spacing: createWithKeyName("spacing", GENERAL.BigInt()),208209 linkCodeType: createWithKeyName("type", {...GENERAL.BigInt(),210 typeDefault: 0n,211 types: {212 "0": "DISCORD_TO_GD"213 }214 })215};216217const COLLECTIONS = {218 // editors is listed in "woofPacks"219 levels: createWithKeyName("levels", GENERAL.list(GD.levelID, { separator: "," }))220};221222const woofPacks = {223 woofPackID: createWithKeyName("woofPackID", GENERAL.BigInt()),224 timeCreated: createWithKeyName("timeCreated", IDENTIFICATION.time),225 timeEdited: createWithKeyName("timeEdited", IDENTIFICATION.time),226 editors: createWithKeyName("editors", GENERAL.list(DISCORD.disID, { separator: "," })),227 locked: createWithKeyName("locked", GENERAL.boolean()),228 viewable: createWithKeyName("viewable", GENERAL.boolean()),229 tier: createWithKeyName("tier", GENERAL.BigInt()),230 keys: createWithKeyName("keys", GENERAL.list(GENERAL.BigInt((details, d) => d > 0 || d < 0 ? d : null), { separator: "," })),231 verifiedWoof: createWithKeyName("verifiedWoof", GENERAL.boolean()),232 verifiedHustle: createWithKeyName("verifiedHustle", GENERAL.boolean()),233 verifiedUL: createWithKeyName("verifiedUL", GENERAL.boolean()),234 verifiedSG: createWithKeyName("verifiedSG", GENERAL.boolean()),235 description: createWithKeyName("description", STRING_BASE64),236 topic: createWithKeyName("topic", STRING_BASE64),237 note: createWithKeyName("note", STRING_BASE64),238 tags: createWithKeyName("tags", GENERAL.list(STRING_BASE64, { separator: "," })),239 color: COLOR,240 emote: createWithKeyName("emote", EMOJI),241 gdbPerPage: createWithKeyName("gdbPerPage", GENERAL.integer((details, d) => d > 0 ? d : 10)),242 sortByLevelID: createWithKeyName("sortByLevelID", GENERAL.BigInt((details, d) => d >= 0 && d <= 2 ? d : 0)),243 sortByDifficulty: createWithKeyName("sortByDifficulty", GENERAL.BigInt((details, d) => d >= 0 && d <= 2 ? d : 0)),244 sortByLevelName: createWithKeyName("sortByLevelName", GENERAL.BigInt((details, d) => d >= 0 && d <= 2 ? d : 0)),245 sortByLevelRating: createWithKeyName("sortByLevelRating", GENERAL.BigInt((details, d) => d >= 0 && d <= 2 ? d : 0)),246 sortByUsername: createWithKeyName("sortByUsername", GENERAL.BigInt((details, d) => d >= 0 && d <= 2 ? d : 0)),247 sortByPlayerID: createWithKeyName("sortByPlayerID", GENERAL.BigInt((details, d) => d >= 0 && d <= 2 ? d : 0)),248 sortByScore: createWithKeyName("sortByScore", GENERAL.BigInt((details, d) => d >= 0 && d <= 2 ? d : 0)),249 isRankPack: createWithKeyName("isRankPack", GENERAL.boolean()),250 isCopyPack: createWithKeyName("isCopyPack", GENERAL.boolean()),251 ytVid: createWithKeyName("ytVid", GENERAL.url()),252 sortOrder: createWithKeyName("sortOrder", GENERAL.list(GENERAL.BigInt((details, d) => d > 0 ? d : null), { separator: "," }))253};254255const woofPackLevel = {256 score: createWithKeyName("score", GENERAL.BigInt())257};258259module.exports = {260261 create,262 createWithKeyName,263264 setFunctionOverrides: {265 ufo: "UFO",266 ufoID: "UFOID",267 dm: "DM",268 cp: "CP",269 ytVid: "YTVid",270 gdbPerPage: "GDBPerPage",271 gdServerStaff: "GDServerStaff",272 ulServerStaff: "ULServerStaff",273 ugdbAdmin: "UGDBAdmin",274 bgprog: "BGProg",275 pcolor: "PColor",276 url: "URL"277 },278279 PRESETS: {280 ...IDENTIFICATION,281 ...DISCORD,282 ...GD,283 ...COLLECTIONS,284 ...BOT_LEVELS,285 ...ENDPOINTS,286 ...UTIL,287 ...MEDIAS,288 ...DEVICES,289290 ...ulUser,291 ...woofPacks,292 ...woofPackLevel,293 ...UGDB294 }295
...
createnodes.js
Source:createnodes.js
1/*2 * Copyright (C) 2009 Google Inc. All rights reserved.3 *4 * Redistribution and use in source and binary forms, with or without5 * modification, are permitted provided that the following conditions are6 * met:7 *8 * * Redistributions of source code must retain the above copyright9 * notice, this list of conditions and the following disclaimer.10 * * Redistributions in binary form must reproduce the above11 * copyright notice, this list of conditions and the following disclaimer12 * in the documentation and/or other materials provided with the13 * distribution.14 * * Neither the name of Google Inc. nor the names of its15 * contributors may be used to endorse or promote products derived from16 * this software without specific prior written permission.17 *18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.29 */30// CreateNodes31// Test mechanisms for creating and inserting nodes into a DOM tree.32//33// There are many ways to add nodes into a DOM tree. This test exercises34// use of:35// - createElement()/appendChild()36// - createDocumentFragment()37// - innerHTML()38// - spans39function CreateNodes() {}40CreateNodes.nIterations = 10000;41CreateNodes.nIterationsSlow = 2000;42CreateNodes.currentIterations = CreateNodes.nIterations;43CreateNodes.nodeProto = null;44CreateNodes.createNode = function() {45 if (!CreateNodes.nodeProto) {46 var html = this.getNodeHTML();47 var span = document.createElement("span");48 span.innerHTML = html;49 CreateNodes.nodeProto = span.firstChild;50 }51 return CreateNodes.nodeProto;52};53CreateNodes.getNodeHTML = function() {54 return "<div style=\"font-style:bold\">test</div>";55};56CreateNodes.appendNodesWithDOM = function(node) {57 var nodes = CreateNodes.createNodesWithDOM(node);58 for (var i = 0; i < CreateNodes.nIterations; i++)59 this.suite.benchmarkContent.appendChild(nodes[i]);60 CreateNodes.forceNode(this);61};62CreateNodes.justAppendNodesWithDOM = function(nodes) {63 for (var i = 0; i < CreateNodes.nIterations; i++)64 this.suite.benchmarkContent.appendChild(nodes[i]);65};66CreateNodes.createNodesWithHTML = function(html) {67 var allHTML = "";68 for (var i = 0; i < CreateNodes.currentIterations; i++)69 allHTML += html;70 return allHTML;71};72CreateNodes.checkNodes = function() {73 var length = this.suite.benchmarkContent.childNodes.length;74 var count = CreateNodes.currentIterations;75 if (length != count)76 throw "Should have " + count + " nodes, have: " + length;77};78// Ensures that the node has really been created and not just delayed79CreateNodes.forceNode = function(benchmark) {80 var child = benchmark.suite.benchmarkContent.childNodes[CreateNodes.nIterations / 2];81};82CreateNodes.appendNodesWithHTML = function(html) {83 var allHTML = CreateNodes.createNodesWithHTML(html);84 this.suite.benchmarkContent.innerHTML = allHTML;85 CreateNodes.forceNode(this);86};87CreateNodes.createNodesWithDOM = function(node) {88 var nodes = [];89 for (var i = 0; i < CreateNodes.nIterations; i++)90 nodes.push(node.cloneNode(true));91 return nodes;92};93CreateNodes.createNodesWithDOMSetup = function() {94 return createNodesWithDOM(createNode());95};96CreateNodes.createNodeSetup = function() {97 CreateNodes.currentIterations = CreateNodes.nIterations;98 return CreateNodes.createNode();99};100CreateNodes.createNodesWithHTMLUsingSpans = function(html) {101 var spans = [];102 for (var i = 0; i < CreateNodes.currentIterations; i++) {103 var spanNode = document.createElement("span");104 spanNode.innerHTML = html;105 spans.push(spanNode);106 }107 return spans;108};109CreateNodes.appendNodesWithHTMLUsingSpans = function(html) {110 var spans = CreateNodes.createNodesWithHTMLUsingSpans(html);111 for (var i = 0; i < CreateNodes.currentIterations; i++)112 this.suite.benchmarkContent.appendChild(spans[i]);113 CreateNodes.forceNode(this);114};115CreateNodes.appendNodesWithHTMLUsingDocumentFragments = function(html) {116 var fragments = CreateNodes.createNodesWithHTMLUsingDocumentFragments(html);117 for (var i = 0; i < CreateNodes.nIterations; i++)118 this.suite.benchmarkContent.appendChild(fragments[i]);119 CreateNodes.forceNode(this);120};121CreateNodes.createNodesWithHTMLUsingDocumentFragments = function(html) {122 var fragments = [];123 for (var i = 0; i < CreateNodes.nIterations; i++) {124 var fragment = document.createDocumentFragment();125 fragment.innerHTML = html;126 fragments.push(fragment);127 }128 return fragments;129};130CreateNodes.appendNodesWithDOMUsingDocumentFragment = function(node) {131 var fragment = CreateNodes.createNodesWithDOMUsingDocumentFragment(node);132 this.suite.benchmarkContent.appendChild(fragment);133 CreateNodes.forceNode(this);134};135CreateNodes.appendNodesWithDOMUsingSharedDocumentFragment = function(fragment) {136 this.suite.benchmarkContent.appendChild(fragment.cloneNode(true));137 CreateNodes.forceNode(this);138};139CreateNodes.createNodesWithDOMUsingDocumentFragment = function(node) {140 var nodes = CreateNodes.createNodesWithDOM(node);141 var fragment = document.createDocumentFragment();142 for (var i = 0; i < CreateNodes.nIterations; i++)143 fragment.appendChild(nodes[i]);144 return fragment;145};146CreateNodes.createSharedDocumentFragment = function() {147 var nodes = CreateNodes.createNodesWithDOM(CreateNodes.createNode());148 var fragment = document.createDocumentFragment();149 for (var i = 0; i < CreateNodes.nIterations; i++)150 fragment.appendChild(nodes[i]);151 return fragment;152};153CreateNodes.createHTMLSetup = function() {154 CreateNodes.currentIterations = CreateNodes.nIterationsSlow;155 return CreateNodes.getNodeHTML();156};157CreateNodes.createIFramesHTML = function() {158 var html = [];159 for (var i = 0; i < 100; i++)160 html.push("<iframe src='blank.html'></iframe>");161 return html.join('');162}163CreateNodes.appendIFramesHTML = function(html) {164 this.suite.benchmarkContent.innerHTML = html;165}166CreateNodes.createIFramesDOM = function() {167 var nodes = [];168 for (var i = 0; i < 100; i++) {169 var iframe = document.createElement('iframe');170 iframe.src = 'blank.html';171 nodes.push(iframe);172 }173 return nodes;174}175CreateNodes.appendIFramesDOM = function(nodes) {176 var content = this.suite.benchmarkContent;177 for (var i = 0, l = nodes.length; i < l; i++)178 content.appendChild(nodes[i]);179}180var CreateNodesTest = new BenchmarkSuite('CreateNodes', [181 new Benchmark("append, DOM, DocumentFragment",182 CreateNodes.appendNodesWithDOMUsingDocumentFragment, CreateNodes.createNodeSetup, CreateNodes.checkNodes),183 new Benchmark("create, DOM, DocumentFragment",184 CreateNodes.createNodesWithDOMUsingDocumentFragment, CreateNodes.createNodeSetup),185 new Benchmark("append, DOM, SharedDocumentFragment",186 CreateNodes.appendNodesWithDOMUsingSharedDocumentFragment, CreateNodes.createSharedDocumentFragment, CreateNodes.checkNodes),187 new Benchmark("create, DOM",188 CreateNodes.createNodesWithDOM, CreateNodes.createNodeSetup),189 new Benchmark("append, DOM", 190 CreateNodes.appendNodesWithDOM, CreateNodes.createNodeSetup, CreateNodes.checkNodes),191 new Benchmark("append, DOM, iFrame",192 CreateNodes.appendIFramesDOM, CreateNodes.createIFramesDOM),193 new Benchmark("append, HTML", 194 CreateNodes.appendNodesWithHTML, CreateNodes.createHTMLSetup, CreateNodes.checkNodes),195 new Benchmark("create, HTML, Spans", 196 CreateNodes.createNodesWithHTMLUsingSpans, CreateNodes.createHTMLSetup),197 new Benchmark("append, HTML, Spans",198 CreateNodes.appendNodesWithHTMLUsingSpans, CreateNodes.createHTMLSetup, CreateNodes.checkNodes),199 new Benchmark("append, HTML, iFrame",200 CreateNodes.appendIFramesHTML, CreateNodes.createIFramesHTML)...
extendable-message-event-constructor-worker.js
Source:extendable-message-event-constructor-worker.js
1importScripts('/resources/testharness.js');2const TEST_OBJECT = { wanwan: 123 };3const CHANNEL1 = new MessageChannel();4const CHANNEL2 = new MessageChannel();5const PORTS = [CHANNEL1.port1, CHANNEL1.port2, CHANNEL2.port1];6function createEvent(initializer) {7 if (initializer === undefined)8 return new ExtendableMessageEvent('type');9 return new ExtendableMessageEvent('type', initializer);10}11// These test cases are mostly copied from the following file in the Chromium12// project (as of commit 848ad70823991e0f12b437d789943a4ab24d65bb):13// third_party/WebKit/LayoutTests/fast/events/constructors/message-event-constructor.html14test(function() {15 assert_false(createEvent().bubbles);16 assert_false(createEvent().cancelable);17 assert_equals(createEvent().data, null);18 assert_equals(createEvent().origin, '');19 assert_equals(createEvent().lastEventId, '');20 assert_equals(createEvent().source, null);21 assert_array_equals(createEvent().ports, []);22}, 'no initializer specified');23test(function() {24 assert_false(createEvent({ bubbles: false }).bubbles);25 assert_true(createEvent({ bubbles: true }).bubbles);26}, '`bubbles` is specified');27test(function() {28 assert_false(createEvent({ cancelable: false }).cancelable);29 assert_true(createEvent({ cancelable: true }).cancelable);30}, '`cancelable` is specified');31test(function() {32 assert_equals(createEvent({ data: TEST_OBJECT }).data, TEST_OBJECT);33 assert_equals(createEvent({ data: undefined }).data, null);34 assert_equals(createEvent({ data: null }).data, null);35 assert_equals(createEvent({ data: false }).data, false);36 assert_equals(createEvent({ data: true }).data, true);37 assert_equals(createEvent({ data: '' }).data, '');38 assert_equals(createEvent({ data: 'chocolate' }).data, 'chocolate');39 assert_equals(createEvent({ data: 12345 }).data, 12345);40 assert_equals(createEvent({ data: 18446744073709551615 }).data,41 18446744073709552000);42 assert_equals(createEvent({ data: NaN }).data, NaN);43 // Note that valueOf() is not called, when the left hand side is44 // evaluated.45 assert_false(46 createEvent({ data: {47 valueOf: function() { return TEST_OBJECT; } } }).data ==48 TEST_OBJECT);49 assert_equals(createEvent({ get data(){ return 123; } }).data, 123);50 assert_throws({ name: 'Error' }, function() {51 createEvent({ get data() { throw { name: 'Error' }; } }); });52}, '`data` is specified');53test(function() {54 assert_equals(createEvent({ origin: 'melancholy' }).origin, 'melancholy');55 assert_equals(createEvent({ origin: '' }).origin, '');56 assert_equals(createEvent({ origin: null }).origin, 'null');57 assert_equals(createEvent({ origin: false }).origin, 'false');58 assert_equals(createEvent({ origin: true }).origin, 'true');59 assert_equals(createEvent({ origin: 12345 }).origin, '12345');60 assert_equals(61 createEvent({ origin: 18446744073709551615 }).origin,62 '18446744073709552000');63 assert_equals(createEvent({ origin: NaN }).origin, 'NaN');64 assert_equals(createEvent({ origin: [] }).origin, '');65 assert_equals(createEvent({ origin: [1, 2, 3] }).origin, '1,2,3');66 assert_equals(67 createEvent({ origin: { melancholy: 12345 } }).origin,68 '[object Object]');69 // Note that valueOf() is not called, when the left hand side is70 // evaluated.71 assert_equals(72 createEvent({ origin: {73 valueOf: function() { return 'melancholy'; } } }).origin,74 '[object Object]');75 assert_equals(76 createEvent({ get origin() { return 123; } }).origin, '123');77 assert_throws({ name: 'Error' }, function() {78 createEvent({ get origin() { throw { name: 'Error' }; } }); });79}, '`origin` is specified');80test(function() {81 assert_equals(82 createEvent({ lastEventId: 'melancholy' }).lastEventId, 'melancholy');83 assert_equals(createEvent({ lastEventId: '' }).lastEventId, '');84 assert_equals(createEvent({ lastEventId: null }).lastEventId, 'null');85 assert_equals(createEvent({ lastEventId: false }).lastEventId, 'false');86 assert_equals(createEvent({ lastEventId: true }).lastEventId, 'true');87 assert_equals(createEvent({ lastEventId: 12345 }).lastEventId, '12345');88 assert_equals(89 createEvent({ lastEventId: 18446744073709551615 }).lastEventId,90 '18446744073709552000');91 assert_equals(createEvent({ lastEventId: NaN }).lastEventId, 'NaN');92 assert_equals(createEvent({ lastEventId: [] }).lastEventId, '');93 assert_equals(94 createEvent({ lastEventId: [1, 2, 3] }).lastEventId, '1,2,3');95 assert_equals(96 createEvent({ lastEventId: { melancholy: 12345 } }).lastEventId,97 '[object Object]');98 // Note that valueOf() is not called, when the left hand side is99 // evaluated.100 assert_equals(101 createEvent({ lastEventId: {102 valueOf: function() { return 'melancholy'; } } }).lastEventId,103 '[object Object]');104 assert_equals(105 createEvent({ get lastEventId() { return 123; } }).lastEventId,106 '123');107 assert_throws({ name: 'Error' }, function() {108 createEvent({ get lastEventId() { throw { name: 'Error' }; } }); });109}, '`lastEventId` is specified');110test(function() {111 assert_equals(createEvent({ source: CHANNEL1.port1 }).source, CHANNEL1.port1);112 assert_equals(113 createEvent({ source: self.registration.active }).source,114 self.registration.active);115 assert_equals(116 createEvent({ source: CHANNEL1.port1 }).source, CHANNEL1.port1);117 assert_throws(118 { name: 'TypeError' }, function() { createEvent({ source: this }); },119 'source should be Client or ServiceWorker or MessagePort');120}, '`source` is specified');121test(function() {122 // Valid message ports.123 var passed_ports = createEvent({ ports: PORTS}).ports;124 assert_equals(passed_ports[0], CHANNEL1.port1);125 assert_equals(passed_ports[1], CHANNEL1.port2);126 assert_equals(passed_ports[2], CHANNEL2.port1);127 assert_array_equals(createEvent({ ports: [] }).ports, []);128 assert_array_equals(createEvent({ ports: undefined }).ports, []);129 // Invalid message ports.130 assert_throws({ name: 'TypeError' },131 function() { createEvent({ ports: [1, 2, 3] }); });132 assert_throws({ name: 'TypeError' },133 function() { createEvent({ ports: TEST_OBJECT }); });134 assert_throws({ name: 'TypeError' },135 function() { createEvent({ ports: null }); });136 assert_throws({ name: 'TypeError' },137 function() { createEvent({ ports: this }); });138 assert_throws({ name: 'TypeError' },139 function() { createEvent({ ports: false }); });140 assert_throws({ name: 'TypeError' },141 function() { createEvent({ ports: true }); });142 assert_throws({ name: 'TypeError' },143 function() { createEvent({ ports: '' }); });144 assert_throws({ name: 'TypeError' },145 function() { createEvent({ ports: 'chocolate' }); });146 assert_throws({ name: 'TypeError' },147 function() { createEvent({ ports: 12345 }); });148 assert_throws({ name: 'TypeError' },149 function() { createEvent({ ports: 18446744073709551615 }); });150 assert_throws({ name: 'TypeError' },151 function() { createEvent({ ports: NaN }); });152 assert_throws({ name: 'TypeError' },153 function() { createEvent({ get ports() { return 123; } }); });154 assert_throws({ name: 'Error' }, function() {155 createEvent({ get ports() { throw { name: 'Error' }; } }); });156 // Note that valueOf() is not called, when the left hand side is157 // evaluated.158 var valueOf = function() { return PORTS; };159 assert_throws({ name: 'TypeError' }, function() {160 createEvent({ ports: { valueOf: valueOf } }); });161}, '`ports` is specified');162test(function() {163 var initializers = {164 bubbles: true,165 cancelable: true,166 data: TEST_OBJECT,167 origin: 'wonderful',168 lastEventId: 'excellent',169 source: CHANNEL1.port1,170 ports: PORTS171 };172 assert_equals(createEvent(initializers).bubbles, true);173 assert_equals(createEvent(initializers).cancelable, true);174 assert_equals(createEvent(initializers).data, TEST_OBJECT);175 assert_equals(createEvent(initializers).origin, 'wonderful');176 assert_equals(createEvent(initializers).lastEventId, 'excellent');177 assert_equals(createEvent(initializers).source, CHANNEL1.port1);178 assert_equals(createEvent(initializers).ports[0], PORTS[0]);179 assert_equals(createEvent(initializers).ports[1], PORTS[1]);180 assert_equals(createEvent(initializers).ports[2], PORTS[2]);...
createDatabase.js
Source:createDatabase.js
1//createDatabase.js2"use strict";3const Database = require("./database");4const printMessage = (message) => console.log(message);5const printStatement = (statement) => printMessage(`${statement};`);6const printError = (message) =>7 printMessage(8 `${"#".repeat(20)} Error ${"#".repeat(20)}\n${message}\n${"#".repeat(47)}`9 );10let createStatementFile = "./createStatements .json"; //give to commandline as param11if (process.argv.length > 2) {12 createStatementFile = `./${process.argv[2]}`;13}14try {15 createDB(require(createStatementFile));16} catch (err) {17 printError(err.message);18}19//@createDB function20async function createDB(createStatements) {21 //printStatement(createStatements);22 const options = {23 host: createStatements.host,24 port: createStatements.port,25 user: createStatements.admin,26 password: createStatements.adminpassword,27 };28 const DEBUG = createStatements.debug;29 const db = new Database(options); //@create new db from db.js file30 // 'zeke'@'localhost'31 const user = `'${createStatements.user}'@'${createStatements.host}'`;32 const dropDatabaseSql = `drop database if exists ${createStatements.database}`;33 const createDatabaseSql = `create database ${createStatements.database}`;34 const dropUserSql = `drop user if exists ${user}`; //user from line 3735 const createUserSql =36 `create user if not exists ${user} ` +37 `identified by '${createStatements.userpassword}'`;38 const grantPrivilegesSql = `grant all privileges on ${createStatements.database}.* to ${user}`;39 try {40 await db.doQuery(dropDatabaseSql);41 if (DEBUG) printStatement(dropDatabaseSql);42 await db.doQuery(createDatabaseSql);43 if (DEBUG) printStatement(createDatabaseSql);44 if (createStatements.dropUser) {45 await db.doQuery(dropUserSql);46 if (DEBUG) printStatement(dropUserSql);47 }48 await db.doQuery(createUserSql);49 if (DEBUG) printStatement(createUserSql);50 await db.doQuery(grantPrivilegesSql);51 if (DEBUG) printStatement(grantPrivilegesSql);52 for (let table of createStatements.tables) {53 if (table.columns.length > 0) {54 const createTableSql =55 `create table ${createStatements.database}.${table.tableName} (` +56 `\n\t${table.columns.join(",\n\t")}` +57 `)`;58 await db.doQuery(createTableSql);59 if (DEBUG) printStatement(createTableSql);60 if (table.data.length > 0) {61 const rows = [];62 for (let data of table.data) {63 const insertRowSql =64 `insert into ${createStatements.database}.${table.tableName} ` +65 `values(${Array(data.length).fill("?").join(",")})`;66 rows.push(db.doQuery(insertRowSql, data));67 }68 await Promise.all(rows);69 if (DEBUG) printMessage("data added.");70 } else {71 if (DEBUG) printMessage("data missing.");72 }73 } else {74 if (DEBUG)75 printMessage("Table columns missing. " + "Table was not created.");76 }77 }78 for (let table of createStatements.tables) {79 //@ && check if the column exists in table and its not empty80 if (table.columns && table.columns.length > 0) {81 const createTableSql =82 `create table ${createStatements.database}.${table.tableName} (` +83 `\n\t${table.columns.join(",\n\t")}` +84 `)`;85 await db.doQuery(createTableSql);86 if (DEBUG) printStatement(createTableSql);87 if (table.data && table.data.length > 0) {88 const rows = [];89 for (let data of table.data) {90 const insertRowSql =91 `insert into ${createStatements.database}.${table.tableName} ` +92 `values(${Array(data.length).fill("?").join(",")})`;93 rows.push(db.doQuery(insertRowSql, data)); //the array in the data94 }95 await Promise.all(rows); //waits tll all promise in the rows are fulfilled96 if (DEBUG) printMessage("Data successfully added");97 } else {98 if (DEBUG) printMessage("Data is missing...");99 }100 } else {101 if (DEBUG) printMessage("No table columns. Table was not created.");102 }103 }104 } catch (err) {105 printError(err.message); //\n106 }107}108// async function createDB(createStatements) {109// //printStatement(createStatements);110// const options = {111// host: createStatements.host,112// port: createStatements.port,113// user: createStatements.admin,114// password: createStatements.adminpassword115// };116// const DEBUG = createStatements.debug;117// const db = new Database(options);118// // 'zeke'@'localhost'119// const user = `'${createStatements.user}'@'${createStatements.host}'`;120// const dropDatabaseSql =121// `drop database if exists ${createStatements.database}`;122// const createDatabaseSql = `create database ${createStatements.database}`;123// const dropUserSql = `drop user if exists ${user}`;124// const createUserSql = `create user if not exists ${user} ` +125// `identified by '${createStatements.userpassword}'`;126// const grantPrivilegesSql =...
Using AI Code Generation
1const { create } = require('fast-check-monorepo')2const { property } = require('fast-check')3const isEven = (n) => n % 2 === 04const isOdd = (n) => n % 2 === 15const arbEven = create((n) => isEven(n) ? n : n + 1)6const arbOdd = create((n) => isOdd(n) ? n : n + 1)7property(arbEven, arbOdd, (a, b) => a + b === a + b).check()8const { create } = require('fast-check')9const { property } = require('fast-check')10const isEven = (n) => n % 2 === 011const isOdd = (n) => n % 2 === 112const arbEven = create((n) => isEven(n) ? n : n + 1)13const arbOdd = create((n) => isOdd(n) ? n : n + 1)14property(arbEven, arbOdd, (a, b) => a + b === a + b).check()
Using AI Code Generation
1import { create } from 'fast-check-monorepo';2const arb = create();3import { create } from 'fast-check';4const arb = create();5import { create } from 'fast-check';6const arb = create();7import { create } from 'fast-check';8const arb = create();9import { create } from 'fast-check';10const arb = create();11import { create } from 'fast-check';12const arb = create();13import { create } from 'fast-check';14const arb = create();15import { create } from 'fast-check';16const arb = create();17import { create } from 'fast-check';18const arb = create();19import { create } from 'fast-check';20const arb = create();21import { create } from 'fast-check';22const arb = create();23import { create } from 'fast-check';24const arb = create();25import { create } from 'fast-check';26const arb = create();27import
Using AI Code Generation
1import { create } from 'fast-check-monorepo';2const result = create(1, 2);3import { create } from 'fast-check';4const result = create(1, 2);5import { create } from 'fast-check-monorepo';6const result = create(1, 2);7import { create } from 'fast-check';8const result = create(1, 2);9import { create } from 'fast-check-monorepo';10const result = create(1, 2);11import { create } from 'fast-check';12const result = create(1, 2);13import { create } from 'fast-check-monorepo';14const result = create(1, 2);15import { create } from 'fast-check';16const result = create(1, 2);17import { create } from 'fast-check-monorepo';18const result = create(1, 2);19import { create } from 'fast-check';20const result = create(1, 2);21import { create } from 'fast-check-monorepo';22const result = create(1, 2);23import { create } from 'fast-check';24const result = create(
Using AI Code Generation
1const { create } = require('fast-check-monorepo');2const fc = create();3fc.assert(4 fc.property(fc.integer(), (a) => {5 return a >= 0;6 })7);8const { create } = require('fast-check');9const fc = create();10fc.assert(11 fc.property(fc.integer(), (a) => {12 return a >= 0;13 })14);15const { create } = require('fast-check-monorepo');16const fc = create();17fc.assert(18 fc.property(fc.integer(), (a) => {19 return a >= 0;20 })21);22const { create } = require('fast-check');23const fc = create();24fc.assert(25 fc.property(fc.integer(), (a) => {26 return a >= 0;27 })28);
Using AI Code Generation
1const fc = require("@dubzzz/fast-check");2const { create } = require("@dubzzz/fast-check-monorepo");3const { check } = fc;4const { createArbitrary } = create;5const arb = createArbitrary({6 arbitrary: fc.nat()7});8check(arb, { numRuns: 1000 });9{10 "scripts": {11 },12 "dependencies": {13 }14}
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!