├── LICENSE ├── README.md ├── css ├── bootstrap.css └── main.css ├── data ├── Proposal.json ├── ProposalPolls.json ├── User.json └── UserAction.json ├── index.html └── js ├── dvote.js └── jquery.min.js /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 陳世祥 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Quadratic Voting Frontend 2 | 3 | 此處為[2019總統盃黑客松](https://presidential-hackathon.taiwan.gov.tw/)平方投票法之前端程式碼,供大眾參考利用。 4 | 5 | 注意:此程式碼不含後端程式碼 6 | 7 | This is the frontend code of [Taiwan Presidential Hackathon 2019](https://presidential-hackathon.taiwan.gov.tw/en/Default.aspx) quadratic voting page, and open under MIT License for public use. 8 | 9 | Notice: This code did not include backend. 10 | 11 | ## 投票結果 12 | 13 | 此處資料為投票後之資料,供大眾研究利用。 14 | 15 | ### 提案資料 16 | 17 | #### 檔案名: 18 | 19 | [Proposal.json](data/Proposal.json) 20 | 21 | #### 欄位說明: 22 | 23 | - ProposalID: 提案編號 24 | - ServiceAgencies: 團體/機構名稱 25 | - TeamName: 隊名 26 | - ProposalTitle: 題目 27 | 28 | ### 投票結果資料 29 | 30 | #### 檔案名: 31 | 32 | [ProposalPolls.json](data/ProposalPolls.json) 33 | 34 | #### 欄位說明: 35 | 36 | - UserID: 使用者編號 37 | - ProposalID: 提案編號 38 | - Count: 得票數 39 | - CreateDate: 建立時間(時區:UTC+8) 40 | 41 | ### 使用者資料 42 | 43 | #### 檔案名: 44 | 45 | [User.json](data/User.json) 46 | 47 | #### 欄位說明: 48 | 49 | - UserID: 使用者編號 50 | - CreateDate: 建立時間(時區:UTC+8) 51 | 52 | ### 使用者紀錄 53 | 54 | #### 檔案名: 55 | 56 | [UserAction.json](data/UserAction.json) 57 | 58 | #### 欄位說明: 59 | 60 | - ActionID: 序號 61 | - UserID: 使用者編號 62 | - ProposalID: 提案編號 63 | - Sequence: 該次投票隨機排序出現在第N位 64 | - Action: 投票或回收 65 | - Add: 投票 66 | - Sub: 收回一票 67 | - VoteCount: 投票或收回後剩N票 68 | - SessionID: Session識別碼 69 | - CreateDate: 建立時間(時區:UTC+8) 70 | 71 | # Author 72 | 73 | 陳世祥 74 | 75 | # License 76 | 77 | [MIT](License) 78 | 79 | -------------------------------------------------------------------------------- /css/main.css: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------ 2 | # HTML Template 1.0 - Jan 19, 2018 3 | # ------------------------------------------------------------------------ 4 | # Designed & coded by Awe7 5 | # Websites: http://www.awe7.com - Email: info@awe7.com 6 | -------------------------------------------------------------------------- 7 | 8 | 1. base 9 | 2. button 10 | 3. form-item 11 | 4. contact 12 | 5. form_item 13 | 6. grid-css 14 | 7. portfolio 15 | 8. post 16 | 9. service_02 17 | 10. slide-image 18 | 11. socialicon 19 | 12. swiper 20 | 13. title 21 | 14. typing 22 | 15. footer 23 | 16. header-01 24 | 17. hero 25 | 18. Layout 26 | 19. Grid Boostrap 27 | 20. Font size 28 | 21. Margin Padding 29 | 22. Swiper 30 | 23. Popup 31 | 32 | --------------------------------------------------------------------------*/ 33 | 34 | 35 | 36 | .md-text-left, .text-left { 37 | text-align: left !important; 38 | } 39 | 40 | .md-text-center, .text-center { 41 | text-align: center !important; 42 | } 43 | 44 | .md-text-right, .text-right { 45 | text-align: right !important; 46 | } 47 | 48 | .md-text-underline { 49 | text-decoration: underline !important; 50 | } 51 | 52 | .md-round { 53 | border-radius: 5px !important; 54 | } 55 | 56 | .md-pill { 57 | border-radius: 50% !important; 58 | } 59 | 60 | .md-tb { 61 | display: table; 62 | width: 100%; 63 | height: 100%; 64 | } 65 | 66 | .md-tb__cell { 67 | display: table-cell; 68 | vertical-align: middle; 69 | } 70 | 71 | .md-overlay, [data-gradient-bg] > canvas { 72 | position: absolute; 73 | width: 100%; 74 | height: 100%; 75 | top: 0; 76 | left: 0; 77 | z-index: -1; 78 | } 79 | 80 | .md-overlay { 81 | background-color: rgba(0, 0, 0, .4); 82 | } 83 | 84 | .bg-fixed { 85 | background-attachment: fixed; 86 | } 87 | 88 | .md-bg-cover { 89 | background-repeat: no-repeat; 90 | background-size: cover; 91 | background-position: center center; 92 | } 93 | 94 | .full { 95 | width: 100%; 96 | height: 100vh; 97 | } 98 | 99 | .embed-responsive { 100 | position: relative; 101 | display: block; 102 | height: 0; 103 | padding: 0; 104 | overflow: hidden; 105 | } 106 | 107 | .embed-responsive.embed-responsive-4by3 { 108 | padding-bottom: 75%; 109 | } 110 | 111 | .embed-responsive.embed-responsive-16by9 { 112 | padding-bottom: 56.25%; 113 | } 114 | 115 | .embed-responsive .embed-responsive-item, .embed-responsive iframe, 116 | .embed-responsive embed, .embed-responsive object { 117 | position: absolute; 118 | top: 0; 119 | bottom: 0; 120 | left: 0; 121 | width: 100%; 122 | height: 100%; 123 | border: 0; 124 | } 125 | 126 | /* table Responsive */ 127 | 128 | .table-responsive-01 { 129 | width: 100%; 130 | overflow-y: hidden; 131 | overflow-x: auto; 132 | } 133 | 134 | .table-responsive-01 table > thead > tr > th, 135 | .table-responsive-01 table > thead > tr > td, 136 | .table-responsive-01 table > tbody > tr > th, 137 | .table-responsive-01 table > tbody > tr > td, 138 | .table-responsive-01 table > tfoot > tr > th, 139 | .table-responsive-01 table > tfoot > tr > td { 140 | white-space: nowrap; 141 | } 142 | 143 | @media (max-width: 991px) { 144 | .table-responsive-02 table, .table-responsive-02 thead, 145 | .table-responsive-02 tbody, .table-responsive-02 th, .table-responsive-02 td, 146 | .table-responsive-02 tr { 147 | display: block; 148 | } 149 | 150 | .table-responsive-02 thead { 151 | border-top: 1px solid #e8e8e8 !important; 152 | border-bottom: none !important; 153 | } 154 | 155 | .table-responsive-02 thead tr { 156 | position: absolute; 157 | top: -9999px; 158 | left: -9999px; 159 | } 160 | 161 | .table-responsive-02 tr { 162 | padding: 15px 0; 163 | border-left: 1px solid #e8e8e8; 164 | border-right: 1px solid #e8e8e8; 165 | } 166 | 167 | .table-responsive-02 td { 168 | position: relative; 169 | padding: 15px 10px 15px 30% !important; 170 | } 171 | 172 | .table-responsive-02 td:before { 173 | content: attr(data-th); 174 | position: absolute; 175 | top: 15px; 176 | left: 20px; 177 | width: 25%; 178 | padding-right: 10px; 179 | } 180 | } 181 | a { 182 | color: #19c2c9; 183 | } 184 | 185 | a:hover { 186 | text-decoration: none; 187 | color: #19c2c9; 188 | } 189 | 190 | a:focus { 191 | text-decoration: none; 192 | } 193 | 194 | ::-moz-selection { 195 | color: #fff; 196 | background-color: #333; 197 | } 198 | 199 | ::selection { 200 | color: #fff; 201 | background-color: #333; 202 | } 203 | 204 | 205 | 206 | 207 | hr { 208 | margin-top: 10px; 209 | margin-bottom: 10px; 210 | border-color: #dfdfdf; 211 | } 212 | 213 | .page-wrap { 214 | position: relative; 215 | } 216 | 217 | 218 | 219 | /* 2. button 220 | --------------------------------------------------------------------------------*/ 221 | 222 | .md-btn { 223 | display: inline-block; 224 | border: 2px solid #dfdfdf; 225 | box-shadow: none; 226 | outline: none; 227 | margin: 0; 228 | text-align: center; 229 | font-size: 14px; 230 | padding: 9px 12px; 231 | color: #000; 232 | background-color: transparent; 233 | transition: all .3s ease; 234 | text-decoration: none; 235 | vertical-align: middle; 236 | overflow: hidden; 237 | cursor: pointer; 238 | font-family: "Poppins", sans-serif, "微軟正黑體"; 239 | letter-spacing: 1px; 240 | text-transform: capitalize; 241 | line-height: 1; 242 | } 243 | 244 | .md-btn:hover { 245 | background-color: #333; 246 | color: #fff; 247 | border-color: #333; 248 | } 249 | 250 | .md-btn[disabled] { 251 | opacity: .65; 252 | cursor: not-allowed; 253 | } 254 | 255 | .md-btn--primary { 256 | background-color: #19c2c9; 257 | color: #fff; 258 | } 259 | 260 | .md-btn--primary:hover { 261 | background-color: #000; 262 | color: #fff; 263 | } 264 | 265 | .md-btn--primary:focus { 266 | background-color: #000; 267 | color: #fff; 268 | } 269 | 270 | .md-btn--success { 271 | background-color: #5cb85c; 272 | color: #fff; 273 | } 274 | 275 | .md-btn--success:hover { 276 | background-color: #449d44; 277 | color: #fff; 278 | } 279 | 280 | .md-btn--success:focus { 281 | background-color: #449d44; 282 | color: #fff; 283 | } 284 | 285 | .md-btn--info { 286 | background-color: #5bc0de; 287 | color: #fff; 288 | } 289 | 290 | .md-btn--info:hover { 291 | background-color: #31b0d5; 292 | color: #fff; 293 | } 294 | 295 | .md-btn--info:focus { 296 | background-color: #31b0d5; 297 | color: #fff; 298 | } 299 | 300 | .md-btn--warning { 301 | background-color: #f0ad4e; 302 | color: #fff; 303 | } 304 | 305 | .md-btn--warning:hover { 306 | background-color: #ec971f; 307 | color: #fff; 308 | } 309 | 310 | .md-btn--warning:focus { 311 | background-color: #ec971f; 312 | color: #fff; 313 | } 314 | 315 | .md-btn--danger { 316 | background-color: #d9534f; 317 | color: #fff; 318 | } 319 | 320 | .md-btn--danger:hover { 321 | background-color: #c9302c; 322 | color: #fff; 323 | } 324 | 325 | .md-btn--danger:focus { 326 | background-color: #c9302c; 327 | color: #fff; 328 | } 329 | 330 | .md-btn--link { 331 | background-color: transparent; 332 | color: #fe6565; 333 | } 334 | 335 | .md-btn--link:hover { 336 | background-color: transparent; 337 | color: #fe6565; 338 | text-decoration: underline; 339 | } 340 | 341 | .md-btn--link:focus { 342 | background-color: transparent; 343 | color: #fe6565; 344 | } 345 | 346 | .md-btn--dark { 347 | background-color: #000; 348 | color: #fff; 349 | } 350 | 351 | .md-btn--dark:hover { 352 | background-color: #fe6565; 353 | color: #fff; 354 | } 355 | 356 | .md-btn--dark:focus { 357 | background-color: #fe6565; 358 | color: #fff; 359 | } 360 | 361 | .md-btn--xs { 362 | padding: 6px 15px; 363 | font-size: 12px; 364 | } 365 | 366 | .md-btn--sm { 367 | padding: 8px 15px; 368 | min-width: 100px; 369 | font-size: 12px; 370 | } 371 | 372 | .md-btn--md { 373 | padding: 10px 20px; 374 | min-width: 140px; 375 | font-size: 14px; 376 | } 377 | 378 | .md-btn--lg { 379 | padding: 14px 24px; 380 | min-width: 160px; 381 | font-size: 16px; 382 | } 383 | 384 | .md-btn--square { 385 | border-radius: 0; 386 | } 387 | 388 | .md-btn--round { 389 | border-radius: 5px; 390 | } 391 | 392 | .md-btn--pill { 393 | border-radius: 40px; 394 | } 395 | 396 | .md-btn--block { 397 | display: block; 398 | width: 100%; 399 | } 400 | 401 | .md-btn--disabled { 402 | opacity: .65; 403 | cursor: not-allowed; 404 | } 405 | 406 | 407 | 408 | /* 3. form-item 409 | --------------------------------------------------------------------------------*/ 410 | 411 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"]), 412 | select2, textarea, select, product__number:not([type="text"]) { 413 | box-shadow: none; 414 | outline: none; 415 | margin: 0; 416 | border-radius: 0; 417 | padding: 0 15px; 418 | line-height: 38px; 419 | border: 1px solid #dfdfdf; 420 | color: #000; 421 | font-size: 16px; 422 | vertical-align: middle; 423 | height: 40px; 424 | width: 100%; 425 | } 426 | 427 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"])::-webkit-input-placeholder, 428 | select2::-webkit-input-placeholder, textarea::-webkit-input-placeholder, 429 | select::-webkit-input-placeholder, 430 | product__number:not([type="text"])::-webkit-input-placeholder { 431 | color: #333; 432 | font-family: "Poppins", sans-serif, "微軟正黑體"; 433 | text-transform: capitalize; 434 | } 435 | 436 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"])::-moz-placeholder, 437 | select2::-moz-placeholder, textarea::-moz-placeholder, select::-moz-placeholder, 438 | product__number:not([type="text"])::-moz-placeholder { 439 | color: #333; 440 | font-family: "Poppins", sans-serif, "微軟正黑體"; 441 | text-transform: capitalize; 442 | } 443 | 444 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"]):-moz-placeholder, 445 | select2:-moz-placeholder, textarea:-moz-placeholder, select:-moz-placeholder, 446 | product__number:not([type="text"]):-moz-placeholder { 447 | color: #333; 448 | font-family: "Poppins", sans-serif, "微軟正黑體"; 449 | text-transform: capitalize; 450 | } 451 | 452 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"]):-ms-input-placeholder, 453 | select2:-ms-input-placeholder, textarea:-ms-input-placeholder, 454 | select:-ms-input-placeholder, 455 | product__number:not([type="text"]):-ms-input-placeholder { 456 | color: #333; 457 | font-family: "Poppins", sans-serif, "微軟正黑體"; 458 | text-transform: capitalize; 459 | } 460 | 461 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"]):focus, 462 | select2:focus, textarea:focus, select:focus, 463 | product__number:not([type="text"]):focus { 464 | border-color: #19c2c9; 465 | } 466 | 467 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"]):focus::-webkit-input-placeholder, 468 | select2:focus::-webkit-input-placeholder, 469 | textarea:focus::-webkit-input-placeholder, 470 | select:focus::-webkit-input-placeholder, 471 | product__number:not([type="text"]):focus::-webkit-input-placeholder { 472 | color: #333; 473 | } 474 | 475 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"]):focus::-moz-placeholder, 476 | select2:focus::-moz-placeholder, textarea:focus::-moz-placeholder, 477 | select:focus::-moz-placeholder, 478 | product__number:not([type="text"]):focus::-moz-placeholder { 479 | color: #333; 480 | } 481 | 482 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"]):focus:-moz-placeholder, 483 | select2:focus:-moz-placeholder, textarea:focus:-moz-placeholder, 484 | select:focus:-moz-placeholder, 485 | product__number:not([type="text"]):focus:-moz-placeholder { 486 | color: #333; 487 | } 488 | 489 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"]):focus:-ms-input-placeholder, 490 | select2:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder, 491 | select:focus:-ms-input-placeholder, 492 | product__number:not([type="text"]):focus:-ms-input-placeholder { 493 | color: #333; 494 | } 495 | 496 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"])[disabled], 497 | select2[disabled], textarea[disabled], select[disabled], 498 | product__number:not([type="text"])[disabled] { 499 | opacity: .65; 500 | cursor: not-allowed; 501 | } 502 | 503 | input:not([type="button"]):not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="color"]), 504 | textarea { 505 | -webkit-appearance: none; 506 | -moz-appearance: none; 507 | appearance: none; 508 | } 509 | 510 | input[type="checkbox"], input[type="radio"] { 511 | width: auto !important; 512 | } 513 | 514 | textarea { 515 | line-height: 1.3; 516 | padding-top: 10px; 517 | padding-bottom: 10px; 518 | min-height: 80px; 519 | resize: none; 520 | } 521 | /* Typography */ 522 | body { 523 | margin: 0; 524 | padding: 0; 525 | line-height: 2.1; 526 | font-size: 18px; 527 | font-weight: 400; 528 | font-family: "Poppins", sans-serif, "微軟正黑體"; 529 | color: #748182; 530 | } 531 | 532 | body.md-skin-dark { 533 | background-color: #333; 534 | } 535 | 536 | .md-skin-dark { 537 | color: rgba(255, 255, 255, .8); 538 | } 539 | 540 | .md-skin-dark h1, .md-skin-dark h2, .md-skin-dark h3, .md-skin-dark h4, 541 | .md-skin-dark h5, .md-skin-dark h6 { 542 | color: #fff; 543 | } 544 | 545 | p { 546 | margin-bottom: 16px; 547 | } 548 | 549 | a { 550 | transition: all .3s ease; 551 | } 552 | 553 | a, input, textarea, select { 554 | outline: none; 555 | } 556 | 557 | h1, h2, h3, h4, h5, h6 { 558 | font-weight: 500; 559 | line-height: 1.1; 560 | color: #333; 561 | font-family: "Poppins", sans-serif, "微軟正黑體"; 562 | } 563 | 564 | h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { 565 | color: inherit; 566 | text-decoration: none; 567 | } 568 | 569 | h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { 570 | color: inherit; 571 | text-decoration: none; 572 | } 573 | 574 | h1 { 575 | font-size: 60px; 576 | } 577 | 578 | h2 { 579 | font-size: 52px; 580 | } 581 | 582 | h3 { 583 | font-size: 44px; 584 | } 585 | 586 | h4 { 587 | font-size: 32px; 588 | } 589 | 590 | h5 { 591 | font-size: 28px; 592 | } 593 | 594 | h6 { 595 | font-size: 18px; 596 | } 597 | 598 | h3, h1, h2, h3 { 599 | margin-top: 30px; 600 | margin-bottom: 15px; 601 | } 602 | 603 | h4, h5, h6 { 604 | margin-top: 20px; 605 | margin-bottom: 10px; 606 | } 607 | 608 | img { 609 | max-width: 100%; 610 | } 611 | 612 | blockquote { 613 | position: relative; 614 | font-family: "Poppins", sans-serif, "微軟正黑體"; 615 | font-size: 18px; 616 | border: 0; 617 | padding: 0; 618 | margin: 0; 619 | margin-bottom: 30px; 620 | } 621 | 622 | blockquote p { 623 | font-style: italic; 624 | margin-bottom: 0; 625 | } 626 | 627 | blockquote i { 628 | font-size: 40px !important; 629 | margin-bottom: 20px; 630 | } 631 | 632 | blockquote cite { 633 | display: block; 634 | font-size: 16px; 635 | font-style: normal; 636 | font-family: "Poppins", sans-serif, "微軟正黑體"; 637 | font-weight: 700; 638 | margin-top: 15px; 639 | } 640 | 641 | blockquote small { 642 | font-weight: 400; 643 | } 644 | 645 | @media (min-width: 768px) { 646 | blockquote { 647 | font-size: 24px; 648 | } 649 | } 650 | 651 | abbr { 652 | color: #67dee8; 653 | border-width: 2px; 654 | } 655 | 656 | mark, .mark { 657 | background-color: #19c2c9; 658 | color: #fff; 659 | } 660 | 661 | ul { 662 | list-style: none; 663 | margin: 0; 664 | padding: 0; 665 | } 666 | 667 | 668 | /* 4. contact 669 | --------------------------------------------------------------------------------*/ 670 | 671 | .contact { 672 | position: relative; 673 | margin-bottom: 20px; 674 | z-index: 9; 675 | } 676 | 677 | .contact__icon { 678 | position: absolute; 679 | top: 5px; 680 | left: 0; 681 | font-size: 30px; 682 | line-height: 1; 683 | } 684 | 685 | .contact__title { 686 | font-size: 16px; 687 | font-weight: 400; 688 | text-transform: capitalize; 689 | letter-spacing: 1px; 690 | margin-top: 0; 691 | margin-bottom: 5px; 692 | } 693 | 694 | 695 | /* 5. form_item 696 | --------------------------------------------------------------------------------*/ 697 | 698 | .form-item { 699 | margin-bottom: 25px; 700 | overflow: hidden; 701 | } 702 | 703 | .form__label { 704 | display: block; 705 | font-family: "Poppins", sans-serif, "微軟正黑體"; 706 | text-transform: capitalize; 707 | color: #333; 708 | margin-bottom: 10px; 709 | } 710 | 711 | .form-wrapper { 712 | margin: 0 -15px; 713 | overflow: hidden; 714 | } 715 | 716 | .form-wrapper .form-item { 717 | padding: 0 15px; 718 | } 719 | 720 | .form-item-btn-center { 721 | text-align: center; 722 | } 723 | 724 | @media (min-width: 769px) { 725 | .form-item--half { 726 | width: 50%; 727 | float: left; 728 | } 729 | 730 | .form-item-btn-right { 731 | text-align: right; 732 | } 733 | } 734 | .grid-css .grid-item .grid-item__inner { 735 | position: relative; 736 | } 737 | 738 | .grid-css.grid-css--grid .grid-item__content-wrapper { 739 | position: absolute; 740 | } 741 | 742 | .grid-css.grid-css--grid .grid-item__content-wrapper { 743 | margin: 0 !important; 744 | } 745 | 746 | .grid-css.grid-css--grid .grid-item__inner { 747 | padding-top: 100%; 748 | } 749 | 750 | .grid-css.grid-css--grid .grid-item.extra-large .grid-item__inner, 751 | .grid-css.grid-css--grid .grid-item.wide .grid-item__inner { 752 | padding-top: 50%; 753 | } 754 | 755 | .grid-css.grid-css--grid .grid-item.high .grid-item__inner { 756 | padding-top: 200%; 757 | } 758 | 759 | .grid-css.grid-css--grid[data-ratio="4by3"] .grid-item__inner { 760 | padding-top: 75%; 761 | } 762 | 763 | .grid-css.grid-css--grid[data-ratio="4by3"] .grid-item.extra-large .grid-item__inner, 764 | .grid-css.grid-css--grid[data-ratio="4by3"] .grid-item.wide .grid-item__inner { 765 | padding-top: 37.5%; 766 | } 767 | 768 | .grid-css.grid-css--grid[data-ratio="4by3"] .grid-item.high .grid-item__inner { 769 | padding-top: 150%; 770 | } 771 | 772 | .grid-css.grid-css--grid[data-ratio="16by9"] .grid-item__inner { 773 | padding-top: 56.25%; 774 | } 775 | 776 | .grid-css.grid-css--grid[data-ratio="16by9"] .grid-item.extra-large .grid-item__inner, 777 | .grid-css.grid-css--grid[data-ratio="16by9"] .grid-item.wide .grid-item__inner { 778 | padding-top: 28.125%; 779 | } 780 | 781 | .grid-css.grid-css--grid[data-ratio="16by9"] .grid-item.high .grid-item__inner { 782 | padding-top: 112.5%; 783 | } 784 | 785 | [data-col-xs="1"].grid-css .grid-item, [data-col-xs="1"].grid-css .grid-sizer { 786 | width: 100%; 787 | } 788 | 789 | [data-col-xs="2"].grid-css .grid-item, [data-col-xs="2"].grid-css .grid-sizer { 790 | width: 50%; 791 | } 792 | 793 | [data-col-xs="2"].grid-css .grid-item.wide, 794 | [data-col-xs="2"].grid-css .grid-item.large { 795 | width: 100%; 796 | } 797 | 798 | [data-col-xs="2"].grid-css .grid-item.extra-large { 799 | width: 100%; 800 | } 801 | 802 | [data-col-xs="3"].grid-css .grid-item, [data-col-xs="3"].grid-css .grid-sizer { 803 | width: 33.33333%; 804 | } 805 | 806 | [data-col-xs="3"].grid-css .grid-item.wide, 807 | [data-col-xs="3"].grid-css .grid-item.large { 808 | width: 66.66667%; 809 | } 810 | 811 | [data-col-xs="3"].grid-css .grid-item.extra-large { 812 | width: 100%; 813 | } 814 | 815 | [data-col-xs="4"].grid-css .grid-item, [data-col-xs="4"].grid-css .grid-sizer { 816 | width: 25%; 817 | } 818 | 819 | [data-col-xs="4"].grid-css .grid-item.wide, 820 | [data-col-xs="4"].grid-css .grid-item.large { 821 | width: 50%; 822 | } 823 | 824 | [data-col-xs="4"].grid-css .grid-item.extra-large { 825 | width: 100%; 826 | } 827 | 828 | [data-col-xs="5"].grid-css .grid-item, [data-col-xs="5"].grid-css .grid-sizer { 829 | width: 20%; 830 | } 831 | 832 | [data-col-xs="5"].grid-css .grid-item.wide, 833 | [data-col-xs="5"].grid-css .grid-item.large { 834 | width: 40%; 835 | } 836 | 837 | [data-col-xs="5"].grid-css .grid-item.extra-large { 838 | width: 100%; 839 | } 840 | 841 | [data-col-xs="6"].grid-css .grid-item, [data-col-xs="6"].grid-css .grid-sizer { 842 | width: 16.66667%; 843 | } 844 | 845 | [data-col-xs="6"].grid-css .grid-item.wide, 846 | [data-col-xs="6"].grid-css .grid-item.large { 847 | width: 33.33333%; 848 | } 849 | 850 | [data-col-xs="6"].grid-css .grid-item.extra-large { 851 | width: 100%; 852 | } 853 | 854 | [data-col-xs="7"].grid-css .grid-item, [data-col-xs="7"].grid-css .grid-sizer { 855 | width: 14.28571%; 856 | } 857 | 858 | [data-col-xs="7"].grid-css .grid-item.wide, 859 | [data-col-xs="7"].grid-css .grid-item.large { 860 | width: 28.57143%; 861 | } 862 | 863 | [data-col-xs="7"].grid-css .grid-item.extra-large { 864 | width: 100%; 865 | } 866 | 867 | [data-col-xs="8"].grid-css .grid-item, [data-col-xs="8"].grid-css .grid-sizer { 868 | width: 12.5%; 869 | } 870 | 871 | [data-col-xs="8"].grid-css .grid-item.wide, 872 | [data-col-xs="8"].grid-css .grid-item.large { 873 | width: 25%; 874 | } 875 | 876 | [data-col-xs="8"].grid-css .grid-item.extra-large { 877 | width: 100%; 878 | } 879 | 880 | [data-col-xs="9"].grid-css .grid-item, [data-col-xs="9"].grid-css .grid-sizer { 881 | width: 11.11111%; 882 | } 883 | 884 | [data-col-xs="9"].grid-css .grid-item.wide, 885 | [data-col-xs="9"].grid-css .grid-item.large { 886 | width: 22.22222%; 887 | } 888 | 889 | [data-col-xs="9"].grid-css .grid-item.extra-large { 890 | width: 100%; 891 | } 892 | 893 | [data-col-xs="10"].grid-css .grid-item, [data-col-xs="10"].grid-css .grid-sizer { 894 | width: 10%; 895 | } 896 | 897 | [data-col-xs="10"].grid-css .grid-item.wide, 898 | [data-col-xs="10"].grid-css .grid-item.large { 899 | width: 20%; 900 | } 901 | 902 | [data-col-xs="10"].grid-css .grid-item.extra-large { 903 | width: 100%; 904 | } 905 | 906 | @media (min-width: 768px) { 907 | [data-col-sm="1"].grid-css .grid-item, 908 | [data-col-sm="1"].grid-css .grid-sizer { 909 | width: 100%; 910 | } 911 | 912 | [data-col-sm="2"].grid-css .grid-item, 913 | [data-col-sm="2"].grid-css .grid-sizer { 914 | width: 50%; 915 | } 916 | 917 | [data-col-sm="2"].grid-css .grid-item.wide, 918 | [data-col-sm="2"].grid-css .grid-item.large { 919 | width: 100%; 920 | } 921 | 922 | [data-col-sm="2"].grid-css .grid-item.extra-large { 923 | width: 100%; 924 | } 925 | 926 | [data-col-sm="3"].grid-css .grid-item, 927 | [data-col-sm="3"].grid-css .grid-sizer { 928 | width: 33.33333%; 929 | } 930 | 931 | [data-col-sm="3"].grid-css .grid-item.wide, 932 | [data-col-sm="3"].grid-css .grid-item.large { 933 | width: 66.66667%; 934 | } 935 | 936 | [data-col-sm="3"].grid-css .grid-item.extra-large { 937 | width: 100%; 938 | } 939 | 940 | [data-col-sm="4"].grid-css .grid-item, 941 | [data-col-sm="4"].grid-css .grid-sizer { 942 | width: 25%; 943 | } 944 | 945 | [data-col-sm="4"].grid-css .grid-item.wide, 946 | [data-col-sm="4"].grid-css .grid-item.large { 947 | width: 50%; 948 | } 949 | 950 | [data-col-sm="4"].grid-css .grid-item.extra-large { 951 | width: 100%; 952 | } 953 | 954 | [data-col-sm="5"].grid-css .grid-item, 955 | [data-col-sm="5"].grid-css .grid-sizer { 956 | width: 20%; 957 | } 958 | 959 | [data-col-sm="5"].grid-css .grid-item.wide, 960 | [data-col-sm="5"].grid-css .grid-item.large { 961 | width: 40%; 962 | } 963 | 964 | [data-col-sm="5"].grid-css .grid-item.extra-large { 965 | width: 100%; 966 | } 967 | 968 | [data-col-sm="6"].grid-css .grid-item, 969 | [data-col-sm="6"].grid-css .grid-sizer { 970 | width: 16.66667%; 971 | } 972 | 973 | [data-col-sm="6"].grid-css .grid-item.wide, 974 | [data-col-sm="6"].grid-css .grid-item.large { 975 | width: 33.33333%; 976 | } 977 | 978 | [data-col-sm="6"].grid-css .grid-item.extra-large { 979 | width: 100%; 980 | } 981 | 982 | [data-col-sm="7"].grid-css .grid-item, 983 | [data-col-sm="7"].grid-css .grid-sizer { 984 | width: 14.28571%; 985 | } 986 | 987 | [data-col-sm="7"].grid-css .grid-item.wide, 988 | [data-col-sm="7"].grid-css .grid-item.large { 989 | width: 28.57143%; 990 | } 991 | 992 | [data-col-sm="7"].grid-css .grid-item.extra-large { 993 | width: 100%; 994 | } 995 | 996 | [data-col-sm="8"].grid-css .grid-item, 997 | [data-col-sm="8"].grid-css .grid-sizer { 998 | width: 12.5%; 999 | } 1000 | 1001 | [data-col-sm="8"].grid-css .grid-item.wide, 1002 | [data-col-sm="8"].grid-css .grid-item.large { 1003 | width: 25%; 1004 | } 1005 | 1006 | [data-col-sm="8"].grid-css .grid-item.extra-large { 1007 | width: 100%; 1008 | } 1009 | 1010 | [data-col-sm="9"].grid-css .grid-item, 1011 | [data-col-sm="9"].grid-css .grid-sizer { 1012 | width: 11.11111%; 1013 | } 1014 | 1015 | [data-col-sm="9"].grid-css .grid-item.wide, 1016 | [data-col-sm="9"].grid-css .grid-item.large { 1017 | width: 22.22222%; 1018 | } 1019 | 1020 | [data-col-sm="9"].grid-css .grid-item.extra-large { 1021 | width: 100%; 1022 | } 1023 | 1024 | [data-col-sm="10"].grid-css .grid-item, 1025 | [data-col-sm="10"].grid-css .grid-sizer { 1026 | width: 10%; 1027 | } 1028 | 1029 | [data-col-sm="10"].grid-css .grid-item.wide, 1030 | [data-col-sm="10"].grid-css .grid-item.large { 1031 | width: 20%; 1032 | } 1033 | 1034 | [data-col-sm="10"].grid-css .grid-item.extra-large { 1035 | width: 100%; 1036 | } 1037 | } 1038 | 1039 | @media (min-width: 992px) { 1040 | [data-col-md="1"].grid-css .grid-item, 1041 | [data-col-md="1"].grid-css .grid-sizer { 1042 | width: 100%; 1043 | } 1044 | 1045 | [data-col-md="2"].grid-css .grid-item, 1046 | [data-col-md="2"].grid-css .grid-sizer { 1047 | width: 50%; 1048 | } 1049 | 1050 | [data-col-md="2"].grid-css .grid-item.wide, 1051 | [data-col-md="2"].grid-css .grid-item.large { 1052 | width: 100%; 1053 | } 1054 | 1055 | [data-col-md="2"].grid-css .grid-item.extra-large { 1056 | width: 100%; 1057 | } 1058 | 1059 | [data-col-md="3"].grid-css .grid-item, 1060 | [data-col-md="3"].grid-css .grid-sizer { 1061 | width: 33.33333%; 1062 | } 1063 | 1064 | [data-col-md="3"].grid-css .grid-item.wide, 1065 | [data-col-md="3"].grid-css .grid-item.large { 1066 | width: 66.66667%; 1067 | } 1068 | 1069 | [data-col-md="3"].grid-css .grid-item.extra-large { 1070 | width: 100%; 1071 | } 1072 | 1073 | [data-col-md="4"].grid-css .grid-item, 1074 | [data-col-md="4"].grid-css .grid-sizer { 1075 | width: 25%; 1076 | } 1077 | 1078 | [data-col-md="4"].grid-css .grid-item.wide, 1079 | [data-col-md="4"].grid-css .grid-item.large { 1080 | width: 50%; 1081 | } 1082 | 1083 | [data-col-md="4"].grid-css .grid-item.extra-large { 1084 | width: 100%; 1085 | } 1086 | 1087 | [data-col-md="5"].grid-css .grid-item, 1088 | [data-col-md="5"].grid-css .grid-sizer { 1089 | width: 20%; 1090 | } 1091 | 1092 | [data-col-md="5"].grid-css .grid-item.wide, 1093 | [data-col-md="5"].grid-css .grid-item.large { 1094 | width: 40%; 1095 | } 1096 | 1097 | [data-col-md="5"].grid-css .grid-item.extra-large { 1098 | width: 100%; 1099 | } 1100 | 1101 | [data-col-md="6"].grid-css .grid-item, 1102 | [data-col-md="6"].grid-css .grid-sizer { 1103 | width: 16.66667%; 1104 | } 1105 | 1106 | [data-col-md="6"].grid-css .grid-item.wide, 1107 | [data-col-md="6"].grid-css .grid-item.large { 1108 | width: 33.33333%; 1109 | } 1110 | 1111 | [data-col-md="6"].grid-css .grid-item.extra-large { 1112 | width: 100%; 1113 | } 1114 | 1115 | [data-col-md="7"].grid-css .grid-item, 1116 | [data-col-md="7"].grid-css .grid-sizer { 1117 | width: 14.28571%; 1118 | } 1119 | 1120 | [data-col-md="7"].grid-css .grid-item.wide, 1121 | [data-col-md="7"].grid-css .grid-item.large { 1122 | width: 28.57143%; 1123 | } 1124 | 1125 | [data-col-md="7"].grid-css .grid-item.extra-large { 1126 | width: 100%; 1127 | } 1128 | 1129 | [data-col-md="8"].grid-css .grid-item, 1130 | [data-col-md="8"].grid-css .grid-sizer { 1131 | width: 12.5%; 1132 | } 1133 | 1134 | [data-col-md="8"].grid-css .grid-item.wide, 1135 | [data-col-md="8"].grid-css .grid-item.large { 1136 | width: 25%; 1137 | } 1138 | 1139 | [data-col-md="8"].grid-css .grid-item.extra-large { 1140 | width: 100%; 1141 | } 1142 | 1143 | [data-col-md="9"].grid-css .grid-item, 1144 | [data-col-md="9"].grid-css .grid-sizer { 1145 | width: 11.11111%; 1146 | } 1147 | 1148 | [data-col-md="9"].grid-css .grid-item.wide, 1149 | [data-col-md="9"].grid-css .grid-item.large { 1150 | width: 22.22222%; 1151 | } 1152 | 1153 | [data-col-md="9"].grid-css .grid-item.extra-large { 1154 | width: 100%; 1155 | } 1156 | 1157 | [data-col-md="10"].grid-css .grid-item, 1158 | [data-col-md="10"].grid-css .grid-sizer { 1159 | width: 10%; 1160 | } 1161 | 1162 | [data-col-md="10"].grid-css .grid-item.wide, 1163 | [data-col-md="10"].grid-css .grid-item.large { 1164 | width: 20%; 1165 | } 1166 | 1167 | [data-col-md="10"].grid-css .grid-item.extra-large { 1168 | width: 100%; 1169 | } 1170 | } 1171 | 1172 | @media (min-width: 1200px) { 1173 | [data-col-lg="1"].grid-css .grid-item, 1174 | [data-col-lg="1"].grid-css .grid-sizer { 1175 | width: 100%; 1176 | } 1177 | 1178 | [data-col-lg="2"].grid-css .grid-item, 1179 | [data-col-lg="2"].grid-css .grid-sizer { 1180 | width: 50%; 1181 | } 1182 | 1183 | [data-col-lg="2"].grid-css .grid-item.wide, 1184 | [data-col-lg="2"].grid-css .grid-item.large { 1185 | width: 100%; 1186 | } 1187 | 1188 | [data-col-lg="2"].grid-css .grid-item.extra-large { 1189 | width: 100%; 1190 | } 1191 | 1192 | [data-col-lg="3"].grid-css .grid-item, 1193 | [data-col-lg="3"].grid-css .grid-sizer { 1194 | width: 33.33333%; 1195 | } 1196 | 1197 | [data-col-lg="3"].grid-css .grid-item.wide, 1198 | [data-col-lg="3"].grid-css .grid-item.large { 1199 | width: 66.66667%; 1200 | } 1201 | 1202 | [data-col-lg="3"].grid-css .grid-item.extra-large { 1203 | width: 100%; 1204 | } 1205 | 1206 | [data-col-lg="4"].grid-css .grid-item, 1207 | [data-col-lg="4"].grid-css .grid-sizer { 1208 | width: 25%; 1209 | } 1210 | 1211 | [data-col-lg="4"].grid-css .grid-item.wide, 1212 | [data-col-lg="4"].grid-css .grid-item.large { 1213 | width: 50%; 1214 | } 1215 | 1216 | [data-col-lg="4"].grid-css .grid-item.extra-large { 1217 | width: 100%; 1218 | } 1219 | 1220 | [data-col-lg="5"].grid-css .grid-item, 1221 | [data-col-lg="5"].grid-css .grid-sizer { 1222 | width: 20%; 1223 | } 1224 | 1225 | [data-col-lg="5"].grid-css .grid-item.wide, 1226 | [data-col-lg="5"].grid-css .grid-item.large { 1227 | width: 40%; 1228 | } 1229 | 1230 | [data-col-lg="5"].grid-css .grid-item.extra-large { 1231 | width: 100%; 1232 | } 1233 | 1234 | [data-col-lg="6"].grid-css .grid-item, 1235 | [data-col-lg="6"].grid-css .grid-sizer { 1236 | width: 16.66667%; 1237 | } 1238 | 1239 | [data-col-lg="6"].grid-css .grid-item.wide, 1240 | [data-col-lg="6"].grid-css .grid-item.large { 1241 | width: 33.33333%; 1242 | } 1243 | 1244 | [data-col-lg="6"].grid-css .grid-item.extra-large { 1245 | width: 100%; 1246 | } 1247 | 1248 | [data-col-lg="7"].grid-css .grid-item, 1249 | [data-col-lg="7"].grid-css .grid-sizer { 1250 | width: 14.28571%; 1251 | } 1252 | 1253 | [data-col-lg="7"].grid-css .grid-item.wide, 1254 | [data-col-lg="7"].grid-css .grid-item.large { 1255 | width: 28.57143%; 1256 | } 1257 | 1258 | [data-col-lg="7"].grid-css .grid-item.extra-large { 1259 | width: 100%; 1260 | } 1261 | 1262 | [data-col-lg="8"].grid-css .grid-item, 1263 | [data-col-lg="8"].grid-css .grid-sizer { 1264 | width: 12.5%; 1265 | } 1266 | 1267 | [data-col-lg="8"].grid-css .grid-item.wide, 1268 | [data-col-lg="8"].grid-css .grid-item.large { 1269 | width: 25%; 1270 | } 1271 | 1272 | [data-col-lg="8"].grid-css .grid-item.extra-large { 1273 | width: 100%; 1274 | } 1275 | 1276 | [data-col-lg="9"].grid-css .grid-item, 1277 | [data-col-lg="9"].grid-css .grid-sizer { 1278 | width: 11.11111%; 1279 | } 1280 | 1281 | [data-col-lg="9"].grid-css .grid-item.wide, 1282 | [data-col-lg="9"].grid-css .grid-item.large { 1283 | width: 22.22222%; 1284 | } 1285 | 1286 | [data-col-lg="9"].grid-css .grid-item.extra-large { 1287 | width: 100%; 1288 | } 1289 | 1290 | [data-col-lg="10"].grid-css .grid-item, 1291 | [data-col-lg="10"].grid-css .grid-sizer { 1292 | width: 10%; 1293 | } 1294 | 1295 | [data-col-lg="10"].grid-css .grid-item.wide, 1296 | [data-col-lg="10"].grid-css .grid-item.large { 1297 | width: 20%; 1298 | } 1299 | 1300 | [data-col-lg="10"].grid-css .grid-item.extra-large { 1301 | width: 100%; 1302 | } 1303 | } 1304 | 1305 | [data-gap="5"].grid-css .grid__inner { 1306 | margin: -3px; 1307 | } 1308 | 1309 | [data-gap="5"].grid-css .grid__inner .grid-item .grid-item__content-wrapper { 1310 | margin: 3px; 1311 | top: 3px; 1312 | right: 3px; 1313 | bottom: 3px; 1314 | left: 3px; 1315 | } 1316 | 1317 | [data-gap="10"].grid-css .grid__inner { 1318 | margin: -5px; 1319 | } 1320 | 1321 | [data-gap="10"].grid-css .grid__inner .grid-item .grid-item__content-wrapper { 1322 | margin: 5px; 1323 | top: 5px; 1324 | right: 5px; 1325 | bottom: 5px; 1326 | left: 5px; 1327 | } 1328 | 1329 | [data-gap="15"].grid-css .grid__inner { 1330 | margin: -8px; 1331 | } 1332 | 1333 | [data-gap="15"].grid-css .grid__inner .grid-item .grid-item__content-wrapper { 1334 | margin: 8px; 1335 | top: 8px; 1336 | right: 8px; 1337 | bottom: 8px; 1338 | left: 8px; 1339 | } 1340 | 1341 | [data-gap="20"].grid-css .grid__inner { 1342 | margin: -10px; 1343 | } 1344 | 1345 | [data-gap="20"].grid-css .grid__inner .grid-item .grid-item__content-wrapper { 1346 | margin: 10px; 1347 | top: 10px; 1348 | right: 10px; 1349 | bottom: 10px; 1350 | left: 10px; 1351 | } 1352 | 1353 | [data-gap="25"].grid-css .grid__inner { 1354 | margin: -13px; 1355 | } 1356 | 1357 | [data-gap="25"].grid-css .grid__inner .grid-item .grid-item__content-wrapper { 1358 | margin: 13px; 1359 | top: 13px; 1360 | right: 13px; 1361 | bottom: 13px; 1362 | left: 13px; 1363 | } 1364 | 1365 | [data-gap="30"].grid-css .grid__inner { 1366 | margin: -15px; 1367 | } 1368 | 1369 | [data-gap="30"].grid-css .grid__inner .grid-item .grid-item__content-wrapper { 1370 | margin: 15px; 1371 | top: 15px; 1372 | right: 15px; 1373 | bottom: 15px; 1374 | left: 15px; 1375 | } 1376 | 1377 | [data-gap="35"].grid-css .grid__inner { 1378 | margin: -18px; 1379 | } 1380 | 1381 | [data-gap="35"].grid-css .grid__inner .grid-item .grid-item__content-wrapper { 1382 | margin: 18px; 1383 | top: 18px; 1384 | right: 18px; 1385 | bottom: 18px; 1386 | left: 18px; 1387 | } 1388 | 1389 | [data-gap="40"].grid-css .grid__inner { 1390 | margin: -20px; 1391 | } 1392 | 1393 | [data-gap="40"].grid-css .grid__inner .grid-item .grid-item__content-wrapper { 1394 | margin: 20px; 1395 | top: 20px; 1396 | right: 20px; 1397 | bottom: 20px; 1398 | left: 20px; 1399 | } 1400 | 1401 | [data-gap="45"].grid-css .grid__inner { 1402 | margin: -23px; 1403 | } 1404 | 1405 | [data-gap="45"].grid-css .grid__inner .grid-item .grid-item__content-wrapper { 1406 | margin: 23px; 1407 | top: 23px; 1408 | right: 23px; 1409 | bottom: 23px; 1410 | left: 23px; 1411 | } 1412 | 1413 | [data-gap="50"].grid-css .grid__inner { 1414 | margin: -25px; 1415 | } 1416 | 1417 | [data-gap="50"].grid-css .grid__inner .grid-item .grid-item__content-wrapper { 1418 | margin: 25px; 1419 | top: 25px; 1420 | right: 25px; 1421 | bottom: 25px; 1422 | left: 25px; 1423 | } 1424 | 1425 | 1426 | 1427 | /* 6. grid-css 1428 | --------------------------------------------------------------------------------*/ 1429 | 1430 | .grid-css { 1431 | margin: 0; 1432 | } 1433 | 1434 | .grid-css .grid-item, .grid-css .grid-sizer { 1435 | width: 100%; 1436 | } 1437 | 1438 | .grid-css .grid-item .grid-item__inner .grid-item__content-wrapper { 1439 | background-color: #ccc; 1440 | } 1441 | 1442 | .grid-css.grid-css--grid .grid-item__content-wrapper { 1443 | top: 0; 1444 | right: 0; 1445 | bottom: 0; 1446 | left: 0; 1447 | } 1448 | 1449 | .filter { 1450 | margin: 0 -10px 30px; 1451 | } 1452 | 1453 | .filter li { 1454 | display: inline-block; 1455 | } 1456 | 1457 | .filter li.current a { 1458 | color: #19c2c9; 1459 | } 1460 | 1461 | .filter a { 1462 | display: block; 1463 | position: relative; 1464 | font-size: 14px; 1465 | font-weight: 500; 1466 | text-transform: capitalize; 1467 | color: #748182; 1468 | padding: 5px 10px; 1469 | } 1470 | 1471 | 1472 | /* 7. portfolio 1473 | --------------------------------------------------------------------------------*/ 1474 | 1475 | .portfolio { 1476 | position: relative; 1477 | z-index: 9; 1478 | transition: all .3s ease; 1479 | } 1480 | 1481 | .portfolio:after { 1482 | content: ''; 1483 | display: block; 1484 | padding-top: 100%; 1485 | } 1486 | 1487 | .portfolio:hover { 1488 | box-shadow: 0 16px 22px 0 rgba(90, 91, 95, .3); 1489 | } 1490 | 1491 | .portfolio__bg { 1492 | position: absolute; 1493 | top: 0; 1494 | left: 0; 1495 | width: 100%; 1496 | height: 100%; 1497 | background-position: center center; 1498 | background-repeat: no-repeat; 1499 | background-size: cover; 1500 | z-index: -1; 1501 | } 1502 | 1503 | .portfolio__bg img { 1504 | display: none !important; 1505 | } 1506 | 1507 | .portfolio__icon { 1508 | position: absolute; 1509 | top: 50%; 1510 | left: 50%; 1511 | width: 50px; 1512 | height: 50px; 1513 | line-height: 50px; 1514 | font-size: 20px; 1515 | color: #fff; 1516 | text-align: center; 1517 | border-radius: 50%; 1518 | background-color: rgba(0, 0, 0, .8); 1519 | z-index: 1; 1520 | -webkit-transform: translate3d(-50%, -50%, 0); 1521 | transform: translate3d(-50%, -50%, 0); 1522 | } 1523 | 1524 | .grid-item__content-wrapper .portfolio { 1525 | position: absolute; 1526 | top: 0; 1527 | left: 0; 1528 | width: 100%; 1529 | height: 100%; 1530 | } 1531 | 1532 | .grid-item__content-wrapper .portfolio:after { 1533 | display: none; 1534 | } 1535 | 1536 | 1537 | /* 8. post 1538 | --------------------------------------------------------------------------------*/ 1539 | 1540 | .post__body { 1541 | padding: 20px 0; 1542 | } 1543 | 1544 | .post__title { 1545 | font-size: 20px; 1546 | margin: 10px 0 15px; 1547 | } 1548 | 1549 | .post__title a:hover { 1550 | color: #19c2c9; 1551 | } 1552 | 1553 | .post__text { 1554 | margin-bottom: 20px; 1555 | font-family: "微軟正黑體"; 1556 | } 1557 | 1558 | .post__meta { 1559 | text-transform: capitalize; 1560 | font-size: 12px; 1561 | margin-bottom: 15px; 1562 | } 1563 | 1564 | .post__meta > span + span:before { 1565 | content: '-'; 1566 | display: inline-block; 1567 | margin: 0 5px; 1568 | } 1569 | 1570 | 1571 | /* 9. service_02 1572 | --------------------------------------------------------------------------------*/ 1573 | 1574 | .service { 1575 | position: relative; 1576 | padding-left: 70px; 1577 | margin-bottom: 30px; 1578 | } 1579 | 1580 | .service:hover .service__title, .service:hover .service__icon { 1581 | color: #19c2c9; 1582 | } 1583 | 1584 | .service__title, .service__icon { 1585 | transition: all .3s ease; 1586 | } 1587 | 1588 | .service__icon { 1589 | position: absolute; 1590 | top: 0; 1591 | left: 0; 1592 | font-size: 50px; 1593 | line-height: 1; 1594 | color: #333; 1595 | margin-bottom: 10px; 1596 | } 1597 | 1598 | .service__title { 1599 | font-size: 15px; 1600 | font-weight: 500; 1601 | letter-spacing: 2px; 1602 | margin-top: 0; 1603 | margin-bottom: 8px; 1604 | } 1605 | 1606 | .service__text { 1607 | margin-bottom: 0; 1608 | } 1609 | 1610 | 1611 | /* 10. slide-image 1612 | --------------------------------------------------------------------------------*/ 1613 | 1614 | .slide-image { 1615 | position: relative; 1616 | margin-bottom: 50px; 1617 | } 1618 | 1619 | .slide-image .slide-item { 1620 | background-position: center center; 1621 | background-repeat: no-repeat; 1622 | background-size: cover; 1623 | } 1624 | 1625 | .slide-image .slide-image__front { 1626 | width: 70%; 1627 | margin-left: 0; 1628 | position: static; 1629 | } 1630 | 1631 | .slide-image .slide-image__front .slide-item:after { 1632 | content: ''; 1633 | display: block; 1634 | padding-top: 130%; 1635 | } 1636 | 1637 | .slide-image .slide-image__black { 1638 | width: 50%; 1639 | margin-left: 0; 1640 | position: absolute; 1641 | top: 45%; 1642 | right: 0; 1643 | z-index: 99; 1644 | -webkit-backface-visibility: hidden; 1645 | backface-visibility: hidden; 1646 | -webkit-transform: translateY(-45%); 1647 | transform: translateY(-45%); 1648 | } 1649 | 1650 | .slide-image .slide-image__black .slide-item:after { 1651 | content: ''; 1652 | display: block; 1653 | padding-top: 128%; 1654 | } 1655 | 1656 | .slide-image .swiper-pagination-custom { 1657 | position: absolute; 1658 | right: 0; 1659 | bottom: -45px; 1660 | margin-top: 0; 1661 | } 1662 | 1663 | 1664 | /* 11. socialicon 1665 | --------------------------------------------------------------------------------*/ 1666 | 1667 | .social-icon { 1668 | display: inline-block; 1669 | margin: 5px 10px; 1670 | transition: all .3s ease; 1671 | color: #333; 1672 | } 1673 | 1674 | .social-icon__text { 1675 | margin-left: 6px; 1676 | } 1677 | 1678 | 1679 | /* 12. swiper 1680 | --------------------------------------------------------------------------------*/ 1681 | 1682 | 1683 | /* 13. title 1684 | --------------------------------------------------------------------------------*/ 1685 | 1686 | .title { 1687 | margin-bottom: 40px; 1688 | } 1689 | 1690 | .title__title { 1691 | font-size: 24px; 1692 | font-weight: bold; 1693 | text-transform: uppercase; 1694 | margin-top: 0; 1695 | margin-bottom: 0; 1696 | } 1697 | 1698 | 1699 | /* 14. typing 1700 | --------------------------------------------------------------------------------*/ 1701 | 1702 | .typed-cursor { 1703 | opacity: 1; 1704 | font-weight: 100; 1705 | -webkit-animation: blink .7s infinite; 1706 | animation: blink .7s infinite; 1707 | } 1708 | 1709 | @keyframes blink { 1710 | 0% { 1711 | opacity: 1; 1712 | } 1713 | 1714 | 50% { 1715 | opacity: 0; 1716 | } 1717 | 1718 | 100% { 1719 | opacity: 1; 1720 | } 1721 | } 1722 | 1723 | @-webkit-keyframes blink { 1724 | 0% { 1725 | opacity: 1; 1726 | } 1727 | 1728 | 50% { 1729 | opacity: 0; 1730 | } 1731 | 1732 | 100% { 1733 | opacity: 1; 1734 | } 1735 | } 1736 | 1737 | 1738 | /* 15. footer 1739 | --------------------------------------------------------------------------------*/ 1740 | 1741 | .footer { 1742 | position: relative; 1743 | background-color: #000; 1744 | color: #fff; 1745 | text-align: center; 1746 | padding: 40px 0; 1747 | } 1748 | 1749 | .footer #back-to-top { 1750 | position: absolute; 1751 | width: 40px; 1752 | height: 40px; 1753 | left: 50%; 1754 | -webkit-transform: translateX(-50%); 1755 | transform: translateX(-50%); 1756 | top: -20px; 1757 | height: 40px; 1758 | line-height: 48px; 1759 | color: #333; 1760 | background-color: #fff; 1761 | box-shadow: 0 0 10px rgba(0, 0, 0, .3); 1762 | cursor: pointer; 1763 | font-size: 36px; 1764 | text-align: center; 1765 | z-index: 99; 1766 | } 1767 | 1768 | .footer__wrapper { 1769 | position: relative; 1770 | } 1771 | 1772 | .footer__social { 1773 | margin-bottom: 0; 1774 | } 1775 | 1776 | .footer__social a { 1777 | color: #fff; 1778 | } 1779 | 1780 | .footer__social a:hover { 1781 | color: #19c2c9; 1782 | } 1783 | 1784 | .footer__copy { 1785 | color: #f1f1f1; 1786 | margin-bottom: 0; 1787 | font-weight: 300; 1788 | } 1789 | 1790 | @media (min-width: 993px) { 1791 | .footer { 1792 | padding: 80px 0; 1793 | } 1794 | } 1795 | 1796 | 1797 | /* 16. header-01 1798 | --------------------------------------------------------------------------------*/ 1799 | 1800 | .header { 1801 | padding: 10px 0; 1802 | transition: all .3s cubic-bezier(.91, .04, .13, .99); 1803 | position: relative; 1804 | } 1805 | 1806 | .header.header--fixed { 1807 | position: fixed; 1808 | top: -100%; 1809 | left: 0; 1810 | width: 100%; 1811 | background-color: #fff; 1812 | z-index: 99; 1813 | } 1814 | 1815 | .header.is-scroll { 1816 | top: 0; 1817 | box-shadow: 0 2px 50px 0 rgba(0, 0, 0, .15); 1818 | } 1819 | .header.always-scroll { 1820 | top: 0; 1821 | box-shadow: 0 2px 50px 0 rgba(0, 0, 0, .15); 1822 | } 1823 | 1824 | .header__inner { 1825 | position: relative; 1826 | padding-right: 45px; 1827 | display: -webkit-box; 1828 | display: -ms-flexbox; 1829 | display: flex; 1830 | -webkit-box-pack: justify; 1831 | -ms-flex-pack: justify; 1832 | justify-content: space-between; 1833 | -webkit-box-align: center; 1834 | -ms-flex-align: center; 1835 | align-items: center; 1836 | } 1837 | 1838 | .onepage-nav { 1839 | z-index: 999; 1840 | } 1841 | 1842 | .onepage-nav ul { 1843 | list-style: none; 1844 | margin: 0; 1845 | padding: 0; 1846 | font-size: 0; 1847 | } 1848 | 1849 | .onepage-nav li { 1850 | position: relative; 1851 | z-index: 9; 1852 | } 1853 | 1854 | .onepage-nav li a { 1855 | display: block; 1856 | position: relative; 1857 | text-decoration: none; 1858 | } 1859 | 1860 | @media (min-width: 1201px) { 1861 | .onepage-nav { 1862 | text-align: center; 1863 | } 1864 | 1865 | .onepage-nav li:hover > a { 1866 | color: #19c2c9; 1867 | } 1868 | 1869 | .onepage-nav .onepage-menu .sub-menu { 1870 | opacity: 0; 1871 | visibility: hidden; 1872 | } 1873 | 1874 | .onepage-nav .onepage-menu li:hover > .sub-menu { 1875 | opacity: 1; 1876 | visibility: visible; 1877 | } 1878 | 1879 | .onepage-nav .onepage-menu a { 1880 | padding: 20px 30px; 1881 | } 1882 | 1883 | .onepage-nav .onepage-menu .sub-menu { 1884 | text-align: left; 1885 | padding: 0 2px; 1886 | } 1887 | 1888 | .onepage-nav .onepage-menu .sub-menu li { 1889 | background-color: #111; 1890 | } 1891 | 1892 | .onepage-nav .onepage-menu .sub-menu li:first-child { 1893 | padding-top: 18px; 1894 | } 1895 | 1896 | .onepage-nav .onepage-menu .sub-menu li:last-child { 1897 | padding-bottom: 18px; 1898 | } 1899 | 1900 | .onepage-nav .onepage-menu .sub-menu a { 1901 | color: #eee; 1902 | padding: 2px 25px; 1903 | } 1904 | 1905 | .onepage-nav .onepage-menu .sub-menu a:after { 1906 | right: 15px; 1907 | } 1908 | 1909 | .onepage-nav .onepage-menu > li { 1910 | display: inline-block; 1911 | } 1912 | 1913 | .onepage-nav .onepage-menu a { 1914 | font-size: 16px; 1915 | color: #748182; 1916 | transition: all 300ms ease; 1917 | font-family: "Poppins", sans-serif, "微軟正黑體"; 1918 | font-weight: 400; 1919 | text-transform: capitalize; 1920 | padding: 10px 20px; 1921 | } 1922 | 1923 | .onepage-nav .onepage-menu .sub-menu { 1924 | display: block !important; 1925 | } 1926 | 1927 | .onepage-nav .onepage-menu .sub-menu .current-menu-parent > a, 1928 | .onepage-nav .onepage-menu .sub-menu .current-menu-item > a { 1929 | color: #19c2c9; 1930 | } 1931 | 1932 | .onepage-nav .onepage-menu .current-menu-parent > a, 1933 | .onepage-nav .onepage-menu .current-menu-item > a { 1934 | color: #19c2c9; 1935 | } 1936 | 1937 | .onepage-nav .onepage-menu .sub-menu { 1938 | width: 200px; 1939 | position: absolute; 1940 | top: 100%; 1941 | z-index: -1; 1942 | left: 0; 1943 | transition: all 300ms ease; 1944 | } 1945 | 1946 | .onepage-nav .onepage-menu .sub-menu .sub-menu { 1947 | top: 0; 1948 | left: 100%; 1949 | } 1950 | 1951 | .onepage-nav .onepage-menu .sub-menu li > a { 1952 | font-size: 14px; 1953 | transition: all 300ms ease; 1954 | } 1955 | 1956 | .onepage-nav .onepage-menu .sub-menu li:hover > a { 1957 | color: #4aa8ff; 1958 | } 1959 | 1960 | .onepage-nav .onepage-toggle-menu { 1961 | display: none; 1962 | } 1963 | } 1964 | 1965 | @media (max-width: 1200px) { 1966 | .onepage-nav .onepage-menu { 1967 | position: fixed; 1968 | top: 0; 1969 | will-change: transform; 1970 | } 1971 | 1972 | .onepage-nav .onepage-menu a { 1973 | font-size: 14px; 1974 | } 1975 | 1976 | .onepage-nav .onepage-menu a:after { 1977 | right: 0; 1978 | width: 50px; 1979 | text-align: center; 1980 | } 1981 | 1982 | .onepage-nav .onepage-menu .sub-menu { 1983 | display: none; 1984 | } 1985 | 1986 | .onepage-nav .onepage-menu { 1987 | background-color: #111; 1988 | } 1989 | 1990 | .onepage-nav .onepage-menu a { 1991 | border-bottom: 1px solid rgba(255, 255, 255, .1); 1992 | color: #eee; 1993 | } 1994 | 1995 | .onepage-nav .onepage-menu a:after { 1996 | border-left: 1px solid rgba(255, 255, 255, .1); 1997 | } 1998 | 1999 | .onepage-nav .onepage-menu { 2000 | left: 0; 2001 | width: 280px; 2002 | background-color: #111; 2003 | -webkit-transform: translate(-100%, 0); 2004 | transform: translate(-100%, 0); 2005 | } 2006 | 2007 | .onepage-nav .active.onepage-menu { 2008 | -webkit-transform: translate(0, 0); 2009 | transform: translate(0, 0); 2010 | } 2011 | 2012 | .onepage-nav .onepage-menu { 2013 | z-index: 99999; 2014 | height: 100%; 2015 | overflow-x: hidden; 2016 | overflow-y: auto; 2017 | text-align: left; 2018 | width: 300px; 2019 | transition: all 300ms ease; 2020 | } 2021 | 2022 | .onepage-nav .onepage-menu li { 2023 | position: relative; 2024 | } 2025 | 2026 | .onepage-nav .onepage-menu a { 2027 | padding: 12px 15px; 2028 | font-size: 16px; 2029 | text-transform: capitalize; 2030 | color: #748182; 2031 | } 2032 | 2033 | .onepage-nav .onepage-menu a:hover { 2034 | color: #fff; 2035 | } 2036 | 2037 | .onepage-nav .onepage-menu .active > a { 2038 | color: #fff; 2039 | } 2040 | 2041 | .onepage-nav .onepage-menu .current-menu-parent > a, 2042 | .onepage-nav .onepage-menu .current-menu-item > a { 2043 | color: #fff; 2044 | } 2045 | 2046 | .onepage-nav .onepage-menu .sub-menu a { 2047 | padding: 12px 15px; 2048 | } 2049 | 2050 | .onepage-nav .onepage-menu .sub-menu .menu-item-has-children > a:hover { 2051 | color: #4aa8ff; 2052 | } 2053 | 2054 | .onepage-nav .onepage-menu .sub-menu .menu-item-has-children.active > a { 2055 | color: #4aa8ff; 2056 | } 2057 | 2058 | .onepage-nav .onepage-toggle-menu { 2059 | display: block; 2060 | } 2061 | } 2062 | 2063 | .onepage-nav { 2064 | display: inline-block; 2065 | vertical-align: middle; 2066 | } 2067 | 2068 | .onepage-nav li.current a { 2069 | color: #19c2c9; 2070 | } 2071 | 2072 | .onepage-menu.active ~ .navbar-toggle span:nth-child(1) { 2073 | top: 10px; 2074 | -webkit-transform: rotate(-45deg); 2075 | transform: rotate(-45deg); 2076 | } 2077 | 2078 | .onepage-menu.active ~ .navbar-toggle span:nth-child(2) { 2079 | opacity: 0; 2080 | left: -40px; 2081 | } 2082 | 2083 | .onepage-menu.active ~ .navbar-toggle span:nth-child(3) { 2084 | top: 10px; 2085 | -webkit-transform: rotate(45deg); 2086 | transform: rotate(45deg); 2087 | } 2088 | 2089 | @media (min-width: 1201px) { 2090 | .onepage-menu li a:after { 2091 | content: ''; 2092 | position: absolute; 2093 | bottom: 5px; 2094 | left: 20px; 2095 | width: 0; 2096 | height: 2px; 2097 | background-color: #19c2c9; 2098 | transition: all .3s ease; 2099 | } 2100 | 2101 | .onepage-menu li.current-menu-item a:after { 2102 | width: 15px; 2103 | } 2104 | 2105 | .navbar-toggle { 2106 | display: none; 2107 | } 2108 | } 2109 | 2110 | .navbar-toggle { 2111 | position: absolute; 2112 | right: 0; 2113 | top: 50%; 2114 | width: 30px; 2115 | height: 23px; 2116 | overflow: hidden; 2117 | -webkit-transform: translateY(-50%); 2118 | transform: translateY(-50%); 2119 | transition: .5s ease-in-out; 2120 | cursor: pointer; 2121 | } 2122 | 2123 | .navbar-toggle span { 2124 | position: absolute; 2125 | display: block; 2126 | height: 3px; 2127 | width: 100%; 2128 | background-color: #19c2c9; 2129 | border-radius: 9px; 2130 | opacity: 1; 2131 | left: 0; 2132 | -webkit-transform: rotate(0deg); 2133 | transform: rotate(0deg); 2134 | transition: .25s ease-in-out; 2135 | } 2136 | 2137 | 2138 | 2139 | .hero__title { 2140 | font-size: 40px; 2141 | font-weight: bold; 2142 | text-transform: uppercase; 2143 | color: #000; 2144 | margin-top: 0; 2145 | margin-bottom: 25px; 2146 | } 2147 | 2148 | @media (min-width: 320px) { 2149 | .hero__title { 2150 | font-size: calc(4.54545vw + 25.45455px); 2151 | } 2152 | } 2153 | 2154 | @media (min-width: 1200px) { 2155 | .hero__title { 2156 | font-size: 80px; 2157 | } 2158 | } 2159 | 2160 | 2161 | 2162 | 2163 | 2164 | 2165 | 2166 | table td{ 2167 | padding:8px; 2168 | } 2169 | .pd-0{ 2170 | padding: 0 !important; 2171 | } -------------------------------------------------------------------------------- /data/Proposal.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "ProposalID": 1, 4 | "ServiceAgencies": "農業合作社", 5 | "TeamName": "農務", 6 | "ProposalTitle": "遠距醫療" 7 | }, 8 | { 9 | "ProposalID": 2, 10 | "ServiceAgencies": "農業合作社", 11 | "TeamName": "農益", 12 | "ProposalTitle": "循環農業" 13 | }, 14 | { 15 | "ProposalID": 3, 16 | "ServiceAgencies": "農業合作社", 17 | "TeamName": "農能", 18 | "ProposalTitle": "終身學習" 19 | }, 20 | { 21 | "ProposalID": 4, 22 | "ServiceAgencies": "玩島玩旅行社", 23 | "TeamName": "自然人", 24 | "ProposalTitle": "自然人憑證線上加解密與簽章服務" 25 | }, 26 | { 27 | "ProposalID": 5, 28 | "ServiceAgencies": "農業合作社", 29 | "TeamName": "海生", 30 | "ProposalTitle": "海洋環保" 31 | }, 32 | { 33 | "ProposalID": 6, 34 | "ServiceAgencies": "農業合作社", 35 | "TeamName": "畜疫", 36 | "ProposalTitle": "高效種植" 37 | }, 38 | { 39 | "ProposalID": 7, 40 | "ServiceAgencies": "農業合作社", 41 | "TeamName": "畜灸", 42 | "ProposalTitle": "社區互助" 43 | }, 44 | { 45 | "ProposalID": 8, 46 | "ServiceAgencies": "農業合作社", 47 | "TeamName": "禽畜", 48 | "ProposalTitle": "無害防治" 49 | }, 50 | { 51 | "ProposalID": 9, 52 | "ServiceAgencies": "農業合作社", 53 | "TeamName": "質糧", 54 | "ProposalTitle": "農路品質" 55 | }, 56 | { 57 | "ProposalID": 10, 58 | "ServiceAgencies": "農業合作社", 59 | "TeamName": "糧鑰", 60 | "ProposalTitle": "藥理病理" 61 | }, 62 | { 63 | "ProposalID": 11, 64 | "ServiceAgencies": "農業合作社", 65 | "TeamName": "水痕", 66 | "ProposalTitle": "林道創生" 67 | }, 68 | { 69 | "ProposalID": 12, 70 | "ServiceAgencies": "農業合作社", 71 | "TeamName": "糧架", 72 | "ProposalTitle": "損益平衡" 73 | }, 74 | { 75 | "ProposalID": 13, 76 | "ServiceAgencies": "農業合作社", 77 | "TeamName": "畜瀏", 78 | "ProposalTitle": "預備資疫" 79 | }, 80 | { 81 | "ProposalID": 14, 82 | "ServiceAgencies": "個人組織", 83 | "TeamName": "神聖傅立葉轉換隊", 84 | "ProposalTitle": "轉乘系統", 85 | "ProposalType": "跨域合作" 86 | }, 87 | { 88 | "ProposalID": 15, 89 | "ServiceAgencies": "農業合作社", 90 | "TeamName": "農材", 91 | "ProposalTitle": "懸浮微粒" 92 | }, 93 | { 94 | "ProposalID": 16, 95 | "ServiceAgencies": "經濟部水利署", 96 | "TeamName": "水利資訊隊", 97 | "ProposalTitle": "河川復育大串連", 98 | "ProposalType": "國家永續" 99 | }, 100 | { 101 | "ProposalID": 17, 102 | "ServiceAgencies": "農業合作社", 103 | "TeamName": "農水", 104 | "ProposalTitle": "總體規劃" 105 | }, 106 | { 107 | "ProposalID": 18, 108 | "ServiceAgencies": "農業合作社", 109 | "TeamName": "糧資", 110 | "ProposalTitle": "實事求是" 111 | }, 112 | { 113 | "ProposalID": 19, 114 | "ServiceAgencies": "經濟部水利署", 115 | "TeamName": "防災情報站", 116 | "ProposalTitle": "水平衡water balance", 117 | "ProposalType": "跨域合作" 118 | }, 119 | { 120 | "ProposalID": 20, 121 | "ServiceAgencies": "雲林縣政府計畫處", 122 | "TeamName": "雲農", 123 | "ProposalTitle": "雲端農業,產季調節", 124 | "ProposalType": "跨域合作" 125 | }, 126 | { 127 | "ProposalID": 21, 128 | "ServiceAgencies": "農業合作社", 129 | "TeamName": "畜電", 130 | "ProposalTitle": "自動調節" 131 | }, 132 | { 133 | "ProposalID": 22, 134 | "ServiceAgencies": "農業合作社", 135 | "TeamName": "農企", 136 | "ProposalTitle": "明確制度" 137 | }, 138 | { 139 | "ProposalID": 23, 140 | "ServiceAgencies": "農業合作社", 141 | "TeamName": "計糧", 142 | "ProposalTitle": "產業升級" 143 | }, 144 | { 145 | "ProposalID": 24, 146 | "ServiceAgencies": "資料申請小幫手", 147 | "TeamName": "資料申請小幫手", 148 | "ProposalTitle": "資料申請小幫手", 149 | "ProposalType": "開放治理" 150 | }, 151 | { 152 | "ProposalID": 25, 153 | "ServiceAgencies": "農業合作社", 154 | "TeamName": "農事", 155 | "ProposalTitle": "結構重整" 156 | }, 157 | { 158 | "ProposalID": 26, 159 | "ServiceAgencies": "國家發展委員會", 160 | "TeamName": "政府改造小組", 161 | "ProposalTitle": "解決公私部門人才流動僵固性及經費濫用", 162 | "ProposalType": "跨域合作" 163 | }, 164 | { 165 | "ProposalID": 27, 166 | "ServiceAgencies": "財團法人國家衛生研究院", 167 | "TeamName": "化學品分享平台", 168 | "ProposalTitle": "閒置化學品分享", 169 | "ProposalType": "國家永續" 170 | }, 171 | { 172 | "ProposalID": 28, 173 | "ServiceAgencies": "行政院農業委員會 農業試驗所", 174 | "TeamName": "要,不藥的安全", 175 | "ProposalTitle": "科技天眼,手搖飲安心喝" 176 | }, 177 | { 178 | "ProposalID": 29, 179 | "ServiceAgencies": "農業合作社", 180 | "TeamName": "農訊", 181 | "ProposalTitle": "有效資訊1" 182 | }, 183 | { 184 | "ProposalID": 30, 185 | "ServiceAgencies": "農業合作社", 186 | "TeamName": "畜益", 187 | "ProposalTitle": "影響評估" 188 | }, 189 | { 190 | "ProposalID": 31, 191 | "ServiceAgencies": "國立屏東科技大學", 192 | "TeamName": "換個角度來思考", 193 | "ProposalTitle": "水溝蓋擴充寬度是否能真正改善積水問題?" 194 | }, 195 | { 196 | "ProposalID": 32, 197 | "ServiceAgencies": "農業合作社", 198 | "TeamName": "職畜", 199 | "ProposalTitle": "行業差異" 200 | }, 201 | { 202 | "ProposalID": 34, 203 | "ServiceAgencies": "農業合作社", 204 | "TeamName": "電糧", 205 | "ProposalTitle": "分散電力", 206 | "ProposalType": "開放治理" 207 | }, 208 | { 209 | "ProposalID": 35, 210 | "ServiceAgencies": "審計部", 211 | "TeamName": "審計小尖兵", 212 | "ProposalTitle": "數位轉型下政府各項計畫經費支用與成果之展現" 213 | }, 214 | { 215 | "ProposalID": 36, 216 | "ServiceAgencies": "內政部戶政司、地政司、統計處、衛生福利部長期照顧司", 217 | "TeamName": "銀髮天使", 218 | "ProposalTitle": "銀髮安居計畫", 219 | "ProposalType": "跨域合作" 220 | }, 221 | { 222 | "ProposalID": 37, 223 | "ServiceAgencies": "樹德科技大學", 224 | "TeamName": "浪你窩心,浪牠安心", 225 | "ProposalTitle": "改善流浪動物問題計畫" 226 | }, 227 | { 228 | "ProposalID": 38, 229 | "ServiceAgencies": "嘉義市政府智慧科技處", 230 | "TeamName": "你農我儂", 231 | "ProposalTitle": "協作嘉義市在地及鄰近區域小農商品銷售及流通等問題" 232 | }, 233 | { 234 | "ProposalID": 39, 235 | "ServiceAgencies": "嘉義市政府智慧科技處", 236 | "TeamName": "抵嘉真順", 237 | "ProposalTitle": "舒緩嘉義市街道塞車之智慧交通號誌進行最佳化分析建模" 238 | }, 239 | { 240 | "ProposalID": 40, 241 | "ServiceAgencies": "考試院", 242 | "TeamName": "公務人才挖挖挖", 243 | "ProposalTitle": "公務人才篩選器(資訊分析系統)" 244 | }, 245 | { 246 | "ProposalID": 41, 247 | "ServiceAgencies": "科碼新媒體股份有限公司", 248 | "TeamName": "媽媽哩滴隊", 249 | "ProposalTitle": "婦幼安全與托育資訊", 250 | "ProposalType": "國家永續" 251 | }, 252 | { 253 | "ProposalID": 42, 254 | "ServiceAgencies": "苗栗縣頭份市戶政事務所", 255 | "ProposalTitle": "身分安全", 256 | "ProposalType": "跨域合作" 257 | }, 258 | { 259 | "ProposalID": 43, 260 | "ServiceAgencies": "苗栗縣政府社會處", 261 | "TeamName": "變故家庭“栗”及送愛", 262 | "ProposalTitle": "公私互助-送暖與陪伴" 263 | }, 264 | { 265 | "ProposalID": 44, 266 | "ServiceAgencies": "國家實驗研究院台灣儀器科技研究中心", 267 | "TeamName": "石虎", 268 | "ProposalTitle": "希望路燈可以更智慧", 269 | "ProposalType": "城鄉創新" 270 | }, 271 | { 272 | "ProposalID": 45, 273 | "ServiceAgencies": "\b\b\b\b好棒棒團隊", 274 | "TeamName": "\b\b\b\b\b\b\b\b\b\bLove.Death.PM2.5", 275 | "ProposalTitle": "\b\b\b\b\b\b\b\b\b\bLove.Death.PM2.5" 276 | }, 277 | { 278 | "ProposalID": 46, 279 | "ServiceAgencies": "國家發展委員會", 280 | "TeamName": "台鐵訂票App不用10億", 281 | "ProposalTitle": "公平合理讓需要的人在熱門時段買到台鐵票", 282 | "ProposalType": "開放治理" 283 | }, 284 | { 285 | "ProposalID": 47, 286 | "ServiceAgencies": "hat trick", 287 | "TeamName": "我的政見你看得見", 288 | "ProposalTitle": "我的政見你看得見" 289 | }, 290 | { 291 | "ProposalID": 48, 292 | "ServiceAgencies": "嘉義市政府交通處", 293 | "ProposalTitle": "提昇嘉義市交通安全之策進作為" 294 | }, 295 | { 296 | "ProposalID": 49, 297 | "ServiceAgencies": "海洋委員會海洋保育署", 298 | "TeamName": "Fishing man", 299 | "ProposalTitle": "智慧小釣手", 300 | "ProposalType": "開放治理" 301 | }, 302 | { 303 | "ProposalID": 50, 304 | "ServiceAgencies": "苗栗縣政府教育處", 305 | "TeamName": "教育", 306 | "ProposalTitle": "私立幼兒園公文電子化", 307 | "ProposalType": "跨域合作" 308 | }, 309 | { 310 | "ProposalID": 51, 311 | "ServiceAgencies": "苗栗縣政府消防局", 312 | "TeamName": "守護", 313 | "ProposalTitle": "巷仔內的守護者-苗栗縣老舊住宅防火計畫" 314 | }, 315 | { 316 | "ProposalID": 52, 317 | "ServiceAgencies": "苗栗縣政府地政處", 318 | "TeamName": "複丈減章好便民", 319 | "ProposalTitle": "土地複丈原圖地籍調查表,減章便民" 320 | }, 321 | { 322 | "ProposalID": 53, 323 | "ServiceAgencies": "海洋委員會 國家海洋研究院籌備處", 324 | "TeamName": "在海一芳", 325 | "ProposalTitle": "透視空污、清新海風" 326 | }, 327 | { 328 | "ProposalID": 54, 329 | "ServiceAgencies": "海洋委員會 國家海洋研究院籌備處", 330 | "TeamName": "海波浪", 331 | "ProposalTitle": "消滅海廢、美麗海洋" 332 | }, 333 | { 334 | "ProposalID": 55, 335 | "ServiceAgencies": "農業合作社", 336 | "TeamName": "林疫", 337 | "ProposalTitle": "優先順序", 338 | "ProposalType": "開放治理" 339 | }, 340 | { 341 | "ProposalID": 56, 342 | "ServiceAgencies": "桃園市政府資訊科技局", 343 | "TeamName": "桃園智慧城市隊", 344 | "ProposalTitle": "城市自由行A通" 345 | }, 346 | { 347 | "ProposalID": 57, 348 | "ServiceAgencies": "桃園市政府資訊科技局", 349 | "TeamName": "喫桃", 350 | "ProposalTitle": "作陣來喫桃" 351 | }, 352 | { 353 | "ProposalID": 58, 354 | "ServiceAgencies": "桃園市政府資訊科技局", 355 | "TeamName": "桃園玩樂通隊", 356 | "ProposalTitle": "桃園玩樂通" 357 | }, 358 | { 359 | "ProposalID": 59, 360 | "ServiceAgencies": "桃園市政府資訊科技局", 361 | "TeamName": "桃園系統整合隊", 362 | "ProposalTitle": "台灣地區即時活動人數" 363 | }, 364 | { 365 | "ProposalID": 60, 366 | "ServiceAgencies": "海洋委員會海巡署北部分署通電資訊科", 367 | "ProposalTitle": "智慧分析海岸救生救難能量配置", 368 | "ProposalType": "跨域合作" 369 | }, 370 | { 371 | "ProposalID": 61, 372 | "ServiceAgencies": "衛生福利部\/綜合規劃司", 373 | "TeamName": "衛福部綜規小尖兵", 374 | "ProposalTitle": "陪伴我分擔,長者不孤單", 375 | "ProposalType": "國家永續" 376 | }, 377 | { 378 | "ProposalID": 62, 379 | "ServiceAgencies": "司法院資訊處", 380 | "TeamName": "司法院", 381 | "ProposalTitle": "裁判易讀與量刑參考小幫手" 382 | }, 383 | { 384 | "ProposalID": 63, 385 | "ServiceAgencies": "苗栗縣政府稅務局\/土地稅科\/地價稅股", 386 | "TeamName": "苗栗縣政府稅務局土地稅科", 387 | "ProposalTitle": "協助提供公益出租人出租房屋面積" 388 | }, 389 | { 390 | "ProposalID": 64, 391 | "ServiceAgencies": "苗栗縣政府稅務局", 392 | "TeamName": "苗稅房屋", 393 | "ProposalTitle": "房屋地段率調整" 394 | }, 395 | { 396 | "ProposalID": 65, 397 | "ServiceAgencies": "苗栗縣政府稅務局", 398 | "TeamName": "苗稅", 399 | "ProposalTitle": "稅捐債權通報系統" 400 | }, 401 | { 402 | "ProposalID": 66, 403 | "ServiceAgencies": "苗栗縣政府稅務局", 404 | "TeamName": "苗稅牌照", 405 | "ProposalTitle": "使用牌照稅退稅" 406 | }, 407 | { 408 | "ProposalID": 67, 409 | "ServiceAgencies": "衛生福利部\/中醫藥司", 410 | "TeamName": "中醫藥司", 411 | "ProposalTitle": "安心甩累Fun鬆一波" 412 | }, 413 | { 414 | "ProposalID": 68, 415 | "ServiceAgencies": "苗栗縣政府稅務局", 416 | "ProposalTitle": "稅務個人電信資訊" 417 | }, 418 | { 419 | "ProposalID": 69, 420 | "ServiceAgencies": "苗栗縣政府環境保護局\/空氣品質及噪音管制科", 421 | "TeamName": "空氣品質感測器再進化", 422 | "ProposalTitle": "空氣品質感測器異味污染物監測" 423 | }, 424 | { 425 | "ProposalID": 70, 426 | "ServiceAgencies": "衛生福利部社會保險司", 427 | "TeamName": "衛生福利部社會保險司", 428 | "ProposalTitle": "透過行動APP補發國民年金繳款單", 429 | "ProposalType": "跨域合作" 430 | }, 431 | { 432 | "ProposalID": 71, 433 | "ServiceAgencies": "海巡署後勤組", 434 | "ProposalTitle": "以人臉辨識技術加速港口之船筏及人員通關" 435 | }, 436 | { 437 | "ProposalID": 72, 438 | "ServiceAgencies": "海洋委員會海巡署偵防分署", 439 | "TeamName": "偵防分署", 440 | "ProposalTitle": "全球毒品產地研析" 441 | }, 442 | { 443 | "ProposalID": 73, 444 | "ServiceAgencies": "衛生福利部全民健康保險爭議審議會", 445 | "TeamName": "神通小兵", 446 | "ProposalTitle": "健保醫療費用爭議審議無紙化", 447 | "ProposalType": "跨域合作" 448 | }, 449 | { 450 | "ProposalID": 74, 451 | "ServiceAgencies": "苗栗縣政府勞工及青年發展處", 452 | "ProposalTitle": "稽查逃逸外勞" 453 | }, 454 | { 455 | "ProposalID": 75, 456 | "ServiceAgencies": "農業合作社", 457 | "TeamName": "林桯", 458 | "ProposalTitle": "坡地落石", 459 | "ProposalType": "開放治理" 460 | }, 461 | { 462 | "ProposalID": 76, 463 | "ServiceAgencies": "行政院農業委員會\/科技處", 464 | "TeamName": "復農者聯盟(Agri-vengers)", 465 | "ProposalTitle": "站在巨人肩膀上務農", 466 | "ProposalType": "跨域合作" 467 | }, 468 | { 469 | "ProposalID": 77, 470 | "ServiceAgencies": "國家實驗研究院國家實驗動物中心", 471 | "TeamName": "動物正義", 472 | "ProposalTitle": "降低動物實驗過程中的痛苦、優化飼養管理及彌補監督缺陷" 473 | }, 474 | { 475 | "ProposalID": 78, 476 | "ServiceAgencies": "財團法人人安社會福利慈善事業基金會", 477 | "TeamName": "「浪」他們回家", 478 | "ProposalTitle": "「浪」人不可怕 你我都可以", 479 | "ProposalType": "國家永續" 480 | }, 481 | { 482 | "ProposalID": 79, 483 | "ServiceAgencies": "衛生福利部國民健康署", 484 | "TeamName": "陪伴99健康100", 485 | "ProposalTitle": "社區老人遠距支持服務網絡 (Distance Supporting Network for Elderly)" 486 | }, 487 | { 488 | "ProposalID": 80, 489 | "ServiceAgencies": "行政院環境保護署", 490 | "TeamName": "嘿哭麥來", 491 | "ProposalTitle": "氣喘遠離我-臭氧防護的亮燈指標 Advances in Ozone Research and Application: Prevention of Ozone attack", 492 | "ProposalType": "國家永續" 493 | }, 494 | { 495 | "ProposalID": 81, 496 | "ServiceAgencies": "農業合作社", 497 | "TeamName": "林澄", 498 | "ProposalTitle": "經碳排程", 499 | "ProposalType": "開放治理" 500 | }, 501 | { 502 | "ProposalID": 82, 503 | "ServiceAgencies": "國立台東專科學校", 504 | "TeamName": "行銷與流通科", 505 | "ProposalTitle": "深層海水", 506 | "ProposalType": "產業發展" 507 | }, 508 | { 509 | "ProposalID": 83, 510 | "ServiceAgencies": "農業合作社", 511 | "TeamName": "林憫", 512 | "ProposalTitle": "道德風險", 513 | "ProposalType": "開放治理" 514 | }, 515 | { 516 | "ProposalID": 84, 517 | "ServiceAgencies": "農業合作社", 518 | "TeamName": "淼鱻", 519 | "ProposalTitle": "集散水產", 520 | "ProposalType": "開放治理" 521 | }, 522 | { 523 | "ProposalID": 85, 524 | "ServiceAgencies": "臺北市政府工務局大地工程處 \/ D4SG資料英雄", 525 | "TeamName": "忍者龜的神預測", 526 | "ProposalTitle": "Smart Flood Observatory 智能防洪即時預警系統", 527 | "ProposalType": "國家永續" 528 | }, 529 | { 530 | "ProposalID": 86, 531 | "ServiceAgencies": "農業合作社", 532 | "TeamName": "糧坊", 533 | "ProposalTitle": "食品加工", 534 | "ProposalType": "開放治理" 535 | }, 536 | { 537 | "ProposalID": 87, 538 | "ServiceAgencies": "農業合作社", 539 | "TeamName": "電林", 540 | "ProposalTitle": "電廠農場", 541 | "ProposalType": "開放治理" 542 | }, 543 | { 544 | "ProposalID": 88, 545 | "ServiceAgencies": "跨領域研究室", 546 | "TeamName": "跨領域研究室", 547 | "ProposalTitle": "全職爸媽休憩小棧", 548 | "ProposalType": "國家永續" 549 | }, 550 | { 551 | "ProposalID": 89, 552 | "ServiceAgencies": "優時間銀行雲", 553 | "TeamName": "「優時間銀行雲」 新動能小組", 554 | "ProposalTitle": "志工時間銀行實現樂齡台灣" 555 | }, 556 | { 557 | "ProposalID": 91, 558 | "ServiceAgencies": "農業合作社", 559 | "TeamName": "農冷", 560 | "ProposalTitle": "冷鏈體系", 561 | "ProposalType": "開放治理" 562 | }, 563 | { 564 | "ProposalID": 92, 565 | "ServiceAgencies": "農業合作社", 566 | "TeamName": "材糧", 567 | "ProposalTitle": "結構工程", 568 | "ProposalType": "開放治理" 569 | }, 570 | { 571 | "ProposalID": 93, 572 | "ServiceAgencies": "農業合作社", 573 | "TeamName": "農稅", 574 | "ProposalTitle": "稅則稅率", 575 | "ProposalType": "開放治理" 576 | }, 577 | { 578 | "ProposalID": 94, 579 | "ServiceAgencies": "國家地震工程研究中心", 580 | "ProposalTitle": "太魯閣客車安全_防止地震落石災害", 581 | "ProposalType": "產業發展" 582 | }, 583 | { 584 | "ProposalID": 95, 585 | "ServiceAgencies": "監察院\/公職人員財產申報處", 586 | "ProposalTitle": "閱讀換咖啡折價券", 587 | "ProposalType": "開放治理" 588 | }, 589 | { 590 | "ProposalID": 96, 591 | "ServiceAgencies": "衛生福利部中央健康保險署 ", 592 | "TeamName": "健康存摺護健康 ", 593 | "ProposalTitle": "健康資料隨身行,數位網絡照護您", 594 | "ProposalType": "跨域合作" 595 | }, 596 | { 597 | "ProposalID": 97, 598 | "ServiceAgencies": "朝楊科技大學資管系學生專題", 599 | "TeamName": "OhDogCat!?", 600 | "ProposalTitle": "流浪動物數據統計地圖網站", 601 | "ProposalType": "開放治理" 602 | }, 603 | { 604 | "ProposalID": 98, 605 | "ServiceAgencies": "經濟部水利署水利行政組", 606 | "TeamName": "河川疏濬看得到", 607 | "ProposalTitle": "智慧河川疏濬管理物聯網", 608 | "ProposalType": "開放治理" 609 | }, 610 | { 611 | "ProposalID": 99, 612 | "ServiceAgencies": "衛生福利部疾病管制署、新北市政府衛生局、HTC健康醫療事業部", 613 | "TeamName": "校園流感疫苗接種電子化", 614 | "ProposalTitle": "校園流感疫苗接種電子化", 615 | "ProposalType": "國家永續" 616 | }, 617 | { 618 | "ProposalID": 100, 619 | "ServiceAgencies": "財政部財政資訊中心", 620 | "TeamName": "財稅小幫手", 621 | "ProposalTitle": "房地移轉登記真輕鬆", 622 | "ProposalType": "開放治理" 623 | }, 624 | { 625 | "ProposalID": 101, 626 | "ServiceAgencies": "飛航安全調查委員會 \/ 調查實驗室", 627 | "TeamName": "今日飛安明日運安", 628 | "ProposalTitle": "全台鐵道運輸事故地圖", 629 | "ProposalType": "開放治理" 630 | }, 631 | { 632 | "ProposalID": 102, 633 | "ServiceAgencies": "工業技術研究院", 634 | "TeamName": "青憲口香糖", 635 | "ProposalTitle": "真的假不了,假的真不了", 636 | "ProposalType": "開放治理" 637 | }, 638 | { 639 | "ProposalID": 103, 640 | "ServiceAgencies": "高雄市稅捐稽徵處", 641 | "TeamName": "稅愛在一起", 642 | "ProposalTitle": "偏鄉遠距便民服務", 643 | "ProposalType": "城鄉創新" 644 | }, 645 | { 646 | "ProposalID": 104, 647 | "ServiceAgencies": "內政部統計處、財團法人空間及環境科技文教基金會", 648 | "TeamName": "資源健診特攻隊", 649 | "ProposalTitle": "築一個心安的窩", 650 | "ProposalType": "開放治理" 651 | }, 652 | { 653 | "ProposalID": 105, 654 | "ServiceAgencies": "嘉義縣政府", 655 | "TeamName": "嘉義縣政府", 656 | "ProposalTitle": "農業產銷大數據平台", 657 | "ProposalType": "國家永續" 658 | }, 659 | { 660 | "ProposalID": 106, 661 | "ServiceAgencies": "樹德科技大學", 662 | "TeamName": "服務足跡", 663 | "ProposalTitle": "Footprint服務足跡", 664 | "ProposalType": "國家永續" 665 | }, 666 | { 667 | "ProposalID": 107, 668 | "ServiceAgencies": "臺南市政府智慧發展中心", 669 | "TeamName": "「通」「停」順暢", 670 | "ProposalTitle": "提升臺南市停車周轉率及觀光旅客人數", 671 | "ProposalType": "開放治理" 672 | }, 673 | { 674 | "ProposalID": 108, 675 | "ServiceAgencies": "署立桃園醫院", 676 | "TeamName": "walking911", 677 | "ProposalTitle": "AI輔助遠端救護", 678 | "ProposalType": "跨域合作" 679 | }, 680 | { 681 | "ProposalID": 109, 682 | "ServiceAgencies": "資通行動科技", 683 | "TeamName": "焙茶拿鐵", 684 | "ProposalTitle": "課程雷達", 685 | "ProposalType": "國家永續" 686 | }, 687 | { 688 | "ProposalID": 110, 689 | "ServiceAgencies": "農業合作社", 690 | "TeamName": "構糧", 691 | "ProposalTitle": "複合災害", 692 | "ProposalType": "城鄉創新" 693 | }, 694 | { 695 | "ProposalID": 111, 696 | "ServiceAgencies": "珩暢實業有限公司", 697 | "TeamName": "跑趴購", 698 | "ProposalTitle": "用守時又好玩還能賺錢", 699 | "ProposalType": "城鄉創新" 700 | }, 701 | { 702 | "ProposalID": 112, 703 | "ServiceAgencies": "台灣中油股份有限公司", 704 | "TeamName": "中油", 705 | "ProposalTitle": "煤油不再沒有,每逢寒流必煤油", 706 | "ProposalType": "跨域合作" 707 | }, 708 | { 709 | "ProposalID": 113, 710 | "ServiceAgencies": "中央氣象局氣象資訊中心", 711 | "TeamName": "3D騎士", 712 | "ProposalTitle": "即刻救園", 713 | "ProposalType": "跨域合作" 714 | }, 715 | { 716 | "ProposalID": 114, 717 | "ServiceAgencies": "衛生福利部護理及健康照護司", 718 | "TeamName": "出巡隊", 719 | "ProposalTitle": "護您健康的在地媽祖,安你的心", 720 | "ProposalType": "國家永續" 721 | }, 722 | { 723 | "ProposalID": 116, 724 | "ServiceAgencies": "工業技術研究院", 725 | "TeamName": "磐石行動", 726 | "ProposalTitle": "磐石行動-優化開放資料集中最基礎且最重要的資料集分類架構和詮釋資料標準", 727 | "ProposalType": "跨域合作" 728 | }, 729 | { 730 | "ProposalID": 117, 731 | "ServiceAgencies": "智牧有限公司", 732 | "TeamName": "FixTW", 733 | "ProposalTitle": "FixTW 2.0", 734 | "ProposalType": "開放治理" 735 | }, 736 | { 737 | "ProposalID": 118, 738 | "ServiceAgencies": "婦產學科\/醫學院\/臺北醫學大學", 739 | "TeamName": "婦科領航員", 740 | "ProposalTitle": "AR手術即時影像輔助辨識系統開發案", 741 | "ProposalType": "全球夥伴" 742 | }, 743 | { 744 | "ProposalID": 119, 745 | "ServiceAgencies": "資訊工業策進會", 746 | "TeamName": "給你錢快快生", 747 | "ProposalTitle": "學齡前兒童補助方案", 748 | "ProposalType": "開放治理" 749 | }, 750 | { 751 | "ProposalID": 120, 752 | "ServiceAgencies": "資訊工業策進會", 753 | "TeamName": "點亮黑暗中的那盞燈", 754 | "ProposalTitle": "智慧路燈", 755 | "ProposalType": "開放治理" 756 | }, 757 | { 758 | "ProposalID": 121, 759 | "ServiceAgencies": "衛生福利部護理及健康照護司", 760 | "TeamName": "雞婆小組", 761 | "ProposalTitle": "住院照顧 分享經濟", 762 | "ProposalType": "國家永續" 763 | }, 764 | { 765 | "ProposalID": 122, 766 | "ServiceAgencies": "財團法人資訊工業策進會", 767 | "TeamName": "領藥宅配沒煩惱", 768 | "ProposalTitle": "長期服藥者定期用藥宅配服務", 769 | "ProposalType": "開放治理" 770 | }, 771 | { 772 | "ProposalID": 123, 773 | "ServiceAgencies": "臺中市政府資訊中心", 774 | "TeamName": "交通任意門", 775 | "ProposalTitle": "交通任意門", 776 | "ProposalType": "跨域合作" 777 | }, 778 | { 779 | "ProposalID": 124, 780 | "ServiceAgencies": "財團法人資訊工業策進會", 781 | "TeamName": "你丟我撿", 782 | "ProposalTitle": "台北垃圾收集處理智慧方案", 783 | "ProposalType": "國家永續" 784 | }, 785 | { 786 | "ProposalID": 125, 787 | "ServiceAgencies": "興創知能股份有限公司", 788 | "TeamName": "我們與震的距離", 789 | "ProposalTitle": "震當防衛", 790 | "ProposalType": "跨域合作" 791 | }, 792 | { 793 | "ProposalID": 126, 794 | "ServiceAgencies": "社團法人臺灣國際產業與公益發展協會", 795 | "TeamName": "TIIWA", 796 | "ProposalTitle": "零域差-國際醫療及健康追蹤支援方案", 797 | "ProposalType": "全球夥伴" 798 | }, 799 | { 800 | "ProposalID": 127, 801 | "ServiceAgencies": "財團法人資訊工業策進會", 802 | "TeamName": "童來就打", 803 | "ProposalTitle": "兒童預防接種流程可以更智慧", 804 | "ProposalType": "國家永續" 805 | }, 806 | { 807 | "ProposalID": 128, 808 | "ServiceAgencies": "興創知能股份有限公司", 809 | "TeamName": "我是你的眼", 810 | "ProposalTitle": "衛星影像崩塌地判釋", 811 | "ProposalType": "跨域合作" 812 | }, 813 | { 814 | "ProposalID": 129, 815 | "ServiceAgencies": "苗栗縣政府消防局", 816 | "TeamName": "超時空3DVR特搜戰隊", 817 | "ProposalTitle": "古蹟防災刻不容緩,運用3DVR技術達成宣導教育功效", 818 | "ProposalType": "國家永續" 819 | }, 820 | { 821 | "ProposalID": 131, 822 | "ServiceAgencies": "財政部北區國稅局", 823 | "TeamName": "詐貸掏空早知道", 824 | "ProposalTitle": "詐貸及掏空案件偵測系統", 825 | "ProposalType": "跨域合作" 826 | }, 827 | { 828 | "ProposalID": 132, 829 | "ServiceAgencies": "資策會", 830 | "TeamName": "國土智慧巡守隊", 831 | "ProposalTitle": "產業聚落水戰情預測管理平台", 832 | "ProposalType": "國家永續" 833 | }, 834 | { 835 | "ProposalID": 133, 836 | "ServiceAgencies": "新北市政府秘書處", 837 | "TeamName": "外國人好朋友", 838 | "ProposalTitle": "政府服務不排外", 839 | "ProposalType": "全球夥伴" 840 | }, 841 | { 842 | "ProposalID": 134, 843 | "ServiceAgencies": "衛福部所屬", 844 | "TeamName": "健福", 845 | "ProposalTitle": "跨境移動人口健康風險", 846 | "ProposalType": "跨域合作" 847 | }, 848 | { 849 | "ProposalID": 135, 850 | "ServiceAgencies": "無 (待業中) ", 851 | "TeamName": "Lumière 呂米耶盒", 852 | "ProposalTitle": "Mental Health 心理保健 \/ 心理衛生 \/ 精神衛生 資源宣導與活動整合平台", 853 | "ProposalType": "跨域合作" 854 | }, 855 | { 856 | "ProposalID": 136, 857 | "ServiceAgencies": "尚未定案", 858 | "TeamName": "探險樂消遙", 859 | "ProposalTitle": "國土消遙遊", 860 | "ProposalType": "跨域合作" 861 | } 862 | ] -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 平方投票 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 171 | 172 | 173 |
174 |
175 |
176 |
177 |
178 |
179 |

我要投票

180 |
181 |
182 |
183 | 184 |
185 |
186 |

187 | 每人共有點數99點,投同一案1票需使用1點,2票共需使用4點,3票共需使用9點,依此類推。 188 |

189 |

190 | 投票期間為2019年4月22日至5月1日,這段期間可隨時修改自己的投票。 191 |

192 |

193 | 相關投票行為之完整記錄,將以匿名統計、無從識別特定當事人之方式,供研究者申請使用。(本頁面僅為展示,不記錄任何資料。) 194 |

195 |

196 | 本頁面之前端程式碼以MIT License 發佈於Github,歡迎參考。 197 |

198 |

199 | 討論過程:
200 | 2018-11-21 Meeting with Glen Weyl
201 | 2019-02-18 總統盃黑客松票選方式討論 202 |

203 |

204 | 想了解更多平方投票法,歡迎參考:
205 | 英文維基百科介紹
206 | Quadratic Voting: How Mechanism Design Can Radicalize Democracy, Steven Lalley and Glen Wyel, 2012
207 | Liberation Through Radical Decentralization, Vitalik Buterin, Glen Wyel, 2018 208 |

209 | 210 |
211 |
212 |
213 |
214 | 215 |
216 |
217 | 218 |
219 |
220 | 221 |
222 |
223 | 224 | 225 | 226 |
227 |
228 |
229 | 230 | 231 |
232 |
233 |
234 | 235 | -------------------------------------------------------------------------------- /js/dvote.js: -------------------------------------------------------------------------------- 1 | 2 | //初始點數 3 | var leftPoint = 99; 4 | 5 | function dVote(objectId, data) { 6 | 7 | if (data != "") { 8 | var tableView = ""; 9 | 10 | tableView += "
"; 11 | tableView += "
"; 12 | tableView += "
"; 13 | tableView += "

剩餘點數:

"; 14 | tableView += "
"; 15 | tableView += "
"; 16 | tableView += "
"; 17 | 18 | 19 | tableView += "
"; 20 | tableView += ""; 21 | tableView += ""; 22 | tableView += ""; 23 | tableView += ""; 24 | tableView += ""; 25 | tableView += ""; 26 | tableView += ""; 27 | tableView += ""; 28 | tableView += ""; 29 | tableView += ""; 30 | tableView += ""; 31 | 32 | 33 | for (loopy = 0; loopy < data.datas.length; loopy++) { 34 | var ProposalID = data.datas[loopy].ProposalID; 35 | var TeamName = data.datas[loopy].TeamName; 36 | var ProposalTitle = data.datas[loopy].ProposalTitle; 37 | 38 | 39 | 40 | 41 | tableView += ""; 42 | tableView += ""; 43 | tableView += ""; 44 | tableView += ""; 45 | tableView += ""; 51 | 52 | tableView += ""; 55 | tableView += ""; 56 | } 57 | 58 | 59 | tableView += ""; 60 | tableView += "
No隊名題目票數所需點數
" + ProposalID + "" + TeamName + "" + ProposalTitle + ""; 46 | tableView += ""; 47 | tableView += ""; 48 | tableView += ""; 49 | tableView += ""; 50 | tableView += ""; 53 | tableView += ""; 54 | tableView += "
"; 61 | tableView += "
"; 62 | 63 | 64 | document.getElementById(objectId).innerHTML = tableView; 65 | UpdateCost(); 66 | } 67 | } 68 | 69 | 70 | 71 | 72 | function btnSub(num) { 73 | var voteCount = --document.getElementsByClassName('nvote')[num].value; 74 | if (voteCount < 0) voteCount = 0; 75 | document.getElementsByClassName('nvote')[num].value = voteCount; 76 | UpdateCost(); 77 | } 78 | 79 | function btnAdd(num) { 80 | if (checkPoint(num)) { 81 | var voteCount = ++document.getElementsByClassName('nvote')[num].value; 82 | document.getElementsByClassName('nvote')[num].value = voteCount; 83 | UpdateCost(); 84 | } 85 | else { 86 | alert("點數不足"); 87 | } 88 | } 89 | 90 | 91 | function checkPoint(num) { 92 | var CostedPoint = 0; 93 | var Votes = document.getElementsByClassName('nvote'); 94 | for (var index = 0; index < Votes.length; index++) { 95 | if (index == num) { 96 | CostedPoint += (parseInt(Votes[index].value)+1) * (parseInt(Votes[index].value)+1); 97 | continue; 98 | } 99 | 100 | CostedPoint += parseInt(Votes[index].value) * parseInt(Votes[index].value); 101 | } 102 | if (leftPoint - CostedPoint < 0) return false; 103 | else return true; 104 | } 105 | 106 | function UpdateCost() { 107 | var totalCost = 0; 108 | var CostLabels = document.getElementsByClassName('ncost'); 109 | for (var index = 0; index < CostLabels.length; index++) { 110 | var voteCount = document.getElementsByClassName('nvote')[index].value; 111 | document.getElementsByClassName('ncost')[index].innerHTML = voteCount * voteCount; 112 | totalCost += voteCount * voteCount; 113 | } 114 | document.getElementById('lb_PointLeft').innerHTML = leftPoint - totalCost; 115 | } 116 | -------------------------------------------------------------------------------- /js/jquery.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery JavaScript Library v1.4.4 3 | * http://jquery.com/ 4 | * 5 | * Copyright 2010, John Resig 6 | * Dual licensed under the MIT or GPL Version 2 licenses. 7 | * http://jquery.org/license 8 | * 9 | * Includes Sizzle.js 10 | * http://sizzlejs.com/ 11 | * Copyright 2010, The Dojo Foundation 12 | * Released under the MIT, BSD, and GPL Licenses. 13 | * 14 | * Date: Thu Nov 11 19:04:53 2010 -0500 15 | */ 16 | (function(E,B){function ka(a,b,d){if(d===B&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):Ja.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=B}return d}function U(){return false}function ca(){return true}function la(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ka(a){var b,d,e,f,h,l,k,o,x,r,A,C=[];f=[];h=c.data(this,this.nodeType?"events":"__events__");if(typeof h==="function")h= 17 | h.events;if(!(a.liveFired===this||!h||!h.live||a.button&&a.type==="click")){if(a.namespace)A=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var J=h.live.slice(0);for(k=0;kd)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;A=f.handleObj.origHandler.apply(f.elem,arguments);if(A===false||a.isPropagationStopped()){d=f.level;if(A===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function Y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(La, 19 | "`").replace(Ma,"&")}function ma(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function na(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this, 20 | e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var l in e[h])c.event.add(this,h,e[h][l],e[h][l].data)}}})}function Oa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function oa(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Pa:Qa,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parseFloat(c.css(a, 21 | "margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function da(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||Ra.test(a)?e(a,h):da(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)?e(a,""):c.each(b,function(f,h){da(a+"["+f+"]",h,d,e)});else e(a,b)}function S(a,b){var d={};c.each(pa.concat.apply([],pa.slice(0,b)),function(){d[this]=a});return d}function qa(a){if(!ea[a]){var b=c("<"+ 22 | a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ea[a]=d}return ea[a]}function fa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var t=E.document,c=function(){function a(){if(!b.isReady){try{t.documentElement.doScroll("left")}catch(j){setTimeout(a,1);return}b.ready()}}var b=function(j,s){return new b.fn.init(j,s)},d=E.jQuery,e=E.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,l=/\S/,k=/^\s+/,o=/\s+$/,x=/\W/,r=/\d/,A=/^<(\w+)\s*\/?>(?:<\/\1>)?$/, 23 | C=/^[\],:{}\s]*$/,J=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,I=/(?:^|:|,)(?:\s*\[)+/g,L=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false,q=[],u,y=Object.prototype.toString,F=Object.prototype.hasOwnProperty,M=Array.prototype.push,N=Array.prototype.slice,O=String.prototype.trim,D=Array.prototype.indexOf,R={};b.fn=b.prototype={init:function(j, 24 | s){var v,z,H;if(!j)return this;if(j.nodeType){this.context=this[0]=j;this.length=1;return this}if(j==="body"&&!s&&t.body){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof j==="string")if((v=h.exec(j))&&(v[1]||!s))if(v[1]){H=s?s.ownerDocument||s:t;if(z=A.exec(j))if(b.isPlainObject(s)){j=[t.createElement(z[1])];b.fn.attr.call(j,s,true)}else j=[H.createElement(z[1])];else{z=b.buildFragment([v[1]],[H]);j=(z.cacheable?z.fragment.cloneNode(true):z.fragment).childNodes}return b.merge(this, 25 | j)}else{if((z=t.getElementById(v[2]))&&z.parentNode){if(z.id!==v[2])return f.find(j);this.length=1;this[0]=z}this.context=t;this.selector=j;return this}else if(!s&&!x.test(j)){this.selector=j;this.context=t;j=t.getElementsByTagName(j);return b.merge(this,j)}else return!s||s.jquery?(s||f).find(j):b(s).find(j);else if(b.isFunction(j))return f.ready(j);if(j.selector!==B){this.selector=j.selector;this.context=j.context}return b.makeArray(j,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length}, 26 | toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=this.selector+"."+s+"("+v+")";return z},each:function(j,s){return b.each(this,j,s)},ready:function(j){b.bindReady();if(b.isReady)j.call(t,b);else q&&q.push(j);return this},eq:function(j){return j=== 27 | -1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return this.prevObject||b(null)},push:M,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var j,s,v,z,H,G=arguments[0]||{},K=1,Q=arguments.length,ga=false; 28 | if(typeof G==="boolean"){ga=G;G=arguments[1]||{};K=2}if(typeof G!=="object"&&!b.isFunction(G))G={};if(Q===K){G=this;--K}for(;K0))if(q){var s=0,v=q;for(q=null;j=v[s++];)j.call(t,b);b.fn.trigger&&b(t).trigger("ready").unbind("ready")}}},bindReady:function(){if(!p){p=true;if(t.readyState==="complete")return setTimeout(b.ready,1);if(t.addEventListener){t.addEventListener("DOMContentLoaded",u,false);E.addEventListener("load",b.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",u);E.attachEvent("onload", 30 | b.ready);var j=false;try{j=E.frameElement==null}catch(s){}t.documentElement.doScroll&&j&&a()}}},isFunction:function(j){return b.type(j)==="function"},isArray:Array.isArray||function(j){return b.type(j)==="array"},isWindow:function(j){return j&&typeof j==="object"&&"setInterval"in j},isNaN:function(j){return j==null||!r.test(j)||isNaN(j)},type:function(j){return j==null?String(j):R[y.call(j)]||"object"},isPlainObject:function(j){if(!j||b.type(j)!=="object"||j.nodeType||b.isWindow(j))return false;if(j.constructor&& 31 | !F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J,"@").replace(w,"]").replace(I,"")))return E.JSON&&E.JSON.parse?E.JSON.parse(j):(new Function("return "+j))();else b.error("Invalid JSON: "+j)},noop:function(){},globalEval:function(j){if(j&& 32 | l.test(j)){var s=t.getElementsByTagName("head")[0]||t.documentElement,v=t.createElement("script");v.type="text/javascript";if(b.support.scriptEval)v.appendChild(t.createTextNode(j));else v.text=j;s.insertBefore(v,s.firstChild);s.removeChild(v)}},nodeName:function(j,s){return j.nodeName&&j.nodeName.toUpperCase()===s.toUpperCase()},each:function(j,s,v){var z,H=0,G=j.length,K=G===B||b.isFunction(j);if(v)if(K)for(z in j){if(s.apply(j[z],v)===false)break}else for(;H
a";var f=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0],l=t.createElement("select"), 38 | k=l.appendChild(t.createElement("option"));if(!(!f||!f.length||!h)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:k.selected,deleteExpando:true,optDisabled:false,checkClone:false, 39 | scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};l.disabled=true;c.support.optDisabled=!k.disabled;b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+e+"=1;"))}catch(o){}a.insertBefore(b,a.firstChild);if(E[e]){c.support.scriptEval=true;delete E[e]}try{delete b.test}catch(x){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function r(){c.support.noCloneEvent= 40 | false;d.detachEvent("onclick",r)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var r=t.createElement("div");r.style.width=r.style.paddingLeft="1px";t.body.appendChild(r);c.boxModel=c.support.boxModel=r.offsetWidth===2;if("zoom"in r.style){r.style.display="inline";r.style.zoom= 41 | 1;c.support.inlineBlockNeedsLayout=r.offsetWidth===2;r.style.display="";r.innerHTML="
";c.support.shrinkWrapBlocks=r.offsetWidth!==2}r.innerHTML="
t
";var A=r.getElementsByTagName("td");c.support.reliableHiddenOffsets=A[0].offsetHeight===0;A[0].style.display="";A[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&A[0].offsetHeight===0;r.innerHTML="";t.body.removeChild(r).style.display= 42 | "none"});a=function(r){var A=t.createElement("div");r="on"+r;var C=r in A;if(!C){A.setAttribute(r,"return;");C=typeof A[r]==="function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ra={},Ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?ra:a;var e=a.nodeType,f=e?a[c.expando]:null,h= 43 | c.cache;if(!(e&&!f&&typeof b==="string"&&d===B)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==B)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==E?ra:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando); 44 | else if(d)delete f[e];else for(var l in a)delete a[l]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length){var e=this[0].attributes,f;d=c.data(this[0]);for(var h=0,l=e.length;h-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex;d=[];var f=b.options;b=b.type==="select-one"; 52 | if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h=0;else if(c.nodeName(this,"select")){var A=c.makeArray(r);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true}, 54 | attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return B;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==B;b=e&&c.props[b]||b;var h=Ta.test(b);if((b in a||a[b]!==B)&&e&&!h){if(f){b==="type"&&Ua.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&& 55 | b.specified?b.value:Va.test(a.nodeName)||Wa.test(a.nodeName)&&a.href?0:B;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return B;a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?B:a}});var X=/\.(.*)$/,ia=/^(?:textarea|input|select)$/i,La=/\./g,Ma=/ /g,Xa=/[^\w\s.|`]/g,Ya=function(a){return a.replace(Xa,"\\$&")},ua={focusin:0,focusout:0}; 56 | c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==E&&!a.frameElement)a=E;if(d===false)d=U;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var l=a.nodeType?"events":"__events__",k=h[l],o=h.handle;if(typeof k==="function"){o=k.handle;k=k.events}else if(!k){a.nodeType||(h[l]=h=function(){});h.events=k={}}if(!o)h.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem, 57 | arguments):B};o.elem=a;b=b.split(" ");for(var x=0,r;l=b[x++];){h=f?c.extend({},f):{handler:d,data:e};if(l.indexOf(".")>-1){r=l.split(".");l=r.shift();h.namespace=r.slice(0).sort().join(".")}else{r=[];h.namespace=""}h.type=l;if(!h.guid)h.guid=d.guid;var A=k[l],C=c.event.special[l]||{};if(!A){A=k[l]=[];if(!C.setup||C.setup.call(a,e,r,o)===false)if(a.addEventListener)a.addEventListener(l,o,false);else a.attachEvent&&a.attachEvent("on"+l,o)}if(C.add){C.add.call(a,h);if(!h.handler.guid)h.handler.guid= 58 | d.guid}A.push(h);c.event.global[l]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=U;var f,h,l=0,k,o,x,r,A,C,J=a.nodeType?"events":"__events__",w=c.data(a),I=w&&w[J];if(w&&I){if(typeof I==="function"){w=I;I=I.events}if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in I)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){r=f;k=f.indexOf(".")<0;o=[];if(!k){o=f.split(".");f=o.shift();x=RegExp("(^|\\.)"+ 59 | c.map(o.slice(0).sort(),Ya).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=I[f])if(d){r=c.event.special[f]||{};for(h=e||0;h=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType=== 61 | 8)return B;a.result=B;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false){a.result=false;a.preventDefault()}}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){var l;e=a.target;var k=f.replace(X,""),o=c.nodeName(e,"a")&&k=== 62 | "click",x=c.event.special[k]||{};if((!x._default||x._default.call(d,a)===false)&&!o&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[k]){if(l=e["on"+k])e["on"+k]=null;c.event.triggered=true;e[k]()}}catch(r){}if(l)e["on"+k]=l;c.event.triggered=false}}},handle:function(a){var b,d,e,f;d=[];var h=c.makeArray(arguments);a=h[0]=c.event.fix(a||E.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=RegExp("(^|\\.)"+ 63 | d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,e,f;if(!(!ia.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=xa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===B||f===e))if(e!=null||f){a.type="change";a.liveFired= 71 | B;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",xa(a))}},setup:function(){if(this.type=== 72 | "file")return false;for(var a in V)c.event.add(this,a+".specialChange",V[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};V=c.event.special.change.filters;V.focus=V.beforeactivate}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){ua[b]++===0&&t.addEventListener(a,d,true)},teardown:function(){--ua[b]=== 73 | 0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var k=this.length;h0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});E.attachEvent&&!E.addEventListener&&c(E).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}}); 78 | (function(){function a(g,i,n,m,p,q){p=0;for(var u=m.length;p0){F=y;break}}y=y[g]}m[p]=F}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,l=true;[0,0].sort(function(){l=false;return 0});var k=function(g,i,n,m){n=n||[];var p=i=i||t;if(i.nodeType!==1&&i.nodeType!==9)return[];if(!g||typeof g!=="string")return n;var q,u,y,F,M,N=true,O=k.isXML(i),D=[],R=g;do{d.exec("");if(q=d.exec(R)){R=q[3];D.push(q[1]);if(q[2]){F=q[3]; 80 | break}}}while(q);if(D.length>1&&x.exec(g))if(D.length===2&&o.relative[D[0]])u=L(D[0]+D[1],i);else for(u=o.relative[D[0]]?[i]:k(D.shift(),i);D.length;){g=D.shift();if(o.relative[g])g+=D.shift();u=L(g,u)}else{if(!m&&D.length>1&&i.nodeType===9&&!O&&o.match.ID.test(D[0])&&!o.match.ID.test(D[D.length-1])){q=k.find(D.shift(),i,O);i=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]}if(i){q=m?{expr:D.pop(),set:C(m)}:k.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&i.parentNode?i.parentNode:i,O);u=q.expr?k.filter(q.expr, 81 | q.set):q.set;if(D.length>0)y=C(u);else N=false;for(;D.length;){q=M=D.pop();if(o.relative[M])q=D.pop();else M="";if(q==null)q=i;o.relative[M](y,q,O)}}else y=[]}y||(y=u);y||k.error(M||g);if(f.call(y)==="[object Array]")if(N)if(i&&i.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&k.contains(i,y[g])))n.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&n.push(u[g]);else n.push.apply(n,y);else C(y,n);if(F){k(F,p,n,m);k.uniqueSort(n)}return n};k.uniqueSort=function(g){if(w){h= 82 | l;g.sort(w);if(h)for(var i=1;i0};k.find=function(g,i,n){var m;if(!g)return[];for(var p=0,q=o.order.length;p":function(g,i){var n,m=typeof i==="string",p=0,q=g.length;if(m&&!/\W/.test(i))for(i=i.toLowerCase();p=0))n||m.push(u);else if(n)i[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=i[1]+(i[2]||1)-0;g[3]=i[3]-0}g[0]=e++;return g},ATTR:function(g,i,n, 89 | m,p,q){i=g[1].replace(/\\/g,"");if(!q&&o.attrMap[i])g[1]=o.attrMap[i];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,i,n,m,p){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,i);else{g=k.filter(g[3],i,n,true^p);n||m.push.apply(m,g);return false}else if(o.match.POS.test(g[0])||o.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled=== 90 | true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"=== 91 | g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,i){return i===0},last:function(g,i,n,m){return i===m.length-1},even:function(g,i){return i%2===0},odd:function(g,i){return i%2===1},lt:function(g,i,n){return in[3]-0},nth:function(g,i,n){return n[3]- 92 | 0===i},eq:function(g,i,n){return n[3]-0===i}},filter:{PSEUDO:function(g,i,n,m){var p=i[1],q=o.filters[p];if(q)return q(g,n,i,m);else if(p==="contains")return(g.textContent||g.innerText||k.getText([g])||"").indexOf(i[3])>=0;else if(p==="not"){i=i[3];n=0;for(m=i.length;n=0}},ID:function(g,i){return g.nodeType===1&&g.getAttribute("id")===i},TAG:function(g,i){return i==="*"&&g.nodeType===1||g.nodeName.toLowerCase()=== 94 | i},CLASS:function(g,i){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(i)>-1},ATTR:function(g,i){var n=i[1];n=o.attrHandle[n]?o.attrHandle[n](g):g[n]!=null?g[n]:g.getAttribute(n);var m=n+"",p=i[2],q=i[4];return n==null?p==="!=":p==="="?m===q:p==="*="?m.indexOf(q)>=0:p==="~="?(" "+m+" ").indexOf(q)>=0:!q?m&&n!==false:p==="!="?m!==q:p==="^="?m.indexOf(q)===0:p==="$="?m.substr(m.length-q.length)===q:p==="|="?m===q||m.substr(0,q.length+1)===q+"-":false},POS:function(g,i,n,m){var p=o.setFilters[i[2]]; 95 | if(p)return p(g,n,i,m)}}},x=o.match.POS,r=function(g,i){return"\\"+(i-0+1)},A;for(A in o.match){o.match[A]=RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source.replace(/\\(\d+)/g,r))}var C=function(g,i){g=Array.prototype.slice.call(g,0);if(i){i.push.apply(i,g);return i}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(J){C=function(g,i){var n=0,m=i||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(m, 96 | g);else if(typeof g.length==="number")for(var p=g.length;n";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:B:[]};o.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}n.removeChild(g); 99 | n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(i){return i.getAttribute("href",2)};g=null})();t.querySelectorAll&& 100 | function(){var g=k,i=t.createElement("div");i.innerHTML="

";if(!(i.querySelectorAll&&i.querySelectorAll(".TEST").length===0)){k=function(m,p,q,u){p=p||t;m=m.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!u&&!k.isXML(p))if(p.nodeType===9)try{return C(p.querySelectorAll(m),q)}catch(y){}else if(p.nodeType===1&&p.nodeName.toLowerCase()!=="object"){var F=p.getAttribute("id"),M=F||"__sizzle__";F||p.setAttribute("id",M);try{return C(p.querySelectorAll("#"+M+" "+m),q)}catch(N){}finally{F|| 101 | p.removeAttribute("id")}}return g(m,p,q,u)};for(var n in g)k[n]=g[n];i=null}}();(function(){var g=t.documentElement,i=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,n=false;try{i.call(t.documentElement,"[test!='']:sizzle")}catch(m){n=true}if(i)k.matchesSelector=function(p,q){q=q.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(p))try{if(n||!o.match.PSEUDO.test(q)&&!/!=/.test(q))return i.call(p,q)}catch(u){}return k(q,null,null,[p]).length>0}})();(function(){var g= 102 | t.createElement("div");g.innerHTML="
";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(i,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m)return n.getElementsByClassName(i[1])};g=null}}})();k.contains=t.documentElement.contains?function(g,i){return g!==i&&(g.contains?g.contains(i):true)}:t.documentElement.compareDocumentPosition? 103 | function(g,i){return!!(g.compareDocumentPosition(i)&16)}:function(){return false};k.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var L=function(g,i){for(var n,m=[],p="",q=i.nodeType?[i]:i;n=o.match.PSEUDO.exec(g);){p+=n[0];g=g.replace(o.match.PSEUDO,"")}g=o.relative[g]?g+"*":g;n=0;for(var u=q.length;n0)for(var h=d;h0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var l,k={},o=1;if(h&&a.length){e=0;for(f=a.length;e-1:c(h).is(e))d.push({selector:l,elem:h,level:o})}h= 106 | h.parentNode;o++}}return d}l=cb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context): 107 | c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a, 108 | 2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a, 109 | b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Za.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||ab.test(e))&&$a.test(a))f=f.reverse();return this.pushStack(f,a,bb.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===B||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&& 110 | e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var za=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,Aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ba=/<([\w:]+)/,db=/\s]+\/)>/g,P={option:[1, 111 | ""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};P.optgroup=P.option;P.tbody=P.tfoot=P.colgroup=P.caption=P.thead;P.th=P.td;if(!c.support.htmlSerialize)P._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= 112 | c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==B)return this.empty().append((this[0]&&this[0].ownerDocument||t).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, 113 | wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, 114 | prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, 115 | this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); 116 | return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this.cloneNode(true)});if(a===true){na(this,b);na(this.find("*"),b.find("*"))}return b},html:function(a){if(a===B)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(za,""):null; 117 | else if(typeof a==="string"&&!Ca.test(a)&&(c.support.leadingWhitespace||!$.test(a))&&!P[(Ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Aa,"<$1>");try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?h.cloneNode(true):h)}k.length&&c.each(k,Oa)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!Ca.test(a[0])&&(c.support.checkClone||!Da.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append", 121 | prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument|| 122 | b[0]&&b[0].ownerDocument||t;for(var f=[],h=0,l;(l=a[h])!=null;h++){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!eb.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Aa,"<$1>");var k=(Ba.exec(l)||["",""])[1].toLowerCase(),o=P[k]||P._default,x=o[0],r=b.createElement("div");for(r.innerHTML=o[1]+l+o[2];x--;)r=r.lastChild;if(!c.support.tbody){x=db.test(l);k=k==="table"&&!x?r.firstChild&&r.firstChild.childNodes:o[1]===""&&!x?r.childNodes:[];for(o=k.length- 123 | 1;o>=0;--o)c.nodeName(k[o],"tbody")&&!k[o].childNodes.length&&k[o].parentNode.removeChild(k[o])}!c.support.leadingWhitespace&&$.test(l)&&r.insertBefore(b.createTextNode($.exec(l)[0]),r.firstChild);l=r.childNodes}if(l.nodeType)f.push(l);else f=c.merge(f,l)}}if(d)for(h=0;f[h];h++)if(e&&c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script")))); 124 | d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodeName&&c.noData[k.nodeName.toLowerCase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeEvent(k,o,b.handle);if(h)delete k[c.expando];else k.removeAttribute&&k.removeAttribute(c.expando);delete e[d]}}});var Ea=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=/([A-Z])/g,Fa=/^-?\d+(?:px)?$/i, 125 | jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},Pa=["Left","Right"],Qa=["Top","Bottom"],W,Ga,aa,lb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===B)return this;return c.access(this,a,b,true,function(d,e,f){return f!==B?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=W(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true, 126 | zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),l=a.style,k=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==B){if(!(typeof d==="number"&&isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!k||!("set"in k)||(d=k.set(a,d))!==B)try{l[b]=d}catch(o){}}}else{if(k&&"get"in k&&(f=k.get(a,false,e))!==B)return f;return l[b]}}},css:function(a,b,d){var e,f=c.camelCase(b), 127 | h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==B)return e;else if(W)return W(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(hb,lb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)h=oa(d,b,f);else c.swap(d,kb,function(){h=oa(d,b,f)});if(h<=0){h=W(d,b,b);if(h==="0px"&&aa)h=aa(d,b,b); 128 | if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(Fa.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return gb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f= 129 | d.filter||"";d.filter=Ea.test(f)?f.replace(Ea,e):d.filter+" "+e}};if(t.defaultView&&t.defaultView.getComputedStyle)Ga=function(a,b,d){var e;d=d.replace(ib,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return B;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);if(e===""&&!c.contains(a.ownerDocument.documentElement,a))e=c.style(a,d)}return e};if(t.documentElement.currentStyle)aa=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(!Fa.test(f)&&jb.test(f)){d=h.left; 130 | e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;a.runtimeStyle.left=e}return f===""?"auto":f};W=Ga||aa;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var mb=c.now(),nb=/)<[^<]*)*<\/script>/gi, 131 | ob=/^(?:select|textarea)/i,pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:GET|HEAD)$/,Ra=/\[\]$/,T=/\=\?(&|$)/,ja=/\?/,rb=/([?&])_=[^&]*/,sb=/^(\w+:)?\/\/([^\/?#]+)/,tb=/%20/g,ub=/#.*$/,Ha=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ha)return Ha.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b=== 132 | "object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,k){if(k==="success"||k==="notmodified")h.html(f?c("
").append(l.responseText.replace(nb,"")).find(f):l.responseText);d&&h.each(d,[l.responseText,k,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&& 133 | !this.disabled&&(this.checked||ob.test(this.nodeName)||pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})}, 134 | getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new E.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html", 135 | script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,e,f,h=b.type.toUpperCase(),l=qb.test(h);b.url=b.url.replace(ub,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(h==="GET")T.test(b.url)||(b.url+=(ja.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data|| 136 | !T.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&T.test(b.data)||T.test(b.url))){d=b.jsonpCallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(T,"="+d+"$1");b.url=b.url.replace(T,"="+d+"$1");b.dataType="script";var k=E[d];E[d]=function(m){if(c.isFunction(k))k(m);else{E[d]=B;try{delete E[d]}catch(p){}}f=m;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);r&&r.removeChild(A)}}if(b.dataType==="script"&&b.cache===null)b.cache= 137 | false;if(b.cache===false&&l){var o=c.now(),x=b.url.replace(rb,"$1_="+o);b.url=x+(x===b.url?(ja.test(b.url)?"&":"?")+"_="+o:"")}if(b.data&&l)b.url+=(ja.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");o=(o=sb.exec(b.url))&&(o[1]&&o[1].toLowerCase()!==location.protocol||o[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&o){var r=t.getElementsByTagName("head")[0]||t.documentElement,A=t.createElement("script");if(b.scriptCharset)A.charset=b.scriptCharset; 138 | A.src=b.url;if(!d){var C=false;A.onload=A.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);A.onload=A.onreadystatechange=null;r&&A.parentNode&&r.removeChild(A)}}}r.insertBefore(A,r.firstChild);return B}var J=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!l||a&&a.contentType)w.setRequestHeader("Content-Type", 139 | b.contentType);if(b.ifModified){c.lastModified[b.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&w.setRequestHeader("If-None-Match",c.etag[b.url])}o||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(I){}if(b.beforeSend&&b.beforeSend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");w.abort();return false}b.global&& 140 | c.triggerGlobal(b,"ajaxSend",[w,b]);var L=w.onreadystatechange=function(m){if(!w||w.readyState===0||m==="abort"){J||c.handleComplete(b,w,e,f);J=true;if(w)w.onreadystatechange=c.noop}else if(!J&&w&&(w.readyState===4||m==="timeout")){J=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpSuccess(w)?"error":b.ifModified&&c.httpNotModified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpData(w,b.dataType,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d|| 141 | c.handleSuccess(b,w,e,f);else c.handleError(b,w,e,p);d||c.handleComplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&Function.prototype.call.call(g,w);L("abort")}}catch(i){}b.async&&b.timeout>0&&setTimeout(function(){w&&!J&&L("timeout")},b.timeout);try{w.send(l||b.data==null?null:b.data)}catch(n){c.handleError(b,w,null,n);c.handleComplete(b,w,e,f)}b.async||L();return w}},param:function(a,b){var d=[],e=function(h,l){l=c.isFunction(l)?l():l;d[d.length]= 142 | encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===B)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)da(f,a[f],b,e);return d.join("&").replace(tb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess", 143 | [b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"), 144 | e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a}}); 145 | if(E.ActiveXObject)c.ajaxSettings.xhr=function(){if(E.location.protocol!=="file:")try{return new E.XMLHttpRequest}catch(a){}try{return new E.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var ea={},vb=/^(?:toggle|show|hide)$/,wb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ba,pa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(S("show", 146 | 3),a,b,d);else{d=0;for(var e=this.length;d=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:S("show",1),slideUp:S("hide",1),slideToggle:S("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b, 151 | d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a* 152 | Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(l){return f.step(l)} 153 | var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ba)ba=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true; 154 | this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(k,o){f.style["overflow"+o]=h.overflow[k]})}this.options.hide&&c(this.elem).hide();if(this.options.hide|| 155 | this.options.show)for(var l in this.options.curAnim)c.style(this.elem,l,this.options.orig[l]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a= 156 | c.timers,b=0;b-1;e={};var x={};if(o)x=f.position();l=o?x.top:parseInt(l,10)||0;k=o?x.left:parseInt(k,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+l;if(b.left!=null)e.left=b.left-h.left+k;"using"in b?b.using.call(a, 164 | e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ia.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||t.body;a&&!Ia.test(a.nodeName)&& 165 | c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==B)return this.each(function(){if(h=fa(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e});else return(h=fa(f))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase(); 166 | c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(l){var k=c(this);k[d](e.call(this,l,k[d]()))});if(c.isWindow(f))return f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===9)return Math.max(f.documentElement["client"+ 167 | b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===B){f=c.css(f,d);var h=parseFloat(f);return c.isNaN(h)?f:h}else return this.css(d,typeof e==="string"?e:e+"px")}})})(window); --------------------------------------------------------------------------------